]> git.saurik.com Git - wxWidgets.git/blob - configure
moved DLL import/export declarations from wx/defs.h to (new) wx/dlimpexp.h for GSocke...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.57 for wxWindows 2.5.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwindows.org>.
7 #
8 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
9 # Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 set -o posix
25 fi
26
27 # Support unset when possible.
28 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 as_mkdir_p=false
225 fi
226
227 as_executable_p="test -f"
228
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234
235
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS=" $as_nl"
241
242 # CDPATH.
243 $as_unset CDPATH
244
245
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251 exec 6>&1
252
253 #
254 # Initializations.
255 #
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
263
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
269 # Identity of this package.
270 PACKAGE_NAME='wxWindows'
271 PACKAGE_TARNAME='wxwindows'
272 PACKAGE_VERSION='2.5.1'
273 PACKAGE_STRING='wxWindows 2.5.1'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwindows.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA MACOSX_BUNDLE LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY LIBOBJS LTLIBOBJS'
316 ac_subst_files=''
317
318 # Initialize some variables set by options.
319 ac_init_help=
320 ac_init_version=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
323 cache_file=/dev/null
324 exec_prefix=NONE
325 no_create=
326 no_recursion=
327 prefix=NONE
328 program_prefix=NONE
329 program_suffix=NONE
330 program_transform_name=s,x,x,
331 silent=
332 site=
333 srcdir=
334 verbose=
335 x_includes=NONE
336 x_libraries=NONE
337
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir='${exec_prefix}/bin'
344 sbindir='${exec_prefix}/sbin'
345 libexecdir='${exec_prefix}/libexec'
346 datadir='${prefix}/share'
347 sysconfdir='${prefix}/etc'
348 sharedstatedir='${prefix}/com'
349 localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
351 includedir='${prefix}/include'
352 oldincludedir='/usr/include'
353 infodir='${prefix}/info'
354 mandir='${prefix}/man'
355
356 ac_prev=
357 for ac_option
358 do
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
362 ac_prev=
363 continue
364 fi
365
366 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367
368 # Accept the important Cygnus configure options, so we can diagnose typos.
369
370 case $ac_option in
371
372 -bindir | --bindir | --bindi | --bind | --bin | --bi)
373 ac_prev=bindir ;;
374 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 bindir=$ac_optarg ;;
376
377 -build | --build | --buil | --bui | --bu)
378 ac_prev=build_alias ;;
379 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
380 build_alias=$ac_optarg ;;
381
382 -cache-file | --cache-file | --cache-fil | --cache-fi \
383 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384 ac_prev=cache_file ;;
385 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387 cache_file=$ac_optarg ;;
388
389 --config-cache | -C)
390 cache_file=config.cache ;;
391
392 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
393 ac_prev=datadir ;;
394 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 | --da=*)
396 datadir=$ac_optarg ;;
397
398 -disable-* | --disable-*)
399 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
406
407 -enable-* | --enable-*)
408 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
414 case $ac_option in
415 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 *) ac_optarg=yes ;;
417 esac
418 eval "enable_$ac_feature='$ac_optarg'" ;;
419
420 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422 | --exec | --exe | --ex)
423 ac_prev=exec_prefix ;;
424 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426 | --exec=* | --exe=* | --ex=*)
427 exec_prefix=$ac_optarg ;;
428
429 -gas | --gas | --ga | --g)
430 # Obsolete; use --with-gas.
431 with_gas=yes ;;
432
433 -help | --help | --hel | --he | -h)
434 ac_init_help=long ;;
435 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436 ac_init_help=recursive ;;
437 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438 ac_init_help=short ;;
439
440 -host | --host | --hos | --ho)
441 ac_prev=host_alias ;;
442 -host=* | --host=* | --hos=* | --ho=*)
443 host_alias=$ac_optarg ;;
444
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev=includedir ;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir=$ac_optarg ;;
451
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
453 ac_prev=infodir ;;
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir=$ac_optarg ;;
456
457 -libdir | --libdir | --libdi | --libd)
458 ac_prev=libdir ;;
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir=$ac_optarg ;;
461
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev=libexecdir ;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir=$ac_optarg ;;
468
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev=localstatedir ;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir=$ac_optarg ;;
477
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
479 ac_prev=mandir ;;
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir=$ac_optarg ;;
482
483 -nfp | --nfp | --nf)
484 # Obsolete; use --without-fp.
485 with_fp=no ;;
486
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 | --no-cr | --no-c | -n)
489 no_create=yes ;;
490
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 no_recursion=yes ;;
494
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev=oldincludedir ;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir=$ac_optarg ;;
503
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
505 ac_prev=prefix ;;
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix=$ac_optarg ;;
508
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev=program_prefix ;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix=$ac_optarg ;;
515
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev=program_suffix ;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix=$ac_optarg ;;
522
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev=program_transform_name ;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name=$ac_optarg ;;
539
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
542 silent=yes ;;
543
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
545 ac_prev=sbindir ;;
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
547 | --sbi=* | --sb=*)
548 sbindir=$ac_optarg ;;
549
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
553 | --sha | --sh)
554 ac_prev=sharedstatedir ;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
558 | --sha=* | --sh=*)
559 sharedstatedir=$ac_optarg ;;
560
561 -site | --site | --sit)
562 ac_prev=site ;;
563 -site=* | --site=* | --sit=*)
564 site=$ac_optarg ;;
565
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
567 ac_prev=srcdir ;;
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir=$ac_optarg ;;
570
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev=sysconfdir ;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir=$ac_optarg ;;
577
578 -target | --target | --targe | --targ | --tar | --ta | --t)
579 ac_prev=target_alias ;;
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target_alias=$ac_optarg ;;
582
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 verbose=yes ;;
585
586 -version | --version | --versio | --versi | --vers | -V)
587 ac_init_version=: ;;
588
589 -with-* | --with-*)
590 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package=`echo $ac_package| sed 's/-/_/g'`
596 case $ac_option in
597 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 *) ac_optarg=yes ;;
599 esac
600 eval "with_$ac_package='$ac_optarg'" ;;
601
602 -without-* | --without-*)
603 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
610
611 --x)
612 # Obsolete; use --with-x.
613 with_x=yes ;;
614
615 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616 | --x-incl | --x-inc | --x-in | --x-i)
617 ac_prev=x_includes ;;
618 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620 x_includes=$ac_optarg ;;
621
622 -x-libraries | --x-libraries | --x-librarie | --x-librari \
623 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624 ac_prev=x_libraries ;;
625 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627 x_libraries=$ac_optarg ;;
628
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
632 ;;
633
634 *=*)
635 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
642 export $ac_envvar ;;
643
644 *)
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650 ;;
651
652 esac
653 done
654
655 if test -n "$ac_prev"; then
656 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
659 fi
660
661 # Be sure to have absolute paths.
662 for ac_var in exec_prefix prefix
663 do
664 eval ac_val=$`echo $ac_var`
665 case $ac_val in
666 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
669 esac
670 done
671
672 # Be sure to have absolute paths.
673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
675 do
676 eval ac_val=$`echo $ac_var`
677 case $ac_val in
678 [\\/$]* | ?:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
681 esac
682 done
683
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
687 build=$build_alias
688 host=$host_alias
689 target=$target_alias
690
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x; then
693 if test "x$build_alias" = x; then
694 cross_compiling=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
698 cross_compiling=yes
699 fi
700 fi
701
702 ac_tool_prefix=
703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704
705 test "$silent" = yes && exec 6>/dev/null
706
707
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
718 echo X"$0" |
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
723 s/.*/./; q'`
724 srcdir=$ac_confdir
725 if test ! -r $srcdir/$ac_unique_file; then
726 srcdir=..
727 fi
728 else
729 ac_srcdir_defaulted=no
730 fi
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
735 else
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
738 fi
739 fi
740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 { (exit 1); exit 1; }; }
743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744 ac_env_build_alias_set=${build_alias+set}
745 ac_env_build_alias_value=$build_alias
746 ac_cv_env_build_alias_set=${build_alias+set}
747 ac_cv_env_build_alias_value=$build_alias
748 ac_env_host_alias_set=${host_alias+set}
749 ac_env_host_alias_value=$host_alias
750 ac_cv_env_host_alias_set=${host_alias+set}
751 ac_cv_env_host_alias_value=$host_alias
752 ac_env_target_alias_set=${target_alias+set}
753 ac_env_target_alias_value=$target_alias
754 ac_cv_env_target_alias_set=${target_alias+set}
755 ac_cv_env_target_alias_value=$target_alias
756 ac_env_CC_set=${CC+set}
757 ac_env_CC_value=$CC
758 ac_cv_env_CC_set=${CC+set}
759 ac_cv_env_CC_value=$CC
760 ac_env_CFLAGS_set=${CFLAGS+set}
761 ac_env_CFLAGS_value=$CFLAGS
762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
763 ac_cv_env_CFLAGS_value=$CFLAGS
764 ac_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_env_LDFLAGS_value=$LDFLAGS
766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 ac_cv_env_LDFLAGS_value=$LDFLAGS
768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_env_CPPFLAGS_value=$CPPFLAGS
770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 ac_env_CPP_set=${CPP+set}
773 ac_env_CPP_value=$CPP
774 ac_cv_env_CPP_set=${CPP+set}
775 ac_cv_env_CPP_value=$CPP
776 ac_env_CXX_set=${CXX+set}
777 ac_env_CXX_value=$CXX
778 ac_cv_env_CXX_set=${CXX+set}
779 ac_cv_env_CXX_value=$CXX
780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
781 ac_env_CXXFLAGS_value=$CXXFLAGS
782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
784 ac_env_CXXCPP_set=${CXXCPP+set}
785 ac_env_CXXCPP_value=$CXXCPP
786 ac_cv_env_CXXCPP_set=${CXXCPP+set}
787 ac_cv_env_CXXCPP_value=$CXXCPP
788
789 #
790 # Report the --help message.
791 #
792 if test "$ac_init_help" = "long"; then
793 # Omit some internal or obsolete options to make the list less imposing.
794 # This message is too long to be a string in the A/UX 3.1 sh.
795 cat <<_ACEOF
796 \`configure' configures wxWindows 2.5.1 to adapt to many kinds of systems.
797
798 Usage: $0 [OPTION]... [VAR=VALUE]...
799
800 To assign environment variables (e.g., CC, CFLAGS...), specify them as
801 VAR=VALUE. See below for descriptions of some of the useful variables.
802
803 Defaults for the options are specified in brackets.
804
805 Configuration:
806 -h, --help display this help and exit
807 --help=short display options specific to this package
808 --help=recursive display the short help of all the included packages
809 -V, --version display version information and exit
810 -q, --quiet, --silent do not print \`checking...' messages
811 --cache-file=FILE cache test results in FILE [disabled]
812 -C, --config-cache alias for \`--cache-file=config.cache'
813 -n, --no-create do not create output files
814 --srcdir=DIR find the sources in DIR [configure dir or \`..']
815
816 _ACEOF
817
818 cat <<_ACEOF
819 Installation directories:
820 --prefix=PREFIX install architecture-independent files in PREFIX
821 [$ac_default_prefix]
822 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
823 [PREFIX]
824
825 By default, \`make install' will install all the files in
826 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
827 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
828 for instance \`--prefix=\$HOME'.
829
830 For better control, use the options below.
831
832 Fine tuning of the installation directories:
833 --bindir=DIR user executables [EPREFIX/bin]
834 --sbindir=DIR system admin executables [EPREFIX/sbin]
835 --libexecdir=DIR program executables [EPREFIX/libexec]
836 --datadir=DIR read-only architecture-independent data [PREFIX/share]
837 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
838 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
839 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
840 --libdir=DIR object code libraries [EPREFIX/lib]
841 --includedir=DIR C header files [PREFIX/include]
842 --oldincludedir=DIR C header files for non-gcc [/usr/include]
843 --infodir=DIR info documentation [PREFIX/info]
844 --mandir=DIR man documentation [PREFIX/man]
845 _ACEOF
846
847 cat <<\_ACEOF
848
849 X features:
850 --x-includes=DIR X include files are in DIR
851 --x-libraries=DIR X library files are in DIR
852
853 System types:
854 --build=BUILD configure for building on BUILD [guessed]
855 --host=HOST cross-compile to build programs to run on HOST [BUILD]
856 --target=TARGET configure for building compilers for TARGET [HOST]
857 _ACEOF
858 fi
859
860 if test -n "$ac_init_help"; then
861 case $ac_init_help in
862 short | recursive ) echo "Configuration of wxWindows 2.5.1:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --disable-monolithic don't build wxWindows as single library
871 --enable-universal use wxWindows GUI controls instead of native ones
872 --enable-nanox use NanoX
873 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
874 --enable-shared create shared library code
875 --enable-optimise create optimised code
876 --enable-debug same as debug_flag and debug_info
877 --enable-stl use STL for containers
878 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
879 --enable-debug_info create code with debugging information
880 --enable-debug_gdb create code with extra GDB debugging information
881 --enable-debug_cntxt use wxDebugContext
882 --enable-mem_tracing create code with memory tracing
883 --enable-profile create code with profiling information
884 --enable-no_rtti create code without RTTI information
885 --enable-no_exceptions create code without C++ exceptions handling
886 --enable-permissive compile code disregarding strict ANSI
887 --enable-no_deps create code without dependency information
888 --enable-compat22 enable wxWindows 2.2 compatibility
889 --disable-compat24 disable wxWindows 2.4 compatibility
890 --enable-rpath=DIR output the rpath flag from wx-config
891 --enable-intl use internationalization system
892 --enable-config use wxConfig (and derived) classes
893 --enable-protocols use wxProtocol and derived classes
894 --enable-ftp use wxFTP (requires wxProtocol
895 --enable-http use wxHTTP (requires wxProtocol
896 --enable-fileproto use wxFileProto class (requires wxProtocol
897 --enable-sockets use socket/network classes
898 --enable-ole use OLE classes (Win32 only)
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-apple_ieee use the Apple IEEE codec
902 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
903 --enable-cmdline use wxCmdLineParser class
904 --enable-datetime use wxDateTime class
905 --enable-dialupman use dialup network classes
906 --enable-dynlib use wxLibrary class for DLL loading
907 --enable-dynamicloader use (new) wxDynamicLibrary class
908 --enable-exceptions build exception-safe library
909 --enable-ffile use wxFFile class
910 --enable-file use wxFile class
911 --enable-filesystem use virtual file systems classes
912 --enable-fontmap use font encodings conversion classes
913 --enable-fs_inet use virtual HTTP/FTP filesystems
914 --enable-fs_zip use virtual ZIP filesystems
915 --enable-geometry use geometry class
916 --enable-log use logging system
917 --enable-longlong use wxLongLong class
918 --enable-mimetype use wxMimeTypesManager
919 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
920 --enable-snglinst use wxSingleInstanceChecker class
921 --enable-streams use wxStream etc classes
922 --enable-std_iostreams use standard C++ stream classes
923 --enable-stopwatch use wxStopWatch class
924 --enable-sysoptions use wxSystemOptions
925 --enable-textbuf use wxTextBuffer class
926 --enable-textfile use wxTextFile class
927 --enable-timer use wxTimer class
928 --enable-unicode compile wxString with Unicode support
929 --enable-wave use wxWave class
930 --enable-wxprintfv use wxWindows implementation of vprintf()
931 --enable-zipstream use wxZipInputStream
932 --enable-gzstream use wxGzipInputStream
933 --enable-url use wxURL class
934 --enable-protocol use wxProtocol class
935 --enable-protocol-http HTTP support in wxProtocol
936 --enable-protocol-ftp FTP support in wxProtocol
937 --enable-protocol-file FILE support in wxProtocol
938 --enable-threads use threads
939 --enable-docview use document view architecture
940 --enable-help use help subsystem
941 --enable-mshtmlhelp use MS HTML Help (win32)
942 --enable-html use wxHTML sub-library
943 --enable-htmlhelp use wxHTML-based help
944 --enable-constraints use layout-constraints system
945 --enable-printarch use printing architecture
946 --enable-mdi use multiple document interface architecture
947 --enable-loggui use standard GUI logger
948 --enable-logwin use wxLogWindow
949 --enable-logdialog use wxLogDialog
950 --enable-postscript use wxPostscriptDC device context (default for gtk+)
951 --enable-prologio not available; see contrib
952 --enable-resources not available; see contrib
953 --enable-clipboard use wxClipboard class
954 --enable-dnd use Drag'n'Drop classes
955 --enable-metafile use win32 metafiles
956 --enable-controls use all usual controls
957 --enable-accel use accelerators
958 --enable-button use wxButton class
959 --enable-bmpbutton use wxBitmapButton class
960 --enable-calendar use wxCalendarCtrl class
961 --enable-caret use wxCaret class
962 --enable-checkbox use wxCheckBox class
963 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
964 --enable-choice use wxChoice class
965 --enable-combobox use wxComboBox class
966 --enable-display use wxDisplay class
967 --enable-gauge use wxGauge class
968 --enable-grid use wxGrid class
969 --enable-imaglist use wxImageList class
970 --enable-listbook use wxListbook class
971 --enable-listbox use wxListBox class
972 --enable-listctrl use wxListCtrl class
973 --enable-notebook use wxNotebook class
974 --enable-radiobox use wxRadioBox class
975 --enable-radiobtn use wxRadioButton class
976 --enable-sash use wxSashWindow class
977 --enable-scrollbar use wxScrollBar class and scrollable windows
978 --enable-slider use wxSlider class
979 --enable-spinbtn use wxSpinButton class
980 --enable-spinctrl use wxSpinCtrl class
981 --enable-splitter use wxSplitterWindow class
982 --enable-statbmp use wxStaticBitmap class
983 --enable-statbox use wxStaticBox class
984 --enable-statline use wxStaticLine class
985 --enable-stattext use wxStaticText class
986 --enable-statusbar use wxStatusBar class
987 --enable-tabdialog use wxTabControl class
988 --enable-textctrl use wxTextCtrl class
989 --enable-togglebtn use wxToggleButton class
990 --enable-toolbar use wxToolBar class
991 --enable-tbarnative use native wxToolBar class
992 --enable-tbarsmpl use wxToolBarSimple class
993 --enable-treectrl use wxTreeCtrl class
994 --enable-tipwindow use wxTipWindow class
995 --enable-popupwin use wxPopUpWindow class
996 --enable-commondlg use all common dialogs
997 --enable-choicedlg use wxChoiceDialog
998 --enable-coldlg use wxColourDialog
999 --enable-filedlg use wxFileDialog
1000 --enable-finddlg use wxFindReplaceDialog
1001 --enable-fontdlg use wxFontDialog
1002 --enable-dirdlg use wxDirDialog
1003 --enable-msgdlg use wxMessageDialog
1004 --enable-numberdlg use wxNumberEntryDialog
1005 --enable-splash use wxSplashScreen
1006 --enable-textdlg use wxTextDialog
1007 --enable-tipdlg use startup tips
1008 --enable-progressdlg use wxProgressDialog
1009 --enable-wizarddlg use wxWizard
1010 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1011 --enable-miniframe use wxMiniFrame class
1012 --enable-tooltips use wxToolTip class
1013 --enable-splines use spline drawing code
1014 --enable-validators use wxValidator and derived classes
1015 --enable-busyinfo use wxBusyInfo
1016 --enable-joystick use wxJoystick (Linux only)
1017 --enable-metafiles use wxMetaFile (Windows only)
1018 --enable-dragimage use wxDragImage
1019 --enable-accessibility enable accessibility support
1020 --enable-palette use wxPalette class
1021 --enable-image use wxImage class
1022 --enable-gif use gif images (GIF file format)
1023 --enable-pcx use pcx images (PCX file format)
1024 --enable-iff use iff images (IFF file format)
1025 --enable-pnm use pnm images (PNM file format)
1026 --enable-xpm use xpm images (XPM file format)
1027 --enable-icocur use Windows ICO and CUR formats
1028 --enable-official_build official build of wxWindows (win32 DLL only)
1029 --enable-vendor=VENDOR vendor name (win32 DLL only)
1030 --disable-largefile omit support for large files
1031 --disable-gtktest do not try to compile and run a test GTK+ program
1032 --disable-gtktest Do not try to compile and run a test GTK program
1033 --disable-precomp-headers don't use precompiled headers even if compiler can
1034
1035 Optional Packages:
1036 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1037 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1038 --with-gtk use GTK+
1039 --with-motif use Motif/Lesstif
1040 --with-mac use Mac OS X
1041 --with-cocoa use Cocoa
1042 --with-wine use Wine
1043 --with-msw use MS-Windows
1044 --with-pm use OS/2 Presentation Manager
1045 --with-mgl use SciTech MGL
1046 --with-microwin use MicroWindows
1047 --with-x11 use X11
1048 --with-libpng use libpng (PNG image format)
1049 --with-libjpeg use libjpeg (JPEG file format)
1050 --with-libtiff use libtiff (TIFF file format)
1051 --with-libmspack use libmspack (CHM help files loading)
1052 --with-opengl use OpenGL (or Mesa)
1053 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1054 --with-regex enable support for wxRegEx class
1055 --with-zlib use zlib for LZW compression
1056 --with-odbc use the IODBC and wxODBC classes
1057 --with-expat enable XML support using expat parser
1058 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1059 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1060 --with-x use the X Window System
1061 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1062
1063 Some influential environment variables:
1064 CC C compiler command
1065 CFLAGS C compiler flags
1066 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1067 nonstandard directory <lib dir>
1068 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1069 headers in a nonstandard directory <include dir>
1070 CPP C preprocessor
1071 CXX C++ compiler command
1072 CXXFLAGS C++ compiler flags
1073 CXXCPP C++ preprocessor
1074
1075 Use these variables to override the choices made by `configure' or to help
1076 it to find libraries and programs with nonstandard names/locations.
1077
1078 Report bugs to <wx-dev@lists.wxwindows.org>.
1079 _ACEOF
1080 fi
1081
1082 if test "$ac_init_help" = "recursive"; then
1083 # If there are subdirs, report their specific --help.
1084 ac_popdir=`pwd`
1085 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1086 test -d $ac_dir || continue
1087 ac_builddir=.
1088
1089 if test "$ac_dir" != .; then
1090 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1091 # A "../" for each directory in $ac_dir_suffix.
1092 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1093 else
1094 ac_dir_suffix= ac_top_builddir=
1095 fi
1096
1097 case $srcdir in
1098 .) # No --srcdir option. We are building in place.
1099 ac_srcdir=.
1100 if test -z "$ac_top_builddir"; then
1101 ac_top_srcdir=.
1102 else
1103 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1104 fi ;;
1105 [\\/]* | ?:[\\/]* ) # Absolute path.
1106 ac_srcdir=$srcdir$ac_dir_suffix;
1107 ac_top_srcdir=$srcdir ;;
1108 *) # Relative path.
1109 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1110 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1111 esac
1112 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1113 # absolute.
1114 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1115 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1116 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1117 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1118
1119 cd $ac_dir
1120 # Check for guested configure; otherwise get Cygnus style configure.
1121 if test -f $ac_srcdir/configure.gnu; then
1122 echo
1123 $SHELL $ac_srcdir/configure.gnu --help=recursive
1124 elif test -f $ac_srcdir/configure; then
1125 echo
1126 $SHELL $ac_srcdir/configure --help=recursive
1127 elif test -f $ac_srcdir/configure.ac ||
1128 test -f $ac_srcdir/configure.in; then
1129 echo
1130 $ac_configure --help
1131 else
1132 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 fi
1134 cd $ac_popdir
1135 done
1136 fi
1137
1138 test -n "$ac_init_help" && exit 0
1139 if $ac_init_version; then
1140 cat <<\_ACEOF
1141 wxWindows configure 2.5.1
1142 generated by GNU Autoconf 2.57
1143
1144 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1145 Free Software Foundation, Inc.
1146 This configure script is free software; the Free Software Foundation
1147 gives unlimited permission to copy, distribute and modify it.
1148 _ACEOF
1149 exit 0
1150 fi
1151 exec 5>config.log
1152 cat >&5 <<_ACEOF
1153 This file contains any messages produced by compilers while
1154 running configure, to aid debugging if configure makes a mistake.
1155
1156 It was created by wxWindows $as_me 2.5.1, which was
1157 generated by GNU Autoconf 2.57. Invocation command line was
1158
1159 $ $0 $@
1160
1161 _ACEOF
1162 {
1163 cat <<_ASUNAME
1164 ## --------- ##
1165 ## Platform. ##
1166 ## --------- ##
1167
1168 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1169 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1170 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1171 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1172 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1173
1174 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1175 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1176
1177 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1178 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1179 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1180 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1181 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1182 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1183 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1184
1185 _ASUNAME
1186
1187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1188 for as_dir in $PATH
1189 do
1190 IFS=$as_save_IFS
1191 test -z "$as_dir" && as_dir=.
1192 echo "PATH: $as_dir"
1193 done
1194
1195 } >&5
1196
1197 cat >&5 <<_ACEOF
1198
1199
1200 ## ----------- ##
1201 ## Core tests. ##
1202 ## ----------- ##
1203
1204 _ACEOF
1205
1206
1207 # Keep a trace of the command line.
1208 # Strip out --no-create and --no-recursion so they do not pile up.
1209 # Strip out --silent because we don't want to record it for future runs.
1210 # Also quote any args containing shell meta-characters.
1211 # Make two passes to allow for proper duplicate-argument suppression.
1212 ac_configure_args=
1213 ac_configure_args0=
1214 ac_configure_args1=
1215 ac_sep=
1216 ac_must_keep_next=false
1217 for ac_pass in 1 2
1218 do
1219 for ac_arg
1220 do
1221 case $ac_arg in
1222 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1225 continue ;;
1226 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1227 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1228 esac
1229 case $ac_pass in
1230 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1231 2)
1232 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1233 if test $ac_must_keep_next = true; then
1234 ac_must_keep_next=false # Got value, back to normal.
1235 else
1236 case $ac_arg in
1237 *=* | --config-cache | -C | -disable-* | --disable-* \
1238 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1239 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1240 | -with-* | --with-* | -without-* | --without-* | --x)
1241 case "$ac_configure_args0 " in
1242 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1243 esac
1244 ;;
1245 -* ) ac_must_keep_next=true ;;
1246 esac
1247 fi
1248 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1249 # Get rid of the leading space.
1250 ac_sep=" "
1251 ;;
1252 esac
1253 done
1254 done
1255 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1256 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1257
1258 # When interrupted or exit'd, cleanup temporary files, and complete
1259 # config.log. We remove comments because anyway the quotes in there
1260 # would cause problems or look ugly.
1261 # WARNING: Be sure not to use single quotes in there, as some shells,
1262 # such as our DU 5.0 friend, will then `close' the trap.
1263 trap 'exit_status=$?
1264 # Save into config.log some information that might help in debugging.
1265 {
1266 echo
1267
1268 cat <<\_ASBOX
1269 ## ---------------- ##
1270 ## Cache variables. ##
1271 ## ---------------- ##
1272 _ASBOX
1273 echo
1274 # The following way of writing the cache mishandles newlines in values,
1275 {
1276 (set) 2>&1 |
1277 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1278 *ac_space=\ *)
1279 sed -n \
1280 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1281 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1282 ;;
1283 *)
1284 sed -n \
1285 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1286 ;;
1287 esac;
1288 }
1289 echo
1290
1291 cat <<\_ASBOX
1292 ## ----------------- ##
1293 ## Output variables. ##
1294 ## ----------------- ##
1295 _ASBOX
1296 echo
1297 for ac_var in $ac_subst_vars
1298 do
1299 eval ac_val=$`echo $ac_var`
1300 echo "$ac_var='"'"'$ac_val'"'"'"
1301 done | sort
1302 echo
1303
1304 if test -n "$ac_subst_files"; then
1305 cat <<\_ASBOX
1306 ## ------------- ##
1307 ## Output files. ##
1308 ## ------------- ##
1309 _ASBOX
1310 echo
1311 for ac_var in $ac_subst_files
1312 do
1313 eval ac_val=$`echo $ac_var`
1314 echo "$ac_var='"'"'$ac_val'"'"'"
1315 done | sort
1316 echo
1317 fi
1318
1319 if test -s confdefs.h; then
1320 cat <<\_ASBOX
1321 ## ----------- ##
1322 ## confdefs.h. ##
1323 ## ----------- ##
1324 _ASBOX
1325 echo
1326 sed "/^$/d" confdefs.h | sort
1327 echo
1328 fi
1329 test "$ac_signal" != 0 &&
1330 echo "$as_me: caught signal $ac_signal"
1331 echo "$as_me: exit $exit_status"
1332 } >&5
1333 rm -f core core.* *.core &&
1334 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1335 exit $exit_status
1336 ' 0
1337 for ac_signal in 1 2 13 15; do
1338 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1339 done
1340 ac_signal=0
1341
1342 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1343 rm -rf conftest* confdefs.h
1344 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1345 echo >confdefs.h
1346
1347 # Predefined preprocessor variables.
1348
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_NAME "$PACKAGE_NAME"
1351 _ACEOF
1352
1353
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1356 _ACEOF
1357
1358
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1361 _ACEOF
1362
1363
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_STRING "$PACKAGE_STRING"
1366 _ACEOF
1367
1368
1369 cat >>confdefs.h <<_ACEOF
1370 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1371 _ACEOF
1372
1373
1374 # Let the site file select an alternate cache file if it wants to.
1375 # Prefer explicitly selected file to automatically selected ones.
1376 if test -z "$CONFIG_SITE"; then
1377 if test "x$prefix" != xNONE; then
1378 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1379 else
1380 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1381 fi
1382 fi
1383 for ac_site_file in $CONFIG_SITE; do
1384 if test -r "$ac_site_file"; then
1385 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1386 echo "$as_me: loading site script $ac_site_file" >&6;}
1387 sed 's/^/| /' "$ac_site_file" >&5
1388 . "$ac_site_file"
1389 fi
1390 done
1391
1392 if test -r "$cache_file"; then
1393 # Some versions of bash will fail to source /dev/null (special
1394 # files actually), so we avoid doing that.
1395 if test -f "$cache_file"; then
1396 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1397 echo "$as_me: loading cache $cache_file" >&6;}
1398 case $cache_file in
1399 [\\/]* | ?:[\\/]* ) . $cache_file;;
1400 *) . ./$cache_file;;
1401 esac
1402 fi
1403 else
1404 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1405 echo "$as_me: creating cache $cache_file" >&6;}
1406 >$cache_file
1407 fi
1408
1409 # Check that the precious variables saved in the cache have kept the same
1410 # value.
1411 ac_cache_corrupted=false
1412 for ac_var in `(set) 2>&1 |
1413 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1414 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1415 eval ac_new_set=\$ac_env_${ac_var}_set
1416 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1417 eval ac_new_val="\$ac_env_${ac_var}_value"
1418 case $ac_old_set,$ac_new_set in
1419 set,)
1420 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1421 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1422 ac_cache_corrupted=: ;;
1423 ,set)
1424 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1425 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1426 ac_cache_corrupted=: ;;
1427 ,);;
1428 *)
1429 if test "x$ac_old_val" != "x$ac_new_val"; then
1430 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1431 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1432 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1433 echo "$as_me: former value: $ac_old_val" >&2;}
1434 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1435 echo "$as_me: current value: $ac_new_val" >&2;}
1436 ac_cache_corrupted=:
1437 fi;;
1438 esac
1439 # Pass precious variables to config.status.
1440 if test "$ac_new_set" = set; then
1441 case $ac_new_val in
1442 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1443 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1444 *) ac_arg=$ac_var=$ac_new_val ;;
1445 esac
1446 case " $ac_configure_args " in
1447 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1448 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1449 esac
1450 fi
1451 done
1452 if $ac_cache_corrupted; then
1453 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1454 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1455 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1456 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1457 { (exit 1); exit 1; }; }
1458 fi
1459
1460 ac_ext=c
1461 ac_cpp='$CPP $CPPFLAGS'
1462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495 ac_aux_dir=
1496 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1497 if test -f $ac_dir/install-sh; then
1498 ac_aux_dir=$ac_dir
1499 ac_install_sh="$ac_aux_dir/install-sh -c"
1500 break
1501 elif test -f $ac_dir/install.sh; then
1502 ac_aux_dir=$ac_dir
1503 ac_install_sh="$ac_aux_dir/install.sh -c"
1504 break
1505 elif test -f $ac_dir/shtool; then
1506 ac_aux_dir=$ac_dir
1507 ac_install_sh="$ac_aux_dir/shtool install -c"
1508 break
1509 fi
1510 done
1511 if test -z "$ac_aux_dir"; then
1512 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1513 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1514 { (exit 1); exit 1; }; }
1515 fi
1516 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1517 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1518 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1519
1520 # Make sure we can run config.sub.
1521 $ac_config_sub sun4 >/dev/null 2>&1 ||
1522 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1523 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1524 { (exit 1); exit 1; }; }
1525
1526 echo "$as_me:$LINENO: checking build system type" >&5
1527 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1528 if test "${ac_cv_build+set}" = set; then
1529 echo $ECHO_N "(cached) $ECHO_C" >&6
1530 else
1531 ac_cv_build_alias=$build_alias
1532 test -z "$ac_cv_build_alias" &&
1533 ac_cv_build_alias=`$ac_config_guess`
1534 test -z "$ac_cv_build_alias" &&
1535 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1536 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1537 { (exit 1); exit 1; }; }
1538 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1539 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1540 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1541 { (exit 1); exit 1; }; }
1542
1543 fi
1544 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1545 echo "${ECHO_T}$ac_cv_build" >&6
1546 build=$ac_cv_build
1547 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1548 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1549 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550
1551
1552 echo "$as_me:$LINENO: checking host system type" >&5
1553 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1554 if test "${ac_cv_host+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 else
1557 ac_cv_host_alias=$host_alias
1558 test -z "$ac_cv_host_alias" &&
1559 ac_cv_host_alias=$ac_cv_build_alias
1560 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1561 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1562 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1563 { (exit 1); exit 1; }; }
1564
1565 fi
1566 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1567 echo "${ECHO_T}$ac_cv_host" >&6
1568 host=$ac_cv_host
1569 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1570 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1571 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1572
1573
1574 echo "$as_me:$LINENO: checking target system type" >&5
1575 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1576 if test "${ac_cv_target+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 else
1579 ac_cv_target_alias=$target_alias
1580 test "x$ac_cv_target_alias" = "x" &&
1581 ac_cv_target_alias=$ac_cv_host_alias
1582 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1583 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1584 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1585 { (exit 1); exit 1; }; }
1586
1587 fi
1588 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1589 echo "${ECHO_T}$ac_cv_target" >&6
1590 target=$ac_cv_target
1591 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1592 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1593 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1594
1595
1596 # The aliases save the names the user supplied, while $host etc.
1597 # will get canonicalized.
1598 test -n "$target_alias" &&
1599 test "$program_prefix$program_suffix$program_transform_name" = \
1600 NONENONEs,x,x, &&
1601 program_prefix=${target_alias}-
1602
1603
1604
1605 WX_MAJOR_VERSION_NUMBER=2
1606 WX_MINOR_VERSION_NUMBER=5
1607 WX_RELEASE_NUMBER=1
1608
1609 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1610 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1611
1612 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1613
1614 WX_CURRENT=1
1615 WX_REVISION=0
1616 WX_AGE=0
1617
1618
1619
1620 USE_UNIX=1
1621 USE_OS2=0
1622 USE_WIN32=0
1623 USE_DOS=0
1624 USE_BEOS=0
1625 USE_MAC=0
1626
1627 USE_AIX=
1628 USE_BSD= USE_DARWIN= USE_FREEBSD=
1629 USE_GNU= USE_HPUX=
1630 USE_LINUX=
1631 USE_NETBSD=
1632 USE_OPENBSD=
1633 USE_OSF= USE_SGI=
1634 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1635 USE_ULTRIX=
1636 USE_UNIXWARE=
1637
1638 USE_ALPHA=
1639
1640 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1641
1642 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1643
1644 DEFAULT_wxUSE_COCOA=0
1645 DEFAULT_wxUSE_GTK=0
1646 DEFAULT_wxUSE_MAC=0
1647 DEFAULT_wxUSE_MGL=0
1648 DEFAULT_wxUSE_MICROWIN=0
1649 DEFAULT_wxUSE_MOTIF=0
1650 DEFAULT_wxUSE_MSW=0
1651 DEFAULT_wxUSE_PM=0
1652 DEFAULT_wxUSE_X11=0
1653
1654 DEFAULT_DEFAULT_wxUSE_COCOA=0
1655 DEFAULT_DEFAULT_wxUSE_GTK=0
1656 DEFAULT_DEFAULT_wxUSE_MAC=0
1657 DEFAULT_DEFAULT_wxUSE_MGL=0
1658 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1659 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1660 DEFAULT_DEFAULT_wxUSE_MSW=0
1661 DEFAULT_DEFAULT_wxUSE_PM=0
1662 DEFAULT_DEFAULT_wxUSE_X11=0
1663
1664 PROGRAM_EXT=
1665 SO_SUFFIX=so
1666 SAMPLES_RPATH_FLAG=
1667 SAMPLES_RPATH_POSTLINK=
1668
1669 case "${host}" in
1670 *-hp-hpux* )
1671 USE_HPUX=1
1672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1673 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1674 SO_SUFFIX=sl
1675 cat >>confdefs.h <<\_ACEOF
1676 #define __HPUX__ 1
1677 _ACEOF
1678
1679 ;;
1680 *-*-linux* )
1681 USE_LINUX=1
1682 cat >>confdefs.h <<\_ACEOF
1683 #define __LINUX__ 1
1684 _ACEOF
1685
1686 TMP=`uname -m`
1687 if test "x$TMP" = "xalpha"; then
1688 USE_ALPHA=1
1689 cat >>confdefs.h <<\_ACEOF
1690 #define __ALPHA__ 1
1691 _ACEOF
1692
1693 fi
1694 DEFAULT_DEFAULT_wxUSE_GTK=1
1695 ;;
1696 *-*-gnu* )
1697 USE_GNU=1
1698 cat >>confdefs.h <<\_ACEOF
1699 #define __GNU__ 1
1700 _ACEOF
1701
1702 TMP=`uname -m`
1703 if test "x$TMP" = "xalpha"; then
1704 USE_ALPHA=1
1705 cat >>confdefs.h <<\_ACEOF
1706 #define __ALPHA__ 1
1707 _ACEOF
1708
1709 fi
1710 DEFAULT_DEFAULT_wxUSE_GTK=1
1711 ;;
1712 *-*-irix5* | *-*-irix6* )
1713 USE_SGI=1
1714 USE_SVR4=1
1715 cat >>confdefs.h <<\_ACEOF
1716 #define __SGI__ 1
1717 _ACEOF
1718
1719 cat >>confdefs.h <<\_ACEOF
1720 #define __SVR4__ 1
1721 _ACEOF
1722
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1724 ;;
1725 *-*-solaris2* )
1726 USE_SUN=1
1727 USE_SOLARIS=1
1728 USE_SVR4=1
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SUN__ 1
1731 _ACEOF
1732
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __SOLARIS__ 1
1735 _ACEOF
1736
1737 cat >>confdefs.h <<\_ACEOF
1738 #define __SVR4__ 1
1739 _ACEOF
1740
1741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1743 ;;
1744 *-*-sunos4* )
1745 USE_SUN=1
1746 USE_SUNOS=1
1747 USE_BSD=1
1748 cat >>confdefs.h <<\_ACEOF
1749 #define __SUN__ 1
1750 _ACEOF
1751
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __SUNOS__ 1
1754 _ACEOF
1755
1756 cat >>confdefs.h <<\_ACEOF
1757 #define __BSD__ 1
1758 _ACEOF
1759
1760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1761 ;;
1762 *-*-freebsd*)
1763 USE_BSD=1
1764 USE_FREEBSD=1
1765 cat >>confdefs.h <<\_ACEOF
1766 #define __FREEBSD__ 1
1767 _ACEOF
1768
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __BSD__ 1
1771 _ACEOF
1772
1773 DEFAULT_DEFAULT_wxUSE_GTK=1
1774 ;;
1775 *-*-openbsd*)
1776 USE_BSD=1
1777 USE_OPENBSD=1
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __OPENBSD__ 1
1780 _ACEOF
1781
1782 cat >>confdefs.h <<\_ACEOF
1783 #define __BSD__ 1
1784 _ACEOF
1785
1786 DEFAULT_DEFAULT_wxUSE_GTK=1
1787 ;;
1788 *-*-netbsd*)
1789 USE_BSD=1
1790 USE_NETBSD=1
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __NETBSD__ 1
1793 _ACEOF
1794
1795 cat >>confdefs.h <<\_ACEOF
1796 #define __BSD__ 1
1797 _ACEOF
1798
1799 DEFAULT_DEFAULT_wxUSE_GTK=1
1800 ;;
1801 *-*-osf* )
1802 USE_ALPHA=1
1803 USE_OSF=1
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __ALPHA__ 1
1806 _ACEOF
1807
1808 cat >>confdefs.h <<\_ACEOF
1809 #define __OSF__ 1
1810 _ACEOF
1811
1812 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1813 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1814 ;;
1815 *-*-dgux5* )
1816 USE_ALPHA=1
1817 USE_SVR4=1
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __ALPHA__ 1
1820 _ACEOF
1821
1822 cat >>confdefs.h <<\_ACEOF
1823 #define __SVR4__ 1
1824 _ACEOF
1825
1826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1827 ;;
1828 *-*-sysv5* )
1829 USE_SYSV=1
1830 USE_SVR4=1
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __SYSV__ 1
1833 _ACEOF
1834
1835 cat >>confdefs.h <<\_ACEOF
1836 #define __SVR4__ 1
1837 _ACEOF
1838
1839 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1840 ;;
1841 *-*-aix* )
1842 USE_AIX=1
1843 USE_SYSV=1
1844 USE_SVR4=1
1845 SO_SUFFIX=a
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __AIX__ 1
1848 _ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __SYSV__ 1
1852 _ACEOF
1853
1854 cat >>confdefs.h <<\_ACEOF
1855 #define __SVR4__ 1
1856 _ACEOF
1857
1858 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1859 ;;
1860
1861 *-*-*UnixWare*)
1862 USE_SYSV=1
1863 USE_SVR4=1
1864 USE_UNIXWARE=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __UNIXWARE__ 1
1867 _ACEOF
1868
1869 ;;
1870
1871 *-*-cygwin* | *-*-mingw32* )
1872 SO_SUFFIX=dll
1873 PROGRAM_EXT=".exe"
1874 RESCOMP=windres
1875 DEFAULT_DEFAULT_wxUSE_MSW=1
1876 ;;
1877
1878 *-pc-msdosdjgpp )
1879 USE_UNIX=0
1880 USE_DOS=1
1881 cat >>confdefs.h <<\_ACEOF
1882 #define __DOS__ 1
1883 _ACEOF
1884
1885 PROGRAM_EXT=".exe"
1886 DEFAULT_DEFAULT_wxUSE_MGL=1
1887 LIBS="$LIBS -lstdc++"
1888 ;;
1889
1890 *-pc-os2_emx | *-pc-os2-emx )
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __EMX__ 1
1893 _ACEOF
1894
1895 USE_OS2=1
1896 cat >>confdefs.h <<\_ACEOF
1897 #define __OS2__ 1
1898 _ACEOF
1899
1900 PROGRAM_EXT=".exe"
1901 DEFAULT_DEFAULT_wxUSE_PM=1
1902 CXX=gcc
1903 LDFLAGS="$LDFLAGS -Zcrtdll -Zsysv-signals"
1904 ac_executable_extensions=".exe"
1905 export ac_executable_extensions
1906 ac_save_IFS="$IFS"
1907 IFS='\\'
1908 ac_TEMP_PATH=
1909 for ac_dir in $PATH; do
1910 IFS=$ac_save_IFS
1911 if test -z "$ac_TEMP_PATH"; then
1912 ac_TEMP_PATH="$ac_dir"
1913 else
1914 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1915 fi
1916 done
1917 export PATH="$ac_TEMP_PATH"
1918 unset ac_TEMP_PATH
1919 ;;
1920
1921 powerpc-*-darwin* )
1922 USE_BSD=1
1923 USE_DARWIN=1
1924 SO_SUFFIX=dylib
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __BSD__ 1
1927 _ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930 #define __DARWIN__ 1
1931 _ACEOF
1932
1933 cat >>confdefs.h <<\_ACEOF
1934 #define __POWERPC__ 1
1935 _ACEOF
1936
1937 cat >>confdefs.h <<\_ACEOF
1938 #define TARGET_CARBON 1
1939 _ACEOF
1940
1941 DEFAULT_DEFAULT_wxUSE_MAC=1
1942 ;;
1943
1944 *-*-beos* )
1945 USE_BEOS=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __BEOS__ 1
1948 _ACEOF
1949
1950 ;;
1951
1952 *)
1953 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1954 echo "$as_me: error: unknown system type ${host}." >&2;}
1955 { (exit 1); exit 1; }; }
1956 esac
1957
1958
1959
1960
1961 wx_arg_cache_file="configarg.cache"
1962 echo "loading argument cache $wx_arg_cache_file"
1963 rm -f ${wx_arg_cache_file}.tmp
1964 touch ${wx_arg_cache_file}.tmp
1965 touch ${wx_arg_cache_file}
1966
1967
1968 DEBUG_CONFIGURE=0
1969 if test $DEBUG_CONFIGURE = 1; then
1970 DEFAULT_wxUSE_UNIVERSAL=no
1971 DEFAULT_wxUSE_STL=no
1972
1973 DEFAULT_wxUSE_NANOX=no
1974
1975 DEFAULT_wxUSE_THREADS=yes
1976
1977 DEFAULT_wxUSE_SHARED=yes
1978 DEFAULT_wxUSE_OPTIMISE=no
1979 DEFAULT_wxUSE_PROFILE=no
1980 DEFAULT_wxUSE_NO_DEPS=no
1981 DEFAULT_wxUSE_NO_RTTI=no
1982 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1983 DEFAULT_wxUSE_PERMISSIVE=no
1984 DEFAULT_wxUSE_DEBUG_FLAG=yes
1985 DEFAULT_wxUSE_DEBUG_INFO=yes
1986 DEFAULT_wxUSE_DEBUG_GDB=yes
1987 DEFAULT_wxUSE_MEM_TRACING=no
1988 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1989 DEFAULT_wxUSE_DMALLOC=no
1990 DEFAULT_wxUSE_APPLE_IEEE=no
1991
1992 DEFAULT_wxUSE_EXCEPTIONS=no
1993 DEFAULT_wxUSE_LOG=yes
1994 DEFAULT_wxUSE_LOGWINDOW=no
1995 DEFAULT_wxUSE_LOGGUI=no
1996 DEFAULT_wxUSE_LOGDIALOG=no
1997
1998 DEFAULT_wxUSE_GUI=yes
1999 DEFAULT_wxUSE_CONTROLS=no
2000
2001 DEFAULT_wxUSE_REGEX=no
2002 DEFAULT_wxUSE_XML=no
2003 DEFAULT_wxUSE_EXPAT=no
2004 DEFAULT_wxUSE_ZLIB=no
2005 DEFAULT_wxUSE_LIBPNG=no
2006 DEFAULT_wxUSE_LIBJPEG=no
2007 DEFAULT_wxUSE_LIBTIFF=no
2008 DEFAULT_wxUSE_ODBC=no
2009 DEFAULT_wxUSE_OPENGL=no
2010
2011 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2012 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2013 DEFAULT_wxUSE_STD_IOSTREAM=no
2014 DEFAULT_wxUSE_CMDLINE_PARSER=no
2015 DEFAULT_wxUSE_DATETIME=no
2016 DEFAULT_wxUSE_TIMER=no
2017 DEFAULT_wxUSE_STOPWATCH=no
2018 DEFAULT_wxUSE_FILE=no
2019 DEFAULT_wxUSE_FFILE=no
2020 DEFAULT_wxUSE_TEXTBUFFER=no
2021 DEFAULT_wxUSE_TEXTFILE=no
2022 DEFAULT_wxUSE_WAVE=no
2023 DEFAULT_wxUSE_INTL=no
2024 DEFAULT_wxUSE_CONFIG=no
2025 DEFAULT_wxUSE_FONTMAP=no
2026 DEFAULT_wxUSE_STREAMS=no
2027 DEFAULT_wxUSE_SOCKETS=no
2028 DEFAULT_wxUSE_OLE=no
2029 DEFAULT_wxUSE_DATAOBJ=no
2030 DEFAULT_wxUSE_DIALUP_MANAGER=no
2031 DEFAULT_wxUSE_JOYSTICK=no
2032 DEFAULT_wxUSE_DYNLIB_CLASS=no
2033 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2034 DEFAULT_wxUSE_LONGLONG=no
2035 DEFAULT_wxUSE_GEOMETRY=no
2036
2037 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2038 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2039 DEFAULT_wxUSE_POSTSCRIPT=no
2040
2041 DEFAULT_wxUSE_CLIPBOARD=no
2042 DEFAULT_wxUSE_TOOLTIPS=no
2043 DEFAULT_wxUSE_DRAG_AND_DROP=no
2044 DEFAULT_wxUSE_DRAGIMAGE=no
2045 DEFAULT_wxUSE_SPLINES=no
2046
2047 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2048 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2049 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2050
2051 DEFAULT_wxUSE_RESOURCES=no
2052 DEFAULT_wxUSE_CONSTRAINTS=no
2053 DEFAULT_wxUSE_IPC=no
2054 DEFAULT_wxUSE_HELP=no
2055 DEFAULT_wxUSE_MS_HTML_HELP=no
2056 DEFAULT_wxUSE_WXHTML_HELP=no
2057 DEFAULT_wxUSE_TREELAYOUT=no
2058 DEFAULT_wxUSE_METAFILE=no
2059 DEFAULT_wxUSE_MIMETYPE=no
2060 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2061 DEFAULT_wxUSE_PROTOCOL=no
2062 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2063 DEFAULT_wxUSE_PROTOCOL_FTP=no
2064 DEFAULT_wxUSE_PROTOCOL_FILE=no
2065 DEFAULT_wxUSE_URL=no
2066
2067 DEFAULT_wxUSE_COMMONDLGS=no
2068 DEFAULT_wxUSE_CHOICEDLG=no
2069 DEFAULT_wxUSE_COLOURDLG=no
2070 DEFAULT_wxUSE_DIRDLG=no
2071 DEFAULT_wxUSE_FILEDLG=no
2072 DEFAULT_wxUSE_FINDREPLDLG=no
2073 DEFAULT_wxUSE_FONTDLG=no
2074 DEFAULT_wxUSE_MSGDLG=no
2075 DEFAULT_wxUSE_NUMBERDLG=no
2076 DEFAULT_wxUSE_TEXTDLG=no
2077 DEFAULT_wxUSE_SPLASH=no
2078 DEFAULT_wxUSE_STARTUP_TIPS=no
2079 DEFAULT_wxUSE_PROGRESSDLG=no
2080 DEFAULT_wxUSE_WIZARDDLG=no
2081
2082 DEFAULT_wxUSE_MENUS=no
2083 DEFAULT_wxUSE_MINIFRAME=no
2084 DEFAULT_wxUSE_HTML=no
2085 DEFAULT_wxUSE_FILESYSTEM=no
2086 DEFAULT_wxUSE_FS_INET=no
2087 DEFAULT_wxUSE_FS_ZIP=no
2088 DEFAULT_wxUSE_BUSYINFO=no
2089 DEFAULT_wxUSE_ZIPSTREAM=no
2090 DEFAULT_wxUSE_GZSTREAM=no
2091 DEFAULT_wxUSE_VALIDATORS=no
2092
2093 DEFAULT_wxUSE_ACCEL=no
2094 DEFAULT_wxUSE_BUTTON=no
2095 DEFAULT_wxUSE_BMPBUTTON=no
2096 DEFAULT_wxUSE_CALCTRL=no
2097 DEFAULT_wxUSE_CARET=no
2098 DEFAULT_wxUSE_CHECKBOX=no
2099 DEFAULT_wxUSE_CHECKLST=no
2100 DEFAULT_wxUSE_CHOICE=no
2101 DEFAULT_wxUSE_COMBOBOX=no
2102 DEFAULT_wxUSE_DISPLAY=no
2103 DEFAULT_wxUSE_GAUGE=no
2104 DEFAULT_wxUSE_GRID=no
2105 DEFAULT_wxUSE_IMAGLIST=no
2106 DEFAULT_wxUSE_LISTBOOK=no
2107 DEFAULT_wxUSE_LISTBOX=no
2108 DEFAULT_wxUSE_LISTCTRL=no
2109 DEFAULT_wxUSE_NOTEBOOK=no
2110 DEFAULT_wxUSE_RADIOBOX=no
2111 DEFAULT_wxUSE_RADIOBTN=no
2112 DEFAULT_wxUSE_SASH=no
2113 DEFAULT_wxUSE_SCROLLBAR=no
2114 DEFAULT_wxUSE_SLIDER=no
2115 DEFAULT_wxUSE_SPINBTN=no
2116 DEFAULT_wxUSE_SPINCTRL=no
2117 DEFAULT_wxUSE_SPLITTER=no
2118 DEFAULT_wxUSE_STATBMP=no
2119 DEFAULT_wxUSE_STATBOX=no
2120 DEFAULT_wxUSE_STATLINE=no
2121 DEFAULT_wxUSE_STATTEXT=no
2122 DEFAULT_wxUSE_STATUSBAR=yes
2123 DEFAULT_wxUSE_TABDIALOG=no
2124 DEFAULT_wxUSE_TEXTCTRL=no
2125 DEFAULT_wxUSE_TOGGLEBTN=no
2126 DEFAULT_wxUSE_TOOLBAR=no
2127 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2128 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2129 DEFAULT_wxUSE_TREECTRL=no
2130 DEFAULT_wxUSE_POPUPWIN=no
2131 DEFAULT_wxUSE_TIPWINDOW=no
2132
2133 DEFAULT_wxUSE_UNICODE=no
2134 DEFAULT_wxUSE_UNICODE_MSLU=no
2135 DEFAULT_wxUSE_WCSRTOMBS=no
2136
2137 DEFAULT_wxUSE_PALETTE=no
2138 DEFAULT_wxUSE_IMAGE=no
2139 DEFAULT_wxUSE_GIF=no
2140 DEFAULT_wxUSE_PCX=no
2141 DEFAULT_wxUSE_PNM=no
2142 DEFAULT_wxUSE_IFF=no
2143 DEFAULT_wxUSE_XPM=no
2144 DEFAULT_wxUSE_ICO_CUR=no
2145 DEFAULT_wxUSE_ACCESSIBILITY=no
2146
2147 DEFAULT_wxUSE_MONOLITHIC=no
2148 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2149 else
2150 DEFAULT_wxUSE_UNIVERSAL=no
2151 DEFAULT_wxUSE_STL=no
2152
2153 DEFAULT_wxUSE_NANOX=no
2154
2155 DEFAULT_wxUSE_THREADS=yes
2156
2157 DEFAULT_wxUSE_SHARED=yes
2158 DEFAULT_wxUSE_OPTIMISE=yes
2159 DEFAULT_wxUSE_PROFILE=no
2160 DEFAULT_wxUSE_NO_DEPS=no
2161 DEFAULT_wxUSE_NO_RTTI=no
2162 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2163 DEFAULT_wxUSE_PERMISSIVE=no
2164 DEFAULT_wxUSE_DEBUG_FLAG=no
2165 DEFAULT_wxUSE_DEBUG_INFO=no
2166 DEFAULT_wxUSE_DEBUG_GDB=no
2167 DEFAULT_wxUSE_MEM_TRACING=no
2168 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2169 DEFAULT_wxUSE_DMALLOC=no
2170 DEFAULT_wxUSE_APPLE_IEEE=yes
2171
2172 DEFAULT_wxUSE_EXCEPTIONS=yes
2173 DEFAULT_wxUSE_LOG=yes
2174 DEFAULT_wxUSE_LOGWINDOW=yes
2175 DEFAULT_wxUSE_LOGGUI=yes
2176 DEFAULT_wxUSE_LOGDIALOG=yes
2177
2178 DEFAULT_wxUSE_GUI=yes
2179
2180 DEFAULT_wxUSE_REGEX=yes
2181 DEFAULT_wxUSE_XML=yes
2182 DEFAULT_wxUSE_EXPAT=yes
2183 DEFAULT_wxUSE_ZLIB=yes
2184 DEFAULT_wxUSE_LIBPNG=yes
2185 DEFAULT_wxUSE_LIBJPEG=yes
2186 DEFAULT_wxUSE_LIBTIFF=yes
2187 DEFAULT_wxUSE_LIBMSPACK=yes
2188 DEFAULT_wxUSE_ODBC=no
2189 DEFAULT_wxUSE_OPENGL=no
2190
2191 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2192 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2193 DEFAULT_wxUSE_STD_IOSTREAM=no
2194 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2195 DEFAULT_wxUSE_DATETIME=yes
2196 DEFAULT_wxUSE_TIMER=yes
2197 DEFAULT_wxUSE_STOPWATCH=yes
2198 DEFAULT_wxUSE_FILE=yes
2199 DEFAULT_wxUSE_FFILE=yes
2200 DEFAULT_wxUSE_TEXTBUFFER=yes
2201 DEFAULT_wxUSE_TEXTFILE=yes
2202 DEFAULT_wxUSE_WAVE=no
2203 DEFAULT_wxUSE_INTL=yes
2204 DEFAULT_wxUSE_CONFIG=yes
2205 DEFAULT_wxUSE_FONTMAP=yes
2206 DEFAULT_wxUSE_STREAMS=yes
2207 DEFAULT_wxUSE_SOCKETS=yes
2208 DEFAULT_wxUSE_OLE=yes
2209 DEFAULT_wxUSE_DATAOBJ=yes
2210 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2211 DEFAULT_wxUSE_JOYSTICK=yes
2212 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2213 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2214 DEFAULT_wxUSE_LONGLONG=yes
2215 DEFAULT_wxUSE_GEOMETRY=yes
2216
2217 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2218 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2219 DEFAULT_wxUSE_POSTSCRIPT=yes
2220
2221 DEFAULT_wxUSE_CLIPBOARD=yes
2222 DEFAULT_wxUSE_TOOLTIPS=yes
2223 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2224 DEFAULT_wxUSE_DRAGIMAGE=yes
2225 DEFAULT_wxUSE_SPLINES=yes
2226
2227 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2228 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2229 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2230
2231 DEFAULT_wxUSE_RESOURCES=no
2232 DEFAULT_wxUSE_CONSTRAINTS=yes
2233 DEFAULT_wxUSE_IPC=yes
2234 DEFAULT_wxUSE_HELP=yes
2235 DEFAULT_wxUSE_MS_HTML_HELP=yes
2236 DEFAULT_wxUSE_WXHTML_HELP=yes
2237 DEFAULT_wxUSE_TREELAYOUT=yes
2238 DEFAULT_wxUSE_METAFILE=yes
2239 DEFAULT_wxUSE_MIMETYPE=yes
2240 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2241 DEFAULT_wxUSE_PROTOCOL=yes
2242 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2243 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2244 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2245 DEFAULT_wxUSE_URL=yes
2246
2247 DEFAULT_wxUSE_COMMONDLGS=yes
2248 DEFAULT_wxUSE_CHOICEDLG=yes
2249 DEFAULT_wxUSE_COLOURDLG=yes
2250 DEFAULT_wxUSE_DIRDLG=yes
2251 DEFAULT_wxUSE_FILEDLG=yes
2252 DEFAULT_wxUSE_FINDREPLDLG=yes
2253 DEFAULT_wxUSE_FONTDLG=yes
2254 DEFAULT_wxUSE_MSGDLG=yes
2255 DEFAULT_wxUSE_NUMBERDLG=yes
2256 DEFAULT_wxUSE_TEXTDLG=yes
2257 DEFAULT_wxUSE_SPLASH=yes
2258 DEFAULT_wxUSE_STARTUP_TIPS=yes
2259 DEFAULT_wxUSE_PROGRESSDLG=yes
2260 DEFAULT_wxUSE_WIZARDDLG=yes
2261
2262 DEFAULT_wxUSE_MENUS=yes
2263 DEFAULT_wxUSE_MINIFRAME=yes
2264 DEFAULT_wxUSE_HTML=yes
2265 DEFAULT_wxUSE_FILESYSTEM=yes
2266 DEFAULT_wxUSE_FS_INET=yes
2267 DEFAULT_wxUSE_FS_ZIP=yes
2268 DEFAULT_wxUSE_BUSYINFO=yes
2269 DEFAULT_wxUSE_ZIPSTREAM=yes
2270 DEFAULT_wxUSE_GZSTREAM=yes
2271 DEFAULT_wxUSE_VALIDATORS=yes
2272
2273 DEFAULT_wxUSE_ACCEL=yes
2274 DEFAULT_wxUSE_BUTTON=yes
2275 DEFAULT_wxUSE_BMPBUTTON=yes
2276 DEFAULT_wxUSE_CALCTRL=yes
2277 DEFAULT_wxUSE_CARET=yes
2278 DEFAULT_wxUSE_CHECKBOX=yes
2279 DEFAULT_wxUSE_CHECKLST=yes
2280 DEFAULT_wxUSE_CHOICE=yes
2281 DEFAULT_wxUSE_COMBOBOX=yes
2282 DEFAULT_wxUSE_DISPLAY=no
2283 DEFAULT_wxUSE_GAUGE=yes
2284 DEFAULT_wxUSE_GRID=yes
2285 DEFAULT_wxUSE_IMAGLIST=yes
2286 DEFAULT_wxUSE_LISTBOOK=yes
2287 DEFAULT_wxUSE_LISTBOX=yes
2288 DEFAULT_wxUSE_LISTCTRL=yes
2289 DEFAULT_wxUSE_NOTEBOOK=yes
2290 DEFAULT_wxUSE_RADIOBOX=yes
2291 DEFAULT_wxUSE_RADIOBTN=yes
2292 DEFAULT_wxUSE_SASH=yes
2293 DEFAULT_wxUSE_SCROLLBAR=yes
2294 DEFAULT_wxUSE_SLIDER=yes
2295 DEFAULT_wxUSE_SPINBTN=yes
2296 DEFAULT_wxUSE_SPINCTRL=yes
2297 DEFAULT_wxUSE_SPLITTER=yes
2298 DEFAULT_wxUSE_STATBMP=yes
2299 DEFAULT_wxUSE_STATBOX=yes
2300 DEFAULT_wxUSE_STATLINE=yes
2301 DEFAULT_wxUSE_STATTEXT=yes
2302 DEFAULT_wxUSE_STATUSBAR=yes
2303 DEFAULT_wxUSE_TABDIALOG=no
2304 DEFAULT_wxUSE_TEXTCTRL=yes
2305 DEFAULT_wxUSE_TOGGLEBTN=yes
2306 DEFAULT_wxUSE_TOOLBAR=yes
2307 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2308 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2309 DEFAULT_wxUSE_TREECTRL=yes
2310 DEFAULT_wxUSE_POPUPWIN=yes
2311 DEFAULT_wxUSE_TIPWINDOW=yes
2312
2313 DEFAULT_wxUSE_UNICODE=no
2314 DEFAULT_wxUSE_UNICODE_MSLU=yes
2315 DEFAULT_wxUSE_WCSRTOMBS=no
2316
2317 DEFAULT_wxUSE_PALETTE=yes
2318 DEFAULT_wxUSE_IMAGE=yes
2319 DEFAULT_wxUSE_GIF=yes
2320 DEFAULT_wxUSE_PCX=yes
2321 DEFAULT_wxUSE_IFF=no
2322 DEFAULT_wxUSE_PNM=yes
2323 DEFAULT_wxUSE_XPM=yes
2324 DEFAULT_wxUSE_ICO_CUR=yes
2325 DEFAULT_wxUSE_ACCESSIBILITY=no
2326
2327 DEFAULT_wxUSE_MONOLITHIC=no
2328 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2329 fi
2330
2331
2332
2333 for toolkit in `echo $ALL_TOOLKITS`; do
2334 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2335 if test "x$LINE" != "x" ; then
2336 has_toolkit_in_cache=1
2337 eval "DEFAULT_$LINE"
2338 eval "CACHE_$toolkit=1"
2339 fi
2340 done
2341
2342
2343
2344 enablestring=
2345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2346 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2347 no_cache=0
2348 # Check whether --enable-gui or --disable-gui was given.
2349 if test "${enable_gui+set}" = set; then
2350 enableval="$enable_gui"
2351
2352 if test "$enableval" = yes; then
2353 ac_cv_use_gui='wxUSE_GUI=yes'
2354 else
2355 ac_cv_use_gui='wxUSE_GUI=no'
2356 fi
2357
2358 else
2359
2360 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x ; then
2362 eval "DEFAULT_$LINE"
2363 else
2364 no_cache=1
2365 fi
2366
2367 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2368
2369 fi;
2370
2371 eval "$ac_cv_use_gui"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2374 fi
2375
2376 if test "$wxUSE_GUI" = yes; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2379 else
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2382 fi
2383
2384
2385 enablestring=
2386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2387 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2388 no_cache=0
2389 # Check whether --enable-monolithic or --disable-monolithic was given.
2390 if test "${enable_monolithic+set}" = set; then
2391 enableval="$enable_monolithic"
2392
2393 if test "$enableval" = yes; then
2394 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2395 else
2396 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2397 fi
2398
2399 else
2400
2401 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x ; then
2403 eval "DEFAULT_$LINE"
2404 else
2405 no_cache=1
2406 fi
2407
2408 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2409
2410 fi;
2411
2412 eval "$ac_cv_use_monolithic"
2413 if test "$no_cache" != 1; then
2414 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2415 fi
2416
2417 if test "$wxUSE_MONOLITHIC" = yes; then
2418 echo "$as_me:$LINENO: result: yes" >&5
2419 echo "${ECHO_T}yes" >&6
2420 else
2421 echo "$as_me:$LINENO: result: no" >&5
2422 echo "${ECHO_T}no" >&6
2423 fi
2424
2425
2426 if test "$wxUSE_GUI" = "yes"; then
2427
2428
2429 enablestring=
2430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2431 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2432 no_cache=0
2433 # Check whether --enable-universal or --disable-universal was given.
2434 if test "${enable_universal+set}" = set; then
2435 enableval="$enable_universal"
2436
2437 if test "$enableval" = yes; then
2438 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2439 else
2440 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2441 fi
2442
2443 else
2444
2445 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x ; then
2447 eval "DEFAULT_$LINE"
2448 else
2449 no_cache=1
2450 fi
2451
2452 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2453
2454 fi;
2455
2456 eval "$ac_cv_use_universal"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2459 fi
2460
2461 if test "$wxUSE_UNIVERSAL" = yes; then
2462 echo "$as_me:$LINENO: result: yes" >&5
2463 echo "${ECHO_T}yes" >&6
2464 else
2465 echo "$as_me:$LINENO: result: no" >&5
2466 echo "${ECHO_T}no" >&6
2467 fi
2468
2469
2470 # Check whether --with-gtk or --without-gtk was given.
2471 if test "${with_gtk+set}" = set; then
2472 withval="$with_gtk"
2473 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2474 fi;
2475
2476 # Check whether --with-motif or --without-motif was given.
2477 if test "${with_motif+set}" = set; then
2478 withval="$with_motif"
2479 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2480 fi;
2481
2482 # Check whether --with-mac or --without-mac was given.
2483 if test "${with_mac+set}" = set; then
2484 withval="$with_mac"
2485 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2486 fi;
2487
2488 # Check whether --with-cocoa or --without-cocoa was given.
2489 if test "${with_cocoa+set}" = set; then
2490 withval="$with_cocoa"
2491 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2492 fi;
2493
2494 # Check whether --with-wine or --without-wine was given.
2495 if test "${with_wine+set}" = set; then
2496 withval="$with_wine"
2497 wxUSE_WINE="$withval" CACHE_WINE=1
2498 fi;
2499
2500 # Check whether --with-msw or --without-msw was given.
2501 if test "${with_msw+set}" = set; then
2502 withval="$with_msw"
2503 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2504 fi;
2505
2506 # Check whether --with-pm or --without-pm was given.
2507 if test "${with_pm+set}" = set; then
2508 withval="$with_pm"
2509 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2510 fi;
2511
2512 # Check whether --with-mgl or --without-mgl was given.
2513 if test "${with_mgl+set}" = set; then
2514 withval="$with_mgl"
2515 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2516 fi;
2517
2518 # Check whether --with-microwin or --without-microwin was given.
2519 if test "${with_microwin+set}" = set; then
2520 withval="$with_microwin"
2521 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2522 fi;
2523
2524 # Check whether --with-x11 or --without-x11 was given.
2525 if test "${with_x11+set}" = set; then
2526 withval="$with_x11"
2527 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2528 fi;
2529
2530 enablestring=
2531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2532 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2533 no_cache=0
2534 # Check whether --enable-nanox or --disable-nanox was given.
2535 if test "${enable_nanox+set}" = set; then
2536 enableval="$enable_nanox"
2537
2538 if test "$enableval" = yes; then
2539 ac_cv_use_nanox='wxUSE_NANOX=yes'
2540 else
2541 ac_cv_use_nanox='wxUSE_NANOX=no'
2542 fi
2543
2544 else
2545
2546 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2547 if test "x$LINE" != x ; then
2548 eval "DEFAULT_$LINE"
2549 else
2550 no_cache=1
2551 fi
2552
2553 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2554
2555 fi;
2556
2557 eval "$ac_cv_use_nanox"
2558 if test "$no_cache" != 1; then
2559 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2560 fi
2561
2562 if test "$wxUSE_NANOX" = yes; then
2563 echo "$as_me:$LINENO: result: yes" >&5
2564 echo "${ECHO_T}yes" >&6
2565 else
2566 echo "$as_me:$LINENO: result: no" >&5
2567 echo "${ECHO_T}no" >&6
2568 fi
2569
2570
2571
2572 enablestring=
2573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2574 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2575 no_cache=0
2576 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2577 if test "${enable_gtk2+set}" = set; then
2578 enableval="$enable_gtk2"
2579
2580 if test "$enableval" = yes; then
2581 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2582 else
2583 ac_cv_use_gtk2='wxUSE_GTK2=no'
2584 fi
2585
2586 else
2587
2588 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x ; then
2590 eval "DEFAULT_$LINE"
2591 else
2592 no_cache=1
2593 fi
2594
2595 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2596
2597 fi;
2598
2599 eval "$ac_cv_use_gtk2"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2602 fi
2603
2604 if test "$wxUSE_GTK2" = yes; then
2605 echo "$as_me:$LINENO: result: yes" >&5
2606 echo "${ECHO_T}yes" >&6
2607 else
2608 echo "$as_me:$LINENO: result: no" >&5
2609 echo "${ECHO_T}no" >&6
2610 fi
2611
2612
2613
2614 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2615 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2616 no_cache=0
2617
2618 # Check whether --with-libpng or --without-libpng was given.
2619 if test "${with_libpng+set}" = set; then
2620 withval="$with_libpng"
2621
2622 if test "$withval" = yes; then
2623 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2624 elif test "$withval" = no; then
2625 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2626 elif test "$withval" = sys; then
2627 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2628 elif test "$withval" = builtin; then
2629 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2630 else
2631 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2632 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2633 { (exit 1); exit 1; }; }
2634 fi
2635
2636 else
2637
2638 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x ; then
2640 eval "DEFAULT_$LINE"
2641 else
2642 no_cache=1
2643 fi
2644
2645 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2646
2647 fi;
2648
2649 eval "$ac_cv_use_libpng"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2652 fi
2653
2654 if test "$wxUSE_LIBPNG" = yes; then
2655 echo "$as_me:$LINENO: result: yes" >&5
2656 echo "${ECHO_T}yes" >&6
2657 elif test "$wxUSE_LIBPNG" = no; then
2658 echo "$as_me:$LINENO: result: no" >&5
2659 echo "${ECHO_T}no" >&6
2660 elif test "$wxUSE_LIBPNG" = sys; then
2661 echo "$as_me:$LINENO: result: system version" >&5
2662 echo "${ECHO_T}system version" >&6
2663 elif test "$wxUSE_LIBPNG" = builtin; then
2664 echo "$as_me:$LINENO: result: builtin version" >&5
2665 echo "${ECHO_T}builtin version" >&6
2666 else
2667 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2668 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2669 { (exit 1); exit 1; }; }
2670 fi
2671
2672
2673 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2674 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2675 no_cache=0
2676
2677 # Check whether --with-libjpeg or --without-libjpeg was given.
2678 if test "${with_libjpeg+set}" = set; then
2679 withval="$with_libjpeg"
2680
2681 if test "$withval" = yes; then
2682 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2683 elif test "$withval" = no; then
2684 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2685 elif test "$withval" = sys; then
2686 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2687 elif test "$withval" = builtin; then
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2689 else
2690 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2691 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2692 { (exit 1); exit 1; }; }
2693 fi
2694
2695 else
2696
2697 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x ; then
2699 eval "DEFAULT_$LINE"
2700 else
2701 no_cache=1
2702 fi
2703
2704 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2705
2706 fi;
2707
2708 eval "$ac_cv_use_libjpeg"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2711 fi
2712
2713 if test "$wxUSE_LIBJPEG" = yes; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715 echo "${ECHO_T}yes" >&6
2716 elif test "$wxUSE_LIBJPEG" = no; then
2717 echo "$as_me:$LINENO: result: no" >&5
2718 echo "${ECHO_T}no" >&6
2719 elif test "$wxUSE_LIBJPEG" = sys; then
2720 echo "$as_me:$LINENO: result: system version" >&5
2721 echo "${ECHO_T}system version" >&6
2722 elif test "$wxUSE_LIBJPEG" = builtin; then
2723 echo "$as_me:$LINENO: result: builtin version" >&5
2724 echo "${ECHO_T}builtin version" >&6
2725 else
2726 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2727 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2728 { (exit 1); exit 1; }; }
2729 fi
2730
2731
2732 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2733 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2734 no_cache=0
2735
2736 # Check whether --with-libtiff or --without-libtiff was given.
2737 if test "${with_libtiff+set}" = set; then
2738 withval="$with_libtiff"
2739
2740 if test "$withval" = yes; then
2741 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2742 elif test "$withval" = no; then
2743 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2744 elif test "$withval" = sys; then
2745 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2746 elif test "$withval" = builtin; then
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2748 else
2749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2750 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2751 { (exit 1); exit 1; }; }
2752 fi
2753
2754 else
2755
2756 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x ; then
2758 eval "DEFAULT_$LINE"
2759 else
2760 no_cache=1
2761 fi
2762
2763 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2764
2765 fi;
2766
2767 eval "$ac_cv_use_libtiff"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2770 fi
2771
2772 if test "$wxUSE_LIBTIFF" = yes; then
2773 echo "$as_me:$LINENO: result: yes" >&5
2774 echo "${ECHO_T}yes" >&6
2775 elif test "$wxUSE_LIBTIFF" = no; then
2776 echo "$as_me:$LINENO: result: no" >&5
2777 echo "${ECHO_T}no" >&6
2778 elif test "$wxUSE_LIBTIFF" = sys; then
2779 echo "$as_me:$LINENO: result: system version" >&5
2780 echo "${ECHO_T}system version" >&6
2781 elif test "$wxUSE_LIBTIFF" = builtin; then
2782 echo "$as_me:$LINENO: result: builtin version" >&5
2783 echo "${ECHO_T}builtin version" >&6
2784 else
2785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2786 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2787 { (exit 1); exit 1; }; }
2788 fi
2789
2790
2791 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2792 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2793 no_cache=0
2794
2795 # Check whether --with-libmspack or --without-libmspack was given.
2796 if test "${with_libmspack+set}" = set; then
2797 withval="$with_libmspack"
2798
2799 if test "$withval" = yes; then
2800 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2801 else
2802 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2803 fi
2804
2805 else
2806
2807 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2808 if test "x$LINE" != x ; then
2809 eval "DEFAULT_$LINE"
2810 else
2811 no_cache=1
2812 fi
2813
2814 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2815
2816 fi;
2817
2818 eval "$ac_cv_use_libmspack"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2821 fi
2822
2823 if test "$wxUSE_LIBMSPACK" = yes; then
2824 echo "$as_me:$LINENO: result: yes" >&5
2825 echo "${ECHO_T}yes" >&6
2826 else
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2829 fi
2830
2831
2832 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2833 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2834 no_cache=0
2835
2836 # Check whether --with-opengl or --without-opengl was given.
2837 if test "${with_opengl+set}" = set; then
2838 withval="$with_opengl"
2839
2840 if test "$withval" = yes; then
2841 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2842 else
2843 ac_cv_use_opengl='wxUSE_OPENGL=no'
2844 fi
2845
2846 else
2847
2848 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2851 else
2852 no_cache=1
2853 fi
2854
2855 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2856
2857 fi;
2858
2859 eval "$ac_cv_use_opengl"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2862 fi
2863
2864 if test "$wxUSE_OPENGL" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2867 else
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 fi
2871
2872
2873 fi
2874
2875
2876 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2877 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2878 no_cache=0
2879
2880 # Check whether --with-dmalloc or --without-dmalloc was given.
2881 if test "${with_dmalloc+set}" = set; then
2882 withval="$with_dmalloc"
2883
2884 if test "$withval" = yes; then
2885 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2886 else
2887 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2888 fi
2889
2890 else
2891
2892 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2895 else
2896 no_cache=1
2897 fi
2898
2899 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2900
2901 fi;
2902
2903 eval "$ac_cv_use_dmalloc"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2906 fi
2907
2908 if test "$wxUSE_DMALLOC" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6
2911 else
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2914 fi
2915
2916
2917 echo "$as_me:$LINENO: checking for --with-regex" >&5
2918 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2919 no_cache=0
2920
2921 # Check whether --with-regex or --without-regex was given.
2922 if test "${with_regex+set}" = set; then
2923 withval="$with_regex"
2924
2925 if test "$withval" = yes; then
2926 ac_cv_use_regex='wxUSE_REGEX=yes'
2927 elif test "$withval" = no; then
2928 ac_cv_use_regex='wxUSE_REGEX=no'
2929 elif test "$withval" = sys; then
2930 ac_cv_use_regex='wxUSE_REGEX=sys'
2931 elif test "$withval" = builtin; then
2932 ac_cv_use_regex='wxUSE_REGEX=builtin'
2933 else
2934 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2935 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2936 { (exit 1); exit 1; }; }
2937 fi
2938
2939 else
2940
2941 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x ; then
2943 eval "DEFAULT_$LINE"
2944 else
2945 no_cache=1
2946 fi
2947
2948 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2949
2950 fi;
2951
2952 eval "$ac_cv_use_regex"
2953 if test "$no_cache" != 1; then
2954 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2955 fi
2956
2957 if test "$wxUSE_REGEX" = yes; then
2958 echo "$as_me:$LINENO: result: yes" >&5
2959 echo "${ECHO_T}yes" >&6
2960 elif test "$wxUSE_REGEX" = no; then
2961 echo "$as_me:$LINENO: result: no" >&5
2962 echo "${ECHO_T}no" >&6
2963 elif test "$wxUSE_REGEX" = sys; then
2964 echo "$as_me:$LINENO: result: system version" >&5
2965 echo "${ECHO_T}system version" >&6
2966 elif test "$wxUSE_REGEX" = builtin; then
2967 echo "$as_me:$LINENO: result: builtin version" >&5
2968 echo "${ECHO_T}builtin version" >&6
2969 else
2970 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2971 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2972 { (exit 1); exit 1; }; }
2973 fi
2974
2975
2976 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2977 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2978 no_cache=0
2979
2980 # Check whether --with-zlib or --without-zlib was given.
2981 if test "${with_zlib+set}" = set; then
2982 withval="$with_zlib"
2983
2984 if test "$withval" = yes; then
2985 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2986 elif test "$withval" = no; then
2987 ac_cv_use_zlib='wxUSE_ZLIB=no'
2988 elif test "$withval" = sys; then
2989 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2990 elif test "$withval" = builtin; then
2991 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2992 else
2993 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2994 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2995 { (exit 1); exit 1; }; }
2996 fi
2997
2998 else
2999
3000 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x ; then
3002 eval "DEFAULT_$LINE"
3003 else
3004 no_cache=1
3005 fi
3006
3007 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3008
3009 fi;
3010
3011 eval "$ac_cv_use_zlib"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3014 fi
3015
3016 if test "$wxUSE_ZLIB" = yes; then
3017 echo "$as_me:$LINENO: result: yes" >&5
3018 echo "${ECHO_T}yes" >&6
3019 elif test "$wxUSE_ZLIB" = no; then
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3022 elif test "$wxUSE_ZLIB" = sys; then
3023 echo "$as_me:$LINENO: result: system version" >&5
3024 echo "${ECHO_T}system version" >&6
3025 elif test "$wxUSE_ZLIB" = builtin; then
3026 echo "$as_me:$LINENO: result: builtin version" >&5
3027 echo "${ECHO_T}builtin version" >&6
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034
3035 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3036 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3037 no_cache=0
3038
3039 # Check whether --with-odbc or --without-odbc was given.
3040 if test "${with_odbc+set}" = set; then
3041 withval="$with_odbc"
3042
3043 if test "$withval" = yes; then
3044 ac_cv_use_odbc='wxUSE_ODBC=yes'
3045 elif test "$withval" = no; then
3046 ac_cv_use_odbc='wxUSE_ODBC=no'
3047 elif test "$withval" = sys; then
3048 ac_cv_use_odbc='wxUSE_ODBC=sys'
3049 elif test "$withval" = builtin; then
3050 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3051 else
3052 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3053 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3054 { (exit 1); exit 1; }; }
3055 fi
3056
3057 else
3058
3059 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x ; then
3061 eval "DEFAULT_$LINE"
3062 else
3063 no_cache=1
3064 fi
3065
3066 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3067
3068 fi;
3069
3070 eval "$ac_cv_use_odbc"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3073 fi
3074
3075 if test "$wxUSE_ODBC" = yes; then
3076 echo "$as_me:$LINENO: result: yes" >&5
3077 echo "${ECHO_T}yes" >&6
3078 elif test "$wxUSE_ODBC" = no; then
3079 echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 elif test "$wxUSE_ODBC" = sys; then
3082 echo "$as_me:$LINENO: result: system version" >&5
3083 echo "${ECHO_T}system version" >&6
3084 elif test "$wxUSE_ODBC" = builtin; then
3085 echo "$as_me:$LINENO: result: builtin version" >&5
3086 echo "${ECHO_T}builtin version" >&6
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093
3094 echo "$as_me:$LINENO: checking for --with-expat" >&5
3095 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3096 no_cache=0
3097
3098 # Check whether --with-expat or --without-expat was given.
3099 if test "${with_expat+set}" = set; then
3100 withval="$with_expat"
3101
3102 if test "$withval" = yes; then
3103 ac_cv_use_expat='wxUSE_EXPAT=yes'
3104 elif test "$withval" = no; then
3105 ac_cv_use_expat='wxUSE_EXPAT=no'
3106 elif test "$withval" = sys; then
3107 ac_cv_use_expat='wxUSE_EXPAT=sys'
3108 elif test "$withval" = builtin; then
3109 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3110 else
3111 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3112 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3113 { (exit 1); exit 1; }; }
3114 fi
3115
3116 else
3117
3118 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x ; then
3120 eval "DEFAULT_$LINE"
3121 else
3122 no_cache=1
3123 fi
3124
3125 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3126
3127 fi;
3128
3129 eval "$ac_cv_use_expat"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3132 fi
3133
3134 if test "$wxUSE_EXPAT" = yes; then
3135 echo "$as_me:$LINENO: result: yes" >&5
3136 echo "${ECHO_T}yes" >&6
3137 elif test "$wxUSE_EXPAT" = no; then
3138 echo "$as_me:$LINENO: result: no" >&5
3139 echo "${ECHO_T}no" >&6
3140 elif test "$wxUSE_EXPAT" = sys; then
3141 echo "$as_me:$LINENO: result: system version" >&5
3142 echo "${ECHO_T}system version" >&6
3143 elif test "$wxUSE_EXPAT" = builtin; then
3144 echo "$as_me:$LINENO: result: builtin version" >&5
3145 echo "${ECHO_T}builtin version" >&6
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152
3153
3154
3155 enablestring=
3156 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3157 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3158 no_cache=0
3159 # Check whether --enable-shared or --disable-shared was given.
3160 if test "${enable_shared+set}" = set; then
3161 enableval="$enable_shared"
3162
3163 if test "$enableval" = yes; then
3164 ac_cv_use_shared='wxUSE_SHARED=yes'
3165 else
3166 ac_cv_use_shared='wxUSE_SHARED=no'
3167 fi
3168
3169 else
3170
3171 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x ; then
3173 eval "DEFAULT_$LINE"
3174 else
3175 no_cache=1
3176 fi
3177
3178 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3179
3180 fi;
3181
3182 eval "$ac_cv_use_shared"
3183 if test "$no_cache" != 1; then
3184 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3185 fi
3186
3187 if test "$wxUSE_SHARED" = yes; then
3188 echo "$as_me:$LINENO: result: yes" >&5
3189 echo "${ECHO_T}yes" >&6
3190 else
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3193 fi
3194
3195
3196 enablestring=
3197 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3198 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3199 no_cache=0
3200 # Check whether --enable-optimise or --disable-optimise was given.
3201 if test "${enable_optimise+set}" = set; then
3202 enableval="$enable_optimise"
3203
3204 if test "$enableval" = yes; then
3205 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3206 else
3207 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3208 fi
3209
3210 else
3211
3212 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x ; then
3214 eval "DEFAULT_$LINE"
3215 else
3216 no_cache=1
3217 fi
3218
3219 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3220
3221 fi;
3222
3223 eval "$ac_cv_use_optimise"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3226 fi
3227
3228 if test "$wxUSE_OPTIMISE" = yes; then
3229 echo "$as_me:$LINENO: result: yes" >&5
3230 echo "${ECHO_T}yes" >&6
3231 else
3232 echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6
3234 fi
3235
3236
3237 enablestring=
3238 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3239 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3240 no_cache=0
3241 # Check whether --enable-debug or --disable-debug was given.
3242 if test "${enable_debug+set}" = set; then
3243 enableval="$enable_debug"
3244
3245 if test "$enableval" = yes; then
3246 ac_cv_use_debug='wxUSE_DEBUG=yes'
3247 else
3248 ac_cv_use_debug='wxUSE_DEBUG=no'
3249 fi
3250
3251 else
3252
3253 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x ; then
3255 eval "DEFAULT_$LINE"
3256 else
3257 no_cache=1
3258 fi
3259
3260 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3261
3262 fi;
3263
3264 eval "$ac_cv_use_debug"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3267 fi
3268
3269 if test "$wxUSE_DEBUG" = yes; then
3270 echo "$as_me:$LINENO: result: yes" >&5
3271 echo "${ECHO_T}yes" >&6
3272 else
3273 echo "$as_me:$LINENO: result: no" >&5
3274 echo "${ECHO_T}no" >&6
3275 fi
3276
3277
3278 enablestring=
3279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3280 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3281 no_cache=0
3282 # Check whether --enable-stl or --disable-stl was given.
3283 if test "${enable_stl+set}" = set; then
3284 enableval="$enable_stl"
3285
3286 if test "$enableval" = yes; then
3287 ac_cv_use_stl='wxUSE_STL=yes'
3288 else
3289 ac_cv_use_stl='wxUSE_STL=no'
3290 fi
3291
3292 else
3293
3294 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x ; then
3296 eval "DEFAULT_$LINE"
3297 else
3298 no_cache=1
3299 fi
3300
3301 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3302
3303 fi;
3304
3305 eval "$ac_cv_use_stl"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3308 fi
3309
3310 if test "$wxUSE_STL" = yes; then
3311 echo "$as_me:$LINENO: result: yes" >&5
3312 echo "${ECHO_T}yes" >&6
3313 else
3314 echo "$as_me:$LINENO: result: no" >&5
3315 echo "${ECHO_T}no" >&6
3316 fi
3317
3318
3319 if test "$wxUSE_DEBUG" = "yes"; then
3320 DEFAULT_wxUSE_DEBUG_FLAG=yes
3321 DEFAULT_wxUSE_DEBUG_INFO=yes
3322 BUILD=debug
3323 elif test "$wxUSE_DEBUG" = "no"; then
3324 DEFAULT_wxUSE_DEBUG_FLAG=no
3325 DEFAULT_wxUSE_DEBUG_INFO=no
3326 BUILD=release
3327 fi
3328
3329
3330 enablestring=
3331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3332 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3333 no_cache=0
3334 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3335 if test "${enable_debug_flag+set}" = set; then
3336 enableval="$enable_debug_flag"
3337
3338 if test "$enableval" = yes; then
3339 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3340 else
3341 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3342 fi
3343
3344 else
3345
3346 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x ; then
3348 eval "DEFAULT_$LINE"
3349 else
3350 no_cache=1
3351 fi
3352
3353 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3354
3355 fi;
3356
3357 eval "$ac_cv_use_debug_flag"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3360 fi
3361
3362 if test "$wxUSE_DEBUG_FLAG" = yes; then
3363 echo "$as_me:$LINENO: result: yes" >&5
3364 echo "${ECHO_T}yes" >&6
3365 else
3366 echo "$as_me:$LINENO: result: no" >&5
3367 echo "${ECHO_T}no" >&6
3368 fi
3369
3370
3371 enablestring=
3372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3374 no_cache=0
3375 # Check whether --enable-debug_info or --disable-debug_info was given.
3376 if test "${enable_debug_info+set}" = set; then
3377 enableval="$enable_debug_info"
3378
3379 if test "$enableval" = yes; then
3380 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3381 else
3382 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3383 fi
3384
3385 else
3386
3387 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3388 if test "x$LINE" != x ; then
3389 eval "DEFAULT_$LINE"
3390 else
3391 no_cache=1
3392 fi
3393
3394 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3395
3396 fi;
3397
3398 eval "$ac_cv_use_debug_info"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3401 fi
3402
3403 if test "$wxUSE_DEBUG_INFO" = yes; then
3404 echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6
3406 else
3407 echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6
3409 fi
3410
3411
3412 enablestring=
3413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3415 no_cache=0
3416 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3417 if test "${enable_debug_gdb+set}" = set; then
3418 enableval="$enable_debug_gdb"
3419
3420 if test "$enableval" = yes; then
3421 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3422 else
3423 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3424 fi
3425
3426 else
3427
3428 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3431 else
3432 no_cache=1
3433 fi
3434
3435 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3436
3437 fi;
3438
3439 eval "$ac_cv_use_debug_gdb"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_DEBUG_GDB" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 fi
3451
3452
3453 enablestring=
3454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3456 no_cache=0
3457 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3458 if test "${enable_debug_cntxt+set}" = set; then
3459 enableval="$enable_debug_cntxt"
3460
3461 if test "$enableval" = yes; then
3462 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3463 else
3464 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3465 fi
3466
3467 else
3468
3469 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x ; then
3471 eval "DEFAULT_$LINE"
3472 else
3473 no_cache=1
3474 fi
3475
3476 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3477
3478 fi;
3479
3480 eval "$ac_cv_use_debug_cntxt"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3486 echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3491 fi
3492
3493
3494 enablestring=
3495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3496 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3497 no_cache=0
3498 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3499 if test "${enable_mem_tracing+set}" = set; then
3500 enableval="$enable_mem_tracing"
3501
3502 if test "$enableval" = yes; then
3503 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3504 else
3505 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3506 fi
3507
3508 else
3509
3510 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3513 else
3514 no_cache=1
3515 fi
3516
3517 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3518
3519 fi;
3520
3521 eval "$ac_cv_use_mem_tracing"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3524 fi
3525
3526 if test "$wxUSE_MEM_TRACING" = yes; then
3527 echo "$as_me:$LINENO: result: yes" >&5
3528 echo "${ECHO_T}yes" >&6
3529 else
3530 echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3532 fi
3533
3534
3535 enablestring=
3536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3537 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3538 no_cache=0
3539 # Check whether --enable-profile or --disable-profile was given.
3540 if test "${enable_profile+set}" = set; then
3541 enableval="$enable_profile"
3542
3543 if test "$enableval" = yes; then
3544 ac_cv_use_profile='wxUSE_PROFILE=yes'
3545 else
3546 ac_cv_use_profile='wxUSE_PROFILE=no'
3547 fi
3548
3549 else
3550
3551 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3554 else
3555 no_cache=1
3556 fi
3557
3558 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3559
3560 fi;
3561
3562 eval "$ac_cv_use_profile"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3565 fi
3566
3567 if test "$wxUSE_PROFILE" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 fi
3574
3575
3576 enablestring=
3577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3578 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3579 no_cache=0
3580 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3581 if test "${enable_no_rtti+set}" = set; then
3582 enableval="$enable_no_rtti"
3583
3584 if test "$enableval" = yes; then
3585 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3586 else
3587 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3588 fi
3589
3590 else
3591
3592 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3593 if test "x$LINE" != x ; then
3594 eval "DEFAULT_$LINE"
3595 else
3596 no_cache=1
3597 fi
3598
3599 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3600
3601 fi;
3602
3603 eval "$ac_cv_use_no_rtti"
3604 if test "$no_cache" != 1; then
3605 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3606 fi
3607
3608 if test "$wxUSE_NO_RTTI" = yes; then
3609 echo "$as_me:$LINENO: result: yes" >&5
3610 echo "${ECHO_T}yes" >&6
3611 else
3612 echo "$as_me:$LINENO: result: no" >&5
3613 echo "${ECHO_T}no" >&6
3614 fi
3615
3616
3617 enablestring=
3618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3619 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3620 no_cache=0
3621 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3622 if test "${enable_no_exceptions+set}" = set; then
3623 enableval="$enable_no_exceptions"
3624
3625 if test "$enableval" = yes; then
3626 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3627 else
3628 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3629 fi
3630
3631 else
3632
3633 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x ; then
3635 eval "DEFAULT_$LINE"
3636 else
3637 no_cache=1
3638 fi
3639
3640 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3641
3642 fi;
3643
3644 eval "$ac_cv_use_no_exceptions"
3645 if test "$no_cache" != 1; then
3646 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3647 fi
3648
3649 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3650 echo "$as_me:$LINENO: result: yes" >&5
3651 echo "${ECHO_T}yes" >&6
3652 else
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3655 fi
3656
3657
3658 enablestring=
3659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3660 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3661 no_cache=0
3662 # Check whether --enable-permissive or --disable-permissive was given.
3663 if test "${enable_permissive+set}" = set; then
3664 enableval="$enable_permissive"
3665
3666 if test "$enableval" = yes; then
3667 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3668 else
3669 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3682
3683 fi;
3684
3685 eval "$ac_cv_use_permissive"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3688 fi
3689
3690 if test "$wxUSE_PERMISSIVE" = yes; then
3691 echo "$as_me:$LINENO: result: yes" >&5
3692 echo "${ECHO_T}yes" >&6
3693 else
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3696 fi
3697
3698
3699 enablestring=
3700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3701 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3702 no_cache=0
3703 # Check whether --enable-no_deps or --disable-no_deps was given.
3704 if test "${enable_no_deps+set}" = set; then
3705 enableval="$enable_no_deps"
3706
3707 if test "$enableval" = yes; then
3708 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3709 else
3710 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3711 fi
3712
3713 else
3714
3715 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x ; then
3717 eval "DEFAULT_$LINE"
3718 else
3719 no_cache=1
3720 fi
3721
3722 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3723
3724 fi;
3725
3726 eval "$ac_cv_use_no_deps"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3729 fi
3730
3731 if test "$wxUSE_NO_DEPS" = yes; then
3732 echo "$as_me:$LINENO: result: yes" >&5
3733 echo "${ECHO_T}yes" >&6
3734 else
3735 echo "$as_me:$LINENO: result: no" >&5
3736 echo "${ECHO_T}no" >&6
3737 fi
3738
3739
3740
3741 enablestring=
3742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3743 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3744 no_cache=0
3745 # Check whether --enable-compat22 or --disable-compat22 was given.
3746 if test "${enable_compat22+set}" = set; then
3747 enableval="$enable_compat22"
3748
3749 if test "$enableval" = yes; then
3750 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3751 else
3752 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3753 fi
3754
3755 else
3756
3757 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x ; then
3759 eval "DEFAULT_$LINE"
3760 else
3761 no_cache=1
3762 fi
3763
3764 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3765
3766 fi;
3767
3768 eval "$ac_cv_use_compat22"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3771 fi
3772
3773 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3774 echo "$as_me:$LINENO: result: yes" >&5
3775 echo "${ECHO_T}yes" >&6
3776 else
3777 echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6
3779 fi
3780
3781
3782 enablestring=disable
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3785 no_cache=0
3786 # Check whether --enable-compat24 or --disable-compat24 was given.
3787 if test "${enable_compat24+set}" = set; then
3788 enableval="$enable_compat24"
3789
3790 if test "$enableval" = yes; then
3791 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3792 else
3793 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3794 fi
3795
3796 else
3797
3798 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3801 else
3802 no_cache=1
3803 fi
3804
3805 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3806
3807 fi;
3808
3809 eval "$ac_cv_use_compat24"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3817 else
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3820 fi
3821
3822
3823 # Check whether --enable-rpath or --disable-rpath was given.
3824 if test "${enable_rpath+set}" = set; then
3825 enableval="$enable_rpath"
3826 wxRPATH_DIR="$enableval"
3827 fi;
3828
3829 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3830 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3831 fi
3832
3833
3834
3835
3836 enablestring=
3837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3838 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3839 no_cache=0
3840 # Check whether --enable-intl or --disable-intl was given.
3841 if test "${enable_intl+set}" = set; then
3842 enableval="$enable_intl"
3843
3844 if test "$enableval" = yes; then
3845 ac_cv_use_intl='wxUSE_INTL=yes'
3846 else
3847 ac_cv_use_intl='wxUSE_INTL=no'
3848 fi
3849
3850 else
3851
3852 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x ; then
3854 eval "DEFAULT_$LINE"
3855 else
3856 no_cache=1
3857 fi
3858
3859 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3860
3861 fi;
3862
3863 eval "$ac_cv_use_intl"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3866 fi
3867
3868 if test "$wxUSE_INTL" = yes; then
3869 echo "$as_me:$LINENO: result: yes" >&5
3870 echo "${ECHO_T}yes" >&6
3871 else
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3874 fi
3875
3876
3877 enablestring=
3878 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3879 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3880 no_cache=0
3881 # Check whether --enable-config or --disable-config was given.
3882 if test "${enable_config+set}" = set; then
3883 enableval="$enable_config"
3884
3885 if test "$enableval" = yes; then
3886 ac_cv_use_config='wxUSE_CONFIG=yes'
3887 else
3888 ac_cv_use_config='wxUSE_CONFIG=no'
3889 fi
3890
3891 else
3892
3893 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x ; then
3895 eval "DEFAULT_$LINE"
3896 else
3897 no_cache=1
3898 fi
3899
3900 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3901
3902 fi;
3903
3904 eval "$ac_cv_use_config"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3907 fi
3908
3909 if test "$wxUSE_CONFIG" = yes; then
3910 echo "$as_me:$LINENO: result: yes" >&5
3911 echo "${ECHO_T}yes" >&6
3912 else
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3915 fi
3916
3917
3918
3919 enablestring=
3920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3921 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3922 no_cache=0
3923 # Check whether --enable-protocols or --disable-protocols was given.
3924 if test "${enable_protocols+set}" = set; then
3925 enableval="$enable_protocols"
3926
3927 if test "$enableval" = yes; then
3928 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3929 else
3930 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3931 fi
3932
3933 else
3934
3935 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3938 else
3939 no_cache=1
3940 fi
3941
3942 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3943
3944 fi;
3945
3946 eval "$ac_cv_use_protocols"
3947 if test "$no_cache" != 1; then
3948 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3949 fi
3950
3951 if test "$wxUSE_PROTOCOL" = yes; then
3952 echo "$as_me:$LINENO: result: yes" >&5
3953 echo "${ECHO_T}yes" >&6
3954 else
3955 echo "$as_me:$LINENO: result: no" >&5
3956 echo "${ECHO_T}no" >&6
3957 fi
3958
3959
3960 enablestring=
3961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3962 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3963 no_cache=0
3964 # Check whether --enable-ftp or --disable-ftp was given.
3965 if test "${enable_ftp+set}" = set; then
3966 enableval="$enable_ftp"
3967
3968 if test "$enableval" = yes; then
3969 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3970 else
3971 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3972 fi
3973
3974 else
3975
3976 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x ; then
3978 eval "DEFAULT_$LINE"
3979 else
3980 no_cache=1
3981 fi
3982
3983 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3984
3985 fi;
3986
3987 eval "$ac_cv_use_ftp"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3990 fi
3991
3992 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3993 echo "$as_me:$LINENO: result: yes" >&5
3994 echo "${ECHO_T}yes" >&6
3995 else
3996 echo "$as_me:$LINENO: result: no" >&5
3997 echo "${ECHO_T}no" >&6
3998 fi
3999
4000
4001 enablestring=
4002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4003 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4004 no_cache=0
4005 # Check whether --enable-http or --disable-http was given.
4006 if test "${enable_http+set}" = set; then
4007 enableval="$enable_http"
4008
4009 if test "$enableval" = yes; then
4010 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4011 else
4012 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4013 fi
4014
4015 else
4016
4017 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x ; then
4019 eval "DEFAULT_$LINE"
4020 else
4021 no_cache=1
4022 fi
4023
4024 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4025
4026 fi;
4027
4028 eval "$ac_cv_use_http"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4031 fi
4032
4033 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4034 echo "$as_me:$LINENO: result: yes" >&5
4035 echo "${ECHO_T}yes" >&6
4036 else
4037 echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4039 fi
4040
4041
4042 enablestring=
4043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4044 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4045 no_cache=0
4046 # Check whether --enable-fileproto or --disable-fileproto was given.
4047 if test "${enable_fileproto+set}" = set; then
4048 enableval="$enable_fileproto"
4049
4050 if test "$enableval" = yes; then
4051 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4052 else
4053 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4054 fi
4055
4056 else
4057
4058 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4059 if test "x$LINE" != x ; then
4060 eval "DEFAULT_$LINE"
4061 else
4062 no_cache=1
4063 fi
4064
4065 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4066
4067 fi;
4068
4069 eval "$ac_cv_use_fileproto"
4070 if test "$no_cache" != 1; then
4071 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4072 fi
4073
4074 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4075 echo "$as_me:$LINENO: result: yes" >&5
4076 echo "${ECHO_T}yes" >&6
4077 else
4078 echo "$as_me:$LINENO: result: no" >&5
4079 echo "${ECHO_T}no" >&6
4080 fi
4081
4082
4083 enablestring=
4084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4085 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4086 no_cache=0
4087 # Check whether --enable-sockets or --disable-sockets was given.
4088 if test "${enable_sockets+set}" = set; then
4089 enableval="$enable_sockets"
4090
4091 if test "$enableval" = yes; then
4092 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4093 else
4094 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4095 fi
4096
4097 else
4098
4099 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x ; then
4101 eval "DEFAULT_$LINE"
4102 else
4103 no_cache=1
4104 fi
4105
4106 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4107
4108 fi;
4109
4110 eval "$ac_cv_use_sockets"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4113 fi
4114
4115 if test "$wxUSE_SOCKETS" = yes; then
4116 echo "$as_me:$LINENO: result: yes" >&5
4117 echo "${ECHO_T}yes" >&6
4118 else
4119 echo "$as_me:$LINENO: result: no" >&5
4120 echo "${ECHO_T}no" >&6
4121 fi
4122
4123
4124 enablestring=
4125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4126 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4127 no_cache=0
4128 # Check whether --enable-ole or --disable-ole was given.
4129 if test "${enable_ole+set}" = set; then
4130 enableval="$enable_ole"
4131
4132 if test "$enableval" = yes; then
4133 ac_cv_use_ole='wxUSE_OLE=yes'
4134 else
4135 ac_cv_use_ole='wxUSE_OLE=no'
4136 fi
4137
4138 else
4139
4140 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4141 if test "x$LINE" != x ; then
4142 eval "DEFAULT_$LINE"
4143 else
4144 no_cache=1
4145 fi
4146
4147 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4148
4149 fi;
4150
4151 eval "$ac_cv_use_ole"
4152 if test "$no_cache" != 1; then
4153 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4154 fi
4155
4156 if test "$wxUSE_OLE" = yes; then
4157 echo "$as_me:$LINENO: result: yes" >&5
4158 echo "${ECHO_T}yes" >&6
4159 else
4160 echo "$as_me:$LINENO: result: no" >&5
4161 echo "${ECHO_T}no" >&6
4162 fi
4163
4164
4165 enablestring=
4166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4167 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4168 no_cache=0
4169 # Check whether --enable-dataobj or --disable-dataobj was given.
4170 if test "${enable_dataobj+set}" = set; then
4171 enableval="$enable_dataobj"
4172
4173 if test "$enableval" = yes; then
4174 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4175 else
4176 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4177 fi
4178
4179 else
4180
4181 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x ; then
4183 eval "DEFAULT_$LINE"
4184 else
4185 no_cache=1
4186 fi
4187
4188 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4189
4190 fi;
4191
4192 eval "$ac_cv_use_dataobj"
4193 if test "$no_cache" != 1; then
4194 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4195 fi
4196
4197 if test "$wxUSE_DATAOBJ" = yes; then
4198 echo "$as_me:$LINENO: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6
4200 else
4201 echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6
4203 fi
4204
4205
4206
4207 enablestring=
4208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4209 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4210 no_cache=0
4211 # Check whether --enable-ipc or --disable-ipc was given.
4212 if test "${enable_ipc+set}" = set; then
4213 enableval="$enable_ipc"
4214
4215 if test "$enableval" = yes; then
4216 ac_cv_use_ipc='wxUSE_IPC=yes'
4217 else
4218 ac_cv_use_ipc='wxUSE_IPC=no'
4219 fi
4220
4221 else
4222
4223 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4224 if test "x$LINE" != x ; then
4225 eval "DEFAULT_$LINE"
4226 else
4227 no_cache=1
4228 fi
4229
4230 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4231
4232 fi;
4233
4234 eval "$ac_cv_use_ipc"
4235 if test "$no_cache" != 1; then
4236 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4237 fi
4238
4239 if test "$wxUSE_IPC" = yes; then
4240 echo "$as_me:$LINENO: result: yes" >&5
4241 echo "${ECHO_T}yes" >&6
4242 else
4243 echo "$as_me:$LINENO: result: no" >&5
4244 echo "${ECHO_T}no" >&6
4245 fi
4246
4247
4248
4249 enablestring=
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4252 no_cache=0
4253 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4254 if test "${enable_apple_ieee+set}" = set; then
4255 enableval="$enable_apple_ieee"
4256
4257 if test "$enableval" = yes; then
4258 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4259 else
4260 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4261 fi
4262
4263 else
4264
4265 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x ; then
4267 eval "DEFAULT_$LINE"
4268 else
4269 no_cache=1
4270 fi
4271
4272 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4273
4274 fi;
4275
4276 eval "$ac_cv_use_apple_ieee"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_APPLE_IEEE" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4284 else
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4287 fi
4288
4289
4290 enablestring=
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4293 no_cache=0
4294 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4295 if test "${enable_catch_segvs+set}" = set; then
4296 enableval="$enable_catch_segvs"
4297
4298 if test "$enableval" = yes; then
4299 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4300 else
4301 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4302 fi
4303
4304 else
4305
4306 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4314
4315 fi;
4316
4317 eval "$ac_cv_use_catch_segvs"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4320 fi
4321
4322 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4325 else
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4328 fi
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-cmdline or --disable-cmdline was given.
4336 if test "${enable_cmdline+set}" = set; then
4337 enableval="$enable_cmdline"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4341 else
4342 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4355
4356 fi;
4357
4358 eval "$ac_cv_use_cmdline"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-datetime or --disable-datetime was given.
4377 if test "${enable_datetime+set}" = set; then
4378 enableval="$enable_datetime"
4379
4380 if test "$enableval" = yes; then
4381 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4382 else
4383 ac_cv_use_datetime='wxUSE_DATETIME=no'
4384 fi
4385
4386 else
4387
4388 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4391 else
4392 no_cache=1
4393 fi
4394
4395 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4396
4397 fi;
4398
4399 eval "$ac_cv_use_datetime"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_DATETIME" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4407 else
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4410 fi
4411
4412
4413 enablestring=
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4416 no_cache=0
4417 # Check whether --enable-dialupman or --disable-dialupman was given.
4418 if test "${enable_dialupman+set}" = set; then
4419 enableval="$enable_dialupman"
4420
4421 if test "$enableval" = yes; then
4422 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4423 else
4424 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4425 fi
4426
4427 else
4428
4429 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x ; then
4431 eval "DEFAULT_$LINE"
4432 else
4433 no_cache=1
4434 fi
4435
4436 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4437
4438 fi;
4439
4440 eval "$ac_cv_use_dialupman"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4443 fi
4444
4445 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4448 else
4449 echo "$as_me:$LINENO: result: no" >&5
4450 echo "${ECHO_T}no" >&6
4451 fi
4452
4453
4454 enablestring=
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-dynlib or --disable-dynlib was given.
4459 if test "${enable_dynlib+set}" = set; then
4460 enableval="$enable_dynlib"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4464 else
4465 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4478
4479 fi;
4480
4481 eval "$ac_cv_use_dynlib"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4500 if test "${enable_dynamicloader+set}" = set; then
4501 enableval="$enable_dynamicloader"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4505 else
4506 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4519
4520 fi;
4521
4522 eval "$ac_cv_use_dynamicloader"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536 enablestring=
4537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4538 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4539 no_cache=0
4540 # Check whether --enable-exceptions or --disable-exceptions was given.
4541 if test "${enable_exceptions+set}" = set; then
4542 enableval="$enable_exceptions"
4543
4544 if test "$enableval" = yes; then
4545 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4546 else
4547 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4548 fi
4549
4550 else
4551
4552 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x ; then
4554 eval "DEFAULT_$LINE"
4555 else
4556 no_cache=1
4557 fi
4558
4559 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4560
4561 fi;
4562
4563 eval "$ac_cv_use_exceptions"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4566 fi
4567
4568 if test "$wxUSE_EXCEPTIONS" = yes; then
4569 echo "$as_me:$LINENO: result: yes" >&5
4570 echo "${ECHO_T}yes" >&6
4571 else
4572 echo "$as_me:$LINENO: result: no" >&5
4573 echo "${ECHO_T}no" >&6
4574 fi
4575
4576
4577 enablestring=
4578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4579 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4580 no_cache=0
4581 # Check whether --enable-ffile or --disable-ffile was given.
4582 if test "${enable_ffile+set}" = set; then
4583 enableval="$enable_ffile"
4584
4585 if test "$enableval" = yes; then
4586 ac_cv_use_ffile='wxUSE_FFILE=yes'
4587 else
4588 ac_cv_use_ffile='wxUSE_FFILE=no'
4589 fi
4590
4591 else
4592
4593 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x ; then
4595 eval "DEFAULT_$LINE"
4596 else
4597 no_cache=1
4598 fi
4599
4600 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4601
4602 fi;
4603
4604 eval "$ac_cv_use_ffile"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4607 fi
4608
4609 if test "$wxUSE_FFILE" = yes; then
4610 echo "$as_me:$LINENO: result: yes" >&5
4611 echo "${ECHO_T}yes" >&6
4612 else
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4615 fi
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-file or --disable-file was given.
4623 if test "${enable_file+set}" = set; then
4624 enableval="$enable_file"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_file='wxUSE_FILE=yes'
4628 else
4629 ac_cv_use_file='wxUSE_FILE=no'
4630 fi
4631
4632 else
4633
4634 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4642
4643 fi;
4644
4645 eval "$ac_cv_use_file"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_FILE" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-filesystem or --disable-filesystem was given.
4664 if test "${enable_filesystem+set}" = set; then
4665 enableval="$enable_filesystem"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4669 else
4670 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4683
4684 fi;
4685
4686 eval "$ac_cv_use_filesystem"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_FILESYSTEM" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-fontmap or --disable-fontmap was given.
4705 if test "${enable_fontmap+set}" = set; then
4706 enableval="$enable_fontmap"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4710 else
4711 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4724
4725 fi;
4726
4727 eval "$ac_cv_use_fontmap"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_FONTMAP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4746 if test "${enable_fs_inet+set}" = set; then
4747 enableval="$enable_fs_inet"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4751 else
4752 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4765
4766 fi;
4767
4768 eval "$ac_cv_use_fs_inet"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_FS_INET" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4787 if test "${enable_fs_zip+set}" = set; then
4788 enableval="$enable_fs_zip"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
4792 else
4793 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4806
4807 fi;
4808
4809 eval "$ac_cv_use_fs_zip"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_FS_ZIP" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-geometry or --disable-geometry was given.
4828 if test "${enable_geometry+set}" = set; then
4829 enableval="$enable_geometry"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4833 else
4834 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4847
4848 fi;
4849
4850 eval "$ac_cv_use_geometry"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_GEOMETRY" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-log or --disable-log was given.
4869 if test "${enable_log+set}" = set; then
4870 enableval="$enable_log"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_log='wxUSE_LOG=yes'
4874 else
4875 ac_cv_use_log='wxUSE_LOG=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4888
4889 fi;
4890
4891 eval "$ac_cv_use_log"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_LOG" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-longlong or --disable-longlong was given.
4910 if test "${enable_longlong+set}" = set; then
4911 enableval="$enable_longlong"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4915 else
4916 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4929
4930 fi;
4931
4932 eval "$ac_cv_use_longlong"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_LONGLONG" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946 enablestring=
4947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
4948 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
4949 no_cache=0
4950 # Check whether --enable-mimetype or --disable-mimetype was given.
4951 if test "${enable_mimetype+set}" = set; then
4952 enableval="$enable_mimetype"
4953
4954 if test "$enableval" = yes; then
4955 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
4956 else
4957 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
4958 fi
4959
4960 else
4961
4962 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4963 if test "x$LINE" != x ; then
4964 eval "DEFAULT_$LINE"
4965 else
4966 no_cache=1
4967 fi
4968
4969 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4970
4971 fi;
4972
4973 eval "$ac_cv_use_mimetype"
4974 if test "$no_cache" != 1; then
4975 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4976 fi
4977
4978 if test "$wxUSE_MIMETYPE" = yes; then
4979 echo "$as_me:$LINENO: result: yes" >&5
4980 echo "${ECHO_T}yes" >&6
4981 else
4982 echo "$as_me:$LINENO: result: no" >&5
4983 echo "${ECHO_T}no" >&6
4984 fi
4985
4986
4987 enablestring=
4988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4990 no_cache=0
4991 # Check whether --enable-mslu or --disable-mslu was given.
4992 if test "${enable_mslu+set}" = set; then
4993 enableval="$enable_mslu"
4994
4995 if test "$enableval" = yes; then
4996 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4997 else
4998 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4999 fi
5000
5001 else
5002
5003 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5004 if test "x$LINE" != x ; then
5005 eval "DEFAULT_$LINE"
5006 else
5007 no_cache=1
5008 fi
5009
5010 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5011
5012 fi;
5013
5014 eval "$ac_cv_use_mslu"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5017 fi
5018
5019 if test "$wxUSE_UNICODE_MSLU" = yes; then
5020 echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6
5022 else
5023 echo "$as_me:$LINENO: result: no" >&5
5024 echo "${ECHO_T}no" >&6
5025 fi
5026
5027
5028 enablestring=
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5031 no_cache=0
5032 # Check whether --enable-snglinst or --disable-snglinst was given.
5033 if test "${enable_snglinst+set}" = set; then
5034 enableval="$enable_snglinst"
5035
5036 if test "$enableval" = yes; then
5037 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5038 else
5039 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5040 fi
5041
5042 else
5043
5044 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 else
5048 no_cache=1
5049 fi
5050
5051 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5052
5053 fi;
5054
5055 eval "$ac_cv_use_snglinst"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5058 fi
5059
5060 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5061 echo "$as_me:$LINENO: result: yes" >&5
5062 echo "${ECHO_T}yes" >&6
5063 else
5064 echo "$as_me:$LINENO: result: no" >&5
5065 echo "${ECHO_T}no" >&6
5066 fi
5067
5068
5069 enablestring=
5070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5072 no_cache=0
5073 # Check whether --enable-streams or --disable-streams was given.
5074 if test "${enable_streams+set}" = set; then
5075 enableval="$enable_streams"
5076
5077 if test "$enableval" = yes; then
5078 ac_cv_use_streams='wxUSE_STREAMS=yes'
5079 else
5080 ac_cv_use_streams='wxUSE_STREAMS=no'
5081 fi
5082
5083 else
5084
5085 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x ; then
5087 eval "DEFAULT_$LINE"
5088 else
5089 no_cache=1
5090 fi
5091
5092 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5093
5094 fi;
5095
5096 eval "$ac_cv_use_streams"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5099 fi
5100
5101 if test "$wxUSE_STREAMS" = yes; then
5102 echo "$as_me:$LINENO: result: yes" >&5
5103 echo "${ECHO_T}yes" >&6
5104 else
5105 echo "$as_me:$LINENO: result: no" >&5
5106 echo "${ECHO_T}no" >&6
5107 fi
5108
5109
5110 enablestring=
5111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5113 no_cache=0
5114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5115 if test "${enable_std_iostreams+set}" = set; then
5116 enableval="$enable_std_iostreams"
5117
5118 if test "$enableval" = yes; then
5119 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5120 else
5121 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5122 fi
5123
5124 else
5125
5126 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5127 if test "x$LINE" != x ; then
5128 eval "DEFAULT_$LINE"
5129 else
5130 no_cache=1
5131 fi
5132
5133 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5134
5135 fi;
5136
5137 eval "$ac_cv_use_std_iostreams"
5138 if test "$no_cache" != 1; then
5139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5140 fi
5141
5142 if test "$wxUSE_STD_IOSTREAM" = yes; then
5143 echo "$as_me:$LINENO: result: yes" >&5
5144 echo "${ECHO_T}yes" >&6
5145 else
5146 echo "$as_me:$LINENO: result: no" >&5
5147 echo "${ECHO_T}no" >&6
5148 fi
5149
5150
5151 enablestring=
5152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5153 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5154 no_cache=0
5155 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5156 if test "${enable_stopwatch+set}" = set; then
5157 enableval="$enable_stopwatch"
5158
5159 if test "$enableval" = yes; then
5160 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5161 else
5162 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5163 fi
5164
5165 else
5166
5167 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x ; then
5169 eval "DEFAULT_$LINE"
5170 else
5171 no_cache=1
5172 fi
5173
5174 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5175
5176 fi;
5177
5178 eval "$ac_cv_use_stopwatch"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5181 fi
5182
5183 if test "$wxUSE_STOPWATCH" = yes; then
5184 echo "$as_me:$LINENO: result: yes" >&5
5185 echo "${ECHO_T}yes" >&6
5186 else
5187 echo "$as_me:$LINENO: result: no" >&5
5188 echo "${ECHO_T}no" >&6
5189 fi
5190
5191
5192 enablestring=
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-system_options or --disable-system_options was given.
5197 if test "${enable_system_options+set}" = set; then
5198 enableval="$enable_system_options"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5202 else
5203 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5216
5217 fi;
5218
5219 eval "$ac_cv_use_system_options"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5225 echo "$as_me:$LINENO: result: yes" >&5
5226 echo "${ECHO_T}yes" >&6
5227 else
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5230 fi
5231
5232
5233 enablestring=
5234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5235 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5236 no_cache=0
5237 # Check whether --enable-textbuf or --disable-textbuf was given.
5238 if test "${enable_textbuf+set}" = set; then
5239 enableval="$enable_textbuf"
5240
5241 if test "$enableval" = yes; then
5242 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5243 else
5244 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5245 fi
5246
5247 else
5248
5249 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x ; then
5251 eval "DEFAULT_$LINE"
5252 else
5253 no_cache=1
5254 fi
5255
5256 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5257
5258 fi;
5259
5260 eval "$ac_cv_use_textbuf"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5263 fi
5264
5265 if test "$wxUSE_TEXTBUFFER" = yes; then
5266 echo "$as_me:$LINENO: result: yes" >&5
5267 echo "${ECHO_T}yes" >&6
5268 else
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5271 fi
5272
5273
5274 enablestring=
5275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5276 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5277 no_cache=0
5278 # Check whether --enable-textfile or --disable-textfile was given.
5279 if test "${enable_textfile+set}" = set; then
5280 enableval="$enable_textfile"
5281
5282 if test "$enableval" = yes; then
5283 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5284 else
5285 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5286 fi
5287
5288 else
5289
5290 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x ; then
5292 eval "DEFAULT_$LINE"
5293 else
5294 no_cache=1
5295 fi
5296
5297 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5298
5299 fi;
5300
5301 eval "$ac_cv_use_textfile"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5304 fi
5305
5306 if test "$wxUSE_TEXTFILE" = yes; then
5307 echo "$as_me:$LINENO: result: yes" >&5
5308 echo "${ECHO_T}yes" >&6
5309 else
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5312 fi
5313
5314
5315 enablestring=
5316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5318 no_cache=0
5319 # Check whether --enable-timer or --disable-timer was given.
5320 if test "${enable_timer+set}" = set; then
5321 enableval="$enable_timer"
5322
5323 if test "$enableval" = yes; then
5324 ac_cv_use_timer='wxUSE_TIMER=yes'
5325 else
5326 ac_cv_use_timer='wxUSE_TIMER=no'
5327 fi
5328
5329 else
5330
5331 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x ; then
5333 eval "DEFAULT_$LINE"
5334 else
5335 no_cache=1
5336 fi
5337
5338 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5339
5340 fi;
5341
5342 eval "$ac_cv_use_timer"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5345 fi
5346
5347 if test "$wxUSE_TIMER" = yes; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5353 fi
5354
5355
5356 enablestring=
5357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5358 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5359 no_cache=0
5360 # Check whether --enable-unicode or --disable-unicode was given.
5361 if test "${enable_unicode+set}" = set; then
5362 enableval="$enable_unicode"
5363
5364 if test "$enableval" = yes; then
5365 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5366 else
5367 ac_cv_use_unicode='wxUSE_UNICODE=no'
5368 fi
5369
5370 else
5371
5372 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x ; then
5374 eval "DEFAULT_$LINE"
5375 else
5376 no_cache=1
5377 fi
5378
5379 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5380
5381 fi;
5382
5383 eval "$ac_cv_use_unicode"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5386 fi
5387
5388 if test "$wxUSE_UNICODE" = yes; then
5389 echo "$as_me:$LINENO: result: yes" >&5
5390 echo "${ECHO_T}yes" >&6
5391 else
5392 echo "$as_me:$LINENO: result: no" >&5
5393 echo "${ECHO_T}no" >&6
5394 fi
5395
5396
5397 enablestring=
5398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
5399 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
5400 no_cache=0
5401 # Check whether --enable-wave or --disable-wave was given.
5402 if test "${enable_wave+set}" = set; then
5403 enableval="$enable_wave"
5404
5405 if test "$enableval" = yes; then
5406 ac_cv_use_wave='wxUSE_WAVE=yes'
5407 else
5408 ac_cv_use_wave='wxUSE_WAVE=no'
5409 fi
5410
5411 else
5412
5413 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x ; then
5415 eval "DEFAULT_$LINE"
5416 else
5417 no_cache=1
5418 fi
5419
5420 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
5421
5422 fi;
5423
5424 eval "$ac_cv_use_wave"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
5427 fi
5428
5429 if test "$wxUSE_WAVE" = yes; then
5430 echo "$as_me:$LINENO: result: yes" >&5
5431 echo "${ECHO_T}yes" >&6
5432 else
5433 echo "$as_me:$LINENO: result: no" >&5
5434 echo "${ECHO_T}no" >&6
5435 fi
5436
5437
5438 enablestring=
5439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5440 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5441 no_cache=0
5442 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5443 if test "${enable_wxprintfv+set}" = set; then
5444 enableval="$enable_wxprintfv"
5445
5446 if test "$enableval" = yes; then
5447 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5448 else
5449 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5450 fi
5451
5452 else
5453
5454 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x ; then
5456 eval "DEFAULT_$LINE"
5457 else
5458 no_cache=1
5459 fi
5460
5461 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5462
5463 fi;
5464
5465 eval "$ac_cv_use_wxprintfv"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5468 fi
5469
5470 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5471 echo "$as_me:$LINENO: result: yes" >&5
5472 echo "${ECHO_T}yes" >&6
5473 else
5474 echo "$as_me:$LINENO: result: no" >&5
5475 echo "${ECHO_T}no" >&6
5476 fi
5477
5478
5479 enablestring=
5480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5482 no_cache=0
5483 # Check whether --enable-zipstream or --disable-zipstream was given.
5484 if test "${enable_zipstream+set}" = set; then
5485 enableval="$enable_zipstream"
5486
5487 if test "$enableval" = yes; then
5488 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5489 else
5490 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5491 fi
5492
5493 else
5494
5495 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x ; then
5497 eval "DEFAULT_$LINE"
5498 else
5499 no_cache=1
5500 fi
5501
5502 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5503
5504 fi;
5505
5506 eval "$ac_cv_use_zipstream"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5509 fi
5510
5511 if test "$wxUSE_ZIPSTREAM" = yes; then
5512 echo "$as_me:$LINENO: result: yes" >&5
5513 echo "${ECHO_T}yes" >&6
5514 else
5515 echo "$as_me:$LINENO: result: no" >&5
5516 echo "${ECHO_T}no" >&6
5517 fi
5518
5519
5520 enablestring=
5521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gzstream" >&5
5522 echo $ECHO_N "checking for --${enablestring:-enable}-gzstream... $ECHO_C" >&6
5523 no_cache=0
5524 # Check whether --enable-gzstream or --disable-gzstream was given.
5525 if test "${enable_gzstream+set}" = set; then
5526 enableval="$enable_gzstream"
5527
5528 if test "$enableval" = yes; then
5529 ac_cv_use_gzstream='wxUSE_GZSTREAM=yes'
5530 else
5531 ac_cv_use_gzstream='wxUSE_GZSTREAM=no'
5532 fi
5533
5534 else
5535
5536 LINE=`grep "wxUSE_GZSTREAM" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x ; then
5538 eval "DEFAULT_$LINE"
5539 else
5540 no_cache=1
5541 fi
5542
5543 ac_cv_use_gzstream='wxUSE_GZSTREAM='$DEFAULT_wxUSE_GZSTREAM
5544
5545 fi;
5546
5547 eval "$ac_cv_use_gzstream"
5548 if test "$no_cache" != 1; then
5549 echo $ac_cv_use_gzstream >> ${wx_arg_cache_file}.tmp
5550 fi
5551
5552 if test "$wxUSE_GZSTREAM" = yes; then
5553 echo "$as_me:$LINENO: result: yes" >&5
5554 echo "${ECHO_T}yes" >&6
5555 else
5556 echo "$as_me:$LINENO: result: no" >&5
5557 echo "${ECHO_T}no" >&6
5558 fi
5559
5560
5561
5562 enablestring=
5563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5564 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5565 no_cache=0
5566 # Check whether --enable-url or --disable-url was given.
5567 if test "${enable_url+set}" = set; then
5568 enableval="$enable_url"
5569
5570 if test "$enableval" = yes; then
5571 ac_cv_use_url='wxUSE_URL=yes'
5572 else
5573 ac_cv_use_url='wxUSE_URL=no'
5574 fi
5575
5576 else
5577
5578 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x ; then
5580 eval "DEFAULT_$LINE"
5581 else
5582 no_cache=1
5583 fi
5584
5585 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5586
5587 fi;
5588
5589 eval "$ac_cv_use_url"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5592 fi
5593
5594 if test "$wxUSE_URL" = yes; then
5595 echo "$as_me:$LINENO: result: yes" >&5
5596 echo "${ECHO_T}yes" >&6
5597 else
5598 echo "$as_me:$LINENO: result: no" >&5
5599 echo "${ECHO_T}no" >&6
5600 fi
5601
5602
5603 enablestring=
5604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5605 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5606 no_cache=0
5607 # Check whether --enable-protocol or --disable-protocol was given.
5608 if test "${enable_protocol+set}" = set; then
5609 enableval="$enable_protocol"
5610
5611 if test "$enableval" = yes; then
5612 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5613 else
5614 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5615 fi
5616
5617 else
5618
5619 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x ; then
5621 eval "DEFAULT_$LINE"
5622 else
5623 no_cache=1
5624 fi
5625
5626 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5627
5628 fi;
5629
5630 eval "$ac_cv_use_protocol"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5633 fi
5634
5635 if test "$wxUSE_PROTOCOL" = yes; then
5636 echo "$as_me:$LINENO: result: yes" >&5
5637 echo "${ECHO_T}yes" >&6
5638 else
5639 echo "$as_me:$LINENO: result: no" >&5
5640 echo "${ECHO_T}no" >&6
5641 fi
5642
5643
5644 enablestring=
5645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5646 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5647 no_cache=0
5648 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5649 if test "${enable_protocol_http+set}" = set; then
5650 enableval="$enable_protocol_http"
5651
5652 if test "$enableval" = yes; then
5653 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5654 else
5655 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5656 fi
5657
5658 else
5659
5660 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5661 if test "x$LINE" != x ; then
5662 eval "DEFAULT_$LINE"
5663 else
5664 no_cache=1
5665 fi
5666
5667 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5668
5669 fi;
5670
5671 eval "$ac_cv_use_protocol_http"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5674 fi
5675
5676 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5677 echo "$as_me:$LINENO: result: yes" >&5
5678 echo "${ECHO_T}yes" >&6
5679 else
5680 echo "$as_me:$LINENO: result: no" >&5
5681 echo "${ECHO_T}no" >&6
5682 fi
5683
5684
5685 enablestring=
5686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5687 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5688 no_cache=0
5689 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5690 if test "${enable_protocol_ftp+set}" = set; then
5691 enableval="$enable_protocol_ftp"
5692
5693 if test "$enableval" = yes; then
5694 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5695 else
5696 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5697 fi
5698
5699 else
5700
5701 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5702 if test "x$LINE" != x ; then
5703 eval "DEFAULT_$LINE"
5704 else
5705 no_cache=1
5706 fi
5707
5708 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5709
5710 fi;
5711
5712 eval "$ac_cv_use_protocol_ftp"
5713 if test "$no_cache" != 1; then
5714 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5718 echo "$as_me:$LINENO: result: yes" >&5
5719 echo "${ECHO_T}yes" >&6
5720 else
5721 echo "$as_me:$LINENO: result: no" >&5
5722 echo "${ECHO_T}no" >&6
5723 fi
5724
5725
5726 enablestring=
5727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5728 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5729 no_cache=0
5730 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5731 if test "${enable_protocol_file+set}" = set; then
5732 enableval="$enable_protocol_file"
5733
5734 if test "$enableval" = yes; then
5735 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5736 else
5737 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5738 fi
5739
5740 else
5741
5742 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x ; then
5744 eval "DEFAULT_$LINE"
5745 else
5746 no_cache=1
5747 fi
5748
5749 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5750
5751 fi;
5752
5753 eval "$ac_cv_use_protocol_file"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5756 fi
5757
5758 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5759 echo "$as_me:$LINENO: result: yes" >&5
5760 echo "${ECHO_T}yes" >&6
5761 else
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5764 fi
5765
5766
5767
5768
5769
5770 enablestring=
5771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5773 no_cache=0
5774 # Check whether --enable-threads or --disable-threads was given.
5775 if test "${enable_threads+set}" = set; then
5776 enableval="$enable_threads"
5777
5778 if test "$enableval" = yes; then
5779 ac_cv_use_threads='wxUSE_THREADS=yes'
5780 else
5781 ac_cv_use_threads='wxUSE_THREADS=no'
5782 fi
5783
5784 else
5785
5786 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x ; then
5788 eval "DEFAULT_$LINE"
5789 else
5790 no_cache=1
5791 fi
5792
5793 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5794
5795 fi;
5796
5797 eval "$ac_cv_use_threads"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_THREADS" = yes; then
5803 echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6
5805 else
5806 echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6
5808 fi
5809
5810
5811 if test "$wxUSE_GUI" = "yes"; then
5812
5813
5814
5815 enablestring=
5816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5817 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5818 no_cache=0
5819 # Check whether --enable-docview or --disable-docview was given.
5820 if test "${enable_docview+set}" = set; then
5821 enableval="$enable_docview"
5822
5823 if test "$enableval" = yes; then
5824 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5825 else
5826 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5827 fi
5828
5829 else
5830
5831 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5832 if test "x$LINE" != x ; then
5833 eval "DEFAULT_$LINE"
5834 else
5835 no_cache=1
5836 fi
5837
5838 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5839
5840 fi;
5841
5842 eval "$ac_cv_use_docview"
5843 if test "$no_cache" != 1; then
5844 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5845 fi
5846
5847 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5848 echo "$as_me:$LINENO: result: yes" >&5
5849 echo "${ECHO_T}yes" >&6
5850 else
5851 echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6
5853 fi
5854
5855
5856 enablestring=
5857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5858 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5859 no_cache=0
5860 # Check whether --enable-help or --disable-help was given.
5861 if test "${enable_help+set}" = set; then
5862 enableval="$enable_help"
5863
5864 if test "$enableval" = yes; then
5865 ac_cv_use_help='wxUSE_HELP=yes'
5866 else
5867 ac_cv_use_help='wxUSE_HELP=no'
5868 fi
5869
5870 else
5871
5872 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5873 if test "x$LINE" != x ; then
5874 eval "DEFAULT_$LINE"
5875 else
5876 no_cache=1
5877 fi
5878
5879 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5880
5881 fi;
5882
5883 eval "$ac_cv_use_help"
5884 if test "$no_cache" != 1; then
5885 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5886 fi
5887
5888 if test "$wxUSE_HELP" = yes; then
5889 echo "$as_me:$LINENO: result: yes" >&5
5890 echo "${ECHO_T}yes" >&6
5891 else
5892 echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6
5894 fi
5895
5896
5897 enablestring=
5898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5899 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5900 no_cache=0
5901 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5902 if test "${enable_mshtmlhelp+set}" = set; then
5903 enableval="$enable_mshtmlhelp"
5904
5905 if test "$enableval" = yes; then
5906 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5907 else
5908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5909 fi
5910
5911 else
5912
5913 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5914 if test "x$LINE" != x ; then
5915 eval "DEFAULT_$LINE"
5916 else
5917 no_cache=1
5918 fi
5919
5920 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5921
5922 fi;
5923
5924 eval "$ac_cv_use_mshtmlhelp"
5925 if test "$no_cache" != 1; then
5926 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5927 fi
5928
5929 if test "$wxUSE_MS_HTML_HELP" = yes; then
5930 echo "$as_me:$LINENO: result: yes" >&5
5931 echo "${ECHO_T}yes" >&6
5932 else
5933 echo "$as_me:$LINENO: result: no" >&5
5934 echo "${ECHO_T}no" >&6
5935 fi
5936
5937
5938 enablestring=
5939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5941 no_cache=0
5942 # Check whether --enable-html or --disable-html was given.
5943 if test "${enable_html+set}" = set; then
5944 enableval="$enable_html"
5945
5946 if test "$enableval" = yes; then
5947 ac_cv_use_html='wxUSE_HTML=yes'
5948 else
5949 ac_cv_use_html='wxUSE_HTML=no'
5950 fi
5951
5952 else
5953
5954 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5955 if test "x$LINE" != x ; then
5956 eval "DEFAULT_$LINE"
5957 else
5958 no_cache=1
5959 fi
5960
5961 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5962
5963 fi;
5964
5965 eval "$ac_cv_use_html"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5968 fi
5969
5970 if test "$wxUSE_HTML" = yes; then
5971 echo "$as_me:$LINENO: result: yes" >&5
5972 echo "${ECHO_T}yes" >&6
5973 else
5974 echo "$as_me:$LINENO: result: no" >&5
5975 echo "${ECHO_T}no" >&6
5976 fi
5977
5978
5979 enablestring=
5980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5981 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5982 no_cache=0
5983 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5984 if test "${enable_htmlhelp+set}" = set; then
5985 enableval="$enable_htmlhelp"
5986
5987 if test "$enableval" = yes; then
5988 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5989 else
5990 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5991 fi
5992
5993 else
5994
5995 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5996 if test "x$LINE" != x ; then
5997 eval "DEFAULT_$LINE"
5998 else
5999 no_cache=1
6000 fi
6001
6002 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6003
6004 fi;
6005
6006 eval "$ac_cv_use_htmlhelp"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6009 fi
6010
6011 if test "$wxUSE_WXHTML_HELP" = yes; then
6012 echo "$as_me:$LINENO: result: yes" >&5
6013 echo "${ECHO_T}yes" >&6
6014 else
6015 echo "$as_me:$LINENO: result: no" >&5
6016 echo "${ECHO_T}no" >&6
6017 fi
6018
6019
6020 enablestring=
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6023 no_cache=0
6024 # Check whether --enable-constraints or --disable-constraints was given.
6025 if test "${enable_constraints+set}" = set; then
6026 enableval="$enable_constraints"
6027
6028 if test "$enableval" = yes; then
6029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6030 else
6031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6032 fi
6033
6034 else
6035
6036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6039 else
6040 no_cache=1
6041 fi
6042
6043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6044
6045 fi;
6046
6047 eval "$ac_cv_use_constraints"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test "$wxUSE_CONSTRAINTS" = yes; then
6053 echo "$as_me:$LINENO: result: yes" >&5
6054 echo "${ECHO_T}yes" >&6
6055 else
6056 echo "$as_me:$LINENO: result: no" >&5
6057 echo "${ECHO_T}no" >&6
6058 fi
6059
6060
6061 enablestring=
6062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6063 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6064 no_cache=0
6065 # Check whether --enable-printarch or --disable-printarch was given.
6066 if test "${enable_printarch+set}" = set; then
6067 enableval="$enable_printarch"
6068
6069 if test "$enableval" = yes; then
6070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6071 else
6072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6073 fi
6074
6075 else
6076
6077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x ; then
6079 eval "DEFAULT_$LINE"
6080 else
6081 no_cache=1
6082 fi
6083
6084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6085
6086 fi;
6087
6088 eval "$ac_cv_use_printarch"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6091 fi
6092
6093 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6094 echo "$as_me:$LINENO: result: yes" >&5
6095 echo "${ECHO_T}yes" >&6
6096 else
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6099 fi
6100
6101
6102 enablestring=
6103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6104 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6105 no_cache=0
6106 # Check whether --enable-mdi or --disable-mdi was given.
6107 if test "${enable_mdi+set}" = set; then
6108 enableval="$enable_mdi"
6109
6110 if test "$enableval" = yes; then
6111 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6112 else
6113 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6114 fi
6115
6116 else
6117
6118 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6119 if test "x$LINE" != x ; then
6120 eval "DEFAULT_$LINE"
6121 else
6122 no_cache=1
6123 fi
6124
6125 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6126
6127 fi;
6128
6129 eval "$ac_cv_use_mdi"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6132 fi
6133
6134 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6135 echo "$as_me:$LINENO: result: yes" >&5
6136 echo "${ECHO_T}yes" >&6
6137 else
6138 echo "$as_me:$LINENO: result: no" >&5
6139 echo "${ECHO_T}no" >&6
6140 fi
6141
6142
6143 enablestring=
6144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6145 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6146 no_cache=0
6147 # Check whether --enable-loggui or --disable-loggui was given.
6148 if test "${enable_loggui+set}" = set; then
6149 enableval="$enable_loggui"
6150
6151 if test "$enableval" = yes; then
6152 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6153 else
6154 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6155 fi
6156
6157 else
6158
6159 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6160 if test "x$LINE" != x ; then
6161 eval "DEFAULT_$LINE"
6162 else
6163 no_cache=1
6164 fi
6165
6166 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6167
6168 fi;
6169
6170 eval "$ac_cv_use_loggui"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6173 fi
6174
6175 if test "$wxUSE_LOGGUI" = yes; then
6176 echo "$as_me:$LINENO: result: yes" >&5
6177 echo "${ECHO_T}yes" >&6
6178 else
6179 echo "$as_me:$LINENO: result: no" >&5
6180 echo "${ECHO_T}no" >&6
6181 fi
6182
6183
6184 enablestring=
6185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6186 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6187 no_cache=0
6188 # Check whether --enable-logwin or --disable-logwin was given.
6189 if test "${enable_logwin+set}" = set; then
6190 enableval="$enable_logwin"
6191
6192 if test "$enableval" = yes; then
6193 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6194 else
6195 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6196 fi
6197
6198 else
6199
6200 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x ; then
6202 eval "DEFAULT_$LINE"
6203 else
6204 no_cache=1
6205 fi
6206
6207 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6208
6209 fi;
6210
6211 eval "$ac_cv_use_logwin"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6214 fi
6215
6216 if test "$wxUSE_LOGWINDOW" = yes; then
6217 echo "$as_me:$LINENO: result: yes" >&5
6218 echo "${ECHO_T}yes" >&6
6219 else
6220 echo "$as_me:$LINENO: result: no" >&5
6221 echo "${ECHO_T}no" >&6
6222 fi
6223
6224
6225 enablestring=
6226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6227 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6228 no_cache=0
6229 # Check whether --enable-logdialog or --disable-logdialog was given.
6230 if test "${enable_logdialog+set}" = set; then
6231 enableval="$enable_logdialog"
6232
6233 if test "$enableval" = yes; then
6234 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6235 else
6236 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6237 fi
6238
6239 else
6240
6241 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x ; then
6243 eval "DEFAULT_$LINE"
6244 else
6245 no_cache=1
6246 fi
6247
6248 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6249
6250 fi;
6251
6252 eval "$ac_cv_use_logdialog"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6255 fi
6256
6257 if test "$wxUSE_LOGDIALOG" = yes; then
6258 echo "$as_me:$LINENO: result: yes" >&5
6259 echo "${ECHO_T}yes" >&6
6260 else
6261 echo "$as_me:$LINENO: result: no" >&5
6262 echo "${ECHO_T}no" >&6
6263 fi
6264
6265
6266
6267 enablestring=
6268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6269 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6270 no_cache=0
6271 # Check whether --enable-postscript or --disable-postscript was given.
6272 if test "${enable_postscript+set}" = set; then
6273 enableval="$enable_postscript"
6274
6275 if test "$enableval" = yes; then
6276 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6277 else
6278 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6279 fi
6280
6281 else
6282
6283 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x ; then
6285 eval "DEFAULT_$LINE"
6286 else
6287 no_cache=1
6288 fi
6289
6290 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6291
6292 fi;
6293
6294 eval "$ac_cv_use_postscript"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6297 fi
6298
6299 if test "$wxUSE_POSTSCRIPT" = yes; then
6300 echo "$as_me:$LINENO: result: yes" >&5
6301 echo "${ECHO_T}yes" >&6
6302 else
6303 echo "$as_me:$LINENO: result: no" >&5
6304 echo "${ECHO_T}no" >&6
6305 fi
6306
6307
6308
6309
6310
6311 enablestring=
6312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6313 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6314 no_cache=0
6315 # Check whether --enable-prologio or --disable-prologio was given.
6316 if test "${enable_prologio+set}" = set; then
6317 enableval="$enable_prologio"
6318
6319 if test "$enableval" = yes; then
6320 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6321 else
6322 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6323 fi
6324
6325 else
6326
6327 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x ; then
6329 eval "DEFAULT_$LINE"
6330 else
6331 no_cache=1
6332 fi
6333
6334 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6335
6336 fi;
6337
6338 eval "$ac_cv_use_prologio"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6341 fi
6342
6343 if test "$wxUSE_PROLOGIO" = yes; then
6344 echo "$as_me:$LINENO: result: yes" >&5
6345 echo "${ECHO_T}yes" >&6
6346 else
6347 echo "$as_me:$LINENO: result: no" >&5
6348 echo "${ECHO_T}no" >&6
6349 fi
6350
6351
6352 enablestring=
6353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6354 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6355 no_cache=0
6356 # Check whether --enable-resources or --disable-resources was given.
6357 if test "${enable_resources+set}" = set; then
6358 enableval="$enable_resources"
6359
6360 if test "$enableval" = yes; then
6361 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6362 else
6363 ac_cv_use_resources='wxUSE_RESOURCES=no'
6364 fi
6365
6366 else
6367
6368 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6369 if test "x$LINE" != x ; then
6370 eval "DEFAULT_$LINE"
6371 else
6372 no_cache=1
6373 fi
6374
6375 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6376
6377 fi;
6378
6379 eval "$ac_cv_use_resources"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6382 fi
6383
6384 if test "$wxUSE_RESOURCES" = yes; then
6385 echo "$as_me:$LINENO: result: yes" >&5
6386 echo "${ECHO_T}yes" >&6
6387 else
6388 echo "$as_me:$LINENO: result: no" >&5
6389 echo "${ECHO_T}no" >&6
6390 fi
6391
6392
6393
6394
6395 enablestring=
6396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6398 no_cache=0
6399 # Check whether --enable-clipboard or --disable-clipboard was given.
6400 if test "${enable_clipboard+set}" = set; then
6401 enableval="$enable_clipboard"
6402
6403 if test "$enableval" = yes; then
6404 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6405 else
6406 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6407 fi
6408
6409 else
6410
6411 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x ; then
6413 eval "DEFAULT_$LINE"
6414 else
6415 no_cache=1
6416 fi
6417
6418 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6419
6420 fi;
6421
6422 eval "$ac_cv_use_clipboard"
6423 if test "$no_cache" != 1; then
6424 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6425 fi
6426
6427 if test "$wxUSE_CLIPBOARD" = yes; then
6428 echo "$as_me:$LINENO: result: yes" >&5
6429 echo "${ECHO_T}yes" >&6
6430 else
6431 echo "$as_me:$LINENO: result: no" >&5
6432 echo "${ECHO_T}no" >&6
6433 fi
6434
6435
6436 enablestring=
6437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6438 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6439 no_cache=0
6440 # Check whether --enable-dnd or --disable-dnd was given.
6441 if test "${enable_dnd+set}" = set; then
6442 enableval="$enable_dnd"
6443
6444 if test "$enableval" = yes; then
6445 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6446 else
6447 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6448 fi
6449
6450 else
6451
6452 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6453 if test "x$LINE" != x ; then
6454 eval "DEFAULT_$LINE"
6455 else
6456 no_cache=1
6457 fi
6458
6459 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6460
6461 fi;
6462
6463 eval "$ac_cv_use_dnd"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6466 fi
6467
6468 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6469 echo "$as_me:$LINENO: result: yes" >&5
6470 echo "${ECHO_T}yes" >&6
6471 else
6472 echo "$as_me:$LINENO: result: no" >&5
6473 echo "${ECHO_T}no" >&6
6474 fi
6475
6476
6477 enablestring=
6478 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6479 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6480 no_cache=0
6481 # Check whether --enable-metafile or --disable-metafile was given.
6482 if test "${enable_metafile+set}" = set; then
6483 enableval="$enable_metafile"
6484
6485 if test "$enableval" = yes; then
6486 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6487 else
6488 ac_cv_use_metafile='wxUSE_METAFILE=no'
6489 fi
6490
6491 else
6492
6493 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6494 if test "x$LINE" != x ; then
6495 eval "DEFAULT_$LINE"
6496 else
6497 no_cache=1
6498 fi
6499
6500 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6501
6502 fi;
6503
6504 eval "$ac_cv_use_metafile"
6505 if test "$no_cache" != 1; then
6506 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6507 fi
6508
6509 if test "$wxUSE_METAFILE" = yes; then
6510 echo "$as_me:$LINENO: result: yes" >&5
6511 echo "${ECHO_T}yes" >&6
6512 else
6513 echo "$as_me:$LINENO: result: no" >&5
6514 echo "${ECHO_T}no" >&6
6515 fi
6516
6517
6518
6519
6520
6521 enablestring=
6522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6523 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6524 no_cache=0
6525 # Check whether --enable-controls or --disable-controls was given.
6526 if test "${enable_controls+set}" = set; then
6527 enableval="$enable_controls"
6528
6529 if test "$enableval" = yes; then
6530 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6531 else
6532 ac_cv_use_controls='wxUSE_CONTROLS=no'
6533 fi
6534
6535 else
6536
6537 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6538 if test "x$LINE" != x ; then
6539 eval "DEFAULT_$LINE"
6540 else
6541 no_cache=1
6542 fi
6543
6544 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6545
6546 fi;
6547
6548 eval "$ac_cv_use_controls"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6551 fi
6552
6553 if test "$wxUSE_CONTROLS" = yes; then
6554 echo "$as_me:$LINENO: result: yes" >&5
6555 echo "${ECHO_T}yes" >&6
6556 else
6557 echo "$as_me:$LINENO: result: no" >&5
6558 echo "${ECHO_T}no" >&6
6559 fi
6560
6561
6562 if test "$wxUSE_CONTROLS" = "yes"; then
6563 DEFAULT_wxUSE_ACCEL=yes
6564 DEFAULT_wxUSE_BMPBUTTON=yes
6565 DEFAULT_wxUSE_BUTTON=yes
6566 DEFAULT_wxUSE_CALCTRL=no
6567 DEFAULT_wxUSE_CARET=yes
6568 DEFAULT_wxUSE_COMBOBOX=yes
6569 DEFAULT_wxUSE_CHECKBOX=yes
6570 DEFAULT_wxUSE_CHECKLISTBOX=yes
6571 DEFAULT_wxUSE_CHOICE=yes
6572 DEFAULT_wxUSE_GAUGE=yes
6573 DEFAULT_wxUSE_GRID=yes
6574 DEFAULT_wxUSE_IMAGLIST=yes
6575 DEFAULT_wxUSE_LISTBOOK=yes
6576 DEFAULT_wxUSE_LISTBOX=yes
6577 DEFAULT_wxUSE_LISTCTRL=yes
6578 DEFAULT_wxUSE_NOTEBOOK=yes
6579 DEFAULT_wxUSE_RADIOBOX=yes
6580 DEFAULT_wxUSE_RADIOBTN=yes
6581 DEFAULT_wxUSE_SASH=yes
6582 DEFAULT_wxUSE_SCROLLBAR=yes
6583 DEFAULT_wxUSE_SLIDER=yes
6584 DEFAULT_wxUSE_SPINBTN=yes
6585 DEFAULT_wxUSE_SPINCTRL=yes
6586 DEFAULT_wxUSE_SPLITTER=yes
6587 DEFAULT_wxUSE_STATBMP=yes
6588 DEFAULT_wxUSE_STATBOX=yes
6589 DEFAULT_wxUSE_STATLINE=yes
6590 DEFAULT_wxUSE_STATUSBAR=yes
6591 DEFAULT_wxUSE_TAB_DIALOG=yes
6592 DEFAULT_wxUSE_TOGGLEBTN=yes
6593 DEFAULT_wxUSE_TOOLBAR=yes
6594 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6595 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6596 DEFAULT_wxUSE_TOOLTIPS=yes
6597 DEFAULT_wxUSE_TREECTRL=yes
6598 DEFAULT_wxUSE_POPUPWIN=yes
6599 DEFAULT_wxUSE_TIPWINDOW=yes
6600 elif test "$wxUSE_CONTROLS" = "no"; then
6601 DEFAULT_wxUSE_ACCEL=no
6602 DEFAULT_wxUSE_BMPBUTTON=no
6603 DEFAULT_wxUSE_BUTTON=no
6604 DEFAULT_wxUSE_CALCTRL=no
6605 DEFAULT_wxUSE_CARET=no
6606 DEFAULT_wxUSE_COMBOBOX=no
6607 DEFAULT_wxUSE_CHECKBOX=no
6608 DEFAULT_wxUSE_CHECKLISTBOX=no
6609 DEFAULT_wxUSE_CHOICE=no
6610 DEFAULT_wxUSE_GAUGE=no
6611 DEFAULT_wxUSE_GRID=no
6612 DEFAULT_wxUSE_IMAGLIST=no
6613 DEFAULT_wxUSE_LISTBOOK=no
6614 DEFAULT_wxUSE_LISTBOX=no
6615 DEFAULT_wxUSE_LISTCTRL=no
6616 DEFAULT_wxUSE_NOTEBOOK=no
6617 DEFAULT_wxUSE_RADIOBOX=no
6618 DEFAULT_wxUSE_RADIOBTN=no
6619 DEFAULT_wxUSE_SASH=no
6620 DEFAULT_wxUSE_SCROLLBAR=no
6621 DEFAULT_wxUSE_SLIDER=no
6622 DEFAULT_wxUSE_SPINBTN=no
6623 DEFAULT_wxUSE_SPINCTRL=no
6624 DEFAULT_wxUSE_SPLITTER=no
6625 DEFAULT_wxUSE_STATBMP=no
6626 DEFAULT_wxUSE_STATBOX=no
6627 DEFAULT_wxUSE_STATLINE=no
6628 DEFAULT_wxUSE_STATUSBAR=no
6629 DEFAULT_wxUSE_TAB_DIALOG=no
6630 DEFAULT_wxUSE_TOGGLEBTN=no
6631 DEFAULT_wxUSE_TOOLBAR=no
6632 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6633 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6634 DEFAULT_wxUSE_TOOLTIPS=no
6635 DEFAULT_wxUSE_TREECTRL=no
6636 DEFAULT_wxUSE_POPUPWIN=no
6637 DEFAULT_wxUSE_TIPWINDOW=no
6638 fi
6639
6640 ## FIXME: This is a blatant hack
6641 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6642 wxUSE_PRINTING_ARCHITECTURE=no
6643 wxUSE_DRAG_AND_DROP=no
6644 # Generic notebook requires tab dialog
6645 DEFAULT_wxUSE_TABDIALOG=yes
6646 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6647 DEFAULT_wxUSE_SCROLLBAR=no
6648 DEFAULT_wxUSE_TOOLTIPS=no
6649 DEFAULT_wxUSE_DRAGIMAGE=no
6650 fi
6651
6652
6653 enablestring=
6654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6655 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6656 no_cache=0
6657 # Check whether --enable-accel or --disable-accel was given.
6658 if test "${enable_accel+set}" = set; then
6659 enableval="$enable_accel"
6660
6661 if test "$enableval" = yes; then
6662 ac_cv_use_accel='wxUSE_ACCEL=yes'
6663 else
6664 ac_cv_use_accel='wxUSE_ACCEL=no'
6665 fi
6666
6667 else
6668
6669 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x ; then
6671 eval "DEFAULT_$LINE"
6672 else
6673 no_cache=1
6674 fi
6675
6676 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6677
6678 fi;
6679
6680 eval "$ac_cv_use_accel"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6683 fi
6684
6685 if test "$wxUSE_ACCEL" = yes; then
6686 echo "$as_me:$LINENO: result: yes" >&5
6687 echo "${ECHO_T}yes" >&6
6688 else
6689 echo "$as_me:$LINENO: result: no" >&5
6690 echo "${ECHO_T}no" >&6
6691 fi
6692
6693
6694 enablestring=
6695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6696 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6697 no_cache=0
6698 # Check whether --enable-button or --disable-button was given.
6699 if test "${enable_button+set}" = set; then
6700 enableval="$enable_button"
6701
6702 if test "$enableval" = yes; then
6703 ac_cv_use_button='wxUSE_BUTTON=yes'
6704 else
6705 ac_cv_use_button='wxUSE_BUTTON=no'
6706 fi
6707
6708 else
6709
6710 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x ; then
6712 eval "DEFAULT_$LINE"
6713 else
6714 no_cache=1
6715 fi
6716
6717 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6718
6719 fi;
6720
6721 eval "$ac_cv_use_button"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6724 fi
6725
6726 if test "$wxUSE_BUTTON" = yes; then
6727 echo "$as_me:$LINENO: result: yes" >&5
6728 echo "${ECHO_T}yes" >&6
6729 else
6730 echo "$as_me:$LINENO: result: no" >&5
6731 echo "${ECHO_T}no" >&6
6732 fi
6733
6734
6735 enablestring=
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6740 if test "${enable_bmpbutton+set}" = set; then
6741 enableval="$enable_bmpbutton"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6745 else
6746 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6759
6760 fi;
6761
6762 eval "$ac_cv_use_bmpbutton"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test "$wxUSE_BMPBUTTON" = yes; then
6768 echo "$as_me:$LINENO: result: yes" >&5
6769 echo "${ECHO_T}yes" >&6
6770 else
6771 echo "$as_me:$LINENO: result: no" >&5
6772 echo "${ECHO_T}no" >&6
6773 fi
6774
6775
6776 enablestring=
6777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6779 no_cache=0
6780 # Check whether --enable-calendar or --disable-calendar was given.
6781 if test "${enable_calendar+set}" = set; then
6782 enableval="$enable_calendar"
6783
6784 if test "$enableval" = yes; then
6785 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6786 else
6787 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6788 fi
6789
6790 else
6791
6792 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x ; then
6794 eval "DEFAULT_$LINE"
6795 else
6796 no_cache=1
6797 fi
6798
6799 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6800
6801 fi;
6802
6803 eval "$ac_cv_use_calendar"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test "$wxUSE_CALCTRL" = yes; then
6809 echo "$as_me:$LINENO: result: yes" >&5
6810 echo "${ECHO_T}yes" >&6
6811 else
6812 echo "$as_me:$LINENO: result: no" >&5
6813 echo "${ECHO_T}no" >&6
6814 fi
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-caret or --disable-caret was given.
6822 if test "${enable_caret+set}" = set; then
6823 enableval="$enable_caret"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_caret='wxUSE_CARET=yes'
6827 else
6828 ac_cv_use_caret='wxUSE_CARET=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6841
6842 fi;
6843
6844 eval "$ac_cv_use_caret"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_CARET" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-checkbox or --disable-checkbox was given.
6863 if test "${enable_checkbox+set}" = set; then
6864 enableval="$enable_checkbox"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6868 else
6869 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6882
6883 fi;
6884
6885 eval "$ac_cv_use_checkbox"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_CHECKBOX" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-checklst or --disable-checklst was given.
6904 if test "${enable_checklst+set}" = set; then
6905 enableval="$enable_checklst"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6909 else
6910 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6923
6924 fi;
6925
6926 eval "$ac_cv_use_checklst"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_CHECKLST" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940 enablestring=
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6943 no_cache=0
6944 # Check whether --enable-choice or --disable-choice was given.
6945 if test "${enable_choice+set}" = set; then
6946 enableval="$enable_choice"
6947
6948 if test "$enableval" = yes; then
6949 ac_cv_use_choice='wxUSE_CHOICE=yes'
6950 else
6951 ac_cv_use_choice='wxUSE_CHOICE=no'
6952 fi
6953
6954 else
6955
6956 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6964
6965 fi;
6966
6967 eval "$ac_cv_use_choice"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6970 fi
6971
6972 if test "$wxUSE_CHOICE" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6975 else
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6978 fi
6979
6980
6981 enablestring=
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6984 no_cache=0
6985 # Check whether --enable-combobox or --disable-combobox was given.
6986 if test "${enable_combobox+set}" = set; then
6987 enableval="$enable_combobox"
6988
6989 if test "$enableval" = yes; then
6990 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6991 else
6992 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6993 fi
6994
6995 else
6996
6997 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7000 else
7001 no_cache=1
7002 fi
7003
7004 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7005
7006 fi;
7007
7008 eval "$ac_cv_use_combobox"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test "$wxUSE_COMBOBOX" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7016 else
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7019 fi
7020
7021
7022 enablestring=
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7025 no_cache=0
7026 # Check whether --enable-display or --disable-display was given.
7027 if test "${enable_display+set}" = set; then
7028 enableval="$enable_display"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_display='wxUSE_DISPLAY=yes'
7032 else
7033 ac_cv_use_display='wxUSE_DISPLAY=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7046
7047 fi;
7048
7049 eval "$ac_cv_use_display"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test "$wxUSE_DISPLAY" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7057 else
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7060 fi
7061
7062
7063 enablestring=
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7066 no_cache=0
7067 # Check whether --enable-gauge or --disable-gauge was given.
7068 if test "${enable_gauge+set}" = set; then
7069 enableval="$enable_gauge"
7070
7071 if test "$enableval" = yes; then
7072 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7073 else
7074 ac_cv_use_gauge='wxUSE_GAUGE=no'
7075 fi
7076
7077 else
7078
7079 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 else
7083 no_cache=1
7084 fi
7085
7086 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7087
7088 fi;
7089
7090 eval "$ac_cv_use_gauge"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_GAUGE" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7098 else
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7101 fi
7102
7103
7104 enablestring=
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7107 no_cache=0
7108 # Check whether --enable-grid or --disable-grid was given.
7109 if test "${enable_grid+set}" = set; then
7110 enableval="$enable_grid"
7111
7112 if test "$enableval" = yes; then
7113 ac_cv_use_grid='wxUSE_GRID=yes'
7114 else
7115 ac_cv_use_grid='wxUSE_GRID=no'
7116 fi
7117
7118 else
7119
7120 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7128
7129 fi;
7130
7131 eval "$ac_cv_use_grid"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7134 fi
7135
7136 if test "$wxUSE_GRID" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7139 else
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7142 fi
7143
7144
7145 enablestring=
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7148 no_cache=0
7149 # Check whether --enable-imaglist or --disable-imaglist was given.
7150 if test "${enable_imaglist+set}" = set; then
7151 enableval="$enable_imaglist"
7152
7153 if test "$enableval" = yes; then
7154 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7155 else
7156 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7157 fi
7158
7159 else
7160
7161 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7169
7170 fi;
7171
7172 eval "$ac_cv_use_imaglist"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7175 fi
7176
7177 if test "$wxUSE_IMAGLIST" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7180 else
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7183 fi
7184
7185
7186 enablestring=
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-listbook or --disable-listbook was given.
7191 if test "${enable_listbook+set}" = set; then
7192 enableval="$enable_listbook"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7196 else
7197 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7198 fi
7199
7200 else
7201
7202 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7210
7211 fi;
7212
7213 eval "$ac_cv_use_listbook"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test "$wxUSE_LISTBOOK" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7221 else
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7224 fi
7225
7226
7227 enablestring=
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7230 no_cache=0
7231 # Check whether --enable-listbox or --disable-listbox was given.
7232 if test "${enable_listbox+set}" = set; then
7233 enableval="$enable_listbox"
7234
7235 if test "$enableval" = yes; then
7236 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7237 else
7238 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7239 fi
7240
7241 else
7242
7243 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 else
7247 no_cache=1
7248 fi
7249
7250 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7251
7252 fi;
7253
7254 eval "$ac_cv_use_listbox"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test "$wxUSE_LISTBOX" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7262 else
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7265 fi
7266
7267
7268 enablestring=
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7271 no_cache=0
7272 # Check whether --enable-listctrl or --disable-listctrl was given.
7273 if test "${enable_listctrl+set}" = set; then
7274 enableval="$enable_listctrl"
7275
7276 if test "$enableval" = yes; then
7277 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7278 else
7279 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7280 fi
7281
7282 else
7283
7284 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7287 else
7288 no_cache=1
7289 fi
7290
7291 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7292
7293 fi;
7294
7295 eval "$ac_cv_use_listctrl"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7298 fi
7299
7300 if test "$wxUSE_LISTCTRL" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7303 else
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7306 fi
7307
7308
7309 enablestring=
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7312 no_cache=0
7313 # Check whether --enable-notebook or --disable-notebook was given.
7314 if test "${enable_notebook+set}" = set; then
7315 enableval="$enable_notebook"
7316
7317 if test "$enableval" = yes; then
7318 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7319 else
7320 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7321 fi
7322
7323 else
7324
7325 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 else
7329 no_cache=1
7330 fi
7331
7332 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7333
7334 fi;
7335
7336 eval "$ac_cv_use_notebook"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test "$wxUSE_NOTEBOOK" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7344 else
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7347 fi
7348
7349
7350 enablestring=
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7353 no_cache=0
7354 # Check whether --enable-radiobox or --disable-radiobox was given.
7355 if test "${enable_radiobox+set}" = set; then
7356 enableval="$enable_radiobox"
7357
7358 if test "$enableval" = yes; then
7359 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7360 else
7361 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7362 fi
7363
7364 else
7365
7366 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7369 else
7370 no_cache=1
7371 fi
7372
7373 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7374
7375 fi;
7376
7377 eval "$ac_cv_use_radiobox"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_RADIOBOX" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7385 else
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7388 fi
7389
7390
7391 enablestring=
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7394 no_cache=0
7395 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7396 if test "${enable_radiobtn+set}" = set; then
7397 enableval="$enable_radiobtn"
7398
7399 if test "$enableval" = yes; then
7400 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7401 else
7402 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7403 fi
7404
7405 else
7406
7407 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7410 else
7411 no_cache=1
7412 fi
7413
7414 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7415
7416 fi;
7417
7418 eval "$ac_cv_use_radiobtn"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7421 fi
7422
7423 if test "$wxUSE_RADIOBTN" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7426 else
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7429 fi
7430
7431
7432 enablestring=
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7435 no_cache=0
7436 # Check whether --enable-sash or --disable-sash was given.
7437 if test "${enable_sash+set}" = set; then
7438 enableval="$enable_sash"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_sash='wxUSE_SASH=yes'
7442 else
7443 ac_cv_use_sash='wxUSE_SASH=no'
7444 fi
7445
7446 else
7447
7448 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7456
7457 fi;
7458
7459 eval "$ac_cv_use_sash"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_SASH" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7467 else
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7470 fi
7471
7472
7473 enablestring=
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7476 no_cache=0
7477 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7478 if test "${enable_scrollbar+set}" = set; then
7479 enableval="$enable_scrollbar"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7483 else
7484 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7485 fi
7486
7487 else
7488
7489 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7497
7498 fi;
7499
7500 eval "$ac_cv_use_scrollbar"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7503 fi
7504
7505 if test "$wxUSE_SCROLLBAR" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7508 else
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7511 fi
7512
7513
7514 enablestring=
7515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7516 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7517 no_cache=0
7518 # Check whether --enable-slider or --disable-slider was given.
7519 if test "${enable_slider+set}" = set; then
7520 enableval="$enable_slider"
7521
7522 if test "$enableval" = yes; then
7523 ac_cv_use_slider='wxUSE_SLIDER=yes'
7524 else
7525 ac_cv_use_slider='wxUSE_SLIDER=no'
7526 fi
7527
7528 else
7529
7530 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7531 if test "x$LINE" != x ; then
7532 eval "DEFAULT_$LINE"
7533 else
7534 no_cache=1
7535 fi
7536
7537 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7538
7539 fi;
7540
7541 eval "$ac_cv_use_slider"
7542 if test "$no_cache" != 1; then
7543 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7544 fi
7545
7546 if test "$wxUSE_SLIDER" = yes; then
7547 echo "$as_me:$LINENO: result: yes" >&5
7548 echo "${ECHO_T}yes" >&6
7549 else
7550 echo "$as_me:$LINENO: result: no" >&5
7551 echo "${ECHO_T}no" >&6
7552 fi
7553
7554
7555 enablestring=
7556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7557 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7558 no_cache=0
7559 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7560 if test "${enable_spinbtn+set}" = set; then
7561 enableval="$enable_spinbtn"
7562
7563 if test "$enableval" = yes; then
7564 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7565 else
7566 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7567 fi
7568
7569 else
7570
7571 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x ; then
7573 eval "DEFAULT_$LINE"
7574 else
7575 no_cache=1
7576 fi
7577
7578 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7579
7580 fi;
7581
7582 eval "$ac_cv_use_spinbtn"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7585 fi
7586
7587 if test "$wxUSE_SPINBTN" = yes; then
7588 echo "$as_me:$LINENO: result: yes" >&5
7589 echo "${ECHO_T}yes" >&6
7590 else
7591 echo "$as_me:$LINENO: result: no" >&5
7592 echo "${ECHO_T}no" >&6
7593 fi
7594
7595
7596 enablestring=
7597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7598 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7599 no_cache=0
7600 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7601 if test "${enable_spinctrl+set}" = set; then
7602 enableval="$enable_spinctrl"
7603
7604 if test "$enableval" = yes; then
7605 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7606 else
7607 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7608 fi
7609
7610 else
7611
7612 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7613 if test "x$LINE" != x ; then
7614 eval "DEFAULT_$LINE"
7615 else
7616 no_cache=1
7617 fi
7618
7619 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7620
7621 fi;
7622
7623 eval "$ac_cv_use_spinctrl"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7626 fi
7627
7628 if test "$wxUSE_SPINCTRL" = yes; then
7629 echo "$as_me:$LINENO: result: yes" >&5
7630 echo "${ECHO_T}yes" >&6
7631 else
7632 echo "$as_me:$LINENO: result: no" >&5
7633 echo "${ECHO_T}no" >&6
7634 fi
7635
7636
7637 enablestring=
7638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7639 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7640 no_cache=0
7641 # Check whether --enable-splitter or --disable-splitter was given.
7642 if test "${enable_splitter+set}" = set; then
7643 enableval="$enable_splitter"
7644
7645 if test "$enableval" = yes; then
7646 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7647 else
7648 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7649 fi
7650
7651 else
7652
7653 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x ; then
7655 eval "DEFAULT_$LINE"
7656 else
7657 no_cache=1
7658 fi
7659
7660 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7661
7662 fi;
7663
7664 eval "$ac_cv_use_splitter"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7667 fi
7668
7669 if test "$wxUSE_SPLITTER" = yes; then
7670 echo "$as_me:$LINENO: result: yes" >&5
7671 echo "${ECHO_T}yes" >&6
7672 else
7673 echo "$as_me:$LINENO: result: no" >&5
7674 echo "${ECHO_T}no" >&6
7675 fi
7676
7677
7678 enablestring=
7679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7680 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7681 no_cache=0
7682 # Check whether --enable-statbmp or --disable-statbmp was given.
7683 if test "${enable_statbmp+set}" = set; then
7684 enableval="$enable_statbmp"
7685
7686 if test "$enableval" = yes; then
7687 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7688 else
7689 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7690 fi
7691
7692 else
7693
7694 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7695 if test "x$LINE" != x ; then
7696 eval "DEFAULT_$LINE"
7697 else
7698 no_cache=1
7699 fi
7700
7701 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7702
7703 fi;
7704
7705 eval "$ac_cv_use_statbmp"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7708 fi
7709
7710 if test "$wxUSE_STATBMP" = yes; then
7711 echo "$as_me:$LINENO: result: yes" >&5
7712 echo "${ECHO_T}yes" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7716 fi
7717
7718
7719 enablestring=
7720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7721 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7722 no_cache=0
7723 # Check whether --enable-statbox or --disable-statbox was given.
7724 if test "${enable_statbox+set}" = set; then
7725 enableval="$enable_statbox"
7726
7727 if test "$enableval" = yes; then
7728 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7729 else
7730 ac_cv_use_statbox='wxUSE_STATBOX=no'
7731 fi
7732
7733 else
7734
7735 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x ; then
7737 eval "DEFAULT_$LINE"
7738 else
7739 no_cache=1
7740 fi
7741
7742 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7743
7744 fi;
7745
7746 eval "$ac_cv_use_statbox"
7747 if test "$no_cache" != 1; then
7748 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7749 fi
7750
7751 if test "$wxUSE_STATBOX" = yes; then
7752 echo "$as_me:$LINENO: result: yes" >&5
7753 echo "${ECHO_T}yes" >&6
7754 else
7755 echo "$as_me:$LINENO: result: no" >&5
7756 echo "${ECHO_T}no" >&6
7757 fi
7758
7759
7760 enablestring=
7761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7762 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7763 no_cache=0
7764 # Check whether --enable-statline or --disable-statline was given.
7765 if test "${enable_statline+set}" = set; then
7766 enableval="$enable_statline"
7767
7768 if test "$enableval" = yes; then
7769 ac_cv_use_statline='wxUSE_STATLINE=yes'
7770 else
7771 ac_cv_use_statline='wxUSE_STATLINE=no'
7772 fi
7773
7774 else
7775
7776 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x ; then
7778 eval "DEFAULT_$LINE"
7779 else
7780 no_cache=1
7781 fi
7782
7783 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7784
7785 fi;
7786
7787 eval "$ac_cv_use_statline"
7788 if test "$no_cache" != 1; then
7789 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7790 fi
7791
7792 if test "$wxUSE_STATLINE" = yes; then
7793 echo "$as_me:$LINENO: result: yes" >&5
7794 echo "${ECHO_T}yes" >&6
7795 else
7796 echo "$as_me:$LINENO: result: no" >&5
7797 echo "${ECHO_T}no" >&6
7798 fi
7799
7800
7801 enablestring=
7802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7803 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7804 no_cache=0
7805 # Check whether --enable-stattext or --disable-stattext was given.
7806 if test "${enable_stattext+set}" = set; then
7807 enableval="$enable_stattext"
7808
7809 if test "$enableval" = yes; then
7810 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7811 else
7812 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7813 fi
7814
7815 else
7816
7817 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7818 if test "x$LINE" != x ; then
7819 eval "DEFAULT_$LINE"
7820 else
7821 no_cache=1
7822 fi
7823
7824 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7825
7826 fi;
7827
7828 eval "$ac_cv_use_stattext"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7831 fi
7832
7833 if test "$wxUSE_STATTEXT" = yes; then
7834 echo "$as_me:$LINENO: result: yes" >&5
7835 echo "${ECHO_T}yes" >&6
7836 else
7837 echo "$as_me:$LINENO: result: no" >&5
7838 echo "${ECHO_T}no" >&6
7839 fi
7840
7841
7842 enablestring=
7843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7844 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7845 no_cache=0
7846 # Check whether --enable-statusbar or --disable-statusbar was given.
7847 if test "${enable_statusbar+set}" = set; then
7848 enableval="$enable_statusbar"
7849
7850 if test "$enableval" = yes; then
7851 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7852 else
7853 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7854 fi
7855
7856 else
7857
7858 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x ; then
7860 eval "DEFAULT_$LINE"
7861 else
7862 no_cache=1
7863 fi
7864
7865 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7866
7867 fi;
7868
7869 eval "$ac_cv_use_statusbar"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7872 fi
7873
7874 if test "$wxUSE_STATUSBAR" = yes; then
7875 echo "$as_me:$LINENO: result: yes" >&5
7876 echo "${ECHO_T}yes" >&6
7877 else
7878 echo "$as_me:$LINENO: result: no" >&5
7879 echo "${ECHO_T}no" >&6
7880 fi
7881
7882
7883 enablestring=
7884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7885 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7886 no_cache=0
7887 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7888 if test "${enable_tabdialog+set}" = set; then
7889 enableval="$enable_tabdialog"
7890
7891 if test "$enableval" = yes; then
7892 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7893 else
7894 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7895 fi
7896
7897 else
7898
7899 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x ; then
7901 eval "DEFAULT_$LINE"
7902 else
7903 no_cache=1
7904 fi
7905
7906 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7907
7908 fi;
7909
7910 eval "$ac_cv_use_tabdialog"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7913 fi
7914
7915 if test "$wxUSE_TABDIALOG" = yes; then
7916 echo "$as_me:$LINENO: result: yes" >&5
7917 echo "${ECHO_T}yes" >&6
7918 else
7919 echo "$as_me:$LINENO: result: no" >&5
7920 echo "${ECHO_T}no" >&6
7921 fi
7922
7923
7924 enablestring=
7925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7926 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7927 no_cache=0
7928 # Check whether --enable-textctrl or --disable-textctrl was given.
7929 if test "${enable_textctrl+set}" = set; then
7930 enableval="$enable_textctrl"
7931
7932 if test "$enableval" = yes; then
7933 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7934 else
7935 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7936 fi
7937
7938 else
7939
7940 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x ; then
7942 eval "DEFAULT_$LINE"
7943 else
7944 no_cache=1
7945 fi
7946
7947 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7948
7949 fi;
7950
7951 eval "$ac_cv_use_textctrl"
7952 if test "$no_cache" != 1; then
7953 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7954 fi
7955
7956 if test "$wxUSE_TEXTCTRL" = yes; then
7957 echo "$as_me:$LINENO: result: yes" >&5
7958 echo "${ECHO_T}yes" >&6
7959 else
7960 echo "$as_me:$LINENO: result: no" >&5
7961 echo "${ECHO_T}no" >&6
7962 fi
7963
7964
7965 enablestring=
7966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7967 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7968 no_cache=0
7969 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7970 if test "${enable_togglebtn+set}" = set; then
7971 enableval="$enable_togglebtn"
7972
7973 if test "$enableval" = yes; then
7974 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7975 else
7976 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7977 fi
7978
7979 else
7980
7981 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7982 if test "x$LINE" != x ; then
7983 eval "DEFAULT_$LINE"
7984 else
7985 no_cache=1
7986 fi
7987
7988 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7989
7990 fi;
7991
7992 eval "$ac_cv_use_togglebtn"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7995 fi
7996
7997 if test "$wxUSE_TOGGLEBTN" = yes; then
7998 echo "$as_me:$LINENO: result: yes" >&5
7999 echo "${ECHO_T}yes" >&6
8000 else
8001 echo "$as_me:$LINENO: result: no" >&5
8002 echo "${ECHO_T}no" >&6
8003 fi
8004
8005
8006 enablestring=
8007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8008 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8009 no_cache=0
8010 # Check whether --enable-toolbar or --disable-toolbar was given.
8011 if test "${enable_toolbar+set}" = set; then
8012 enableval="$enable_toolbar"
8013
8014 if test "$enableval" = yes; then
8015 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8016 else
8017 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8018 fi
8019
8020 else
8021
8022 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8023 if test "x$LINE" != x ; then
8024 eval "DEFAULT_$LINE"
8025 else
8026 no_cache=1
8027 fi
8028
8029 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8030
8031 fi;
8032
8033 eval "$ac_cv_use_toolbar"
8034 if test "$no_cache" != 1; then
8035 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8036 fi
8037
8038 if test "$wxUSE_TOOLBAR" = yes; then
8039 echo "$as_me:$LINENO: result: yes" >&5
8040 echo "${ECHO_T}yes" >&6
8041 else
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8044 fi
8045
8046
8047 enablestring=
8048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8050 no_cache=0
8051 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8052 if test "${enable_tbarnative+set}" = set; then
8053 enableval="$enable_tbarnative"
8054
8055 if test "$enableval" = yes; then
8056 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8057 else
8058 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8059 fi
8060
8061 else
8062
8063 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8064 if test "x$LINE" != x ; then
8065 eval "DEFAULT_$LINE"
8066 else
8067 no_cache=1
8068 fi
8069
8070 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8071
8072 fi;
8073
8074 eval "$ac_cv_use_tbarnative"
8075 if test "$no_cache" != 1; then
8076 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8077 fi
8078
8079 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8080 echo "$as_me:$LINENO: result: yes" >&5
8081 echo "${ECHO_T}yes" >&6
8082 else
8083 echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6
8085 fi
8086
8087
8088 enablestring=
8089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8090 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8091 no_cache=0
8092 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8093 if test "${enable_tbarsmpl+set}" = set; then
8094 enableval="$enable_tbarsmpl"
8095
8096 if test "$enableval" = yes; then
8097 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8098 else
8099 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8100 fi
8101
8102 else
8103
8104 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8105 if test "x$LINE" != x ; then
8106 eval "DEFAULT_$LINE"
8107 else
8108 no_cache=1
8109 fi
8110
8111 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8112
8113 fi;
8114
8115 eval "$ac_cv_use_tbarsmpl"
8116 if test "$no_cache" != 1; then
8117 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8118 fi
8119
8120 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8121 echo "$as_me:$LINENO: result: yes" >&5
8122 echo "${ECHO_T}yes" >&6
8123 else
8124 echo "$as_me:$LINENO: result: no" >&5
8125 echo "${ECHO_T}no" >&6
8126 fi
8127
8128
8129 enablestring=
8130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8131 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8132 no_cache=0
8133 # Check whether --enable-treectrl or --disable-treectrl was given.
8134 if test "${enable_treectrl+set}" = set; then
8135 enableval="$enable_treectrl"
8136
8137 if test "$enableval" = yes; then
8138 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8139 else
8140 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8141 fi
8142
8143 else
8144
8145 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8146 if test "x$LINE" != x ; then
8147 eval "DEFAULT_$LINE"
8148 else
8149 no_cache=1
8150 fi
8151
8152 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8153
8154 fi;
8155
8156 eval "$ac_cv_use_treectrl"
8157 if test "$no_cache" != 1; then
8158 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8159 fi
8160
8161 if test "$wxUSE_TREECTRL" = yes; then
8162 echo "$as_me:$LINENO: result: yes" >&5
8163 echo "${ECHO_T}yes" >&6
8164 else
8165 echo "$as_me:$LINENO: result: no" >&5
8166 echo "${ECHO_T}no" >&6
8167 fi
8168
8169
8170 enablestring=
8171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8172 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8173 no_cache=0
8174 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8175 if test "${enable_tipwindow+set}" = set; then
8176 enableval="$enable_tipwindow"
8177
8178 if test "$enableval" = yes; then
8179 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8180 else
8181 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8182 fi
8183
8184 else
8185
8186 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8187 if test "x$LINE" != x ; then
8188 eval "DEFAULT_$LINE"
8189 else
8190 no_cache=1
8191 fi
8192
8193 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8194
8195 fi;
8196
8197 eval "$ac_cv_use_tipwindow"
8198 if test "$no_cache" != 1; then
8199 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8200 fi
8201
8202 if test "$wxUSE_TIPWINDOW" = yes; then
8203 echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6
8205 else
8206 echo "$as_me:$LINENO: result: no" >&5
8207 echo "${ECHO_T}no" >&6
8208 fi
8209
8210
8211 enablestring=
8212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8213 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8214 no_cache=0
8215 # Check whether --enable-popupwin or --disable-popupwin was given.
8216 if test "${enable_popupwin+set}" = set; then
8217 enableval="$enable_popupwin"
8218
8219 if test "$enableval" = yes; then
8220 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8221 else
8222 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8223 fi
8224
8225 else
8226
8227 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x ; then
8229 eval "DEFAULT_$LINE"
8230 else
8231 no_cache=1
8232 fi
8233
8234 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8235
8236 fi;
8237
8238 eval "$ac_cv_use_popupwin"
8239 if test "$no_cache" != 1; then
8240 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8241 fi
8242
8243 if test "$wxUSE_POPUPWIN" = yes; then
8244 echo "$as_me:$LINENO: result: yes" >&5
8245 echo "${ECHO_T}yes" >&6
8246 else
8247 echo "$as_me:$LINENO: result: no" >&5
8248 echo "${ECHO_T}no" >&6
8249 fi
8250
8251
8252
8253
8254 enablestring=
8255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8256 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8257 no_cache=0
8258 # Check whether --enable-commondlg or --disable-commondlg was given.
8259 if test "${enable_commondlg+set}" = set; then
8260 enableval="$enable_commondlg"
8261
8262 if test "$enableval" = yes; then
8263 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8264 else
8265 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8266 fi
8267
8268 else
8269
8270 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x ; then
8272 eval "DEFAULT_$LINE"
8273 else
8274 no_cache=1
8275 fi
8276
8277 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8278
8279 fi;
8280
8281 eval "$ac_cv_use_commondlg"
8282 if test "$no_cache" != 1; then
8283 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8284 fi
8285
8286 if test "$wxUSE_COMMONDLGS" = yes; then
8287 echo "$as_me:$LINENO: result: yes" >&5
8288 echo "${ECHO_T}yes" >&6
8289 else
8290 echo "$as_me:$LINENO: result: no" >&5
8291 echo "${ECHO_T}no" >&6
8292 fi
8293
8294
8295 enablestring=
8296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8297 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8298 no_cache=0
8299 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8300 if test "${enable_choicedlg+set}" = set; then
8301 enableval="$enable_choicedlg"
8302
8303 if test "$enableval" = yes; then
8304 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8305 else
8306 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8307 fi
8308
8309 else
8310
8311 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8312 if test "x$LINE" != x ; then
8313 eval "DEFAULT_$LINE"
8314 else
8315 no_cache=1
8316 fi
8317
8318 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8319
8320 fi;
8321
8322 eval "$ac_cv_use_choicedlg"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8325 fi
8326
8327 if test "$wxUSE_CHOICEDLG" = yes; then
8328 echo "$as_me:$LINENO: result: yes" >&5
8329 echo "${ECHO_T}yes" >&6
8330 else
8331 echo "$as_me:$LINENO: result: no" >&5
8332 echo "${ECHO_T}no" >&6
8333 fi
8334
8335
8336 enablestring=
8337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8339 no_cache=0
8340 # Check whether --enable-coldlg or --disable-coldlg was given.
8341 if test "${enable_coldlg+set}" = set; then
8342 enableval="$enable_coldlg"
8343
8344 if test "$enableval" = yes; then
8345 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8346 else
8347 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8348 fi
8349
8350 else
8351
8352 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8360
8361 fi;
8362
8363 eval "$ac_cv_use_coldlg"
8364 if test "$no_cache" != 1; then
8365 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8366 fi
8367
8368 if test "$wxUSE_COLOURDLG" = yes; then
8369 echo "$as_me:$LINENO: result: yes" >&5
8370 echo "${ECHO_T}yes" >&6
8371 else
8372 echo "$as_me:$LINENO: result: no" >&5
8373 echo "${ECHO_T}no" >&6
8374 fi
8375
8376
8377 enablestring=
8378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8379 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8380 no_cache=0
8381 # Check whether --enable-filedlg or --disable-filedlg was given.
8382 if test "${enable_filedlg+set}" = set; then
8383 enableval="$enable_filedlg"
8384
8385 if test "$enableval" = yes; then
8386 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8387 else
8388 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8389 fi
8390
8391 else
8392
8393 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8394 if test "x$LINE" != x ; then
8395 eval "DEFAULT_$LINE"
8396 else
8397 no_cache=1
8398 fi
8399
8400 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8401
8402 fi;
8403
8404 eval "$ac_cv_use_filedlg"
8405 if test "$no_cache" != 1; then
8406 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8407 fi
8408
8409 if test "$wxUSE_FILEDLG" = yes; then
8410 echo "$as_me:$LINENO: result: yes" >&5
8411 echo "${ECHO_T}yes" >&6
8412 else
8413 echo "$as_me:$LINENO: result: no" >&5
8414 echo "${ECHO_T}no" >&6
8415 fi
8416
8417
8418 enablestring=
8419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8420 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8421 no_cache=0
8422 # Check whether --enable-finddlg or --disable-finddlg was given.
8423 if test "${enable_finddlg+set}" = set; then
8424 enableval="$enable_finddlg"
8425
8426 if test "$enableval" = yes; then
8427 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8428 else
8429 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8430 fi
8431
8432 else
8433
8434 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8435 if test "x$LINE" != x ; then
8436 eval "DEFAULT_$LINE"
8437 else
8438 no_cache=1
8439 fi
8440
8441 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8442
8443 fi;
8444
8445 eval "$ac_cv_use_finddlg"
8446 if test "$no_cache" != 1; then
8447 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8448 fi
8449
8450 if test "$wxUSE_FINDREPLDLG" = yes; then
8451 echo "$as_me:$LINENO: result: yes" >&5
8452 echo "${ECHO_T}yes" >&6
8453 else
8454 echo "$as_me:$LINENO: result: no" >&5
8455 echo "${ECHO_T}no" >&6
8456 fi
8457
8458
8459 enablestring=
8460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8461 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8462 no_cache=0
8463 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8464 if test "${enable_fontdlg+set}" = set; then
8465 enableval="$enable_fontdlg"
8466
8467 if test "$enableval" = yes; then
8468 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8469 else
8470 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8471 fi
8472
8473 else
8474
8475 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x ; then
8477 eval "DEFAULT_$LINE"
8478 else
8479 no_cache=1
8480 fi
8481
8482 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8483
8484 fi;
8485
8486 eval "$ac_cv_use_fontdlg"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8489 fi
8490
8491 if test "$wxUSE_FONTDLG" = yes; then
8492 echo "$as_me:$LINENO: result: yes" >&5
8493 echo "${ECHO_T}yes" >&6
8494 else
8495 echo "$as_me:$LINENO: result: no" >&5
8496 echo "${ECHO_T}no" >&6
8497 fi
8498
8499
8500 enablestring=
8501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8503 no_cache=0
8504 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8505 if test "${enable_dirdlg+set}" = set; then
8506 enableval="$enable_dirdlg"
8507
8508 if test "$enableval" = yes; then
8509 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8510 else
8511 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8512 fi
8513
8514 else
8515
8516 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8517 if test "x$LINE" != x ; then
8518 eval "DEFAULT_$LINE"
8519 else
8520 no_cache=1
8521 fi
8522
8523 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8524
8525 fi;
8526
8527 eval "$ac_cv_use_dirdlg"
8528 if test "$no_cache" != 1; then
8529 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8530 fi
8531
8532 if test "$wxUSE_DIRDLG" = yes; then
8533 echo "$as_me:$LINENO: result: yes" >&5
8534 echo "${ECHO_T}yes" >&6
8535 else
8536 echo "$as_me:$LINENO: result: no" >&5
8537 echo "${ECHO_T}no" >&6
8538 fi
8539
8540
8541 enablestring=
8542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8544 no_cache=0
8545 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8546 if test "${enable_msgdlg+set}" = set; then
8547 enableval="$enable_msgdlg"
8548
8549 if test "$enableval" = yes; then
8550 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8551 else
8552 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8553 fi
8554
8555 else
8556
8557 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8558 if test "x$LINE" != x ; then
8559 eval "DEFAULT_$LINE"
8560 else
8561 no_cache=1
8562 fi
8563
8564 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8565
8566 fi;
8567
8568 eval "$ac_cv_use_msgdlg"
8569 if test "$no_cache" != 1; then
8570 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8571 fi
8572
8573 if test "$wxUSE_MSGDLG" = yes; then
8574 echo "$as_me:$LINENO: result: yes" >&5
8575 echo "${ECHO_T}yes" >&6
8576 else
8577 echo "$as_me:$LINENO: result: no" >&5
8578 echo "${ECHO_T}no" >&6
8579 fi
8580
8581
8582 enablestring=
8583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8584 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8585 no_cache=0
8586 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8587 if test "${enable_numberdlg+set}" = set; then
8588 enableval="$enable_numberdlg"
8589
8590 if test "$enableval" = yes; then
8591 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8592 else
8593 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8594 fi
8595
8596 else
8597
8598 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8599 if test "x$LINE" != x ; then
8600 eval "DEFAULT_$LINE"
8601 else
8602 no_cache=1
8603 fi
8604
8605 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8606
8607 fi;
8608
8609 eval "$ac_cv_use_numberdlg"
8610 if test "$no_cache" != 1; then
8611 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8612 fi
8613
8614 if test "$wxUSE_NUMBERDLG" = yes; then
8615 echo "$as_me:$LINENO: result: yes" >&5
8616 echo "${ECHO_T}yes" >&6
8617 else
8618 echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6
8620 fi
8621
8622
8623 enablestring=
8624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8625 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8626 no_cache=0
8627 # Check whether --enable-splash or --disable-splash was given.
8628 if test "${enable_splash+set}" = set; then
8629 enableval="$enable_splash"
8630
8631 if test "$enableval" = yes; then
8632 ac_cv_use_splash='wxUSE_SPLASH=yes'
8633 else
8634 ac_cv_use_splash='wxUSE_SPLASH=no'
8635 fi
8636
8637 else
8638
8639 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8640 if test "x$LINE" != x ; then
8641 eval "DEFAULT_$LINE"
8642 else
8643 no_cache=1
8644 fi
8645
8646 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8647
8648 fi;
8649
8650 eval "$ac_cv_use_splash"
8651 if test "$no_cache" != 1; then
8652 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8653 fi
8654
8655 if test "$wxUSE_SPLASH" = yes; then
8656 echo "$as_me:$LINENO: result: yes" >&5
8657 echo "${ECHO_T}yes" >&6
8658 else
8659 echo "$as_me:$LINENO: result: no" >&5
8660 echo "${ECHO_T}no" >&6
8661 fi
8662
8663
8664 enablestring=
8665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8666 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8667 no_cache=0
8668 # Check whether --enable-textdlg or --disable-textdlg was given.
8669 if test "${enable_textdlg+set}" = set; then
8670 enableval="$enable_textdlg"
8671
8672 if test "$enableval" = yes; then
8673 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8674 else
8675 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8676 fi
8677
8678 else
8679
8680 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8681 if test "x$LINE" != x ; then
8682 eval "DEFAULT_$LINE"
8683 else
8684 no_cache=1
8685 fi
8686
8687 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8688
8689 fi;
8690
8691 eval "$ac_cv_use_textdlg"
8692 if test "$no_cache" != 1; then
8693 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8694 fi
8695
8696 if test "$wxUSE_TEXTDLG" = yes; then
8697 echo "$as_me:$LINENO: result: yes" >&5
8698 echo "${ECHO_T}yes" >&6
8699 else
8700 echo "$as_me:$LINENO: result: no" >&5
8701 echo "${ECHO_T}no" >&6
8702 fi
8703
8704
8705 enablestring=
8706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8707 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8708 no_cache=0
8709 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8710 if test "${enable_tipdlg+set}" = set; then
8711 enableval="$enable_tipdlg"
8712
8713 if test "$enableval" = yes; then
8714 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8715 else
8716 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8717 fi
8718
8719 else
8720
8721 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8722 if test "x$LINE" != x ; then
8723 eval "DEFAULT_$LINE"
8724 else
8725 no_cache=1
8726 fi
8727
8728 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8729
8730 fi;
8731
8732 eval "$ac_cv_use_tipdlg"
8733 if test "$no_cache" != 1; then
8734 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8735 fi
8736
8737 if test "$wxUSE_STARTUP_TIPS" = yes; then
8738 echo "$as_me:$LINENO: result: yes" >&5
8739 echo "${ECHO_T}yes" >&6
8740 else
8741 echo "$as_me:$LINENO: result: no" >&5
8742 echo "${ECHO_T}no" >&6
8743 fi
8744
8745
8746 enablestring=
8747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8748 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8749 no_cache=0
8750 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8751 if test "${enable_progressdlg+set}" = set; then
8752 enableval="$enable_progressdlg"
8753
8754 if test "$enableval" = yes; then
8755 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8756 else
8757 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8758 fi
8759
8760 else
8761
8762 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8763 if test "x$LINE" != x ; then
8764 eval "DEFAULT_$LINE"
8765 else
8766 no_cache=1
8767 fi
8768
8769 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8770
8771 fi;
8772
8773 eval "$ac_cv_use_progressdlg"
8774 if test "$no_cache" != 1; then
8775 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8776 fi
8777
8778 if test "$wxUSE_PROGRESSDLG" = yes; then
8779 echo "$as_me:$LINENO: result: yes" >&5
8780 echo "${ECHO_T}yes" >&6
8781 else
8782 echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6
8784 fi
8785
8786
8787 enablestring=
8788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8789 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8790 no_cache=0
8791 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8792 if test "${enable_wizarddlg+set}" = set; then
8793 enableval="$enable_wizarddlg"
8794
8795 if test "$enableval" = yes; then
8796 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8797 else
8798 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8799 fi
8800
8801 else
8802
8803 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8804 if test "x$LINE" != x ; then
8805 eval "DEFAULT_$LINE"
8806 else
8807 no_cache=1
8808 fi
8809
8810 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8811
8812 fi;
8813
8814 eval "$ac_cv_use_wizarddlg"
8815 if test "$no_cache" != 1; then
8816 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8817 fi
8818
8819 if test "$wxUSE_WIZARDDLG" = yes; then
8820 echo "$as_me:$LINENO: result: yes" >&5
8821 echo "${ECHO_T}yes" >&6
8822 else
8823 echo "$as_me:$LINENO: result: no" >&5
8824 echo "${ECHO_T}no" >&6
8825 fi
8826
8827
8828
8829
8830 enablestring=
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8833 no_cache=0
8834 # Check whether --enable-menus or --disable-menus was given.
8835 if test "${enable_menus+set}" = set; then
8836 enableval="$enable_menus"
8837
8838 if test "$enableval" = yes; then
8839 ac_cv_use_menus='wxUSE_MENUS=yes'
8840 else
8841 ac_cv_use_menus='wxUSE_MENUS=no'
8842 fi
8843
8844 else
8845
8846 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 else
8850 no_cache=1
8851 fi
8852
8853 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8854
8855 fi;
8856
8857 eval "$ac_cv_use_menus"
8858 if test "$no_cache" != 1; then
8859 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8860 fi
8861
8862 if test "$wxUSE_MENUS" = yes; then
8863 echo "$as_me:$LINENO: result: yes" >&5
8864 echo "${ECHO_T}yes" >&6
8865 else
8866 echo "$as_me:$LINENO: result: no" >&5
8867 echo "${ECHO_T}no" >&6
8868 fi
8869
8870
8871 enablestring=
8872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8873 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8874 no_cache=0
8875 # Check whether --enable-miniframe or --disable-miniframe was given.
8876 if test "${enable_miniframe+set}" = set; then
8877 enableval="$enable_miniframe"
8878
8879 if test "$enableval" = yes; then
8880 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8881 else
8882 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8883 fi
8884
8885 else
8886
8887 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 else
8891 no_cache=1
8892 fi
8893
8894 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8895
8896 fi;
8897
8898 eval "$ac_cv_use_miniframe"
8899 if test "$no_cache" != 1; then
8900 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8901 fi
8902
8903 if test "$wxUSE_MINIFRAME" = yes; then
8904 echo "$as_me:$LINENO: result: yes" >&5
8905 echo "${ECHO_T}yes" >&6
8906 else
8907 echo "$as_me:$LINENO: result: no" >&5
8908 echo "${ECHO_T}no" >&6
8909 fi
8910
8911
8912 enablestring=
8913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8914 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8915 no_cache=0
8916 # Check whether --enable-tooltips or --disable-tooltips was given.
8917 if test "${enable_tooltips+set}" = set; then
8918 enableval="$enable_tooltips"
8919
8920 if test "$enableval" = yes; then
8921 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8922 else
8923 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8924 fi
8925
8926 else
8927
8928 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8931 else
8932 no_cache=1
8933 fi
8934
8935 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8936
8937 fi;
8938
8939 eval "$ac_cv_use_tooltips"
8940 if test "$no_cache" != 1; then
8941 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8942 fi
8943
8944 if test "$wxUSE_TOOLTIPS" = yes; then
8945 echo "$as_me:$LINENO: result: yes" >&5
8946 echo "${ECHO_T}yes" >&6
8947 else
8948 echo "$as_me:$LINENO: result: no" >&5
8949 echo "${ECHO_T}no" >&6
8950 fi
8951
8952
8953 enablestring=
8954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8955 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8956 no_cache=0
8957 # Check whether --enable-splines or --disable-splines was given.
8958 if test "${enable_splines+set}" = set; then
8959 enableval="$enable_splines"
8960
8961 if test "$enableval" = yes; then
8962 ac_cv_use_splines='wxUSE_SPLINES=yes'
8963 else
8964 ac_cv_use_splines='wxUSE_SPLINES=no'
8965 fi
8966
8967 else
8968
8969 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8972 else
8973 no_cache=1
8974 fi
8975
8976 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8977
8978 fi;
8979
8980 eval "$ac_cv_use_splines"
8981 if test "$no_cache" != 1; then
8982 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8983 fi
8984
8985 if test "$wxUSE_SPLINES" = yes; then
8986 echo "$as_me:$LINENO: result: yes" >&5
8987 echo "${ECHO_T}yes" >&6
8988 else
8989 echo "$as_me:$LINENO: result: no" >&5
8990 echo "${ECHO_T}no" >&6
8991 fi
8992
8993
8994 enablestring=
8995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8996 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8997 no_cache=0
8998 # Check whether --enable-validators or --disable-validators was given.
8999 if test "${enable_validators+set}" = set; then
9000 enableval="$enable_validators"
9001
9002 if test "$enableval" = yes; then
9003 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9004 else
9005 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9006 fi
9007
9008 else
9009
9010 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9013 else
9014 no_cache=1
9015 fi
9016
9017 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9018
9019 fi;
9020
9021 eval "$ac_cv_use_validators"
9022 if test "$no_cache" != 1; then
9023 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9024 fi
9025
9026 if test "$wxUSE_VALIDATORS" = yes; then
9027 echo "$as_me:$LINENO: result: yes" >&5
9028 echo "${ECHO_T}yes" >&6
9029 else
9030 echo "$as_me:$LINENO: result: no" >&5
9031 echo "${ECHO_T}no" >&6
9032 fi
9033
9034
9035 enablestring=
9036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9037 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9038 no_cache=0
9039 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9040 if test "${enable_busyinfo+set}" = set; then
9041 enableval="$enable_busyinfo"
9042
9043 if test "$enableval" = yes; then
9044 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9045 else
9046 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9047 fi
9048
9049 else
9050
9051 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9054 else
9055 no_cache=1
9056 fi
9057
9058 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9059
9060 fi;
9061
9062 eval "$ac_cv_use_busyinfo"
9063 if test "$no_cache" != 1; then
9064 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9065 fi
9066
9067 if test "$wxUSE_BUSYINFO" = yes; then
9068 echo "$as_me:$LINENO: result: yes" >&5
9069 echo "${ECHO_T}yes" >&6
9070 else
9071 echo "$as_me:$LINENO: result: no" >&5
9072 echo "${ECHO_T}no" >&6
9073 fi
9074
9075
9076 enablestring=
9077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9079 no_cache=0
9080 # Check whether --enable-joystick or --disable-joystick was given.
9081 if test "${enable_joystick+set}" = set; then
9082 enableval="$enable_joystick"
9083
9084 if test "$enableval" = yes; then
9085 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9086 else
9087 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9088 fi
9089
9090 else
9091
9092 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9100
9101 fi;
9102
9103 eval "$ac_cv_use_joystick"
9104 if test "$no_cache" != 1; then
9105 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9106 fi
9107
9108 if test "$wxUSE_JOYSTICK" = yes; then
9109 echo "$as_me:$LINENO: result: yes" >&5
9110 echo "${ECHO_T}yes" >&6
9111 else
9112 echo "$as_me:$LINENO: result: no" >&5
9113 echo "${ECHO_T}no" >&6
9114 fi
9115
9116
9117 enablestring=
9118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9120 no_cache=0
9121 # Check whether --enable-metafile or --disable-metafile was given.
9122 if test "${enable_metafile+set}" = set; then
9123 enableval="$enable_metafile"
9124
9125 if test "$enableval" = yes; then
9126 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9127 else
9128 ac_cv_use_metafile='wxUSE_METAFILE=no'
9129 fi
9130
9131 else
9132
9133 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9141
9142 fi;
9143
9144 eval "$ac_cv_use_metafile"
9145 if test "$no_cache" != 1; then
9146 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9147 fi
9148
9149 if test "$wxUSE_METAFILE" = yes; then
9150 echo "$as_me:$LINENO: result: yes" >&5
9151 echo "${ECHO_T}yes" >&6
9152 else
9153 echo "$as_me:$LINENO: result: no" >&5
9154 echo "${ECHO_T}no" >&6
9155 fi
9156
9157
9158 enablestring=
9159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9160 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9161 no_cache=0
9162 # Check whether --enable-dragimage or --disable-dragimage was given.
9163 if test "${enable_dragimage+set}" = set; then
9164 enableval="$enable_dragimage"
9165
9166 if test "$enableval" = yes; then
9167 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9168 else
9169 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9170 fi
9171
9172 else
9173
9174 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9177 else
9178 no_cache=1
9179 fi
9180
9181 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9182
9183 fi;
9184
9185 eval "$ac_cv_use_dragimage"
9186 if test "$no_cache" != 1; then
9187 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9188 fi
9189
9190 if test "$wxUSE_DRAGIMAGE" = yes; then
9191 echo "$as_me:$LINENO: result: yes" >&5
9192 echo "${ECHO_T}yes" >&6
9193 else
9194 echo "$as_me:$LINENO: result: no" >&5
9195 echo "${ECHO_T}no" >&6
9196 fi
9197
9198
9199 enablestring=
9200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9201 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9202 no_cache=0
9203 # Check whether --enable-accessibility or --disable-accessibility was given.
9204 if test "${enable_accessibility+set}" = set; then
9205 enableval="$enable_accessibility"
9206
9207 if test "$enableval" = yes; then
9208 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9209 else
9210 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9211 fi
9212
9213 else
9214
9215 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9223
9224 fi;
9225
9226 eval "$ac_cv_use_accessibility"
9227 if test "$no_cache" != 1; then
9228 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9229 fi
9230
9231 if test "$wxUSE_ACCESSIBILITY" = yes; then
9232 echo "$as_me:$LINENO: result: yes" >&5
9233 echo "${ECHO_T}yes" >&6
9234 else
9235 echo "$as_me:$LINENO: result: no" >&5
9236 echo "${ECHO_T}no" >&6
9237 fi
9238
9239
9240
9241
9242 enablestring=
9243 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9245 no_cache=0
9246 # Check whether --enable-palette or --disable-palette was given.
9247 if test "${enable_palette+set}" = set; then
9248 enableval="$enable_palette"
9249
9250 if test "$enableval" = yes; then
9251 ac_cv_use_palette='wxUSE_PALETTE=yes'
9252 else
9253 ac_cv_use_palette='wxUSE_PALETTE=no'
9254 fi
9255
9256 else
9257
9258 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9259 if test "x$LINE" != x ; then
9260 eval "DEFAULT_$LINE"
9261 else
9262 no_cache=1
9263 fi
9264
9265 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9266
9267 fi;
9268
9269 eval "$ac_cv_use_palette"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_PALETTE" = yes; then
9275 echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6
9277 else
9278 echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6
9280 fi
9281
9282
9283 enablestring=
9284 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9286 no_cache=0
9287 # Check whether --enable-image or --disable-image was given.
9288 if test "${enable_image+set}" = set; then
9289 enableval="$enable_image"
9290
9291 if test "$enableval" = yes; then
9292 ac_cv_use_image='wxUSE_IMAGE=yes'
9293 else
9294 ac_cv_use_image='wxUSE_IMAGE=no'
9295 fi
9296
9297 else
9298
9299 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9300 if test "x$LINE" != x ; then
9301 eval "DEFAULT_$LINE"
9302 else
9303 no_cache=1
9304 fi
9305
9306 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9307
9308 fi;
9309
9310 eval "$ac_cv_use_image"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_IMAGE" = yes; then
9316 echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6
9318 else
9319 echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6
9321 fi
9322
9323
9324 enablestring=
9325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9327 no_cache=0
9328 # Check whether --enable-gif or --disable-gif was given.
9329 if test "${enable_gif+set}" = set; then
9330 enableval="$enable_gif"
9331
9332 if test "$enableval" = yes; then
9333 ac_cv_use_gif='wxUSE_GIF=yes'
9334 else
9335 ac_cv_use_gif='wxUSE_GIF=no'
9336 fi
9337
9338 else
9339
9340 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9341 if test "x$LINE" != x ; then
9342 eval "DEFAULT_$LINE"
9343 else
9344 no_cache=1
9345 fi
9346
9347 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9348
9349 fi;
9350
9351 eval "$ac_cv_use_gif"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_GIF" = yes; then
9357 echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6
9359 else
9360 echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6
9362 fi
9363
9364
9365 enablestring=
9366 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9368 no_cache=0
9369 # Check whether --enable-pcx or --disable-pcx was given.
9370 if test "${enable_pcx+set}" = set; then
9371 enableval="$enable_pcx"
9372
9373 if test "$enableval" = yes; then
9374 ac_cv_use_pcx='wxUSE_PCX=yes'
9375 else
9376 ac_cv_use_pcx='wxUSE_PCX=no'
9377 fi
9378
9379 else
9380
9381 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9382 if test "x$LINE" != x ; then
9383 eval "DEFAULT_$LINE"
9384 else
9385 no_cache=1
9386 fi
9387
9388 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9389
9390 fi;
9391
9392 eval "$ac_cv_use_pcx"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_PCX" = yes; then
9398 echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6
9400 else
9401 echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6
9403 fi
9404
9405
9406 enablestring=
9407 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9409 no_cache=0
9410 # Check whether --enable-iff or --disable-iff was given.
9411 if test "${enable_iff+set}" = set; then
9412 enableval="$enable_iff"
9413
9414 if test "$enableval" = yes; then
9415 ac_cv_use_iff='wxUSE_IFF=yes'
9416 else
9417 ac_cv_use_iff='wxUSE_IFF=no'
9418 fi
9419
9420 else
9421
9422 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9423 if test "x$LINE" != x ; then
9424 eval "DEFAULT_$LINE"
9425 else
9426 no_cache=1
9427 fi
9428
9429 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9430
9431 fi;
9432
9433 eval "$ac_cv_use_iff"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_IFF" = yes; then
9439 echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6
9441 else
9442 echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6
9444 fi
9445
9446
9447 enablestring=
9448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9450 no_cache=0
9451 # Check whether --enable-pnm or --disable-pnm was given.
9452 if test "${enable_pnm+set}" = set; then
9453 enableval="$enable_pnm"
9454
9455 if test "$enableval" = yes; then
9456 ac_cv_use_pnm='wxUSE_PNM=yes'
9457 else
9458 ac_cv_use_pnm='wxUSE_PNM=no'
9459 fi
9460
9461 else
9462
9463 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9464 if test "x$LINE" != x ; then
9465 eval "DEFAULT_$LINE"
9466 else
9467 no_cache=1
9468 fi
9469
9470 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9471
9472 fi;
9473
9474 eval "$ac_cv_use_pnm"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_PNM" = yes; then
9480 echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6
9482 else
9483 echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6
9485 fi
9486
9487
9488 enablestring=
9489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9491 no_cache=0
9492 # Check whether --enable-xpm or --disable-xpm was given.
9493 if test "${enable_xpm+set}" = set; then
9494 enableval="$enable_xpm"
9495
9496 if test "$enableval" = yes; then
9497 ac_cv_use_xpm='wxUSE_XPM=yes'
9498 else
9499 ac_cv_use_xpm='wxUSE_XPM=no'
9500 fi
9501
9502 else
9503
9504 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9505 if test "x$LINE" != x ; then
9506 eval "DEFAULT_$LINE"
9507 else
9508 no_cache=1
9509 fi
9510
9511 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9512
9513 fi;
9514
9515 eval "$ac_cv_use_xpm"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_XPM" = yes; then
9521 echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6
9523 else
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9526 fi
9527
9528
9529 enablestring=
9530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9532 no_cache=0
9533 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9534 if test "${enable_ico_cur+set}" = set; then
9535 enableval="$enable_ico_cur"
9536
9537 if test "$enableval" = yes; then
9538 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9539 else
9540 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9541 fi
9542
9543 else
9544
9545 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9546 if test "x$LINE" != x ; then
9547 eval "DEFAULT_$LINE"
9548 else
9549 no_cache=1
9550 fi
9551
9552 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9553
9554 fi;
9555
9556 eval "$ac_cv_use_ico_cur"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_ICO_CUR" = yes; then
9562 echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6
9564 else
9565 echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6
9567 fi
9568
9569
9570 fi
9571
9572
9573
9574 enablestring=
9575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9577 no_cache=0
9578 # Check whether --enable-official_build or --disable-official_build was given.
9579 if test "${enable_official_build+set}" = set; then
9580 enableval="$enable_official_build"
9581
9582 if test "$enableval" = yes; then
9583 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9584 else
9585 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9586 fi
9587
9588 else
9589
9590 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9591 if test "x$LINE" != x ; then
9592 eval "DEFAULT_$LINE"
9593 else
9594 no_cache=1
9595 fi
9596
9597 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9598
9599 fi;
9600
9601 eval "$ac_cv_use_official_build"
9602 if test "$no_cache" != 1; then
9603 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9604 fi
9605
9606 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9607 echo "$as_me:$LINENO: result: yes" >&5
9608 echo "${ECHO_T}yes" >&6
9609 else
9610 echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6
9612 fi
9613
9614 # Check whether --enable-vendor or --disable-vendor was given.
9615 if test "${enable_vendor+set}" = set; then
9616 enableval="$enable_vendor"
9617 VENDOR="$enableval"
9618 fi;
9619 if test "x$VENDOR" = "x"; then
9620 VENDOR="custom"
9621 fi
9622
9623 case "${host}" in
9624 *-pc-os2_emx | *-pc-os2-emx )
9625 PATH_IFS=';'
9626 ;;
9627 *)
9628 PATH_IFS=':'
9629 ;;
9630 esac
9631
9632
9633
9634 echo "saving argument cache $wx_arg_cache_file"
9635 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9636
9637
9638
9639 echo "$as_me:$LINENO: checking for toolkit" >&5
9640 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9641
9642 # In Wine, we need to default to MSW, not GTK or MOTIF
9643 if test "$wxUSE_WINE" = "yes"; then
9644 DEFAULT_DEFAULT_wxUSE_GTK=0
9645 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9646 DEFAULT_DEFAULT_wxUSE_MSW=1
9647 fi
9648
9649 if test "$wxUSE_GUI" = "yes"; then
9650
9651 if test "$USE_BEOS" = 1; then
9652 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9653 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9654 { (exit 1); exit 1; }; }
9655 fi
9656
9657 if test "$TOOLKIT_GIVEN" = 1; then
9658 for toolkit in `echo $ALL_TOOLKITS`; do
9659 var=wxUSE_$toolkit
9660 eval "value=\$${var}"
9661 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9662 done
9663 else
9664 for toolkit in `echo $ALL_TOOLKITS`; do
9665 if test "$has_toolkit_in_cache" != 1; then
9666 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9667 else
9668 var=DEFAULT_wxUSE_$toolkit
9669 fi
9670 eval "wxUSE_$toolkit=\$${var}"
9671 done
9672 fi
9673
9674 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9675 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9676 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9677
9678 case "${host}" in
9679 *-pc-os2_emx | *-pc-os2-emx )
9680 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9681 esac
9682
9683 case "$NUM_TOOLKITS" in
9684 1)
9685 ;;
9686 0)
9687 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9688 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9689 { (exit 1); exit 1; }; }
9690 ;;
9691 *)
9692 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9693 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9694 { (exit 1); exit 1; }; }
9695 esac
9696
9697 for toolkit in `echo $ALL_TOOLKITS`; do
9698 var=wxUSE_$toolkit
9699 eval "value=\$${var}"
9700 if test "x$value" != x; then
9701 cache_var=CACHE_$toolkit
9702 eval "cache=\$${cache_var}"
9703 if test "$cache" = 1; then
9704 echo "$var=$value" >> ${wx_arg_cache_file}
9705 fi
9706 if test "$value" = 1; then
9707 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9708 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9709 echo "${ECHO_T}$toolkit_echo" >&6
9710 fi
9711 fi
9712 done
9713 else
9714 if test "x$host_alias" != "x"; then
9715 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9716 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9717 else
9718 echo "$as_me:$LINENO: result: base only" >&5
9719 echo "${ECHO_T}base only" >&6
9720 fi
9721 fi
9722
9723 wants_win32=0
9724 doesnt_want_win32=0
9725 case "${host}" in
9726 *-*-cygwin*)
9727 if test "$wxUSE_MSW" = 1 ; then
9728 wants_win32=1
9729 else
9730 doesnt_want_win32=1
9731 fi
9732 ;;
9733 *-*-mingw*)
9734 wants_win32=1
9735 ;;
9736 esac
9737
9738 if test "$wxUSE_WINE" = "yes"; then
9739 wants_win32=1
9740 CC=winegcc
9741 CXX=wineg++
9742 RESCOMP=wrc
9743 fi
9744
9745 if test "$wants_win32" = 1 ; then
9746 USE_UNIX=0
9747 USE_WIN32=1
9748 cat >>confdefs.h <<\_ACEOF
9749 #define __WIN32__ 1
9750 _ACEOF
9751
9752 cat >>confdefs.h <<\_ACEOF
9753 #define __WIN95__ 1
9754 _ACEOF
9755
9756 cat >>confdefs.h <<\_ACEOF
9757 #define __WINDOWS__ 1
9758 _ACEOF
9759
9760 cat >>confdefs.h <<\_ACEOF
9761 #define __GNUWIN32__ 1
9762 _ACEOF
9763
9764 cat >>confdefs.h <<\_ACEOF
9765 #define STRICT 1
9766 _ACEOF
9767
9768 cat >>confdefs.h <<\_ACEOF
9769 #define WINVER 0x0400
9770 _ACEOF
9771
9772 fi
9773 if test "$doesnt_want_win32" = 1 ; then
9774 USE_UNIX=1
9775 USE_WIN32=0
9776 fi
9777
9778 if test "$USE_UNIX" = 1 ; then
9779 wxUSE_UNIX=yes
9780 cat >>confdefs.h <<\_ACEOF
9781 #define __UNIX__ 1
9782 _ACEOF
9783
9784 fi
9785
9786
9787 cat >confcache <<\_ACEOF
9788 # This file is a shell script that caches the results of configure
9789 # tests run on this system so they can be shared between configure
9790 # scripts and configure runs, see configure's option --config-cache.
9791 # It is not useful on other systems. If it contains results you don't
9792 # want to keep, you may remove or edit it.
9793 #
9794 # config.status only pays attention to the cache file if you give it
9795 # the --recheck option to rerun configure.
9796 #
9797 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9798 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9799 # following values.
9800
9801 _ACEOF
9802
9803 # The following way of writing the cache mishandles newlines in values,
9804 # but we know of no workaround that is simple, portable, and efficient.
9805 # So, don't put newlines in cache variables' values.
9806 # Ultrix sh set writes to stderr and can't be redirected directly,
9807 # and sets the high bit in the cache file unless we assign to the vars.
9808 {
9809 (set) 2>&1 |
9810 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9811 *ac_space=\ *)
9812 # `set' does not quote correctly, so add quotes (double-quote
9813 # substitution turns \\\\ into \\, and sed turns \\ into \).
9814 sed -n \
9815 "s/'/'\\\\''/g;
9816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9817 ;;
9818 *)
9819 # `set' quotes correctly as required by POSIX, so do not add quotes.
9820 sed -n \
9821 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9822 ;;
9823 esac;
9824 } |
9825 sed '
9826 t clear
9827 : clear
9828 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9829 t end
9830 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9831 : end' >>confcache
9832 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9833 if test -w $cache_file; then
9834 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9835 cat confcache >$cache_file
9836 else
9837 echo "not updating unwritable cache $cache_file"
9838 fi
9839 fi
9840 rm -f confcache
9841
9842 if test "$build" != "$host" ; then
9843 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9844 CC=$host_alias-gcc
9845 CXX=$host_alias-c++
9846 AR=$host_alias-ar
9847 RANLIB=$host_alias-ranlib
9848 DLLTOOL=$host_alias-dlltool
9849 RESCOMP=$host_alias-windres
9850 LD=$host_alias-ld
9851 NM=$host_alias-nm
9852 STRIP=$host_alias-strip
9853 else
9854 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9855 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9856 { (exit 1); exit 1; }; }
9857 fi
9858 fi
9859
9860 CFLAGS=${CFLAGS:=}
9861 ac_ext=c
9862 ac_cpp='$CPP $CPPFLAGS'
9863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9866 if test -n "$ac_tool_prefix"; then
9867 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9868 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9869 echo "$as_me:$LINENO: checking for $ac_word" >&5
9870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9871 if test "${ac_cv_prog_CC+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 else
9874 if test -n "$CC"; then
9875 ac_cv_prog_CC="$CC" # Let the user override the test.
9876 else
9877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9878 for as_dir in $PATH
9879 do
9880 IFS=$as_save_IFS
9881 test -z "$as_dir" && as_dir=.
9882 for ac_exec_ext in '' $ac_executable_extensions; do
9883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9884 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 break 2
9887 fi
9888 done
9889 done
9890
9891 fi
9892 fi
9893 CC=$ac_cv_prog_CC
9894 if test -n "$CC"; then
9895 echo "$as_me:$LINENO: result: $CC" >&5
9896 echo "${ECHO_T}$CC" >&6
9897 else
9898 echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6
9900 fi
9901
9902 fi
9903 if test -z "$ac_cv_prog_CC"; then
9904 ac_ct_CC=$CC
9905 # Extract the first word of "gcc", so it can be a program name with args.
9906 set dummy gcc; ac_word=$2
9907 echo "$as_me:$LINENO: checking for $ac_word" >&5
9908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9910 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9912 if test -n "$ac_ct_CC"; then
9913 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9914 else
9915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916 for as_dir in $PATH
9917 do
9918 IFS=$as_save_IFS
9919 test -z "$as_dir" && as_dir=.
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9922 ac_cv_prog_ac_ct_CC="gcc"
9923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9924 break 2
9925 fi
9926 done
9927 done
9928
9929 fi
9930 fi
9931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9932 if test -n "$ac_ct_CC"; then
9933 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9934 echo "${ECHO_T}$ac_ct_CC" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940 CC=$ac_ct_CC
9941 else
9942 CC="$ac_cv_prog_CC"
9943 fi
9944
9945 if test -z "$CC"; then
9946 if test -n "$ac_tool_prefix"; then
9947 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9948 set dummy ${ac_tool_prefix}cc; ac_word=$2
9949 echo "$as_me:$LINENO: checking for $ac_word" >&5
9950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9951 if test "${ac_cv_prog_CC+set}" = set; then
9952 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 else
9954 if test -n "$CC"; then
9955 ac_cv_prog_CC="$CC" # Let the user override the test.
9956 else
9957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9958 for as_dir in $PATH
9959 do
9960 IFS=$as_save_IFS
9961 test -z "$as_dir" && as_dir=.
9962 for ac_exec_ext in '' $ac_executable_extensions; do
9963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9964 ac_cv_prog_CC="${ac_tool_prefix}cc"
9965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9966 break 2
9967 fi
9968 done
9969 done
9970
9971 fi
9972 fi
9973 CC=$ac_cv_prog_CC
9974 if test -n "$CC"; then
9975 echo "$as_me:$LINENO: result: $CC" >&5
9976 echo "${ECHO_T}$CC" >&6
9977 else
9978 echo "$as_me:$LINENO: result: no" >&5
9979 echo "${ECHO_T}no" >&6
9980 fi
9981
9982 fi
9983 if test -z "$ac_cv_prog_CC"; then
9984 ac_ct_CC=$CC
9985 # Extract the first word of "cc", so it can be a program name with args.
9986 set dummy cc; ac_word=$2
9987 echo "$as_me:$LINENO: checking for $ac_word" >&5
9988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9989 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 else
9992 if test -n "$ac_ct_CC"; then
9993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9994 else
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9996 for as_dir in $PATH
9997 do
9998 IFS=$as_save_IFS
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10002 ac_cv_prog_ac_ct_CC="cc"
10003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10004 break 2
10005 fi
10006 done
10007 done
10008
10009 fi
10010 fi
10011 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10012 if test -n "$ac_ct_CC"; then
10013 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10014 echo "${ECHO_T}$ac_ct_CC" >&6
10015 else
10016 echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6
10018 fi
10019
10020 CC=$ac_ct_CC
10021 else
10022 CC="$ac_cv_prog_CC"
10023 fi
10024
10025 fi
10026 if test -z "$CC"; then
10027 # Extract the first word of "cc", so it can be a program name with args.
10028 set dummy cc; ac_word=$2
10029 echo "$as_me:$LINENO: checking for $ac_word" >&5
10030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10031 if test "${ac_cv_prog_CC+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 else
10034 if test -n "$CC"; then
10035 ac_cv_prog_CC="$CC" # Let the user override the test.
10036 else
10037 ac_prog_rejected=no
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10040 do
10041 IFS=$as_save_IFS
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10046 ac_prog_rejected=yes
10047 continue
10048 fi
10049 ac_cv_prog_CC="cc"
10050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10051 break 2
10052 fi
10053 done
10054 done
10055
10056 if test $ac_prog_rejected = yes; then
10057 # We found a bogon in the path, so make sure we never use it.
10058 set dummy $ac_cv_prog_CC
10059 shift
10060 if test $# != 0; then
10061 # We chose a different compiler from the bogus one.
10062 # However, it has the same basename, so the bogon will be chosen
10063 # first if we set CC to just the basename; use the full file name.
10064 shift
10065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10066 fi
10067 fi
10068 fi
10069 fi
10070 CC=$ac_cv_prog_CC
10071 if test -n "$CC"; then
10072 echo "$as_me:$LINENO: result: $CC" >&5
10073 echo "${ECHO_T}$CC" >&6
10074 else
10075 echo "$as_me:$LINENO: result: no" >&5
10076 echo "${ECHO_T}no" >&6
10077 fi
10078
10079 fi
10080 if test -z "$CC"; then
10081 if test -n "$ac_tool_prefix"; then
10082 for ac_prog in cl
10083 do
10084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10085 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10086 echo "$as_me:$LINENO: checking for $ac_word" >&5
10087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10088 if test "${ac_cv_prog_CC+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10090 else
10091 if test -n "$CC"; then
10092 ac_cv_prog_CC="$CC" # Let the user override the test.
10093 else
10094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10095 for as_dir in $PATH
10096 do
10097 IFS=$as_save_IFS
10098 test -z "$as_dir" && as_dir=.
10099 for ac_exec_ext in '' $ac_executable_extensions; do
10100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10101 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 break 2
10104 fi
10105 done
10106 done
10107
10108 fi
10109 fi
10110 CC=$ac_cv_prog_CC
10111 if test -n "$CC"; then
10112 echo "$as_me:$LINENO: result: $CC" >&5
10113 echo "${ECHO_T}$CC" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119 test -n "$CC" && break
10120 done
10121 fi
10122 if test -z "$CC"; then
10123 ac_ct_CC=$CC
10124 for ac_prog in cl
10125 do
10126 # Extract the first word of "$ac_prog", so it can be a program name with args.
10127 set dummy $ac_prog; ac_word=$2
10128 echo "$as_me:$LINENO: checking for $ac_word" >&5
10129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10131 echo $ECHO_N "(cached) $ECHO_C" >&6
10132 else
10133 if test -n "$ac_ct_CC"; then
10134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10135 else
10136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10137 for as_dir in $PATH
10138 do
10139 IFS=$as_save_IFS
10140 test -z "$as_dir" && as_dir=.
10141 for ac_exec_ext in '' $ac_executable_extensions; do
10142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10143 ac_cv_prog_ac_ct_CC="$ac_prog"
10144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10145 break 2
10146 fi
10147 done
10148 done
10149
10150 fi
10151 fi
10152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10153 if test -n "$ac_ct_CC"; then
10154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10155 echo "${ECHO_T}$ac_ct_CC" >&6
10156 else
10157 echo "$as_me:$LINENO: result: no" >&5
10158 echo "${ECHO_T}no" >&6
10159 fi
10160
10161 test -n "$ac_ct_CC" && break
10162 done
10163
10164 CC=$ac_ct_CC
10165 fi
10166
10167 fi
10168
10169
10170 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10171 See \`config.log' for more details." >&5
10172 echo "$as_me: error: no acceptable C compiler found in \$PATH
10173 See \`config.log' for more details." >&2;}
10174 { (exit 1); exit 1; }; }
10175
10176 # Provide some information about the compiler.
10177 echo "$as_me:$LINENO:" \
10178 "checking for C compiler version" >&5
10179 ac_compiler=`set X $ac_compile; echo $2`
10180 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10181 (eval $ac_compiler --version </dev/null >&5) 2>&5
10182 ac_status=$?
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); }
10185 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10186 (eval $ac_compiler -v </dev/null >&5) 2>&5
10187 ac_status=$?
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); }
10190 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10191 (eval $ac_compiler -V </dev/null >&5) 2>&5
10192 ac_status=$?
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }
10195
10196 cat >conftest.$ac_ext <<_ACEOF
10197 #line $LINENO "configure"
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10203
10204 int
10205 main ()
10206 {
10207
10208 ;
10209 return 0;
10210 }
10211 _ACEOF
10212 ac_clean_files_save=$ac_clean_files
10213 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10214 # Try to create an executable without -o first, disregard a.out.
10215 # It will help us diagnose broken compilers, and finding out an intuition
10216 # of exeext.
10217 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10218 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10219 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10220 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10221 (eval $ac_link_default) 2>&5
10222 ac_status=$?
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; then
10225 # Find the output, starting from the most likely. This scheme is
10226 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10227 # resort.
10228
10229 # Be careful to initialize this variable, since it used to be cached.
10230 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10231 ac_cv_exeext=
10232 # b.out is created by i960 compilers.
10233 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10234 do
10235 test -f "$ac_file" || continue
10236 case $ac_file in
10237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10238 ;;
10239 conftest.$ac_ext )
10240 # This is the source file.
10241 ;;
10242 [ab].out )
10243 # We found the default executable, but exeext='' is most
10244 # certainly right.
10245 break;;
10246 *.* )
10247 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10248 # FIXME: I believe we export ac_cv_exeext for Libtool,
10249 # but it would be cool to find out if it's true. Does anybody
10250 # maintain Libtool? --akim.
10251 export ac_cv_exeext
10252 break;;
10253 * )
10254 break;;
10255 esac
10256 done
10257 else
10258 echo "$as_me: failed program was:" >&5
10259 sed 's/^/| /' conftest.$ac_ext >&5
10260
10261 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10262 See \`config.log' for more details." >&5
10263 echo "$as_me: error: C compiler cannot create executables
10264 See \`config.log' for more details." >&2;}
10265 { (exit 77); exit 77; }; }
10266 fi
10267
10268 ac_exeext=$ac_cv_exeext
10269 echo "$as_me:$LINENO: result: $ac_file" >&5
10270 echo "${ECHO_T}$ac_file" >&6
10271
10272 # Check the compiler produces executables we can run. If not, either
10273 # the compiler is broken, or we cross compile.
10274 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10275 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10276 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10277 # If not cross compiling, check that we can run a simple program.
10278 if test "$cross_compiling" != yes; then
10279 if { ac_try='./$ac_file'
10280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10281 (eval $ac_try) 2>&5
10282 ac_status=$?
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); }; }; then
10285 cross_compiling=no
10286 else
10287 if test "$cross_compiling" = maybe; then
10288 cross_compiling=yes
10289 else
10290 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10291 If you meant to cross compile, use \`--host'.
10292 See \`config.log' for more details." >&5
10293 echo "$as_me: error: cannot run C compiled programs.
10294 If you meant to cross compile, use \`--host'.
10295 See \`config.log' for more details." >&2;}
10296 { (exit 1); exit 1; }; }
10297 fi
10298 fi
10299 fi
10300 echo "$as_me:$LINENO: result: yes" >&5
10301 echo "${ECHO_T}yes" >&6
10302
10303 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10304 ac_clean_files=$ac_clean_files_save
10305 # Check the compiler produces executables we can run. If not, either
10306 # the compiler is broken, or we cross compile.
10307 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10308 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10309 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10310 echo "${ECHO_T}$cross_compiling" >&6
10311
10312 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10313 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10315 (eval $ac_link) 2>&5
10316 ac_status=$?
10317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10318 (exit $ac_status); }; then
10319 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10320 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10321 # work properly (i.e., refer to `conftest.exe'), while it won't with
10322 # `rm'.
10323 for ac_file in conftest.exe conftest conftest.*; do
10324 test -f "$ac_file" || continue
10325 case $ac_file in
10326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10327 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10328 export ac_cv_exeext
10329 break;;
10330 * ) break;;
10331 esac
10332 done
10333 else
10334 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10335 See \`config.log' for more details." >&5
10336 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10337 See \`config.log' for more details." >&2;}
10338 { (exit 1); exit 1; }; }
10339 fi
10340
10341 rm -f conftest$ac_cv_exeext
10342 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10343 echo "${ECHO_T}$ac_cv_exeext" >&6
10344
10345 rm -f conftest.$ac_ext
10346 EXEEXT=$ac_cv_exeext
10347 ac_exeext=$EXEEXT
10348 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10349 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10350 if test "${ac_cv_objext+set}" = set; then
10351 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 else
10353 cat >conftest.$ac_ext <<_ACEOF
10354 #line $LINENO "configure"
10355 /* confdefs.h. */
10356 _ACEOF
10357 cat confdefs.h >>conftest.$ac_ext
10358 cat >>conftest.$ac_ext <<_ACEOF
10359 /* end confdefs.h. */
10360
10361 int
10362 main ()
10363 {
10364
10365 ;
10366 return 0;
10367 }
10368 _ACEOF
10369 rm -f conftest.o conftest.obj
10370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371 (eval $ac_compile) 2>&5
10372 ac_status=$?
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); }; then
10375 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10376 case $ac_file in
10377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10378 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10379 break;;
10380 esac
10381 done
10382 else
10383 echo "$as_me: failed program was:" >&5
10384 sed 's/^/| /' conftest.$ac_ext >&5
10385
10386 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10387 See \`config.log' for more details." >&5
10388 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10389 See \`config.log' for more details." >&2;}
10390 { (exit 1); exit 1; }; }
10391 fi
10392
10393 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10394 fi
10395 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10396 echo "${ECHO_T}$ac_cv_objext" >&6
10397 OBJEXT=$ac_cv_objext
10398 ac_objext=$OBJEXT
10399 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10400 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10401 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10403 else
10404 cat >conftest.$ac_ext <<_ACEOF
10405 #line $LINENO "configure"
10406 /* confdefs.h. */
10407 _ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411
10412 int
10413 main ()
10414 {
10415 #ifndef __GNUC__
10416 choke me
10417 #endif
10418
10419 ;
10420 return 0;
10421 }
10422 _ACEOF
10423 rm -f conftest.$ac_objext
10424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10425 (eval $ac_compile) 2>&5
10426 ac_status=$?
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); } &&
10429 { ac_try='test -s conftest.$ac_objext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10432 ac_status=$?
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_compiler_gnu=yes
10436 else
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.$ac_ext >&5
10439
10440 ac_compiler_gnu=no
10441 fi
10442 rm -f conftest.$ac_objext conftest.$ac_ext
10443 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10444
10445 fi
10446 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10447 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10448 GCC=`test $ac_compiler_gnu = yes && echo yes`
10449 ac_test_CFLAGS=${CFLAGS+set}
10450 ac_save_CFLAGS=$CFLAGS
10451 CFLAGS="-g"
10452 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10453 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10454 if test "${ac_cv_prog_cc_g+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10456 else
10457 cat >conftest.$ac_ext <<_ACEOF
10458 #line $LINENO "configure"
10459 /* confdefs.h. */
10460 _ACEOF
10461 cat confdefs.h >>conftest.$ac_ext
10462 cat >>conftest.$ac_ext <<_ACEOF
10463 /* end confdefs.h. */
10464
10465 int
10466 main ()
10467 {
10468
10469 ;
10470 return 0;
10471 }
10472 _ACEOF
10473 rm -f conftest.$ac_objext
10474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10475 (eval $ac_compile) 2>&5
10476 ac_status=$?
10477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10478 (exit $ac_status); } &&
10479 { ac_try='test -s conftest.$ac_objext'
10480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10481 (eval $ac_try) 2>&5
10482 ac_status=$?
10483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484 (exit $ac_status); }; }; then
10485 ac_cv_prog_cc_g=yes
10486 else
10487 echo "$as_me: failed program was:" >&5
10488 sed 's/^/| /' conftest.$ac_ext >&5
10489
10490 ac_cv_prog_cc_g=no
10491 fi
10492 rm -f conftest.$ac_objext conftest.$ac_ext
10493 fi
10494 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10495 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10496 if test "$ac_test_CFLAGS" = set; then
10497 CFLAGS=$ac_save_CFLAGS
10498 elif test $ac_cv_prog_cc_g = yes; then
10499 if test "$GCC" = yes; then
10500 CFLAGS="-g -O2"
10501 else
10502 CFLAGS="-g"
10503 fi
10504 else
10505 if test "$GCC" = yes; then
10506 CFLAGS="-O2"
10507 else
10508 CFLAGS=
10509 fi
10510 fi
10511 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10512 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10513 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 else
10516 ac_cv_prog_cc_stdc=no
10517 ac_save_CC=$CC
10518 cat >conftest.$ac_ext <<_ACEOF
10519 #line $LINENO "configure"
10520 /* confdefs.h. */
10521 _ACEOF
10522 cat confdefs.h >>conftest.$ac_ext
10523 cat >>conftest.$ac_ext <<_ACEOF
10524 /* end confdefs.h. */
10525 #include <stdarg.h>
10526 #include <stdio.h>
10527 #include <sys/types.h>
10528 #include <sys/stat.h>
10529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10530 struct buf { int x; };
10531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10532 static char *e (p, i)
10533 char **p;
10534 int i;
10535 {
10536 return p[i];
10537 }
10538 static char *f (char * (*g) (char **, int), char **p, ...)
10539 {
10540 char *s;
10541 va_list v;
10542 va_start (v,p);
10543 s = g (p, va_arg (v,int));
10544 va_end (v);
10545 return s;
10546 }
10547 int test (int i, double x);
10548 struct s1 {int (*f) (int a);};
10549 struct s2 {int (*f) (double a);};
10550 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10551 int argc;
10552 char **argv;
10553 int
10554 main ()
10555 {
10556 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10557 ;
10558 return 0;
10559 }
10560 _ACEOF
10561 # Don't try gcc -ansi; that turns off useful extensions and
10562 # breaks some systems' header files.
10563 # AIX -qlanglvl=ansi
10564 # Ultrix and OSF/1 -std1
10565 # HP-UX 10.20 and later -Ae
10566 # HP-UX older versions -Aa -D_HPUX_SOURCE
10567 # SVR4 -Xc -D__EXTENSIONS__
10568 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10569 do
10570 CC="$ac_save_CC $ac_arg"
10571 rm -f conftest.$ac_objext
10572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10573 (eval $ac_compile) 2>&5
10574 ac_status=$?
10575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10576 (exit $ac_status); } &&
10577 { ac_try='test -s conftest.$ac_objext'
10578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10579 (eval $ac_try) 2>&5
10580 ac_status=$?
10581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10582 (exit $ac_status); }; }; then
10583 ac_cv_prog_cc_stdc=$ac_arg
10584 break
10585 else
10586 echo "$as_me: failed program was:" >&5
10587 sed 's/^/| /' conftest.$ac_ext >&5
10588
10589 fi
10590 rm -f conftest.$ac_objext
10591 done
10592 rm -f conftest.$ac_ext conftest.$ac_objext
10593 CC=$ac_save_CC
10594
10595 fi
10596
10597 case "x$ac_cv_prog_cc_stdc" in
10598 x|xno)
10599 echo "$as_me:$LINENO: result: none needed" >&5
10600 echo "${ECHO_T}none needed" >&6 ;;
10601 *)
10602 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10603 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10604 CC="$CC $ac_cv_prog_cc_stdc" ;;
10605 esac
10606
10607 # Some people use a C++ compiler to compile C. Since we use `exit',
10608 # in C++ we need to declare it. In case someone uses the same compiler
10609 # for both compiling C and C++ we need to have the C++ compiler decide
10610 # the declaration of exit, since it's the most demanding environment.
10611 cat >conftest.$ac_ext <<_ACEOF
10612 #ifndef __cplusplus
10613 choke me
10614 #endif
10615 _ACEOF
10616 rm -f conftest.$ac_objext
10617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10618 (eval $ac_compile) 2>&5
10619 ac_status=$?
10620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621 (exit $ac_status); } &&
10622 { ac_try='test -s conftest.$ac_objext'
10623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10624 (eval $ac_try) 2>&5
10625 ac_status=$?
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 for ac_declaration in \
10629 ''\
10630 '#include <stdlib.h>' \
10631 'extern "C" void std::exit (int) throw (); using std::exit;' \
10632 'extern "C" void std::exit (int); using std::exit;' \
10633 'extern "C" void exit (int) throw ();' \
10634 'extern "C" void exit (int);' \
10635 'void exit (int);'
10636 do
10637 cat >conftest.$ac_ext <<_ACEOF
10638 #line $LINENO "configure"
10639 /* confdefs.h. */
10640 _ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h. */
10644 #include <stdlib.h>
10645 $ac_declaration
10646 int
10647 main ()
10648 {
10649 exit (42);
10650 ;
10651 return 0;
10652 }
10653 _ACEOF
10654 rm -f conftest.$ac_objext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10656 (eval $ac_compile) 2>&5
10657 ac_status=$?
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); } &&
10660 { ac_try='test -s conftest.$ac_objext'
10661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10662 (eval $ac_try) 2>&5
10663 ac_status=$?
10664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 (exit $ac_status); }; }; then
10666 :
10667 else
10668 echo "$as_me: failed program was:" >&5
10669 sed 's/^/| /' conftest.$ac_ext >&5
10670
10671 continue
10672 fi
10673 rm -f conftest.$ac_objext conftest.$ac_ext
10674 cat >conftest.$ac_ext <<_ACEOF
10675 #line $LINENO "configure"
10676 /* confdefs.h. */
10677 _ACEOF
10678 cat confdefs.h >>conftest.$ac_ext
10679 cat >>conftest.$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 $ac_declaration
10682 int
10683 main ()
10684 {
10685 exit (42);
10686 ;
10687 return 0;
10688 }
10689 _ACEOF
10690 rm -f conftest.$ac_objext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>&5
10693 ac_status=$?
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try='test -s conftest.$ac_objext'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; }; then
10702 break
10703 else
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10706
10707 fi
10708 rm -f conftest.$ac_objext conftest.$ac_ext
10709 done
10710 rm -f conftest*
10711 if test -n "$ac_declaration"; then
10712 echo '#ifdef __cplusplus' >>confdefs.h
10713 echo $ac_declaration >>confdefs.h
10714 echo '#endif' >>confdefs.h
10715 fi
10716
10717 else
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10720
10721 fi
10722 rm -f conftest.$ac_objext conftest.$ac_ext
10723 ac_ext=c
10724 ac_cpp='$CPP $CPPFLAGS'
10725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10728
10729
10730
10731 ac_ext=c
10732 ac_cpp='$CPP $CPPFLAGS'
10733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10736 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10737 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10738 # On Suns, sometimes $CPP names a directory.
10739 if test -n "$CPP" && test -d "$CPP"; then
10740 CPP=
10741 fi
10742 if test -z "$CPP"; then
10743 if test "${ac_cv_prog_CPP+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10745 else
10746 # Double quotes because CPP needs to be expanded
10747 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10748 do
10749 ac_preproc_ok=false
10750 for ac_c_preproc_warn_flag in '' yes
10751 do
10752 # Use a header file that comes with gcc, so configuring glibc
10753 # with a fresh cross-compiler works.
10754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10755 # <limits.h> exists even on freestanding compilers.
10756 # On the NeXT, cc -E runs the code through the compiler's parser,
10757 # not just through cpp. "Syntax error" is here to catch this case.
10758 cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #ifdef __STDC__
10766 # include <limits.h>
10767 #else
10768 # include <assert.h>
10769 #endif
10770 Syntax error
10771 _ACEOF
10772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10774 ac_status=$?
10775 grep -v '^ *+' conftest.er1 >conftest.err
10776 rm -f conftest.er1
10777 cat conftest.err >&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); } >/dev/null; then
10780 if test -s conftest.err; then
10781 ac_cpp_err=$ac_c_preproc_warn_flag
10782 else
10783 ac_cpp_err=
10784 fi
10785 else
10786 ac_cpp_err=yes
10787 fi
10788 if test -z "$ac_cpp_err"; then
10789 :
10790 else
10791 echo "$as_me: failed program was:" >&5
10792 sed 's/^/| /' conftest.$ac_ext >&5
10793
10794 # Broken: fails on valid input.
10795 continue
10796 fi
10797 rm -f conftest.err conftest.$ac_ext
10798
10799 # OK, works on sane cases. Now check whether non-existent headers
10800 # can be detected and how.
10801 cat >conftest.$ac_ext <<_ACEOF
10802 #line $LINENO "configure"
10803 /* confdefs.h. */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 #include <ac_nonexistent.h>
10809 _ACEOF
10810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10812 ac_status=$?
10813 grep -v '^ *+' conftest.er1 >conftest.err
10814 rm -f conftest.er1
10815 cat conftest.err >&5
10816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817 (exit $ac_status); } >/dev/null; then
10818 if test -s conftest.err; then
10819 ac_cpp_err=$ac_c_preproc_warn_flag
10820 else
10821 ac_cpp_err=
10822 fi
10823 else
10824 ac_cpp_err=yes
10825 fi
10826 if test -z "$ac_cpp_err"; then
10827 # Broken: success on invalid input.
10828 continue
10829 else
10830 echo "$as_me: failed program was:" >&5
10831 sed 's/^/| /' conftest.$ac_ext >&5
10832
10833 # Passes both tests.
10834 ac_preproc_ok=:
10835 break
10836 fi
10837 rm -f conftest.err conftest.$ac_ext
10838
10839 done
10840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10841 rm -f conftest.err conftest.$ac_ext
10842 if $ac_preproc_ok; then
10843 break
10844 fi
10845
10846 done
10847 ac_cv_prog_CPP=$CPP
10848
10849 fi
10850 CPP=$ac_cv_prog_CPP
10851 else
10852 ac_cv_prog_CPP=$CPP
10853 fi
10854 echo "$as_me:$LINENO: result: $CPP" >&5
10855 echo "${ECHO_T}$CPP" >&6
10856 ac_preproc_ok=false
10857 for ac_c_preproc_warn_flag in '' yes
10858 do
10859 # Use a header file that comes with gcc, so configuring glibc
10860 # with a fresh cross-compiler works.
10861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10862 # <limits.h> exists even on freestanding compilers.
10863 # On the NeXT, cc -E runs the code through the compiler's parser,
10864 # not just through cpp. "Syntax error" is here to catch this case.
10865 cat >conftest.$ac_ext <<_ACEOF
10866 #line $LINENO "configure"
10867 /* confdefs.h. */
10868 _ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 cat >>conftest.$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 #ifdef __STDC__
10873 # include <limits.h>
10874 #else
10875 # include <assert.h>
10876 #endif
10877 Syntax error
10878 _ACEOF
10879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10881 ac_status=$?
10882 grep -v '^ *+' conftest.er1 >conftest.err
10883 rm -f conftest.er1
10884 cat conftest.err >&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } >/dev/null; then
10887 if test -s conftest.err; then
10888 ac_cpp_err=$ac_c_preproc_warn_flag
10889 else
10890 ac_cpp_err=
10891 fi
10892 else
10893 ac_cpp_err=yes
10894 fi
10895 if test -z "$ac_cpp_err"; then
10896 :
10897 else
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10900
10901 # Broken: fails on valid input.
10902 continue
10903 fi
10904 rm -f conftest.err conftest.$ac_ext
10905
10906 # OK, works on sane cases. Now check whether non-existent headers
10907 # can be detected and how.
10908 cat >conftest.$ac_ext <<_ACEOF
10909 #line $LINENO "configure"
10910 /* confdefs.h. */
10911 _ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10915 #include <ac_nonexistent.h>
10916 _ACEOF
10917 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10918 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10919 ac_status=$?
10920 grep -v '^ *+' conftest.er1 >conftest.err
10921 rm -f conftest.er1
10922 cat conftest.err >&5
10923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 (exit $ac_status); } >/dev/null; then
10925 if test -s conftest.err; then
10926 ac_cpp_err=$ac_c_preproc_warn_flag
10927 else
10928 ac_cpp_err=
10929 fi
10930 else
10931 ac_cpp_err=yes
10932 fi
10933 if test -z "$ac_cpp_err"; then
10934 # Broken: success on invalid input.
10935 continue
10936 else
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.$ac_ext >&5
10939
10940 # Passes both tests.
10941 ac_preproc_ok=:
10942 break
10943 fi
10944 rm -f conftest.err conftest.$ac_ext
10945
10946 done
10947 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10948 rm -f conftest.err conftest.$ac_ext
10949 if $ac_preproc_ok; then
10950 :
10951 else
10952 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10953 See \`config.log' for more details." >&5
10954 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10955 See \`config.log' for more details." >&2;}
10956 { (exit 1); exit 1; }; }
10957 fi
10958
10959 ac_ext=c
10960 ac_cpp='$CPP $CPPFLAGS'
10961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10964
10965
10966 echo "$as_me:$LINENO: checking for egrep" >&5
10967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10968 if test "${ac_cv_prog_egrep+set}" = set; then
10969 echo $ECHO_N "(cached) $ECHO_C" >&6
10970 else
10971 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10972 then ac_cv_prog_egrep='grep -E'
10973 else ac_cv_prog_egrep='egrep'
10974 fi
10975 fi
10976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10978 EGREP=$ac_cv_prog_egrep
10979
10980
10981 if test $ac_cv_c_compiler_gnu = yes; then
10982 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10983 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10984 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 ac_pattern="Autoconf.*'x'"
10988 cat >conftest.$ac_ext <<_ACEOF
10989 #line $LINENO "configure"
10990 /* confdefs.h. */
10991 _ACEOF
10992 cat confdefs.h >>conftest.$ac_ext
10993 cat >>conftest.$ac_ext <<_ACEOF
10994 /* end confdefs.h. */
10995 #include <sgtty.h>
10996 Autoconf TIOCGETP
10997 _ACEOF
10998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10999 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11000 ac_cv_prog_gcc_traditional=yes
11001 else
11002 ac_cv_prog_gcc_traditional=no
11003 fi
11004 rm -f conftest*
11005
11006
11007 if test $ac_cv_prog_gcc_traditional = no; then
11008 cat >conftest.$ac_ext <<_ACEOF
11009 #line $LINENO "configure"
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <termio.h>
11016 Autoconf TCGETA
11017 _ACEOF
11018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11019 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11020 ac_cv_prog_gcc_traditional=yes
11021 fi
11022 rm -f conftest*
11023
11024 fi
11025 fi
11026 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11027 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11028 if test $ac_cv_prog_gcc_traditional = yes; then
11029 CC="$CC -traditional"
11030 fi
11031 fi
11032
11033
11034
11035
11036 ac_ext=cc
11037 ac_cpp='$CXXCPP $CPPFLAGS'
11038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11041
11042
11043 CXXFLAGS=${CXXFLAGS:=}
11044 ac_ext=cc
11045 ac_cpp='$CXXCPP $CPPFLAGS'
11046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11049 if test -n "$ac_tool_prefix"; then
11050 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11051 do
11052 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11053 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11054 echo "$as_me:$LINENO: checking for $ac_word" >&5
11055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11056 if test "${ac_cv_prog_CXX+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059 if test -n "$CXX"; then
11060 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11061 else
11062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11063 for as_dir in $PATH
11064 do
11065 IFS=$as_save_IFS
11066 test -z "$as_dir" && as_dir=.
11067 for ac_exec_ext in '' $ac_executable_extensions; do
11068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11069 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 break 2
11072 fi
11073 done
11074 done
11075
11076 fi
11077 fi
11078 CXX=$ac_cv_prog_CXX
11079 if test -n "$CXX"; then
11080 echo "$as_me:$LINENO: result: $CXX" >&5
11081 echo "${ECHO_T}$CXX" >&6
11082 else
11083 echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6
11085 fi
11086
11087 test -n "$CXX" && break
11088 done
11089 fi
11090 if test -z "$CXX"; then
11091 ac_ct_CXX=$CXX
11092 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11093 do
11094 # Extract the first word of "$ac_prog", so it can be a program name with args.
11095 set dummy $ac_prog; ac_word=$2
11096 echo "$as_me:$LINENO: checking for $ac_word" >&5
11097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11098 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11100 else
11101 if test -n "$ac_ct_CXX"; then
11102 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11103 else
11104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11105 for as_dir in $PATH
11106 do
11107 IFS=$as_save_IFS
11108 test -z "$as_dir" && as_dir=.
11109 for ac_exec_ext in '' $ac_executable_extensions; do
11110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11111 ac_cv_prog_ac_ct_CXX="$ac_prog"
11112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11113 break 2
11114 fi
11115 done
11116 done
11117
11118 fi
11119 fi
11120 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11121 if test -n "$ac_ct_CXX"; then
11122 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11123 echo "${ECHO_T}$ac_ct_CXX" >&6
11124 else
11125 echo "$as_me:$LINENO: result: no" >&5
11126 echo "${ECHO_T}no" >&6
11127 fi
11128
11129 test -n "$ac_ct_CXX" && break
11130 done
11131 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11132
11133 CXX=$ac_ct_CXX
11134 fi
11135
11136
11137 # Provide some information about the compiler.
11138 echo "$as_me:$LINENO:" \
11139 "checking for C++ compiler version" >&5
11140 ac_compiler=`set X $ac_compile; echo $2`
11141 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11142 (eval $ac_compiler --version </dev/null >&5) 2>&5
11143 ac_status=$?
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }
11146 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11147 (eval $ac_compiler -v </dev/null >&5) 2>&5
11148 ac_status=$?
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); }
11151 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11152 (eval $ac_compiler -V </dev/null >&5) 2>&5
11153 ac_status=$?
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }
11156
11157 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11158 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11159 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11160 echo $ECHO_N "(cached) $ECHO_C" >&6
11161 else
11162 cat >conftest.$ac_ext <<_ACEOF
11163 #line $LINENO "configure"
11164 /* confdefs.h. */
11165 _ACEOF
11166 cat confdefs.h >>conftest.$ac_ext
11167 cat >>conftest.$ac_ext <<_ACEOF
11168 /* end confdefs.h. */
11169
11170 int
11171 main ()
11172 {
11173 #ifndef __GNUC__
11174 choke me
11175 #endif
11176
11177 ;
11178 return 0;
11179 }
11180 _ACEOF
11181 rm -f conftest.$ac_objext
11182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11183 (eval $ac_compile) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); } &&
11187 { ac_try='test -s conftest.$ac_objext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 ac_compiler_gnu=yes
11194 else
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11197
11198 ac_compiler_gnu=no
11199 fi
11200 rm -f conftest.$ac_objext conftest.$ac_ext
11201 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11202
11203 fi
11204 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11205 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11206 GXX=`test $ac_compiler_gnu = yes && echo yes`
11207 ac_test_CXXFLAGS=${CXXFLAGS+set}
11208 ac_save_CXXFLAGS=$CXXFLAGS
11209 CXXFLAGS="-g"
11210 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11211 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11212 if test "${ac_cv_prog_cxx_g+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11214 else
11215 cat >conftest.$ac_ext <<_ACEOF
11216 #line $LINENO "configure"
11217 /* confdefs.h. */
11218 _ACEOF
11219 cat confdefs.h >>conftest.$ac_ext
11220 cat >>conftest.$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222
11223 int
11224 main ()
11225 {
11226
11227 ;
11228 return 0;
11229 }
11230 _ACEOF
11231 rm -f conftest.$ac_objext
11232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11233 (eval $ac_compile) 2>&5
11234 ac_status=$?
11235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11236 (exit $ac_status); } &&
11237 { ac_try='test -s conftest.$ac_objext'
11238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11239 (eval $ac_try) 2>&5
11240 ac_status=$?
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); }; }; then
11243 ac_cv_prog_cxx_g=yes
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11247
11248 ac_cv_prog_cxx_g=no
11249 fi
11250 rm -f conftest.$ac_objext conftest.$ac_ext
11251 fi
11252 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11253 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11254 if test "$ac_test_CXXFLAGS" = set; then
11255 CXXFLAGS=$ac_save_CXXFLAGS
11256 elif test $ac_cv_prog_cxx_g = yes; then
11257 if test "$GXX" = yes; then
11258 CXXFLAGS="-g -O2"
11259 else
11260 CXXFLAGS="-g"
11261 fi
11262 else
11263 if test "$GXX" = yes; then
11264 CXXFLAGS="-O2"
11265 else
11266 CXXFLAGS=
11267 fi
11268 fi
11269 for ac_declaration in \
11270 ''\
11271 '#include <stdlib.h>' \
11272 'extern "C" void std::exit (int) throw (); using std::exit;' \
11273 'extern "C" void std::exit (int); using std::exit;' \
11274 'extern "C" void exit (int) throw ();' \
11275 'extern "C" void exit (int);' \
11276 'void exit (int);'
11277 do
11278 cat >conftest.$ac_ext <<_ACEOF
11279 #line $LINENO "configure"
11280 /* confdefs.h. */
11281 _ACEOF
11282 cat confdefs.h >>conftest.$ac_ext
11283 cat >>conftest.$ac_ext <<_ACEOF
11284 /* end confdefs.h. */
11285 #include <stdlib.h>
11286 $ac_declaration
11287 int
11288 main ()
11289 {
11290 exit (42);
11291 ;
11292 return 0;
11293 }
11294 _ACEOF
11295 rm -f conftest.$ac_objext
11296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11297 (eval $ac_compile) 2>&5
11298 ac_status=$?
11299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11300 (exit $ac_status); } &&
11301 { ac_try='test -s conftest.$ac_objext'
11302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11303 (eval $ac_try) 2>&5
11304 ac_status=$?
11305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11306 (exit $ac_status); }; }; then
11307 :
11308 else
11309 echo "$as_me: failed program was:" >&5
11310 sed 's/^/| /' conftest.$ac_ext >&5
11311
11312 continue
11313 fi
11314 rm -f conftest.$ac_objext conftest.$ac_ext
11315 cat >conftest.$ac_ext <<_ACEOF
11316 #line $LINENO "configure"
11317 /* confdefs.h. */
11318 _ACEOF
11319 cat confdefs.h >>conftest.$ac_ext
11320 cat >>conftest.$ac_ext <<_ACEOF
11321 /* end confdefs.h. */
11322 $ac_declaration
11323 int
11324 main ()
11325 {
11326 exit (42);
11327 ;
11328 return 0;
11329 }
11330 _ACEOF
11331 rm -f conftest.$ac_objext
11332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11333 (eval $ac_compile) 2>&5
11334 ac_status=$?
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } &&
11337 { ac_try='test -s conftest.$ac_objext'
11338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11339 (eval $ac_try) 2>&5
11340 ac_status=$?
11341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11342 (exit $ac_status); }; }; then
11343 break
11344 else
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11347
11348 fi
11349 rm -f conftest.$ac_objext conftest.$ac_ext
11350 done
11351 rm -f conftest*
11352 if test -n "$ac_declaration"; then
11353 echo '#ifdef __cplusplus' >>confdefs.h
11354 echo $ac_declaration >>confdefs.h
11355 echo '#endif' >>confdefs.h
11356 fi
11357
11358 ac_ext=cc
11359 ac_cpp='$CXXCPP $CPPFLAGS'
11360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11363
11364
11365 ac_ext=c
11366 ac_cpp='$CPP $CPPFLAGS'
11367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11370
11371
11372 if test -n "$ac_tool_prefix"; then
11373 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11375 echo "$as_me:$LINENO: checking for $ac_word" >&5
11376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11377 if test "${ac_cv_prog_RANLIB+set}" = set; then
11378 echo $ECHO_N "(cached) $ECHO_C" >&6
11379 else
11380 if test -n "$RANLIB"; then
11381 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11382 else
11383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11384 for as_dir in $PATH
11385 do
11386 IFS=$as_save_IFS
11387 test -z "$as_dir" && as_dir=.
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11392 break 2
11393 fi
11394 done
11395 done
11396
11397 fi
11398 fi
11399 RANLIB=$ac_cv_prog_RANLIB
11400 if test -n "$RANLIB"; then
11401 echo "$as_me:$LINENO: result: $RANLIB" >&5
11402 echo "${ECHO_T}$RANLIB" >&6
11403 else
11404 echo "$as_me:$LINENO: result: no" >&5
11405 echo "${ECHO_T}no" >&6
11406 fi
11407
11408 fi
11409 if test -z "$ac_cv_prog_RANLIB"; then
11410 ac_ct_RANLIB=$RANLIB
11411 # Extract the first word of "ranlib", so it can be a program name with args.
11412 set dummy ranlib; ac_word=$2
11413 echo "$as_me:$LINENO: checking for $ac_word" >&5
11414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11415 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11416 echo $ECHO_N "(cached) $ECHO_C" >&6
11417 else
11418 if test -n "$ac_ct_RANLIB"; then
11419 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11420 else
11421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11422 for as_dir in $PATH
11423 do
11424 IFS=$as_save_IFS
11425 test -z "$as_dir" && as_dir=.
11426 for ac_exec_ext in '' $ac_executable_extensions; do
11427 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11428 ac_cv_prog_ac_ct_RANLIB="ranlib"
11429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11430 break 2
11431 fi
11432 done
11433 done
11434
11435 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11436 fi
11437 fi
11438 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11439 if test -n "$ac_ct_RANLIB"; then
11440 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11441 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11442 else
11443 echo "$as_me:$LINENO: result: no" >&5
11444 echo "${ECHO_T}no" >&6
11445 fi
11446
11447 RANLIB=$ac_ct_RANLIB
11448 else
11449 RANLIB="$ac_cv_prog_RANLIB"
11450 fi
11451
11452
11453 # Extract the first word of "ar", so it can be a program name with args.
11454 set dummy ar; ac_word=$2
11455 echo "$as_me:$LINENO: checking for $ac_word" >&5
11456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11457 if test "${ac_cv_prog_AR+set}" = set; then
11458 echo $ECHO_N "(cached) $ECHO_C" >&6
11459 else
11460 if test -n "$AR"; then
11461 ac_cv_prog_AR="$AR" # Let the user override the test.
11462 else
11463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464 for as_dir in $PATH
11465 do
11466 IFS=$as_save_IFS
11467 test -z "$as_dir" && as_dir=.
11468 for ac_exec_ext in '' $ac_executable_extensions; do
11469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11470 ac_cv_prog_AR="ar"
11471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11472 break 2
11473 fi
11474 done
11475 done
11476
11477 fi
11478 fi
11479 AR=$ac_cv_prog_AR
11480 if test -n "$AR"; then
11481 echo "$as_me:$LINENO: result: $AR" >&5
11482 echo "${ECHO_T}$AR" >&6
11483 else
11484 echo "$as_me:$LINENO: result: no" >&5
11485 echo "${ECHO_T}no" >&6
11486 fi
11487
11488 if test "x$AR" = "x" ; then
11489 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11490 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11491 { (exit 1); exit 1; }; }
11492 fi
11493
11494 # Find a good install program. We prefer a C program (faster),
11495 # so one script is as good as another. But avoid the broken or
11496 # incompatible versions:
11497 # SysV /etc/install, /usr/sbin/install
11498 # SunOS /usr/etc/install
11499 # IRIX /sbin/install
11500 # AIX /bin/install
11501 # AmigaOS /C/install, which installs bootblocks on floppy discs
11502 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11505 # ./install, which can be erroneously created by make from ./install.sh.
11506 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11507 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11508 if test -z "$INSTALL"; then
11509 if test "${ac_cv_path_install+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 else
11512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11513 for as_dir in $PATH
11514 do
11515 IFS=$as_save_IFS
11516 test -z "$as_dir" && as_dir=.
11517 # Account for people who put trailing slashes in PATH elements.
11518 case $as_dir/ in
11519 ./ | .// | /cC/* | \
11520 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11521 /usr/ucb/* ) ;;
11522 *)
11523 # OSF1 and SCO ODT 3.0 have their own names for install.
11524 # Don't use installbsd from OSF since it installs stuff as root
11525 # by default.
11526 for ac_prog in ginstall scoinst install; do
11527 for ac_exec_ext in '' $ac_executable_extensions; do
11528 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11529 if test $ac_prog = install &&
11530 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11531 # AIX install. It has an incompatible calling convention.
11532 :
11533 elif test $ac_prog = install &&
11534 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11535 # program-specific install script used by HP pwplus--don't use.
11536 :
11537 else
11538 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11539 break 3
11540 fi
11541 fi
11542 done
11543 done
11544 ;;
11545 esac
11546 done
11547
11548
11549 fi
11550 if test "${ac_cv_path_install+set}" = set; then
11551 INSTALL=$ac_cv_path_install
11552 else
11553 # As a last resort, use the slow shell script. We don't cache a
11554 # path for INSTALL within a source directory, because that will
11555 # break other packages using the cache if that directory is
11556 # removed, or if the path is relative.
11557 INSTALL=$ac_install_sh
11558 fi
11559 fi
11560 echo "$as_me:$LINENO: result: $INSTALL" >&5
11561 echo "${ECHO_T}$INSTALL" >&6
11562
11563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11564 # It thinks the first close brace ends the variable substitution.
11565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11566
11567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11568
11569 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11570
11571
11572 case ${INSTALL} in
11573 /* ) # Absolute
11574 ;;
11575 ?:* ) # Drive letter, considered as absolute.
11576 ;;
11577 *)
11578 INSTALL=`pwd`/${INSTALL} ;;
11579 esac
11580
11581 case ${host} in
11582 *-hp-hpux* )
11583 INSTALL_DIR="mkdir"
11584 ;;
11585
11586 *) INSTALL_DIR="$INSTALL -d"
11587 ;;
11588 esac
11589
11590
11591 case "${host}" in
11592
11593 powerpc-*-darwin* )
11594 INSTALL_PROGRAM="cp -fp"
11595 INSTALL_DATA="cp -fp"
11596 ;;
11597 *)
11598 ;;
11599 esac
11600
11601 # Extract the first word of "strip", so it can be a program name with args.
11602 set dummy strip; ac_word=$2
11603 echo "$as_me:$LINENO: checking for $ac_word" >&5
11604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11605 if test "${ac_cv_prog_STRIP+set}" = set; then
11606 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 else
11608 if test -n "$STRIP"; then
11609 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11610 else
11611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11612 for as_dir in $PATH
11613 do
11614 IFS=$as_save_IFS
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 ac_cv_prog_STRIP="strip"
11619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 break 2
11621 fi
11622 done
11623 done
11624
11625 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11626 fi
11627 fi
11628 STRIP=$ac_cv_prog_STRIP
11629 if test -n "$STRIP"; then
11630 echo "$as_me:$LINENO: result: $STRIP" >&5
11631 echo "${ECHO_T}$STRIP" >&6
11632 else
11633 echo "$as_me:$LINENO: result: no" >&5
11634 echo "${ECHO_T}no" >&6
11635 fi
11636
11637
11638 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11639 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11640 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11641 echo $ECHO_N "(cached) $ECHO_C" >&6
11642 else
11643
11644 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11645 egrep -s GNU > /dev/null); then
11646 wx_cv_prog_makeisgnu="yes"
11647 else
11648 wx_cv_prog_makeisgnu="no"
11649 fi
11650
11651 fi
11652 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11653 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11654
11655 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11656 IF_GNU_MAKE=""
11657 else
11658 IF_GNU_MAKE="#"
11659 fi
11660
11661
11662
11663 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11664 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11665 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11666 if test "${wx_cv_prog_makevpath+set}" = set; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11668 else
11669
11670 cat - << EOF > confMake
11671 check : file
11672 cp \$? \$@
11673 cp \$? final_file
11674 EOF
11675
11676 if test ! -d sub ; then
11677 mkdir sub
11678 fi
11679 echo dummy > sub/file
11680 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11681 RESULT=$?
11682 rm -f sub/file check final_file confMake
11683 rmdir sub
11684 if test "$RESULT" = 0; then
11685 wx_cv_prog_makevpath="yes"
11686 else
11687 wx_cv_prog_makevpath="no"
11688 fi
11689
11690 fi
11691 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11692 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11693
11694 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11695 { { echo "$as_me:$LINENO: error:
11696 You need a make-utility that is able to use the variable
11697 VPATH correctly.
11698 If your version of make does not support VPATH correctly,
11699 please install GNU-make (possibly as gmake), and start
11700 configure with the following command:
11701 export MAKE=gmake; ./configure for sh-type shells
11702 setenv MAKE gmake; ./configure for csh-type shells
11703 Also please do remember to use gmake in this case every time
11704 you are trying to compile.
11705 " >&5
11706 echo "$as_me: error:
11707 You need a make-utility that is able to use the variable
11708 VPATH correctly.
11709 If your version of make does not support VPATH correctly,
11710 please install GNU-make (possibly as gmake), and start
11711 configure with the following command:
11712 export MAKE=gmake; ./configure for sh-type shells
11713 setenv MAKE gmake; ./configure for csh-type shells
11714 Also please do remember to use gmake in this case every time
11715 you are trying to compile.
11716 " >&2;}
11717 { (exit 1); exit 1; }; }
11718 fi fi
11719 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11720 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11721 LN_S=$as_ln_s
11722 if test "$LN_S" = "ln -s"; then
11723 echo "$as_me:$LINENO: result: yes" >&5
11724 echo "${ECHO_T}yes" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11727 echo "${ECHO_T}no, using $LN_S" >&6
11728 fi
11729
11730
11731 case "${host}" in
11732 *-pc-os2_emx | *-pc-os2-emx )
11733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11734 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11735 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11736 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 else
11739 ac_check_lib_save_LIBS=$LIBS
11740 LIBS="-lcExt $LIBS"
11741 cat >conftest.$ac_ext <<_ACEOF
11742 #line $LINENO "configure"
11743 /* confdefs.h. */
11744 _ACEOF
11745 cat confdefs.h >>conftest.$ac_ext
11746 cat >>conftest.$ac_ext <<_ACEOF
11747 /* end confdefs.h. */
11748
11749 /* Override any gcc2 internal prototype to avoid an error. */
11750 #ifdef __cplusplus
11751 extern "C"
11752 #endif
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11755 char drand48 ();
11756 int
11757 main ()
11758 {
11759 drand48 ();
11760 ;
11761 return 0;
11762 }
11763 _ACEOF
11764 rm -f conftest.$ac_objext conftest$ac_exeext
11765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11766 (eval $ac_link) 2>&5
11767 ac_status=$?
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } &&
11770 { ac_try='test -s conftest$ac_exeext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11773 ac_status=$?
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 ac_cv_lib_cExt_drand48=yes
11777 else
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.$ac_ext >&5
11780
11781 ac_cv_lib_cExt_drand48=no
11782 fi
11783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11784 LIBS=$ac_check_lib_save_LIBS
11785 fi
11786 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11787 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11788 if test $ac_cv_lib_cExt_drand48 = yes; then
11789 LIBS="$LIBS -lcExt"
11790 fi
11791
11792 else
11793 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11794 fi
11795 echo "$as_me:$LINENO: checking for gcc 3 or later" >&5
11796 echo $ECHO_N "checking for gcc 3 or later... $ECHO_C" >&6
11797 if test "${wx_cv_gcc3+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 else
11800
11801 cat >conftest.$ac_ext <<_ACEOF
11802 #line $LINENO "configure"
11803 /* confdefs.h. */
11804 _ACEOF
11805 cat confdefs.h >>conftest.$ac_ext
11806 cat >>conftest.$ac_ext <<_ACEOF
11807 /* end confdefs.h. */
11808
11809 int
11810 main ()
11811 {
11812
11813 #if (__GNUC__ < 3)
11814 #error old gcc
11815 #endif
11816
11817 ;
11818 return 0;
11819 }
11820 _ACEOF
11821 rm -f conftest.$ac_objext
11822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11823 (eval $ac_compile) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } &&
11827 { ac_try='test -s conftest.$ac_objext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833
11834 wx_cv_gcc3=yes
11835
11836 else
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.$ac_ext >&5
11839
11840
11841 wx_cv_gcc3=no
11842
11843
11844 fi
11845 rm -f conftest.$ac_objext conftest.$ac_ext
11846
11847 fi
11848 echo "$as_me:$LINENO: result: $wx_cv_gcc3" >&5
11849 echo "${ECHO_T}$wx_cv_gcc3" >&6
11850 if test "$wx_cv_gcc3" = "no"; then
11851 LIBS="$LIBS -lstdcpp"
11852 else
11853 LIBS="$LIBS -lstdcxx"
11854 fi
11855 ;;
11856 esac
11857
11858
11859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11860 echo "$as_me:$LINENO: checking for strings.h" >&5
11861 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11862 if test "${ac_cv_header_strings_h+set}" = set; then
11863 echo $ECHO_N "(cached) $ECHO_C" >&6
11864 else
11865 ac_cv_header_strings_h=no
11866 fi
11867 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11868 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11869 if test "$ac_cv_header_strings_h" = "no"; then
11870 echo "$as_me:$LINENO: result: forced no into cache" >&5
11871 echo "${ECHO_T}forced no into cache" >&6
11872 else
11873 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11874 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11875 fi
11876 fi
11877 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11878 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11879 if test "${ac_cv_header_stdc+set}" = set; then
11880 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 else
11882 cat >conftest.$ac_ext <<_ACEOF
11883 #line $LINENO "configure"
11884 /* confdefs.h. */
11885 _ACEOF
11886 cat confdefs.h >>conftest.$ac_ext
11887 cat >>conftest.$ac_ext <<_ACEOF
11888 /* end confdefs.h. */
11889 #include <stdlib.h>
11890 #include <stdarg.h>
11891 #include <string.h>
11892 #include <float.h>
11893
11894 int
11895 main ()
11896 {
11897
11898 ;
11899 return 0;
11900 }
11901 _ACEOF
11902 rm -f conftest.$ac_objext
11903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11904 (eval $ac_compile) 2>&5
11905 ac_status=$?
11906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } &&
11908 { ac_try='test -s conftest.$ac_objext'
11909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11910 (eval $ac_try) 2>&5
11911 ac_status=$?
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); }; }; then
11914 ac_cv_header_stdc=yes
11915 else
11916 echo "$as_me: failed program was:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11918
11919 ac_cv_header_stdc=no
11920 fi
11921 rm -f conftest.$ac_objext conftest.$ac_ext
11922
11923 if test $ac_cv_header_stdc = yes; then
11924 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11925 cat >conftest.$ac_ext <<_ACEOF
11926 #line $LINENO "configure"
11927 /* confdefs.h. */
11928 _ACEOF
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 #include <string.h>
11933
11934 _ACEOF
11935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11936 $EGREP "memchr" >/dev/null 2>&1; then
11937 :
11938 else
11939 ac_cv_header_stdc=no
11940 fi
11941 rm -f conftest*
11942
11943 fi
11944
11945 if test $ac_cv_header_stdc = yes; then
11946 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11947 cat >conftest.$ac_ext <<_ACEOF
11948 #line $LINENO "configure"
11949 /* confdefs.h. */
11950 _ACEOF
11951 cat confdefs.h >>conftest.$ac_ext
11952 cat >>conftest.$ac_ext <<_ACEOF
11953 /* end confdefs.h. */
11954 #include <stdlib.h>
11955
11956 _ACEOF
11957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11958 $EGREP "free" >/dev/null 2>&1; then
11959 :
11960 else
11961 ac_cv_header_stdc=no
11962 fi
11963 rm -f conftest*
11964
11965 fi
11966
11967 if test $ac_cv_header_stdc = yes; then
11968 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11969 if test "$cross_compiling" = yes; then
11970 :
11971 else
11972 cat >conftest.$ac_ext <<_ACEOF
11973 #line $LINENO "configure"
11974 /* confdefs.h. */
11975 _ACEOF
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11979 #include <ctype.h>
11980 #if ((' ' & 0x0FF) == 0x020)
11981 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11982 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11983 #else
11984 # define ISLOWER(c) \
11985 (('a' <= (c) && (c) <= 'i') \
11986 || ('j' <= (c) && (c) <= 'r') \
11987 || ('s' <= (c) && (c) <= 'z'))
11988 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11989 #endif
11990
11991 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11992 int
11993 main ()
11994 {
11995 int i;
11996 for (i = 0; i < 256; i++)
11997 if (XOR (islower (i), ISLOWER (i))
11998 || toupper (i) != TOUPPER (i))
11999 exit(2);
12000 exit (0);
12001 }
12002 _ACEOF
12003 rm -f conftest$ac_exeext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12005 (eval $ac_link) 2>&5
12006 ac_status=$?
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; }; then
12014 :
12015 else
12016 echo "$as_me: program exited with status $ac_status" >&5
12017 echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12019
12020 ( exit $ac_status )
12021 ac_cv_header_stdc=no
12022 fi
12023 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12024 fi
12025 fi
12026 fi
12027 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12028 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12029 if test $ac_cv_header_stdc = yes; then
12030
12031 cat >>confdefs.h <<\_ACEOF
12032 #define STDC_HEADERS 1
12033 _ACEOF
12034
12035 fi
12036
12037 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12048 inttypes.h stdint.h unistd.h
12049 do
12050 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12051 echo "$as_me:$LINENO: checking for $ac_header" >&5
12052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056 cat >conftest.$ac_ext <<_ACEOF
12057 #line $LINENO "configure"
12058 /* confdefs.h. */
12059 _ACEOF
12060 cat confdefs.h >>conftest.$ac_ext
12061 cat >>conftest.$ac_ext <<_ACEOF
12062 /* end confdefs.h. */
12063 $ac_includes_default
12064
12065 #include <$ac_header>
12066 _ACEOF
12067 rm -f conftest.$ac_objext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); } &&
12073 { ac_try='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 eval "$as_ac_Header=yes"
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12083
12084 eval "$as_ac_Header=no"
12085 fi
12086 rm -f conftest.$ac_objext conftest.$ac_ext
12087 fi
12088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12091 cat >>confdefs.h <<_ACEOF
12092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12093 _ACEOF
12094
12095 fi
12096
12097 done
12098
12099
12100
12101 for ac_header in strings.h
12102 do
12103 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12104 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12105 echo "$as_me:$LINENO: checking for $ac_header" >&5
12106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 fi
12110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12112 else
12113 # Is the header compilable?
12114 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12115 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12116 cat >conftest.$ac_ext <<_ACEOF
12117 #line $LINENO "configure"
12118 /* confdefs.h. */
12119 _ACEOF
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 $ac_includes_default
12124 #include <$ac_header>
12125 _ACEOF
12126 rm -f conftest.$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>&5
12129 ac_status=$?
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try='test -s conftest.$ac_objext'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; }; then
12138 ac_header_compiler=yes
12139 else
12140 echo "$as_me: failed program was:" >&5
12141 sed 's/^/| /' conftest.$ac_ext >&5
12142
12143 ac_header_compiler=no
12144 fi
12145 rm -f conftest.$ac_objext conftest.$ac_ext
12146 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12147 echo "${ECHO_T}$ac_header_compiler" >&6
12148
12149 # Is the header present?
12150 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12151 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12152 cat >conftest.$ac_ext <<_ACEOF
12153 #line $LINENO "configure"
12154 /* confdefs.h. */
12155 _ACEOF
12156 cat confdefs.h >>conftest.$ac_ext
12157 cat >>conftest.$ac_ext <<_ACEOF
12158 /* end confdefs.h. */
12159 #include <$ac_header>
12160 _ACEOF
12161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12163 ac_status=$?
12164 grep -v '^ *+' conftest.er1 >conftest.err
12165 rm -f conftest.er1
12166 cat conftest.err >&5
12167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168 (exit $ac_status); } >/dev/null; then
12169 if test -s conftest.err; then
12170 ac_cpp_err=$ac_c_preproc_warn_flag
12171 else
12172 ac_cpp_err=
12173 fi
12174 else
12175 ac_cpp_err=yes
12176 fi
12177 if test -z "$ac_cpp_err"; then
12178 ac_header_preproc=yes
12179 else
12180 echo "$as_me: failed program was:" >&5
12181 sed 's/^/| /' conftest.$ac_ext >&5
12182
12183 ac_header_preproc=no
12184 fi
12185 rm -f conftest.err conftest.$ac_ext
12186 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12187 echo "${ECHO_T}$ac_header_preproc" >&6
12188
12189 # So? What about this header?
12190 case $ac_header_compiler:$ac_header_preproc in
12191 yes:no )
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12193 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12196 (
12197 cat <<\_ASBOX
12198 ## ------------------------------------ ##
12199 ## Report this to bug-autoconf@gnu.org. ##
12200 ## ------------------------------------ ##
12201 _ASBOX
12202 ) |
12203 sed "s/^/$as_me: WARNING: /" >&2
12204 ;;
12205 no:yes )
12206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12212 (
12213 cat <<\_ASBOX
12214 ## ------------------------------------ ##
12215 ## Report this to bug-autoconf@gnu.org. ##
12216 ## ------------------------------------ ##
12217 _ASBOX
12218 ) |
12219 sed "s/^/$as_me: WARNING: /" >&2
12220 ;;
12221 esac
12222 echo "$as_me:$LINENO: checking for $ac_header" >&5
12223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12225 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 else
12227 eval "$as_ac_Header=$ac_header_preproc"
12228 fi
12229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12231
12232 fi
12233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12234 cat >>confdefs.h <<_ACEOF
12235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12236 _ACEOF
12237
12238 fi
12239
12240 done
12241
12242
12243
12244 for ac_header in stdlib.h
12245 do
12246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12248 echo "$as_me:$LINENO: checking for $ac_header" >&5
12249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 fi
12253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12255 else
12256 # Is the header compilable?
12257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12259 cat >conftest.$ac_ext <<_ACEOF
12260 #line $LINENO "configure"
12261 /* confdefs.h. */
12262 _ACEOF
12263 cat confdefs.h >>conftest.$ac_ext
12264 cat >>conftest.$ac_ext <<_ACEOF
12265 /* end confdefs.h. */
12266 $ac_includes_default
12267 #include <$ac_header>
12268 _ACEOF
12269 rm -f conftest.$ac_objext
12270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12271 (eval $ac_compile) 2>&5
12272 ac_status=$?
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); } &&
12275 { ac_try='test -s conftest.$ac_objext'
12276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12277 (eval $ac_try) 2>&5
12278 ac_status=$?
12279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12280 (exit $ac_status); }; }; then
12281 ac_header_compiler=yes
12282 else
12283 echo "$as_me: failed program was:" >&5
12284 sed 's/^/| /' conftest.$ac_ext >&5
12285
12286 ac_header_compiler=no
12287 fi
12288 rm -f conftest.$ac_objext conftest.$ac_ext
12289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12290 echo "${ECHO_T}$ac_header_compiler" >&6
12291
12292 # Is the header present?
12293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12295 cat >conftest.$ac_ext <<_ACEOF
12296 #line $LINENO "configure"
12297 /* confdefs.h. */
12298 _ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 #include <$ac_header>
12303 _ACEOF
12304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12306 ac_status=$?
12307 grep -v '^ *+' conftest.er1 >conftest.err
12308 rm -f conftest.er1
12309 cat conftest.err >&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } >/dev/null; then
12312 if test -s conftest.err; then
12313 ac_cpp_err=$ac_c_preproc_warn_flag
12314 else
12315 ac_cpp_err=
12316 fi
12317 else
12318 ac_cpp_err=yes
12319 fi
12320 if test -z "$ac_cpp_err"; then
12321 ac_header_preproc=yes
12322 else
12323 echo "$as_me: failed program was:" >&5
12324 sed 's/^/| /' conftest.$ac_ext >&5
12325
12326 ac_header_preproc=no
12327 fi
12328 rm -f conftest.err conftest.$ac_ext
12329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12330 echo "${ECHO_T}$ac_header_preproc" >&6
12331
12332 # So? What about this header?
12333 case $ac_header_compiler:$ac_header_preproc in
12334 yes:no )
12335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12339 (
12340 cat <<\_ASBOX
12341 ## ------------------------------------ ##
12342 ## Report this to bug-autoconf@gnu.org. ##
12343 ## ------------------------------------ ##
12344 _ASBOX
12345 ) |
12346 sed "s/^/$as_me: WARNING: /" >&2
12347 ;;
12348 no:yes )
12349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12355 (
12356 cat <<\_ASBOX
12357 ## ------------------------------------ ##
12358 ## Report this to bug-autoconf@gnu.org. ##
12359 ## ------------------------------------ ##
12360 _ASBOX
12361 ) |
12362 sed "s/^/$as_me: WARNING: /" >&2
12363 ;;
12364 esac
12365 echo "$as_me:$LINENO: checking for $ac_header" >&5
12366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12368 echo $ECHO_N "(cached) $ECHO_C" >&6
12369 else
12370 eval "$as_ac_Header=$ac_header_preproc"
12371 fi
12372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12374
12375 fi
12376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12377 cat >>confdefs.h <<_ACEOF
12378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12379 _ACEOF
12380
12381 fi
12382
12383 done
12384
12385
12386 for ac_header in malloc.h
12387 do
12388 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12390 echo "$as_me:$LINENO: checking for $ac_header" >&5
12391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12393 echo $ECHO_N "(cached) $ECHO_C" >&6
12394 fi
12395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12397 else
12398 # Is the header compilable?
12399 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12400 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12401 cat >conftest.$ac_ext <<_ACEOF
12402 #line $LINENO "configure"
12403 /* confdefs.h. */
12404 _ACEOF
12405 cat confdefs.h >>conftest.$ac_ext
12406 cat >>conftest.$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 $ac_includes_default
12409 #include <$ac_header>
12410 _ACEOF
12411 rm -f conftest.$ac_objext
12412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12413 (eval $ac_compile) 2>&5
12414 ac_status=$?
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try='test -s conftest.$ac_objext'
12418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419 (eval $ac_try) 2>&5
12420 ac_status=$?
12421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422 (exit $ac_status); }; }; then
12423 ac_header_compiler=yes
12424 else
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.$ac_ext >&5
12427
12428 ac_header_compiler=no
12429 fi
12430 rm -f conftest.$ac_objext conftest.$ac_ext
12431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12432 echo "${ECHO_T}$ac_header_compiler" >&6
12433
12434 # Is the header present?
12435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12437 cat >conftest.$ac_ext <<_ACEOF
12438 #line $LINENO "configure"
12439 /* confdefs.h. */
12440 _ACEOF
12441 cat confdefs.h >>conftest.$ac_ext
12442 cat >>conftest.$ac_ext <<_ACEOF
12443 /* end confdefs.h. */
12444 #include <$ac_header>
12445 _ACEOF
12446 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12447 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12448 ac_status=$?
12449 grep -v '^ *+' conftest.er1 >conftest.err
12450 rm -f conftest.er1
12451 cat conftest.err >&5
12452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12453 (exit $ac_status); } >/dev/null; then
12454 if test -s conftest.err; then
12455 ac_cpp_err=$ac_c_preproc_warn_flag
12456 else
12457 ac_cpp_err=
12458 fi
12459 else
12460 ac_cpp_err=yes
12461 fi
12462 if test -z "$ac_cpp_err"; then
12463 ac_header_preproc=yes
12464 else
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12467
12468 ac_header_preproc=no
12469 fi
12470 rm -f conftest.err conftest.$ac_ext
12471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12472 echo "${ECHO_T}$ac_header_preproc" >&6
12473
12474 # So? What about this header?
12475 case $ac_header_compiler:$ac_header_preproc in
12476 yes:no )
12477 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12481 (
12482 cat <<\_ASBOX
12483 ## ------------------------------------ ##
12484 ## Report this to bug-autoconf@gnu.org. ##
12485 ## ------------------------------------ ##
12486 _ASBOX
12487 ) |
12488 sed "s/^/$as_me: WARNING: /" >&2
12489 ;;
12490 no:yes )
12491 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12492 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12493 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12494 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12496 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12497 (
12498 cat <<\_ASBOX
12499 ## ------------------------------------ ##
12500 ## Report this to bug-autoconf@gnu.org. ##
12501 ## ------------------------------------ ##
12502 _ASBOX
12503 ) |
12504 sed "s/^/$as_me: WARNING: /" >&2
12505 ;;
12506 esac
12507 echo "$as_me:$LINENO: checking for $ac_header" >&5
12508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12509 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12510 echo $ECHO_N "(cached) $ECHO_C" >&6
12511 else
12512 eval "$as_ac_Header=$ac_header_preproc"
12513 fi
12514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12516
12517 fi
12518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12519 cat >>confdefs.h <<_ACEOF
12520 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12521 _ACEOF
12522
12523 fi
12524
12525 done
12526
12527
12528 for ac_header in unistd.h
12529 do
12530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12532 echo "$as_me:$LINENO: checking for $ac_header" >&5
12533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12535 echo $ECHO_N "(cached) $ECHO_C" >&6
12536 fi
12537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12539 else
12540 # Is the header compilable?
12541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12543 cat >conftest.$ac_ext <<_ACEOF
12544 #line $LINENO "configure"
12545 /* confdefs.h. */
12546 _ACEOF
12547 cat confdefs.h >>conftest.$ac_ext
12548 cat >>conftest.$ac_ext <<_ACEOF
12549 /* end confdefs.h. */
12550 $ac_includes_default
12551 #include <$ac_header>
12552 _ACEOF
12553 rm -f conftest.$ac_objext
12554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12555 (eval $ac_compile) 2>&5
12556 ac_status=$?
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -s conftest.$ac_objext'
12560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12561 (eval $ac_try) 2>&5
12562 ac_status=$?
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); }; }; then
12565 ac_header_compiler=yes
12566 else
12567 echo "$as_me: failed program was:" >&5
12568 sed 's/^/| /' conftest.$ac_ext >&5
12569
12570 ac_header_compiler=no
12571 fi
12572 rm -f conftest.$ac_objext conftest.$ac_ext
12573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12574 echo "${ECHO_T}$ac_header_compiler" >&6
12575
12576 # Is the header present?
12577 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12578 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12579 cat >conftest.$ac_ext <<_ACEOF
12580 #line $LINENO "configure"
12581 /* confdefs.h. */
12582 _ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h. */
12586 #include <$ac_header>
12587 _ACEOF
12588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12590 ac_status=$?
12591 grep -v '^ *+' conftest.er1 >conftest.err
12592 rm -f conftest.er1
12593 cat conftest.err >&5
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); } >/dev/null; then
12596 if test -s conftest.err; then
12597 ac_cpp_err=$ac_c_preproc_warn_flag
12598 else
12599 ac_cpp_err=
12600 fi
12601 else
12602 ac_cpp_err=yes
12603 fi
12604 if test -z "$ac_cpp_err"; then
12605 ac_header_preproc=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_header_preproc=no
12611 fi
12612 rm -f conftest.err conftest.$ac_ext
12613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12614 echo "${ECHO_T}$ac_header_preproc" >&6
12615
12616 # So? What about this header?
12617 case $ac_header_compiler:$ac_header_preproc in
12618 yes:no )
12619 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12620 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12622 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12623 (
12624 cat <<\_ASBOX
12625 ## ------------------------------------ ##
12626 ## Report this to bug-autoconf@gnu.org. ##
12627 ## ------------------------------------ ##
12628 _ASBOX
12629 ) |
12630 sed "s/^/$as_me: WARNING: /" >&2
12631 ;;
12632 no:yes )
12633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12639 (
12640 cat <<\_ASBOX
12641 ## ------------------------------------ ##
12642 ## Report this to bug-autoconf@gnu.org. ##
12643 ## ------------------------------------ ##
12644 _ASBOX
12645 ) |
12646 sed "s/^/$as_me: WARNING: /" >&2
12647 ;;
12648 esac
12649 echo "$as_me:$LINENO: checking for $ac_header" >&5
12650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12652 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 else
12654 eval "$as_ac_Header=$ac_header_preproc"
12655 fi
12656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12658
12659 fi
12660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12661 cat >>confdefs.h <<_ACEOF
12662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12663 _ACEOF
12664
12665 fi
12666
12667 done
12668
12669
12670 for ac_header in wchar.h
12671 do
12672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12674 echo "$as_me:$LINENO: checking for $ac_header" >&5
12675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12677 echo $ECHO_N "(cached) $ECHO_C" >&6
12678 fi
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12681 else
12682 # Is the header compilable?
12683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12685 cat >conftest.$ac_ext <<_ACEOF
12686 #line $LINENO "configure"
12687 /* confdefs.h. */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692 $ac_includes_default
12693 #include <$ac_header>
12694 _ACEOF
12695 rm -f conftest.$ac_objext
12696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12697 (eval $ac_compile) 2>&5
12698 ac_status=$?
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } &&
12701 { ac_try='test -s conftest.$ac_objext'
12702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12703 (eval $ac_try) 2>&5
12704 ac_status=$?
12705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706 (exit $ac_status); }; }; then
12707 ac_header_compiler=yes
12708 else
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.$ac_ext >&5
12711
12712 ac_header_compiler=no
12713 fi
12714 rm -f conftest.$ac_objext conftest.$ac_ext
12715 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12716 echo "${ECHO_T}$ac_header_compiler" >&6
12717
12718 # Is the header present?
12719 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12720 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12721 cat >conftest.$ac_ext <<_ACEOF
12722 #line $LINENO "configure"
12723 /* confdefs.h. */
12724 _ACEOF
12725 cat confdefs.h >>conftest.$ac_ext
12726 cat >>conftest.$ac_ext <<_ACEOF
12727 /* end confdefs.h. */
12728 #include <$ac_header>
12729 _ACEOF
12730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } >/dev/null; then
12738 if test -s conftest.err; then
12739 ac_cpp_err=$ac_c_preproc_warn_flag
12740 else
12741 ac_cpp_err=
12742 fi
12743 else
12744 ac_cpp_err=yes
12745 fi
12746 if test -z "$ac_cpp_err"; then
12747 ac_header_preproc=yes
12748 else
12749 echo "$as_me: failed program was:" >&5
12750 sed 's/^/| /' conftest.$ac_ext >&5
12751
12752 ac_header_preproc=no
12753 fi
12754 rm -f conftest.err conftest.$ac_ext
12755 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12756 echo "${ECHO_T}$ac_header_preproc" >&6
12757
12758 # So? What about this header?
12759 case $ac_header_compiler:$ac_header_preproc in
12760 yes:no )
12761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12765 (
12766 cat <<\_ASBOX
12767 ## ------------------------------------ ##
12768 ## Report this to bug-autoconf@gnu.org. ##
12769 ## ------------------------------------ ##
12770 _ASBOX
12771 ) |
12772 sed "s/^/$as_me: WARNING: /" >&2
12773 ;;
12774 no:yes )
12775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12781 (
12782 cat <<\_ASBOX
12783 ## ------------------------------------ ##
12784 ## Report this to bug-autoconf@gnu.org. ##
12785 ## ------------------------------------ ##
12786 _ASBOX
12787 ) |
12788 sed "s/^/$as_me: WARNING: /" >&2
12789 ;;
12790 esac
12791 echo "$as_me:$LINENO: checking for $ac_header" >&5
12792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 eval "$as_ac_Header=$ac_header_preproc"
12797 fi
12798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12800
12801 fi
12802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12803 cat >>confdefs.h <<_ACEOF
12804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12805 _ACEOF
12806
12807 fi
12808
12809 done
12810
12811
12812 if test "$ac_cv_header_wchar_h" != "yes"; then
12813
12814 for ac_header in wcstr.h
12815 do
12816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12818 echo "$as_me:$LINENO: checking for $ac_header" >&5
12819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 fi
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825 else
12826 # Is the header compilable?
12827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12829 cat >conftest.$ac_ext <<_ACEOF
12830 #line $LINENO "configure"
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 $ac_includes_default
12837 #include <$ac_header>
12838 _ACEOF
12839 rm -f conftest.$ac_objext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_header_compiler=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12855
12856 ac_header_compiler=no
12857 fi
12858 rm -f conftest.$ac_objext conftest.$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12860 echo "${ECHO_T}$ac_header_compiler" >&6
12861
12862 # Is the header present?
12863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12865 cat >conftest.$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12867 /* confdefs.h. */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12873 _ACEOF
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev/null; then
12882 if test -s conftest.err; then
12883 ac_cpp_err=$ac_c_preproc_warn_flag
12884 else
12885 ac_cpp_err=
12886 fi
12887 else
12888 ac_cpp_err=yes
12889 fi
12890 if test -z "$ac_cpp_err"; then
12891 ac_header_preproc=yes
12892 else
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12895
12896 ac_header_preproc=no
12897 fi
12898 rm -f conftest.err conftest.$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12900 echo "${ECHO_T}$ac_header_preproc" >&6
12901
12902 # So? What about this header?
12903 case $ac_header_compiler:$ac_header_preproc in
12904 yes:no )
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12909 (
12910 cat <<\_ASBOX
12911 ## ------------------------------------ ##
12912 ## Report this to bug-autoconf@gnu.org. ##
12913 ## ------------------------------------ ##
12914 _ASBOX
12915 ) |
12916 sed "s/^/$as_me: WARNING: /" >&2
12917 ;;
12918 no:yes )
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12925 (
12926 cat <<\_ASBOX
12927 ## ------------------------------------ ##
12928 ## Report this to bug-autoconf@gnu.org. ##
12929 ## ------------------------------------ ##
12930 _ASBOX
12931 ) |
12932 sed "s/^/$as_me: WARNING: /" >&2
12933 ;;
12934 esac
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 else
12940 eval "$as_ac_Header=$ac_header_preproc"
12941 fi
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944
12945 fi
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12949 _ACEOF
12950
12951 fi
12952
12953 done
12954
12955 fi
12956
12957
12958 for ac_header in fnmatch.h
12959 do
12960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12962 echo "$as_me:$LINENO: checking for $ac_header" >&5
12963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12965 echo $ECHO_N "(cached) $ECHO_C" >&6
12966 fi
12967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12969 else
12970 # Is the header compilable?
12971 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12972 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12973 cat >conftest.$ac_ext <<_ACEOF
12974 #line $LINENO "configure"
12975 /* confdefs.h. */
12976 _ACEOF
12977 cat confdefs.h >>conftest.$ac_ext
12978 cat >>conftest.$ac_ext <<_ACEOF
12979 /* end confdefs.h. */
12980 $ac_includes_default
12981 #include <$ac_header>
12982 _ACEOF
12983 rm -f conftest.$ac_objext
12984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12985 (eval $ac_compile) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); } &&
12989 { ac_try='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 ac_header_compiler=yes
12996 else
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
12999
13000 ac_header_compiler=no
13001 fi
13002 rm -f conftest.$ac_objext conftest.$ac_ext
13003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13004 echo "${ECHO_T}$ac_header_compiler" >&6
13005
13006 # Is the header present?
13007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13009 cat >conftest.$ac_ext <<_ACEOF
13010 #line $LINENO "configure"
13011 /* confdefs.h. */
13012 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 #include <$ac_header>
13017 _ACEOF
13018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13020 ac_status=$?
13021 grep -v '^ *+' conftest.er1 >conftest.err
13022 rm -f conftest.er1
13023 cat conftest.err >&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); } >/dev/null; then
13026 if test -s conftest.err; then
13027 ac_cpp_err=$ac_c_preproc_warn_flag
13028 else
13029 ac_cpp_err=
13030 fi
13031 else
13032 ac_cpp_err=yes
13033 fi
13034 if test -z "$ac_cpp_err"; then
13035 ac_header_preproc=yes
13036 else
13037 echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.$ac_ext >&5
13039
13040 ac_header_preproc=no
13041 fi
13042 rm -f conftest.err conftest.$ac_ext
13043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13044 echo "${ECHO_T}$ac_header_preproc" >&6
13045
13046 # So? What about this header?
13047 case $ac_header_compiler:$ac_header_preproc in
13048 yes:no )
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13051 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13053 (
13054 cat <<\_ASBOX
13055 ## ------------------------------------ ##
13056 ## Report this to bug-autoconf@gnu.org. ##
13057 ## ------------------------------------ ##
13058 _ASBOX
13059 ) |
13060 sed "s/^/$as_me: WARNING: /" >&2
13061 ;;
13062 no:yes )
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13064 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13066 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13067 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13068 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13069 (
13070 cat <<\_ASBOX
13071 ## ------------------------------------ ##
13072 ## Report this to bug-autoconf@gnu.org. ##
13073 ## ------------------------------------ ##
13074 _ASBOX
13075 ) |
13076 sed "s/^/$as_me: WARNING: /" >&2
13077 ;;
13078 esac
13079 echo "$as_me:$LINENO: checking for $ac_header" >&5
13080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13082 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 else
13084 eval "$as_ac_Header=$ac_header_preproc"
13085 fi
13086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13088
13089 fi
13090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13091 cat >>confdefs.h <<_ACEOF
13092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13093 _ACEOF
13094
13095 fi
13096
13097 done
13098
13099
13100 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13101
13102 for ac_func in fnmatch
13103 do
13104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13105 echo "$as_me:$LINENO: checking for $ac_func" >&5
13106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13107 if eval "test \"\${$as_ac_var+set}\" = set"; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 else
13110 cat >conftest.$ac_ext <<_ACEOF
13111 #line $LINENO "configure"
13112 /* confdefs.h. */
13113 _ACEOF
13114 cat confdefs.h >>conftest.$ac_ext
13115 cat >>conftest.$ac_ext <<_ACEOF
13116 /* end confdefs.h. */
13117 /* System header to define __stub macros and hopefully few prototypes,
13118 which can conflict with char $ac_func (); below.
13119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13120 <limits.h> exists even on freestanding compilers. */
13121 #ifdef __STDC__
13122 # include <limits.h>
13123 #else
13124 # include <assert.h>
13125 #endif
13126 /* Override any gcc2 internal prototype to avoid an error. */
13127 #ifdef __cplusplus
13128 extern "C"
13129 {
13130 #endif
13131 /* We use char because int might match the return type of a gcc2
13132 builtin and then its argument prototype would still apply. */
13133 char $ac_func ();
13134 /* The GNU C library defines this for functions which it implements
13135 to always fail with ENOSYS. Some functions are actually named
13136 something starting with __ and the normal name is an alias. */
13137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13138 choke me
13139 #else
13140 char (*f) () = $ac_func;
13141 #endif
13142 #ifdef __cplusplus
13143 }
13144 #endif
13145
13146 int
13147 main ()
13148 {
13149 return f != $ac_func;
13150 ;
13151 return 0;
13152 }
13153 _ACEOF
13154 rm -f conftest.$ac_objext conftest$ac_exeext
13155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13156 (eval $ac_link) 2>&5
13157 ac_status=$?
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); } &&
13160 { ac_try='test -s conftest$ac_exeext'
13161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13162 (eval $ac_try) 2>&5
13163 ac_status=$?
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; }; then
13166 eval "$as_ac_var=yes"
13167 else
13168 echo "$as_me: failed program was:" >&5
13169 sed 's/^/| /' conftest.$ac_ext >&5
13170
13171 eval "$as_ac_var=no"
13172 fi
13173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13174 fi
13175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13177 if test `eval echo '${'$as_ac_var'}'` = yes; then
13178 cat >>confdefs.h <<_ACEOF
13179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13180 _ACEOF
13181
13182 fi
13183 done
13184
13185 fi
13186
13187
13188 for ac_header in langinfo.h
13189 do
13190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 fi
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199 else
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.$ac_ext <<_ACEOF
13204 #line $LINENO "configure"
13205 /* confdefs.h. */
13206 _ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 #include <$ac_header>
13212 _ACEOF
13213 rm -f conftest.$ac_objext
13214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13215 (eval $ac_compile) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler=yes
13226 else
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13229
13230 ac_header_compiler=no
13231 fi
13232 rm -f conftest.$ac_objext conftest.$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234 echo "${ECHO_T}$ac_header_compiler" >&6
13235
13236 # Is the header present?
13237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239 cat >conftest.$ac_ext <<_ACEOF
13240 #line $LINENO "configure"
13241 /* confdefs.h. */
13242 _ACEOF
13243 cat confdefs.h >>conftest.$ac_ext
13244 cat >>conftest.$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <$ac_header>
13247 _ACEOF
13248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null; then
13256 if test -s conftest.err; then
13257 ac_cpp_err=$ac_c_preproc_warn_flag
13258 else
13259 ac_cpp_err=
13260 fi
13261 else
13262 ac_cpp_err=yes
13263 fi
13264 if test -z "$ac_cpp_err"; then
13265 ac_header_preproc=yes
13266 else
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13269
13270 ac_header_preproc=no
13271 fi
13272 rm -f conftest.err conftest.$ac_ext
13273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274 echo "${ECHO_T}$ac_header_preproc" >&6
13275
13276 # So? What about this header?
13277 case $ac_header_compiler:$ac_header_preproc in
13278 yes:no )
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13283 (
13284 cat <<\_ASBOX
13285 ## ------------------------------------ ##
13286 ## Report this to bug-autoconf@gnu.org. ##
13287 ## ------------------------------------ ##
13288 _ASBOX
13289 ) |
13290 sed "s/^/$as_me: WARNING: /" >&2
13291 ;;
13292 no:yes )
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13299 (
13300 cat <<\_ASBOX
13301 ## ------------------------------------ ##
13302 ## Report this to bug-autoconf@gnu.org. ##
13303 ## ------------------------------------ ##
13304 _ASBOX
13305 ) |
13306 sed "s/^/$as_me: WARNING: /" >&2
13307 ;;
13308 esac
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314 eval "$as_ac_Header=$ac_header_preproc"
13315 fi
13316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318
13319 fi
13320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323 _ACEOF
13324
13325 fi
13326
13327 done
13328
13329
13330 case "${host}" in
13331 *-pc-os2_emx | *-pc-os2-emx )
13332 if test $ac_cv_header_langinfo_h = "yes"; then
13333 LIBS="$LIBS -lintl"
13334 fi
13335 ;;
13336 esac
13337
13338 if test "$wxUSE_GUI" = "yes"; then
13339 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13340
13341 for ac_header in X11/Xlib.h
13342 do
13343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13345 echo "$as_me:$LINENO: checking for $ac_header" >&5
13346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 fi
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13352 else
13353 # Is the header compilable?
13354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13356 cat >conftest.$ac_ext <<_ACEOF
13357 #line $LINENO "configure"
13358 /* confdefs.h. */
13359 _ACEOF
13360 cat confdefs.h >>conftest.$ac_ext
13361 cat >>conftest.$ac_ext <<_ACEOF
13362 /* end confdefs.h. */
13363 $ac_includes_default
13364 #include <$ac_header>
13365 _ACEOF
13366 rm -f conftest.$ac_objext
13367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13368 (eval $ac_compile) 2>&5
13369 ac_status=$?
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); } &&
13372 { ac_try='test -s conftest.$ac_objext'
13373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13374 (eval $ac_try) 2>&5
13375 ac_status=$?
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); }; }; then
13378 ac_header_compiler=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 ac_header_compiler=no
13384 fi
13385 rm -f conftest.$ac_objext conftest.$ac_ext
13386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13387 echo "${ECHO_T}$ac_header_compiler" >&6
13388
13389 # Is the header present?
13390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13392 cat >conftest.$ac_ext <<_ACEOF
13393 #line $LINENO "configure"
13394 /* confdefs.h. */
13395 _ACEOF
13396 cat confdefs.h >>conftest.$ac_ext
13397 cat >>conftest.$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 #include <$ac_header>
13400 _ACEOF
13401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13402 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13403 ac_status=$?
13404 grep -v '^ *+' conftest.er1 >conftest.err
13405 rm -f conftest.er1
13406 cat conftest.err >&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } >/dev/null; then
13409 if test -s conftest.err; then
13410 ac_cpp_err=$ac_c_preproc_warn_flag
13411 else
13412 ac_cpp_err=
13413 fi
13414 else
13415 ac_cpp_err=yes
13416 fi
13417 if test -z "$ac_cpp_err"; then
13418 ac_header_preproc=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13422
13423 ac_header_preproc=no
13424 fi
13425 rm -f conftest.err conftest.$ac_ext
13426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13427 echo "${ECHO_T}$ac_header_preproc" >&6
13428
13429 # So? What about this header?
13430 case $ac_header_compiler:$ac_header_preproc in
13431 yes:no )
13432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13436 (
13437 cat <<\_ASBOX
13438 ## ------------------------------------ ##
13439 ## Report this to bug-autoconf@gnu.org. ##
13440 ## ------------------------------------ ##
13441 _ASBOX
13442 ) |
13443 sed "s/^/$as_me: WARNING: /" >&2
13444 ;;
13445 no:yes )
13446 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13447 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13448 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13449 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13452 (
13453 cat <<\_ASBOX
13454 ## ------------------------------------ ##
13455 ## Report this to bug-autoconf@gnu.org. ##
13456 ## ------------------------------------ ##
13457 _ASBOX
13458 ) |
13459 sed "s/^/$as_me: WARNING: /" >&2
13460 ;;
13461 esac
13462 echo "$as_me:$LINENO: checking for $ac_header" >&5
13463 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13466 else
13467 eval "$as_ac_Header=$ac_header_preproc"
13468 fi
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13471
13472 fi
13473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13474 cat >>confdefs.h <<_ACEOF
13475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13476 _ACEOF
13477
13478 fi
13479
13480 done
13481
13482
13483 for ac_header in X11/XKBlib.h
13484 do
13485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13486 echo "$as_me:$LINENO: checking for $ac_header" >&5
13487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13489 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 else
13491 cat >conftest.$ac_ext <<_ACEOF
13492 #line $LINENO "configure"
13493 /* confdefs.h. */
13494 _ACEOF
13495 cat confdefs.h >>conftest.$ac_ext
13496 cat >>conftest.$ac_ext <<_ACEOF
13497 /* end confdefs.h. */
13498
13499 #if HAVE_X11_XLIB_H
13500 #include <X11/Xlib.h>
13501 #endif
13502
13503
13504 #include <$ac_header>
13505 _ACEOF
13506 rm -f conftest.$ac_objext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13508 (eval $ac_compile) 2>&5
13509 ac_status=$?
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } &&
13512 { ac_try='test -s conftest.$ac_objext'
13513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13514 (eval $ac_try) 2>&5
13515 ac_status=$?
13516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13517 (exit $ac_status); }; }; then
13518 eval "$as_ac_Header=yes"
13519 else
13520 echo "$as_me: failed program was:" >&5
13521 sed 's/^/| /' conftest.$ac_ext >&5
13522
13523 eval "$as_ac_Header=no"
13524 fi
13525 rm -f conftest.$ac_objext conftest.$ac_ext
13526 fi
13527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13530 cat >>confdefs.h <<_ACEOF
13531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13532 _ACEOF
13533
13534 fi
13535
13536 done
13537
13538 fi
13539 fi
13540
13541
13542 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13543 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13544 if test "${ac_cv_c_const+set}" = set; then
13545 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 else
13547 cat >conftest.$ac_ext <<_ACEOF
13548 #line $LINENO "configure"
13549 /* confdefs.h. */
13550 _ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13554
13555 int
13556 main ()
13557 {
13558 /* FIXME: Include the comments suggested by Paul. */
13559 #ifndef __cplusplus
13560 /* Ultrix mips cc rejects this. */
13561 typedef int charset[2];
13562 const charset x;
13563 /* SunOS 4.1.1 cc rejects this. */
13564 char const *const *ccp;
13565 char **p;
13566 /* NEC SVR4.0.2 mips cc rejects this. */
13567 struct point {int x, y;};
13568 static struct point const zero = {0,0};
13569 /* AIX XL C 1.02.0.0 rejects this.
13570 It does not let you subtract one const X* pointer from another in
13571 an arm of an if-expression whose if-part is not a constant
13572 expression */
13573 const char *g = "string";
13574 ccp = &g + (g ? g-g : 0);
13575 /* HPUX 7.0 cc rejects these. */
13576 ++ccp;
13577 p = (char**) ccp;
13578 ccp = (char const *const *) p;
13579 { /* SCO 3.2v4 cc rejects this. */
13580 char *t;
13581 char const *s = 0 ? (char *) 0 : (char const *) 0;
13582
13583 *t++ = 0;
13584 }
13585 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13586 int x[] = {25, 17};
13587 const int *foo = &x[0];
13588 ++foo;
13589 }
13590 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13591 typedef const int *iptr;
13592 iptr p = 0;
13593 ++p;
13594 }
13595 { /* AIX XL C 1.02.0.0 rejects this saying
13596 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13597 struct s { int j; const int *ap[3]; };
13598 struct s *b; b->j = 5;
13599 }
13600 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13601 const int foo = 10;
13602 }
13603 #endif
13604
13605 ;
13606 return 0;
13607 }
13608 _ACEOF
13609 rm -f conftest.$ac_objext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611 (eval $ac_compile) 2>&5
13612 ac_status=$?
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); } &&
13615 { ac_try='test -s conftest.$ac_objext'
13616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13617 (eval $ac_try) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }; }; then
13621 ac_cv_c_const=yes
13622 else
13623 echo "$as_me: failed program was:" >&5
13624 sed 's/^/| /' conftest.$ac_ext >&5
13625
13626 ac_cv_c_const=no
13627 fi
13628 rm -f conftest.$ac_objext conftest.$ac_ext
13629 fi
13630 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13631 echo "${ECHO_T}$ac_cv_c_const" >&6
13632 if test $ac_cv_c_const = no; then
13633
13634 cat >>confdefs.h <<\_ACEOF
13635 #define const
13636 _ACEOF
13637
13638 fi
13639
13640 echo "$as_me:$LINENO: checking for inline" >&5
13641 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13642 if test "${ac_cv_c_inline+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13644 else
13645 ac_cv_c_inline=no
13646 for ac_kw in inline __inline__ __inline; do
13647 cat >conftest.$ac_ext <<_ACEOF
13648 #line $LINENO "configure"
13649 /* confdefs.h. */
13650 _ACEOF
13651 cat confdefs.h >>conftest.$ac_ext
13652 cat >>conftest.$ac_ext <<_ACEOF
13653 /* end confdefs.h. */
13654 #ifndef __cplusplus
13655 typedef int foo_t;
13656 static $ac_kw foo_t static_foo () {return 0; }
13657 $ac_kw foo_t foo () {return 0; }
13658 #endif
13659
13660 _ACEOF
13661 rm -f conftest.$ac_objext
13662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13663 (eval $ac_compile) 2>&5
13664 ac_status=$?
13665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666 (exit $ac_status); } &&
13667 { ac_try='test -s conftest.$ac_objext'
13668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13669 (eval $ac_try) 2>&5
13670 ac_status=$?
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; }; then
13673 ac_cv_c_inline=$ac_kw; break
13674 else
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.$ac_ext >&5
13677
13678 fi
13679 rm -f conftest.$ac_objext conftest.$ac_ext
13680 done
13681
13682 fi
13683 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13684 echo "${ECHO_T}$ac_cv_c_inline" >&6
13685 case $ac_cv_c_inline in
13686 inline | yes) ;;
13687 no)
13688 cat >>confdefs.h <<\_ACEOF
13689 #define inline
13690 _ACEOF
13691 ;;
13692 *) cat >>confdefs.h <<_ACEOF
13693 #define inline $ac_cv_c_inline
13694 _ACEOF
13695 ;;
13696 esac
13697
13698
13699 echo "$as_me:$LINENO: checking for char" >&5
13700 echo $ECHO_N "checking for char... $ECHO_C" >&6
13701 if test "${ac_cv_type_char+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13704 cat >conftest.$ac_ext <<_ACEOF
13705 #line $LINENO "configure"
13706 /* confdefs.h. */
13707 _ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h. */
13711 $ac_includes_default
13712 int
13713 main ()
13714 {
13715 if ((char *) 0)
13716 return 0;
13717 if (sizeof (char))
13718 return 0;
13719 ;
13720 return 0;
13721 }
13722 _ACEOF
13723 rm -f conftest.$ac_objext
13724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13725 (eval $ac_compile) 2>&5
13726 ac_status=$?
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } &&
13729 { ac_try='test -s conftest.$ac_objext'
13730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13731 (eval $ac_try) 2>&5
13732 ac_status=$?
13733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13734 (exit $ac_status); }; }; then
13735 ac_cv_type_char=yes
13736 else
13737 echo "$as_me: failed program was:" >&5
13738 sed 's/^/| /' conftest.$ac_ext >&5
13739
13740 ac_cv_type_char=no
13741 fi
13742 rm -f conftest.$ac_objext conftest.$ac_ext
13743 fi
13744 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13745 echo "${ECHO_T}$ac_cv_type_char" >&6
13746
13747 echo "$as_me:$LINENO: checking size of char" >&5
13748 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13749 if test "${ac_cv_sizeof_char+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 else
13752 if test "$ac_cv_type_char" = yes; then
13753 # The cast to unsigned long works around a bug in the HP C Compiler
13754 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13755 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13756 # This bug is HP SR number 8606223364.
13757 if test "$cross_compiling" = yes; then
13758 # Depending upon the size, compute the lo and hi bounds.
13759 cat >conftest.$ac_ext <<_ACEOF
13760 #line $LINENO "configure"
13761 /* confdefs.h. */
13762 _ACEOF
13763 cat confdefs.h >>conftest.$ac_ext
13764 cat >>conftest.$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13766 $ac_includes_default
13767 int
13768 main ()
13769 {
13770 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13771 test_array [0] = 0
13772
13773 ;
13774 return 0;
13775 }
13776 _ACEOF
13777 rm -f conftest.$ac_objext
13778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13779 (eval $ac_compile) 2>&5
13780 ac_status=$?
13781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13782 (exit $ac_status); } &&
13783 { ac_try='test -s conftest.$ac_objext'
13784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13785 (eval $ac_try) 2>&5
13786 ac_status=$?
13787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); }; }; then
13789 ac_lo=0 ac_mid=0
13790 while :; do
13791 cat >conftest.$ac_ext <<_ACEOF
13792 #line $LINENO "configure"
13793 /* confdefs.h. */
13794 _ACEOF
13795 cat confdefs.h >>conftest.$ac_ext
13796 cat >>conftest.$ac_ext <<_ACEOF
13797 /* end confdefs.h. */
13798 $ac_includes_default
13799 int
13800 main ()
13801 {
13802 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13803 test_array [0] = 0
13804
13805 ;
13806 return 0;
13807 }
13808 _ACEOF
13809 rm -f conftest.$ac_objext
13810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13811 (eval $ac_compile) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); } &&
13815 { ac_try='test -s conftest.$ac_objext'
13816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13817 (eval $ac_try) 2>&5
13818 ac_status=$?
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); }; }; then
13821 ac_hi=$ac_mid; break
13822 else
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.$ac_ext >&5
13825
13826 ac_lo=`expr $ac_mid + 1`
13827 if test $ac_lo -le $ac_mid; then
13828 ac_lo= ac_hi=
13829 break
13830 fi
13831 ac_mid=`expr 2 '*' $ac_mid + 1`
13832 fi
13833 rm -f conftest.$ac_objext conftest.$ac_ext
13834 done
13835 else
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13838
13839 cat >conftest.$ac_ext <<_ACEOF
13840 #line $LINENO "configure"
13841 /* confdefs.h. */
13842 _ACEOF
13843 cat confdefs.h >>conftest.$ac_ext
13844 cat >>conftest.$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846 $ac_includes_default
13847 int
13848 main ()
13849 {
13850 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13851 test_array [0] = 0
13852
13853 ;
13854 return 0;
13855 }
13856 _ACEOF
13857 rm -f conftest.$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>&5
13860 ac_status=$?
13861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13862 (exit $ac_status); } &&
13863 { ac_try='test -s conftest.$ac_objext'
13864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13865 (eval $ac_try) 2>&5
13866 ac_status=$?
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); }; }; then
13869 ac_hi=-1 ac_mid=-1
13870 while :; do
13871 cat >conftest.$ac_ext <<_ACEOF
13872 #line $LINENO "configure"
13873 /* confdefs.h. */
13874 _ACEOF
13875 cat confdefs.h >>conftest.$ac_ext
13876 cat >>conftest.$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13878 $ac_includes_default
13879 int
13880 main ()
13881 {
13882 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13883 test_array [0] = 0
13884
13885 ;
13886 return 0;
13887 }
13888 _ACEOF
13889 rm -f conftest.$ac_objext
13890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13891 (eval $ac_compile) 2>&5
13892 ac_status=$?
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } &&
13895 { ac_try='test -s conftest.$ac_objext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13898 ac_status=$?
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 ac_lo=$ac_mid; break
13902 else
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.$ac_ext >&5
13905
13906 ac_hi=`expr '(' $ac_mid ')' - 1`
13907 if test $ac_mid -le $ac_hi; then
13908 ac_lo= ac_hi=
13909 break
13910 fi
13911 ac_mid=`expr 2 '*' $ac_mid`
13912 fi
13913 rm -f conftest.$ac_objext conftest.$ac_ext
13914 done
13915 else
13916 echo "$as_me: failed program was:" >&5
13917 sed 's/^/| /' conftest.$ac_ext >&5
13918
13919 ac_lo= ac_hi=
13920 fi
13921 rm -f conftest.$ac_objext conftest.$ac_ext
13922 fi
13923 rm -f conftest.$ac_objext conftest.$ac_ext
13924 # Binary search between lo and hi bounds.
13925 while test "x$ac_lo" != "x$ac_hi"; do
13926 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13927 cat >conftest.$ac_ext <<_ACEOF
13928 #line $LINENO "configure"
13929 /* confdefs.h. */
13930 _ACEOF
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13934 $ac_includes_default
13935 int
13936 main ()
13937 {
13938 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13939 test_array [0] = 0
13940
13941 ;
13942 return 0;
13943 }
13944 _ACEOF
13945 rm -f conftest.$ac_objext
13946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13947 (eval $ac_compile) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); } &&
13951 { ac_try='test -s conftest.$ac_objext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13954 ac_status=$?
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 ac_hi=$ac_mid
13958 else
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.$ac_ext >&5
13961
13962 ac_lo=`expr '(' $ac_mid ')' + 1`
13963 fi
13964 rm -f conftest.$ac_objext conftest.$ac_ext
13965 done
13966 case $ac_lo in
13967 ?*) ac_cv_sizeof_char=$ac_lo;;
13968 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13969 See \`config.log' for more details." >&5
13970 echo "$as_me: error: cannot compute sizeof (char), 77
13971 See \`config.log' for more details." >&2;}
13972 { (exit 1); exit 1; }; } ;;
13973 esac
13974 else
13975 if test "$cross_compiling" = yes; then
13976 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13977 See \`config.log' for more details." >&5
13978 echo "$as_me: error: cannot run test program while cross compiling
13979 See \`config.log' for more details." >&2;}
13980 { (exit 1); exit 1; }; }
13981 else
13982 cat >conftest.$ac_ext <<_ACEOF
13983 #line $LINENO "configure"
13984 /* confdefs.h. */
13985 _ACEOF
13986 cat confdefs.h >>conftest.$ac_ext
13987 cat >>conftest.$ac_ext <<_ACEOF
13988 /* end confdefs.h. */
13989 $ac_includes_default
13990 long longval () { return (long) (sizeof (char)); }
13991 unsigned long ulongval () { return (long) (sizeof (char)); }
13992 #include <stdio.h>
13993 #include <stdlib.h>
13994 int
13995 main ()
13996 {
13997
13998 FILE *f = fopen ("conftest.val", "w");
13999 if (! f)
14000 exit (1);
14001 if (((long) (sizeof (char))) < 0)
14002 {
14003 long i = longval ();
14004 if (i != ((long) (sizeof (char))))
14005 exit (1);
14006 fprintf (f, "%ld\n", i);
14007 }
14008 else
14009 {
14010 unsigned long i = ulongval ();
14011 if (i != ((long) (sizeof (char))))
14012 exit (1);
14013 fprintf (f, "%lu\n", i);
14014 }
14015 exit (ferror (f) || fclose (f) != 0);
14016
14017 ;
14018 return 0;
14019 }
14020 _ACEOF
14021 rm -f conftest$ac_exeext
14022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14023 (eval $ac_link) 2>&5
14024 ac_status=$?
14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14029 ac_status=$?
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; }; then
14032 ac_cv_sizeof_char=`cat conftest.val`
14033 else
14034 echo "$as_me: program exited with status $ac_status" >&5
14035 echo "$as_me: failed program was:" >&5
14036 sed 's/^/| /' conftest.$ac_ext >&5
14037
14038 ( exit $ac_status )
14039 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14040 See \`config.log' for more details." >&5
14041 echo "$as_me: error: cannot compute sizeof (char), 77
14042 See \`config.log' for more details." >&2;}
14043 { (exit 1); exit 1; }; }
14044 fi
14045 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14046 fi
14047 fi
14048 rm -f conftest.val
14049 else
14050 ac_cv_sizeof_char=0
14051 fi
14052 fi
14053 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14054 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14055 cat >>confdefs.h <<_ACEOF
14056 #define SIZEOF_CHAR $ac_cv_sizeof_char
14057 _ACEOF
14058
14059
14060 echo "$as_me:$LINENO: checking for short" >&5
14061 echo $ECHO_N "checking for short... $ECHO_C" >&6
14062 if test "${ac_cv_type_short+set}" = set; then
14063 echo $ECHO_N "(cached) $ECHO_C" >&6
14064 else
14065 cat >conftest.$ac_ext <<_ACEOF
14066 #line $LINENO "configure"
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072 $ac_includes_default
14073 int
14074 main ()
14075 {
14076 if ((short *) 0)
14077 return 0;
14078 if (sizeof (short))
14079 return 0;
14080 ;
14081 return 0;
14082 }
14083 _ACEOF
14084 rm -f conftest.$ac_objext
14085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14086 (eval $ac_compile) 2>&5
14087 ac_status=$?
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); } &&
14090 { ac_try='test -s conftest.$ac_objext'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; }; then
14096 ac_cv_type_short=yes
14097 else
14098 echo "$as_me: failed program was:" >&5
14099 sed 's/^/| /' conftest.$ac_ext >&5
14100
14101 ac_cv_type_short=no
14102 fi
14103 rm -f conftest.$ac_objext conftest.$ac_ext
14104 fi
14105 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14106 echo "${ECHO_T}$ac_cv_type_short" >&6
14107
14108 echo "$as_me:$LINENO: checking size of short" >&5
14109 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14110 if test "${ac_cv_sizeof_short+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 if test "$ac_cv_type_short" = yes; then
14114 # The cast to unsigned long works around a bug in the HP C Compiler
14115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14117 # This bug is HP SR number 8606223364.
14118 if test "$cross_compiling" = yes; then
14119 # Depending upon the size, compute the lo and hi bounds.
14120 cat >conftest.$ac_ext <<_ACEOF
14121 #line $LINENO "configure"
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127 $ac_includes_default
14128 int
14129 main ()
14130 {
14131 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14132 test_array [0] = 0
14133
14134 ;
14135 return 0;
14136 }
14137 _ACEOF
14138 rm -f conftest.$ac_objext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14140 (eval $ac_compile) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); } &&
14144 { ac_try='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_lo=0 ac_mid=0
14151 while :; do
14152 cat >conftest.$ac_ext <<_ACEOF
14153 #line $LINENO "configure"
14154 /* confdefs.h. */
14155 _ACEOF
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 $ac_includes_default
14160 int
14161 main ()
14162 {
14163 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14164 test_array [0] = 0
14165
14166 ;
14167 return 0;
14168 }
14169 _ACEOF
14170 rm -f conftest.$ac_objext
14171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14172 (eval $ac_compile) 2>&5
14173 ac_status=$?
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try='test -s conftest.$ac_objext'
14177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14178 (eval $ac_try) 2>&5
14179 ac_status=$?
14180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14181 (exit $ac_status); }; }; then
14182 ac_hi=$ac_mid; break
14183 else
14184 echo "$as_me: failed program was:" >&5
14185 sed 's/^/| /' conftest.$ac_ext >&5
14186
14187 ac_lo=`expr $ac_mid + 1`
14188 if test $ac_lo -le $ac_mid; then
14189 ac_lo= ac_hi=
14190 break
14191 fi
14192 ac_mid=`expr 2 '*' $ac_mid + 1`
14193 fi
14194 rm -f conftest.$ac_objext conftest.$ac_ext
14195 done
14196 else
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14199
14200 cat >conftest.$ac_ext <<_ACEOF
14201 #line $LINENO "configure"
14202 /* confdefs.h. */
14203 _ACEOF
14204 cat confdefs.h >>conftest.$ac_ext
14205 cat >>conftest.$ac_ext <<_ACEOF
14206 /* end confdefs.h. */
14207 $ac_includes_default
14208 int
14209 main ()
14210 {
14211 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14212 test_array [0] = 0
14213
14214 ;
14215 return 0;
14216 }
14217 _ACEOF
14218 rm -f conftest.$ac_objext
14219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14220 (eval $ac_compile) 2>&5
14221 ac_status=$?
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); } &&
14224 { ac_try='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14227 ac_status=$?
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14230 ac_hi=-1 ac_mid=-1
14231 while :; do
14232 cat >conftest.$ac_ext <<_ACEOF
14233 #line $LINENO "configure"
14234 /* confdefs.h. */
14235 _ACEOF
14236 cat confdefs.h >>conftest.$ac_ext
14237 cat >>conftest.$ac_ext <<_ACEOF
14238 /* end confdefs.h. */
14239 $ac_includes_default
14240 int
14241 main ()
14242 {
14243 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14244 test_array [0] = 0
14245
14246 ;
14247 return 0;
14248 }
14249 _ACEOF
14250 rm -f conftest.$ac_objext
14251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14252 (eval $ac_compile) 2>&5
14253 ac_status=$?
14254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14255 (exit $ac_status); } &&
14256 { ac_try='test -s conftest.$ac_objext'
14257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14258 (eval $ac_try) 2>&5
14259 ac_status=$?
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 ac_lo=$ac_mid; break
14263 else
14264 echo "$as_me: failed program was:" >&5
14265 sed 's/^/| /' conftest.$ac_ext >&5
14266
14267 ac_hi=`expr '(' $ac_mid ')' - 1`
14268 if test $ac_mid -le $ac_hi; then
14269 ac_lo= ac_hi=
14270 break
14271 fi
14272 ac_mid=`expr 2 '*' $ac_mid`
14273 fi
14274 rm -f conftest.$ac_objext conftest.$ac_ext
14275 done
14276 else
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.$ac_ext >&5
14279
14280 ac_lo= ac_hi=
14281 fi
14282 rm -f conftest.$ac_objext conftest.$ac_ext
14283 fi
14284 rm -f conftest.$ac_objext conftest.$ac_ext
14285 # Binary search between lo and hi bounds.
14286 while test "x$ac_lo" != "x$ac_hi"; do
14287 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14288 cat >conftest.$ac_ext <<_ACEOF
14289 #line $LINENO "configure"
14290 /* confdefs.h. */
14291 _ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295 $ac_includes_default
14296 int
14297 main ()
14298 {
14299 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14300 test_array [0] = 0
14301
14302 ;
14303 return 0;
14304 }
14305 _ACEOF
14306 rm -f conftest.$ac_objext
14307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14308 (eval $ac_compile) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try='test -s conftest.$ac_objext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_hi=$ac_mid
14319 else
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14322
14323 ac_lo=`expr '(' $ac_mid ')' + 1`
14324 fi
14325 rm -f conftest.$ac_objext conftest.$ac_ext
14326 done
14327 case $ac_lo in
14328 ?*) ac_cv_sizeof_short=$ac_lo;;
14329 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14330 See \`config.log' for more details." >&5
14331 echo "$as_me: error: cannot compute sizeof (short), 77
14332 See \`config.log' for more details." >&2;}
14333 { (exit 1); exit 1; }; } ;;
14334 esac
14335 else
14336 if test "$cross_compiling" = yes; then
14337 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14338 See \`config.log' for more details." >&5
14339 echo "$as_me: error: cannot run test program while cross compiling
14340 See \`config.log' for more details." >&2;}
14341 { (exit 1); exit 1; }; }
14342 else
14343 cat >conftest.$ac_ext <<_ACEOF
14344 #line $LINENO "configure"
14345 /* confdefs.h. */
14346 _ACEOF
14347 cat confdefs.h >>conftest.$ac_ext
14348 cat >>conftest.$ac_ext <<_ACEOF
14349 /* end confdefs.h. */
14350 $ac_includes_default
14351 long longval () { return (long) (sizeof (short)); }
14352 unsigned long ulongval () { return (long) (sizeof (short)); }
14353 #include <stdio.h>
14354 #include <stdlib.h>
14355 int
14356 main ()
14357 {
14358
14359 FILE *f = fopen ("conftest.val", "w");
14360 if (! f)
14361 exit (1);
14362 if (((long) (sizeof (short))) < 0)
14363 {
14364 long i = longval ();
14365 if (i != ((long) (sizeof (short))))
14366 exit (1);
14367 fprintf (f, "%ld\n", i);
14368 }
14369 else
14370 {
14371 unsigned long i = ulongval ();
14372 if (i != ((long) (sizeof (short))))
14373 exit (1);
14374 fprintf (f, "%lu\n", i);
14375 }
14376 exit (ferror (f) || fclose (f) != 0);
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
14393 ac_cv_sizeof_short=`cat conftest.val`
14394 else
14395 echo "$as_me: program exited with status $ac_status" >&5
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14398
14399 ( exit $ac_status )
14400 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14401 See \`config.log' for more details." >&5
14402 echo "$as_me: error: cannot compute sizeof (short), 77
14403 See \`config.log' for more details." >&2;}
14404 { (exit 1); exit 1; }; }
14405 fi
14406 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14407 fi
14408 fi
14409 rm -f conftest.val
14410 else
14411 ac_cv_sizeof_short=0
14412 fi
14413 fi
14414 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14415 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14416 cat >>confdefs.h <<_ACEOF
14417 #define SIZEOF_SHORT $ac_cv_sizeof_short
14418 _ACEOF
14419
14420
14421 echo "$as_me:$LINENO: checking for void *" >&5
14422 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14423 if test "${ac_cv_type_void_p+set}" = set; then
14424 echo $ECHO_N "(cached) $ECHO_C" >&6
14425 else
14426 cat >conftest.$ac_ext <<_ACEOF
14427 #line $LINENO "configure"
14428 /* confdefs.h. */
14429 _ACEOF
14430 cat confdefs.h >>conftest.$ac_ext
14431 cat >>conftest.$ac_ext <<_ACEOF
14432 /* end confdefs.h. */
14433 $ac_includes_default
14434 int
14435 main ()
14436 {
14437 if ((void * *) 0)
14438 return 0;
14439 if (sizeof (void *))
14440 return 0;
14441 ;
14442 return 0;
14443 }
14444 _ACEOF
14445 rm -f conftest.$ac_objext
14446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14447 (eval $ac_compile) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); } &&
14451 { ac_try='test -s conftest.$ac_objext'
14452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14453 (eval $ac_try) 2>&5
14454 ac_status=$?
14455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14456 (exit $ac_status); }; }; then
14457 ac_cv_type_void_p=yes
14458 else
14459 echo "$as_me: failed program was:" >&5
14460 sed 's/^/| /' conftest.$ac_ext >&5
14461
14462 ac_cv_type_void_p=no
14463 fi
14464 rm -f conftest.$ac_objext conftest.$ac_ext
14465 fi
14466 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14467 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14468
14469 echo "$as_me:$LINENO: checking size of void *" >&5
14470 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14471 if test "${ac_cv_sizeof_void_p+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 else
14474 if test "$ac_cv_type_void_p" = yes; then
14475 # The cast to unsigned long works around a bug in the HP C Compiler
14476 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14477 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14478 # This bug is HP SR number 8606223364.
14479 if test "$cross_compiling" = yes; then
14480 # Depending upon the size, compute the lo and hi bounds.
14481 cat >conftest.$ac_ext <<_ACEOF
14482 #line $LINENO "configure"
14483 /* confdefs.h. */
14484 _ACEOF
14485 cat confdefs.h >>conftest.$ac_ext
14486 cat >>conftest.$ac_ext <<_ACEOF
14487 /* end confdefs.h. */
14488 $ac_includes_default
14489 int
14490 main ()
14491 {
14492 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14493 test_array [0] = 0
14494
14495 ;
14496 return 0;
14497 }
14498 _ACEOF
14499 rm -f conftest.$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>&5
14502 ac_status=$?
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); } &&
14505 { ac_try='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_lo=0 ac_mid=0
14512 while :; do
14513 cat >conftest.$ac_ext <<_ACEOF
14514 #line $LINENO "configure"
14515 /* confdefs.h. */
14516 _ACEOF
14517 cat confdefs.h >>conftest.$ac_ext
14518 cat >>conftest.$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14520 $ac_includes_default
14521 int
14522 main ()
14523 {
14524 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14525 test_array [0] = 0
14526
14527 ;
14528 return 0;
14529 }
14530 _ACEOF
14531 rm -f conftest.$ac_objext
14532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14533 (eval $ac_compile) 2>&5
14534 ac_status=$?
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); } &&
14537 { ac_try='test -s conftest.$ac_objext'
14538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14539 (eval $ac_try) 2>&5
14540 ac_status=$?
14541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14542 (exit $ac_status); }; }; then
14543 ac_hi=$ac_mid; break
14544 else
14545 echo "$as_me: failed program was:" >&5
14546 sed 's/^/| /' conftest.$ac_ext >&5
14547
14548 ac_lo=`expr $ac_mid + 1`
14549 if test $ac_lo -le $ac_mid; then
14550 ac_lo= ac_hi=
14551 break
14552 fi
14553 ac_mid=`expr 2 '*' $ac_mid + 1`
14554 fi
14555 rm -f conftest.$ac_objext conftest.$ac_ext
14556 done
14557 else
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.$ac_ext >&5
14560
14561 cat >conftest.$ac_ext <<_ACEOF
14562 #line $LINENO "configure"
14563 /* confdefs.h. */
14564 _ACEOF
14565 cat confdefs.h >>conftest.$ac_ext
14566 cat >>conftest.$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568 $ac_includes_default
14569 int
14570 main ()
14571 {
14572 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14573 test_array [0] = 0
14574
14575 ;
14576 return 0;
14577 }
14578 _ACEOF
14579 rm -f conftest.$ac_objext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14581 (eval $ac_compile) 2>&5
14582 ac_status=$?
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -s conftest.$ac_objext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14588 ac_status=$?
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 ac_hi=-1 ac_mid=-1
14592 while :; do
14593 cat >conftest.$ac_ext <<_ACEOF
14594 #line $LINENO "configure"
14595 /* confdefs.h. */
14596 _ACEOF
14597 cat confdefs.h >>conftest.$ac_ext
14598 cat >>conftest.$ac_ext <<_ACEOF
14599 /* end confdefs.h. */
14600 $ac_includes_default
14601 int
14602 main ()
14603 {
14604 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14605 test_array [0] = 0
14606
14607 ;
14608 return 0;
14609 }
14610 _ACEOF
14611 rm -f conftest.$ac_objext
14612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14613 (eval $ac_compile) 2>&5
14614 ac_status=$?
14615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14616 (exit $ac_status); } &&
14617 { ac_try='test -s conftest.$ac_objext'
14618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14619 (eval $ac_try) 2>&5
14620 ac_status=$?
14621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14622 (exit $ac_status); }; }; then
14623 ac_lo=$ac_mid; break
14624 else
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5
14627
14628 ac_hi=`expr '(' $ac_mid ')' - 1`
14629 if test $ac_mid -le $ac_hi; then
14630 ac_lo= ac_hi=
14631 break
14632 fi
14633 ac_mid=`expr 2 '*' $ac_mid`
14634 fi
14635 rm -f conftest.$ac_objext conftest.$ac_ext
14636 done
14637 else
14638 echo "$as_me: failed program was:" >&5
14639 sed 's/^/| /' conftest.$ac_ext >&5
14640
14641 ac_lo= ac_hi=
14642 fi
14643 rm -f conftest.$ac_objext conftest.$ac_ext
14644 fi
14645 rm -f conftest.$ac_objext conftest.$ac_ext
14646 # Binary search between lo and hi bounds.
14647 while test "x$ac_lo" != "x$ac_hi"; do
14648 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14649 cat >conftest.$ac_ext <<_ACEOF
14650 #line $LINENO "configure"
14651 /* confdefs.h. */
14652 _ACEOF
14653 cat confdefs.h >>conftest.$ac_ext
14654 cat >>conftest.$ac_ext <<_ACEOF
14655 /* end confdefs.h. */
14656 $ac_includes_default
14657 int
14658 main ()
14659 {
14660 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14661 test_array [0] = 0
14662
14663 ;
14664 return 0;
14665 }
14666 _ACEOF
14667 rm -f conftest.$ac_objext
14668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_hi=$ac_mid
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14683
14684 ac_lo=`expr '(' $ac_mid ')' + 1`
14685 fi
14686 rm -f conftest.$ac_objext conftest.$ac_ext
14687 done
14688 case $ac_lo in
14689 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14690 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14691 See \`config.log' for more details." >&5
14692 echo "$as_me: error: cannot compute sizeof (void *), 77
14693 See \`config.log' for more details." >&2;}
14694 { (exit 1); exit 1; }; } ;;
14695 esac
14696 else
14697 if test "$cross_compiling" = yes; then
14698 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14699 See \`config.log' for more details." >&5
14700 echo "$as_me: error: cannot run test program while cross compiling
14701 See \`config.log' for more details." >&2;}
14702 { (exit 1); exit 1; }; }
14703 else
14704 cat >conftest.$ac_ext <<_ACEOF
14705 #line $LINENO "configure"
14706 /* confdefs.h. */
14707 _ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 long longval () { return (long) (sizeof (void *)); }
14713 unsigned long ulongval () { return (long) (sizeof (void *)); }
14714 #include <stdio.h>
14715 #include <stdlib.h>
14716 int
14717 main ()
14718 {
14719
14720 FILE *f = fopen ("conftest.val", "w");
14721 if (! f)
14722 exit (1);
14723 if (((long) (sizeof (void *))) < 0)
14724 {
14725 long i = longval ();
14726 if (i != ((long) (sizeof (void *))))
14727 exit (1);
14728 fprintf (f, "%ld\n", i);
14729 }
14730 else
14731 {
14732 unsigned long i = ulongval ();
14733 if (i != ((long) (sizeof (void *))))
14734 exit (1);
14735 fprintf (f, "%lu\n", i);
14736 }
14737 exit (ferror (f) || fclose (f) != 0);
14738
14739 ;
14740 return 0;
14741 }
14742 _ACEOF
14743 rm -f conftest$ac_exeext
14744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14745 (eval $ac_link) 2>&5
14746 ac_status=$?
14747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14750 (eval $ac_try) 2>&5
14751 ac_status=$?
14752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14753 (exit $ac_status); }; }; then
14754 ac_cv_sizeof_void_p=`cat conftest.val`
14755 else
14756 echo "$as_me: program exited with status $ac_status" >&5
14757 echo "$as_me: failed program was:" >&5
14758 sed 's/^/| /' conftest.$ac_ext >&5
14759
14760 ( exit $ac_status )
14761 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: cannot compute sizeof (void *), 77
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14766 fi
14767 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14768 fi
14769 fi
14770 rm -f conftest.val
14771 else
14772 ac_cv_sizeof_void_p=0
14773 fi
14774 fi
14775 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14776 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14777 cat >>confdefs.h <<_ACEOF
14778 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14779 _ACEOF
14780
14781
14782 echo "$as_me:$LINENO: checking for int" >&5
14783 echo $ECHO_N "checking for int... $ECHO_C" >&6
14784 if test "${ac_cv_type_int+set}" = set; then
14785 echo $ECHO_N "(cached) $ECHO_C" >&6
14786 else
14787 cat >conftest.$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14789 /* confdefs.h. */
14790 _ACEOF
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14794 $ac_includes_default
14795 int
14796 main ()
14797 {
14798 if ((int *) 0)
14799 return 0;
14800 if (sizeof (int))
14801 return 0;
14802 ;
14803 return 0;
14804 }
14805 _ACEOF
14806 rm -f conftest.$ac_objext
14807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14808 (eval $ac_compile) 2>&5
14809 ac_status=$?
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try='test -s conftest.$ac_objext'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14815 ac_status=$?
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; }; then
14818 ac_cv_type_int=yes
14819 else
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14822
14823 ac_cv_type_int=no
14824 fi
14825 rm -f conftest.$ac_objext conftest.$ac_ext
14826 fi
14827 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14828 echo "${ECHO_T}$ac_cv_type_int" >&6
14829
14830 echo "$as_me:$LINENO: checking size of int" >&5
14831 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14832 if test "${ac_cv_sizeof_int+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 else
14835 if test "$ac_cv_type_int" = yes; then
14836 # The cast to unsigned long works around a bug in the HP C Compiler
14837 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14838 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14839 # This bug is HP SR number 8606223364.
14840 if test "$cross_compiling" = yes; then
14841 # Depending upon the size, compute the lo and hi bounds.
14842 cat >conftest.$ac_ext <<_ACEOF
14843 #line $LINENO "configure"
14844 /* confdefs.h. */
14845 _ACEOF
14846 cat confdefs.h >>conftest.$ac_ext
14847 cat >>conftest.$ac_ext <<_ACEOF
14848 /* end confdefs.h. */
14849 $ac_includes_default
14850 int
14851 main ()
14852 {
14853 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14854 test_array [0] = 0
14855
14856 ;
14857 return 0;
14858 }
14859 _ACEOF
14860 rm -f conftest.$ac_objext
14861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14862 (eval $ac_compile) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_lo=0 ac_mid=0
14873 while :; do
14874 cat >conftest.$ac_ext <<_ACEOF
14875 #line $LINENO "configure"
14876 /* confdefs.h. */
14877 _ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 $ac_includes_default
14882 int
14883 main ()
14884 {
14885 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14886 test_array [0] = 0
14887
14888 ;
14889 return 0;
14890 }
14891 _ACEOF
14892 rm -f conftest.$ac_objext
14893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14894 (eval $ac_compile) 2>&5
14895 ac_status=$?
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try='test -s conftest.$ac_objext'
14899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14900 (eval $ac_try) 2>&5
14901 ac_status=$?
14902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14903 (exit $ac_status); }; }; then
14904 ac_hi=$ac_mid; break
14905 else
14906 echo "$as_me: failed program was:" >&5
14907 sed 's/^/| /' conftest.$ac_ext >&5
14908
14909 ac_lo=`expr $ac_mid + 1`
14910 if test $ac_lo -le $ac_mid; then
14911 ac_lo= ac_hi=
14912 break
14913 fi
14914 ac_mid=`expr 2 '*' $ac_mid + 1`
14915 fi
14916 rm -f conftest.$ac_objext conftest.$ac_ext
14917 done
14918 else
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.$ac_ext >&5
14921
14922 cat >conftest.$ac_ext <<_ACEOF
14923 #line $LINENO "configure"
14924 /* confdefs.h. */
14925 _ACEOF
14926 cat confdefs.h >>conftest.$ac_ext
14927 cat >>conftest.$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 $ac_includes_default
14930 int
14931 main ()
14932 {
14933 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14934 test_array [0] = 0
14935
14936 ;
14937 return 0;
14938 }
14939 _ACEOF
14940 rm -f conftest.$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942 (eval $ac_compile) 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_hi=-1 ac_mid=-1
14953 while :; do
14954 cat >conftest.$ac_ext <<_ACEOF
14955 #line $LINENO "configure"
14956 /* confdefs.h. */
14957 _ACEOF
14958 cat confdefs.h >>conftest.$ac_ext
14959 cat >>conftest.$ac_ext <<_ACEOF
14960 /* end confdefs.h. */
14961 $ac_includes_default
14962 int
14963 main ()
14964 {
14965 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14966 test_array [0] = 0
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14974 (eval $ac_compile) 2>&5
14975 ac_status=$?
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); } &&
14978 { ac_try='test -s conftest.$ac_objext'
14979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14980 (eval $ac_try) 2>&5
14981 ac_status=$?
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); }; }; then
14984 ac_lo=$ac_mid; break
14985 else
14986 echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14988
14989 ac_hi=`expr '(' $ac_mid ')' - 1`
14990 if test $ac_mid -le $ac_hi; then
14991 ac_lo= ac_hi=
14992 break
14993 fi
14994 ac_mid=`expr 2 '*' $ac_mid`
14995 fi
14996 rm -f conftest.$ac_objext conftest.$ac_ext
14997 done
14998 else
14999 echo "$as_me: failed program was:" >&5
15000 sed 's/^/| /' conftest.$ac_ext >&5
15001
15002 ac_lo= ac_hi=
15003 fi
15004 rm -f conftest.$ac_objext conftest.$ac_ext
15005 fi
15006 rm -f conftest.$ac_objext conftest.$ac_ext
15007 # Binary search between lo and hi bounds.
15008 while test "x$ac_lo" != "x$ac_hi"; do
15009 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15010 cat >conftest.$ac_ext <<_ACEOF
15011 #line $LINENO "configure"
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 $ac_includes_default
15018 int
15019 main ()
15020 {
15021 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15022 test_array [0] = 0
15023
15024 ;
15025 return 0;
15026 }
15027 _ACEOF
15028 rm -f conftest.$ac_objext
15029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15030 (eval $ac_compile) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try='test -s conftest.$ac_objext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_hi=$ac_mid
15041 else
15042 echo "$as_me: failed program was:" >&5
15043 sed 's/^/| /' conftest.$ac_ext >&5
15044
15045 ac_lo=`expr '(' $ac_mid ')' + 1`
15046 fi
15047 rm -f conftest.$ac_objext conftest.$ac_ext
15048 done
15049 case $ac_lo in
15050 ?*) ac_cv_sizeof_int=$ac_lo;;
15051 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15052 See \`config.log' for more details." >&5
15053 echo "$as_me: error: cannot compute sizeof (int), 77
15054 See \`config.log' for more details." >&2;}
15055 { (exit 1); exit 1; }; } ;;
15056 esac
15057 else
15058 if test "$cross_compiling" = yes; then
15059 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15060 See \`config.log' for more details." >&5
15061 echo "$as_me: error: cannot run test program while cross compiling
15062 See \`config.log' for more details." >&2;}
15063 { (exit 1); exit 1; }; }
15064 else
15065 cat >conftest.$ac_ext <<_ACEOF
15066 #line $LINENO "configure"
15067 /* confdefs.h. */
15068 _ACEOF
15069 cat confdefs.h >>conftest.$ac_ext
15070 cat >>conftest.$ac_ext <<_ACEOF
15071 /* end confdefs.h. */
15072 $ac_includes_default
15073 long longval () { return (long) (sizeof (int)); }
15074 unsigned long ulongval () { return (long) (sizeof (int)); }
15075 #include <stdio.h>
15076 #include <stdlib.h>
15077 int
15078 main ()
15079 {
15080
15081 FILE *f = fopen ("conftest.val", "w");
15082 if (! f)
15083 exit (1);
15084 if (((long) (sizeof (int))) < 0)
15085 {
15086 long i = longval ();
15087 if (i != ((long) (sizeof (int))))
15088 exit (1);
15089 fprintf (f, "%ld\n", i);
15090 }
15091 else
15092 {
15093 unsigned long i = ulongval ();
15094 if (i != ((long) (sizeof (int))))
15095 exit (1);
15096 fprintf (f, "%lu\n", i);
15097 }
15098 exit (ferror (f) || fclose (f) != 0);
15099
15100 ;
15101 return 0;
15102 }
15103 _ACEOF
15104 rm -f conftest$ac_exeext
15105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15106 (eval $ac_link) 2>&5
15107 ac_status=$?
15108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15111 (eval $ac_try) 2>&5
15112 ac_status=$?
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); }; }; then
15115 ac_cv_sizeof_int=`cat conftest.val`
15116 else
15117 echo "$as_me: program exited with status $ac_status" >&5
15118 echo "$as_me: failed program was:" >&5
15119 sed 's/^/| /' conftest.$ac_ext >&5
15120
15121 ( exit $ac_status )
15122 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15123 See \`config.log' for more details." >&5
15124 echo "$as_me: error: cannot compute sizeof (int), 77
15125 See \`config.log' for more details." >&2;}
15126 { (exit 1); exit 1; }; }
15127 fi
15128 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15129 fi
15130 fi
15131 rm -f conftest.val
15132 else
15133 ac_cv_sizeof_int=0
15134 fi
15135 fi
15136 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15137 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15138 cat >>confdefs.h <<_ACEOF
15139 #define SIZEOF_INT $ac_cv_sizeof_int
15140 _ACEOF
15141
15142
15143 echo "$as_me:$LINENO: checking for long" >&5
15144 echo $ECHO_N "checking for long... $ECHO_C" >&6
15145 if test "${ac_cv_type_long+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 cat >conftest.$ac_ext <<_ACEOF
15149 #line $LINENO "configure"
15150 /* confdefs.h. */
15151 _ACEOF
15152 cat confdefs.h >>conftest.$ac_ext
15153 cat >>conftest.$ac_ext <<_ACEOF
15154 /* end confdefs.h. */
15155 $ac_includes_default
15156 int
15157 main ()
15158 {
15159 if ((long *) 0)
15160 return 0;
15161 if (sizeof (long))
15162 return 0;
15163 ;
15164 return 0;
15165 }
15166 _ACEOF
15167 rm -f conftest.$ac_objext
15168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15169 (eval $ac_compile) 2>&5
15170 ac_status=$?
15171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15172 (exit $ac_status); } &&
15173 { ac_try='test -s conftest.$ac_objext'
15174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15175 (eval $ac_try) 2>&5
15176 ac_status=$?
15177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15178 (exit $ac_status); }; }; then
15179 ac_cv_type_long=yes
15180 else
15181 echo "$as_me: failed program was:" >&5
15182 sed 's/^/| /' conftest.$ac_ext >&5
15183
15184 ac_cv_type_long=no
15185 fi
15186 rm -f conftest.$ac_objext conftest.$ac_ext
15187 fi
15188 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15189 echo "${ECHO_T}$ac_cv_type_long" >&6
15190
15191 echo "$as_me:$LINENO: checking size of long" >&5
15192 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15193 if test "${ac_cv_sizeof_long+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 if test "$ac_cv_type_long" = yes; then
15197 # The cast to unsigned long works around a bug in the HP C Compiler
15198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15200 # This bug is HP SR number 8606223364.
15201 if test "$cross_compiling" = yes; then
15202 # Depending upon the size, compute the lo and hi bounds.
15203 cat >conftest.$ac_ext <<_ACEOF
15204 #line $LINENO "configure"
15205 /* confdefs.h. */
15206 _ACEOF
15207 cat confdefs.h >>conftest.$ac_ext
15208 cat >>conftest.$ac_ext <<_ACEOF
15209 /* end confdefs.h. */
15210 $ac_includes_default
15211 int
15212 main ()
15213 {
15214 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15215 test_array [0] = 0
15216
15217 ;
15218 return 0;
15219 }
15220 _ACEOF
15221 rm -f conftest.$ac_objext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15223 (eval $ac_compile) 2>&5
15224 ac_status=$?
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_lo=0 ac_mid=0
15234 while :; do
15235 cat >conftest.$ac_ext <<_ACEOF
15236 #line $LINENO "configure"
15237 /* confdefs.h. */
15238 _ACEOF
15239 cat confdefs.h >>conftest.$ac_ext
15240 cat >>conftest.$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242 $ac_includes_default
15243 int
15244 main ()
15245 {
15246 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15247 test_array [0] = 0
15248
15249 ;
15250 return 0;
15251 }
15252 _ACEOF
15253 rm -f conftest.$ac_objext
15254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); } &&
15259 { ac_try='test -s conftest.$ac_objext'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; }; then
15265 ac_hi=$ac_mid; break
15266 else
15267 echo "$as_me: failed program was:" >&5
15268 sed 's/^/| /' conftest.$ac_ext >&5
15269
15270 ac_lo=`expr $ac_mid + 1`
15271 if test $ac_lo -le $ac_mid; then
15272 ac_lo= ac_hi=
15273 break
15274 fi
15275 ac_mid=`expr 2 '*' $ac_mid + 1`
15276 fi
15277 rm -f conftest.$ac_objext conftest.$ac_ext
15278 done
15279 else
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15282
15283 cat >conftest.$ac_ext <<_ACEOF
15284 #line $LINENO "configure"
15285 /* confdefs.h. */
15286 _ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 $ac_includes_default
15291 int
15292 main ()
15293 {
15294 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15295 test_array [0] = 0
15296
15297 ;
15298 return 0;
15299 }
15300 _ACEOF
15301 rm -f conftest.$ac_objext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15303 (eval $ac_compile) 2>&5
15304 ac_status=$?
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } &&
15307 { ac_try='test -s conftest.$ac_objext'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15310 ac_status=$?
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; }; then
15313 ac_hi=-1 ac_mid=-1
15314 while :; do
15315 cat >conftest.$ac_ext <<_ACEOF
15316 #line $LINENO "configure"
15317 /* confdefs.h. */
15318 _ACEOF
15319 cat confdefs.h >>conftest.$ac_ext
15320 cat >>conftest.$ac_ext <<_ACEOF
15321 /* end confdefs.h. */
15322 $ac_includes_default
15323 int
15324 main ()
15325 {
15326 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15327 test_array [0] = 0
15328
15329 ;
15330 return 0;
15331 }
15332 _ACEOF
15333 rm -f conftest.$ac_objext
15334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15335 (eval $ac_compile) 2>&5
15336 ac_status=$?
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } &&
15339 { ac_try='test -s conftest.$ac_objext'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15342 ac_status=$?
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; }; then
15345 ac_lo=$ac_mid; break
15346 else
15347 echo "$as_me: failed program was:" >&5
15348 sed 's/^/| /' conftest.$ac_ext >&5
15349
15350 ac_hi=`expr '(' $ac_mid ')' - 1`
15351 if test $ac_mid -le $ac_hi; then
15352 ac_lo= ac_hi=
15353 break
15354 fi
15355 ac_mid=`expr 2 '*' $ac_mid`
15356 fi
15357 rm -f conftest.$ac_objext conftest.$ac_ext
15358 done
15359 else
15360 echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.$ac_ext >&5
15362
15363 ac_lo= ac_hi=
15364 fi
15365 rm -f conftest.$ac_objext conftest.$ac_ext
15366 fi
15367 rm -f conftest.$ac_objext conftest.$ac_ext
15368 # Binary search between lo and hi bounds.
15369 while test "x$ac_lo" != "x$ac_hi"; do
15370 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15371 cat >conftest.$ac_ext <<_ACEOF
15372 #line $LINENO "configure"
15373 /* confdefs.h. */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h. */
15378 $ac_includes_default
15379 int
15380 main ()
15381 {
15382 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15383 test_array [0] = 0
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15391 (eval $ac_compile) 2>&5
15392 ac_status=$?
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } &&
15395 { ac_try='test -s conftest.$ac_objext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 ac_hi=$ac_mid
15402 else
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.$ac_ext >&5
15405
15406 ac_lo=`expr '(' $ac_mid ')' + 1`
15407 fi
15408 rm -f conftest.$ac_objext conftest.$ac_ext
15409 done
15410 case $ac_lo in
15411 ?*) ac_cv_sizeof_long=$ac_lo;;
15412 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15413 See \`config.log' for more details." >&5
15414 echo "$as_me: error: cannot compute sizeof (long), 77
15415 See \`config.log' for more details." >&2;}
15416 { (exit 1); exit 1; }; } ;;
15417 esac
15418 else
15419 if test "$cross_compiling" = yes; then
15420 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15421 See \`config.log' for more details." >&5
15422 echo "$as_me: error: cannot run test program while cross compiling
15423 See \`config.log' for more details." >&2;}
15424 { (exit 1); exit 1; }; }
15425 else
15426 cat >conftest.$ac_ext <<_ACEOF
15427 #line $LINENO "configure"
15428 /* confdefs.h. */
15429 _ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15433 $ac_includes_default
15434 long longval () { return (long) (sizeof (long)); }
15435 unsigned long ulongval () { return (long) (sizeof (long)); }
15436 #include <stdio.h>
15437 #include <stdlib.h>
15438 int
15439 main ()
15440 {
15441
15442 FILE *f = fopen ("conftest.val", "w");
15443 if (! f)
15444 exit (1);
15445 if (((long) (sizeof (long))) < 0)
15446 {
15447 long i = longval ();
15448 if (i != ((long) (sizeof (long))))
15449 exit (1);
15450 fprintf (f, "%ld\n", i);
15451 }
15452 else
15453 {
15454 unsigned long i = ulongval ();
15455 if (i != ((long) (sizeof (long))))
15456 exit (1);
15457 fprintf (f, "%lu\n", i);
15458 }
15459 exit (ferror (f) || fclose (f) != 0);
15460
15461 ;
15462 return 0;
15463 }
15464 _ACEOF
15465 rm -f conftest$ac_exeext
15466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15467 (eval $ac_link) 2>&5
15468 ac_status=$?
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_cv_sizeof_long=`cat conftest.val`
15477 else
15478 echo "$as_me: program exited with status $ac_status" >&5
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15481
15482 ( exit $ac_status )
15483 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15484 See \`config.log' for more details." >&5
15485 echo "$as_me: error: cannot compute sizeof (long), 77
15486 See \`config.log' for more details." >&2;}
15487 { (exit 1); exit 1; }; }
15488 fi
15489 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15490 fi
15491 fi
15492 rm -f conftest.val
15493 else
15494 ac_cv_sizeof_long=0
15495 fi
15496 fi
15497 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15498 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15499 cat >>confdefs.h <<_ACEOF
15500 #define SIZEOF_LONG $ac_cv_sizeof_long
15501 _ACEOF
15502
15503
15504
15505 case "${host}" in
15506 arm-*-linux* )
15507 echo "$as_me:$LINENO: checking for long long" >&5
15508 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15509 if test "${ac_cv_type_long_long+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 else
15512 cat >conftest.$ac_ext <<_ACEOF
15513 #line $LINENO "configure"
15514 /* confdefs.h. */
15515 _ACEOF
15516 cat confdefs.h >>conftest.$ac_ext
15517 cat >>conftest.$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15519 $ac_includes_default
15520 int
15521 main ()
15522 {
15523 if ((long long *) 0)
15524 return 0;
15525 if (sizeof (long long))
15526 return 0;
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_type_long_long=yes
15544 else
15545 echo "$as_me: failed program was:" >&5
15546 sed 's/^/| /' conftest.$ac_ext >&5
15547
15548 ac_cv_type_long_long=no
15549 fi
15550 rm -f conftest.$ac_objext conftest.$ac_ext
15551 fi
15552 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15553 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15554
15555 echo "$as_me:$LINENO: checking size of long long" >&5
15556 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15557 if test "${ac_cv_sizeof_long_long+set}" = set; then
15558 echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560 if test "$ac_cv_type_long_long" = yes; then
15561 # The cast to unsigned long works around a bug in the HP C Compiler
15562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15564 # This bug is HP SR number 8606223364.
15565 if test "$cross_compiling" = yes; then
15566 # Depending upon the size, compute the lo and hi bounds.
15567 cat >conftest.$ac_ext <<_ACEOF
15568 #line $LINENO "configure"
15569 /* confdefs.h. */
15570 _ACEOF
15571 cat confdefs.h >>conftest.$ac_ext
15572 cat >>conftest.$ac_ext <<_ACEOF
15573 /* end confdefs.h. */
15574 $ac_includes_default
15575 int
15576 main ()
15577 {
15578 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15579 test_array [0] = 0
15580
15581 ;
15582 return 0;
15583 }
15584 _ACEOF
15585 rm -f conftest.$ac_objext
15586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 ac_lo=0 ac_mid=0
15598 while :; do
15599 cat >conftest.$ac_ext <<_ACEOF
15600 #line $LINENO "configure"
15601 /* confdefs.h. */
15602 _ACEOF
15603 cat confdefs.h >>conftest.$ac_ext
15604 cat >>conftest.$ac_ext <<_ACEOF
15605 /* end confdefs.h. */
15606 $ac_includes_default
15607 int
15608 main ()
15609 {
15610 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15611 test_array [0] = 0
15612
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 rm -f conftest.$ac_objext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15619 (eval $ac_compile) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); } &&
15623 { ac_try='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 ac_hi=$ac_mid; break
15630 else
15631 echo "$as_me: failed program was:" >&5
15632 sed 's/^/| /' conftest.$ac_ext >&5
15633
15634 ac_lo=`expr $ac_mid + 1`
15635 if test $ac_lo -le $ac_mid; then
15636 ac_lo= ac_hi=
15637 break
15638 fi
15639 ac_mid=`expr 2 '*' $ac_mid + 1`
15640 fi
15641 rm -f conftest.$ac_objext conftest.$ac_ext
15642 done
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15646
15647 cat >conftest.$ac_ext <<_ACEOF
15648 #line $LINENO "configure"
15649 /* confdefs.h. */
15650 _ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654 $ac_includes_default
15655 int
15656 main ()
15657 {
15658 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15659 test_array [0] = 0
15660
15661 ;
15662 return 0;
15663 }
15664 _ACEOF
15665 rm -f conftest.$ac_objext
15666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>&5
15668 ac_status=$?
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } &&
15671 { ac_try='test -s conftest.$ac_objext'
15672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15673 (eval $ac_try) 2>&5
15674 ac_status=$?
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); }; }; then
15677 ac_hi=-1 ac_mid=-1
15678 while :; do
15679 cat >conftest.$ac_ext <<_ACEOF
15680 #line $LINENO "configure"
15681 /* confdefs.h. */
15682 _ACEOF
15683 cat confdefs.h >>conftest.$ac_ext
15684 cat >>conftest.$ac_ext <<_ACEOF
15685 /* end confdefs.h. */
15686 $ac_includes_default
15687 int
15688 main ()
15689 {
15690 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15691 test_array [0] = 0
15692
15693 ;
15694 return 0;
15695 }
15696 _ACEOF
15697 rm -f conftest.$ac_objext
15698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15699 (eval $ac_compile) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); } &&
15703 { ac_try='test -s conftest.$ac_objext'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15706 ac_status=$?
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; }; then
15709 ac_lo=$ac_mid; break
15710 else
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15713
15714 ac_hi=`expr '(' $ac_mid ')' - 1`
15715 if test $ac_mid -le $ac_hi; then
15716 ac_lo= ac_hi=
15717 break
15718 fi
15719 ac_mid=`expr 2 '*' $ac_mid`
15720 fi
15721 rm -f conftest.$ac_objext conftest.$ac_ext
15722 done
15723 else
15724 echo "$as_me: failed program was:" >&5
15725 sed 's/^/| /' conftest.$ac_ext >&5
15726
15727 ac_lo= ac_hi=
15728 fi
15729 rm -f conftest.$ac_objext conftest.$ac_ext
15730 fi
15731 rm -f conftest.$ac_objext conftest.$ac_ext
15732 # Binary search between lo and hi bounds.
15733 while test "x$ac_lo" != "x$ac_hi"; do
15734 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15735 cat >conftest.$ac_ext <<_ACEOF
15736 #line $LINENO "configure"
15737 /* confdefs.h. */
15738 _ACEOF
15739 cat confdefs.h >>conftest.$ac_ext
15740 cat >>conftest.$ac_ext <<_ACEOF
15741 /* end confdefs.h. */
15742 $ac_includes_default
15743 int
15744 main ()
15745 {
15746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15747 test_array [0] = 0
15748
15749 ;
15750 return 0;
15751 }
15752 _ACEOF
15753 rm -f conftest.$ac_objext
15754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15755 (eval $ac_compile) 2>&5
15756 ac_status=$?
15757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15758 (exit $ac_status); } &&
15759 { ac_try='test -s conftest.$ac_objext'
15760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15761 (eval $ac_try) 2>&5
15762 ac_status=$?
15763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15764 (exit $ac_status); }; }; then
15765 ac_hi=$ac_mid
15766 else
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.$ac_ext >&5
15769
15770 ac_lo=`expr '(' $ac_mid ')' + 1`
15771 fi
15772 rm -f conftest.$ac_objext conftest.$ac_ext
15773 done
15774 case $ac_lo in
15775 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15776 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15777 See \`config.log' for more details." >&5
15778 echo "$as_me: error: cannot compute sizeof (long long), 77
15779 See \`config.log' for more details." >&2;}
15780 { (exit 1); exit 1; }; } ;;
15781 esac
15782 else
15783 if test "$cross_compiling" = yes; then
15784 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15785 See \`config.log' for more details." >&5
15786 echo "$as_me: error: cannot run test program while cross compiling
15787 See \`config.log' for more details." >&2;}
15788 { (exit 1); exit 1; }; }
15789 else
15790 cat >conftest.$ac_ext <<_ACEOF
15791 #line $LINENO "configure"
15792 /* confdefs.h. */
15793 _ACEOF
15794 cat confdefs.h >>conftest.$ac_ext
15795 cat >>conftest.$ac_ext <<_ACEOF
15796 /* end confdefs.h. */
15797 $ac_includes_default
15798 long longval () { return (long) (sizeof (long long)); }
15799 unsigned long ulongval () { return (long) (sizeof (long long)); }
15800 #include <stdio.h>
15801 #include <stdlib.h>
15802 int
15803 main ()
15804 {
15805
15806 FILE *f = fopen ("conftest.val", "w");
15807 if (! f)
15808 exit (1);
15809 if (((long) (sizeof (long long))) < 0)
15810 {
15811 long i = longval ();
15812 if (i != ((long) (sizeof (long long))))
15813 exit (1);
15814 fprintf (f, "%ld\n", i);
15815 }
15816 else
15817 {
15818 unsigned long i = ulongval ();
15819 if (i != ((long) (sizeof (long long))))
15820 exit (1);
15821 fprintf (f, "%lu\n", i);
15822 }
15823 exit (ferror (f) || fclose (f) != 0);
15824
15825 ;
15826 return 0;
15827 }
15828 _ACEOF
15829 rm -f conftest$ac_exeext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15831 (eval $ac_link) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15837 ac_status=$?
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; }; then
15840 ac_cv_sizeof_long_long=`cat conftest.val`
15841 else
15842 echo "$as_me: program exited with status $ac_status" >&5
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.$ac_ext >&5
15845
15846 ( exit $ac_status )
15847 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15848 See \`config.log' for more details." >&5
15849 echo "$as_me: error: cannot compute sizeof (long long), 77
15850 See \`config.log' for more details." >&2;}
15851 { (exit 1); exit 1; }; }
15852 fi
15853 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15854 fi
15855 fi
15856 rm -f conftest.val
15857 else
15858 ac_cv_sizeof_long_long=0
15859 fi
15860 fi
15861 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15862 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15863 cat >>confdefs.h <<_ACEOF
15864 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15865 _ACEOF
15866
15867
15868 ;;
15869 *-hp-hpux* )
15870 echo "$as_me:$LINENO: checking for long long" >&5
15871 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15872 if test "${ac_cv_type_long_long+set}" = set; then
15873 echo $ECHO_N "(cached) $ECHO_C" >&6
15874 else
15875 cat >conftest.$ac_ext <<_ACEOF
15876 #line $LINENO "configure"
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 $ac_includes_default
15883 int
15884 main ()
15885 {
15886 if ((long long *) 0)
15887 return 0;
15888 if (sizeof (long long))
15889 return 0;
15890 ;
15891 return 0;
15892 }
15893 _ACEOF
15894 rm -f conftest.$ac_objext
15895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15896 (eval $ac_compile) 2>&5
15897 ac_status=$?
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } &&
15900 { ac_try='test -s conftest.$ac_objext'
15901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15902 (eval $ac_try) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); }; }; then
15906 ac_cv_type_long_long=yes
15907 else
15908 echo "$as_me: failed program was:" >&5
15909 sed 's/^/| /' conftest.$ac_ext >&5
15910
15911 ac_cv_type_long_long=no
15912 fi
15913 rm -f conftest.$ac_objext conftest.$ac_ext
15914 fi
15915 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15916 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15917
15918 echo "$as_me:$LINENO: checking size of long long" >&5
15919 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15920 if test "${ac_cv_sizeof_long_long+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 else
15923 if test "$ac_cv_type_long_long" = yes; then
15924 # The cast to unsigned long works around a bug in the HP C Compiler
15925 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15926 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15927 # This bug is HP SR number 8606223364.
15928 if test "$cross_compiling" = yes; then
15929 # Depending upon the size, compute the lo and hi bounds.
15930 cat >conftest.$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15938 int
15939 main ()
15940 {
15941 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15942 test_array [0] = 0
15943
15944 ;
15945 return 0;
15946 }
15947 _ACEOF
15948 rm -f conftest.$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_lo=0 ac_mid=0
15961 while :; do
15962 cat >conftest.$ac_ext <<_ACEOF
15963 #line $LINENO "configure"
15964 /* confdefs.h. */
15965 _ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 $ac_includes_default
15970 int
15971 main ()
15972 {
15973 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15974 test_array [0] = 0
15975
15976 ;
15977 return 0;
15978 }
15979 _ACEOF
15980 rm -f conftest.$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 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_hi=$ac_mid; break
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15996
15997 ac_lo=`expr $ac_mid + 1`
15998 if test $ac_lo -le $ac_mid; then
15999 ac_lo= ac_hi=
16000 break
16001 fi
16002 ac_mid=`expr 2 '*' $ac_mid + 1`
16003 fi
16004 rm -f conftest.$ac_objext conftest.$ac_ext
16005 done
16006 else
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16009
16010 cat >conftest.$ac_ext <<_ACEOF
16011 #line $LINENO "configure"
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 $ac_includes_default
16018 int
16019 main ()
16020 {
16021 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16022 test_array [0] = 0
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16030 (eval $ac_compile) 2>&5
16031 ac_status=$?
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } &&
16034 { ac_try='test -s conftest.$ac_objext'
16035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16036 (eval $ac_try) 2>&5
16037 ac_status=$?
16038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16039 (exit $ac_status); }; }; then
16040 ac_hi=-1 ac_mid=-1
16041 while :; do
16042 cat >conftest.$ac_ext <<_ACEOF
16043 #line $LINENO "configure"
16044 /* confdefs.h. */
16045 _ACEOF
16046 cat confdefs.h >>conftest.$ac_ext
16047 cat >>conftest.$ac_ext <<_ACEOF
16048 /* end confdefs.h. */
16049 $ac_includes_default
16050 int
16051 main ()
16052 {
16053 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16054 test_array [0] = 0
16055
16056 ;
16057 return 0;
16058 }
16059 _ACEOF
16060 rm -f conftest.$ac_objext
16061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16062 (eval $ac_compile) 2>&5
16063 ac_status=$?
16064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } &&
16066 { ac_try='test -s conftest.$ac_objext'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16069 ac_status=$?
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; }; then
16072 ac_lo=$ac_mid; break
16073 else
16074 echo "$as_me: failed program was:" >&5
16075 sed 's/^/| /' conftest.$ac_ext >&5
16076
16077 ac_hi=`expr '(' $ac_mid ')' - 1`
16078 if test $ac_mid -le $ac_hi; then
16079 ac_lo= ac_hi=
16080 break
16081 fi
16082 ac_mid=`expr 2 '*' $ac_mid`
16083 fi
16084 rm -f conftest.$ac_objext conftest.$ac_ext
16085 done
16086 else
16087 echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 ac_lo= ac_hi=
16091 fi
16092 rm -f conftest.$ac_objext conftest.$ac_ext
16093 fi
16094 rm -f conftest.$ac_objext conftest.$ac_ext
16095 # Binary search between lo and hi bounds.
16096 while test "x$ac_lo" != "x$ac_hi"; do
16097 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16098 cat >conftest.$ac_ext <<_ACEOF
16099 #line $LINENO "configure"
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 $ac_includes_default
16106 int
16107 main ()
16108 {
16109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16110 test_array [0] = 0
16111
16112 ;
16113 return 0;
16114 }
16115 _ACEOF
16116 rm -f conftest.$ac_objext
16117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16118 (eval $ac_compile) 2>&5
16119 ac_status=$?
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } &&
16122 { ac_try='test -s conftest.$ac_objext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16128 ac_hi=$ac_mid
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16132
16133 ac_lo=`expr '(' $ac_mid ')' + 1`
16134 fi
16135 rm -f conftest.$ac_objext conftest.$ac_ext
16136 done
16137 case $ac_lo in
16138 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16139 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16140 See \`config.log' for more details." >&5
16141 echo "$as_me: error: cannot compute sizeof (long long), 77
16142 See \`config.log' for more details." >&2;}
16143 { (exit 1); exit 1; }; } ;;
16144 esac
16145 else
16146 if test "$cross_compiling" = yes; then
16147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16148 See \`config.log' for more details." >&5
16149 echo "$as_me: error: cannot run test program while cross compiling
16150 See \`config.log' for more details." >&2;}
16151 { (exit 1); exit 1; }; }
16152 else
16153 cat >conftest.$ac_ext <<_ACEOF
16154 #line $LINENO "configure"
16155 /* confdefs.h. */
16156 _ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 $ac_includes_default
16161 long longval () { return (long) (sizeof (long long)); }
16162 unsigned long ulongval () { return (long) (sizeof (long long)); }
16163 #include <stdio.h>
16164 #include <stdlib.h>
16165 int
16166 main ()
16167 {
16168
16169 FILE *f = fopen ("conftest.val", "w");
16170 if (! f)
16171 exit (1);
16172 if (((long) (sizeof (long long))) < 0)
16173 {
16174 long i = longval ();
16175 if (i != ((long) (sizeof (long long))))
16176 exit (1);
16177 fprintf (f, "%ld\n", i);
16178 }
16179 else
16180 {
16181 unsigned long i = ulongval ();
16182 if (i != ((long) (sizeof (long long))))
16183 exit (1);
16184 fprintf (f, "%lu\n", i);
16185 }
16186 exit (ferror (f) || fclose (f) != 0);
16187
16188 ;
16189 return 0;
16190 }
16191 _ACEOF
16192 rm -f conftest$ac_exeext
16193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16194 (eval $ac_link) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 ac_cv_sizeof_long_long=`cat conftest.val`
16204 else
16205 echo "$as_me: program exited with status $ac_status" >&5
16206 echo "$as_me: failed program was:" >&5
16207 sed 's/^/| /' conftest.$ac_ext >&5
16208
16209 ( exit $ac_status )
16210 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16211 See \`config.log' for more details." >&5
16212 echo "$as_me: error: cannot compute sizeof (long long), 77
16213 See \`config.log' for more details." >&2;}
16214 { (exit 1); exit 1; }; }
16215 fi
16216 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16217 fi
16218 fi
16219 rm -f conftest.val
16220 else
16221 ac_cv_sizeof_long_long=0
16222 fi
16223 fi
16224 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16225 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16226 cat >>confdefs.h <<_ACEOF
16227 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16228 _ACEOF
16229
16230
16231 if test "$ac_cv_sizeof_long_long" != "0"; then
16232 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16233 fi
16234 ;;
16235 * )
16236 echo "$as_me:$LINENO: checking for long long" >&5
16237 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16238 if test "${ac_cv_type_long_long+set}" = set; then
16239 echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241 cat >conftest.$ac_ext <<_ACEOF
16242 #line $LINENO "configure"
16243 /* confdefs.h. */
16244 _ACEOF
16245 cat confdefs.h >>conftest.$ac_ext
16246 cat >>conftest.$ac_ext <<_ACEOF
16247 /* end confdefs.h. */
16248 $ac_includes_default
16249 int
16250 main ()
16251 {
16252 if ((long long *) 0)
16253 return 0;
16254 if (sizeof (long long))
16255 return 0;
16256 ;
16257 return 0;
16258 }
16259 _ACEOF
16260 rm -f conftest.$ac_objext
16261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16262 (eval $ac_compile) 2>&5
16263 ac_status=$?
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } &&
16266 { ac_try='test -s conftest.$ac_objext'
16267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16268 (eval $ac_try) 2>&5
16269 ac_status=$?
16270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271 (exit $ac_status); }; }; then
16272 ac_cv_type_long_long=yes
16273 else
16274 echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16276
16277 ac_cv_type_long_long=no
16278 fi
16279 rm -f conftest.$ac_objext conftest.$ac_ext
16280 fi
16281 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16282 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16283
16284 echo "$as_me:$LINENO: checking size of long long" >&5
16285 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16286 if test "${ac_cv_sizeof_long_long+set}" = set; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16288 else
16289 if test "$ac_cv_type_long_long" = yes; then
16290 # The cast to unsigned long works around a bug in the HP C Compiler
16291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16293 # This bug is HP SR number 8606223364.
16294 if test "$cross_compiling" = yes; then
16295 # Depending upon the size, compute the lo and hi bounds.
16296 cat >conftest.$ac_ext <<_ACEOF
16297 #line $LINENO "configure"
16298 /* confdefs.h. */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h. */
16303 $ac_includes_default
16304 int
16305 main ()
16306 {
16307 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16308 test_array [0] = 0
16309
16310 ;
16311 return 0;
16312 }
16313 _ACEOF
16314 rm -f conftest.$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>&5
16317 ac_status=$?
16318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16319 (exit $ac_status); } &&
16320 { ac_try='test -s conftest.$ac_objext'
16321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16322 (eval $ac_try) 2>&5
16323 ac_status=$?
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); }; }; then
16326 ac_lo=0 ac_mid=0
16327 while :; do
16328 cat >conftest.$ac_ext <<_ACEOF
16329 #line $LINENO "configure"
16330 /* confdefs.h. */
16331 _ACEOF
16332 cat confdefs.h >>conftest.$ac_ext
16333 cat >>conftest.$ac_ext <<_ACEOF
16334 /* end confdefs.h. */
16335 $ac_includes_default
16336 int
16337 main ()
16338 {
16339 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16340 test_array [0] = 0
16341
16342 ;
16343 return 0;
16344 }
16345 _ACEOF
16346 rm -f conftest.$ac_objext
16347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348 (eval $ac_compile) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_hi=$ac_mid; break
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16362
16363 ac_lo=`expr $ac_mid + 1`
16364 if test $ac_lo -le $ac_mid; then
16365 ac_lo= ac_hi=
16366 break
16367 fi
16368 ac_mid=`expr 2 '*' $ac_mid + 1`
16369 fi
16370 rm -f conftest.$ac_objext conftest.$ac_ext
16371 done
16372 else
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16375
16376 cat >conftest.$ac_ext <<_ACEOF
16377 #line $LINENO "configure"
16378 /* confdefs.h. */
16379 _ACEOF
16380 cat confdefs.h >>conftest.$ac_ext
16381 cat >>conftest.$ac_ext <<_ACEOF
16382 /* end confdefs.h. */
16383 $ac_includes_default
16384 int
16385 main ()
16386 {
16387 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16388 test_array [0] = 0
16389
16390 ;
16391 return 0;
16392 }
16393 _ACEOF
16394 rm -f conftest.$ac_objext
16395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16396 (eval $ac_compile) 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_hi=-1 ac_mid=-1
16407 while :; do
16408 cat >conftest.$ac_ext <<_ACEOF
16409 #line $LINENO "configure"
16410 /* confdefs.h. */
16411 _ACEOF
16412 cat confdefs.h >>conftest.$ac_ext
16413 cat >>conftest.$ac_ext <<_ACEOF
16414 /* end confdefs.h. */
16415 $ac_includes_default
16416 int
16417 main ()
16418 {
16419 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16420 test_array [0] = 0
16421
16422 ;
16423 return 0;
16424 }
16425 _ACEOF
16426 rm -f conftest.$ac_objext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16428 (eval $ac_compile) 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try='test -s conftest.$ac_objext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16435 ac_status=$?
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_lo=$ac_mid; break
16439 else
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16442
16443 ac_hi=`expr '(' $ac_mid ')' - 1`
16444 if test $ac_mid -le $ac_hi; then
16445 ac_lo= ac_hi=
16446 break
16447 fi
16448 ac_mid=`expr 2 '*' $ac_mid`
16449 fi
16450 rm -f conftest.$ac_objext conftest.$ac_ext
16451 done
16452 else
16453 echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16455
16456 ac_lo= ac_hi=
16457 fi
16458 rm -f conftest.$ac_objext conftest.$ac_ext
16459 fi
16460 rm -f conftest.$ac_objext conftest.$ac_ext
16461 # Binary search between lo and hi bounds.
16462 while test "x$ac_lo" != "x$ac_hi"; do
16463 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16464 cat >conftest.$ac_ext <<_ACEOF
16465 #line $LINENO "configure"
16466 /* confdefs.h. */
16467 _ACEOF
16468 cat confdefs.h >>conftest.$ac_ext
16469 cat >>conftest.$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16471 $ac_includes_default
16472 int
16473 main ()
16474 {
16475 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16476 test_array [0] = 0
16477
16478 ;
16479 return 0;
16480 }
16481 _ACEOF
16482 rm -f conftest.$ac_objext
16483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16484 (eval $ac_compile) 2>&5
16485 ac_status=$?
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); } &&
16488 { ac_try='test -s conftest.$ac_objext'
16489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16490 (eval $ac_try) 2>&5
16491 ac_status=$?
16492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16493 (exit $ac_status); }; }; then
16494 ac_hi=$ac_mid
16495 else
16496 echo "$as_me: failed program was:" >&5
16497 sed 's/^/| /' conftest.$ac_ext >&5
16498
16499 ac_lo=`expr '(' $ac_mid ')' + 1`
16500 fi
16501 rm -f conftest.$ac_objext conftest.$ac_ext
16502 done
16503 case $ac_lo in
16504 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16505 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16506 See \`config.log' for more details." >&5
16507 echo "$as_me: error: cannot compute sizeof (long long), 77
16508 See \`config.log' for more details." >&2;}
16509 { (exit 1); exit 1; }; } ;;
16510 esac
16511 else
16512 if test "$cross_compiling" = yes; then
16513 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: cannot run test program while cross compiling
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16518 else
16519 cat >conftest.$ac_ext <<_ACEOF
16520 #line $LINENO "configure"
16521 /* confdefs.h. */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16527 long longval () { return (long) (sizeof (long long)); }
16528 unsigned long ulongval () { return (long) (sizeof (long long)); }
16529 #include <stdio.h>
16530 #include <stdlib.h>
16531 int
16532 main ()
16533 {
16534
16535 FILE *f = fopen ("conftest.val", "w");
16536 if (! f)
16537 exit (1);
16538 if (((long) (sizeof (long long))) < 0)
16539 {
16540 long i = longval ();
16541 if (i != ((long) (sizeof (long long))))
16542 exit (1);
16543 fprintf (f, "%ld\n", i);
16544 }
16545 else
16546 {
16547 unsigned long i = ulongval ();
16548 if (i != ((long) (sizeof (long long))))
16549 exit (1);
16550 fprintf (f, "%lu\n", i);
16551 }
16552 exit (ferror (f) || fclose (f) != 0);
16553
16554 ;
16555 return 0;
16556 }
16557 _ACEOF
16558 rm -f conftest$ac_exeext
16559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16560 (eval $ac_link) 2>&5
16561 ac_status=$?
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_cv_sizeof_long_long=`cat conftest.val`
16570 else
16571 echo "$as_me: program exited with status $ac_status" >&5
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16574
16575 ( exit $ac_status )
16576 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16577 See \`config.log' for more details." >&5
16578 echo "$as_me: error: cannot compute sizeof (long long), 77
16579 See \`config.log' for more details." >&2;}
16580 { (exit 1); exit 1; }; }
16581 fi
16582 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16583 fi
16584 fi
16585 rm -f conftest.val
16586 else
16587 ac_cv_sizeof_long_long=0
16588 fi
16589 fi
16590 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16591 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16592 cat >>confdefs.h <<_ACEOF
16593 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16594 _ACEOF
16595
16596
16597 esac
16598
16599 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16600 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16601 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16602 echo $ECHO_N "(cached) $ECHO_C" >&6
16603 else
16604
16605 if test "$cross_compiling" = yes; then
16606
16607 case "${host}" in
16608 *-pc-msdosdjgpp )
16609 wx_cv_sizeof_wchar_t=0
16610 ;;
16611 * )
16612 wx_cv_sizeof_wchar_t=4
16613 ;;
16614 esac
16615
16616
16617 else
16618 cat >conftest.$ac_ext <<_ACEOF
16619 #line $LINENO "configure"
16620 /* confdefs.h. */
16621 _ACEOF
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625
16626 /* DJGPP only has fake wchar_t: */
16627 #ifdef __DJGPP__
16628 # error "fake wchar_t"
16629 #endif
16630 #ifdef HAVE_WCHAR_H
16631 # ifdef __CYGWIN__
16632 # include <stddef.h>
16633 # endif
16634 # include <wchar.h>
16635 #endif
16636 #ifdef HAVE_STDLIB_H
16637 # include <stdlib.h>
16638 #endif
16639 #include <stdio.h>
16640 int main()
16641 {
16642 FILE *f=fopen("conftestval", "w");
16643 if (!f) exit(1);
16644 fprintf(f, "%i", sizeof(wchar_t));
16645 exit(0);
16646 }
16647
16648 _ACEOF
16649 rm -f conftest$ac_exeext
16650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16651 (eval $ac_link) 2>&5
16652 ac_status=$?
16653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16654 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16657 ac_status=$?
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; }; then
16660 wx_cv_sizeof_wchar_t=`cat conftestval`
16661 else
16662 echo "$as_me: program exited with status $ac_status" >&5
16663 echo "$as_me: failed program was:" >&5
16664 sed 's/^/| /' conftest.$ac_ext >&5
16665
16666 ( exit $ac_status )
16667 wx_cv_sizeof_wchar_t=0
16668 fi
16669 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16670 fi
16671
16672 fi
16673 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16674 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16675
16676 cat >>confdefs.h <<_ACEOF
16677 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16678 _ACEOF
16679
16680
16681 # Check whether --enable-largefile or --disable-largefile was given.
16682 if test "${enable_largefile+set}" = set; then
16683 enableval="$enable_largefile"
16684
16685 fi;
16686 if test "$enable_largefile" != no; then
16687 wx_largefile=no
16688
16689 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16690 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16691 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16692 echo $ECHO_N "(cached) $ECHO_C" >&6
16693 else
16694
16695 cat >conftest.$ac_ext <<_ACEOF
16696 #line $LINENO "configure"
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702 #define _FILE_OFFSET_BITS 64
16703 #include <sys/types.h>
16704 int
16705 main ()
16706 {
16707 typedef struct {
16708 unsigned int field: sizeof(off_t) == 8;
16709 } wxlf;
16710
16711 ;
16712 return 0;
16713 }
16714 _ACEOF
16715 rm -f conftest.$ac_objext
16716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16717 (eval $ac_compile) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } &&
16721 { ac_try='test -s conftest.$ac_objext'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; }; then
16727 ac_cv_sys_file_offset_bits=64
16728 else
16729 echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732 ac_cv_sys_file_offset_bits=no
16733 fi
16734 rm -f conftest.$ac_objext conftest.$ac_ext
16735
16736
16737 fi
16738 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16739 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16740
16741 if test "$ac_cv_sys_file_offset_bits" != no; then
16742 wx_largefile=yes
16743 cat >>confdefs.h <<_ACEOF
16744 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16745 _ACEOF
16746
16747 fi
16748
16749 if test "x$wx_largefile" != "xyes"; then
16750
16751 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16752 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16753 if test "${ac_cv_sys_large_files+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756
16757 cat >conftest.$ac_ext <<_ACEOF
16758 #line $LINENO "configure"
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 #define _LARGE_FILES 1
16765 #include <sys/types.h>
16766 int
16767 main ()
16768 {
16769 typedef struct {
16770 unsigned int field: sizeof(off_t) == 8;
16771 } wxlf;
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 rm -f conftest.$ac_objext
16778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16779 (eval $ac_compile) 2>&5
16780 ac_status=$?
16781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16782 (exit $ac_status); } &&
16783 { ac_try='test -s conftest.$ac_objext'
16784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16785 (eval $ac_try) 2>&5
16786 ac_status=$?
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); }; }; then
16789 ac_cv_sys_large_files=1
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16793
16794 ac_cv_sys_large_files=no
16795 fi
16796 rm -f conftest.$ac_objext conftest.$ac_ext
16797
16798
16799 fi
16800 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16801 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16802
16803 if test "$ac_cv_sys_large_files" != no; then
16804 wx_largefile=yes
16805 cat >>confdefs.h <<_ACEOF
16806 #define _LARGE_FILES $ac_cv_sys_large_files
16807 _ACEOF
16808
16809 fi
16810
16811 fi
16812
16813 echo "$as_me:$LINENO: checking if large file support is available" >&5
16814 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16815 if test "x$wx_largefile" = "xyes"; then
16816 cat >>confdefs.h <<\_ACEOF
16817 #define HAVE_LARGEFILE_SUPPORT 1
16818 _ACEOF
16819
16820 fi
16821 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16822 echo "${ECHO_T}$wx_largefile" >&6
16823 fi
16824
16825
16826 if test "x$wx_largefile" = "xyes"; then
16827 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16828 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16829 else
16830 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16831 fi
16832 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16833 fi
16834
16835 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16836 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16837 if test "${ac_cv_c_bigendian+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 ac_cv_c_bigendian=unknown
16841 # See if sys/param.h defines the BYTE_ORDER macro.
16842 cat >conftest.$ac_ext <<_ACEOF
16843 #line $LINENO "configure"
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #include <sys/types.h>
16850 #include <sys/param.h>
16851 int
16852 main ()
16853 {
16854
16855 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16856 bogus endian macros
16857 #endif
16858 ;
16859 return 0;
16860 }
16861 _ACEOF
16862 rm -f conftest.$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>&5
16865 ac_status=$?
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -s conftest.$ac_objext'
16869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16870 (eval $ac_try) 2>&5
16871 ac_status=$?
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); }; }; then
16874 # It does; now see whether it defined to BIG_ENDIAN or not.
16875 cat >conftest.$ac_ext <<_ACEOF
16876 #line $LINENO "configure"
16877 /* confdefs.h. */
16878 _ACEOF
16879 cat confdefs.h >>conftest.$ac_ext
16880 cat >>conftest.$ac_ext <<_ACEOF
16881 /* end confdefs.h. */
16882 #include <sys/types.h>
16883 #include <sys/param.h>
16884 int
16885 main ()
16886 {
16887
16888 #if BYTE_ORDER != BIG_ENDIAN
16889 not big endian
16890 #endif
16891 ;
16892 return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>&5
16898 ac_status=$?
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } &&
16901 { ac_try='test -s conftest.$ac_objext'
16902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16903 (eval $ac_try) 2>&5
16904 ac_status=$?
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); }; }; then
16907 ac_cv_c_bigendian=yes
16908 else
16909 echo "$as_me: failed program was:" >&5
16910 sed 's/^/| /' conftest.$ac_ext >&5
16911
16912 ac_cv_c_bigendian=no
16913 fi
16914 rm -f conftest.$ac_objext conftest.$ac_ext
16915 else
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16918
16919 fi
16920 rm -f conftest.$ac_objext conftest.$ac_ext
16921 if test $ac_cv_c_bigendian = unknown; then
16922 if test "$cross_compiling" = yes; then
16923 ac_cv_c_bigendian=unknown
16924 else
16925 cat >conftest.$ac_ext <<_ACEOF
16926 #line $LINENO "configure"
16927 /* confdefs.h. */
16928 _ACEOF
16929 cat confdefs.h >>conftest.$ac_ext
16930 cat >>conftest.$ac_ext <<_ACEOF
16931 /* end confdefs.h. */
16932 main () {
16933 /* Are we little or big endian? From Harbison&Steele. */
16934 union
16935 {
16936 long l;
16937 char c[sizeof (long)];
16938 } u;
16939 u.l = 1;
16940 exit (u.c[sizeof (long) - 1] == 1);
16941 }
16942 _ACEOF
16943 rm -f conftest$ac_exeext
16944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16945 (eval $ac_link) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_cv_c_bigendian=no
16955 else
16956 echo "$as_me: program exited with status $ac_status" >&5
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16959
16960 ( exit $ac_status )
16961 ac_cv_c_bigendian=yes
16962 fi
16963 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16964 fi
16965 fi
16966 fi
16967 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16968 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16969 if test $ac_cv_c_bigendian = unknown; then
16970 { 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
16971 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;}
16972 fi
16973 if test $ac_cv_c_bigendian = yes; then
16974 cat >>confdefs.h <<\_ACEOF
16975 #define WORDS_BIGENDIAN 1
16976 _ACEOF
16977
16978 fi
16979
16980
16981
16982 ac_ext=cc
16983 ac_cpp='$CXXCPP $CPPFLAGS'
16984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16988 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16989 if test -z "$CXXCPP"; then
16990 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 # Double quotes because CXXCPP needs to be expanded
16994 for CXXCPP in "$CXX -E" "/lib/cpp"
16995 do
16996 ac_preproc_ok=false
16997 for ac_cxx_preproc_warn_flag in '' yes
16998 do
16999 # Use a header file that comes with gcc, so configuring glibc
17000 # with a fresh cross-compiler works.
17001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17002 # <limits.h> exists even on freestanding compilers.
17003 # On the NeXT, cc -E runs the code through the compiler's parser,
17004 # not just through cpp. "Syntax error" is here to catch this case.
17005 cat >conftest.$ac_ext <<_ACEOF
17006 #line $LINENO "configure"
17007 /* confdefs.h. */
17008 _ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 #ifdef __STDC__
17013 # include <limits.h>
17014 #else
17015 # include <assert.h>
17016 #endif
17017 Syntax error
17018 _ACEOF
17019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } >/dev/null; then
17027 if test -s conftest.err; then
17028 ac_cpp_err=$ac_cxx_preproc_warn_flag
17029 else
17030 ac_cpp_err=
17031 fi
17032 else
17033 ac_cpp_err=yes
17034 fi
17035 if test -z "$ac_cpp_err"; then
17036 :
17037 else
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17040
17041 # Broken: fails on valid input.
17042 continue
17043 fi
17044 rm -f conftest.err conftest.$ac_ext
17045
17046 # OK, works on sane cases. Now check whether non-existent headers
17047 # can be detected and how.
17048 cat >conftest.$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 #include <ac_nonexistent.h>
17056 _ACEOF
17057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17059 ac_status=$?
17060 grep -v '^ *+' conftest.er1 >conftest.err
17061 rm -f conftest.er1
17062 cat conftest.err >&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); } >/dev/null; then
17065 if test -s conftest.err; then
17066 ac_cpp_err=$ac_cxx_preproc_warn_flag
17067 else
17068 ac_cpp_err=
17069 fi
17070 else
17071 ac_cpp_err=yes
17072 fi
17073 if test -z "$ac_cpp_err"; then
17074 # Broken: success on invalid input.
17075 continue
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 # Passes both tests.
17081 ac_preproc_ok=:
17082 break
17083 fi
17084 rm -f conftest.err conftest.$ac_ext
17085
17086 done
17087 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17088 rm -f conftest.err conftest.$ac_ext
17089 if $ac_preproc_ok; then
17090 break
17091 fi
17092
17093 done
17094 ac_cv_prog_CXXCPP=$CXXCPP
17095
17096 fi
17097 CXXCPP=$ac_cv_prog_CXXCPP
17098 else
17099 ac_cv_prog_CXXCPP=$CXXCPP
17100 fi
17101 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17102 echo "${ECHO_T}$CXXCPP" >&6
17103 ac_preproc_ok=false
17104 for ac_cxx_preproc_warn_flag in '' yes
17105 do
17106 # Use a header file that comes with gcc, so configuring glibc
17107 # with a fresh cross-compiler works.
17108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17109 # <limits.h> exists even on freestanding compilers.
17110 # On the NeXT, cc -E runs the code through the compiler's parser,
17111 # not just through cpp. "Syntax error" is here to catch this case.
17112 cat >conftest.$ac_ext <<_ACEOF
17113 #line $LINENO "configure"
17114 /* confdefs.h. */
17115 _ACEOF
17116 cat confdefs.h >>conftest.$ac_ext
17117 cat >>conftest.$ac_ext <<_ACEOF
17118 /* end confdefs.h. */
17119 #ifdef __STDC__
17120 # include <limits.h>
17121 #else
17122 # include <assert.h>
17123 #endif
17124 Syntax error
17125 _ACEOF
17126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17128 ac_status=$?
17129 grep -v '^ *+' conftest.er1 >conftest.err
17130 rm -f conftest.er1
17131 cat conftest.err >&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); } >/dev/null; then
17134 if test -s conftest.err; then
17135 ac_cpp_err=$ac_cxx_preproc_warn_flag
17136 else
17137 ac_cpp_err=
17138 fi
17139 else
17140 ac_cpp_err=yes
17141 fi
17142 if test -z "$ac_cpp_err"; then
17143 :
17144 else
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17147
17148 # Broken: fails on valid input.
17149 continue
17150 fi
17151 rm -f conftest.err conftest.$ac_ext
17152
17153 # OK, works on sane cases. Now check whether non-existent headers
17154 # can be detected and how.
17155 cat >conftest.$ac_ext <<_ACEOF
17156 #line $LINENO "configure"
17157 /* confdefs.h. */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 #include <ac_nonexistent.h>
17163 _ACEOF
17164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17166 ac_status=$?
17167 grep -v '^ *+' conftest.er1 >conftest.err
17168 rm -f conftest.er1
17169 cat conftest.err >&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } >/dev/null; then
17172 if test -s conftest.err; then
17173 ac_cpp_err=$ac_cxx_preproc_warn_flag
17174 else
17175 ac_cpp_err=
17176 fi
17177 else
17178 ac_cpp_err=yes
17179 fi
17180 if test -z "$ac_cpp_err"; then
17181 # Broken: success on invalid input.
17182 continue
17183 else
17184 echo "$as_me: failed program was:" >&5
17185 sed 's/^/| /' conftest.$ac_ext >&5
17186
17187 # Passes both tests.
17188 ac_preproc_ok=:
17189 break
17190 fi
17191 rm -f conftest.err conftest.$ac_ext
17192
17193 done
17194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17195 rm -f conftest.err conftest.$ac_ext
17196 if $ac_preproc_ok; then
17197 :
17198 else
17199 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17200 See \`config.log' for more details." >&5
17201 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17202 See \`config.log' for more details." >&2;}
17203 { (exit 1); exit 1; }; }
17204 fi
17205
17206 ac_ext=cc
17207 ac_cpp='$CXXCPP $CPPFLAGS'
17208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17211
17212
17213
17214 if test "$cross_compiling" = "yes"; then
17215 cat >>confdefs.h <<\_ACEOF
17216 #define wxUSE_IOSTREAMH 1
17217 _ACEOF
17218
17219 else
17220
17221
17222 ac_ext=cc
17223 ac_cpp='$CXXCPP $CPPFLAGS'
17224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17227
17228
17229
17230 for ac_header in iostream
17231 do
17232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17234 echo "$as_me:$LINENO: checking for $ac_header" >&5
17235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17237 echo $ECHO_N "(cached) $ECHO_C" >&6
17238 fi
17239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17241 else
17242 # Is the header compilable?
17243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17245 cat >conftest.$ac_ext <<_ACEOF
17246 #line $LINENO "configure"
17247 /* confdefs.h. */
17248 _ACEOF
17249 cat confdefs.h >>conftest.$ac_ext
17250 cat >>conftest.$ac_ext <<_ACEOF
17251 /* end confdefs.h. */
17252 $ac_includes_default
17253 #include <$ac_header>
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>&5
17258 ac_status=$?
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_header_compiler=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17271
17272 ac_header_compiler=no
17273 fi
17274 rm -f conftest.$ac_objext conftest.$ac_ext
17275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17276 echo "${ECHO_T}$ac_header_compiler" >&6
17277
17278 # Is the header present?
17279 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17281 cat >conftest.$ac_ext <<_ACEOF
17282 #line $LINENO "configure"
17283 /* confdefs.h. */
17284 _ACEOF
17285 cat confdefs.h >>conftest.$ac_ext
17286 cat >>conftest.$ac_ext <<_ACEOF
17287 /* end confdefs.h. */
17288 #include <$ac_header>
17289 _ACEOF
17290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17292 ac_status=$?
17293 grep -v '^ *+' conftest.er1 >conftest.err
17294 rm -f conftest.er1
17295 cat conftest.err >&5
17296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17297 (exit $ac_status); } >/dev/null; then
17298 if test -s conftest.err; then
17299 ac_cpp_err=$ac_cxx_preproc_warn_flag
17300 else
17301 ac_cpp_err=
17302 fi
17303 else
17304 ac_cpp_err=yes
17305 fi
17306 if test -z "$ac_cpp_err"; then
17307 ac_header_preproc=yes
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17311
17312 ac_header_preproc=no
17313 fi
17314 rm -f conftest.err conftest.$ac_ext
17315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17316 echo "${ECHO_T}$ac_header_preproc" >&6
17317
17318 # So? What about this header?
17319 case $ac_header_compiler:$ac_header_preproc in
17320 yes:no )
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17322 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17325 (
17326 cat <<\_ASBOX
17327 ## ------------------------------------ ##
17328 ## Report this to bug-autoconf@gnu.org. ##
17329 ## ------------------------------------ ##
17330 _ASBOX
17331 ) |
17332 sed "s/^/$as_me: WARNING: /" >&2
17333 ;;
17334 no:yes )
17335 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17336 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17337 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17338 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17339 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17340 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17341 (
17342 cat <<\_ASBOX
17343 ## ------------------------------------ ##
17344 ## Report this to bug-autoconf@gnu.org. ##
17345 ## ------------------------------------ ##
17346 _ASBOX
17347 ) |
17348 sed "s/^/$as_me: WARNING: /" >&2
17349 ;;
17350 esac
17351 echo "$as_me:$LINENO: checking for $ac_header" >&5
17352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17354 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 else
17356 eval "$as_ac_Header=$ac_header_preproc"
17357 fi
17358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17360
17361 fi
17362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17363 cat >>confdefs.h <<_ACEOF
17364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17365 _ACEOF
17366
17367 fi
17368
17369 done
17370
17371
17372 if test "$ac_cv_header_iostream" = "yes" ; then
17373 :
17374 else
17375 cat >>confdefs.h <<\_ACEOF
17376 #define wxUSE_IOSTREAMH 1
17377 _ACEOF
17378
17379 fi
17380
17381 ac_ext=c
17382 ac_cpp='$CPP $CPPFLAGS'
17383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386
17387 fi
17388
17389
17390
17391 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17392 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17393 if test "${wx_cv_cpp_bool+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396
17397
17398
17399 ac_ext=cc
17400 ac_cpp='$CXXCPP $CPPFLAGS'
17401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17404
17405
17406 cat >conftest.$ac_ext <<_ACEOF
17407 #line $LINENO "configure"
17408 /* confdefs.h. */
17409 _ACEOF
17410 cat confdefs.h >>conftest.$ac_ext
17411 cat >>conftest.$ac_ext <<_ACEOF
17412 /* end confdefs.h. */
17413
17414
17415 int
17416 main ()
17417 {
17418
17419 bool b = true;
17420
17421 return 0;
17422
17423 ;
17424 return 0;
17425 }
17426 _ACEOF
17427 rm -f conftest.$ac_objext
17428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17429 (eval $ac_compile) 2>&5
17430 ac_status=$?
17431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432 (exit $ac_status); } &&
17433 { ac_try='test -s conftest.$ac_objext'
17434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17435 (eval $ac_try) 2>&5
17436 ac_status=$?
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); }; }; then
17439
17440 wx_cv_cpp_bool=yes
17441
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446
17447 wx_cv_cpp_bool=no
17448
17449
17450 fi
17451 rm -f conftest.$ac_objext conftest.$ac_ext
17452
17453 ac_ext=c
17454 ac_cpp='$CPP $CPPFLAGS'
17455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17458
17459
17460 fi
17461 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17462 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17463
17464 if test "$wx_cv_cpp_bool" = "yes"; then
17465 cat >>confdefs.h <<\_ACEOF
17466 #define HAVE_BOOL 1
17467 _ACEOF
17468
17469 fi
17470
17471
17472
17473 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17474 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17475 if test "${wx_cv_explicit+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478
17479
17480
17481 ac_ext=cc
17482 ac_cpp='$CXXCPP $CPPFLAGS'
17483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17486
17487
17488 cat >conftest.$ac_ext <<_ACEOF
17489 #line $LINENO "configure"
17490 /* confdefs.h. */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h. */
17495
17496 class Foo { public: explicit Foo(int) {} };
17497
17498 int
17499 main ()
17500 {
17501
17502 return 0;
17503
17504 ;
17505 return 0;
17506 }
17507 _ACEOF
17508 rm -f conftest.$ac_objext
17509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17510 (eval $ac_compile) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } &&
17514 { ac_try='test -s conftest.$ac_objext'
17515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17516 (eval $ac_try) 2>&5
17517 ac_status=$?
17518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17519 (exit $ac_status); }; }; then
17520
17521 cat >conftest.$ac_ext <<_ACEOF
17522 #line $LINENO "configure"
17523 /* confdefs.h. */
17524 _ACEOF
17525 cat confdefs.h >>conftest.$ac_ext
17526 cat >>conftest.$ac_ext <<_ACEOF
17527 /* end confdefs.h. */
17528
17529 class Foo { public: explicit Foo(int) {} };
17530 static void TakeFoo(const Foo& foo) { }
17531
17532 int
17533 main ()
17534 {
17535
17536 TakeFoo(17);
17537 return 0;
17538
17539 ;
17540 return 0;
17541 }
17542 _ACEOF
17543 rm -f conftest.$ac_objext
17544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17545 (eval $ac_compile) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); } &&
17549 { ac_try='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 wx_cv_explicit=no
17556 else
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17559
17560 wx_cv_explicit=yes
17561
17562 fi
17563 rm -f conftest.$ac_objext conftest.$ac_ext
17564
17565 else
17566 echo "$as_me: failed program was:" >&5
17567 sed 's/^/| /' conftest.$ac_ext >&5
17568
17569 wx_cv_explicit=no
17570
17571 fi
17572 rm -f conftest.$ac_objext conftest.$ac_ext
17573
17574 ac_ext=c
17575 ac_cpp='$CPP $CPPFLAGS'
17576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17579
17580
17581 fi
17582 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17583 echo "${ECHO_T}$wx_cv_explicit" >&6
17584
17585 if test "$wx_cv_explicit" = "yes"; then
17586 cat >>confdefs.h <<\_ACEOF
17587 #define HAVE_EXPLICIT 1
17588 _ACEOF
17589
17590 fi
17591
17592
17593 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17594 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17595 if test "${ac_cv_cxx_const_cast+set}" = set; then
17596 echo $ECHO_N "(cached) $ECHO_C" >&6
17597 else
17598
17599
17600 ac_ext=cc
17601 ac_cpp='$CXXCPP $CPPFLAGS'
17602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17605
17606 cat >conftest.$ac_ext <<_ACEOF
17607 #line $LINENO "configure"
17608 /* confdefs.h. */
17609 _ACEOF
17610 cat confdefs.h >>conftest.$ac_ext
17611 cat >>conftest.$ac_ext <<_ACEOF
17612 /* end confdefs.h. */
17613
17614 int
17615 main ()
17616 {
17617 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17618 ;
17619 return 0;
17620 }
17621 _ACEOF
17622 rm -f conftest.$ac_objext
17623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17624 (eval $ac_compile) 2>&5
17625 ac_status=$?
17626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17627 (exit $ac_status); } &&
17628 { ac_try='test -s conftest.$ac_objext'
17629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17630 (eval $ac_try) 2>&5
17631 ac_status=$?
17632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17633 (exit $ac_status); }; }; then
17634 ac_cv_cxx_const_cast=yes
17635 else
17636 echo "$as_me: failed program was:" >&5
17637 sed 's/^/| /' conftest.$ac_ext >&5
17638
17639 ac_cv_cxx_const_cast=no
17640 fi
17641 rm -f conftest.$ac_objext conftest.$ac_ext
17642 ac_ext=c
17643 ac_cpp='$CPP $CPPFLAGS'
17644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17647
17648
17649 fi
17650 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17651 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17652 if test "$ac_cv_cxx_const_cast" = yes; then
17653
17654 cat >>confdefs.h <<\_ACEOF
17655 #define HAVE_CONST_CAST
17656 _ACEOF
17657
17658 fi
17659
17660
17661 if test "$wxUSE_STL" = "yes"; then
17662 ac_ext=cc
17663 ac_cpp='$CXXCPP $CPPFLAGS'
17664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17667
17668
17669 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17670 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17671 cat >conftest.$ac_ext <<_ACEOF
17672 #line $LINENO "configure"
17673 /* confdefs.h. */
17674 _ACEOF
17675 cat confdefs.h >>conftest.$ac_ext
17676 cat >>conftest.$ac_ext <<_ACEOF
17677 /* end confdefs.h. */
17678 #include <string>
17679 #include <functional>
17680 #include <algorithm>
17681 #include <vector>
17682 #include <list>
17683 int
17684 main ()
17685 {
17686 std::vector<int> moo;
17687 std::list<int> foo;
17688 std::vector<int>::iterator it =
17689 std::find_if(moo.begin(), moo.end(),
17690 std::bind2nd(std::less<int>(), 3));
17691 ;
17692 return 0;
17693 }
17694 _ACEOF
17695 rm -f conftest.$ac_objext
17696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17697 (eval $ac_compile) 2>&5
17698 ac_status=$?
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17704 ac_status=$?
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 echo "$as_me:$LINENO: result: yes" >&5
17708 echo "${ECHO_T}yes" >&6
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 echo "$as_me:$LINENO: result: no" >&5
17714 echo "${ECHO_T}no" >&6
17715 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17716 echo "$as_me: error: Basic STL functionality missing" >&2;}
17717 { (exit 1); exit 1; }; }
17718 fi
17719 rm -f conftest.$ac_objext conftest.$ac_ext
17720
17721 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17722 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17723 cat >conftest.$ac_ext <<_ACEOF
17724 #line $LINENO "configure"
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <string>
17731 int
17732 main ()
17733 {
17734 std::wstring foo;
17735 ;
17736 return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741 (eval $ac_compile) 2>&5
17742 ac_status=$?
17743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17744 (exit $ac_status); } &&
17745 { ac_try='test -s conftest.$ac_objext'
17746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17747 (eval $ac_try) 2>&5
17748 ac_status=$?
17749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750 (exit $ac_status); }; }; then
17751 echo "$as_me:$LINENO: result: yes" >&5
17752 echo "${ECHO_T}yes" >&6
17753 cat >>confdefs.h <<\_ACEOF
17754 #define HAVE_STD_WSTRING 1
17755 _ACEOF
17756
17757 else
17758 echo "$as_me: failed program was:" >&5
17759 sed 's/^/| /' conftest.$ac_ext >&5
17760
17761 echo "$as_me:$LINENO: result: no" >&5
17762 echo "${ECHO_T}no" >&6
17763 fi
17764 rm -f conftest.$ac_objext conftest.$ac_ext
17765
17766 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17767 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17768 cat >conftest.$ac_ext <<_ACEOF
17769 #line $LINENO "configure"
17770 /* confdefs.h. */
17771 _ACEOF
17772 cat confdefs.h >>conftest.$ac_ext
17773 cat >>conftest.$ac_ext <<_ACEOF
17774 /* end confdefs.h. */
17775 #include <string>
17776 int
17777 main ()
17778 {
17779 std::string foo, bar;
17780 foo.compare(bar);
17781 foo.compare(1, 1, bar);
17782 foo.compare(1, 1, bar, 1, 1);
17783 foo.compare("");
17784 foo.compare(1, 1, "");
17785 foo.compare(1, 1, "", 2);
17786 ;
17787 return 0;
17788 }
17789 _ACEOF
17790 rm -f conftest.$ac_objext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17792 (eval $ac_compile) 2>&5
17793 ac_status=$?
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } &&
17796 { ac_try='test -s conftest.$ac_objext'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17799 ac_status=$?
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; }; then
17802 echo "$as_me:$LINENO: result: yes" >&5
17803 echo "${ECHO_T}yes" >&6
17804 cat >>confdefs.h <<\_ACEOF
17805 #define HAVE_STD_STRING_COMPARE 1
17806 _ACEOF
17807
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17811
17812 echo "$as_me:$LINENO: result: no" >&5
17813 echo "${ECHO_T}no" >&6
17814 fi
17815 rm -f conftest.$ac_objext conftest.$ac_ext
17816
17817 ac_ext=c
17818 ac_cpp='$CPP $CPPFLAGS'
17819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17822
17823 fi
17824
17825
17826 SEARCH_INCLUDE="\
17827 /usr/local/include \
17828 \
17829 /usr/Motif-1.2/include \
17830 /usr/Motif-2.1/include \
17831 \
17832 /usr/include/Motif1.2 \
17833 /opt/xpm/include/X11 \
17834 /opt/GBxpm/include/ \
17835 /opt/GBxpm/X11/include/ \
17836 \
17837 /usr/Motif1.2/include \
17838 /usr/dt/include \
17839 /usr/openwin/include \
17840 \
17841 /usr/include/Xm \
17842 \
17843 /usr/X11R6/include \
17844 /usr/X11R6.4/include \
17845 /usr/X11R5/include \
17846 /usr/X11R4/include \
17847 \
17848 /usr/include/X11R6 \
17849 /usr/include/X11R5 \
17850 /usr/include/X11R4 \
17851 \
17852 /usr/local/X11R6/include \
17853 /usr/local/X11R5/include \
17854 /usr/local/X11R4/include \
17855 \
17856 /usr/local/include/X11R6 \
17857 /usr/local/include/X11R5 \
17858 /usr/local/include/X11R4 \
17859 \
17860 /usr/X11/include \
17861 /usr/include/X11 \
17862 /usr/local/X11/include \
17863 /usr/local/include/X11 \
17864 \
17865 /usr/X386/include \
17866 /usr/x386/include \
17867 /usr/XFree86/include/X11 \
17868 \
17869 X:/XFree86/include \
17870 X:/XFree86/include/X11 \
17871 \
17872 /usr/include/gtk \
17873 /usr/local/include/gtk \
17874 /usr/include/glib \
17875 /usr/local/include/glib \
17876 \
17877 /usr/include/qt \
17878 /usr/local/include/qt \
17879 \
17880 /usr/include/windows \
17881 /usr/include/wine \
17882 /usr/local/include/wine \
17883 \
17884 /usr/unsupported/include \
17885 /usr/athena/include \
17886 /usr/local/x11r5/include \
17887 /usr/lpp/Xamples/include \
17888 \
17889 /usr/openwin/share/include"
17890
17891 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17892
17893
17894 cat >confcache <<\_ACEOF
17895 # This file is a shell script that caches the results of configure
17896 # tests run on this system so they can be shared between configure
17897 # scripts and configure runs, see configure's option --config-cache.
17898 # It is not useful on other systems. If it contains results you don't
17899 # want to keep, you may remove or edit it.
17900 #
17901 # config.status only pays attention to the cache file if you give it
17902 # the --recheck option to rerun configure.
17903 #
17904 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17905 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17906 # following values.
17907
17908 _ACEOF
17909
17910 # The following way of writing the cache mishandles newlines in values,
17911 # but we know of no workaround that is simple, portable, and efficient.
17912 # So, don't put newlines in cache variables' values.
17913 # Ultrix sh set writes to stderr and can't be redirected directly,
17914 # and sets the high bit in the cache file unless we assign to the vars.
17915 {
17916 (set) 2>&1 |
17917 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17918 *ac_space=\ *)
17919 # `set' does not quote correctly, so add quotes (double-quote
17920 # substitution turns \\\\ into \\, and sed turns \\ into \).
17921 sed -n \
17922 "s/'/'\\\\''/g;
17923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17924 ;;
17925 *)
17926 # `set' quotes correctly as required by POSIX, so do not add quotes.
17927 sed -n \
17928 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17929 ;;
17930 esac;
17931 } |
17932 sed '
17933 t clear
17934 : clear
17935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17936 t end
17937 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17938 : end' >>confcache
17939 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17940 if test -w $cache_file; then
17941 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17942 cat confcache >$cache_file
17943 else
17944 echo "not updating unwritable cache $cache_file"
17945 fi
17946 fi
17947 rm -f confcache
17948
17949 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17950 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17951 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17952 if test "${wx_cv_lib_glibc21+set}" = set; then
17953 echo $ECHO_N "(cached) $ECHO_C" >&6
17954 else
17955
17956 cat >conftest.$ac_ext <<_ACEOF
17957 #line $LINENO "configure"
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963 #include <features.h>
17964 int
17965 main ()
17966 {
17967
17968 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17969 #error not glibc2.1
17970 #endif
17971
17972 ;
17973 return 0;
17974 }
17975 _ACEOF
17976 rm -f conftest.$ac_objext
17977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17978 (eval $ac_compile) 2>&5
17979 ac_status=$?
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try='test -s conftest.$ac_objext'
17983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17984 (eval $ac_try) 2>&5
17985 ac_status=$?
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); }; }; then
17988
17989 wx_cv_lib_glibc21=yes
17990
17991 else
17992 echo "$as_me: failed program was:" >&5
17993 sed 's/^/| /' conftest.$ac_ext >&5
17994
17995
17996 wx_cv_lib_glibc21=no
17997
17998
17999 fi
18000 rm -f conftest.$ac_objext conftest.$ac_ext
18001
18002 fi
18003 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
18004 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
18005 if test "$wx_cv_lib_glibc21" = "yes"; then
18006 cat >>confdefs.h <<\_ACEOF
18007 #define wxHAVE_GLIBC2 1
18008 _ACEOF
18009
18010 fi
18011 fi
18012
18013 if test "x$wx_cv_lib_glibc21" = "xyes"; then
18014 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
18015 cat >>confdefs.h <<\_ACEOF
18016 #define _GNU_SOURCE 1
18017 _ACEOF
18018
18019 fi
18020 fi
18021
18022
18023
18024 REGEX_INCLUDE=
18025 if test "$wxUSE_REGEX" != "no"; then
18026 cat >>confdefs.h <<\_ACEOF
18027 #define wxUSE_REGEX 1
18028 _ACEOF
18029
18030
18031 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
18032 if test "${ac_cv_header_regex_h+set}" = set; then
18033 echo "$as_me:$LINENO: checking for regex.h" >&5
18034 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18035 if test "${ac_cv_header_regex_h+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18037 fi
18038 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18039 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18040 else
18041 # Is the header compilable?
18042 echo "$as_me:$LINENO: checking regex.h usability" >&5
18043 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
18044 cat >conftest.$ac_ext <<_ACEOF
18045 #line $LINENO "configure"
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 $ac_includes_default
18052 #include <regex.h>
18053 _ACEOF
18054 rm -f conftest.$ac_objext
18055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18056 (eval $ac_compile) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -s conftest.$ac_objext'
18061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18062 (eval $ac_try) 2>&5
18063 ac_status=$?
18064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18065 (exit $ac_status); }; }; then
18066 ac_header_compiler=yes
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18070
18071 ac_header_compiler=no
18072 fi
18073 rm -f conftest.$ac_objext conftest.$ac_ext
18074 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18075 echo "${ECHO_T}$ac_header_compiler" >&6
18076
18077 # Is the header present?
18078 echo "$as_me:$LINENO: checking regex.h presence" >&5
18079 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
18080 cat >conftest.$ac_ext <<_ACEOF
18081 #line $LINENO "configure"
18082 /* confdefs.h. */
18083 _ACEOF
18084 cat confdefs.h >>conftest.$ac_ext
18085 cat >>conftest.$ac_ext <<_ACEOF
18086 /* end confdefs.h. */
18087 #include <regex.h>
18088 _ACEOF
18089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18091 ac_status=$?
18092 grep -v '^ *+' conftest.er1 >conftest.err
18093 rm -f conftest.er1
18094 cat conftest.err >&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); } >/dev/null; then
18097 if test -s conftest.err; then
18098 ac_cpp_err=$ac_c_preproc_warn_flag
18099 else
18100 ac_cpp_err=
18101 fi
18102 else
18103 ac_cpp_err=yes
18104 fi
18105 if test -z "$ac_cpp_err"; then
18106 ac_header_preproc=yes
18107 else
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18110
18111 ac_header_preproc=no
18112 fi
18113 rm -f conftest.err conftest.$ac_ext
18114 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18115 echo "${ECHO_T}$ac_header_preproc" >&6
18116
18117 # So? What about this header?
18118 case $ac_header_compiler:$ac_header_preproc in
18119 yes:no )
18120 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
18121 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18122 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18123 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18124 (
18125 cat <<\_ASBOX
18126 ## ------------------------------------ ##
18127 ## Report this to bug-autoconf@gnu.org. ##
18128 ## ------------------------------------ ##
18129 _ASBOX
18130 ) |
18131 sed "s/^/$as_me: WARNING: /" >&2
18132 ;;
18133 no:yes )
18134 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
18135 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
18136 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
18137 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
18138 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
18139 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
18140 (
18141 cat <<\_ASBOX
18142 ## ------------------------------------ ##
18143 ## Report this to bug-autoconf@gnu.org. ##
18144 ## ------------------------------------ ##
18145 _ASBOX
18146 ) |
18147 sed "s/^/$as_me: WARNING: /" >&2
18148 ;;
18149 esac
18150 echo "$as_me:$LINENO: checking for regex.h" >&5
18151 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
18152 if test "${ac_cv_header_regex_h+set}" = set; then
18153 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 else
18155 ac_cv_header_regex_h=$ac_header_preproc
18156 fi
18157 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18158 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18159
18160 fi
18161 if test $ac_cv_header_regex_h = yes; then
18162
18163 for ac_func in regcomp
18164 do
18165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18166 echo "$as_me:$LINENO: checking for $ac_func" >&5
18167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18168 if eval "test \"\${$as_ac_var+set}\" = set"; then
18169 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 else
18171 cat >conftest.$ac_ext <<_ACEOF
18172 #line $LINENO "configure"
18173 /* confdefs.h. */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h. */
18178 /* System header to define __stub macros and hopefully few prototypes,
18179 which can conflict with char $ac_func (); below.
18180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18181 <limits.h> exists even on freestanding compilers. */
18182 #ifdef __STDC__
18183 # include <limits.h>
18184 #else
18185 # include <assert.h>
18186 #endif
18187 /* Override any gcc2 internal prototype to avoid an error. */
18188 #ifdef __cplusplus
18189 extern "C"
18190 {
18191 #endif
18192 /* We use char because int might match the return type of a gcc2
18193 builtin and then its argument prototype would still apply. */
18194 char $ac_func ();
18195 /* The GNU C library defines this for functions which it implements
18196 to always fail with ENOSYS. Some functions are actually named
18197 something starting with __ and the normal name is an alias. */
18198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18199 choke me
18200 #else
18201 char (*f) () = $ac_func;
18202 #endif
18203 #ifdef __cplusplus
18204 }
18205 #endif
18206
18207 int
18208 main ()
18209 {
18210 return f != $ac_func;
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext conftest$ac_exeext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18217 (eval $ac_link) 2>&5
18218 ac_status=$?
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try='test -s conftest$ac_exeext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18224 ac_status=$?
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18228 else
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18231
18232 eval "$as_ac_var=no"
18233 fi
18234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18235 fi
18236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18238 if test `eval echo '${'$as_ac_var'}'` = yes; then
18239 cat >>confdefs.h <<_ACEOF
18240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18241 _ACEOF
18242
18243 fi
18244 done
18245
18246 fi
18247
18248
18249
18250 if test "x$ac_cv_func_regcomp" != "xyes"; then
18251 if test "$wxUSE_REGEX" = "sys" ; then
18252 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18253 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18254 { (exit 1); exit 1; }; }
18255 else
18256 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18257 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18258 wxUSE_REGEX=builtin
18259 fi
18260 else
18261 wxUSE_REGEX=sys
18262 fi
18263 fi
18264
18265 if test "$wxUSE_REGEX" = "builtin" ; then
18266 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18267 fi
18268 fi
18269
18270
18271 ZLIB_INCLUDE=
18272 ZLIB_LINK=
18273 if test "$wxUSE_ZLIB" != "no" ; then
18274 cat >>confdefs.h <<\_ACEOF
18275 #define wxUSE_ZLIB 1
18276 _ACEOF
18277
18278
18279 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18280 if test "$USE_DARWIN" = 1; then
18281 system_zlib_h_ok="yes"
18282 else
18283 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18284 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18285 if test "${ac_cv_header_zlib_h+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 else
18288 if test "$cross_compiling" = yes; then
18289 unset ac_cv_header_zlib_h
18290
18291 else
18292 cat >conftest.$ac_ext <<_ACEOF
18293 #line $LINENO "configure"
18294 /* confdefs.h. */
18295 _ACEOF
18296 cat confdefs.h >>conftest.$ac_ext
18297 cat >>conftest.$ac_ext <<_ACEOF
18298 /* end confdefs.h. */
18299
18300 #include <zlib.h>
18301 #include <stdio.h>
18302
18303 int main()
18304 {
18305 FILE *f=fopen("conftestval", "w");
18306 if (!f) exit(1);
18307 fprintf(f, "%s",
18308 ZLIB_VERSION[0] == '1' &&
18309 (ZLIB_VERSION[2] > '1' ||
18310 (ZLIB_VERSION[2] == '1' &&
18311 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18312 exit(0);
18313 }
18314
18315 _ACEOF
18316 rm -f conftest$ac_exeext
18317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18318 (eval $ac_link) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; }; then
18327 ac_cv_header_zlib_h=`cat conftestval`
18328 else
18329 echo "$as_me: program exited with status $ac_status" >&5
18330 echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 ( exit $ac_status )
18334 ac_cv_header_zlib_h=no
18335 fi
18336 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18337 fi
18338
18339 fi
18340 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18341 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18342 if test "${ac_cv_header_zlib_h+set}" = set; then
18343 echo "$as_me:$LINENO: checking for zlib.h" >&5
18344 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18345 if test "${ac_cv_header_zlib_h+set}" = set; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18347 fi
18348 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18349 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18350 else
18351 # Is the header compilable?
18352 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18353 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18354 cat >conftest.$ac_ext <<_ACEOF
18355 #line $LINENO "configure"
18356 /* confdefs.h. */
18357 _ACEOF
18358 cat confdefs.h >>conftest.$ac_ext
18359 cat >>conftest.$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18361 $ac_includes_default
18362 #include <zlib.h>
18363 _ACEOF
18364 rm -f conftest.$ac_objext
18365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18366 (eval $ac_compile) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); } &&
18370 { ac_try='test -s conftest.$ac_objext'
18371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18372 (eval $ac_try) 2>&5
18373 ac_status=$?
18374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 (exit $ac_status); }; }; then
18376 ac_header_compiler=yes
18377 else
18378 echo "$as_me: failed program was:" >&5
18379 sed 's/^/| /' conftest.$ac_ext >&5
18380
18381 ac_header_compiler=no
18382 fi
18383 rm -f conftest.$ac_objext conftest.$ac_ext
18384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18385 echo "${ECHO_T}$ac_header_compiler" >&6
18386
18387 # Is the header present?
18388 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18389 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18390 cat >conftest.$ac_ext <<_ACEOF
18391 #line $LINENO "configure"
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 #include <zlib.h>
18398 _ACEOF
18399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18400 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18401 ac_status=$?
18402 grep -v '^ *+' conftest.er1 >conftest.err
18403 rm -f conftest.er1
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } >/dev/null; then
18407 if test -s conftest.err; then
18408 ac_cpp_err=$ac_c_preproc_warn_flag
18409 else
18410 ac_cpp_err=
18411 fi
18412 else
18413 ac_cpp_err=yes
18414 fi
18415 if test -z "$ac_cpp_err"; then
18416 ac_header_preproc=yes
18417 else
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18420
18421 ac_header_preproc=no
18422 fi
18423 rm -f conftest.err conftest.$ac_ext
18424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18425 echo "${ECHO_T}$ac_header_preproc" >&6
18426
18427 # So? What about this header?
18428 case $ac_header_compiler:$ac_header_preproc in
18429 yes:no )
18430 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18431 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18432 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18433 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18434 (
18435 cat <<\_ASBOX
18436 ## ------------------------------------ ##
18437 ## Report this to bug-autoconf@gnu.org. ##
18438 ## ------------------------------------ ##
18439 _ASBOX
18440 ) |
18441 sed "s/^/$as_me: WARNING: /" >&2
18442 ;;
18443 no:yes )
18444 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18445 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18446 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18447 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18448 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18449 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18450 (
18451 cat <<\_ASBOX
18452 ## ------------------------------------ ##
18453 ## Report this to bug-autoconf@gnu.org. ##
18454 ## ------------------------------------ ##
18455 _ASBOX
18456 ) |
18457 sed "s/^/$as_me: WARNING: /" >&2
18458 ;;
18459 esac
18460 echo "$as_me:$LINENO: checking for zlib.h" >&5
18461 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18462 if test "${ac_cv_header_zlib_h+set}" = set; then
18463 echo $ECHO_N "(cached) $ECHO_C" >&6
18464 else
18465 ac_cv_header_zlib_h=$ac_header_preproc
18466 fi
18467 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18468 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18469
18470 fi
18471
18472
18473
18474 system_zlib_h_ok=$ac_cv_header_zlib_h
18475 fi
18476
18477 if test "$system_zlib_h_ok" = "yes"; then
18478 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18479 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18480 if test "${ac_cv_lib_z_deflate+set}" = set; then
18481 echo $ECHO_N "(cached) $ECHO_C" >&6
18482 else
18483 ac_check_lib_save_LIBS=$LIBS
18484 LIBS="-lz $LIBS"
18485 cat >conftest.$ac_ext <<_ACEOF
18486 #line $LINENO "configure"
18487 /* confdefs.h. */
18488 _ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18492
18493 /* Override any gcc2 internal prototype to avoid an error. */
18494 #ifdef __cplusplus
18495 extern "C"
18496 #endif
18497 /* We use char because int might match the return type of a gcc2
18498 builtin and then its argument prototype would still apply. */
18499 char deflate ();
18500 int
18501 main ()
18502 {
18503 deflate ();
18504 ;
18505 return 0;
18506 }
18507 _ACEOF
18508 rm -f conftest.$ac_objext conftest$ac_exeext
18509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18510 (eval $ac_link) 2>&5
18511 ac_status=$?
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -s conftest$ac_exeext'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; }; then
18520 ac_cv_lib_z_deflate=yes
18521 else
18522 echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18524
18525 ac_cv_lib_z_deflate=no
18526 fi
18527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18528 LIBS=$ac_check_lib_save_LIBS
18529 fi
18530 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18531 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18532 if test $ac_cv_lib_z_deflate = yes; then
18533 ZLIB_LINK=" -lz"
18534 fi
18535
18536 fi
18537
18538 if test "x$ZLIB_LINK" = "x" ; then
18539 if test "$wxUSE_ZLIB" = "sys" ; then
18540 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18541 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18542 { (exit 1); exit 1; }; }
18543 else
18544 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18545 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18546 wxUSE_ZLIB=builtin
18547 fi
18548 else
18549 wxUSE_ZLIB=sys
18550 fi
18551 fi
18552
18553 if test "$wxUSE_ZLIB" = "builtin" ; then
18554 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18555 fi
18556 fi
18557
18558
18559 PNG_INCLUDE=
18560 PNG_LINK=
18561 if test "$wxUSE_LIBPNG" != "no" ; then
18562 cat >>confdefs.h <<\_ACEOF
18563 #define wxUSE_LIBPNG 1
18564 _ACEOF
18565
18566
18567 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18568 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18569 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18570 wxUSE_LIBPNG=sys
18571 fi
18572
18573 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18574 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18575 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18576 wxUSE_LIBPNG=builtin
18577 fi
18578
18579 if test "$wxUSE_MGL" != 1 ; then
18580 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18581 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18582 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18583 if test "${ac_cv_header_png_h+set}" = set; then
18584 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 else
18586 if test "$cross_compiling" = yes; then
18587 unset ac_cv_header_png_h
18588
18589 else
18590 cat >conftest.$ac_ext <<_ACEOF
18591 #line $LINENO "configure"
18592 /* confdefs.h. */
18593 _ACEOF
18594 cat confdefs.h >>conftest.$ac_ext
18595 cat >>conftest.$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597
18598 #include <png.h>
18599 #include <stdio.h>
18600
18601 int main()
18602 {
18603 FILE *f=fopen("conftestval", "w");
18604 if (!f) exit(1);
18605 fprintf(f, "%s",
18606 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18607 exit(0);
18608 }
18609
18610 _ACEOF
18611 rm -f conftest$ac_exeext
18612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18613 (eval $ac_link) 2>&5
18614 ac_status=$?
18615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18616 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; }; then
18622 ac_cv_header_png_h=`cat conftestval`
18623 else
18624 echo "$as_me: program exited with status $ac_status" >&5
18625 echo "$as_me: failed program was:" >&5
18626 sed 's/^/| /' conftest.$ac_ext >&5
18627
18628 ( exit $ac_status )
18629 ac_cv_header_png_h=no
18630 fi
18631 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18632 fi
18633
18634 fi
18635 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18636 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18637 if test "${ac_cv_header_png_h+set}" = set; then
18638 echo "$as_me:$LINENO: checking for png.h" >&5
18639 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18640 if test "${ac_cv_header_png_h+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18642 fi
18643 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18644 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18645 else
18646 # Is the header compilable?
18647 echo "$as_me:$LINENO: checking png.h usability" >&5
18648 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18649 cat >conftest.$ac_ext <<_ACEOF
18650 #line $LINENO "configure"
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 $ac_includes_default
18657 #include <png.h>
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18661 (eval $ac_compile) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try='test -s conftest.$ac_objext'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; }; then
18671 ac_header_compiler=yes
18672 else
18673 echo "$as_me: failed program was:" >&5
18674 sed 's/^/| /' conftest.$ac_ext >&5
18675
18676 ac_header_compiler=no
18677 fi
18678 rm -f conftest.$ac_objext conftest.$ac_ext
18679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18680 echo "${ECHO_T}$ac_header_compiler" >&6
18681
18682 # Is the header present?
18683 echo "$as_me:$LINENO: checking png.h presence" >&5
18684 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18685 cat >conftest.$ac_ext <<_ACEOF
18686 #line $LINENO "configure"
18687 /* confdefs.h. */
18688 _ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 #include <png.h>
18693 _ACEOF
18694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } >/dev/null; then
18702 if test -s conftest.err; then
18703 ac_cpp_err=$ac_c_preproc_warn_flag
18704 else
18705 ac_cpp_err=
18706 fi
18707 else
18708 ac_cpp_err=yes
18709 fi
18710 if test -z "$ac_cpp_err"; then
18711 ac_header_preproc=yes
18712 else
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18715
18716 ac_header_preproc=no
18717 fi
18718 rm -f conftest.err conftest.$ac_ext
18719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18720 echo "${ECHO_T}$ac_header_preproc" >&6
18721
18722 # So? What about this header?
18723 case $ac_header_compiler:$ac_header_preproc in
18724 yes:no )
18725 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18726 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18727 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18728 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18729 (
18730 cat <<\_ASBOX
18731 ## ------------------------------------ ##
18732 ## Report this to bug-autoconf@gnu.org. ##
18733 ## ------------------------------------ ##
18734 _ASBOX
18735 ) |
18736 sed "s/^/$as_me: WARNING: /" >&2
18737 ;;
18738 no:yes )
18739 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18740 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18741 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18742 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18743 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18744 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18745 (
18746 cat <<\_ASBOX
18747 ## ------------------------------------ ##
18748 ## Report this to bug-autoconf@gnu.org. ##
18749 ## ------------------------------------ ##
18750 _ASBOX
18751 ) |
18752 sed "s/^/$as_me: WARNING: /" >&2
18753 ;;
18754 esac
18755 echo "$as_me:$LINENO: checking for png.h" >&5
18756 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18757 if test "${ac_cv_header_png_h+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18759 else
18760 ac_cv_header_png_h=$ac_header_preproc
18761 fi
18762 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18763 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18764
18765 fi
18766
18767
18768
18769 if test "$ac_cv_header_png_h" = "yes"; then
18770 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18771 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18772 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18773 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 else
18775 ac_check_lib_save_LIBS=$LIBS
18776 LIBS="-lpng -lz -lm $LIBS"
18777 cat >conftest.$ac_ext <<_ACEOF
18778 #line $LINENO "configure"
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784
18785 /* Override any gcc2 internal prototype to avoid an error. */
18786 #ifdef __cplusplus
18787 extern "C"
18788 #endif
18789 /* We use char because int might match the return type of a gcc2
18790 builtin and then its argument prototype would still apply. */
18791 char png_check_sig ();
18792 int
18793 main ()
18794 {
18795 png_check_sig ();
18796 ;
18797 return 0;
18798 }
18799 _ACEOF
18800 rm -f conftest.$ac_objext conftest$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } &&
18806 { ac_try='test -s conftest$ac_exeext'
18807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18808 (eval $ac_try) 2>&5
18809 ac_status=$?
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); }; }; then
18812 ac_cv_lib_png_png_check_sig=yes
18813 else
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18816
18817 ac_cv_lib_png_png_check_sig=no
18818 fi
18819 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18820 LIBS=$ac_check_lib_save_LIBS
18821 fi
18822 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18823 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18824 if test $ac_cv_lib_png_png_check_sig = yes; then
18825 PNG_LINK=" -lpng"
18826 fi
18827
18828 fi
18829
18830 if test "x$PNG_LINK" = "x" ; then
18831 if test "$wxUSE_LIBPNG" = "sys" ; then
18832 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18833 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18834 { (exit 1); exit 1; }; }
18835 else
18836 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18837 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18838 wxUSE_LIBPNG=builtin
18839 fi
18840 else
18841 wxUSE_LIBPNG=sys
18842 fi
18843 fi
18844 fi
18845
18846 if test "$wxUSE_LIBPNG" = "builtin" ; then
18847 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18848 fi
18849
18850 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18851 fi
18852
18853
18854 JPEG_INCLUDE=
18855 JPEG_LINK=
18856 if test "$wxUSE_LIBJPEG" != "no" ; then
18857 cat >>confdefs.h <<\_ACEOF
18858 #define wxUSE_LIBJPEG 1
18859 _ACEOF
18860
18861
18862 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18863 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18864 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18865 wxUSE_LIBJPEG=sys
18866 fi
18867
18868 if test "$wxUSE_MGL" != 1 ; then
18869 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18870 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18871 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18872 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 else
18875 cat >conftest.$ac_ext <<_ACEOF
18876 #line $LINENO "configure"
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882
18883 #undef HAVE_STDLIB_H
18884 #include <stdio.h>
18885 #include <jpeglib.h>
18886
18887 int
18888 main ()
18889 {
18890
18891
18892 ;
18893 return 0;
18894 }
18895 _ACEOF
18896 rm -f conftest.$ac_objext
18897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18898 (eval $ac_compile) 2>&5
18899 ac_status=$?
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } &&
18902 { ac_try='test -s conftest.$ac_objext'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18905 ac_status=$?
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; }; then
18908 ac_cv_header_jpeglib_h=yes
18909 else
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18912
18913 ac_cv_header_jpeglib_h=no
18914
18915 fi
18916 rm -f conftest.$ac_objext conftest.$ac_ext
18917
18918 fi
18919
18920 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18921 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18922
18923 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18924 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18925 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18926 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18927 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 else
18929 ac_check_lib_save_LIBS=$LIBS
18930 LIBS="-ljpeg $LIBS"
18931 cat >conftest.$ac_ext <<_ACEOF
18932 #line $LINENO "configure"
18933 /* confdefs.h. */
18934 _ACEOF
18935 cat confdefs.h >>conftest.$ac_ext
18936 cat >>conftest.$ac_ext <<_ACEOF
18937 /* end confdefs.h. */
18938
18939 /* Override any gcc2 internal prototype to avoid an error. */
18940 #ifdef __cplusplus
18941 extern "C"
18942 #endif
18943 /* We use char because int might match the return type of a gcc2
18944 builtin and then its argument prototype would still apply. */
18945 char jpeg_read_header ();
18946 int
18947 main ()
18948 {
18949 jpeg_read_header ();
18950 ;
18951 return 0;
18952 }
18953 _ACEOF
18954 rm -f conftest.$ac_objext conftest$ac_exeext
18955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18956 (eval $ac_link) 2>&5
18957 ac_status=$?
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); } &&
18960 { ac_try='test -s conftest$ac_exeext'
18961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18962 (eval $ac_try) 2>&5
18963 ac_status=$?
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); }; }; then
18966 ac_cv_lib_jpeg_jpeg_read_header=yes
18967 else
18968 echo "$as_me: failed program was:" >&5
18969 sed 's/^/| /' conftest.$ac_ext >&5
18970
18971 ac_cv_lib_jpeg_jpeg_read_header=no
18972 fi
18973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18974 LIBS=$ac_check_lib_save_LIBS
18975 fi
18976 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18977 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18978 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18979 JPEG_LINK=" -ljpeg"
18980 fi
18981
18982 fi
18983
18984 if test "x$JPEG_LINK" = "x" ; then
18985 if test "$wxUSE_LIBJPEG" = "sys" ; then
18986 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18987 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18988 { (exit 1); exit 1; }; }
18989 else
18990 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18991 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18992 wxUSE_LIBJPEG=builtin
18993 fi
18994 else
18995 wxUSE_LIBJPEG=sys
18996 fi
18997 fi
18998 fi
18999
19000 if test "$wxUSE_LIBJPEG" = "builtin" ; then
19001 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
19002 fi
19003 fi
19004
19005
19006 TIFF_INCLUDE=
19007 TIFF_LINK=
19008 TIFF_PREREQ_LINKS=-lm
19009 if test "$wxUSE_LIBTIFF" != "no" ; then
19010 cat >>confdefs.h <<\_ACEOF
19011 #define wxUSE_LIBTIFF 1
19012 _ACEOF
19013
19014
19015 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
19016 if test "$wxUSE_LIBJPEG" = "sys"; then
19017 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
19018 fi
19019 if test "$wxUSE_ZLIB" = "sys"; then
19020 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
19021 fi
19022 if test "${ac_cv_header_tiffio_h+set}" = set; then
19023 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19024 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19025 if test "${ac_cv_header_tiffio_h+set}" = set; then
19026 echo $ECHO_N "(cached) $ECHO_C" >&6
19027 fi
19028 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19029 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19030 else
19031 # Is the header compilable?
19032 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
19033 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
19034 cat >conftest.$ac_ext <<_ACEOF
19035 #line $LINENO "configure"
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041 $ac_includes_default
19042 #include <tiffio.h>
19043 _ACEOF
19044 rm -f conftest.$ac_objext
19045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19046 (eval $ac_compile) 2>&5
19047 ac_status=$?
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); } &&
19050 { ac_try='test -s conftest.$ac_objext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_header_compiler=yes
19057 else
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19060
19061 ac_header_compiler=no
19062 fi
19063 rm -f conftest.$ac_objext conftest.$ac_ext
19064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19065 echo "${ECHO_T}$ac_header_compiler" >&6
19066
19067 # Is the header present?
19068 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
19069 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
19070 cat >conftest.$ac_ext <<_ACEOF
19071 #line $LINENO "configure"
19072 /* confdefs.h. */
19073 _ACEOF
19074 cat confdefs.h >>conftest.$ac_ext
19075 cat >>conftest.$ac_ext <<_ACEOF
19076 /* end confdefs.h. */
19077 #include <tiffio.h>
19078 _ACEOF
19079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } >/dev/null; then
19087 if test -s conftest.err; then
19088 ac_cpp_err=$ac_c_preproc_warn_flag
19089 else
19090 ac_cpp_err=
19091 fi
19092 else
19093 ac_cpp_err=yes
19094 fi
19095 if test -z "$ac_cpp_err"; then
19096 ac_header_preproc=yes
19097 else
19098 echo "$as_me: failed program was:" >&5
19099 sed 's/^/| /' conftest.$ac_ext >&5
19100
19101 ac_header_preproc=no
19102 fi
19103 rm -f conftest.err conftest.$ac_ext
19104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19105 echo "${ECHO_T}$ac_header_preproc" >&6
19106
19107 # So? What about this header?
19108 case $ac_header_compiler:$ac_header_preproc in
19109 yes:no )
19110 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
19111 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19112 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19113 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19114 (
19115 cat <<\_ASBOX
19116 ## ------------------------------------ ##
19117 ## Report this to bug-autoconf@gnu.org. ##
19118 ## ------------------------------------ ##
19119 _ASBOX
19120 ) |
19121 sed "s/^/$as_me: WARNING: /" >&2
19122 ;;
19123 no:yes )
19124 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
19125 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
19126 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
19127 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
19128 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
19129 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
19130 (
19131 cat <<\_ASBOX
19132 ## ------------------------------------ ##
19133 ## Report this to bug-autoconf@gnu.org. ##
19134 ## ------------------------------------ ##
19135 _ASBOX
19136 ) |
19137 sed "s/^/$as_me: WARNING: /" >&2
19138 ;;
19139 esac
19140 echo "$as_me:$LINENO: checking for tiffio.h" >&5
19141 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
19142 if test "${ac_cv_header_tiffio_h+set}" = set; then
19143 echo $ECHO_N "(cached) $ECHO_C" >&6
19144 else
19145 ac_cv_header_tiffio_h=$ac_header_preproc
19146 fi
19147 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
19148 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
19149
19150 fi
19151 if test $ac_cv_header_tiffio_h = yes; then
19152
19153 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19154 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19155 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19157 else
19158 ac_check_lib_save_LIBS=$LIBS
19159 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19160 cat >conftest.$ac_ext <<_ACEOF
19161 #line $LINENO "configure"
19162 /* confdefs.h. */
19163 _ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19167
19168 /* Override any gcc2 internal prototype to avoid an error. */
19169 #ifdef __cplusplus
19170 extern "C"
19171 #endif
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19174 char TIFFError ();
19175 int
19176 main ()
19177 {
19178 TIFFError ();
19179 ;
19180 return 0;
19181 }
19182 _ACEOF
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>&5
19186 ac_status=$?
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -s conftest$ac_exeext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19192 ac_status=$?
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_lib_tiff_TIFFError=yes
19196 else
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19199
19200 ac_cv_lib_tiff_TIFFError=no
19201 fi
19202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19203 LIBS=$ac_check_lib_save_LIBS
19204 fi
19205 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19206 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19207 if test $ac_cv_lib_tiff_TIFFError = yes; then
19208 TIFF_LINK=" -ltiff"
19209 fi
19210
19211
19212
19213 fi
19214
19215
19216
19217 if test "x$TIFF_LINK" = "x" ; then
19218 if test "$wxUSE_LIBTIFF" = "sys" ; then
19219 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19220 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19221 { (exit 1); exit 1; }; }
19222 else
19223 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19224 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19225 wxUSE_LIBTIFF=builtin
19226 fi
19227 else
19228 wxUSE_LIBTIFF=sys
19229 fi
19230 fi
19231
19232 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19233 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19234 fi
19235 fi
19236
19237
19238 if test "$wxUSE_EXPAT" != "no"; then
19239 wxUSE_XML=yes
19240 cat >>confdefs.h <<\_ACEOF
19241 #define wxUSE_EXPAT 1
19242 _ACEOF
19243
19244 cat >>confdefs.h <<\_ACEOF
19245 #define wxUSE_XML 1
19246 _ACEOF
19247
19248
19249 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19250 if test "${ac_cv_header_expat_h+set}" = set; then
19251 echo "$as_me:$LINENO: checking for expat.h" >&5
19252 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19253 if test "${ac_cv_header_expat_h+set}" = set; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 fi
19256 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19257 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19258 else
19259 # Is the header compilable?
19260 echo "$as_me:$LINENO: checking expat.h usability" >&5
19261 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19262 cat >conftest.$ac_ext <<_ACEOF
19263 #line $LINENO "configure"
19264 /* confdefs.h. */
19265 _ACEOF
19266 cat confdefs.h >>conftest.$ac_ext
19267 cat >>conftest.$ac_ext <<_ACEOF
19268 /* end confdefs.h. */
19269 $ac_includes_default
19270 #include <expat.h>
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19274 (eval $ac_compile) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -s conftest.$ac_objext'
19279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19280 (eval $ac_try) 2>&5
19281 ac_status=$?
19282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19283 (exit $ac_status); }; }; then
19284 ac_header_compiler=yes
19285 else
19286 echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.$ac_ext >&5
19288
19289 ac_header_compiler=no
19290 fi
19291 rm -f conftest.$ac_objext conftest.$ac_ext
19292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19293 echo "${ECHO_T}$ac_header_compiler" >&6
19294
19295 # Is the header present?
19296 echo "$as_me:$LINENO: checking expat.h presence" >&5
19297 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19298 cat >conftest.$ac_ext <<_ACEOF
19299 #line $LINENO "configure"
19300 /* confdefs.h. */
19301 _ACEOF
19302 cat confdefs.h >>conftest.$ac_ext
19303 cat >>conftest.$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19305 #include <expat.h>
19306 _ACEOF
19307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19309 ac_status=$?
19310 grep -v '^ *+' conftest.er1 >conftest.err
19311 rm -f conftest.er1
19312 cat conftest.err >&5
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); } >/dev/null; then
19315 if test -s conftest.err; then
19316 ac_cpp_err=$ac_c_preproc_warn_flag
19317 else
19318 ac_cpp_err=
19319 fi
19320 else
19321 ac_cpp_err=yes
19322 fi
19323 if test -z "$ac_cpp_err"; then
19324 ac_header_preproc=yes
19325 else
19326 echo "$as_me: failed program was:" >&5
19327 sed 's/^/| /' conftest.$ac_ext >&5
19328
19329 ac_header_preproc=no
19330 fi
19331 rm -f conftest.err conftest.$ac_ext
19332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19333 echo "${ECHO_T}$ac_header_preproc" >&6
19334
19335 # So? What about this header?
19336 case $ac_header_compiler:$ac_header_preproc in
19337 yes:no )
19338 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19339 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19340 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19341 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19342 (
19343 cat <<\_ASBOX
19344 ## ------------------------------------ ##
19345 ## Report this to bug-autoconf@gnu.org. ##
19346 ## ------------------------------------ ##
19347 _ASBOX
19348 ) |
19349 sed "s/^/$as_me: WARNING: /" >&2
19350 ;;
19351 no:yes )
19352 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19353 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19354 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19355 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19356 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19357 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19358 (
19359 cat <<\_ASBOX
19360 ## ------------------------------------ ##
19361 ## Report this to bug-autoconf@gnu.org. ##
19362 ## ------------------------------------ ##
19363 _ASBOX
19364 ) |
19365 sed "s/^/$as_me: WARNING: /" >&2
19366 ;;
19367 esac
19368 echo "$as_me:$LINENO: checking for expat.h" >&5
19369 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19370 if test "${ac_cv_header_expat_h+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19372 else
19373 ac_cv_header_expat_h=$ac_header_preproc
19374 fi
19375 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19376 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19377
19378 fi
19379 if test $ac_cv_header_expat_h = yes; then
19380 found_expat_h=1
19381 fi
19382
19383
19384 if test "x$found_expat_h" = "x1"; then
19385 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19386 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19387 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390
19391
19392
19393 ac_ext=cc
19394 ac_cpp='$CXXCPP $CPPFLAGS'
19395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19398
19399 cat >conftest.$ac_ext <<_ACEOF
19400 #line $LINENO "configure"
19401 /* confdefs.h. */
19402 _ACEOF
19403 cat confdefs.h >>conftest.$ac_ext
19404 cat >>conftest.$ac_ext <<_ACEOF
19405 /* end confdefs.h. */
19406 #include <expat.h>
19407 int
19408 main ()
19409 {
19410
19411 ;
19412 return 0;
19413 }
19414 _ACEOF
19415 rm -f conftest.$ac_objext
19416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19417 (eval $ac_compile) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } &&
19421 { ac_try='test -s conftest.$ac_objext'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; }; then
19427 wx_cv_expat_is_not_broken=yes
19428 else
19429 echo "$as_me: failed program was:" >&5
19430 sed 's/^/| /' conftest.$ac_ext >&5
19431
19432 wx_cv_expat_is_not_broken=no
19433
19434 fi
19435 rm -f conftest.$ac_objext conftest.$ac_ext
19436 ac_ext=c
19437 ac_cpp='$CPP $CPPFLAGS'
19438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441
19442
19443
19444 fi
19445 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19446 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19447 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19448 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19449 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19450 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19452 else
19453 ac_check_lib_save_LIBS=$LIBS
19454 LIBS="-lexpat $LIBS"
19455 cat >conftest.$ac_ext <<_ACEOF
19456 #line $LINENO "configure"
19457 /* confdefs.h. */
19458 _ACEOF
19459 cat confdefs.h >>conftest.$ac_ext
19460 cat >>conftest.$ac_ext <<_ACEOF
19461 /* end confdefs.h. */
19462
19463 /* Override any gcc2 internal prototype to avoid an error. */
19464 #ifdef __cplusplus
19465 extern "C"
19466 #endif
19467 /* We use char because int might match the return type of a gcc2
19468 builtin and then its argument prototype would still apply. */
19469 char XML_ParserCreate ();
19470 int
19471 main ()
19472 {
19473 XML_ParserCreate ();
19474 ;
19475 return 0;
19476 }
19477 _ACEOF
19478 rm -f conftest.$ac_objext conftest$ac_exeext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19480 (eval $ac_link) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } &&
19484 { ac_try='test -s conftest$ac_exeext'
19485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19486 (eval $ac_try) 2>&5
19487 ac_status=$?
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_lib_expat_XML_ParserCreate=yes
19491 else
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19494
19495 ac_cv_lib_expat_XML_ParserCreate=no
19496 fi
19497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19498 LIBS=$ac_check_lib_save_LIBS
19499 fi
19500 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19501 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19502 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19503 EXPAT_LINK=" -lexpat"
19504 fi
19505
19506 fi
19507 fi
19508 if test "x$EXPAT_LINK" = "x" ; then
19509 if test "$wxUSE_EXPAT" = "sys" ; then
19510 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19511 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19512 { (exit 1); exit 1; }; }
19513 else
19514 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19515 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19516 wxUSE_EXPAT=builtin
19517 fi
19518 else
19519 wxUSE_EXPAT=sys
19520 fi
19521 fi
19522 if test "$wxUSE_EXPAT" = "builtin" ; then
19523
19524
19525 subdirs="$subdirs src/expat"
19526
19527 fi
19528 fi
19529
19530
19531
19532 if test "$wxUSE_LIBMSPACK" != "no"; then
19533
19534 if test "${ac_cv_header_mspack_h+set}" = set; then
19535 echo "$as_me:$LINENO: checking for mspack.h" >&5
19536 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19537 if test "${ac_cv_header_mspack_h+set}" = set; then
19538 echo $ECHO_N "(cached) $ECHO_C" >&6
19539 fi
19540 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19541 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19542 else
19543 # Is the header compilable?
19544 echo "$as_me:$LINENO: checking mspack.h usability" >&5
19545 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
19546 cat >conftest.$ac_ext <<_ACEOF
19547 #line $LINENO "configure"
19548 /* confdefs.h. */
19549 _ACEOF
19550 cat confdefs.h >>conftest.$ac_ext
19551 cat >>conftest.$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 $ac_includes_default
19554 #include <mspack.h>
19555 _ACEOF
19556 rm -f conftest.$ac_objext
19557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19558 (eval $ac_compile) 2>&5
19559 ac_status=$?
19560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19561 (exit $ac_status); } &&
19562 { ac_try='test -s conftest.$ac_objext'
19563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19564 (eval $ac_try) 2>&5
19565 ac_status=$?
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_header_compiler=yes
19569 else
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19572
19573 ac_header_compiler=no
19574 fi
19575 rm -f conftest.$ac_objext conftest.$ac_ext
19576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19577 echo "${ECHO_T}$ac_header_compiler" >&6
19578
19579 # Is the header present?
19580 echo "$as_me:$LINENO: checking mspack.h presence" >&5
19581 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
19582 cat >conftest.$ac_ext <<_ACEOF
19583 #line $LINENO "configure"
19584 /* confdefs.h. */
19585 _ACEOF
19586 cat confdefs.h >>conftest.$ac_ext
19587 cat >>conftest.$ac_ext <<_ACEOF
19588 /* end confdefs.h. */
19589 #include <mspack.h>
19590 _ACEOF
19591 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19592 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19593 ac_status=$?
19594 grep -v '^ *+' conftest.er1 >conftest.err
19595 rm -f conftest.er1
19596 cat conftest.err >&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } >/dev/null; then
19599 if test -s conftest.err; then
19600 ac_cpp_err=$ac_c_preproc_warn_flag
19601 else
19602 ac_cpp_err=
19603 fi
19604 else
19605 ac_cpp_err=yes
19606 fi
19607 if test -z "$ac_cpp_err"; then
19608 ac_header_preproc=yes
19609 else
19610 echo "$as_me: failed program was:" >&5
19611 sed 's/^/| /' conftest.$ac_ext >&5
19612
19613 ac_header_preproc=no
19614 fi
19615 rm -f conftest.err conftest.$ac_ext
19616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19617 echo "${ECHO_T}$ac_header_preproc" >&6
19618
19619 # So? What about this header?
19620 case $ac_header_compiler:$ac_header_preproc in
19621 yes:no )
19622 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
19623 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19624 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19625 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19626 (
19627 cat <<\_ASBOX
19628 ## ------------------------------------ ##
19629 ## Report this to bug-autoconf@gnu.org. ##
19630 ## ------------------------------------ ##
19631 _ASBOX
19632 ) |
19633 sed "s/^/$as_me: WARNING: /" >&2
19634 ;;
19635 no:yes )
19636 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
19637 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
19638 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
19639 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
19640 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
19641 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
19642 (
19643 cat <<\_ASBOX
19644 ## ------------------------------------ ##
19645 ## Report this to bug-autoconf@gnu.org. ##
19646 ## ------------------------------------ ##
19647 _ASBOX
19648 ) |
19649 sed "s/^/$as_me: WARNING: /" >&2
19650 ;;
19651 esac
19652 echo "$as_me:$LINENO: checking for mspack.h" >&5
19653 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
19654 if test "${ac_cv_header_mspack_h+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 else
19657 ac_cv_header_mspack_h=$ac_header_preproc
19658 fi
19659 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
19660 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
19661
19662 fi
19663 if test $ac_cv_header_mspack_h = yes; then
19664 found_mspack_h=1
19665 fi
19666
19667
19668 if test "x$found_mspack_h" = "x1"; then
19669 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
19670 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
19671 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 else
19674 ac_check_lib_save_LIBS=$LIBS
19675 LIBS="-lmspack $LIBS"
19676 cat >conftest.$ac_ext <<_ACEOF
19677 #line $LINENO "configure"
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683
19684 /* Override any gcc2 internal prototype to avoid an error. */
19685 #ifdef __cplusplus
19686 extern "C"
19687 #endif
19688 /* We use char because int might match the return type of a gcc2
19689 builtin and then its argument prototype would still apply. */
19690 char mspack_create_chm_decompressor ();
19691 int
19692 main ()
19693 {
19694 mspack_create_chm_decompressor ();
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext conftest$ac_exeext
19700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19701 (eval $ac_link) 2>&5
19702 ac_status=$?
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } &&
19705 { ac_try='test -s conftest$ac_exeext'
19706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19707 (eval $ac_try) 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); }; }; then
19711 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
19712 else
19713 echo "$as_me: failed program was:" >&5
19714 sed 's/^/| /' conftest.$ac_ext >&5
19715
19716 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
19717 fi
19718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19719 LIBS=$ac_check_lib_save_LIBS
19720 fi
19721 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
19722 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
19723 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
19724 MSPACK_LINK=" -lmspack"
19725 fi
19726
19727 fi
19728 if test "x$MSPACK_LINK" = "x" ; then
19729 wxUSE_LIBMSPACK=no
19730 else
19731 cat >>confdefs.h <<\_ACEOF
19732 #define wxUSE_LIBMSPACK 1
19733 _ACEOF
19734
19735 fi
19736 fi
19737
19738
19739
19740 AFMINSTALL=
19741 WIN32INSTALL=
19742
19743 TOOLKIT=
19744 TOOLKIT_INCLUDE=
19745 WIDGET_SET=
19746
19747 if test "$USE_WIN32" = 1 ; then
19748
19749 for ac_header in w32api.h
19750 do
19751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19753 echo "$as_me:$LINENO: checking for $ac_header" >&5
19754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 fi
19758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19760 else
19761 # Is the header compilable?
19762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19764 cat >conftest.$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19766 /* confdefs.h. */
19767 _ACEOF
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 $ac_includes_default
19772 #include <$ac_header>
19773 _ACEOF
19774 rm -f conftest.$ac_objext
19775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19776 (eval $ac_compile) 2>&5
19777 ac_status=$?
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -s conftest.$ac_objext'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19783 ac_status=$?
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; }; then
19786 ac_header_compiler=yes
19787 else
19788 echo "$as_me: failed program was:" >&5
19789 sed 's/^/| /' conftest.$ac_ext >&5
19790
19791 ac_header_compiler=no
19792 fi
19793 rm -f conftest.$ac_objext conftest.$ac_ext
19794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19795 echo "${ECHO_T}$ac_header_compiler" >&6
19796
19797 # Is the header present?
19798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19800 cat >conftest.$ac_ext <<_ACEOF
19801 #line $LINENO "configure"
19802 /* confdefs.h. */
19803 _ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 #include <$ac_header>
19808 _ACEOF
19809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19810 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } >/dev/null; then
19817 if test -s conftest.err; then
19818 ac_cpp_err=$ac_c_preproc_warn_flag
19819 else
19820 ac_cpp_err=
19821 fi
19822 else
19823 ac_cpp_err=yes
19824 fi
19825 if test -z "$ac_cpp_err"; then
19826 ac_header_preproc=yes
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_header_preproc=no
19832 fi
19833 rm -f conftest.err conftest.$ac_ext
19834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19835 echo "${ECHO_T}$ac_header_preproc" >&6
19836
19837 # So? What about this header?
19838 case $ac_header_compiler:$ac_header_preproc in
19839 yes:no )
19840 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19844 (
19845 cat <<\_ASBOX
19846 ## ------------------------------------ ##
19847 ## Report this to bug-autoconf@gnu.org. ##
19848 ## ------------------------------------ ##
19849 _ASBOX
19850 ) |
19851 sed "s/^/$as_me: WARNING: /" >&2
19852 ;;
19853 no:yes )
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19855 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19857 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19860 (
19861 cat <<\_ASBOX
19862 ## ------------------------------------ ##
19863 ## Report this to bug-autoconf@gnu.org. ##
19864 ## ------------------------------------ ##
19865 _ASBOX
19866 ) |
19867 sed "s/^/$as_me: WARNING: /" >&2
19868 ;;
19869 esac
19870 echo "$as_me:$LINENO: checking for $ac_header" >&5
19871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 else
19875 eval "$as_ac_Header=$ac_header_preproc"
19876 fi
19877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19879
19880 fi
19881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19882 cat >>confdefs.h <<_ACEOF
19883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19884 _ACEOF
19885
19886 fi
19887
19888 done
19889
19890 if test "${ac_cv_header_windows_h+set}" = set; then
19891 echo "$as_me:$LINENO: checking for windows.h" >&5
19892 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19893 if test "${ac_cv_header_windows_h+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 fi
19896 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19897 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19898 else
19899 # Is the header compilable?
19900 echo "$as_me:$LINENO: checking windows.h usability" >&5
19901 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19902 cat >conftest.$ac_ext <<_ACEOF
19903 #line $LINENO "configure"
19904 /* confdefs.h. */
19905 _ACEOF
19906 cat confdefs.h >>conftest.$ac_ext
19907 cat >>conftest.$ac_ext <<_ACEOF
19908 /* end confdefs.h. */
19909 $ac_includes_default
19910 #include <windows.h>
19911 _ACEOF
19912 rm -f conftest.$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>&5
19915 ac_status=$?
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19921 ac_status=$?
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 ac_header_compiler=yes
19925 else
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19928
19929 ac_header_compiler=no
19930 fi
19931 rm -f conftest.$ac_objext conftest.$ac_ext
19932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19933 echo "${ECHO_T}$ac_header_compiler" >&6
19934
19935 # Is the header present?
19936 echo "$as_me:$LINENO: checking windows.h presence" >&5
19937 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19938 cat >conftest.$ac_ext <<_ACEOF
19939 #line $LINENO "configure"
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #include <windows.h>
19946 _ACEOF
19947 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19948 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } >/dev/null; then
19955 if test -s conftest.err; then
19956 ac_cpp_err=$ac_c_preproc_warn_flag
19957 else
19958 ac_cpp_err=
19959 fi
19960 else
19961 ac_cpp_err=yes
19962 fi
19963 if test -z "$ac_cpp_err"; then
19964 ac_header_preproc=yes
19965 else
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 ac_header_preproc=no
19970 fi
19971 rm -f conftest.err conftest.$ac_ext
19972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19973 echo "${ECHO_T}$ac_header_preproc" >&6
19974
19975 # So? What about this header?
19976 case $ac_header_compiler:$ac_header_preproc in
19977 yes:no )
19978 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19979 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19980 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19981 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19982 (
19983 cat <<\_ASBOX
19984 ## ------------------------------------ ##
19985 ## Report this to bug-autoconf@gnu.org. ##
19986 ## ------------------------------------ ##
19987 _ASBOX
19988 ) |
19989 sed "s/^/$as_me: WARNING: /" >&2
19990 ;;
19991 no:yes )
19992 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19993 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19994 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19995 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19997 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19998 (
19999 cat <<\_ASBOX
20000 ## ------------------------------------ ##
20001 ## Report this to bug-autoconf@gnu.org. ##
20002 ## ------------------------------------ ##
20003 _ASBOX
20004 ) |
20005 sed "s/^/$as_me: WARNING: /" >&2
20006 ;;
20007 esac
20008 echo "$as_me:$LINENO: checking for windows.h" >&5
20009 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20010 if test "${ac_cv_header_windows_h+set}" = set; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 ac_cv_header_windows_h=$ac_header_preproc
20014 fi
20015 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20016 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20017
20018 fi
20019 if test $ac_cv_header_windows_h = yes; then
20020 :
20021 else
20022
20023 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
20024 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
20025 { (exit 1); exit 1; }; }
20026
20027 fi
20028
20029
20030
20031 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
20032
20033 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
20034 LIBS="$LIBS -loleacc"
20035 fi
20036
20037 case "${host}" in
20038 *-*-cygwin* )
20039 LIBS="$LIBS -lkernel32 -luser32"
20040 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
20041 esac
20042
20043 if test "$wxUSE_ODBC" = "sys" ; then
20044 wxUSE_ODBC = "yes"
20045 fi
20046 if test "$wxUSE_ODBC" = "yes" ; then
20047 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
20048 cat >>confdefs.h <<\_ACEOF
20049 #define wxUSE_ODBC 1
20050 _ACEOF
20051
20052 fi
20053
20054 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
20055 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
20056
20057 WIN32INSTALL=win32install
20058 fi
20059
20060 if test "$wxUSE_GUI" = "yes"; then
20061 USE_GUI=1
20062
20063 GUI_TK_LIBRARY=
20064
20065 WXGTK12=
20066 WXGTK127=
20067 WXGTK20=
20068
20069 if test "$wxUSE_MSW" = 1 ; then
20070 TOOLKIT=MSW
20071 GUIDIST=MSW_DIST
20072
20073 case "${host}" in
20074 *-*-mingw32* )
20075 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
20076 esac
20077 fi
20078
20079 if test "$wxUSE_GTK" = 1; then
20080 echo "$as_me:$LINENO: checking for GTK+ version" >&5
20081 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
20082
20083 gtk_version_cached=1
20084 if test "${wx_cv_lib_gtk+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 else
20087
20088 gtk_version_cached=0
20089 echo "$as_me:$LINENO: result: " >&5
20090 echo "${ECHO_T}" >&6
20091
20092 GTK_MODULES=
20093 if test "$wxUSE_THREADS" = "yes"; then
20094 GTK_MODULES=gthread
20095 fi
20096
20097 wx_cv_lib_gtk=
20098 if test "x$wxUSE_GTK2" = "xyes"; then
20099 # Check whether --enable-gtktest or --disable-gtktest was given.
20100 if test "${enable_gtktest+set}" = set; then
20101 enableval="$enable_gtktest"
20102
20103 else
20104 enable_gtktest=yes
20105 fi;
20106
20107 pkg_config_args=gtk+-2.0
20108 for module in . $GTK_MODULES
20109 do
20110 case "$module" in
20111 gthread)
20112 pkg_config_args="$pkg_config_args gthread-2.0"
20113 ;;
20114 esac
20115 done
20116
20117 no_gtk=""
20118
20119 # Extract the first word of "pkg-config", so it can be a program name with args.
20120 set dummy pkg-config; ac_word=$2
20121 echo "$as_me:$LINENO: checking for $ac_word" >&5
20122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20123 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20124 echo $ECHO_N "(cached) $ECHO_C" >&6
20125 else
20126 case $PKG_CONFIG in
20127 [\\/]* | ?:[\\/]*)
20128 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20129 ;;
20130 *)
20131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20132 for as_dir in $PATH
20133 do
20134 IFS=$as_save_IFS
20135 test -z "$as_dir" && as_dir=.
20136 for ac_exec_ext in '' $ac_executable_extensions; do
20137 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20138 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20139 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20140 break 2
20141 fi
20142 done
20143 done
20144
20145 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20146 ;;
20147 esac
20148 fi
20149 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20150
20151 if test -n "$PKG_CONFIG"; then
20152 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20153 echo "${ECHO_T}$PKG_CONFIG" >&6
20154 else
20155 echo "$as_me:$LINENO: result: no" >&5
20156 echo "${ECHO_T}no" >&6
20157 fi
20158
20159
20160 if test x$PKG_CONFIG != xno ; then
20161 if pkg-config --atleast-pkgconfig-version 0.7 ; then
20162 :
20163 else
20164 echo *** pkg-config too old; version 0.7 or better required.
20165 no_gtk=yes
20166 PKG_CONFIG=no
20167 fi
20168 else
20169 no_gtk=yes
20170 fi
20171
20172 min_gtk_version=2.0.0
20173 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
20174 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
20175
20176 if test x$PKG_CONFIG != xno ; then
20177 ## don't try to run the test against uninstalled libtool libs
20178 if $PKG_CONFIG --uninstalled $pkg_config_args; then
20179 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
20180 enable_gtktest=no
20181 fi
20182
20183 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
20184 :
20185 else
20186 no_gtk=yes
20187 fi
20188 fi
20189
20190 if test x"$no_gtk" = x ; then
20191 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
20192 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
20193 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20195 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20197 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
20198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20199 if test "x$enable_gtktest" = "xyes" ; then
20200 ac_save_CFLAGS="$CFLAGS"
20201 ac_save_LIBS="$LIBS"
20202 CFLAGS="$CFLAGS $GTK_CFLAGS"
20203 LIBS="$GTK_LIBS $LIBS"
20204 rm -f conf.gtktest
20205 if test "$cross_compiling" = yes; then
20206 echo $ac_n "cross compiling; assumed OK... $ac_c"
20207 else
20208 cat >conftest.$ac_ext <<_ACEOF
20209 #line $LINENO "configure"
20210 /* confdefs.h. */
20211 _ACEOF
20212 cat confdefs.h >>conftest.$ac_ext
20213 cat >>conftest.$ac_ext <<_ACEOF
20214 /* end confdefs.h. */
20215
20216 #include <gtk/gtk.h>
20217 #include <stdio.h>
20218 #include <stdlib.h>
20219
20220 int
20221 main ()
20222 {
20223 int major, minor, micro;
20224 char *tmp_version;
20225
20226 system ("touch conf.gtktest");
20227
20228 /* HP/UX 9 (%@#!) writes to sscanf strings */
20229 tmp_version = g_strdup("$min_gtk_version");
20230 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20231 printf("%s, bad version string\n", "$min_gtk_version");
20232 exit(1);
20233 }
20234
20235 if ((gtk_major_version != $gtk_config_major_version) ||
20236 (gtk_minor_version != $gtk_config_minor_version) ||
20237 (gtk_micro_version != $gtk_config_micro_version))
20238 {
20239 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20240 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20241 gtk_major_version, gtk_minor_version, gtk_micro_version);
20242 printf ("*** was found! If pkg-config was correct, then it is best\n");
20243 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20244 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20245 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20246 printf("*** required on your system.\n");
20247 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
20248 printf("*** to point to the correct configuration files\n");
20249 }
20250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20251 (gtk_minor_version != GTK_MINOR_VERSION) ||
20252 (gtk_micro_version != GTK_MICRO_VERSION))
20253 {
20254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20256 printf("*** library (version %d.%d.%d)\n",
20257 gtk_major_version, gtk_minor_version, gtk_micro_version);
20258 }
20259 else
20260 {
20261 if ((gtk_major_version > major) ||
20262 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20263 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20264 {
20265 return 0;
20266 }
20267 else
20268 {
20269 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20270 gtk_major_version, gtk_minor_version, gtk_micro_version);
20271 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20272 major, minor, micro);
20273 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20274 printf("***\n");
20275 printf("*** If you have already installed a sufficiently new version, this error\n");
20276 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
20277 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20278 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
20279 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
20280 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20281 printf("*** so that the correct libraries are found at run-time))\n");
20282 }
20283 }
20284 return 1;
20285 }
20286
20287 _ACEOF
20288 rm -f conftest$ac_exeext
20289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20290 (eval $ac_link) 2>&5
20291 ac_status=$?
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 :
20300 else
20301 echo "$as_me: program exited with status $ac_status" >&5
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20304
20305 ( exit $ac_status )
20306 no_gtk=yes
20307 fi
20308 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20309 fi
20310 CFLAGS="$ac_save_CFLAGS"
20311 LIBS="$ac_save_LIBS"
20312 fi
20313 fi
20314 if test "x$no_gtk" = x ; then
20315 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
20316 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
20317 wx_cv_lib_gtk=2.0
20318 else
20319 echo "$as_me:$LINENO: result: no" >&5
20320 echo "${ECHO_T}no" >&6
20321 if test "$PKG_CONFIG" = "no" ; then
20322 echo "*** A new enough version of pkg-config was not found."
20323 echo "*** See http://pkgconfig.sourceforge.net"
20324 else
20325 if test -f conf.gtktest ; then
20326 :
20327 else
20328 echo "*** Could not run GTK+ test program, checking why..."
20329 ac_save_CFLAGS="$CFLAGS"
20330 ac_save_LIBS="$LIBS"
20331 CFLAGS="$CFLAGS $GTK_CFLAGS"
20332 LIBS="$LIBS $GTK_LIBS"
20333 cat >conftest.$ac_ext <<_ACEOF
20334 #line $LINENO "configure"
20335 /* confdefs.h. */
20336 _ACEOF
20337 cat confdefs.h >>conftest.$ac_ext
20338 cat >>conftest.$ac_ext <<_ACEOF
20339 /* end confdefs.h. */
20340
20341 #include <gtk/gtk.h>
20342 #include <stdio.h>
20343
20344 int
20345 main ()
20346 {
20347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20348 ;
20349 return 0;
20350 }
20351 _ACEOF
20352 rm -f conftest.$ac_objext conftest$ac_exeext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } &&
20358 { ac_try='test -s conftest$ac_exeext'
20359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20360 (eval $ac_try) 2>&5
20361 ac_status=$?
20362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20363 (exit $ac_status); }; }; then
20364 echo "*** The test program compiled, but did not run. This usually means"
20365 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20366 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20367 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20368 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20369 echo "*** is required on your system"
20370 echo "***"
20371 echo "*** If you have an old version installed, it is best to remove it, although"
20372 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20373 else
20374 echo "$as_me: failed program was:" >&5
20375 sed 's/^/| /' conftest.$ac_ext >&5
20376
20377 echo "*** The test program failed to compile or link. See the file config.log for the"
20378 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20379 fi
20380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20381 CFLAGS="$ac_save_CFLAGS"
20382 LIBS="$ac_save_LIBS"
20383 fi
20384 fi
20385 GTK_CFLAGS=""
20386 GTK_LIBS=""
20387 :
20388 fi
20389
20390
20391 rm -f conf.gtktest
20392
20393 else
20394
20395 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20396 if test "${with_gtk_prefix+set}" = set; then
20397 withval="$with_gtk_prefix"
20398 gtk_config_prefix="$withval"
20399 else
20400 gtk_config_prefix=""
20401 fi;
20402
20403 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20404 if test "${with_gtk_exec_prefix+set}" = set; then
20405 withval="$with_gtk_exec_prefix"
20406 gtk_config_exec_prefix="$withval"
20407 else
20408 gtk_config_exec_prefix=""
20409 fi;
20410 # Check whether --enable-gtktest or --disable-gtktest was given.
20411 if test "${enable_gtktest+set}" = set; then
20412 enableval="$enable_gtktest"
20413
20414 else
20415 enable_gtktest=yes
20416 fi;
20417
20418 for module in . $GTK_MODULES
20419 do
20420 case "$module" in
20421 gthread)
20422 gtk_config_args="$gtk_config_args gthread"
20423 ;;
20424 esac
20425 done
20426
20427 if test x$gtk_config_exec_prefix != x ; then
20428 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20429 if test x${GTK_CONFIG+set} != xset ; then
20430 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20431 fi
20432 fi
20433 if test x$gtk_config_prefix != x ; then
20434 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20435 if test x${GTK_CONFIG+set} != xset ; then
20436 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20437 fi
20438 fi
20439
20440 # Extract the first word of "gtk-config", so it can be a program name with args.
20441 set dummy gtk-config; ac_word=$2
20442 echo "$as_me:$LINENO: checking for $ac_word" >&5
20443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20444 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 else
20447 case $GTK_CONFIG in
20448 [\\/]* | ?:[\\/]*)
20449 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20450 ;;
20451 *)
20452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20453 for as_dir in $PATH
20454 do
20455 IFS=$as_save_IFS
20456 test -z "$as_dir" && as_dir=.
20457 for ac_exec_ext in '' $ac_executable_extensions; do
20458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20459 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20461 break 2
20462 fi
20463 done
20464 done
20465
20466 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20467 ;;
20468 esac
20469 fi
20470 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20471
20472 if test -n "$GTK_CONFIG"; then
20473 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20474 echo "${ECHO_T}$GTK_CONFIG" >&6
20475 else
20476 echo "$as_me:$LINENO: result: no" >&5
20477 echo "${ECHO_T}no" >&6
20478 fi
20479
20480 min_gtk_version=1.2.7
20481 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20482 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20483 no_gtk=""
20484 if test "$GTK_CONFIG" = "no" ; then
20485 no_gtk=yes
20486 else
20487 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20488 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20489 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20490 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20491 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20493 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20495 if test "x$enable_gtktest" = "xyes" ; then
20496 ac_save_CFLAGS="$CFLAGS"
20497 ac_save_LIBS="$LIBS"
20498 CFLAGS="$CFLAGS $GTK_CFLAGS"
20499 LIBS="$GTK_LIBS $LIBS"
20500 rm -f conf.gtktest
20501 if test "$cross_compiling" = yes; then
20502 echo $ac_n "cross compiling; assumed OK... $ac_c"
20503 else
20504 cat >conftest.$ac_ext <<_ACEOF
20505 #line $LINENO "configure"
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511
20512 #include <gtk/gtk.h>
20513 #include <stdio.h>
20514 #include <stdlib.h>
20515
20516 int
20517 main ()
20518 {
20519 int major, minor, micro;
20520 char *tmp_version;
20521
20522 system ("touch conf.gtktest");
20523
20524 /* HP/UX 9 (%@#!) writes to sscanf strings */
20525 tmp_version = g_strdup("$min_gtk_version");
20526 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20527 printf("%s, bad version string\n", "$min_gtk_version");
20528 exit(1);
20529 }
20530
20531 if ((gtk_major_version != $gtk_config_major_version) ||
20532 (gtk_minor_version != $gtk_config_minor_version) ||
20533 (gtk_micro_version != $gtk_config_micro_version))
20534 {
20535 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20536 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20537 gtk_major_version, gtk_minor_version, gtk_micro_version);
20538 printf ("*** was found! If gtk-config was correct, then it is best\n");
20539 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20540 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20541 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20542 printf("*** required on your system.\n");
20543 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20544 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20545 printf("*** before re-running configure\n");
20546 }
20547 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20548 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20549 (gtk_minor_version != GTK_MINOR_VERSION) ||
20550 (gtk_micro_version != GTK_MICRO_VERSION))
20551 {
20552 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20553 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20554 printf("*** library (version %d.%d.%d)\n",
20555 gtk_major_version, gtk_minor_version, gtk_micro_version);
20556 }
20557 #endif /* defined (GTK_MAJOR_VERSION) ... */
20558 else
20559 {
20560 if ((gtk_major_version > major) ||
20561 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20562 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20563 {
20564 return 0;
20565 }
20566 else
20567 {
20568 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20569 gtk_major_version, gtk_minor_version, gtk_micro_version);
20570 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20571 major, minor, micro);
20572 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20573 printf("***\n");
20574 printf("*** If you have already installed a sufficiently new version, this error\n");
20575 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20576 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20577 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20578 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20579 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20580 printf("*** so that the correct libraries are found at run-time))\n");
20581 }
20582 }
20583 return 1;
20584 }
20585
20586 _ACEOF
20587 rm -f conftest$ac_exeext
20588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20589 (eval $ac_link) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20595 ac_status=$?
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 :
20599 else
20600 echo "$as_me: program exited with status $ac_status" >&5
20601 echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20603
20604 ( exit $ac_status )
20605 no_gtk=yes
20606 fi
20607 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20608 fi
20609 CFLAGS="$ac_save_CFLAGS"
20610 LIBS="$ac_save_LIBS"
20611 fi
20612 fi
20613 if test "x$no_gtk" = x ; then
20614 echo "$as_me:$LINENO: result: yes" >&5
20615 echo "${ECHO_T}yes" >&6
20616 wx_cv_lib_gtk=1.2.7
20617 else
20618 echo "$as_me:$LINENO: result: no" >&5
20619 echo "${ECHO_T}no" >&6
20620 if test "$GTK_CONFIG" = "no" ; then
20621 echo "*** The gtk-config script installed by GTK could not be found"
20622 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20623 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20624 echo "*** full path to gtk-config."
20625 else
20626 if test -f conf.gtktest ; then
20627 :
20628 else
20629 echo "*** Could not run GTK test program, checking why..."
20630 CFLAGS="$CFLAGS $GTK_CFLAGS"
20631 LIBS="$LIBS $GTK_LIBS"
20632 cat >conftest.$ac_ext <<_ACEOF
20633 #line $LINENO "configure"
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639
20640 #include <gtk/gtk.h>
20641 #include <stdio.h>
20642
20643 int
20644 main ()
20645 {
20646 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext conftest$ac_exeext
20652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20653 (eval $ac_link) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); } &&
20657 { ac_try='test -s conftest$ac_exeext'
20658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20659 (eval $ac_try) 2>&5
20660 ac_status=$?
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); }; }; then
20663 echo "*** The test program compiled, but did not run. This usually means"
20664 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20665 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20668 echo "*** is required on your system"
20669 echo "***"
20670 echo "*** If you have an old version installed, it is best to remove it, although"
20671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20672 echo "***"
20673 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20674 echo "*** came with the system with the command"
20675 echo "***"
20676 echo "*** rpm --erase --nodeps gtk gtk-devel"
20677 else
20678 echo "$as_me: failed program was:" >&5
20679 sed 's/^/| /' conftest.$ac_ext >&5
20680
20681 echo "*** The test program failed to compile or link. See the file config.log for the"
20682 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20683 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20684 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20685 fi
20686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20687 CFLAGS="$ac_save_CFLAGS"
20688 LIBS="$ac_save_LIBS"
20689 fi
20690 fi
20691 GTK_CFLAGS=""
20692 GTK_LIBS=""
20693 :
20694 fi
20695
20696
20697 rm -f conf.gtktest
20698
20699
20700 if test -z "$wx_cv_lib_gtk"; then
20701
20702 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20703 if test "${with_gtk_prefix+set}" = set; then
20704 withval="$with_gtk_prefix"
20705 gtk_config_prefix="$withval"
20706 else
20707 gtk_config_prefix=""
20708 fi;
20709
20710 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20711 if test "${with_gtk_exec_prefix+set}" = set; then
20712 withval="$with_gtk_exec_prefix"
20713 gtk_config_exec_prefix="$withval"
20714 else
20715 gtk_config_exec_prefix=""
20716 fi;
20717 # Check whether --enable-gtktest or --disable-gtktest was given.
20718 if test "${enable_gtktest+set}" = set; then
20719 enableval="$enable_gtktest"
20720
20721 else
20722 enable_gtktest=yes
20723 fi;
20724
20725 for module in . $GTK_MODULES
20726 do
20727 case "$module" in
20728 gthread)
20729 gtk_config_args="$gtk_config_args gthread"
20730 ;;
20731 esac
20732 done
20733
20734 if test x$gtk_config_exec_prefix != x ; then
20735 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20736 if test x${GTK_CONFIG+set} != xset ; then
20737 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20738 fi
20739 fi
20740 if test x$gtk_config_prefix != x ; then
20741 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20742 if test x${GTK_CONFIG+set} != xset ; then
20743 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20744 fi
20745 fi
20746
20747 # Extract the first word of "gtk-config", so it can be a program name with args.
20748 set dummy gtk-config; ac_word=$2
20749 echo "$as_me:$LINENO: checking for $ac_word" >&5
20750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20751 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20752 echo $ECHO_N "(cached) $ECHO_C" >&6
20753 else
20754 case $GTK_CONFIG in
20755 [\\/]* | ?:[\\/]*)
20756 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20757 ;;
20758 *)
20759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20760 for as_dir in $PATH
20761 do
20762 IFS=$as_save_IFS
20763 test -z "$as_dir" && as_dir=.
20764 for ac_exec_ext in '' $ac_executable_extensions; do
20765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20766 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20768 break 2
20769 fi
20770 done
20771 done
20772
20773 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20774 ;;
20775 esac
20776 fi
20777 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20778
20779 if test -n "$GTK_CONFIG"; then
20780 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20781 echo "${ECHO_T}$GTK_CONFIG" >&6
20782 else
20783 echo "$as_me:$LINENO: result: no" >&5
20784 echo "${ECHO_T}no" >&6
20785 fi
20786
20787 min_gtk_version=1.2.3
20788 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20789 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20790 no_gtk=""
20791 if test "$GTK_CONFIG" = "no" ; then
20792 no_gtk=yes
20793 else
20794 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20795 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20796 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20797 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20798 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20800 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20802 if test "x$enable_gtktest" = "xyes" ; then
20803 ac_save_CFLAGS="$CFLAGS"
20804 ac_save_LIBS="$LIBS"
20805 CFLAGS="$CFLAGS $GTK_CFLAGS"
20806 LIBS="$GTK_LIBS $LIBS"
20807 rm -f conf.gtktest
20808 if test "$cross_compiling" = yes; then
20809 echo $ac_n "cross compiling; assumed OK... $ac_c"
20810 else
20811 cat >conftest.$ac_ext <<_ACEOF
20812 #line $LINENO "configure"
20813 /* confdefs.h. */
20814 _ACEOF
20815 cat confdefs.h >>conftest.$ac_ext
20816 cat >>conftest.$ac_ext <<_ACEOF
20817 /* end confdefs.h. */
20818
20819 #include <gtk/gtk.h>
20820 #include <stdio.h>
20821 #include <stdlib.h>
20822
20823 int
20824 main ()
20825 {
20826 int major, minor, micro;
20827 char *tmp_version;
20828
20829 system ("touch conf.gtktest");
20830
20831 /* HP/UX 9 (%@#!) writes to sscanf strings */
20832 tmp_version = g_strdup("$min_gtk_version");
20833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20834 printf("%s, bad version string\n", "$min_gtk_version");
20835 exit(1);
20836 }
20837
20838 if ((gtk_major_version != $gtk_config_major_version) ||
20839 (gtk_minor_version != $gtk_config_minor_version) ||
20840 (gtk_micro_version != $gtk_config_micro_version))
20841 {
20842 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20844 gtk_major_version, gtk_minor_version, gtk_micro_version);
20845 printf ("*** was found! If gtk-config was correct, then it is best\n");
20846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20849 printf("*** required on your system.\n");
20850 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20851 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20852 printf("*** before re-running configure\n");
20853 }
20854 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20856 (gtk_minor_version != GTK_MINOR_VERSION) ||
20857 (gtk_micro_version != GTK_MICRO_VERSION))
20858 {
20859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20861 printf("*** library (version %d.%d.%d)\n",
20862 gtk_major_version, gtk_minor_version, gtk_micro_version);
20863 }
20864 #endif /* defined (GTK_MAJOR_VERSION) ... */
20865 else
20866 {
20867 if ((gtk_major_version > major) ||
20868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20870 {
20871 return 0;
20872 }
20873 else
20874 {
20875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20876 gtk_major_version, gtk_minor_version, gtk_micro_version);
20877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20878 major, minor, micro);
20879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20880 printf("***\n");
20881 printf("*** If you have already installed a sufficiently new version, this error\n");
20882 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20884 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20885 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20887 printf("*** so that the correct libraries are found at run-time))\n");
20888 }
20889 }
20890 return 1;
20891 }
20892
20893 _ACEOF
20894 rm -f conftest$ac_exeext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20896 (eval $ac_link) 2>&5
20897 ac_status=$?
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 :
20906 else
20907 echo "$as_me: program exited with status $ac_status" >&5
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20910
20911 ( exit $ac_status )
20912 no_gtk=yes
20913 fi
20914 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20915 fi
20916 CFLAGS="$ac_save_CFLAGS"
20917 LIBS="$ac_save_LIBS"
20918 fi
20919 fi
20920 if test "x$no_gtk" = x ; then
20921 echo "$as_me:$LINENO: result: yes" >&5
20922 echo "${ECHO_T}yes" >&6
20923 wx_cv_lib_gtk=1.2.3
20924 else
20925 echo "$as_me:$LINENO: result: no" >&5
20926 echo "${ECHO_T}no" >&6
20927 if test "$GTK_CONFIG" = "no" ; then
20928 echo "*** The gtk-config script installed by GTK could not be found"
20929 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20930 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20931 echo "*** full path to gtk-config."
20932 else
20933 if test -f conf.gtktest ; then
20934 :
20935 else
20936 echo "*** Could not run GTK test program, checking why..."
20937 CFLAGS="$CFLAGS $GTK_CFLAGS"
20938 LIBS="$LIBS $GTK_LIBS"
20939 cat >conftest.$ac_ext <<_ACEOF
20940 #line $LINENO "configure"
20941 /* confdefs.h. */
20942 _ACEOF
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946
20947 #include <gtk/gtk.h>
20948 #include <stdio.h>
20949
20950 int
20951 main ()
20952 {
20953 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20954 ;
20955 return 0;
20956 }
20957 _ACEOF
20958 rm -f conftest.$ac_objext conftest$ac_exeext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20960 (eval $ac_link) 2>&5
20961 ac_status=$?
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -s conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 echo "*** The test program compiled, but did not run. This usually means"
20971 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20972 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20973 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20974 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20975 echo "*** is required on your system"
20976 echo "***"
20977 echo "*** If you have an old version installed, it is best to remove it, although"
20978 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20979 echo "***"
20980 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20981 echo "*** came with the system with the command"
20982 echo "***"
20983 echo "*** rpm --erase --nodeps gtk gtk-devel"
20984 else
20985 echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.$ac_ext >&5
20987
20988 echo "*** The test program failed to compile or link. See the file config.log for the"
20989 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20990 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20991 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20992 fi
20993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20994 CFLAGS="$ac_save_CFLAGS"
20995 LIBS="$ac_save_LIBS"
20996 fi
20997 fi
20998 GTK_CFLAGS=""
20999 GTK_LIBS=""
21000 :
21001 fi
21002
21003
21004 rm -f conf.gtktest
21005
21006 fi
21007 fi
21008
21009 if test -z "$wx_cv_lib_gtk"; then
21010 wx_cv_lib_gtk=none
21011 else
21012 wx_cv_cflags_gtk=$GTK_CFLAGS
21013 wx_cv_libs_gtk=$GTK_LIBS
21014 fi
21015
21016
21017 fi
21018
21019
21020 if test "$gtk_version_cached" = 1; then
21021 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
21022 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
21023 fi
21024
21025 case "$wx_cv_lib_gtk" in
21026 2.0) WXGTK20=1
21027 TOOLKIT_VERSION=2
21028 ;;
21029 1.2.7) WXGTK127=1
21030 WXGTK12=1
21031 ;;
21032 1.2.3) WXGTK12=1
21033 ;;
21034 *) { { echo "$as_me:$LINENO: error:
21035 Please check that gtk-config is in path, the directory
21036 where GTK+ libraries are installed (returned by
21037 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21038 equivalent variable and GTK+ is version 1.2.3 or above.
21039 " >&5
21040 echo "$as_me: error:
21041 Please check that gtk-config is in path, the directory
21042 where GTK+ libraries are installed (returned by
21043 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
21044 equivalent variable and GTK+ is version 1.2.3 or above.
21045 " >&2;}
21046 { (exit 1); exit 1; }; }
21047 ;;
21048 esac
21049
21050 if test "$WXGTK20" = 1; then
21051 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21052
21053 succeeded=no
21054
21055 if test -z "$PKG_CONFIG"; then
21056 # Extract the first word of "pkg-config", so it can be a program name with args.
21057 set dummy pkg-config; ac_word=$2
21058 echo "$as_me:$LINENO: checking for $ac_word" >&5
21059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21060 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21061 echo $ECHO_N "(cached) $ECHO_C" >&6
21062 else
21063 case $PKG_CONFIG in
21064 [\\/]* | ?:[\\/]*)
21065 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21066 ;;
21067 *)
21068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21069 for as_dir in $PATH
21070 do
21071 IFS=$as_save_IFS
21072 test -z "$as_dir" && as_dir=.
21073 for ac_exec_ext in '' $ac_executable_extensions; do
21074 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21075 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21076 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21077 break 2
21078 fi
21079 done
21080 done
21081
21082 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21083 ;;
21084 esac
21085 fi
21086 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21087
21088 if test -n "$PKG_CONFIG"; then
21089 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21090 echo "${ECHO_T}$PKG_CONFIG" >&6
21091 else
21092 echo "$as_me:$LINENO: result: no" >&5
21093 echo "${ECHO_T}no" >&6
21094 fi
21095
21096 fi
21097
21098 if test "$PKG_CONFIG" = "no" ; then
21099 echo "*** The pkg-config script could not be found. Make sure it is"
21100 echo "*** in your path, or set the PKG_CONFIG environment variable"
21101 echo "*** to the full path to pkg-config."
21102 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
21103 else
21104 PKG_CONFIG_MIN_VERSION=0.9.0
21105 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
21106 echo "$as_me:$LINENO: checking for pangoft2" >&5
21107 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
21108
21109 if $PKG_CONFIG --exists "pangoft2" ; then
21110 echo "$as_me:$LINENO: result: yes" >&5
21111 echo "${ECHO_T}yes" >&6
21112 succeeded=yes
21113
21114 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
21115 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
21116 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
21117 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
21118 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
21119
21120 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
21121 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
21122 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
21123 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
21124 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
21125 else
21126 PANGOFT2_CFLAGS=""
21127 PANGOFT2_LIBS=""
21128 ## If we have a custom action on failure, don't print errors, but
21129 ## do set a variable so people can do so.
21130 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
21131
21132 fi
21133
21134
21135
21136 else
21137 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
21138 echo "*** See http://www.freedesktop.org/software/pkgconfig"
21139 fi
21140 fi
21141
21142 if test $succeeded = yes; then
21143
21144 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
21145 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
21146
21147 else
21148
21149 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
21150 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
21151 wxUSE_PRINTING_ARCHITECTURE="no"
21152
21153
21154 fi
21155
21156 fi
21157 else
21158 if test "$wxUSE_UNICODE" = "yes"; then
21159 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
21160 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
21161 wxUSE_UNICODE=no
21162 fi
21163 fi
21164
21165 if test "$USE_DARWIN" != 1; then
21166
21167 for ac_func in poll
21168 do
21169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21170 echo "$as_me:$LINENO: checking for $ac_func" >&5
21171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21172 if eval "test \"\${$as_ac_var+set}\" = set"; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21174 else
21175 cat >conftest.$ac_ext <<_ACEOF
21176 #line $LINENO "configure"
21177 /* confdefs.h. */
21178 _ACEOF
21179 cat confdefs.h >>conftest.$ac_ext
21180 cat >>conftest.$ac_ext <<_ACEOF
21181 /* end confdefs.h. */
21182 /* System header to define __stub macros and hopefully few prototypes,
21183 which can conflict with char $ac_func (); below.
21184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21185 <limits.h> exists even on freestanding compilers. */
21186 #ifdef __STDC__
21187 # include <limits.h>
21188 #else
21189 # include <assert.h>
21190 #endif
21191 /* Override any gcc2 internal prototype to avoid an error. */
21192 #ifdef __cplusplus
21193 extern "C"
21194 {
21195 #endif
21196 /* We use char because int might match the return type of a gcc2
21197 builtin and then its argument prototype would still apply. */
21198 char $ac_func ();
21199 /* The GNU C library defines this for functions which it implements
21200 to always fail with ENOSYS. Some functions are actually named
21201 something starting with __ and the normal name is an alias. */
21202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21203 choke me
21204 #else
21205 char (*f) () = $ac_func;
21206 #endif
21207 #ifdef __cplusplus
21208 }
21209 #endif
21210
21211 int
21212 main ()
21213 {
21214 return f != $ac_func;
21215 ;
21216 return 0;
21217 }
21218 _ACEOF
21219 rm -f conftest.$ac_objext conftest$ac_exeext
21220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21221 (eval $ac_link) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } &&
21225 { ac_try='test -s conftest$ac_exeext'
21226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21227 (eval $ac_try) 2>&5
21228 ac_status=$?
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); }; }; then
21231 eval "$as_ac_var=yes"
21232 else
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 eval "$as_ac_var=no"
21237 fi
21238 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21239 fi
21240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21242 if test `eval echo '${'$as_ac_var'}'` = yes; then
21243 cat >>confdefs.h <<_ACEOF
21244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21245 _ACEOF
21246
21247 fi
21248 done
21249
21250 fi
21251
21252 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
21253 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
21254
21255 AFMINSTALL=afminstall
21256 TOOLKIT=GTK
21257 GUIDIST=GTK_DIST
21258
21259 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
21260 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
21261 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21263 else
21264 ac_check_lib_save_LIBS=$LIBS
21265 LIBS="-lgdk $LIBS"
21266 cat >conftest.$ac_ext <<_ACEOF
21267 #line $LINENO "configure"
21268 /* confdefs.h. */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h. */
21273
21274 /* Override any gcc2 internal prototype to avoid an error. */
21275 #ifdef __cplusplus
21276 extern "C"
21277 #endif
21278 /* We use char because int might match the return type of a gcc2
21279 builtin and then its argument prototype would still apply. */
21280 char gdk_im_open ();
21281 int
21282 main ()
21283 {
21284 gdk_im_open ();
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 rm -f conftest.$ac_objext conftest$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21298 ac_status=$?
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_lib_gdk_gdk_im_open=yes
21302 else
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 ac_cv_lib_gdk_gdk_im_open=no
21307 fi
21308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21309 LIBS=$ac_check_lib_save_LIBS
21310 fi
21311 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
21312 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
21313 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
21314 cat >>confdefs.h <<\_ACEOF
21315 #define HAVE_XIM 1
21316 _ACEOF
21317
21318 fi
21319
21320 fi
21321
21322 if test "$wxUSE_MGL" = 1; then
21323 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
21324 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
21325 if test "x$MGL_ROOT" = x ; then
21326 echo "$as_me:$LINENO: result: not found" >&5
21327 echo "${ECHO_T}not found" >&6
21328 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
21329 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
21330 { (exit 1); exit 1; }; }
21331 else
21332 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
21333 echo "${ECHO_T}$MGL_ROOT" >&6
21334 fi
21335
21336 echo "$as_me:$LINENO: checking for libmgl location" >&5
21337 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
21338 case "${host}" in
21339 *-*-linux* )
21340 if test "x$wxUSE_SHARED" = xyes ; then
21341 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
21342 else
21343 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
21344 fi
21345 ;;
21346 *-pc-msdosdjgpp )
21347 mgl_os_candidates="dos32/dj2"
21348 ;;
21349 *)
21350 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
21351 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
21352 { (exit 1); exit 1; }; }
21353 esac
21354
21355 mgl_lib_type=""
21356 mgl_os=""
21357
21358 for mgl_os_i in $mgl_os_candidates ; do
21359 if test "x$mgl_os" = x ; then
21360 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21361 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21362 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21363 mgl_lib_type=debug
21364 mgl_os=$mgl_os_i
21365 fi
21366 fi
21367 if test "x$mgl_lib_type" = x ; then
21368 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21369 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21370 mgl_lib_type=release
21371 mgl_os=$mgl_os_i
21372 fi
21373 fi
21374 fi
21375 done
21376
21377 if test "x$mgl_os" = x ; then
21378 echo "$as_me:$LINENO: result: not found" >&5
21379 echo "${ECHO_T}not found" >&6
21380 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21381 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21382 { (exit 1); exit 1; }; }
21383 fi
21384 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21385 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21386
21387 wxUSE_UNIVERSAL="yes"
21388
21389 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21390 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21391
21392 AFMINSTALL=afminstall
21393 TOOLKIT=MGL
21394 GUIDIST=MGL_DIST
21395 fi
21396
21397 if test "$wxUSE_MICROWIN" = 1; then
21398 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21399 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21400 if test "x$MICROWINDOWS" = x ; then
21401 echo "$as_me:$LINENO: result: not found" >&5
21402 echo "${ECHO_T}not found" >&6
21403 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21404 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21405 { (exit 1); exit 1; }; }
21406 else
21407 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21408 echo "${ECHO_T}$MICROWINDOWS" >&6
21409 fi
21410
21411 if test -f $MICROWINDOWS/lib/libmwin.a; then
21412 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21413 echo "${ECHO_T}MicroWindows' libraries found." >&6
21414 else
21415 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21416 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21417 { (exit 1); exit 1; }; }
21418 fi
21419
21420 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21421 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21422
21423 wxUSE_UNIVERSAL="yes"
21424
21425 AFMINSTALL=afminstall
21426 TOOLKIT=MICROWIN
21427 GUIDIST=MICROWIN_DIST
21428
21429 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21430 fi
21431
21432 if test "$wxUSE_X11" = 1; then
21433 echo "$as_me:$LINENO: checking for X" >&5
21434 echo $ECHO_N "checking for X... $ECHO_C" >&6
21435
21436
21437 # Check whether --with-x or --without-x was given.
21438 if test "${with_x+set}" = set; then
21439 withval="$with_x"
21440
21441 fi;
21442 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21443 if test "x$with_x" = xno; then
21444 # The user explicitly disabled X.
21445 have_x=disabled
21446 else
21447 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21448 # Both variables are already set.
21449 have_x=yes
21450 else
21451 if test "${ac_cv_have_x+set}" = set; then
21452 echo $ECHO_N "(cached) $ECHO_C" >&6
21453 else
21454 # One or both of the vars are not set, and there is no cached value.
21455 ac_x_includes=no ac_x_libraries=no
21456 rm -fr conftest.dir
21457 if mkdir conftest.dir; then
21458 cd conftest.dir
21459 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21460 cat >Imakefile <<'_ACEOF'
21461 acfindx:
21462 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21463 _ACEOF
21464 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21466 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21467 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21468 for ac_extension in a so sl; do
21469 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21470 test -f $ac_im_libdir/libX11.$ac_extension; then
21471 ac_im_usrlibdir=$ac_im_libdir; break
21472 fi
21473 done
21474 # Screen out bogus values from the imake configuration. They are
21475 # bogus both because they are the default anyway, and because
21476 # using them would break gcc on systems where it needs fixed includes.
21477 case $ac_im_incroot in
21478 /usr/include) ;;
21479 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21480 esac
21481 case $ac_im_usrlibdir in
21482 /usr/lib | /lib) ;;
21483 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21484 esac
21485 fi
21486 cd ..
21487 rm -fr conftest.dir
21488 fi
21489
21490 # Standard set of common directories for X headers.
21491 # Check X11 before X11Rn because it is often a symlink to the current release.
21492 ac_x_header_dirs='
21493 /usr/X11/include
21494 /usr/X11R6/include
21495 /usr/X11R5/include
21496 /usr/X11R4/include
21497
21498 /usr/include/X11
21499 /usr/include/X11R6
21500 /usr/include/X11R5
21501 /usr/include/X11R4
21502
21503 /usr/local/X11/include
21504 /usr/local/X11R6/include
21505 /usr/local/X11R5/include
21506 /usr/local/X11R4/include
21507
21508 /usr/local/include/X11
21509 /usr/local/include/X11R6
21510 /usr/local/include/X11R5
21511 /usr/local/include/X11R4
21512
21513 /usr/X386/include
21514 /usr/x386/include
21515 /usr/XFree86/include/X11
21516
21517 /usr/include
21518 /usr/local/include
21519 /usr/unsupported/include
21520 /usr/athena/include
21521 /usr/local/x11r5/include
21522 /usr/lpp/Xamples/include
21523
21524 /usr/openwin/include
21525 /usr/openwin/share/include'
21526
21527 if test "$ac_x_includes" = no; then
21528 # Guess where to find include files, by looking for Intrinsic.h.
21529 # First, try using that file with no special directory specified.
21530 cat >conftest.$ac_ext <<_ACEOF
21531 #line $LINENO "configure"
21532 /* confdefs.h. */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 #include <X11/Intrinsic.h>
21538 _ACEOF
21539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21541 ac_status=$?
21542 grep -v '^ *+' conftest.er1 >conftest.err
21543 rm -f conftest.er1
21544 cat conftest.err >&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } >/dev/null; then
21547 if test -s conftest.err; then
21548 ac_cpp_err=$ac_c_preproc_warn_flag
21549 else
21550 ac_cpp_err=
21551 fi
21552 else
21553 ac_cpp_err=yes
21554 fi
21555 if test -z "$ac_cpp_err"; then
21556 # We can compile using X headers with no special include directory.
21557 ac_x_includes=
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 for ac_dir in $ac_x_header_dirs; do
21563 if test -r "$ac_dir/X11/Intrinsic.h"; then
21564 ac_x_includes=$ac_dir
21565 break
21566 fi
21567 done
21568 fi
21569 rm -f conftest.err conftest.$ac_ext
21570 fi # $ac_x_includes = no
21571
21572 if test "$ac_x_libraries" = no; then
21573 # Check for the libraries.
21574 # See if we find them without any special options.
21575 # Don't add to $LIBS permanently.
21576 ac_save_LIBS=$LIBS
21577 LIBS="-lXt $LIBS"
21578 cat >conftest.$ac_ext <<_ACEOF
21579 #line $LINENO "configure"
21580 /* confdefs.h. */
21581 _ACEOF
21582 cat confdefs.h >>conftest.$ac_ext
21583 cat >>conftest.$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <X11/Intrinsic.h>
21586 int
21587 main ()
21588 {
21589 XtMalloc (0)
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>&5
21597 ac_status=$?
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try='test -s conftest$ac_exeext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21603 ac_status=$?
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 LIBS=$ac_save_LIBS
21607 # We can link X programs with no special library path.
21608 ac_x_libraries=
21609 else
21610 echo "$as_me: failed program was:" >&5
21611 sed 's/^/| /' conftest.$ac_ext >&5
21612
21613 LIBS=$ac_save_LIBS
21614 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21615 do
21616 # Don't even attempt the hair of trying to link an X program!
21617 for ac_extension in a so sl; do
21618 if test -r $ac_dir/libXt.$ac_extension; then
21619 ac_x_libraries=$ac_dir
21620 break 2
21621 fi
21622 done
21623 done
21624 fi
21625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21626 fi # $ac_x_libraries = no
21627
21628 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21629 # Didn't find X anywhere. Cache the known absence of X.
21630 ac_cv_have_x="have_x=no"
21631 else
21632 # Record where we found X for the cache.
21633 ac_cv_have_x="have_x=yes \
21634 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21635 fi
21636 fi
21637
21638 fi
21639 eval "$ac_cv_have_x"
21640 fi # $with_x != no
21641
21642 if test "$have_x" != yes; then
21643 echo "$as_me:$LINENO: result: $have_x" >&5
21644 echo "${ECHO_T}$have_x" >&6
21645 no_x=yes
21646 else
21647 # If each of the values was on the command line, it overrides each guess.
21648 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21649 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21650 # Update the cache value to reflect the command line values.
21651 ac_cv_have_x="have_x=yes \
21652 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21653 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21654 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21655 fi
21656
21657 if test "$no_x" = yes; then
21658 # Not all programs may use this symbol, but it does not hurt to define it.
21659
21660 cat >>confdefs.h <<\_ACEOF
21661 #define X_DISPLAY_MISSING 1
21662 _ACEOF
21663
21664 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21665 else
21666 if test -n "$x_includes"; then
21667 X_CFLAGS="$X_CFLAGS -I$x_includes"
21668 fi
21669
21670 # It would also be nice to do this for all -L options, not just this one.
21671 if test -n "$x_libraries"; then
21672 X_LIBS="$X_LIBS -L$x_libraries"
21673 # For Solaris; some versions of Sun CC require a space after -R and
21674 # others require no space. Words are not sufficient . . . .
21675 case `(uname -sr) 2>/dev/null` in
21676 "SunOS 5"*)
21677 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21678 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21679 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21680 cat >conftest.$ac_ext <<_ACEOF
21681 #line $LINENO "configure"
21682 /* confdefs.h. */
21683 _ACEOF
21684 cat confdefs.h >>conftest.$ac_ext
21685 cat >>conftest.$ac_ext <<_ACEOF
21686 /* end confdefs.h. */
21687
21688 int
21689 main ()
21690 {
21691
21692 ;
21693 return 0;
21694 }
21695 _ACEOF
21696 rm -f conftest.$ac_objext conftest$ac_exeext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21698 (eval $ac_link) 2>&5
21699 ac_status=$?
21700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21701 (exit $ac_status); } &&
21702 { ac_try='test -s conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 ac_R_nospace=yes
21709 else
21710 echo "$as_me: failed program was:" >&5
21711 sed 's/^/| /' conftest.$ac_ext >&5
21712
21713 ac_R_nospace=no
21714 fi
21715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21716 if test $ac_R_nospace = yes; then
21717 echo "$as_me:$LINENO: result: no" >&5
21718 echo "${ECHO_T}no" >&6
21719 X_LIBS="$X_LIBS -R$x_libraries"
21720 else
21721 LIBS="$ac_xsave_LIBS -R $x_libraries"
21722 cat >conftest.$ac_ext <<_ACEOF
21723 #line $LINENO "configure"
21724 /* confdefs.h. */
21725 _ACEOF
21726 cat confdefs.h >>conftest.$ac_ext
21727 cat >>conftest.$ac_ext <<_ACEOF
21728 /* end confdefs.h. */
21729
21730 int
21731 main ()
21732 {
21733
21734 ;
21735 return 0;
21736 }
21737 _ACEOF
21738 rm -f conftest.$ac_objext conftest$ac_exeext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>&5
21741 ac_status=$?
21742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21743 (exit $ac_status); } &&
21744 { ac_try='test -s conftest$ac_exeext'
21745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21746 (eval $ac_try) 2>&5
21747 ac_status=$?
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); }; }; then
21750 ac_R_space=yes
21751 else
21752 echo "$as_me: failed program was:" >&5
21753 sed 's/^/| /' conftest.$ac_ext >&5
21754
21755 ac_R_space=no
21756 fi
21757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21758 if test $ac_R_space = yes; then
21759 echo "$as_me:$LINENO: result: yes" >&5
21760 echo "${ECHO_T}yes" >&6
21761 X_LIBS="$X_LIBS -R $x_libraries"
21762 else
21763 echo "$as_me:$LINENO: result: neither works" >&5
21764 echo "${ECHO_T}neither works" >&6
21765 fi
21766 fi
21767 LIBS=$ac_xsave_LIBS
21768 esac
21769 fi
21770
21771 # Check for system-dependent libraries X programs must link with.
21772 # Do this before checking for the system-independent R6 libraries
21773 # (-lICE), since we may need -lsocket or whatever for X linking.
21774
21775 if test "$ISC" = yes; then
21776 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21777 else
21778 # Martyn Johnson says this is needed for Ultrix, if the X
21779 # libraries were built with DECnet support. And Karl Berry says
21780 # the Alpha needs dnet_stub (dnet does not exist).
21781 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21782 cat >conftest.$ac_ext <<_ACEOF
21783 #line $LINENO "configure"
21784 /* confdefs.h. */
21785 _ACEOF
21786 cat confdefs.h >>conftest.$ac_ext
21787 cat >>conftest.$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789
21790 /* Override any gcc2 internal prototype to avoid an error. */
21791 #ifdef __cplusplus
21792 extern "C"
21793 #endif
21794 /* We use char because int might match the return type of a gcc2
21795 builtin and then its argument prototype would still apply. */
21796 char XOpenDisplay ();
21797 int
21798 main ()
21799 {
21800 XOpenDisplay ();
21801 ;
21802 return 0;
21803 }
21804 _ACEOF
21805 rm -f conftest.$ac_objext conftest$ac_exeext
21806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21807 (eval $ac_link) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); } &&
21811 { ac_try='test -s conftest$ac_exeext'
21812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21813 (eval $ac_try) 2>&5
21814 ac_status=$?
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); }; }; then
21817 :
21818 else
21819 echo "$as_me: failed program was:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21821
21822 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21823 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21824 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21826 else
21827 ac_check_lib_save_LIBS=$LIBS
21828 LIBS="-ldnet $LIBS"
21829 cat >conftest.$ac_ext <<_ACEOF
21830 #line $LINENO "configure"
21831 /* confdefs.h. */
21832 _ACEOF
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836
21837 /* Override any gcc2 internal prototype to avoid an error. */
21838 #ifdef __cplusplus
21839 extern "C"
21840 #endif
21841 /* We use char because int might match the return type of a gcc2
21842 builtin and then its argument prototype would still apply. */
21843 char dnet_ntoa ();
21844 int
21845 main ()
21846 {
21847 dnet_ntoa ();
21848 ;
21849 return 0;
21850 }
21851 _ACEOF
21852 rm -f conftest.$ac_objext conftest$ac_exeext
21853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21854 (eval $ac_link) 2>&5
21855 ac_status=$?
21856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21857 (exit $ac_status); } &&
21858 { ac_try='test -s conftest$ac_exeext'
21859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21860 (eval $ac_try) 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); }; }; then
21864 ac_cv_lib_dnet_dnet_ntoa=yes
21865 else
21866 echo "$as_me: failed program was:" >&5
21867 sed 's/^/| /' conftest.$ac_ext >&5
21868
21869 ac_cv_lib_dnet_dnet_ntoa=no
21870 fi
21871 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21872 LIBS=$ac_check_lib_save_LIBS
21873 fi
21874 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21875 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21876 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21877 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21878 fi
21879
21880 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21881 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21882 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21883 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21884 echo $ECHO_N "(cached) $ECHO_C" >&6
21885 else
21886 ac_check_lib_save_LIBS=$LIBS
21887 LIBS="-ldnet_stub $LIBS"
21888 cat >conftest.$ac_ext <<_ACEOF
21889 #line $LINENO "configure"
21890 /* confdefs.h. */
21891 _ACEOF
21892 cat confdefs.h >>conftest.$ac_ext
21893 cat >>conftest.$ac_ext <<_ACEOF
21894 /* end confdefs.h. */
21895
21896 /* Override any gcc2 internal prototype to avoid an error. */
21897 #ifdef __cplusplus
21898 extern "C"
21899 #endif
21900 /* We use char because int might match the return type of a gcc2
21901 builtin and then its argument prototype would still apply. */
21902 char dnet_ntoa ();
21903 int
21904 main ()
21905 {
21906 dnet_ntoa ();
21907 ;
21908 return 0;
21909 }
21910 _ACEOF
21911 rm -f conftest.$ac_objext conftest$ac_exeext
21912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21913 (eval $ac_link) 2>&5
21914 ac_status=$?
21915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21916 (exit $ac_status); } &&
21917 { ac_try='test -s conftest$ac_exeext'
21918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21919 (eval $ac_try) 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); }; }; then
21923 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21924 else
21925 echo "$as_me: failed program was:" >&5
21926 sed 's/^/| /' conftest.$ac_ext >&5
21927
21928 ac_cv_lib_dnet_stub_dnet_ntoa=no
21929 fi
21930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21931 LIBS=$ac_check_lib_save_LIBS
21932 fi
21933 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21934 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21935 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21937 fi
21938
21939 fi
21940 fi
21941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21942 LIBS="$ac_xsave_LIBS"
21943
21944 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21945 # to get the SysV transport functions.
21946 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21947 # needs -lnsl.
21948 # The nsl library prevents programs from opening the X display
21949 # on Irix 5.2, according to T.E. Dickey.
21950 # The functions gethostbyname, getservbyname, and inet_addr are
21951 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21952 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21953 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21954 if test "${ac_cv_func_gethostbyname+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21957 cat >conftest.$ac_ext <<_ACEOF
21958 #line $LINENO "configure"
21959 /* confdefs.h. */
21960 _ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 /* System header to define __stub macros and hopefully few prototypes,
21965 which can conflict with char gethostbyname (); below.
21966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21967 <limits.h> exists even on freestanding compilers. */
21968 #ifdef __STDC__
21969 # include <limits.h>
21970 #else
21971 # include <assert.h>
21972 #endif
21973 /* Override any gcc2 internal prototype to avoid an error. */
21974 #ifdef __cplusplus
21975 extern "C"
21976 {
21977 #endif
21978 /* We use char because int might match the return type of a gcc2
21979 builtin and then its argument prototype would still apply. */
21980 char gethostbyname ();
21981 /* The GNU C library defines this for functions which it implements
21982 to always fail with ENOSYS. Some functions are actually named
21983 something starting with __ and the normal name is an alias. */
21984 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21985 choke me
21986 #else
21987 char (*f) () = gethostbyname;
21988 #endif
21989 #ifdef __cplusplus
21990 }
21991 #endif
21992
21993 int
21994 main ()
21995 {
21996 return f != gethostbyname;
21997 ;
21998 return 0;
21999 }
22000 _ACEOF
22001 rm -f conftest.$ac_objext conftest$ac_exeext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22003 (eval $ac_link) 2>&5
22004 ac_status=$?
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try='test -s conftest$ac_exeext'
22008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22009 (eval $ac_try) 2>&5
22010 ac_status=$?
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); }; }; then
22013 ac_cv_func_gethostbyname=yes
22014 else
22015 echo "$as_me: failed program was:" >&5
22016 sed 's/^/| /' conftest.$ac_ext >&5
22017
22018 ac_cv_func_gethostbyname=no
22019 fi
22020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22021 fi
22022 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
22023 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
22024
22025 if test $ac_cv_func_gethostbyname = no; then
22026 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
22027 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
22028 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22030 else
22031 ac_check_lib_save_LIBS=$LIBS
22032 LIBS="-lnsl $LIBS"
22033 cat >conftest.$ac_ext <<_ACEOF
22034 #line $LINENO "configure"
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040
22041 /* Override any gcc2 internal prototype to avoid an error. */
22042 #ifdef __cplusplus
22043 extern "C"
22044 #endif
22045 /* We use char because int might match the return type of a gcc2
22046 builtin and then its argument prototype would still apply. */
22047 char gethostbyname ();
22048 int
22049 main ()
22050 {
22051 gethostbyname ();
22052 ;
22053 return 0;
22054 }
22055 _ACEOF
22056 rm -f conftest.$ac_objext conftest$ac_exeext
22057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22058 (eval $ac_link) 2>&5
22059 ac_status=$?
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } &&
22062 { ac_try='test -s conftest$ac_exeext'
22063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22064 (eval $ac_try) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); }; }; then
22068 ac_cv_lib_nsl_gethostbyname=yes
22069 else
22070 echo "$as_me: failed program was:" >&5
22071 sed 's/^/| /' conftest.$ac_ext >&5
22072
22073 ac_cv_lib_nsl_gethostbyname=no
22074 fi
22075 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22076 LIBS=$ac_check_lib_save_LIBS
22077 fi
22078 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
22079 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
22080 if test $ac_cv_lib_nsl_gethostbyname = yes; then
22081 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22082 fi
22083
22084 if test $ac_cv_lib_nsl_gethostbyname = no; then
22085 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
22086 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
22087 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22090 ac_check_lib_save_LIBS=$LIBS
22091 LIBS="-lbsd $LIBS"
22092 cat >conftest.$ac_ext <<_ACEOF
22093 #line $LINENO "configure"
22094 /* confdefs.h. */
22095 _ACEOF
22096 cat confdefs.h >>conftest.$ac_ext
22097 cat >>conftest.$ac_ext <<_ACEOF
22098 /* end confdefs.h. */
22099
22100 /* Override any gcc2 internal prototype to avoid an error. */
22101 #ifdef __cplusplus
22102 extern "C"
22103 #endif
22104 /* We use char because int might match the return type of a gcc2
22105 builtin and then its argument prototype would still apply. */
22106 char gethostbyname ();
22107 int
22108 main ()
22109 {
22110 gethostbyname ();
22111 ;
22112 return 0;
22113 }
22114 _ACEOF
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_lib_bsd_gethostbyname=yes
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ac_cv_lib_bsd_gethostbyname=no
22133 fi
22134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22135 LIBS=$ac_check_lib_save_LIBS
22136 fi
22137 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
22138 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
22139 if test $ac_cv_lib_bsd_gethostbyname = yes; then
22140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22141 fi
22142
22143 fi
22144 fi
22145
22146 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22147 # socket/setsockopt and other routines are undefined under SCO ODT
22148 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22149 # on later versions), says Simon Leinen: it contains gethostby*
22150 # variants that don't use the name server (or something). -lsocket
22151 # must be given before -lnsl if both are needed. We assume that
22152 # if connect needs -lnsl, so does gethostbyname.
22153 echo "$as_me:$LINENO: checking for connect" >&5
22154 echo $ECHO_N "checking for connect... $ECHO_C" >&6
22155 if test "${ac_cv_func_connect+set}" = set; then
22156 echo $ECHO_N "(cached) $ECHO_C" >&6
22157 else
22158 cat >conftest.$ac_ext <<_ACEOF
22159 #line $LINENO "configure"
22160 /* confdefs.h. */
22161 _ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 /* System header to define __stub macros and hopefully few prototypes,
22166 which can conflict with char connect (); below.
22167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22168 <limits.h> exists even on freestanding compilers. */
22169 #ifdef __STDC__
22170 # include <limits.h>
22171 #else
22172 # include <assert.h>
22173 #endif
22174 /* Override any gcc2 internal prototype to avoid an error. */
22175 #ifdef __cplusplus
22176 extern "C"
22177 {
22178 #endif
22179 /* We use char because int might match the return type of a gcc2
22180 builtin and then its argument prototype would still apply. */
22181 char connect ();
22182 /* The GNU C library defines this for functions which it implements
22183 to always fail with ENOSYS. Some functions are actually named
22184 something starting with __ and the normal name is an alias. */
22185 #if defined (__stub_connect) || defined (__stub___connect)
22186 choke me
22187 #else
22188 char (*f) () = connect;
22189 #endif
22190 #ifdef __cplusplus
22191 }
22192 #endif
22193
22194 int
22195 main ()
22196 {
22197 return f != connect;
22198 ;
22199 return 0;
22200 }
22201 _ACEOF
22202 rm -f conftest.$ac_objext conftest$ac_exeext
22203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22204 (eval $ac_link) 2>&5
22205 ac_status=$?
22206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22207 (exit $ac_status); } &&
22208 { ac_try='test -s conftest$ac_exeext'
22209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210 (eval $ac_try) 2>&5
22211 ac_status=$?
22212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22213 (exit $ac_status); }; }; then
22214 ac_cv_func_connect=yes
22215 else
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22218
22219 ac_cv_func_connect=no
22220 fi
22221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22222 fi
22223 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
22224 echo "${ECHO_T}$ac_cv_func_connect" >&6
22225
22226 if test $ac_cv_func_connect = no; then
22227 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
22228 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
22229 if test "${ac_cv_lib_socket_connect+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231 else
22232 ac_check_lib_save_LIBS=$LIBS
22233 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22234 cat >conftest.$ac_ext <<_ACEOF
22235 #line $LINENO "configure"
22236 /* confdefs.h. */
22237 _ACEOF
22238 cat confdefs.h >>conftest.$ac_ext
22239 cat >>conftest.$ac_ext <<_ACEOF
22240 /* end confdefs.h. */
22241
22242 /* Override any gcc2 internal prototype to avoid an error. */
22243 #ifdef __cplusplus
22244 extern "C"
22245 #endif
22246 /* We use char because int might match the return type of a gcc2
22247 builtin and then its argument prototype would still apply. */
22248 char connect ();
22249 int
22250 main ()
22251 {
22252 connect ();
22253 ;
22254 return 0;
22255 }
22256 _ACEOF
22257 rm -f conftest.$ac_objext conftest$ac_exeext
22258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22259 (eval $ac_link) 2>&5
22260 ac_status=$?
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); } &&
22263 { ac_try='test -s conftest$ac_exeext'
22264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22265 (eval $ac_try) 2>&5
22266 ac_status=$?
22267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22268 (exit $ac_status); }; }; then
22269 ac_cv_lib_socket_connect=yes
22270 else
22271 echo "$as_me: failed program was:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22273
22274 ac_cv_lib_socket_connect=no
22275 fi
22276 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22277 LIBS=$ac_check_lib_save_LIBS
22278 fi
22279 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
22280 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
22281 if test $ac_cv_lib_socket_connect = yes; then
22282 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22283 fi
22284
22285 fi
22286
22287 # Guillermo Gomez says -lposix is necessary on A/UX.
22288 echo "$as_me:$LINENO: checking for remove" >&5
22289 echo $ECHO_N "checking for remove... $ECHO_C" >&6
22290 if test "${ac_cv_func_remove+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293 cat >conftest.$ac_ext <<_ACEOF
22294 #line $LINENO "configure"
22295 /* confdefs.h. */
22296 _ACEOF
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 /* System header to define __stub macros and hopefully few prototypes,
22301 which can conflict with char remove (); below.
22302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22303 <limits.h> exists even on freestanding compilers. */
22304 #ifdef __STDC__
22305 # include <limits.h>
22306 #else
22307 # include <assert.h>
22308 #endif
22309 /* Override any gcc2 internal prototype to avoid an error. */
22310 #ifdef __cplusplus
22311 extern "C"
22312 {
22313 #endif
22314 /* We use char because int might match the return type of a gcc2
22315 builtin and then its argument prototype would still apply. */
22316 char remove ();
22317 /* The GNU C library defines this for functions which it implements
22318 to always fail with ENOSYS. Some functions are actually named
22319 something starting with __ and the normal name is an alias. */
22320 #if defined (__stub_remove) || defined (__stub___remove)
22321 choke me
22322 #else
22323 char (*f) () = remove;
22324 #endif
22325 #ifdef __cplusplus
22326 }
22327 #endif
22328
22329 int
22330 main ()
22331 {
22332 return f != remove;
22333 ;
22334 return 0;
22335 }
22336 _ACEOF
22337 rm -f conftest.$ac_objext conftest$ac_exeext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22339 (eval $ac_link) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try='test -s conftest$ac_exeext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_func_remove=yes
22350 else
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22353
22354 ac_cv_func_remove=no
22355 fi
22356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22357 fi
22358 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
22359 echo "${ECHO_T}$ac_cv_func_remove" >&6
22360
22361 if test $ac_cv_func_remove = no; then
22362 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22363 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22364 if test "${ac_cv_lib_posix_remove+set}" = set; then
22365 echo $ECHO_N "(cached) $ECHO_C" >&6
22366 else
22367 ac_check_lib_save_LIBS=$LIBS
22368 LIBS="-lposix $LIBS"
22369 cat >conftest.$ac_ext <<_ACEOF
22370 #line $LINENO "configure"
22371 /* confdefs.h. */
22372 _ACEOF
22373 cat confdefs.h >>conftest.$ac_ext
22374 cat >>conftest.$ac_ext <<_ACEOF
22375 /* end confdefs.h. */
22376
22377 /* Override any gcc2 internal prototype to avoid an error. */
22378 #ifdef __cplusplus
22379 extern "C"
22380 #endif
22381 /* We use char because int might match the return type of a gcc2
22382 builtin and then its argument prototype would still apply. */
22383 char remove ();
22384 int
22385 main ()
22386 {
22387 remove ();
22388 ;
22389 return 0;
22390 }
22391 _ACEOF
22392 rm -f conftest.$ac_objext conftest$ac_exeext
22393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22394 (eval $ac_link) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); } &&
22398 { ac_try='test -s conftest$ac_exeext'
22399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22400 (eval $ac_try) 2>&5
22401 ac_status=$?
22402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22403 (exit $ac_status); }; }; then
22404 ac_cv_lib_posix_remove=yes
22405 else
22406 echo "$as_me: failed program was:" >&5
22407 sed 's/^/| /' conftest.$ac_ext >&5
22408
22409 ac_cv_lib_posix_remove=no
22410 fi
22411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22412 LIBS=$ac_check_lib_save_LIBS
22413 fi
22414 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22415 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22416 if test $ac_cv_lib_posix_remove = yes; then
22417 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22418 fi
22419
22420 fi
22421
22422 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22423 echo "$as_me:$LINENO: checking for shmat" >&5
22424 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22425 if test "${ac_cv_func_shmat+set}" = set; then
22426 echo $ECHO_N "(cached) $ECHO_C" >&6
22427 else
22428 cat >conftest.$ac_ext <<_ACEOF
22429 #line $LINENO "configure"
22430 /* confdefs.h. */
22431 _ACEOF
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 /* System header to define __stub macros and hopefully few prototypes,
22436 which can conflict with char shmat (); below.
22437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22438 <limits.h> exists even on freestanding compilers. */
22439 #ifdef __STDC__
22440 # include <limits.h>
22441 #else
22442 # include <assert.h>
22443 #endif
22444 /* Override any gcc2 internal prototype to avoid an error. */
22445 #ifdef __cplusplus
22446 extern "C"
22447 {
22448 #endif
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22451 char shmat ();
22452 /* The GNU C library defines this for functions which it implements
22453 to always fail with ENOSYS. Some functions are actually named
22454 something starting with __ and the normal name is an alias. */
22455 #if defined (__stub_shmat) || defined (__stub___shmat)
22456 choke me
22457 #else
22458 char (*f) () = shmat;
22459 #endif
22460 #ifdef __cplusplus
22461 }
22462 #endif
22463
22464 int
22465 main ()
22466 {
22467 return f != shmat;
22468 ;
22469 return 0;
22470 }
22471 _ACEOF
22472 rm -f conftest.$ac_objext conftest$ac_exeext
22473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22474 (eval $ac_link) 2>&5
22475 ac_status=$?
22476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22477 (exit $ac_status); } &&
22478 { ac_try='test -s conftest$ac_exeext'
22479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22480 (eval $ac_try) 2>&5
22481 ac_status=$?
22482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22483 (exit $ac_status); }; }; then
22484 ac_cv_func_shmat=yes
22485 else
22486 echo "$as_me: failed program was:" >&5
22487 sed 's/^/| /' conftest.$ac_ext >&5
22488
22489 ac_cv_func_shmat=no
22490 fi
22491 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22492 fi
22493 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22494 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22495
22496 if test $ac_cv_func_shmat = no; then
22497 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22498 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22499 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 else
22502 ac_check_lib_save_LIBS=$LIBS
22503 LIBS="-lipc $LIBS"
22504 cat >conftest.$ac_ext <<_ACEOF
22505 #line $LINENO "configure"
22506 /* confdefs.h. */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511
22512 /* Override any gcc2 internal prototype to avoid an error. */
22513 #ifdef __cplusplus
22514 extern "C"
22515 #endif
22516 /* We use char because int might match the return type of a gcc2
22517 builtin and then its argument prototype would still apply. */
22518 char shmat ();
22519 int
22520 main ()
22521 {
22522 shmat ();
22523 ;
22524 return 0;
22525 }
22526 _ACEOF
22527 rm -f conftest.$ac_objext conftest$ac_exeext
22528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22529 (eval $ac_link) 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try='test -s conftest$ac_exeext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 ac_cv_lib_ipc_shmat=yes
22540 else
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.$ac_ext >&5
22543
22544 ac_cv_lib_ipc_shmat=no
22545 fi
22546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22547 LIBS=$ac_check_lib_save_LIBS
22548 fi
22549 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22550 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22551 if test $ac_cv_lib_ipc_shmat = yes; then
22552 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22553 fi
22554
22555 fi
22556 fi
22557
22558 # Check for libraries that X11R6 Xt/Xaw programs need.
22559 ac_save_LDFLAGS=$LDFLAGS
22560 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22561 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22562 # check for ICE first), but we must link in the order -lSM -lICE or
22563 # we get undefined symbols. So assume we have SM if we have ICE.
22564 # These have to be linked with before -lX11, unlike the other
22565 # libraries we check for below, so use a different variable.
22566 # John Interrante, Karl Berry
22567 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22568 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22569 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22570 echo $ECHO_N "(cached) $ECHO_C" >&6
22571 else
22572 ac_check_lib_save_LIBS=$LIBS
22573 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22574 cat >conftest.$ac_ext <<_ACEOF
22575 #line $LINENO "configure"
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581
22582 /* Override any gcc2 internal prototype to avoid an error. */
22583 #ifdef __cplusplus
22584 extern "C"
22585 #endif
22586 /* We use char because int might match the return type of a gcc2
22587 builtin and then its argument prototype would still apply. */
22588 char IceConnectionNumber ();
22589 int
22590 main ()
22591 {
22592 IceConnectionNumber ();
22593 ;
22594 return 0;
22595 }
22596 _ACEOF
22597 rm -f conftest.$ac_objext conftest$ac_exeext
22598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22599 (eval $ac_link) 2>&5
22600 ac_status=$?
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -s conftest$ac_exeext'
22604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22605 (eval $ac_try) 2>&5
22606 ac_status=$?
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); }; }; then
22609 ac_cv_lib_ICE_IceConnectionNumber=yes
22610 else
22611 echo "$as_me: failed program was:" >&5
22612 sed 's/^/| /' conftest.$ac_ext >&5
22613
22614 ac_cv_lib_ICE_IceConnectionNumber=no
22615 fi
22616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22617 LIBS=$ac_check_lib_save_LIBS
22618 fi
22619 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22620 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22621 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22622 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22623 fi
22624
22625 LDFLAGS=$ac_save_LDFLAGS
22626
22627 fi
22628
22629
22630 if test "$no_x" = "yes"; then
22631 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22632 echo "$as_me: error: X11 not found" >&2;}
22633 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22634 fi
22635
22636 GUI_TK_LIBRARY="$X_LIBS"
22637 TOOLKIT_INCLUDE="$X_CFLAGS"
22638 AFMINSTALL=afminstall
22639 COMPILED_X_PROGRAM=0
22640
22641 if test "$wxUSE_NANOX" = "yes"; then
22642 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22643 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22644 if test "x$MICROWIN" = x ; then
22645 echo "$as_me:$LINENO: result: not found" >&5
22646 echo "${ECHO_T}not found" >&6
22647 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22648 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22649 { (exit 1); exit 1; }; }
22650 else
22651 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22652 echo "${ECHO_T}$MICROWIN" >&6
22653 cat >>confdefs.h <<\_ACEOF
22654 #define wxUSE_NANOX 1
22655 _ACEOF
22656
22657 fi
22658 fi
22659
22660 xpm_link=
22661 echo "$as_me:$LINENO: checking for Xpm library" >&5
22662 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22663
22664 ac_find_libraries=
22665 for ac_dir in $SEARCH_LIB /usr/lib;
22666 do
22667 for ac_extension in a so sl dylib; do
22668 if test -f "$ac_dir/libXpm.$ac_extension"; then
22669 ac_find_libraries=$ac_dir
22670 break 2
22671 fi
22672 done
22673 done
22674
22675 if test "$ac_find_libraries" != "" ; then
22676
22677 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22678 result=$?
22679 if test $result = 0; then
22680 ac_path_to_link=""
22681 else
22682 ac_path_to_link=" -L$ac_find_libraries"
22683 fi
22684
22685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22686 xpm_link=" -lXpm"
22687 cat >>confdefs.h <<\_ACEOF
22688 #define wxHAVE_LIB_XPM 1
22689 _ACEOF
22690
22691 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22692 echo "${ECHO_T}found at $ac_find_libraries" >&6
22693 else
22694 cat >conftest.$ac_ext <<_ACEOF
22695 #line $LINENO "configure"
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701
22702 #include <X11/xpm.h>
22703
22704 int
22705 main ()
22706 {
22707
22708 int version;
22709 version = XpmLibraryVersion();
22710
22711 ;
22712 return 0;
22713 }
22714 _ACEOF
22715 rm -f conftest.$ac_objext
22716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22717 (eval $ac_compile) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); } &&
22721 { ac_try='test -s conftest.$ac_objext'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22724 ac_status=$?
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; }; then
22727
22728 xpm_link=" -lXpm"
22729 cat >>confdefs.h <<\_ACEOF
22730 #define wxHAVE_LIB_XPM 1
22731 _ACEOF
22732
22733 echo "$as_me:$LINENO: result: found in default search path" >&5
22734 echo "${ECHO_T}found in default search path" >&6
22735 COMPILED_X_PROGRAM=0
22736
22737 else
22738 echo "$as_me: failed program was:" >&5
22739 sed 's/^/| /' conftest.$ac_ext >&5
22740
22741
22742 echo "$as_me:$LINENO: result: no" >&5
22743 echo "${ECHO_T}no" >&6
22744 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22745 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22746
22747
22748 fi
22749 rm -f conftest.$ac_objext conftest.$ac_ext
22750 fi
22751
22752 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22753 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22754 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22755 echo $ECHO_N "(cached) $ECHO_C" >&6
22756 else
22757 ac_check_lib_save_LIBS=$LIBS
22758 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22759 cat >conftest.$ac_ext <<_ACEOF
22760 #line $LINENO "configure"
22761 /* confdefs.h. */
22762 _ACEOF
22763 cat confdefs.h >>conftest.$ac_ext
22764 cat >>conftest.$ac_ext <<_ACEOF
22765 /* end confdefs.h. */
22766
22767 /* Override any gcc2 internal prototype to avoid an error. */
22768 #ifdef __cplusplus
22769 extern "C"
22770 #endif
22771 /* We use char because int might match the return type of a gcc2
22772 builtin and then its argument prototype would still apply. */
22773 char XShapeQueryExtension ();
22774 int
22775 main ()
22776 {
22777 XShapeQueryExtension ();
22778 ;
22779 return 0;
22780 }
22781 _ACEOF
22782 rm -f conftest.$ac_objext conftest$ac_exeext
22783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22784 (eval $ac_link) 2>&5
22785 ac_status=$?
22786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22787 (exit $ac_status); } &&
22788 { ac_try='test -s conftest$ac_exeext'
22789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790 (eval $ac_try) 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); }; }; then
22794 ac_cv_lib_Xext_XShapeQueryExtension=yes
22795 else
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.$ac_ext >&5
22798
22799 ac_cv_lib_Xext_XShapeQueryExtension=no
22800 fi
22801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22802 LIBS=$ac_check_lib_save_LIBS
22803 fi
22804 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22805 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22806 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22807
22808 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22809 wxHAVE_XEXT_LIB=1
22810
22811 fi
22812
22813
22814 if test "$wxUSE_UNICODE" = "yes"; then
22815
22816 succeeded=no
22817
22818 if test -z "$PKG_CONFIG"; then
22819 # Extract the first word of "pkg-config", so it can be a program name with args.
22820 set dummy pkg-config; ac_word=$2
22821 echo "$as_me:$LINENO: checking for $ac_word" >&5
22822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22823 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22824 echo $ECHO_N "(cached) $ECHO_C" >&6
22825 else
22826 case $PKG_CONFIG in
22827 [\\/]* | ?:[\\/]*)
22828 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22829 ;;
22830 *)
22831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22832 for as_dir in $PATH
22833 do
22834 IFS=$as_save_IFS
22835 test -z "$as_dir" && as_dir=.
22836 for ac_exec_ext in '' $ac_executable_extensions; do
22837 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22838 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22840 break 2
22841 fi
22842 done
22843 done
22844
22845 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22846 ;;
22847 esac
22848 fi
22849 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22850
22851 if test -n "$PKG_CONFIG"; then
22852 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22853 echo "${ECHO_T}$PKG_CONFIG" >&6
22854 else
22855 echo "$as_me:$LINENO: result: no" >&5
22856 echo "${ECHO_T}no" >&6
22857 fi
22858
22859 fi
22860
22861 if test "$PKG_CONFIG" = "no" ; then
22862 echo "*** The pkg-config script could not be found. Make sure it is"
22863 echo "*** in your path, or set the PKG_CONFIG environment variable"
22864 echo "*** to the full path to pkg-config."
22865 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22866 else
22867 PKG_CONFIG_MIN_VERSION=0.9.0
22868 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22869 echo "$as_me:$LINENO: checking for pangox" >&5
22870 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22871
22872 if $PKG_CONFIG --exists "pangox" ; then
22873 echo "$as_me:$LINENO: result: yes" >&5
22874 echo "${ECHO_T}yes" >&6
22875 succeeded=yes
22876
22877 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22878 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22879 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22880 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22881 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22882
22883 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22884 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22885 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22886 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22887 echo "${ECHO_T}$PANGOX_LIBS" >&6
22888 else
22889 PANGOX_CFLAGS=""
22890 PANGOX_LIBS=""
22891 ## If we have a custom action on failure, don't print errors, but
22892 ## do set a variable so people can do so.
22893 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22894
22895 fi
22896
22897
22898
22899 else
22900 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22901 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22902 fi
22903 fi
22904
22905 if test $succeeded = yes; then
22906
22907 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22908 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22909
22910 else
22911
22912 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22913 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22914 { (exit 1); exit 1; }; }
22915
22916
22917 fi
22918
22919
22920 succeeded=no
22921
22922 if test -z "$PKG_CONFIG"; then
22923 # Extract the first word of "pkg-config", so it can be a program name with args.
22924 set dummy pkg-config; ac_word=$2
22925 echo "$as_me:$LINENO: checking for $ac_word" >&5
22926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 else
22930 case $PKG_CONFIG in
22931 [\\/]* | ?:[\\/]*)
22932 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22933 ;;
22934 *)
22935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22936 for as_dir in $PATH
22937 do
22938 IFS=$as_save_IFS
22939 test -z "$as_dir" && as_dir=.
22940 for ac_exec_ext in '' $ac_executable_extensions; do
22941 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22942 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22944 break 2
22945 fi
22946 done
22947 done
22948
22949 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22950 ;;
22951 esac
22952 fi
22953 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22954
22955 if test -n "$PKG_CONFIG"; then
22956 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22957 echo "${ECHO_T}$PKG_CONFIG" >&6
22958 else
22959 echo "$as_me:$LINENO: result: no" >&5
22960 echo "${ECHO_T}no" >&6
22961 fi
22962
22963 fi
22964
22965 if test "$PKG_CONFIG" = "no" ; then
22966 echo "*** The pkg-config script could not be found. Make sure it is"
22967 echo "*** in your path, or set the PKG_CONFIG environment variable"
22968 echo "*** to the full path to pkg-config."
22969 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22970 else
22971 PKG_CONFIG_MIN_VERSION=0.9.0
22972 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22973 echo "$as_me:$LINENO: checking for pangoft2" >&5
22974 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22975
22976 if $PKG_CONFIG --exists "pangoft2" ; then
22977 echo "$as_me:$LINENO: result: yes" >&5
22978 echo "${ECHO_T}yes" >&6
22979 succeeded=yes
22980
22981 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22982 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22983 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22984 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22985 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22986
22987 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22988 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22989 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22990 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22991 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22992 else
22993 PANGOFT2_CFLAGS=""
22994 PANGOFT2_LIBS=""
22995 ## If we have a custom action on failure, don't print errors, but
22996 ## do set a variable so people can do so.
22997 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22998
22999 fi
23000
23001
23002
23003 else
23004 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23005 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23006 fi
23007 fi
23008
23009 if test $succeeded = yes; then
23010
23011 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23012 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23013
23014 else
23015
23016 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23017 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23018 wxUSE_PRINTING_ARCHITECTURE="no"
23019
23020
23021 fi
23022
23023
23024 succeeded=no
23025
23026 if test -z "$PKG_CONFIG"; then
23027 # Extract the first word of "pkg-config", so it can be a program name with args.
23028 set dummy pkg-config; ac_word=$2
23029 echo "$as_me:$LINENO: checking for $ac_word" >&5
23030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23031 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23032 echo $ECHO_N "(cached) $ECHO_C" >&6
23033 else
23034 case $PKG_CONFIG in
23035 [\\/]* | ?:[\\/]*)
23036 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23037 ;;
23038 *)
23039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23040 for as_dir in $PATH
23041 do
23042 IFS=$as_save_IFS
23043 test -z "$as_dir" && as_dir=.
23044 for ac_exec_ext in '' $ac_executable_extensions; do
23045 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23046 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23048 break 2
23049 fi
23050 done
23051 done
23052
23053 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23054 ;;
23055 esac
23056 fi
23057 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23058
23059 if test -n "$PKG_CONFIG"; then
23060 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23061 echo "${ECHO_T}$PKG_CONFIG" >&6
23062 else
23063 echo "$as_me:$LINENO: result: no" >&5
23064 echo "${ECHO_T}no" >&6
23065 fi
23066
23067 fi
23068
23069 if test "$PKG_CONFIG" = "no" ; then
23070 echo "*** The pkg-config script could not be found. Make sure it is"
23071 echo "*** in your path, or set the PKG_CONFIG environment variable"
23072 echo "*** to the full path to pkg-config."
23073 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23074 else
23075 PKG_CONFIG_MIN_VERSION=0.9.0
23076 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23077 echo "$as_me:$LINENO: checking for pangoxft" >&5
23078 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
23079
23080 if $PKG_CONFIG --exists "pangoxft" ; then
23081 echo "$as_me:$LINENO: result: yes" >&5
23082 echo "${ECHO_T}yes" >&6
23083 succeeded=yes
23084
23085 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
23086 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
23087 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
23088 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
23089 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
23090
23091 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
23092 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
23093 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
23094 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
23095 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
23096 else
23097 PANGOXFT_CFLAGS=""
23098 PANGOXFT_LIBS=""
23099 ## If we have a custom action on failure, don't print errors, but
23100 ## do set a variable so people can do so.
23101 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
23102
23103 fi
23104
23105
23106
23107 else
23108 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23109 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23110 fi
23111 fi
23112
23113 if test $succeeded = yes; then
23114
23115 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
23116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
23117
23118 else
23119
23120 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
23121 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
23122
23123
23124 fi
23125
23126 fi
23127
23128 wxUSE_UNIVERSAL="yes"
23129
23130 if test "$wxUSE_NANOX" = "yes"; then
23131 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
23132 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"
23133 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
23134 else
23135 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
23136 fi
23137
23138 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
23139 TOOLKIT=X11
23140 GUIDIST=X11_DIST
23141 fi
23142
23143 if test "$wxUSE_MOTIF" = 1; then
23144 if test "$no_x" = yes; then
23145 # Not all programs may use this symbol, but it does not hurt to define it.
23146
23147 cat >>confdefs.h <<\_ACEOF
23148 #define X_DISPLAY_MISSING 1
23149 _ACEOF
23150
23151 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
23152 else
23153 if test -n "$x_includes"; then
23154 X_CFLAGS="$X_CFLAGS -I$x_includes"
23155 fi
23156
23157 # It would also be nice to do this for all -L options, not just this one.
23158 if test -n "$x_libraries"; then
23159 X_LIBS="$X_LIBS -L$x_libraries"
23160 # For Solaris; some versions of Sun CC require a space after -R and
23161 # others require no space. Words are not sufficient . . . .
23162 case `(uname -sr) 2>/dev/null` in
23163 "SunOS 5"*)
23164 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
23165 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
23166 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
23167 cat >conftest.$ac_ext <<_ACEOF
23168 #line $LINENO "configure"
23169 /* confdefs.h. */
23170 _ACEOF
23171 cat confdefs.h >>conftest.$ac_ext
23172 cat >>conftest.$ac_ext <<_ACEOF
23173 /* end confdefs.h. */
23174
23175 int
23176 main ()
23177 {
23178
23179 ;
23180 return 0;
23181 }
23182 _ACEOF
23183 rm -f conftest.$ac_objext conftest$ac_exeext
23184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185 (eval $ac_link) 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); } &&
23189 { ac_try='test -s conftest$ac_exeext'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23192 ac_status=$?
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; }; then
23195 ac_R_nospace=yes
23196 else
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23199
23200 ac_R_nospace=no
23201 fi
23202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23203 if test $ac_R_nospace = yes; then
23204 echo "$as_me:$LINENO: result: no" >&5
23205 echo "${ECHO_T}no" >&6
23206 X_LIBS="$X_LIBS -R$x_libraries"
23207 else
23208 LIBS="$ac_xsave_LIBS -R $x_libraries"
23209 cat >conftest.$ac_ext <<_ACEOF
23210 #line $LINENO "configure"
23211 /* confdefs.h. */
23212 _ACEOF
23213 cat confdefs.h >>conftest.$ac_ext
23214 cat >>conftest.$ac_ext <<_ACEOF
23215 /* end confdefs.h. */
23216
23217 int
23218 main ()
23219 {
23220
23221 ;
23222 return 0;
23223 }
23224 _ACEOF
23225 rm -f conftest.$ac_objext conftest$ac_exeext
23226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23227 (eval $ac_link) 2>&5
23228 ac_status=$?
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_R_space=yes
23238 else
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23241
23242 ac_R_space=no
23243 fi
23244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23245 if test $ac_R_space = yes; then
23246 echo "$as_me:$LINENO: result: yes" >&5
23247 echo "${ECHO_T}yes" >&6
23248 X_LIBS="$X_LIBS -R $x_libraries"
23249 else
23250 echo "$as_me:$LINENO: result: neither works" >&5
23251 echo "${ECHO_T}neither works" >&6
23252 fi
23253 fi
23254 LIBS=$ac_xsave_LIBS
23255 esac
23256 fi
23257
23258 # Check for system-dependent libraries X programs must link with.
23259 # Do this before checking for the system-independent R6 libraries
23260 # (-lICE), since we may need -lsocket or whatever for X linking.
23261
23262 if test "$ISC" = yes; then
23263 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
23264 else
23265 # Martyn Johnson says this is needed for Ultrix, if the X
23266 # libraries were built with DECnet support. And Karl Berry says
23267 # the Alpha needs dnet_stub (dnet does not exist).
23268 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
23269 cat >conftest.$ac_ext <<_ACEOF
23270 #line $LINENO "configure"
23271 /* confdefs.h. */
23272 _ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23276
23277 /* Override any gcc2 internal prototype to avoid an error. */
23278 #ifdef __cplusplus
23279 extern "C"
23280 #endif
23281 /* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23283 char XOpenDisplay ();
23284 int
23285 main ()
23286 {
23287 XOpenDisplay ();
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 rm -f conftest.$ac_objext conftest$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>&5
23295 ac_status=$?
23296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23297 (exit $ac_status); } &&
23298 { ac_try='test -s conftest$ac_exeext'
23299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23300 (eval $ac_try) 2>&5
23301 ac_status=$?
23302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23303 (exit $ac_status); }; }; then
23304 :
23305 else
23306 echo "$as_me: failed program was:" >&5
23307 sed 's/^/| /' conftest.$ac_ext >&5
23308
23309 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
23310 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
23311 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
23312 echo $ECHO_N "(cached) $ECHO_C" >&6
23313 else
23314 ac_check_lib_save_LIBS=$LIBS
23315 LIBS="-ldnet $LIBS"
23316 cat >conftest.$ac_ext <<_ACEOF
23317 #line $LINENO "configure"
23318 /* confdefs.h. */
23319 _ACEOF
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23323
23324 /* Override any gcc2 internal prototype to avoid an error. */
23325 #ifdef __cplusplus
23326 extern "C"
23327 #endif
23328 /* We use char because int might match the return type of a gcc2
23329 builtin and then its argument prototype would still apply. */
23330 char dnet_ntoa ();
23331 int
23332 main ()
23333 {
23334 dnet_ntoa ();
23335 ;
23336 return 0;
23337 }
23338 _ACEOF
23339 rm -f conftest.$ac_objext conftest$ac_exeext
23340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23341 (eval $ac_link) 2>&5
23342 ac_status=$?
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); } &&
23345 { ac_try='test -s conftest$ac_exeext'
23346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23347 (eval $ac_try) 2>&5
23348 ac_status=$?
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); }; }; then
23351 ac_cv_lib_dnet_dnet_ntoa=yes
23352 else
23353 echo "$as_me: failed program was:" >&5
23354 sed 's/^/| /' conftest.$ac_ext >&5
23355
23356 ac_cv_lib_dnet_dnet_ntoa=no
23357 fi
23358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23359 LIBS=$ac_check_lib_save_LIBS
23360 fi
23361 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23362 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23363 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23364 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23365 fi
23366
23367 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23368 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23369 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23370 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23371 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 else
23373 ac_check_lib_save_LIBS=$LIBS
23374 LIBS="-ldnet_stub $LIBS"
23375 cat >conftest.$ac_ext <<_ACEOF
23376 #line $LINENO "configure"
23377 /* confdefs.h. */
23378 _ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382
23383 /* Override any gcc2 internal prototype to avoid an error. */
23384 #ifdef __cplusplus
23385 extern "C"
23386 #endif
23387 /* We use char because int might match the return type of a gcc2
23388 builtin and then its argument prototype would still apply. */
23389 char dnet_ntoa ();
23390 int
23391 main ()
23392 {
23393 dnet_ntoa ();
23394 ;
23395 return 0;
23396 }
23397 _ACEOF
23398 rm -f conftest.$ac_objext conftest$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } &&
23404 { ac_try='test -s conftest$ac_exeext'
23405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23406 (eval $ac_try) 2>&5
23407 ac_status=$?
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); }; }; then
23410 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23411 else
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.$ac_ext >&5
23414
23415 ac_cv_lib_dnet_stub_dnet_ntoa=no
23416 fi
23417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23418 LIBS=$ac_check_lib_save_LIBS
23419 fi
23420 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23421 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23422 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23423 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23424 fi
23425
23426 fi
23427 fi
23428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23429 LIBS="$ac_xsave_LIBS"
23430
23431 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23432 # to get the SysV transport functions.
23433 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23434 # needs -lnsl.
23435 # The nsl library prevents programs from opening the X display
23436 # on Irix 5.2, according to T.E. Dickey.
23437 # The functions gethostbyname, getservbyname, and inet_addr are
23438 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23439 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23440 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23441 if test "${ac_cv_func_gethostbyname+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 #line $LINENO "configure"
23446 /* confdefs.h. */
23447 _ACEOF
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23451 /* System header to define __stub macros and hopefully few prototypes,
23452 which can conflict with char gethostbyname (); below.
23453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23454 <limits.h> exists even on freestanding compilers. */
23455 #ifdef __STDC__
23456 # include <limits.h>
23457 #else
23458 # include <assert.h>
23459 #endif
23460 /* Override any gcc2 internal prototype to avoid an error. */
23461 #ifdef __cplusplus
23462 extern "C"
23463 {
23464 #endif
23465 /* We use char because int might match the return type of a gcc2
23466 builtin and then its argument prototype would still apply. */
23467 char gethostbyname ();
23468 /* The GNU C library defines this for functions which it implements
23469 to always fail with ENOSYS. Some functions are actually named
23470 something starting with __ and the normal name is an alias. */
23471 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23472 choke me
23473 #else
23474 char (*f) () = gethostbyname;
23475 #endif
23476 #ifdef __cplusplus
23477 }
23478 #endif
23479
23480 int
23481 main ()
23482 {
23483 return f != gethostbyname;
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 rm -f conftest.$ac_objext conftest$ac_exeext
23489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23490 (eval $ac_link) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); } &&
23494 { ac_try='test -s conftest$ac_exeext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_func_gethostbyname=yes
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 ac_cv_func_gethostbyname=no
23506 fi
23507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23508 fi
23509 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23510 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23511
23512 if test $ac_cv_func_gethostbyname = no; then
23513 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23514 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23515 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23516 echo $ECHO_N "(cached) $ECHO_C" >&6
23517 else
23518 ac_check_lib_save_LIBS=$LIBS
23519 LIBS="-lnsl $LIBS"
23520 cat >conftest.$ac_ext <<_ACEOF
23521 #line $LINENO "configure"
23522 /* confdefs.h. */
23523 _ACEOF
23524 cat confdefs.h >>conftest.$ac_ext
23525 cat >>conftest.$ac_ext <<_ACEOF
23526 /* end confdefs.h. */
23527
23528 /* Override any gcc2 internal prototype to avoid an error. */
23529 #ifdef __cplusplus
23530 extern "C"
23531 #endif
23532 /* We use char because int might match the return type of a gcc2
23533 builtin and then its argument prototype would still apply. */
23534 char gethostbyname ();
23535 int
23536 main ()
23537 {
23538 gethostbyname ();
23539 ;
23540 return 0;
23541 }
23542 _ACEOF
23543 rm -f conftest.$ac_objext conftest$ac_exeext
23544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23545 (eval $ac_link) 2>&5
23546 ac_status=$?
23547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23548 (exit $ac_status); } &&
23549 { ac_try='test -s conftest$ac_exeext'
23550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23551 (eval $ac_try) 2>&5
23552 ac_status=$?
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); }; }; then
23555 ac_cv_lib_nsl_gethostbyname=yes
23556 else
23557 echo "$as_me: failed program was:" >&5
23558 sed 's/^/| /' conftest.$ac_ext >&5
23559
23560 ac_cv_lib_nsl_gethostbyname=no
23561 fi
23562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23563 LIBS=$ac_check_lib_save_LIBS
23564 fi
23565 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23566 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23567 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23568 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23569 fi
23570
23571 if test $ac_cv_lib_nsl_gethostbyname = no; then
23572 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23573 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23574 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23575 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 else
23577 ac_check_lib_save_LIBS=$LIBS
23578 LIBS="-lbsd $LIBS"
23579 cat >conftest.$ac_ext <<_ACEOF
23580 #line $LINENO "configure"
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586
23587 /* Override any gcc2 internal prototype to avoid an error. */
23588 #ifdef __cplusplus
23589 extern "C"
23590 #endif
23591 /* We use char because int might match the return type of a gcc2
23592 builtin and then its argument prototype would still apply. */
23593 char gethostbyname ();
23594 int
23595 main ()
23596 {
23597 gethostbyname ();
23598 ;
23599 return 0;
23600 }
23601 _ACEOF
23602 rm -f conftest.$ac_objext conftest$ac_exeext
23603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23604 (eval $ac_link) 2>&5
23605 ac_status=$?
23606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23607 (exit $ac_status); } &&
23608 { ac_try='test -s conftest$ac_exeext'
23609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23610 (eval $ac_try) 2>&5
23611 ac_status=$?
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); }; }; then
23614 ac_cv_lib_bsd_gethostbyname=yes
23615 else
23616 echo "$as_me: failed program was:" >&5
23617 sed 's/^/| /' conftest.$ac_ext >&5
23618
23619 ac_cv_lib_bsd_gethostbyname=no
23620 fi
23621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23622 LIBS=$ac_check_lib_save_LIBS
23623 fi
23624 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23625 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23626 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23628 fi
23629
23630 fi
23631 fi
23632
23633 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23634 # socket/setsockopt and other routines are undefined under SCO ODT
23635 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23636 # on later versions), says Simon Leinen: it contains gethostby*
23637 # variants that don't use the name server (or something). -lsocket
23638 # must be given before -lnsl if both are needed. We assume that
23639 # if connect needs -lnsl, so does gethostbyname.
23640 echo "$as_me:$LINENO: checking for connect" >&5
23641 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23642 if test "${ac_cv_func_connect+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 else
23645 cat >conftest.$ac_ext <<_ACEOF
23646 #line $LINENO "configure"
23647 /* confdefs.h. */
23648 _ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 /* System header to define __stub macros and hopefully few prototypes,
23653 which can conflict with char connect (); below.
23654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23655 <limits.h> exists even on freestanding compilers. */
23656 #ifdef __STDC__
23657 # include <limits.h>
23658 #else
23659 # include <assert.h>
23660 #endif
23661 /* Override any gcc2 internal prototype to avoid an error. */
23662 #ifdef __cplusplus
23663 extern "C"
23664 {
23665 #endif
23666 /* We use char because int might match the return type of a gcc2
23667 builtin and then its argument prototype would still apply. */
23668 char connect ();
23669 /* The GNU C library defines this for functions which it implements
23670 to always fail with ENOSYS. Some functions are actually named
23671 something starting with __ and the normal name is an alias. */
23672 #if defined (__stub_connect) || defined (__stub___connect)
23673 choke me
23674 #else
23675 char (*f) () = connect;
23676 #endif
23677 #ifdef __cplusplus
23678 }
23679 #endif
23680
23681 int
23682 main ()
23683 {
23684 return f != connect;
23685 ;
23686 return 0;
23687 }
23688 _ACEOF
23689 rm -f conftest.$ac_objext conftest$ac_exeext
23690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23691 (eval $ac_link) 2>&5
23692 ac_status=$?
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try='test -s conftest$ac_exeext'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; }; then
23701 ac_cv_func_connect=yes
23702 else
23703 echo "$as_me: failed program was:" >&5
23704 sed 's/^/| /' conftest.$ac_ext >&5
23705
23706 ac_cv_func_connect=no
23707 fi
23708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23709 fi
23710 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23711 echo "${ECHO_T}$ac_cv_func_connect" >&6
23712
23713 if test $ac_cv_func_connect = no; then
23714 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23715 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23716 if test "${ac_cv_lib_socket_connect+set}" = set; then
23717 echo $ECHO_N "(cached) $ECHO_C" >&6
23718 else
23719 ac_check_lib_save_LIBS=$LIBS
23720 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23721 cat >conftest.$ac_ext <<_ACEOF
23722 #line $LINENO "configure"
23723 /* confdefs.h. */
23724 _ACEOF
23725 cat confdefs.h >>conftest.$ac_ext
23726 cat >>conftest.$ac_ext <<_ACEOF
23727 /* end confdefs.h. */
23728
23729 /* Override any gcc2 internal prototype to avoid an error. */
23730 #ifdef __cplusplus
23731 extern "C"
23732 #endif
23733 /* We use char because int might match the return type of a gcc2
23734 builtin and then its argument prototype would still apply. */
23735 char connect ();
23736 int
23737 main ()
23738 {
23739 connect ();
23740 ;
23741 return 0;
23742 }
23743 _ACEOF
23744 rm -f conftest.$ac_objext conftest$ac_exeext
23745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23746 (eval $ac_link) 2>&5
23747 ac_status=$?
23748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23749 (exit $ac_status); } &&
23750 { ac_try='test -s conftest$ac_exeext'
23751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23752 (eval $ac_try) 2>&5
23753 ac_status=$?
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); }; }; then
23756 ac_cv_lib_socket_connect=yes
23757 else
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.$ac_ext >&5
23760
23761 ac_cv_lib_socket_connect=no
23762 fi
23763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23764 LIBS=$ac_check_lib_save_LIBS
23765 fi
23766 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23767 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23768 if test $ac_cv_lib_socket_connect = yes; then
23769 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23770 fi
23771
23772 fi
23773
23774 # Guillermo Gomez says -lposix is necessary on A/UX.
23775 echo "$as_me:$LINENO: checking for remove" >&5
23776 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23777 if test "${ac_cv_func_remove+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780 cat >conftest.$ac_ext <<_ACEOF
23781 #line $LINENO "configure"
23782 /* confdefs.h. */
23783 _ACEOF
23784 cat confdefs.h >>conftest.$ac_ext
23785 cat >>conftest.$ac_ext <<_ACEOF
23786 /* end confdefs.h. */
23787 /* System header to define __stub macros and hopefully few prototypes,
23788 which can conflict with char remove (); below.
23789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23790 <limits.h> exists even on freestanding compilers. */
23791 #ifdef __STDC__
23792 # include <limits.h>
23793 #else
23794 # include <assert.h>
23795 #endif
23796 /* Override any gcc2 internal prototype to avoid an error. */
23797 #ifdef __cplusplus
23798 extern "C"
23799 {
23800 #endif
23801 /* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23803 char remove ();
23804 /* The GNU C library defines this for functions which it implements
23805 to always fail with ENOSYS. Some functions are actually named
23806 something starting with __ and the normal name is an alias. */
23807 #if defined (__stub_remove) || defined (__stub___remove)
23808 choke me
23809 #else
23810 char (*f) () = remove;
23811 #endif
23812 #ifdef __cplusplus
23813 }
23814 #endif
23815
23816 int
23817 main ()
23818 {
23819 return f != remove;
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 rm -f conftest.$ac_objext conftest$ac_exeext
23825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23826 (eval $ac_link) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -s conftest$ac_exeext'
23831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23832 (eval $ac_try) 2>&5
23833 ac_status=$?
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); }; }; then
23836 ac_cv_func_remove=yes
23837 else
23838 echo "$as_me: failed program was:" >&5
23839 sed 's/^/| /' conftest.$ac_ext >&5
23840
23841 ac_cv_func_remove=no
23842 fi
23843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23844 fi
23845 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23846 echo "${ECHO_T}$ac_cv_func_remove" >&6
23847
23848 if test $ac_cv_func_remove = no; then
23849 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23850 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23851 if test "${ac_cv_lib_posix_remove+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23853 else
23854 ac_check_lib_save_LIBS=$LIBS
23855 LIBS="-lposix $LIBS"
23856 cat >conftest.$ac_ext <<_ACEOF
23857 #line $LINENO "configure"
23858 /* confdefs.h. */
23859 _ACEOF
23860 cat confdefs.h >>conftest.$ac_ext
23861 cat >>conftest.$ac_ext <<_ACEOF
23862 /* end confdefs.h. */
23863
23864 /* Override any gcc2 internal prototype to avoid an error. */
23865 #ifdef __cplusplus
23866 extern "C"
23867 #endif
23868 /* We use char because int might match the return type of a gcc2
23869 builtin and then its argument prototype would still apply. */
23870 char remove ();
23871 int
23872 main ()
23873 {
23874 remove ();
23875 ;
23876 return 0;
23877 }
23878 _ACEOF
23879 rm -f conftest.$ac_objext conftest$ac_exeext
23880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23881 (eval $ac_link) 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -s conftest$ac_exeext'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891 ac_cv_lib_posix_remove=yes
23892 else
23893 echo "$as_me: failed program was:" >&5
23894 sed 's/^/| /' conftest.$ac_ext >&5
23895
23896 ac_cv_lib_posix_remove=no
23897 fi
23898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23899 LIBS=$ac_check_lib_save_LIBS
23900 fi
23901 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23902 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23903 if test $ac_cv_lib_posix_remove = yes; then
23904 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23905 fi
23906
23907 fi
23908
23909 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23910 echo "$as_me:$LINENO: checking for shmat" >&5
23911 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23912 if test "${ac_cv_func_shmat+set}" = set; then
23913 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 else
23915 cat >conftest.$ac_ext <<_ACEOF
23916 #line $LINENO "configure"
23917 /* confdefs.h. */
23918 _ACEOF
23919 cat confdefs.h >>conftest.$ac_ext
23920 cat >>conftest.$ac_ext <<_ACEOF
23921 /* end confdefs.h. */
23922 /* System header to define __stub macros and hopefully few prototypes,
23923 which can conflict with char shmat (); below.
23924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23925 <limits.h> exists even on freestanding compilers. */
23926 #ifdef __STDC__
23927 # include <limits.h>
23928 #else
23929 # include <assert.h>
23930 #endif
23931 /* Override any gcc2 internal prototype to avoid an error. */
23932 #ifdef __cplusplus
23933 extern "C"
23934 {
23935 #endif
23936 /* We use char because int might match the return type of a gcc2
23937 builtin and then its argument prototype would still apply. */
23938 char shmat ();
23939 /* The GNU C library defines this for functions which it implements
23940 to always fail with ENOSYS. Some functions are actually named
23941 something starting with __ and the normal name is an alias. */
23942 #if defined (__stub_shmat) || defined (__stub___shmat)
23943 choke me
23944 #else
23945 char (*f) () = shmat;
23946 #endif
23947 #ifdef __cplusplus
23948 }
23949 #endif
23950
23951 int
23952 main ()
23953 {
23954 return f != shmat;
23955 ;
23956 return 0;
23957 }
23958 _ACEOF
23959 rm -f conftest.$ac_objext conftest$ac_exeext
23960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23961 (eval $ac_link) 2>&5
23962 ac_status=$?
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); } &&
23965 { ac_try='test -s conftest$ac_exeext'
23966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23967 (eval $ac_try) 2>&5
23968 ac_status=$?
23969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23970 (exit $ac_status); }; }; then
23971 ac_cv_func_shmat=yes
23972 else
23973 echo "$as_me: failed program was:" >&5
23974 sed 's/^/| /' conftest.$ac_ext >&5
23975
23976 ac_cv_func_shmat=no
23977 fi
23978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23979 fi
23980 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23981 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23982
23983 if test $ac_cv_func_shmat = no; then
23984 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23985 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23986 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 else
23989 ac_check_lib_save_LIBS=$LIBS
23990 LIBS="-lipc $LIBS"
23991 cat >conftest.$ac_ext <<_ACEOF
23992 #line $LINENO "configure"
23993 /* confdefs.h. */
23994 _ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998
23999 /* Override any gcc2 internal prototype to avoid an error. */
24000 #ifdef __cplusplus
24001 extern "C"
24002 #endif
24003 /* We use char because int might match the return type of a gcc2
24004 builtin and then its argument prototype would still apply. */
24005 char shmat ();
24006 int
24007 main ()
24008 {
24009 shmat ();
24010 ;
24011 return 0;
24012 }
24013 _ACEOF
24014 rm -f conftest.$ac_objext conftest$ac_exeext
24015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24016 (eval $ac_link) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try='test -s conftest$ac_exeext'
24021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24022 (eval $ac_try) 2>&5
24023 ac_status=$?
24024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24025 (exit $ac_status); }; }; then
24026 ac_cv_lib_ipc_shmat=yes
24027 else
24028 echo "$as_me: failed program was:" >&5
24029 sed 's/^/| /' conftest.$ac_ext >&5
24030
24031 ac_cv_lib_ipc_shmat=no
24032 fi
24033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24034 LIBS=$ac_check_lib_save_LIBS
24035 fi
24036 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24037 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24038 if test $ac_cv_lib_ipc_shmat = yes; then
24039 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24040 fi
24041
24042 fi
24043 fi
24044
24045 # Check for libraries that X11R6 Xt/Xaw programs need.
24046 ac_save_LDFLAGS=$LDFLAGS
24047 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24048 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24049 # check for ICE first), but we must link in the order -lSM -lICE or
24050 # we get undefined symbols. So assume we have SM if we have ICE.
24051 # These have to be linked with before -lX11, unlike the other
24052 # libraries we check for below, so use a different variable.
24053 # John Interrante, Karl Berry
24054 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
24055 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
24056 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
24057 echo $ECHO_N "(cached) $ECHO_C" >&6
24058 else
24059 ac_check_lib_save_LIBS=$LIBS
24060 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24061 cat >conftest.$ac_ext <<_ACEOF
24062 #line $LINENO "configure"
24063 /* confdefs.h. */
24064 _ACEOF
24065 cat confdefs.h >>conftest.$ac_ext
24066 cat >>conftest.$ac_ext <<_ACEOF
24067 /* end confdefs.h. */
24068
24069 /* Override any gcc2 internal prototype to avoid an error. */
24070 #ifdef __cplusplus
24071 extern "C"
24072 #endif
24073 /* We use char because int might match the return type of a gcc2
24074 builtin and then its argument prototype would still apply. */
24075 char IceConnectionNumber ();
24076 int
24077 main ()
24078 {
24079 IceConnectionNumber ();
24080 ;
24081 return 0;
24082 }
24083 _ACEOF
24084 rm -f conftest.$ac_objext conftest$ac_exeext
24085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24086 (eval $ac_link) 2>&5
24087 ac_status=$?
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } &&
24090 { ac_try='test -s conftest$ac_exeext'
24091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24092 (eval $ac_try) 2>&5
24093 ac_status=$?
24094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24095 (exit $ac_status); }; }; then
24096 ac_cv_lib_ICE_IceConnectionNumber=yes
24097 else
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24100
24101 ac_cv_lib_ICE_IceConnectionNumber=no
24102 fi
24103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24104 LIBS=$ac_check_lib_save_LIBS
24105 fi
24106 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24107 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
24108 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
24109 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24110 fi
24111
24112 LDFLAGS=$ac_save_LDFLAGS
24113
24114 fi
24115
24116
24117 if test "$no_x" = "yes"; then
24118 { { echo "$as_me:$LINENO: error: X11 not found" >&5
24119 echo "$as_me: error: X11 not found" >&2;}
24120 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
24121 fi
24122
24123 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
24124 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
24125 AFMINSTALL=afminstall
24126 COMPILED_X_PROGRAM=0
24127
24128 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
24129 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
24130
24131 ac_find_includes=
24132 for ac_dir in $SEARCH_INCLUDE /usr/include;
24133 do
24134 if test -f "$ac_dir/Xm/Xm.h"; then
24135 ac_find_includes=$ac_dir
24136 break
24137 fi
24138 done
24139
24140 if test "$ac_find_includes" != "" ; then
24141 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24142 echo "${ECHO_T}found in $ac_find_includes" >&6
24143
24144 if test "x$ac_find_includes" = "x/usr/include"; then
24145 ac_path_to_include=""
24146 else
24147 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
24148 result=$?
24149 if test $result = 0; then
24150 ac_path_to_include=""
24151 else
24152 ac_path_to_include=" -I$ac_find_includes"
24153 fi
24154 fi
24155
24156 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
24157 else
24158 cat >conftest.$ac_ext <<_ACEOF
24159 #line $LINENO "configure"
24160 /* confdefs.h. */
24161 _ACEOF
24162 cat confdefs.h >>conftest.$ac_ext
24163 cat >>conftest.$ac_ext <<_ACEOF
24164 /* end confdefs.h. */
24165
24166 #include <Xm/Xm.h>
24167
24168 int
24169 main ()
24170 {
24171
24172 int version;
24173 version = xmUseVersion;
24174
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 rm -f conftest.$ac_objext
24180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24181 (eval $ac_compile) 2>&5
24182 ac_status=$?
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try='test -s conftest.$ac_objext'
24186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24187 (eval $ac_try) 2>&5
24188 ac_status=$?
24189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190 (exit $ac_status); }; }; then
24191
24192 echo "$as_me:$LINENO: result: found in default search path" >&5
24193 echo "${ECHO_T}found in default search path" >&6
24194 COMPILED_X_PROGRAM=1
24195
24196 else
24197 echo "$as_me: failed program was:" >&5
24198 sed 's/^/| /' conftest.$ac_ext >&5
24199
24200
24201 echo "$as_me:$LINENO: result: no" >&5
24202 echo "${ECHO_T}no" >&6
24203 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
24204 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
24205 { (exit 1); exit 1; }; }
24206
24207
24208 fi
24209 rm -f conftest.$ac_objext conftest.$ac_ext
24210 fi
24211
24212 if test "$COMPILED_X_PROGRAM" = 0; then
24213 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
24214 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
24215
24216 ac_find_libraries=
24217 for ac_dir in $SEARCH_LIB /usr/lib;
24218 do
24219 for ac_extension in a so sl dylib; do
24220 if test -f "$ac_dir/libXm.$ac_extension"; then
24221 ac_find_libraries=$ac_dir
24222 break 2
24223 fi
24224 done
24225 done
24226
24227 if test "$ac_find_libraries" != "" ; then
24228 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24229 echo "${ECHO_T}found at $ac_find_libraries" >&6
24230
24231
24232 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24233 result=$?
24234 if test $result = 0; then
24235 ac_path_to_link=""
24236 else
24237 ac_path_to_link=" -L$ac_find_libraries"
24238 fi
24239
24240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24241 else
24242 save_CFLAGS=$CFLAGS
24243 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24244
24245 cat >conftest.$ac_ext <<_ACEOF
24246 #line $LINENO "configure"
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252
24253 #include <Xm/Xm.h>
24254
24255 int
24256 main ()
24257 {
24258
24259 int version;
24260 version = xmUseVersion;
24261
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268 (eval $ac_compile) 2>&5
24269 ac_status=$?
24270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271 (exit $ac_status); } &&
24272 { ac_try='test -s conftest.$ac_objext'
24273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24274 (eval $ac_try) 2>&5
24275 ac_status=$?
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); }; }; then
24278
24279 echo "$as_me:$LINENO: result: found in default search path" >&5
24280 echo "${ECHO_T}found in default search path" >&6
24281 COMPILED_X_PROGRAM=1
24282
24283 else
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24286
24287
24288 echo "$as_me:$LINENO: result: no" >&5
24289 echo "${ECHO_T}no" >&6
24290 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
24291 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
24292 { (exit 1); exit 1; }; }
24293
24294
24295 fi
24296 rm -f conftest.$ac_objext conftest.$ac_ext
24297
24298 CFLAGS=$save_CFLAGS
24299 fi
24300 fi
24301
24302 xpm_link=
24303 echo "$as_me:$LINENO: checking for Xpm library" >&5
24304 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
24305
24306 ac_find_libraries=
24307 for ac_dir in $SEARCH_LIB /usr/lib;
24308 do
24309 for ac_extension in a so sl dylib; do
24310 if test -f "$ac_dir/libXpm.$ac_extension"; then
24311 ac_find_libraries=$ac_dir
24312 break 2
24313 fi
24314 done
24315 done
24316
24317 if test "$ac_find_libraries" != "" ; then
24318
24319 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
24320 result=$?
24321 if test $result = 0; then
24322 ac_path_to_link=""
24323 else
24324 ac_path_to_link=" -L$ac_find_libraries"
24325 fi
24326
24327 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
24328
24329 xpm_link=" -lXpm"
24330 cat >>confdefs.h <<\_ACEOF
24331 #define wxHAVE_LIB_XPM 1
24332 _ACEOF
24333
24334 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
24335 echo "${ECHO_T}found at $ac_find_libraries" >&6
24336 else
24337 save_CFLAGS=$CFLAGS
24338 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24339
24340 cat >conftest.$ac_ext <<_ACEOF
24341 #line $LINENO "configure"
24342 /* confdefs.h. */
24343 _ACEOF
24344 cat confdefs.h >>conftest.$ac_ext
24345 cat >>conftest.$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24347
24348 #include <X11/xpm.h>
24349
24350 int
24351 main ()
24352 {
24353
24354 int version;
24355 version = XpmLibraryVersion();
24356
24357 ;
24358 return 0;
24359 }
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } &&
24367 { ac_try='test -s conftest.$ac_objext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24370 ac_status=$?
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373
24374 xpm_link=" -lXpm"
24375 cat >>confdefs.h <<\_ACEOF
24376 #define wxHAVE_LIB_XPM 1
24377 _ACEOF
24378
24379 echo "$as_me:$LINENO: result: found in default search path" >&5
24380 echo "${ECHO_T}found in default search path" >&6
24381 COMPILED_X_PROGRAM=0
24382
24383 else
24384 echo "$as_me: failed program was:" >&5
24385 sed 's/^/| /' conftest.$ac_ext >&5
24386
24387
24388 echo "$as_me:$LINENO: result: no" >&5
24389 echo "${ECHO_T}no" >&6
24390 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24391 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24392
24393
24394 fi
24395 rm -f conftest.$ac_objext conftest.$ac_ext
24396
24397 CFLAGS=$save_CFLAGS
24398 fi
24399
24400 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24401 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24402 libp_link=""
24403 libsm_ice_link=""
24404 libs_found=0
24405 for libp in "" " -lXp"; do
24406 if test "$libs_found" = "0"; then
24407 for libsm_ice in "" " -lSM -lICE"; do
24408 if test "$libs_found" = "0"; then
24409 save_LIBS="$LIBS"
24410 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24411 save_CFLAGS=$CFLAGS
24412 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24413
24414 cat >conftest.$ac_ext <<_ACEOF
24415 #line $LINENO "configure"
24416 /* confdefs.h. */
24417 _ACEOF
24418 cat confdefs.h >>conftest.$ac_ext
24419 cat >>conftest.$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421
24422 #include <Xm/Xm.h>
24423 #include <Xm/List.h>
24424
24425 int
24426 main ()
24427 {
24428
24429 XmString string = NULL;
24430 Widget w = NULL;
24431 int position = 0;
24432 XmListAddItem(w, string, position);
24433
24434 ;
24435 return 0;
24436 }
24437 _ACEOF
24438 rm -f conftest.$ac_objext conftest$ac_exeext
24439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24440 (eval $ac_link) 2>&5
24441 ac_status=$?
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -s conftest$ac_exeext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24447 ac_status=$?
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450
24451 libp_link="$libp"
24452 libsm_ice_link="$libsm_ice"
24453 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24454 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24455 libs_found=1
24456
24457 else
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.$ac_ext >&5
24460
24461
24462
24463 fi
24464 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24465
24466 LIBS="$save_LIBS"
24467 CFLAGS=$save_CFLAGS
24468 fi
24469 done
24470 fi
24471 done
24472
24473 if test "$libs_found" = "0"; then
24474 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24475 echo "${ECHO_T}can't find the right libraries" >&6
24476 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24477 echo "$as_me: error: can't link a simple motif program" >&2;}
24478 { (exit 1); exit 1; }; }
24479 fi
24480
24481 save_CFLAGS=$CFLAGS
24482 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24483 echo "$as_me:$LINENO: checking for Motif 2" >&5
24484 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24485 cat >conftest.$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24487 /* confdefs.h. */
24488 _ACEOF
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492
24493 #include <Xm/Xm.h>
24494
24495 int
24496 main ()
24497 {
24498
24499 #if XmVersion < 2000
24500 #error "Not Motif 2"
24501 #endif
24502
24503 ;
24504 return 0;
24505 }
24506 _ACEOF
24507 rm -f conftest.$ac_objext
24508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24509 (eval $ac_compile) 2>&5
24510 ac_status=$?
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } &&
24513 { ac_try='test -s conftest.$ac_objext'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24516 ac_status=$?
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; }; then
24519
24520 cat >>confdefs.h <<\_ACEOF
24521 #define __WXMOTIF20__ 1
24522 _ACEOF
24523
24524 echo "$as_me:$LINENO: result: found" >&5
24525 echo "${ECHO_T}found" >&6
24526
24527 else
24528 echo "$as_me: failed program was:" >&5
24529 sed 's/^/| /' conftest.$ac_ext >&5
24530
24531
24532 cat >>confdefs.h <<\_ACEOF
24533 #define __WXMOTIF20__ 0
24534 _ACEOF
24535
24536 echo "$as_me:$LINENO: result: not found" >&5
24537 echo "${ECHO_T}not found" >&6
24538
24539 fi
24540 rm -f conftest.$ac_objext conftest.$ac_ext
24541 CFLAGS=$save_CFLAGS
24542
24543 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24544 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24545 TOOLKIT=MOTIF
24546 GUIDIST=MOTIF_DIST
24547 wxHAVE_XEXT_LIB=1
24548 fi
24549
24550 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24551 test "$wxHAVE_XEXT_LIB" = 1; then
24552 save_CFLAGS="$CFLAGS"
24553 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24554
24555 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24556 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24557 cat >conftest.$ac_ext <<_ACEOF
24558 #line $LINENO "configure"
24559 /* confdefs.h. */
24560 _ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24564
24565 #include <X11/Xlib.h>
24566 #include <X11/extensions/shape.h>
24567
24568 int
24569 main ()
24570 {
24571
24572 int dummy1, dummy2;
24573 XShapeQueryExtension((Display*)NULL,
24574 (int*)NULL, (int*)NULL);
24575
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 rm -f conftest.$ac_objext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24582 (eval $ac_compile) 2>&5
24583 ac_status=$?
24584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585 (exit $ac_status); } &&
24586 { ac_try='test -s conftest.$ac_objext'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; }; then
24592
24593 cat >>confdefs.h <<\_ACEOF
24594 #define HAVE_XSHAPE 1
24595 _ACEOF
24596
24597 echo "$as_me:$LINENO: result: found" >&5
24598 echo "${ECHO_T}found" >&6
24599
24600 else
24601 echo "$as_me: failed program was:" >&5
24602 sed 's/^/| /' conftest.$ac_ext >&5
24603
24604
24605 echo "$as_me:$LINENO: result: not found" >&5
24606 echo "${ECHO_T}not found" >&6
24607
24608 fi
24609 rm -f conftest.$ac_objext conftest.$ac_ext
24610 CFLAGS="$save_CFLAGS"
24611 fi
24612
24613 if test "$wxUSE_MAC" = 1; then
24614 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
24615 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
24616 if test "$GCC" = yes; then
24617 echo "$as_me:$LINENO: result: gcc" >&5
24618 echo "${ECHO_T}gcc" >&6
24619 CPPFLAGS_PASCAL="-fpascal-strings"
24620 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
24621 echo "$as_me:$LINENO: result: xlc" >&5
24622 echo "${ECHO_T}xlc" >&6
24623 CPPFLAGS_PASCAL="-qmacpstr"
24624 else
24625 echo "$as_me:$LINENO: result: none" >&5
24626 echo "${ECHO_T}none" >&6
24627 fi
24628
24629 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24630
24631 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24632 TOOLKIT=MAC
24633 GUIDIST=MACX_DIST
24634 WXBASEPORT="_carbon"
24635 fi
24636
24637 if test "$wxUSE_COCOA" = 1; then
24638 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24639 TOOLKIT=COCOA
24640 GUIDIST=COCOA_DIST
24641 fi
24642
24643 if test "$wxUSE_PM" = 1; then
24644 TOOLKIT=PM
24645 GUIDIST=GTK_DIST
24646 fi
24647
24648 if test "$TOOLKIT" = "PM" ; then
24649 TOOLKIT_DIR="os2"
24650 else
24651 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24652 fi
24653
24654 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24655
24656 if test "$wxUSE_UNIVERSAL" = "yes"; then
24657 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24658
24659 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24660 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24661
24662 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24663 if test "$wxUSE_X11" = 1; then
24664 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24665 else
24666 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24667 fi
24668 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24669 WIDGET_SET=univ
24670 else
24671 ALL_OBJECTS="\$(GUIOBJS)"
24672 ALL_SOURCES="\$(ALL_SOURCES)"
24673 ALL_HEADERS="\$(ALL_HEADERS)"
24674 fi
24675
24676 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24677
24678 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24679 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24680 fi
24681
24682 if test "$wxUSE_HTML" = "yes"; then
24683 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24684 fi
24685
24686 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24687 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24688 fi
24689 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24690 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24691 fi
24692 if test "$wxUSE_LIBPNG" = "builtin" ; then
24693 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24694 fi
24695
24696 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24697 DISTDIR="wx\$(TOOLKIT)"
24698 else
24699 USE_GUI=0
24700
24701 TOOLKIT_DIR="base"
24702
24703 if test "$USE_WIN32" = 1 ; then
24704 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24705 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24706
24707 TOOLKIT="MSW"
24708 else
24709 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24710 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24711 fi
24712
24713 ALL_SOURCES="\$(ALL_SOURCES)"
24714 ALL_HEADERS="\$(ALL_HEADERS)"
24715
24716 PORT_FILES="\${top_srcdir}/src/files.lst"
24717
24718 GUIDIST="BASE_DIST"
24719 DISTDIR="wxBase"
24720 fi
24721
24722
24723
24724
24725 IODBC_C_SRC=""
24726
24727
24728 if test "$TOOLKIT" != "MSW" ; then
24729
24730 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24731
24732 if test "${ac_cv_header_sql_h+set}" = set; then
24733 echo "$as_me:$LINENO: checking for sql.h" >&5
24734 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24735 if test "${ac_cv_header_sql_h+set}" = set; then
24736 echo $ECHO_N "(cached) $ECHO_C" >&6
24737 fi
24738 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24739 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24740 else
24741 # Is the header compilable?
24742 echo "$as_me:$LINENO: checking sql.h usability" >&5
24743 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24744 cat >conftest.$ac_ext <<_ACEOF
24745 #line $LINENO "configure"
24746 /* confdefs.h. */
24747 _ACEOF
24748 cat confdefs.h >>conftest.$ac_ext
24749 cat >>conftest.$ac_ext <<_ACEOF
24750 /* end confdefs.h. */
24751 $ac_includes_default
24752 #include <sql.h>
24753 _ACEOF
24754 rm -f conftest.$ac_objext
24755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24756 (eval $ac_compile) 2>&5
24757 ac_status=$?
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -s conftest.$ac_objext'
24761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24762 (eval $ac_try) 2>&5
24763 ac_status=$?
24764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24765 (exit $ac_status); }; }; then
24766 ac_header_compiler=yes
24767 else
24768 echo "$as_me: failed program was:" >&5
24769 sed 's/^/| /' conftest.$ac_ext >&5
24770
24771 ac_header_compiler=no
24772 fi
24773 rm -f conftest.$ac_objext conftest.$ac_ext
24774 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24775 echo "${ECHO_T}$ac_header_compiler" >&6
24776
24777 # Is the header present?
24778 echo "$as_me:$LINENO: checking sql.h presence" >&5
24779 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24780 cat >conftest.$ac_ext <<_ACEOF
24781 #line $LINENO "configure"
24782 /* confdefs.h. */
24783 _ACEOF
24784 cat confdefs.h >>conftest.$ac_ext
24785 cat >>conftest.$ac_ext <<_ACEOF
24786 /* end confdefs.h. */
24787 #include <sql.h>
24788 _ACEOF
24789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24791 ac_status=$?
24792 grep -v '^ *+' conftest.er1 >conftest.err
24793 rm -f conftest.er1
24794 cat conftest.err >&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } >/dev/null; then
24797 if test -s conftest.err; then
24798 ac_cpp_err=$ac_c_preproc_warn_flag
24799 else
24800 ac_cpp_err=
24801 fi
24802 else
24803 ac_cpp_err=yes
24804 fi
24805 if test -z "$ac_cpp_err"; then
24806 ac_header_preproc=yes
24807 else
24808 echo "$as_me: failed program was:" >&5
24809 sed 's/^/| /' conftest.$ac_ext >&5
24810
24811 ac_header_preproc=no
24812 fi
24813 rm -f conftest.err conftest.$ac_ext
24814 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24815 echo "${ECHO_T}$ac_header_preproc" >&6
24816
24817 # So? What about this header?
24818 case $ac_header_compiler:$ac_header_preproc in
24819 yes:no )
24820 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24821 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24822 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24823 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24824 (
24825 cat <<\_ASBOX
24826 ## ------------------------------------ ##
24827 ## Report this to bug-autoconf@gnu.org. ##
24828 ## ------------------------------------ ##
24829 _ASBOX
24830 ) |
24831 sed "s/^/$as_me: WARNING: /" >&2
24832 ;;
24833 no:yes )
24834 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24835 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24836 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24837 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24838 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24839 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24840 (
24841 cat <<\_ASBOX
24842 ## ------------------------------------ ##
24843 ## Report this to bug-autoconf@gnu.org. ##
24844 ## ------------------------------------ ##
24845 _ASBOX
24846 ) |
24847 sed "s/^/$as_me: WARNING: /" >&2
24848 ;;
24849 esac
24850 echo "$as_me:$LINENO: checking for sql.h" >&5
24851 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24852 if test "${ac_cv_header_sql_h+set}" = set; then
24853 echo $ECHO_N "(cached) $ECHO_C" >&6
24854 else
24855 ac_cv_header_sql_h=$ac_header_preproc
24856 fi
24857 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24858 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24859
24860 fi
24861 if test $ac_cv_header_sql_h = yes; then
24862 found_sql_h=1
24863 fi
24864
24865
24866 if test "x$found_sql_h" = "x1" ; then
24867 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
24868 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
24869 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
24870 echo $ECHO_N "(cached) $ECHO_C" >&6
24871 else
24872 ac_check_lib_save_LIBS=$LIBS
24873 LIBS="-liodbc $LIBS"
24874 cat >conftest.$ac_ext <<_ACEOF
24875 #line $LINENO "configure"
24876 /* confdefs.h. */
24877 _ACEOF
24878 cat confdefs.h >>conftest.$ac_ext
24879 cat >>conftest.$ac_ext <<_ACEOF
24880 /* end confdefs.h. */
24881
24882 /* Override any gcc2 internal prototype to avoid an error. */
24883 #ifdef __cplusplus
24884 extern "C"
24885 #endif
24886 /* We use char because int might match the return type of a gcc2
24887 builtin and then its argument prototype would still apply. */
24888 char SQLAllocEnv ();
24889 int
24890 main ()
24891 {
24892 SQLAllocEnv ();
24893 ;
24894 return 0;
24895 }
24896 _ACEOF
24897 rm -f conftest.$ac_objext conftest$ac_exeext
24898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24899 (eval $ac_link) 2>&5
24900 ac_status=$?
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try='test -s conftest$ac_exeext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 ac_cv_lib_iodbc_SQLAllocEnv=yes
24910 else
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.$ac_ext >&5
24913
24914 ac_cv_lib_iodbc_SQLAllocEnv=no
24915 fi
24916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24917 LIBS=$ac_check_lib_save_LIBS
24918 fi
24919 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
24920 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
24921 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
24922 ODBC_LINK=" -liodbc"
24923 else
24924
24925 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
24926 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
24927 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
24928 echo $ECHO_N "(cached) $ECHO_C" >&6
24929 else
24930 ac_check_lib_save_LIBS=$LIBS
24931 LIBS="-lunixodbc $LIBS"
24932 cat >conftest.$ac_ext <<_ACEOF
24933 #line $LINENO "configure"
24934 /* confdefs.h. */
24935 _ACEOF
24936 cat confdefs.h >>conftest.$ac_ext
24937 cat >>conftest.$ac_ext <<_ACEOF
24938 /* end confdefs.h. */
24939
24940 /* Override any gcc2 internal prototype to avoid an error. */
24941 #ifdef __cplusplus
24942 extern "C"
24943 #endif
24944 /* We use char because int might match the return type of a gcc2
24945 builtin and then its argument prototype would still apply. */
24946 char SQLAllocEnv ();
24947 int
24948 main ()
24949 {
24950 SQLAllocEnv ();
24951 ;
24952 return 0;
24953 }
24954 _ACEOF
24955 rm -f conftest.$ac_objext conftest$ac_exeext
24956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24957 (eval $ac_link) 2>&5
24958 ac_status=$?
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try='test -s conftest$ac_exeext'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; }; then
24967 ac_cv_lib_unixodbc_SQLAllocEnv=yes
24968 else
24969 echo "$as_me: failed program was:" >&5
24970 sed 's/^/| /' conftest.$ac_ext >&5
24971
24972 ac_cv_lib_unixodbc_SQLAllocEnv=no
24973 fi
24974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24975 LIBS=$ac_check_lib_save_LIBS
24976 fi
24977 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
24978 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
24979 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
24980 ODBC_LINK=" -lunixodbc"
24981 else
24982
24983 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
24984 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
24985 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
24986 echo $ECHO_N "(cached) $ECHO_C" >&6
24987 else
24988 ac_check_lib_save_LIBS=$LIBS
24989 LIBS="-lodbc $LIBS"
24990 cat >conftest.$ac_ext <<_ACEOF
24991 #line $LINENO "configure"
24992 /* confdefs.h. */
24993 _ACEOF
24994 cat confdefs.h >>conftest.$ac_ext
24995 cat >>conftest.$ac_ext <<_ACEOF
24996 /* end confdefs.h. */
24997
24998 /* Override any gcc2 internal prototype to avoid an error. */
24999 #ifdef __cplusplus
25000 extern "C"
25001 #endif
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004 char SQLAllocEnv ();
25005 int
25006 main ()
25007 {
25008 SQLAllocEnv ();
25009 ;
25010 return 0;
25011 }
25012 _ACEOF
25013 rm -f conftest.$ac_objext conftest$ac_exeext
25014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25015 (eval $ac_link) 2>&5
25016 ac_status=$?
25017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25018 (exit $ac_status); } &&
25019 { ac_try='test -s conftest$ac_exeext'
25020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25021 (eval $ac_try) 2>&5
25022 ac_status=$?
25023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25024 (exit $ac_status); }; }; then
25025 ac_cv_lib_odbc_SQLAllocEnv=yes
25026 else
25027 echo "$as_me: failed program was:" >&5
25028 sed 's/^/| /' conftest.$ac_ext >&5
25029
25030 ac_cv_lib_odbc_SQLAllocEnv=no
25031 fi
25032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25033 LIBS=$ac_check_lib_save_LIBS
25034 fi
25035 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
25036 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
25037 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
25038 ODBC_LINK=" -lodbc"
25039 fi
25040
25041
25042 fi
25043
25044
25045 fi
25046
25047 fi
25048 if test "x$ODBC_LINK" = "x" ; then
25049 if test "$wxUSE_ODBC" = "sys" ; then
25050 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
25051 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
25052 { (exit 1); exit 1; }; }
25053 else
25054 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
25055 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
25056 wxUSE_ODBC=builtin
25057 fi
25058 else
25059 wxUSE_ODBC=sys
25060 fi
25061 fi
25062 if test "$wxUSE_ODBC" != "no" ; then
25063 cat >>confdefs.h <<\_ACEOF
25064 #define wxUSE_ODBC 1
25065 _ACEOF
25066
25067 if test "$wxUSE_ODBC" = "builtin" ; then
25068 cat >>confdefs.h <<\_ACEOF
25069 #define wxUSE_BUILTIN_IODBC 1
25070 _ACEOF
25071
25072 fi
25073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
25074
25075 WXODBCFLAG="-D_IODBC_"
25076 fi
25077 fi
25078
25079 if test "$wxUSE_REGEX" = "builtin" ; then
25080 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
25081 fi
25082 if test "$wxUSE_ZLIB" = "builtin" ; then
25083 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
25084 fi
25085
25086
25087 USE_OPENGL=0
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
25090 OPENGL_LIBS="-framework OpenGL -framework AGL"
25091 elif test "$wxUSE_MSW" = 1; then
25092 OPENGL_LIBS="-lopengl32 -lglu32"
25093 else
25094
25095
25096 ac_find_includes=
25097 for ac_dir in $SEARCH_INCLUDE /usr/include;
25098 do
25099 if test -f "$ac_dir/GL/gl.h"; then
25100 ac_find_includes=$ac_dir
25101 break
25102 fi
25103 done
25104
25105 if test "$ac_find_includes" != "" ; then
25106 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25107 echo "${ECHO_T}found in $ac_find_includes" >&6
25108
25109 if test "x$ac_find_includes" = "x/usr/include"; then
25110 ac_path_to_include=""
25111 else
25112 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
25113 result=$?
25114 if test $result = 0; then
25115 ac_path_to_include=""
25116 else
25117 ac_path_to_include=" -I$ac_find_includes"
25118 fi
25119 fi
25120
25121 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
25122 fi
25123
25124 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25125 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25126 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25127 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 fi
25130 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25131 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25132 else
25133 # Is the header compilable?
25134 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
25135 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
25136 cat >conftest.$ac_ext <<_ACEOF
25137 #line $LINENO "configure"
25138 /* confdefs.h. */
25139 _ACEOF
25140 cat confdefs.h >>conftest.$ac_ext
25141 cat >>conftest.$ac_ext <<_ACEOF
25142 /* end confdefs.h. */
25143 $ac_includes_default
25144 #include <GL/gl.h>
25145 _ACEOF
25146 rm -f conftest.$ac_objext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25148 (eval $ac_compile) 2>&5
25149 ac_status=$?
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } &&
25152 { ac_try='test -s conftest.$ac_objext'
25153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25154 (eval $ac_try) 2>&5
25155 ac_status=$?
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); }; }; then
25158 ac_header_compiler=yes
25159 else
25160 echo "$as_me: failed program was:" >&5
25161 sed 's/^/| /' conftest.$ac_ext >&5
25162
25163 ac_header_compiler=no
25164 fi
25165 rm -f conftest.$ac_objext conftest.$ac_ext
25166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25167 echo "${ECHO_T}$ac_header_compiler" >&6
25168
25169 # Is the header present?
25170 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
25171 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
25172 cat >conftest.$ac_ext <<_ACEOF
25173 #line $LINENO "configure"
25174 /* confdefs.h. */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 #include <GL/gl.h>
25180 _ACEOF
25181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25183 ac_status=$?
25184 grep -v '^ *+' conftest.er1 >conftest.err
25185 rm -f conftest.er1
25186 cat conftest.err >&5
25187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25188 (exit $ac_status); } >/dev/null; then
25189 if test -s conftest.err; then
25190 ac_cpp_err=$ac_c_preproc_warn_flag
25191 else
25192 ac_cpp_err=
25193 fi
25194 else
25195 ac_cpp_err=yes
25196 fi
25197 if test -z "$ac_cpp_err"; then
25198 ac_header_preproc=yes
25199 else
25200 echo "$as_me: failed program was:" >&5
25201 sed 's/^/| /' conftest.$ac_ext >&5
25202
25203 ac_header_preproc=no
25204 fi
25205 rm -f conftest.err conftest.$ac_ext
25206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25207 echo "${ECHO_T}$ac_header_preproc" >&6
25208
25209 # So? What about this header?
25210 case $ac_header_compiler:$ac_header_preproc in
25211 yes:no )
25212 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
25213 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25215 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25216 (
25217 cat <<\_ASBOX
25218 ## ------------------------------------ ##
25219 ## Report this to bug-autoconf@gnu.org. ##
25220 ## ------------------------------------ ##
25221 _ASBOX
25222 ) |
25223 sed "s/^/$as_me: WARNING: /" >&2
25224 ;;
25225 no:yes )
25226 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
25227 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
25228 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
25229 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
25230 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
25231 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
25232 (
25233 cat <<\_ASBOX
25234 ## ------------------------------------ ##
25235 ## Report this to bug-autoconf@gnu.org. ##
25236 ## ------------------------------------ ##
25237 _ASBOX
25238 ) |
25239 sed "s/^/$as_me: WARNING: /" >&2
25240 ;;
25241 esac
25242 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
25243 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
25244 if test "${ac_cv_header_GL_gl_h+set}" = set; then
25245 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 else
25247 ac_cv_header_GL_gl_h=$ac_header_preproc
25248 fi
25249 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
25250 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
25251
25252 fi
25253 if test $ac_cv_header_GL_gl_h = yes; then
25254
25255 found_gl=0
25256
25257 echo "$as_me:$LINENO: checking for -lGL" >&5
25258 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
25259
25260 ac_find_libraries=
25261 for ac_dir in $SEARCH_LIB /usr/lib;
25262 do
25263 for ac_extension in a so sl dylib; do
25264 if test -f "$ac_dir/libGL.$ac_extension"; then
25265 ac_find_libraries=$ac_dir
25266 break 2
25267 fi
25268 done
25269 done
25270
25271 if test "$ac_find_libraries" != "" ; then
25272
25273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25274 result=$?
25275 if test $result = 0; then
25276 ac_path_to_link=""
25277 else
25278 ac_path_to_link=" -L$ac_find_libraries"
25279 fi
25280
25281 if test "$ac_path_to_link" != " -L/usr/lib" ; then
25282 LDFLAGS_GL="$ac_path_to_link"
25283 fi
25284
25285
25286 ac_find_libraries=
25287 for ac_dir in $SEARCH_LIB /usr/lib;
25288 do
25289 for ac_extension in a so sl dylib; do
25290 if test -f "$ac_dir/libGLU.$ac_extension"; then
25291 ac_find_libraries=$ac_dir
25292 break 2
25293 fi
25294 done
25295 done
25296
25297 if test "$ac_find_libraries" != "" ; then
25298
25299 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25300 result=$?
25301 if test $result = 0; then
25302 ac_path_to_link=""
25303 else
25304 ac_path_to_link=" -L$ac_find_libraries"
25305 fi
25306
25307 if test "$ac_path_to_link" != " -L/usr/lib" -a \
25308 "$ac_path_to_link" != "$LDFLAGS_GL"; then
25309 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
25310 fi
25311
25312 found_gl=1
25313 OPENGL_LIBS="-lGL -lGLU"
25314 echo "$as_me:$LINENO: result: yes" >&5
25315 echo "${ECHO_T}yes" >&6
25316 fi
25317 fi
25318
25319 if test "$found_gl" != 1; then
25320 echo "$as_me:$LINENO: result: no" >&5
25321 echo "${ECHO_T}no" >&6
25322 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
25323 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
25324
25325 ac_find_libraries=
25326 for ac_dir in $SEARCH_LIB /usr/lib;
25327 do
25328 for ac_extension in a so sl dylib; do
25329 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
25330 ac_find_libraries=$ac_dir
25331 break 2
25332 fi
25333 done
25334 done
25335
25336 if test "$ac_find_libraries" != "" ; then
25337
25338 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
25339 result=$?
25340 if test $result = 0; then
25341 ac_path_to_link=""
25342 else
25343 ac_path_to_link=" -L$ac_find_libraries"
25344 fi
25345
25346 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
25347 OPENGL_LIBS="-lMesaGL -lMesaGLU"
25348 echo "$as_me:$LINENO: result: yes" >&5
25349 echo "${ECHO_T}yes" >&6
25350 else
25351 echo "$as_me:$LINENO: result: no" >&5
25352 echo "${ECHO_T}no" >&6
25353 fi
25354 fi
25355
25356 fi
25357
25358
25359
25360 if test "x$OPENGL_LIBS" = "x"; then
25361 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
25362 echo "$as_me: error: OpenGL libraries not available" >&2;}
25363 { (exit 1); exit 1; }; }
25364 fi
25365 fi
25366
25367 if test "$wxUSE_OPENGL" = "yes"; then
25368 USE_OPENGL=1
25369 cat >>confdefs.h <<\_ACEOF
25370 #define wxUSE_OPENGL 1
25371 _ACEOF
25372
25373 cat >>confdefs.h <<\_ACEOF
25374 #define wxUSE_GLCANVAS 1
25375 _ACEOF
25376
25377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25378 fi
25379 fi
25380
25381 if test -z "$TOOLKIT_VPATH" ; then
25382 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25383 fi
25384
25385 if test -n "$TOOLKIT" ; then
25386 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25387 fi
25388
25389 UNICODE=0
25390 lib_unicode_suffix=
25391 if test "$wxUSE_UNICODE" = "yes"; then
25392 lib_unicode_suffix=u
25393 UNICODE=1
25394 fi
25395
25396 lib_debug_suffix=
25397 DEBUG_FLAG=0
25398 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25399 lib_debug_suffix=d
25400 DEBUG_FLAG=1
25401 fi
25402
25403 DEBUG_INFO=0
25404 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25405 DEBUG_INFO=1
25406 fi
25407
25408 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25409
25410 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25411 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25412
25413 if test "$cross_compiling" = "yes"; then
25414 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25415 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25416 HOST_SUFFIX="-${host_alias}"
25417 fi
25418
25419 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25420 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25421 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25422 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25423
25424 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25425 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25426
25427 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25428 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25429 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25430 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25431
25432 case "${host}" in
25433 *-*-cygwin* | *-*-mingw32* )
25434 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25435 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25436 ;;
25437
25438 *-*-darwin* )
25439
25440 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25441 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25442
25443 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25444 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25445 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25446 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25447
25448 if test "$wxUSE_MAC" = 1; then
25449 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25450 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25451 fi
25452 ;;
25453 esac
25454
25455 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25456 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25457
25458 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25459 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25460
25461 if test "$wxUSE_OPENGL" = "yes"; then
25462 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25463 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25464 fi
25465
25466
25467
25468 if test "$wxUSE_SHARED" = "yes"; then
25469 case "${host}" in
25470 *-pc-os2_emx | *-pc-os2-emx | \
25471 *-pc-msdosdjgpp )
25472 wxUSE_SHARED=no
25473 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25474 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25475 ;;
25476 esac
25477 fi
25478
25479 SHARED=0
25480 if test "$wxUSE_SHARED" = "yes"; then
25481 SHARED=1
25482
25483
25484 found_versioning=no
25485
25486
25487 if test $found_versioning = no ; then
25488 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25489 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25490 if test "${wx_cv_version_script+set}" = set; then
25491 echo $ECHO_N "(cached) $ECHO_C" >&6
25492 else
25493
25494 echo "VER_1 { *; };" >conftest.sym
25495 echo "int main() { return 0; }" >conftest.cpp
25496
25497 if { ac_try='
25498 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25499 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25502 ac_status=$?
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; } ; then
25505 if test -s conftest.stderr ; then
25506 wx_cv_version_script=no
25507 else
25508 wx_cv_version_script=yes
25509 fi
25510 else
25511 wx_cv_version_script=no
25512 fi
25513 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25514
25515 fi
25516 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25517 echo "${ECHO_T}$wx_cv_version_script" >&6
25518 if test $wx_cv_version_script = yes ; then
25519 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25520 fi
25521 fi
25522
25523
25524 case "${host}" in
25525 *-*-linux* | *-*-gnu* )
25526 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25527 ;;
25528
25529 *-*-solaris2* )
25530 if test "$GCC" = yes ; then
25531 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25532
25533 saveLdflags="$LDFLAGS"
25534 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25535 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25536 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25537 cat >conftest.$ac_ext <<_ACEOF
25538 #line $LINENO "configure"
25539 /* confdefs.h. */
25540 _ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25544
25545 int
25546 main ()
25547 {
25548
25549 ;
25550 return 0;
25551 }
25552 _ACEOF
25553 rm -f conftest.$ac_objext conftest$ac_exeext
25554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25555 (eval $ac_link) 2>&5
25556 ac_status=$?
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try='test -s conftest$ac_exeext'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; }; then
25565
25566 echo "$as_me:$LINENO: result: yes" >&5
25567 echo "${ECHO_T}yes" >&6
25568 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25569
25570 else
25571 echo "$as_me: failed program was:" >&5
25572 sed 's/^/| /' conftest.$ac_ext >&5
25573
25574
25575 echo "$as_me:$LINENO: result: no" >&5
25576 echo "${ECHO_T}no" >&6
25577 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25578 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25579 LDFLAGS="$saveLdflags -Wl,-R,/"
25580 cat >conftest.$ac_ext <<_ACEOF
25581 #line $LINENO "configure"
25582 /* confdefs.h. */
25583 _ACEOF
25584 cat confdefs.h >>conftest.$ac_ext
25585 cat >>conftest.$ac_ext <<_ACEOF
25586 /* end confdefs.h. */
25587
25588 int
25589 main ()
25590 {
25591
25592 ;
25593 return 0;
25594 }
25595 _ACEOF
25596 rm -f conftest.$ac_objext conftest$ac_exeext
25597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25598 (eval $ac_link) 2>&5
25599 ac_status=$?
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); } &&
25602 { ac_try='test -s conftest$ac_exeext'
25603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25604 (eval $ac_try) 2>&5
25605 ac_status=$?
25606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25607 (exit $ac_status); }; }; then
25608
25609 echo "$as_me:$LINENO: result: yes" >&5
25610 echo "${ECHO_T}yes" >&6
25611 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25612 else
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25615
25616
25617 echo "$as_me:$LINENO: result: no" >&5
25618 echo "${ECHO_T}no" >&6
25619
25620 fi
25621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25622
25623 fi
25624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25625 LDFLAGS="$saveLdflags"
25626 else
25627 SHARED_LD="${CXX} -G -o"
25628 PIC_FLAG="-KPIC"
25629 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25630 fi
25631 ;;
25632
25633 powerpc-*-darwin* )
25634 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25635 cat <<EOF >change-install-names
25636 #!/bin/sh
25637 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25638 inst_cmd="install_name_tool "
25639 for i in \${libnames} ; do
25640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25641 done
25642 \${inst_cmd} \${3}
25643 EOF
25644 chmod +x change-install-names
25645 ;;
25646
25647 esac
25648
25649 if test "x$WX_TARGET_LIBRARY" = "x"; then
25650 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25651 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25652 fi
25653
25654 WX_TARGET_LIBRARY_TYPE="so"
25655 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25656 fi
25657
25658 if test "$wxUSE_SHARED" = "no"; then
25659
25660 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25661 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25662 fi
25663
25664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25665 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25666 fi
25667
25668 if test "$wxUSE_OPENGL" = "yes"; then
25669 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25670 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25671 else
25672 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25673 fi
25674
25675 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25676 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25677
25678 WX_TARGET_LIBRARY_TYPE="a"
25679 INSTALL_LIBRARY='$(INSTALL_DATA)'
25680
25681 STATIC_FLAG="yes"
25682 else
25683 STATIC_FLAG="no"
25684 fi
25685
25686 MACRESCOMP="@#"
25687 MACSETFILE="@#"
25688 MACRESWXCONFIG="#"
25689 if test "$wxUSE_MAC" = 1; then
25690 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25691 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25692 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25693 # Extract the first word of "Rez", so it can be a program name with args.
25694 set dummy Rez; ac_word=$2
25695 echo "$as_me:$LINENO: checking for $ac_word" >&5
25696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25697 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25698 echo $ECHO_N "(cached) $ECHO_C" >&6
25699 else
25700 if test -n "$RESCOMP"; then
25701 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25702 else
25703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25704 for as_dir in $PATH
25705 do
25706 IFS=$as_save_IFS
25707 test -z "$as_dir" && as_dir=.
25708 for ac_exec_ext in '' $ac_executable_extensions; do
25709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25710 ac_cv_prog_RESCOMP="Rez"
25711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25712 break 2
25713 fi
25714 done
25715 done
25716
25717 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25718 fi
25719 fi
25720 RESCOMP=$ac_cv_prog_RESCOMP
25721 if test -n "$RESCOMP"; then
25722 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25723 echo "${ECHO_T}$RESCOMP" >&6
25724 else
25725 echo "$as_me:$LINENO: result: no" >&5
25726 echo "${ECHO_T}no" >&6
25727 fi
25728
25729 # Extract the first word of "DeRez", so it can be a program name with args.
25730 set dummy DeRez; ac_word=$2
25731 echo "$as_me:$LINENO: checking for $ac_word" >&5
25732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25733 if test "${ac_cv_prog_DEREZ+set}" = set; then
25734 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 else
25736 if test -n "$DEREZ"; then
25737 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25738 else
25739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25740 for as_dir in $PATH
25741 do
25742 IFS=$as_save_IFS
25743 test -z "$as_dir" && as_dir=.
25744 for ac_exec_ext in '' $ac_executable_extensions; do
25745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25746 ac_cv_prog_DEREZ="DeRez"
25747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25748 break 2
25749 fi
25750 done
25751 done
25752
25753 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25754 fi
25755 fi
25756 DEREZ=$ac_cv_prog_DEREZ
25757 if test -n "$DEREZ"; then
25758 echo "$as_me:$LINENO: result: $DEREZ" >&5
25759 echo "${ECHO_T}$DEREZ" >&6
25760 else
25761 echo "$as_me:$LINENO: result: no" >&5
25762 echo "${ECHO_T}no" >&6
25763 fi
25764
25765 # Extract the first word of "SetFile", so it can be a program name with args.
25766 set dummy SetFile; ac_word=$2
25767 echo "$as_me:$LINENO: checking for $ac_word" >&5
25768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25769 if test "${ac_cv_prog_SETFILE+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25771 else
25772 if test -n "$SETFILE"; then
25773 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25774 else
25775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25776 for as_dir in $PATH
25777 do
25778 IFS=$as_save_IFS
25779 test -z "$as_dir" && as_dir=.
25780 for ac_exec_ext in '' $ac_executable_extensions; do
25781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25782 ac_cv_prog_SETFILE="SetFile"
25783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25784 break 2
25785 fi
25786 done
25787 done
25788
25789 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25790 fi
25791 fi
25792 SETFILE=$ac_cv_prog_SETFILE
25793 if test -n "$SETFILE"; then
25794 echo "$as_me:$LINENO: result: $SETFILE" >&5
25795 echo "${ECHO_T}$SETFILE" >&6
25796 else
25797 echo "$as_me:$LINENO: result: no" >&5
25798 echo "${ECHO_T}no" >&6
25799 fi
25800
25801 MACOSX_BUNDLE="bundle"
25802 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25803 MACSETFILE="\$(SETFILE)"
25804 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25805 elif test "$wxUSE_COCOA" = 1; then
25806 # Extract the first word of "Rez", so it can be a program name with args.
25807 set dummy Rez; ac_word=$2
25808 echo "$as_me:$LINENO: checking for $ac_word" >&5
25809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25810 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25813 if test -n "$RESCOMP"; then
25814 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25815 else
25816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25817 for as_dir in $PATH
25818 do
25819 IFS=$as_save_IFS
25820 test -z "$as_dir" && as_dir=.
25821 for ac_exec_ext in '' $ac_executable_extensions; do
25822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25823 ac_cv_prog_RESCOMP="Rez"
25824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25825 break 2
25826 fi
25827 done
25828 done
25829
25830 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25831 fi
25832 fi
25833 RESCOMP=$ac_cv_prog_RESCOMP
25834 if test -n "$RESCOMP"; then
25835 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25836 echo "${ECHO_T}$RESCOMP" >&6
25837 else
25838 echo "$as_me:$LINENO: result: no" >&5
25839 echo "${ECHO_T}no" >&6
25840 fi
25841
25842 # Extract the first word of "DeRez", so it can be a program name with args.
25843 set dummy DeRez; ac_word=$2
25844 echo "$as_me:$LINENO: checking for $ac_word" >&5
25845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25846 if test "${ac_cv_prog_DEREZ+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25848 else
25849 if test -n "$DEREZ"; then
25850 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25851 else
25852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25853 for as_dir in $PATH
25854 do
25855 IFS=$as_save_IFS
25856 test -z "$as_dir" && as_dir=.
25857 for ac_exec_ext in '' $ac_executable_extensions; do
25858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25859 ac_cv_prog_DEREZ="DeRez"
25860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25861 break 2
25862 fi
25863 done
25864 done
25865
25866 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25867 fi
25868 fi
25869 DEREZ=$ac_cv_prog_DEREZ
25870 if test -n "$DEREZ"; then
25871 echo "$as_me:$LINENO: result: $DEREZ" >&5
25872 echo "${ECHO_T}$DEREZ" >&6
25873 else
25874 echo "$as_me:$LINENO: result: no" >&5
25875 echo "${ECHO_T}no" >&6
25876 fi
25877
25878 # Extract the first word of "SetFile", so it can be a program name with args.
25879 set dummy SetFile; ac_word=$2
25880 echo "$as_me:$LINENO: checking for $ac_word" >&5
25881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25882 if test "${ac_cv_prog_SETFILE+set}" = set; then
25883 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 else
25885 if test -n "$SETFILE"; then
25886 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25887 else
25888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25889 for as_dir in $PATH
25890 do
25891 IFS=$as_save_IFS
25892 test -z "$as_dir" && as_dir=.
25893 for ac_exec_ext in '' $ac_executable_extensions; do
25894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25895 ac_cv_prog_SETFILE="SetFile"
25896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25897 break 2
25898 fi
25899 done
25900 done
25901
25902 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25903 fi
25904 fi
25905 SETFILE=$ac_cv_prog_SETFILE
25906 if test -n "$SETFILE"; then
25907 echo "$as_me:$LINENO: result: $SETFILE" >&5
25908 echo "${ECHO_T}$SETFILE" >&6
25909 else
25910 echo "$as_me:$LINENO: result: no" >&5
25911 echo "${ECHO_T}no" >&6
25912 fi
25913
25914 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25915 MACSETFILE="\$(SETFILE)"
25916 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25917 else
25918 if test "$wxUSE_PM" = 1; then
25919 MACRESCOMP="emxbind -ep"
25920 fi
25921 fi
25922
25923
25924 echo "$as_me:$LINENO: checking for mode_t" >&5
25925 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25926 if test "${ac_cv_type_mode_t+set}" = set; then
25927 echo $ECHO_N "(cached) $ECHO_C" >&6
25928 else
25929 cat >conftest.$ac_ext <<_ACEOF
25930 #line $LINENO "configure"
25931 /* confdefs.h. */
25932 _ACEOF
25933 cat confdefs.h >>conftest.$ac_ext
25934 cat >>conftest.$ac_ext <<_ACEOF
25935 /* end confdefs.h. */
25936 $ac_includes_default
25937 int
25938 main ()
25939 {
25940 if ((mode_t *) 0)
25941 return 0;
25942 if (sizeof (mode_t))
25943 return 0;
25944 ;
25945 return 0;
25946 }
25947 _ACEOF
25948 rm -f conftest.$ac_objext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25950 (eval $ac_compile) 2>&5
25951 ac_status=$?
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
25954 { ac_try='test -s conftest.$ac_objext'
25955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25956 (eval $ac_try) 2>&5
25957 ac_status=$?
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); }; }; then
25960 ac_cv_type_mode_t=yes
25961 else
25962 echo "$as_me: failed program was:" >&5
25963 sed 's/^/| /' conftest.$ac_ext >&5
25964
25965 ac_cv_type_mode_t=no
25966 fi
25967 rm -f conftest.$ac_objext conftest.$ac_ext
25968 fi
25969 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25970 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25971 if test $ac_cv_type_mode_t = yes; then
25972 :
25973 else
25974
25975 cat >>confdefs.h <<_ACEOF
25976 #define mode_t int
25977 _ACEOF
25978
25979 fi
25980
25981 echo "$as_me:$LINENO: checking for off_t" >&5
25982 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25983 if test "${ac_cv_type_off_t+set}" = set; then
25984 echo $ECHO_N "(cached) $ECHO_C" >&6
25985 else
25986 cat >conftest.$ac_ext <<_ACEOF
25987 #line $LINENO "configure"
25988 /* confdefs.h. */
25989 _ACEOF
25990 cat confdefs.h >>conftest.$ac_ext
25991 cat >>conftest.$ac_ext <<_ACEOF
25992 /* end confdefs.h. */
25993 $ac_includes_default
25994 int
25995 main ()
25996 {
25997 if ((off_t *) 0)
25998 return 0;
25999 if (sizeof (off_t))
26000 return 0;
26001 ;
26002 return 0;
26003 }
26004 _ACEOF
26005 rm -f conftest.$ac_objext
26006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26007 (eval $ac_compile) 2>&5
26008 ac_status=$?
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try='test -s conftest.$ac_objext'
26012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26013 (eval $ac_try) 2>&5
26014 ac_status=$?
26015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26016 (exit $ac_status); }; }; then
26017 ac_cv_type_off_t=yes
26018 else
26019 echo "$as_me: failed program was:" >&5
26020 sed 's/^/| /' conftest.$ac_ext >&5
26021
26022 ac_cv_type_off_t=no
26023 fi
26024 rm -f conftest.$ac_objext conftest.$ac_ext
26025 fi
26026 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
26027 echo "${ECHO_T}$ac_cv_type_off_t" >&6
26028 if test $ac_cv_type_off_t = yes; then
26029 :
26030 else
26031
26032 cat >>confdefs.h <<_ACEOF
26033 #define off_t long
26034 _ACEOF
26035
26036 fi
26037
26038 echo "$as_me:$LINENO: checking for pid_t" >&5
26039 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
26040 if test "${ac_cv_type_pid_t+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042 else
26043 cat >conftest.$ac_ext <<_ACEOF
26044 #line $LINENO "configure"
26045 /* confdefs.h. */
26046 _ACEOF
26047 cat confdefs.h >>conftest.$ac_ext
26048 cat >>conftest.$ac_ext <<_ACEOF
26049 /* end confdefs.h. */
26050 $ac_includes_default
26051 int
26052 main ()
26053 {
26054 if ((pid_t *) 0)
26055 return 0;
26056 if (sizeof (pid_t))
26057 return 0;
26058 ;
26059 return 0;
26060 }
26061 _ACEOF
26062 rm -f conftest.$ac_objext
26063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26064 (eval $ac_compile) 2>&5
26065 ac_status=$?
26066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26067 (exit $ac_status); } &&
26068 { ac_try='test -s conftest.$ac_objext'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26071 ac_status=$?
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; }; then
26074 ac_cv_type_pid_t=yes
26075 else
26076 echo "$as_me: failed program was:" >&5
26077 sed 's/^/| /' conftest.$ac_ext >&5
26078
26079 ac_cv_type_pid_t=no
26080 fi
26081 rm -f conftest.$ac_objext conftest.$ac_ext
26082 fi
26083 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
26084 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
26085 if test $ac_cv_type_pid_t = yes; then
26086 :
26087 else
26088
26089 cat >>confdefs.h <<_ACEOF
26090 #define pid_t int
26091 _ACEOF
26092
26093 fi
26094
26095 echo "$as_me:$LINENO: checking for size_t" >&5
26096 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
26097 if test "${ac_cv_type_size_t+set}" = set; then
26098 echo $ECHO_N "(cached) $ECHO_C" >&6
26099 else
26100 cat >conftest.$ac_ext <<_ACEOF
26101 #line $LINENO "configure"
26102 /* confdefs.h. */
26103 _ACEOF
26104 cat confdefs.h >>conftest.$ac_ext
26105 cat >>conftest.$ac_ext <<_ACEOF
26106 /* end confdefs.h. */
26107 $ac_includes_default
26108 int
26109 main ()
26110 {
26111 if ((size_t *) 0)
26112 return 0;
26113 if (sizeof (size_t))
26114 return 0;
26115 ;
26116 return 0;
26117 }
26118 _ACEOF
26119 rm -f conftest.$ac_objext
26120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26121 (eval $ac_compile) 2>&5
26122 ac_status=$?
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } &&
26125 { ac_try='test -s conftest.$ac_objext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26128 ac_status=$?
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 ac_cv_type_size_t=yes
26132 else
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26135
26136 ac_cv_type_size_t=no
26137 fi
26138 rm -f conftest.$ac_objext conftest.$ac_ext
26139 fi
26140 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
26141 echo "${ECHO_T}$ac_cv_type_size_t" >&6
26142 if test $ac_cv_type_size_t = yes; then
26143 :
26144 else
26145
26146 cat >>confdefs.h <<_ACEOF
26147 #define size_t unsigned
26148 _ACEOF
26149
26150 fi
26151
26152 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
26153 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
26154 if test "${ac_cv_type_uid_t+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26156 else
26157 cat >conftest.$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26159 /* confdefs.h. */
26160 _ACEOF
26161 cat confdefs.h >>conftest.$ac_ext
26162 cat >>conftest.$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26164 #include <sys/types.h>
26165
26166 _ACEOF
26167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26168 $EGREP "uid_t" >/dev/null 2>&1; then
26169 ac_cv_type_uid_t=yes
26170 else
26171 ac_cv_type_uid_t=no
26172 fi
26173 rm -f conftest*
26174
26175 fi
26176 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
26177 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
26178 if test $ac_cv_type_uid_t = no; then
26179
26180 cat >>confdefs.h <<\_ACEOF
26181 #define uid_t int
26182 _ACEOF
26183
26184
26185 cat >>confdefs.h <<\_ACEOF
26186 #define gid_t int
26187 _ACEOF
26188
26189 fi
26190
26191
26192
26193
26194 ac_ext=cc
26195 ac_cpp='$CXXCPP $CPPFLAGS'
26196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26199
26200 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
26201 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
26202 if test "${wx_cv_size_t_is_uint+set}" = set; then
26203 echo $ECHO_N "(cached) $ECHO_C" >&6
26204 else
26205
26206 cat >conftest.$ac_ext <<_ACEOF
26207 #line $LINENO "configure"
26208 /* confdefs.h. */
26209 _ACEOF
26210 cat confdefs.h >>conftest.$ac_ext
26211 cat >>conftest.$ac_ext <<_ACEOF
26212 /* end confdefs.h. */
26213 #include <stddef.h>
26214 int
26215 main ()
26216 {
26217
26218 return 0; }
26219
26220 struct Foo { void foo(size_t); void foo(unsigned int); };
26221
26222 int bar() {
26223
26224 ;
26225 return 0;
26226 }
26227 _ACEOF
26228 rm -f conftest.$ac_objext
26229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26230 (eval $ac_compile) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } &&
26234 { ac_try='test -s conftest.$ac_objext'
26235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236 (eval $ac_try) 2>&5
26237 ac_status=$?
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); }; }; then
26240 wx_cv_size_t_is_uint=no
26241 else
26242 echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.$ac_ext >&5
26244
26245 wx_cv_size_t_is_uint=yes
26246
26247 fi
26248 rm -f conftest.$ac_objext conftest.$ac_ext
26249
26250
26251 fi
26252 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
26253 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
26254
26255 if test "$wx_cv_size_t_is_uint" = "yes"; then
26256 cat >>confdefs.h <<\_ACEOF
26257 #define wxSIZE_T_IS_UINT 1
26258 _ACEOF
26259
26260 else
26261 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
26262 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
26263 if test "${wx_cv_size_t_is_ulong+set}" = set; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26265 else
26266 cat >conftest.$ac_ext <<_ACEOF
26267 #line $LINENO "configure"
26268 /* confdefs.h. */
26269 _ACEOF
26270 cat confdefs.h >>conftest.$ac_ext
26271 cat >>conftest.$ac_ext <<_ACEOF
26272 /* end confdefs.h. */
26273 #include <stddef.h>
26274 int
26275 main ()
26276 {
26277
26278 return 0; }
26279
26280 struct Foo { void foo(size_t); void foo(unsigned long); };
26281
26282 int bar() {
26283
26284 ;
26285 return 0;
26286 }
26287 _ACEOF
26288 rm -f conftest.$ac_objext
26289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26290 (eval $ac_compile) 2>&5
26291 ac_status=$?
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); } &&
26294 { ac_try='test -s conftest.$ac_objext'
26295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26296 (eval $ac_try) 2>&5
26297 ac_status=$?
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); }; }; then
26300 wx_cv_size_t_is_ulong=no
26301 else
26302 echo "$as_me: failed program was:" >&5
26303 sed 's/^/| /' conftest.$ac_ext >&5
26304
26305 wx_cv_size_t_is_ulong=yes
26306
26307 fi
26308 rm -f conftest.$ac_objext conftest.$ac_ext
26309
26310 fi
26311 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
26312 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
26313
26314 if test "$wx_cv_size_t_is_ulong" = "yes"; then
26315 cat >>confdefs.h <<\_ACEOF
26316 #define wxSIZE_T_IS_ULONG 1
26317 _ACEOF
26318
26319 fi
26320 fi
26321
26322 ac_ext=c
26323 ac_cpp='$CPP $CPPFLAGS'
26324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26327
26328
26329
26330 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
26331 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
26332 if test "${wx_cv_struct_pw_gecos+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26334 else
26335
26336 cat >conftest.$ac_ext <<_ACEOF
26337 #line $LINENO "configure"
26338 /* confdefs.h. */
26339 _ACEOF
26340 cat confdefs.h >>conftest.$ac_ext
26341 cat >>conftest.$ac_ext <<_ACEOF
26342 /* end confdefs.h. */
26343 #include <pwd.h>
26344 int
26345 main ()
26346 {
26347
26348 char *p;
26349 struct passwd *pw;
26350 p = pw->pw_gecos;
26351
26352 ;
26353 return 0;
26354 }
26355 _ACEOF
26356 rm -f conftest.$ac_objext
26357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26358 (eval $ac_compile) 2>&5
26359 ac_status=$?
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -s conftest.$ac_objext'
26363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26364 (eval $ac_try) 2>&5
26365 ac_status=$?
26366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26367 (exit $ac_status); }; }; then
26368
26369 wx_cv_struct_pw_gecos=yes
26370
26371 else
26372 echo "$as_me: failed program was:" >&5
26373 sed 's/^/| /' conftest.$ac_ext >&5
26374
26375
26376 wx_cv_struct_pw_gecos=no
26377
26378
26379 fi
26380 rm -f conftest.$ac_objext conftest.$ac_ext
26381
26382
26383 fi
26384 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26385 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26386
26387 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26388 cat >>confdefs.h <<\_ACEOF
26389 #define HAVE_PW_GECOS 1
26390 _ACEOF
26391
26392 fi
26393
26394
26395 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26396 cat >>confdefs.h <<\_ACEOF
26397 #define wxUSE_WCHAR_T 1
26398 _ACEOF
26399
26400
26401 WCSLEN_FOUND=0
26402 WCHAR_LINK=
26403
26404 for ac_func in wcslen
26405 do
26406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26407 echo "$as_me:$LINENO: checking for $ac_func" >&5
26408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26409 if eval "test \"\${$as_ac_var+set}\" = set"; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 else
26412 cat >conftest.$ac_ext <<_ACEOF
26413 #line $LINENO "configure"
26414 /* confdefs.h. */
26415 _ACEOF
26416 cat confdefs.h >>conftest.$ac_ext
26417 cat >>conftest.$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26419 /* System header to define __stub macros and hopefully few prototypes,
26420 which can conflict with char $ac_func (); below.
26421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422 <limits.h> exists even on freestanding compilers. */
26423 #ifdef __STDC__
26424 # include <limits.h>
26425 #else
26426 # include <assert.h>
26427 #endif
26428 /* Override any gcc2 internal prototype to avoid an error. */
26429 #ifdef __cplusplus
26430 extern "C"
26431 {
26432 #endif
26433 /* We use char because int might match the return type of a gcc2
26434 builtin and then its argument prototype would still apply. */
26435 char $ac_func ();
26436 /* The GNU C library defines this for functions which it implements
26437 to always fail with ENOSYS. Some functions are actually named
26438 something starting with __ and the normal name is an alias. */
26439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26440 choke me
26441 #else
26442 char (*f) () = $ac_func;
26443 #endif
26444 #ifdef __cplusplus
26445 }
26446 #endif
26447
26448 int
26449 main ()
26450 {
26451 return f != $ac_func;
26452 ;
26453 return 0;
26454 }
26455 _ACEOF
26456 rm -f conftest.$ac_objext conftest$ac_exeext
26457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26458 (eval $ac_link) 2>&5
26459 ac_status=$?
26460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26461 (exit $ac_status); } &&
26462 { ac_try='test -s conftest$ac_exeext'
26463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26464 (eval $ac_try) 2>&5
26465 ac_status=$?
26466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26467 (exit $ac_status); }; }; then
26468 eval "$as_ac_var=yes"
26469 else
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473 eval "$as_ac_var=no"
26474 fi
26475 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26476 fi
26477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26479 if test `eval echo '${'$as_ac_var'}'` = yes; then
26480 cat >>confdefs.h <<_ACEOF
26481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26482 _ACEOF
26483 WCSLEN_FOUND=1
26484 fi
26485 done
26486
26487
26488 if test "$WCSLEN_FOUND" = 0; then
26489 if test "$TOOLKIT" = "MSW"; then
26490 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26491 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26492 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26495 ac_check_lib_save_LIBS=$LIBS
26496 LIBS="-lmsvcrt $LIBS"
26497 cat >conftest.$ac_ext <<_ACEOF
26498 #line $LINENO "configure"
26499 /* confdefs.h. */
26500 _ACEOF
26501 cat confdefs.h >>conftest.$ac_ext
26502 cat >>conftest.$ac_ext <<_ACEOF
26503 /* end confdefs.h. */
26504
26505 /* Override any gcc2 internal prototype to avoid an error. */
26506 #ifdef __cplusplus
26507 extern "C"
26508 #endif
26509 /* We use char because int might match the return type of a gcc2
26510 builtin and then its argument prototype would still apply. */
26511 char wcslen ();
26512 int
26513 main ()
26514 {
26515 wcslen ();
26516 ;
26517 return 0;
26518 }
26519 _ACEOF
26520 rm -f conftest.$ac_objext conftest$ac_exeext
26521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26522 (eval $ac_link) 2>&5
26523 ac_status=$?
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -s conftest$ac_exeext'
26527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26528 (eval $ac_try) 2>&5
26529 ac_status=$?
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); }; }; then
26532 ac_cv_lib_msvcrt_wcslen=yes
26533 else
26534 echo "$as_me: failed program was:" >&5
26535 sed 's/^/| /' conftest.$ac_ext >&5
26536
26537 ac_cv_lib_msvcrt_wcslen=no
26538 fi
26539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26540 LIBS=$ac_check_lib_save_LIBS
26541 fi
26542 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26543 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26544 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26545 WCHAR_OK=1
26546 fi
26547
26548 else
26549 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26550 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26551 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 else
26554 ac_check_lib_save_LIBS=$LIBS
26555 LIBS="-lw $LIBS"
26556 cat >conftest.$ac_ext <<_ACEOF
26557 #line $LINENO "configure"
26558 /* confdefs.h. */
26559 _ACEOF
26560 cat confdefs.h >>conftest.$ac_ext
26561 cat >>conftest.$ac_ext <<_ACEOF
26562 /* end confdefs.h. */
26563
26564 /* Override any gcc2 internal prototype to avoid an error. */
26565 #ifdef __cplusplus
26566 extern "C"
26567 #endif
26568 /* We use char because int might match the return type of a gcc2
26569 builtin and then its argument prototype would still apply. */
26570 char wcslen ();
26571 int
26572 main ()
26573 {
26574 wcslen ();
26575 ;
26576 return 0;
26577 }
26578 _ACEOF
26579 rm -f conftest.$ac_objext conftest$ac_exeext
26580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26581 (eval $ac_link) 2>&5
26582 ac_status=$?
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -s conftest$ac_exeext'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; }; then
26591 ac_cv_lib_w_wcslen=yes
26592 else
26593 echo "$as_me: failed program was:" >&5
26594 sed 's/^/| /' conftest.$ac_ext >&5
26595
26596 ac_cv_lib_w_wcslen=no
26597 fi
26598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26599 LIBS=$ac_check_lib_save_LIBS
26600 fi
26601 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26602 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26603 if test $ac_cv_lib_w_wcslen = yes; then
26604
26605 WCHAR_LINK=" -lw"
26606 WCSLEN_FOUND=1
26607
26608 fi
26609
26610 fi
26611 fi
26612
26613 if test "$WCSLEN_FOUND" = 1; then
26614 cat >>confdefs.h <<\_ACEOF
26615 #define HAVE_WCSLEN 1
26616 _ACEOF
26617
26618 fi
26619
26620
26621 for ac_func in wcsrtombs
26622 do
26623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26624 echo "$as_me:$LINENO: checking for $ac_func" >&5
26625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26626 if eval "test \"\${$as_ac_var+set}\" = set"; then
26627 echo $ECHO_N "(cached) $ECHO_C" >&6
26628 else
26629 cat >conftest.$ac_ext <<_ACEOF
26630 #line $LINENO "configure"
26631 /* confdefs.h. */
26632 _ACEOF
26633 cat confdefs.h >>conftest.$ac_ext
26634 cat >>conftest.$ac_ext <<_ACEOF
26635 /* end confdefs.h. */
26636 /* System header to define __stub macros and hopefully few prototypes,
26637 which can conflict with char $ac_func (); below.
26638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26639 <limits.h> exists even on freestanding compilers. */
26640 #ifdef __STDC__
26641 # include <limits.h>
26642 #else
26643 # include <assert.h>
26644 #endif
26645 /* Override any gcc2 internal prototype to avoid an error. */
26646 #ifdef __cplusplus
26647 extern "C"
26648 {
26649 #endif
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26652 char $ac_func ();
26653 /* The GNU C library defines this for functions which it implements
26654 to always fail with ENOSYS. Some functions are actually named
26655 something starting with __ and the normal name is an alias. */
26656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26657 choke me
26658 #else
26659 char (*f) () = $ac_func;
26660 #endif
26661 #ifdef __cplusplus
26662 }
26663 #endif
26664
26665 int
26666 main ()
26667 {
26668 return f != $ac_func;
26669 ;
26670 return 0;
26671 }
26672 _ACEOF
26673 rm -f conftest.$ac_objext conftest$ac_exeext
26674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26675 (eval $ac_link) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); } &&
26679 { ac_try='test -s conftest$ac_exeext'
26680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26681 (eval $ac_try) 2>&5
26682 ac_status=$?
26683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26684 (exit $ac_status); }; }; then
26685 eval "$as_ac_var=yes"
26686 else
26687 echo "$as_me: failed program was:" >&5
26688 sed 's/^/| /' conftest.$ac_ext >&5
26689
26690 eval "$as_ac_var=no"
26691 fi
26692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26693 fi
26694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26696 if test `eval echo '${'$as_ac_var'}'` = yes; then
26697 cat >>confdefs.h <<_ACEOF
26698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26699 _ACEOF
26700
26701 fi
26702 done
26703
26704 else
26705 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26706 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26707 fi
26708
26709
26710
26711 ac_ext=cc
26712 ac_cpp='$CXXCPP $CPPFLAGS'
26713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26716
26717
26718
26719 for ac_func in vsnprintf
26720 do
26721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26722 echo "$as_me:$LINENO: checking for $ac_func" >&5
26723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26724 if eval "test \"\${$as_ac_var+set}\" = set"; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 else
26727 cat >conftest.$ac_ext <<_ACEOF
26728 #line $LINENO "configure"
26729 /* confdefs.h. */
26730 _ACEOF
26731 cat confdefs.h >>conftest.$ac_ext
26732 cat >>conftest.$ac_ext <<_ACEOF
26733 /* end confdefs.h. */
26734 /* System header to define __stub macros and hopefully few prototypes,
26735 which can conflict with char $ac_func (); below.
26736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26737 <limits.h> exists even on freestanding compilers. */
26738 #ifdef __STDC__
26739 # include <limits.h>
26740 #else
26741 # include <assert.h>
26742 #endif
26743 /* Override any gcc2 internal prototype to avoid an error. */
26744 #ifdef __cplusplus
26745 extern "C"
26746 {
26747 #endif
26748 /* We use char because int might match the return type of a gcc2
26749 builtin and then its argument prototype would still apply. */
26750 char $ac_func ();
26751 /* The GNU C library defines this for functions which it implements
26752 to always fail with ENOSYS. Some functions are actually named
26753 something starting with __ and the normal name is an alias. */
26754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26755 choke me
26756 #else
26757 char (*f) () = $ac_func;
26758 #endif
26759 #ifdef __cplusplus
26760 }
26761 #endif
26762
26763 int
26764 main ()
26765 {
26766 return f != $ac_func;
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext conftest$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 eval "$as_ac_var=yes"
26784 else
26785 echo "$as_me: failed program was:" >&5
26786 sed 's/^/| /' conftest.$ac_ext >&5
26787
26788 eval "$as_ac_var=no"
26789 fi
26790 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26791 fi
26792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26794 if test `eval echo '${'$as_ac_var'}'` = yes; then
26795 cat >>confdefs.h <<_ACEOF
26796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26797 _ACEOF
26798
26799 fi
26800 done
26801
26802
26803 if test "$ac_cv_func_vsnprintf" = "yes"; then
26804 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26805 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26806 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26807 echo $ECHO_N "(cached) $ECHO_C" >&6
26808 else
26809
26810 cat >conftest.$ac_ext <<_ACEOF
26811 #line $LINENO "configure"
26812 /* confdefs.h. */
26813 _ACEOF
26814 cat confdefs.h >>conftest.$ac_ext
26815 cat >>conftest.$ac_ext <<_ACEOF
26816 /* end confdefs.h. */
26817
26818 #include <stdio.h>
26819 #include <stdarg.h>
26820
26821 int
26822 main ()
26823 {
26824
26825 char *buf;
26826 va_list ap;
26827 vsnprintf(buf, 10u, "%s", ap);
26828
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835 (eval $ac_compile) 2>&5
26836 ac_status=$?
26837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26838 (exit $ac_status); } &&
26839 { ac_try='test -s conftest.$ac_objext'
26840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26841 (eval $ac_try) 2>&5
26842 ac_status=$?
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); }; }; then
26845 wx_cv_func_vsnprintf_decl=yes
26846 else
26847 echo "$as_me: failed program was:" >&5
26848 sed 's/^/| /' conftest.$ac_ext >&5
26849
26850 wx_cv_func_vsnprintf_decl=no
26851
26852 fi
26853 rm -f conftest.$ac_objext conftest.$ac_ext
26854
26855
26856 fi
26857 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26858 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26859
26860 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26861 cat >>confdefs.h <<\_ACEOF
26862 #define HAVE_VSNPRINTF_DECL 1
26863 _ACEOF
26864
26865 fi
26866 fi
26867
26868 if test "$wxUSE_UNICODE" = yes; then
26869
26870
26871
26872 for ac_func in fputwc wprintf vswprintf
26873 do
26874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26875 echo "$as_me:$LINENO: checking for $ac_func" >&5
26876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26877 if eval "test \"\${$as_ac_var+set}\" = set"; then
26878 echo $ECHO_N "(cached) $ECHO_C" >&6
26879 else
26880 cat >conftest.$ac_ext <<_ACEOF
26881 #line $LINENO "configure"
26882 /* confdefs.h. */
26883 _ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 /* System header to define __stub macros and hopefully few prototypes,
26888 which can conflict with char $ac_func (); below.
26889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26890 <limits.h> exists even on freestanding compilers. */
26891 #ifdef __STDC__
26892 # include <limits.h>
26893 #else
26894 # include <assert.h>
26895 #endif
26896 /* Override any gcc2 internal prototype to avoid an error. */
26897 #ifdef __cplusplus
26898 extern "C"
26899 {
26900 #endif
26901 /* We use char because int might match the return type of a gcc2
26902 builtin and then its argument prototype would still apply. */
26903 char $ac_func ();
26904 /* The GNU C library defines this for functions which it implements
26905 to always fail with ENOSYS. Some functions are actually named
26906 something starting with __ and the normal name is an alias. */
26907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26908 choke me
26909 #else
26910 char (*f) () = $ac_func;
26911 #endif
26912 #ifdef __cplusplus
26913 }
26914 #endif
26915
26916 int
26917 main ()
26918 {
26919 return f != $ac_func;
26920 ;
26921 return 0;
26922 }
26923 _ACEOF
26924 rm -f conftest.$ac_objext conftest$ac_exeext
26925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26926 (eval $ac_link) 2>&5
26927 ac_status=$?
26928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26929 (exit $ac_status); } &&
26930 { ac_try='test -s conftest$ac_exeext'
26931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26932 (eval $ac_try) 2>&5
26933 ac_status=$?
26934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 (exit $ac_status); }; }; then
26936 eval "$as_ac_var=yes"
26937 else
26938 echo "$as_me: failed program was:" >&5
26939 sed 's/^/| /' conftest.$ac_ext >&5
26940
26941 eval "$as_ac_var=no"
26942 fi
26943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26944 fi
26945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26947 if test `eval echo '${'$as_ac_var'}'` = yes; then
26948 cat >>confdefs.h <<_ACEOF
26949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26950 _ACEOF
26951
26952 fi
26953 done
26954
26955
26956 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26957 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26958 cat >conftest.$ac_ext <<_ACEOF
26959 #line $LINENO "configure"
26960 /* confdefs.h. */
26961 _ACEOF
26962 cat confdefs.h >>conftest.$ac_ext
26963 cat >>conftest.$ac_ext <<_ACEOF
26964 /* end confdefs.h. */
26965 #include <wchar.h>
26966 int
26967 main ()
26968 {
26969 &_vsnwprintf;
26970 ;
26971 return 0;
26972 }
26973 _ACEOF
26974 rm -f conftest.$ac_objext
26975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26976 (eval $ac_compile) 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 echo "$as_me:$LINENO: result: yes" >&5
26987 echo "${ECHO_T}yes" >&6
26988 cat >>confdefs.h <<\_ACEOF
26989 #define HAVE__VSNWPRINTF 1
26990 _ACEOF
26991
26992 else
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26995
26996 echo "$as_me:$LINENO: result: no" >&5
26997 echo "${ECHO_T}no" >&6
26998 fi
26999 rm -f conftest.$ac_objext conftest.$ac_ext;
27000 fi
27001
27002 ac_ext=c
27003 ac_cpp='$CPP $CPPFLAGS'
27004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27007
27008
27009
27010
27011 if test "$TOOLKIT" != "MSW"; then
27012
27013
27014
27015
27016 ac_ext=cc
27017 ac_cpp='$CXXCPP $CPPFLAGS'
27018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27021
27022
27023
27024
27025 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
27026 if test "${with_libiconv_prefix+set}" = set; then
27027 withval="$with_libiconv_prefix"
27028
27029 for dir in `echo "$withval" | tr : ' '`; do
27030 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
27031 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
27032 done
27033
27034 fi;
27035
27036 echo "$as_me:$LINENO: checking for iconv" >&5
27037 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
27038 if test "${am_cv_func_iconv+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041
27042 am_cv_func_iconv="no, consider installing GNU libiconv"
27043 am_cv_lib_iconv=no
27044 cat >conftest.$ac_ext <<_ACEOF
27045 #line $LINENO "configure"
27046 /* confdefs.h. */
27047 _ACEOF
27048 cat confdefs.h >>conftest.$ac_ext
27049 cat >>conftest.$ac_ext <<_ACEOF
27050 /* end confdefs.h. */
27051 #include <stdlib.h>
27052 #include <iconv.h>
27053 int
27054 main ()
27055 {
27056 iconv_t cd = iconv_open("","");
27057 iconv(cd,NULL,NULL,NULL,NULL);
27058 iconv_close(cd);
27059 ;
27060 return 0;
27061 }
27062 _ACEOF
27063 rm -f conftest.$ac_objext conftest$ac_exeext
27064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27065 (eval $ac_link) 2>&5
27066 ac_status=$?
27067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27068 (exit $ac_status); } &&
27069 { ac_try='test -s conftest$ac_exeext'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; }; then
27075 am_cv_func_iconv=yes
27076 else
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27079
27080 fi
27081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27082 if test "$am_cv_func_iconv" != yes; then
27083 am_save_LIBS="$LIBS"
27084 LIBS="$LIBS -liconv"
27085 cat >conftest.$ac_ext <<_ACEOF
27086 #line $LINENO "configure"
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092 #include <stdlib.h>
27093 #include <iconv.h>
27094 int
27095 main ()
27096 {
27097 iconv_t cd = iconv_open("","");
27098 iconv(cd,NULL,NULL,NULL,NULL);
27099 iconv_close(cd);
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27106 (eval $ac_link) 2>&5
27107 ac_status=$?
27108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27109 (exit $ac_status); } &&
27110 { ac_try='test -s conftest$ac_exeext'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27113 ac_status=$?
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; }; then
27116 am_cv_lib_iconv=yes
27117 am_cv_func_iconv=yes
27118 else
27119 echo "$as_me: failed program was:" >&5
27120 sed 's/^/| /' conftest.$ac_ext >&5
27121
27122 fi
27123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27124 LIBS="$am_save_LIBS"
27125 fi
27126
27127 fi
27128 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
27129 echo "${ECHO_T}$am_cv_func_iconv" >&6
27130 if test "$am_cv_func_iconv" = yes; then
27131
27132 cat >>confdefs.h <<\_ACEOF
27133 #define HAVE_ICONV 1
27134 _ACEOF
27135
27136 echo "$as_me:$LINENO: checking if iconv needs const" >&5
27137 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
27138 if test "${wx_cv_func_iconv_const+set}" = set; then
27139 echo $ECHO_N "(cached) $ECHO_C" >&6
27140 else
27141 cat >conftest.$ac_ext <<_ACEOF
27142 #line $LINENO "configure"
27143 /* confdefs.h. */
27144 _ACEOF
27145 cat confdefs.h >>conftest.$ac_ext
27146 cat >>conftest.$ac_ext <<_ACEOF
27147 /* end confdefs.h. */
27148
27149 #include <stdlib.h>
27150 #include <iconv.h>
27151 extern
27152 #ifdef __cplusplus
27153 "C"
27154 #endif
27155 #if defined(__STDC__) || defined(__cplusplus)
27156 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27157 #else
27158 size_t iconv();
27159 #endif
27160
27161 int
27162 main ()
27163 {
27164
27165 ;
27166 return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171 (eval $ac_compile) 2>&5
27172 ac_status=$?
27173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27174 (exit $ac_status); } &&
27175 { ac_try='test -s conftest.$ac_objext'
27176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27177 (eval $ac_try) 2>&5
27178 ac_status=$?
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); }; }; then
27181 wx_cv_func_iconv_const="no"
27182 else
27183 echo "$as_me: failed program was:" >&5
27184 sed 's/^/| /' conftest.$ac_ext >&5
27185
27186 wx_cv_func_iconv_const="yes"
27187
27188 fi
27189 rm -f conftest.$ac_objext conftest.$ac_ext
27190
27191 fi
27192 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
27193 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
27194
27195 iconv_const=
27196 if test "x$wx_cv_func_iconv_const" = "xyes"; then
27197 iconv_const="const"
27198 fi
27199
27200
27201 cat >>confdefs.h <<_ACEOF
27202 #define ICONV_CONST $iconv_const
27203 _ACEOF
27204
27205 fi
27206 LIBICONV=
27207 if test "$am_cv_lib_iconv" = yes; then
27208 LIBICONV="-liconv"
27209 fi
27210
27211
27212 LIBS="$LIBICONV $LIBS"
27213 ac_ext=c
27214 ac_cpp='$CPP $CPPFLAGS'
27215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27218
27219
27220 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
27221
27222 for ac_func in sigaction
27223 do
27224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27225 echo "$as_me:$LINENO: checking for $ac_func" >&5
27226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27227 if eval "test \"\${$as_ac_var+set}\" = set"; then
27228 echo $ECHO_N "(cached) $ECHO_C" >&6
27229 else
27230 cat >conftest.$ac_ext <<_ACEOF
27231 #line $LINENO "configure"
27232 /* confdefs.h. */
27233 _ACEOF
27234 cat confdefs.h >>conftest.$ac_ext
27235 cat >>conftest.$ac_ext <<_ACEOF
27236 /* end confdefs.h. */
27237 /* System header to define __stub macros and hopefully few prototypes,
27238 which can conflict with char $ac_func (); below.
27239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27240 <limits.h> exists even on freestanding compilers. */
27241 #ifdef __STDC__
27242 # include <limits.h>
27243 #else
27244 # include <assert.h>
27245 #endif
27246 /* Override any gcc2 internal prototype to avoid an error. */
27247 #ifdef __cplusplus
27248 extern "C"
27249 {
27250 #endif
27251 /* We use char because int might match the return type of a gcc2
27252 builtin and then its argument prototype would still apply. */
27253 char $ac_func ();
27254 /* The GNU C library defines this for functions which it implements
27255 to always fail with ENOSYS. Some functions are actually named
27256 something starting with __ and the normal name is an alias. */
27257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27258 choke me
27259 #else
27260 char (*f) () = $ac_func;
27261 #endif
27262 #ifdef __cplusplus
27263 }
27264 #endif
27265
27266 int
27267 main ()
27268 {
27269 return f != $ac_func;
27270 ;
27271 return 0;
27272 }
27273 _ACEOF
27274 rm -f conftest.$ac_objext conftest$ac_exeext
27275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27276 (eval $ac_link) 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27283 ac_status=$?
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; }; then
27286 eval "$as_ac_var=yes"
27287 else
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27290
27291 eval "$as_ac_var=no"
27292 fi
27293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27294 fi
27295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27297 if test `eval echo '${'$as_ac_var'}'` = yes; then
27298 cat >>confdefs.h <<_ACEOF
27299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27300 _ACEOF
27301
27302 fi
27303 done
27304
27305
27306 if test "$ac_cv_func_sigaction" = "no"; then
27307 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
27308 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
27309 wxUSE_ON_FATAL_EXCEPTION=no
27310 fi
27311
27312 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
27313
27314
27315 ac_ext=cc
27316 ac_cpp='$CXXCPP $CPPFLAGS'
27317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27320
27321
27322 echo "$as_me:$LINENO: checking for sa_handler type" >&5
27323 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
27324 if test "${wx_cv_type_sa_handler+set}" = set; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 else
27327
27328 cat >conftest.$ac_ext <<_ACEOF
27329 #line $LINENO "configure"
27330 /* confdefs.h. */
27331 _ACEOF
27332 cat confdefs.h >>conftest.$ac_ext
27333 cat >>conftest.$ac_ext <<_ACEOF
27334 /* end confdefs.h. */
27335 #include <signal.h>
27336 int
27337 main ()
27338 {
27339
27340 extern void testSigHandler(int);
27341
27342 struct sigaction sa;
27343 sa.sa_handler = testSigHandler;
27344
27345 ;
27346 return 0;
27347 }
27348 _ACEOF
27349 rm -f conftest.$ac_objext
27350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27351 (eval $ac_compile) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -s conftest.$ac_objext'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; }; then
27361
27362 wx_cv_type_sa_handler=int
27363
27364 else
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27367
27368
27369 wx_cv_type_sa_handler=void
27370
27371 fi
27372 rm -f conftest.$ac_objext conftest.$ac_ext
27373
27374 fi
27375 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27376 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27377
27378 ac_ext=c
27379 ac_cpp='$CPP $CPPFLAGS'
27380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27383
27384
27385 cat >>confdefs.h <<_ACEOF
27386 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27387 _ACEOF
27388
27389 fi
27390 fi
27391
27392
27393
27394 for ac_func in mkstemp mktemp
27395 do
27396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27397 echo "$as_me:$LINENO: checking for $ac_func" >&5
27398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27399 if eval "test \"\${$as_ac_var+set}\" = set"; then
27400 echo $ECHO_N "(cached) $ECHO_C" >&6
27401 else
27402 cat >conftest.$ac_ext <<_ACEOF
27403 #line $LINENO "configure"
27404 /* confdefs.h. */
27405 _ACEOF
27406 cat confdefs.h >>conftest.$ac_ext
27407 cat >>conftest.$ac_ext <<_ACEOF
27408 /* end confdefs.h. */
27409 /* System header to define __stub macros and hopefully few prototypes,
27410 which can conflict with char $ac_func (); below.
27411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27412 <limits.h> exists even on freestanding compilers. */
27413 #ifdef __STDC__
27414 # include <limits.h>
27415 #else
27416 # include <assert.h>
27417 #endif
27418 /* Override any gcc2 internal prototype to avoid an error. */
27419 #ifdef __cplusplus
27420 extern "C"
27421 {
27422 #endif
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425 char $ac_func ();
27426 /* The GNU C library defines this for functions which it implements
27427 to always fail with ENOSYS. Some functions are actually named
27428 something starting with __ and the normal name is an alias. */
27429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27430 choke me
27431 #else
27432 char (*f) () = $ac_func;
27433 #endif
27434 #ifdef __cplusplus
27435 }
27436 #endif
27437
27438 int
27439 main ()
27440 {
27441 return f != $ac_func;
27442 ;
27443 return 0;
27444 }
27445 _ACEOF
27446 rm -f conftest.$ac_objext conftest$ac_exeext
27447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>&5
27449 ac_status=$?
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } &&
27452 { ac_try='test -s conftest$ac_exeext'
27453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27454 (eval $ac_try) 2>&5
27455 ac_status=$?
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); }; }; then
27458 eval "$as_ac_var=yes"
27459 else
27460 echo "$as_me: failed program was:" >&5
27461 sed 's/^/| /' conftest.$ac_ext >&5
27462
27463 eval "$as_ac_var=no"
27464 fi
27465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27466 fi
27467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27469 if test `eval echo '${'$as_ac_var'}'` = yes; then
27470 cat >>confdefs.h <<_ACEOF
27471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27472 _ACEOF
27473 break
27474 fi
27475 done
27476
27477
27478 echo "$as_me:$LINENO: checking for statfs" >&5
27479 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27480 if test "${wx_cv_func_statfs+set}" = set; then
27481 echo $ECHO_N "(cached) $ECHO_C" >&6
27482 else
27483 cat >conftest.$ac_ext <<_ACEOF
27484 #line $LINENO "configure"
27485 /* confdefs.h. */
27486 _ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27490
27491 #if defined(__BSD__)
27492 #include <sys/param.h>
27493 #include <sys/mount.h>
27494 #else
27495 #include <sys/vfs.h>
27496 #endif
27497
27498 int
27499 main ()
27500 {
27501
27502 long l;
27503 struct statfs fs;
27504 statfs("/", &fs);
27505 l = fs.f_bsize;
27506 l += fs.f_blocks;
27507 l += fs.f_bavail;
27508
27509 ;
27510 return 0;
27511 }
27512 _ACEOF
27513 rm -f conftest.$ac_objext
27514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27515 (eval $ac_compile) 2>&5
27516 ac_status=$?
27517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27518 (exit $ac_status); } &&
27519 { ac_try='test -s conftest.$ac_objext'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; }; then
27525
27526 wx_cv_func_statfs=yes
27527
27528 else
27529 echo "$as_me: failed program was:" >&5
27530 sed 's/^/| /' conftest.$ac_ext >&5
27531
27532
27533 wx_cv_func_statfs=no
27534
27535
27536 fi
27537 rm -f conftest.$ac_objext conftest.$ac_ext
27538
27539 fi
27540 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27541 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27542
27543 if test "$wx_cv_func_statfs" = "yes"; then
27544 wx_cv_type_statvfs_t="struct statfs"
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_STATFS 1
27547 _ACEOF
27548
27549 else
27550 echo "$as_me:$LINENO: checking for statvfs" >&5
27551 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27552 if test "${wx_cv_func_statvfs+set}" = set; then
27553 echo $ECHO_N "(cached) $ECHO_C" >&6
27554 else
27555 cat >conftest.$ac_ext <<_ACEOF
27556 #line $LINENO "configure"
27557 /* confdefs.h. */
27558 _ACEOF
27559 cat confdefs.h >>conftest.$ac_ext
27560 cat >>conftest.$ac_ext <<_ACEOF
27561 /* end confdefs.h. */
27562
27563 #include <stddef.h>
27564 #include <sys/statvfs.h>
27565
27566 int
27567 main ()
27568 {
27569
27570 statvfs("/", NULL);
27571
27572 ;
27573 return 0;
27574 }
27575 _ACEOF
27576 rm -f conftest.$ac_objext
27577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27578 (eval $ac_compile) 2>&5
27579 ac_status=$?
27580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27581 (exit $ac_status); } &&
27582 { ac_try='test -s conftest.$ac_objext'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27585 ac_status=$?
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; }; then
27588 wx_cv_func_statvfs=yes
27589 else
27590 echo "$as_me: failed program was:" >&5
27591 sed 's/^/| /' conftest.$ac_ext >&5
27592
27593 wx_cv_func_statvfs=no
27594
27595 fi
27596 rm -f conftest.$ac_objext conftest.$ac_ext
27597
27598 fi
27599 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27600 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27601
27602 if test "$wx_cv_func_statvfs" = "yes"; then
27603
27604
27605 ac_ext=cc
27606 ac_cpp='$CXXCPP $CPPFLAGS'
27607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27610
27611
27612 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27613 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27614 if test "${wx_cv_type_statvfs_t+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27616 else
27617 cat >conftest.$ac_ext <<_ACEOF
27618 #line $LINENO "configure"
27619 /* confdefs.h. */
27620 _ACEOF
27621 cat confdefs.h >>conftest.$ac_ext
27622 cat >>conftest.$ac_ext <<_ACEOF
27623 /* end confdefs.h. */
27624
27625 #include <sys/statvfs.h>
27626
27627 int
27628 main ()
27629 {
27630
27631 long l;
27632 statvfs_t fs;
27633 statvfs("/", &fs);
27634 l = fs.f_bsize;
27635 l += fs.f_blocks;
27636 l += fs.f_bavail;
27637
27638 ;
27639 return 0;
27640 }
27641 _ACEOF
27642 rm -f conftest.$ac_objext
27643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27644 (eval $ac_compile) 2>&5
27645 ac_status=$?
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -s conftest.$ac_objext'
27649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27650 (eval $ac_try) 2>&5
27651 ac_status=$?
27652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27653 (exit $ac_status); }; }; then
27654 wx_cv_type_statvfs_t=statvfs_t
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659
27660 cat >conftest.$ac_ext <<_ACEOF
27661 #line $LINENO "configure"
27662 /* confdefs.h. */
27663 _ACEOF
27664 cat confdefs.h >>conftest.$ac_ext
27665 cat >>conftest.$ac_ext <<_ACEOF
27666 /* end confdefs.h. */
27667
27668 #include <sys/statvfs.h>
27669
27670 int
27671 main ()
27672 {
27673
27674 long l;
27675 struct statvfs fs;
27676 statvfs("/", &fs);
27677 l = fs.f_bsize;
27678 l += fs.f_blocks;
27679 l += fs.f_bavail;
27680
27681 ;
27682 return 0;
27683 }
27684 _ACEOF
27685 rm -f conftest.$ac_objext
27686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27687 (eval $ac_compile) 2>&5
27688 ac_status=$?
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); } &&
27691 { ac_try='test -s conftest.$ac_objext'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27694 ac_status=$?
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; }; then
27697 wx_cv_type_statvfs_t="struct statvfs"
27698 else
27699 echo "$as_me: failed program was:" >&5
27700 sed 's/^/| /' conftest.$ac_ext >&5
27701
27702 wx_cv_type_statvfs_t="unknown"
27703
27704 fi
27705 rm -f conftest.$ac_objext conftest.$ac_ext
27706
27707
27708 fi
27709 rm -f conftest.$ac_objext conftest.$ac_ext
27710
27711 fi
27712 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27713 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27714
27715 ac_ext=c
27716 ac_cpp='$CPP $CPPFLAGS'
27717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720
27721
27722 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27723 cat >>confdefs.h <<\_ACEOF
27724 #define HAVE_STATVFS 1
27725 _ACEOF
27726
27727 fi
27728 else
27729 wx_cv_type_statvfs_t="unknown"
27730 fi
27731 fi
27732
27733 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27734 cat >>confdefs.h <<_ACEOF
27735 #define WX_STATFS_T $wx_cv_type_statvfs_t
27736 _ACEOF
27737
27738 else
27739 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27740 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27741 fi
27742
27743 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27744
27745
27746 for ac_func in fcntl flock
27747 do
27748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27749 echo "$as_me:$LINENO: checking for $ac_func" >&5
27750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27751 if eval "test \"\${$as_ac_var+set}\" = set"; then
27752 echo $ECHO_N "(cached) $ECHO_C" >&6
27753 else
27754 cat >conftest.$ac_ext <<_ACEOF
27755 #line $LINENO "configure"
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 /* System header to define __stub macros and hopefully few prototypes,
27762 which can conflict with char $ac_func (); below.
27763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27764 <limits.h> exists even on freestanding compilers. */
27765 #ifdef __STDC__
27766 # include <limits.h>
27767 #else
27768 # include <assert.h>
27769 #endif
27770 /* Override any gcc2 internal prototype to avoid an error. */
27771 #ifdef __cplusplus
27772 extern "C"
27773 {
27774 #endif
27775 /* We use char because int might match the return type of a gcc2
27776 builtin and then its argument prototype would still apply. */
27777 char $ac_func ();
27778 /* The GNU C library defines this for functions which it implements
27779 to always fail with ENOSYS. Some functions are actually named
27780 something starting with __ and the normal name is an alias. */
27781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27782 choke me
27783 #else
27784 char (*f) () = $ac_func;
27785 #endif
27786 #ifdef __cplusplus
27787 }
27788 #endif
27789
27790 int
27791 main ()
27792 {
27793 return f != $ac_func;
27794 ;
27795 return 0;
27796 }
27797 _ACEOF
27798 rm -f conftest.$ac_objext conftest$ac_exeext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27800 (eval $ac_link) 2>&5
27801 ac_status=$?
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } &&
27804 { ac_try='test -s conftest$ac_exeext'
27805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27806 (eval $ac_try) 2>&5
27807 ac_status=$?
27808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27809 (exit $ac_status); }; }; then
27810 eval "$as_ac_var=yes"
27811 else
27812 echo "$as_me: failed program was:" >&5
27813 sed 's/^/| /' conftest.$ac_ext >&5
27814
27815 eval "$as_ac_var=no"
27816 fi
27817 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27818 fi
27819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27821 if test `eval echo '${'$as_ac_var'}'` = yes; then
27822 cat >>confdefs.h <<_ACEOF
27823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27824 _ACEOF
27825 break
27826 fi
27827 done
27828
27829
27830 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27832 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27833 wxUSE_SNGLINST_CHECKER=no
27834 fi
27835 fi
27836
27837
27838 for ac_func in timegm
27839 do
27840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27841 echo "$as_me:$LINENO: checking for $ac_func" >&5
27842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27843 if eval "test \"\${$as_ac_var+set}\" = set"; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27845 else
27846 cat >conftest.$ac_ext <<_ACEOF
27847 #line $LINENO "configure"
27848 /* confdefs.h. */
27849 _ACEOF
27850 cat confdefs.h >>conftest.$ac_ext
27851 cat >>conftest.$ac_ext <<_ACEOF
27852 /* end confdefs.h. */
27853 /* System header to define __stub macros and hopefully few prototypes,
27854 which can conflict with char $ac_func (); below.
27855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27856 <limits.h> exists even on freestanding compilers. */
27857 #ifdef __STDC__
27858 # include <limits.h>
27859 #else
27860 # include <assert.h>
27861 #endif
27862 /* Override any gcc2 internal prototype to avoid an error. */
27863 #ifdef __cplusplus
27864 extern "C"
27865 {
27866 #endif
27867 /* We use char because int might match the return type of a gcc2
27868 builtin and then its argument prototype would still apply. */
27869 char $ac_func ();
27870 /* The GNU C library defines this for functions which it implements
27871 to always fail with ENOSYS. Some functions are actually named
27872 something starting with __ and the normal name is an alias. */
27873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27874 choke me
27875 #else
27876 char (*f) () = $ac_func;
27877 #endif
27878 #ifdef __cplusplus
27879 }
27880 #endif
27881
27882 int
27883 main ()
27884 {
27885 return f != $ac_func;
27886 ;
27887 return 0;
27888 }
27889 _ACEOF
27890 rm -f conftest.$ac_objext conftest$ac_exeext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27892 (eval $ac_link) 2>&5
27893 ac_status=$?
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27899 ac_status=$?
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 eval "$as_ac_var=yes"
27903 else
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27906
27907 eval "$as_ac_var=no"
27908 fi
27909 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27910 fi
27911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27913 if test `eval echo '${'$as_ac_var'}'` = yes; then
27914 cat >>confdefs.h <<_ACEOF
27915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27916 _ACEOF
27917
27918 fi
27919 done
27920
27921
27922
27923
27924 for ac_func in putenv setenv
27925 do
27926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27927 echo "$as_me:$LINENO: checking for $ac_func" >&5
27928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27929 if eval "test \"\${$as_ac_var+set}\" = set"; then
27930 echo $ECHO_N "(cached) $ECHO_C" >&6
27931 else
27932 cat >conftest.$ac_ext <<_ACEOF
27933 #line $LINENO "configure"
27934 /* confdefs.h. */
27935 _ACEOF
27936 cat confdefs.h >>conftest.$ac_ext
27937 cat >>conftest.$ac_ext <<_ACEOF
27938 /* end confdefs.h. */
27939 /* System header to define __stub macros and hopefully few prototypes,
27940 which can conflict with char $ac_func (); below.
27941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27942 <limits.h> exists even on freestanding compilers. */
27943 #ifdef __STDC__
27944 # include <limits.h>
27945 #else
27946 # include <assert.h>
27947 #endif
27948 /* Override any gcc2 internal prototype to avoid an error. */
27949 #ifdef __cplusplus
27950 extern "C"
27951 {
27952 #endif
27953 /* We use char because int might match the return type of a gcc2
27954 builtin and then its argument prototype would still apply. */
27955 char $ac_func ();
27956 /* The GNU C library defines this for functions which it implements
27957 to always fail with ENOSYS. Some functions are actually named
27958 something starting with __ and the normal name is an alias. */
27959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27960 choke me
27961 #else
27962 char (*f) () = $ac_func;
27963 #endif
27964 #ifdef __cplusplus
27965 }
27966 #endif
27967
27968 int
27969 main ()
27970 {
27971 return f != $ac_func;
27972 ;
27973 return 0;
27974 }
27975 _ACEOF
27976 rm -f conftest.$ac_objext conftest$ac_exeext
27977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27978 (eval $ac_link) 2>&5
27979 ac_status=$?
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } &&
27982 { ac_try='test -s conftest$ac_exeext'
27983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27984 (eval $ac_try) 2>&5
27985 ac_status=$?
27986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27987 (exit $ac_status); }; }; then
27988 eval "$as_ac_var=yes"
27989 else
27990 echo "$as_me: failed program was:" >&5
27991 sed 's/^/| /' conftest.$ac_ext >&5
27992
27993 eval "$as_ac_var=no"
27994 fi
27995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27996 fi
27997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27999 if test `eval echo '${'$as_ac_var'}'` = yes; then
28000 cat >>confdefs.h <<_ACEOF
28001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28002 _ACEOF
28003 break
28004 fi
28005 done
28006
28007
28008 HAVE_SOME_SLEEP_FUNC=0
28009 if test "$USE_BEOS" = 1; then
28010 cat >>confdefs.h <<\_ACEOF
28011 #define HAVE_SLEEP 1
28012 _ACEOF
28013
28014 HAVE_SOME_SLEEP_FUNC=1
28015 fi
28016
28017 if test "$USE_DARWIN" = 1; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define HAVE_USLEEP 1
28020 _ACEOF
28021
28022 HAVE_SOME_SLEEP_FUNC=1
28023 fi
28024
28025 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
28026 POSIX4_LINK=
28027
28028 for ac_func in nanosleep
28029 do
28030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28031 echo "$as_me:$LINENO: checking for $ac_func" >&5
28032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28033 if eval "test \"\${$as_ac_var+set}\" = set"; then
28034 echo $ECHO_N "(cached) $ECHO_C" >&6
28035 else
28036 cat >conftest.$ac_ext <<_ACEOF
28037 #line $LINENO "configure"
28038 /* confdefs.h. */
28039 _ACEOF
28040 cat confdefs.h >>conftest.$ac_ext
28041 cat >>conftest.$ac_ext <<_ACEOF
28042 /* end confdefs.h. */
28043 /* System header to define __stub macros and hopefully few prototypes,
28044 which can conflict with char $ac_func (); below.
28045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28046 <limits.h> exists even on freestanding compilers. */
28047 #ifdef __STDC__
28048 # include <limits.h>
28049 #else
28050 # include <assert.h>
28051 #endif
28052 /* Override any gcc2 internal prototype to avoid an error. */
28053 #ifdef __cplusplus
28054 extern "C"
28055 {
28056 #endif
28057 /* We use char because int might match the return type of a gcc2
28058 builtin and then its argument prototype would still apply. */
28059 char $ac_func ();
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28064 choke me
28065 #else
28066 char (*f) () = $ac_func;
28067 #endif
28068 #ifdef __cplusplus
28069 }
28070 #endif
28071
28072 int
28073 main ()
28074 {
28075 return f != $ac_func;
28076 ;
28077 return 0;
28078 }
28079 _ACEOF
28080 rm -f conftest.$ac_objext conftest$ac_exeext
28081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28082 (eval $ac_link) 2>&5
28083 ac_status=$?
28084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28085 (exit $ac_status); } &&
28086 { ac_try='test -s conftest$ac_exeext'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; }; then
28092 eval "$as_ac_var=yes"
28093 else
28094 echo "$as_me: failed program was:" >&5
28095 sed 's/^/| /' conftest.$ac_ext >&5
28096
28097 eval "$as_ac_var=no"
28098 fi
28099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28100 fi
28101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28103 if test `eval echo '${'$as_ac_var'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28106 _ACEOF
28107 cat >>confdefs.h <<\_ACEOF
28108 #define HAVE_NANOSLEEP 1
28109 _ACEOF
28110
28111 else
28112
28113 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
28114 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
28115 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
28116 echo $ECHO_N "(cached) $ECHO_C" >&6
28117 else
28118 ac_check_lib_save_LIBS=$LIBS
28119 LIBS="-lposix4 $LIBS"
28120 cat >conftest.$ac_ext <<_ACEOF
28121 #line $LINENO "configure"
28122 /* confdefs.h. */
28123 _ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28127
28128 /* Override any gcc2 internal prototype to avoid an error. */
28129 #ifdef __cplusplus
28130 extern "C"
28131 #endif
28132 /* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28134 char nanosleep ();
28135 int
28136 main ()
28137 {
28138 nanosleep ();
28139 ;
28140 return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145 (eval $ac_link) 2>&5
28146 ac_status=$?
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -s conftest$ac_exeext'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; }; then
28155 ac_cv_lib_posix4_nanosleep=yes
28156 else
28157 echo "$as_me: failed program was:" >&5
28158 sed 's/^/| /' conftest.$ac_ext >&5
28159
28160 ac_cv_lib_posix4_nanosleep=no
28161 fi
28162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28163 LIBS=$ac_check_lib_save_LIBS
28164 fi
28165 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
28166 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
28167 if test $ac_cv_lib_posix4_nanosleep = yes; then
28168
28169 cat >>confdefs.h <<\_ACEOF
28170 #define HAVE_NANOSLEEP 1
28171 _ACEOF
28172
28173 POSIX4_LINK=" -lposix4"
28174
28175 else
28176
28177
28178 for ac_func in usleep
28179 do
28180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28181 echo "$as_me:$LINENO: checking for $ac_func" >&5
28182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28183 if eval "test \"\${$as_ac_var+set}\" = set"; then
28184 echo $ECHO_N "(cached) $ECHO_C" >&6
28185 else
28186 cat >conftest.$ac_ext <<_ACEOF
28187 #line $LINENO "configure"
28188 /* confdefs.h. */
28189 _ACEOF
28190 cat confdefs.h >>conftest.$ac_ext
28191 cat >>conftest.$ac_ext <<_ACEOF
28192 /* end confdefs.h. */
28193 /* System header to define __stub macros and hopefully few prototypes,
28194 which can conflict with char $ac_func (); below.
28195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28196 <limits.h> exists even on freestanding compilers. */
28197 #ifdef __STDC__
28198 # include <limits.h>
28199 #else
28200 # include <assert.h>
28201 #endif
28202 /* Override any gcc2 internal prototype to avoid an error. */
28203 #ifdef __cplusplus
28204 extern "C"
28205 {
28206 #endif
28207 /* We use char because int might match the return type of a gcc2
28208 builtin and then its argument prototype would still apply. */
28209 char $ac_func ();
28210 /* The GNU C library defines this for functions which it implements
28211 to always fail with ENOSYS. Some functions are actually named
28212 something starting with __ and the normal name is an alias. */
28213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28214 choke me
28215 #else
28216 char (*f) () = $ac_func;
28217 #endif
28218 #ifdef __cplusplus
28219 }
28220 #endif
28221
28222 int
28223 main ()
28224 {
28225 return f != $ac_func;
28226 ;
28227 return 0;
28228 }
28229 _ACEOF
28230 rm -f conftest.$ac_objext conftest$ac_exeext
28231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28232 (eval $ac_link) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 eval "$as_ac_var=yes"
28243 else
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28246
28247 eval "$as_ac_var=no"
28248 fi
28249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28250 fi
28251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28253 if test `eval echo '${'$as_ac_var'}'` = yes; then
28254 cat >>confdefs.h <<_ACEOF
28255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28256 _ACEOF
28257 cat >>confdefs.h <<\_ACEOF
28258 #define HAVE_USLEEP 1
28259 _ACEOF
28260
28261 else
28262 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
28263 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
28264
28265 fi
28266 done
28267
28268
28269
28270 fi
28271
28272
28273
28274 fi
28275 done
28276
28277 fi
28278
28279
28280
28281 for ac_func in uname gethostname
28282 do
28283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28284 echo "$as_me:$LINENO: checking for $ac_func" >&5
28285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28286 if eval "test \"\${$as_ac_var+set}\" = set"; then
28287 echo $ECHO_N "(cached) $ECHO_C" >&6
28288 else
28289 cat >conftest.$ac_ext <<_ACEOF
28290 #line $LINENO "configure"
28291 /* confdefs.h. */
28292 _ACEOF
28293 cat confdefs.h >>conftest.$ac_ext
28294 cat >>conftest.$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28296 /* System header to define __stub macros and hopefully few prototypes,
28297 which can conflict with char $ac_func (); below.
28298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28299 <limits.h> exists even on freestanding compilers. */
28300 #ifdef __STDC__
28301 # include <limits.h>
28302 #else
28303 # include <assert.h>
28304 #endif
28305 /* Override any gcc2 internal prototype to avoid an error. */
28306 #ifdef __cplusplus
28307 extern "C"
28308 {
28309 #endif
28310 /* We use char because int might match the return type of a gcc2
28311 builtin and then its argument prototype would still apply. */
28312 char $ac_func ();
28313 /* The GNU C library defines this for functions which it implements
28314 to always fail with ENOSYS. Some functions are actually named
28315 something starting with __ and the normal name is an alias. */
28316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28317 choke me
28318 #else
28319 char (*f) () = $ac_func;
28320 #endif
28321 #ifdef __cplusplus
28322 }
28323 #endif
28324
28325 int
28326 main ()
28327 {
28328 return f != $ac_func;
28329 ;
28330 return 0;
28331 }
28332 _ACEOF
28333 rm -f conftest.$ac_objext conftest$ac_exeext
28334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28335 (eval $ac_link) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); } &&
28339 { ac_try='test -s conftest$ac_exeext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 eval "$as_ac_var=yes"
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350 eval "$as_ac_var=no"
28351 fi
28352 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28353 fi
28354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28356 if test `eval echo '${'$as_ac_var'}'` = yes; then
28357 cat >>confdefs.h <<_ACEOF
28358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28359 _ACEOF
28360 break
28361 fi
28362 done
28363
28364
28365
28366
28367 ac_ext=cc
28368 ac_cpp='$CXXCPP $CPPFLAGS'
28369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28372
28373
28374
28375 for ac_func in strtok_r
28376 do
28377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28378 echo "$as_me:$LINENO: checking for $ac_func" >&5
28379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28380 if eval "test \"\${$as_ac_var+set}\" = set"; then
28381 echo $ECHO_N "(cached) $ECHO_C" >&6
28382 else
28383 cat >conftest.$ac_ext <<_ACEOF
28384 #line $LINENO "configure"
28385 /* confdefs.h. */
28386 _ACEOF
28387 cat confdefs.h >>conftest.$ac_ext
28388 cat >>conftest.$ac_ext <<_ACEOF
28389 /* end confdefs.h. */
28390 /* System header to define __stub macros and hopefully few prototypes,
28391 which can conflict with char $ac_func (); below.
28392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28393 <limits.h> exists even on freestanding compilers. */
28394 #ifdef __STDC__
28395 # include <limits.h>
28396 #else
28397 # include <assert.h>
28398 #endif
28399 /* Override any gcc2 internal prototype to avoid an error. */
28400 #ifdef __cplusplus
28401 extern "C"
28402 {
28403 #endif
28404 /* We use char because int might match the return type of a gcc2
28405 builtin and then its argument prototype would still apply. */
28406 char $ac_func ();
28407 /* The GNU C library defines this for functions which it implements
28408 to always fail with ENOSYS. Some functions are actually named
28409 something starting with __ and the normal name is an alias. */
28410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28411 choke me
28412 #else
28413 char (*f) () = $ac_func;
28414 #endif
28415 #ifdef __cplusplus
28416 }
28417 #endif
28418
28419 int
28420 main ()
28421 {
28422 return f != $ac_func;
28423 ;
28424 return 0;
28425 }
28426 _ACEOF
28427 rm -f conftest.$ac_objext conftest$ac_exeext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28429 (eval $ac_link) 2>&5
28430 ac_status=$?
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); } &&
28433 { ac_try='test -s conftest$ac_exeext'
28434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28435 (eval $ac_try) 2>&5
28436 ac_status=$?
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); }; }; then
28439 eval "$as_ac_var=yes"
28440 else
28441 echo "$as_me: failed program was:" >&5
28442 sed 's/^/| /' conftest.$ac_ext >&5
28443
28444 eval "$as_ac_var=no"
28445 fi
28446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28447 fi
28448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28450 if test `eval echo '${'$as_ac_var'}'` = yes; then
28451 cat >>confdefs.h <<_ACEOF
28452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28453 _ACEOF
28454
28455 fi
28456 done
28457
28458
28459 ac_ext=c
28460 ac_cpp='$CPP $CPPFLAGS'
28461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28464
28465
28466 INET_LINK=
28467
28468 for ac_func in inet_addr
28469 do
28470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471 echo "$as_me:$LINENO: checking for $ac_func" >&5
28472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473 if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28475 else
28476 cat >conftest.$ac_ext <<_ACEOF
28477 #line $LINENO "configure"
28478 /* confdefs.h. */
28479 _ACEOF
28480 cat confdefs.h >>conftest.$ac_ext
28481 cat >>conftest.$ac_ext <<_ACEOF
28482 /* end confdefs.h. */
28483 /* System header to define __stub macros and hopefully few prototypes,
28484 which can conflict with char $ac_func (); below.
28485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28486 <limits.h> exists even on freestanding compilers. */
28487 #ifdef __STDC__
28488 # include <limits.h>
28489 #else
28490 # include <assert.h>
28491 #endif
28492 /* Override any gcc2 internal prototype to avoid an error. */
28493 #ifdef __cplusplus
28494 extern "C"
28495 {
28496 #endif
28497 /* We use char because int might match the return type of a gcc2
28498 builtin and then its argument prototype would still apply. */
28499 char $ac_func ();
28500 /* The GNU C library defines this for functions which it implements
28501 to always fail with ENOSYS. Some functions are actually named
28502 something starting with __ and the normal name is an alias. */
28503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28504 choke me
28505 #else
28506 char (*f) () = $ac_func;
28507 #endif
28508 #ifdef __cplusplus
28509 }
28510 #endif
28511
28512 int
28513 main ()
28514 {
28515 return f != $ac_func;
28516 ;
28517 return 0;
28518 }
28519 _ACEOF
28520 rm -f conftest.$ac_objext conftest$ac_exeext
28521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28522 (eval $ac_link) 2>&5
28523 ac_status=$?
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } &&
28526 { ac_try='test -s conftest$ac_exeext'
28527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28528 (eval $ac_try) 2>&5
28529 ac_status=$?
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); }; }; then
28532 eval "$as_ac_var=yes"
28533 else
28534 echo "$as_me: failed program was:" >&5
28535 sed 's/^/| /' conftest.$ac_ext >&5
28536
28537 eval "$as_ac_var=no"
28538 fi
28539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28540 fi
28541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28543 if test `eval echo '${'$as_ac_var'}'` = yes; then
28544 cat >>confdefs.h <<_ACEOF
28545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28546 _ACEOF
28547 cat >>confdefs.h <<\_ACEOF
28548 #define HAVE_INET_ADDR 1
28549 _ACEOF
28550
28551 else
28552
28553 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28554 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28555 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28556 echo $ECHO_N "(cached) $ECHO_C" >&6
28557 else
28558 ac_check_lib_save_LIBS=$LIBS
28559 LIBS="-lnsl $LIBS"
28560 cat >conftest.$ac_ext <<_ACEOF
28561 #line $LINENO "configure"
28562 /* confdefs.h. */
28563 _ACEOF
28564 cat confdefs.h >>conftest.$ac_ext
28565 cat >>conftest.$ac_ext <<_ACEOF
28566 /* end confdefs.h. */
28567
28568 /* Override any gcc2 internal prototype to avoid an error. */
28569 #ifdef __cplusplus
28570 extern "C"
28571 #endif
28572 /* We use char because int might match the return type of a gcc2
28573 builtin and then its argument prototype would still apply. */
28574 char inet_addr ();
28575 int
28576 main ()
28577 {
28578 inet_addr ();
28579 ;
28580 return 0;
28581 }
28582 _ACEOF
28583 rm -f conftest.$ac_objext conftest$ac_exeext
28584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28585 (eval $ac_link) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); } &&
28589 { ac_try='test -s conftest$ac_exeext'
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 ac_cv_lib_nsl_inet_addr=yes
28596 else
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28599
28600 ac_cv_lib_nsl_inet_addr=no
28601 fi
28602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28603 LIBS=$ac_check_lib_save_LIBS
28604 fi
28605 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28606 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28607 if test $ac_cv_lib_nsl_inet_addr = yes; then
28608 INET_LINK="nsl"
28609 else
28610
28611 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28612 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28613 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28615 else
28616 ac_check_lib_save_LIBS=$LIBS
28617 LIBS="-lresolv $LIBS"
28618 cat >conftest.$ac_ext <<_ACEOF
28619 #line $LINENO "configure"
28620 /* confdefs.h. */
28621 _ACEOF
28622 cat confdefs.h >>conftest.$ac_ext
28623 cat >>conftest.$ac_ext <<_ACEOF
28624 /* end confdefs.h. */
28625
28626 /* Override any gcc2 internal prototype to avoid an error. */
28627 #ifdef __cplusplus
28628 extern "C"
28629 #endif
28630 /* We use char because int might match the return type of a gcc2
28631 builtin and then its argument prototype would still apply. */
28632 char inet_addr ();
28633 int
28634 main ()
28635 {
28636 inet_addr ();
28637 ;
28638 return 0;
28639 }
28640 _ACEOF
28641 rm -f conftest.$ac_objext conftest$ac_exeext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28643 (eval $ac_link) 2>&5
28644 ac_status=$?
28645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28646 (exit $ac_status); } &&
28647 { ac_try='test -s conftest$ac_exeext'
28648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28649 (eval $ac_try) 2>&5
28650 ac_status=$?
28651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28652 (exit $ac_status); }; }; then
28653 ac_cv_lib_resolv_inet_addr=yes
28654 else
28655 echo "$as_me: failed program was:" >&5
28656 sed 's/^/| /' conftest.$ac_ext >&5
28657
28658 ac_cv_lib_resolv_inet_addr=no
28659 fi
28660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28661 LIBS=$ac_check_lib_save_LIBS
28662 fi
28663 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28664 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28665 if test $ac_cv_lib_resolv_inet_addr = yes; then
28666 INET_LINK="resolv"
28667 else
28668
28669 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28670 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28671 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28672 echo $ECHO_N "(cached) $ECHO_C" >&6
28673 else
28674 ac_check_lib_save_LIBS=$LIBS
28675 LIBS="-lsocket $LIBS"
28676 cat >conftest.$ac_ext <<_ACEOF
28677 #line $LINENO "configure"
28678 /* confdefs.h. */
28679 _ACEOF
28680 cat confdefs.h >>conftest.$ac_ext
28681 cat >>conftest.$ac_ext <<_ACEOF
28682 /* end confdefs.h. */
28683
28684 /* Override any gcc2 internal prototype to avoid an error. */
28685 #ifdef __cplusplus
28686 extern "C"
28687 #endif
28688 /* We use char because int might match the return type of a gcc2
28689 builtin and then its argument prototype would still apply. */
28690 char inet_addr ();
28691 int
28692 main ()
28693 {
28694 inet_addr ();
28695 ;
28696 return 0;
28697 }
28698 _ACEOF
28699 rm -f conftest.$ac_objext conftest$ac_exeext
28700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28701 (eval $ac_link) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } &&
28705 { ac_try='test -s conftest$ac_exeext'
28706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28707 (eval $ac_try) 2>&5
28708 ac_status=$?
28709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28710 (exit $ac_status); }; }; then
28711 ac_cv_lib_socket_inet_addr=yes
28712 else
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.$ac_ext >&5
28715
28716 ac_cv_lib_socket_inet_addr=no
28717 fi
28718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28719 LIBS=$ac_check_lib_save_LIBS
28720 fi
28721 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28722 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28723 if test $ac_cv_lib_socket_inet_addr = yes; then
28724 INET_LINK="socket"
28725
28726 fi
28727
28728
28729
28730 fi
28731
28732
28733
28734 fi
28735
28736
28737
28738 fi
28739 done
28740
28741
28742
28743 for ac_func in inet_aton
28744 do
28745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28746 echo "$as_me:$LINENO: checking for $ac_func" >&5
28747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28748 if eval "test \"\${$as_ac_var+set}\" = set"; then
28749 echo $ECHO_N "(cached) $ECHO_C" >&6
28750 else
28751 cat >conftest.$ac_ext <<_ACEOF
28752 #line $LINENO "configure"
28753 /* confdefs.h. */
28754 _ACEOF
28755 cat confdefs.h >>conftest.$ac_ext
28756 cat >>conftest.$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28758 /* System header to define __stub macros and hopefully few prototypes,
28759 which can conflict with char $ac_func (); below.
28760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28761 <limits.h> exists even on freestanding compilers. */
28762 #ifdef __STDC__
28763 # include <limits.h>
28764 #else
28765 # include <assert.h>
28766 #endif
28767 /* Override any gcc2 internal prototype to avoid an error. */
28768 #ifdef __cplusplus
28769 extern "C"
28770 {
28771 #endif
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28774 char $ac_func ();
28775 /* The GNU C library defines this for functions which it implements
28776 to always fail with ENOSYS. Some functions are actually named
28777 something starting with __ and the normal name is an alias. */
28778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28779 choke me
28780 #else
28781 char (*f) () = $ac_func;
28782 #endif
28783 #ifdef __cplusplus
28784 }
28785 #endif
28786
28787 int
28788 main ()
28789 {
28790 return f != $ac_func;
28791 ;
28792 return 0;
28793 }
28794 _ACEOF
28795 rm -f conftest.$ac_objext conftest$ac_exeext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28797 (eval $ac_link) 2>&5
28798 ac_status=$?
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } &&
28801 { ac_try='test -s conftest$ac_exeext'
28802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28803 (eval $ac_try) 2>&5
28804 ac_status=$?
28805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 (exit $ac_status); }; }; then
28807 eval "$as_ac_var=yes"
28808 else
28809 echo "$as_me: failed program was:" >&5
28810 sed 's/^/| /' conftest.$ac_ext >&5
28811
28812 eval "$as_ac_var=no"
28813 fi
28814 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28815 fi
28816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28818 if test `eval echo '${'$as_ac_var'}'` = yes; then
28819 cat >>confdefs.h <<_ACEOF
28820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28821 _ACEOF
28822 cat >>confdefs.h <<\_ACEOF
28823 #define HAVE_INET_ATON 1
28824 _ACEOF
28825
28826 else
28827
28828 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28829 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28830 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28831 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28833 else
28834 ac_check_lib_save_LIBS=$LIBS
28835 LIBS="-l$INET_LINK $LIBS"
28836 cat >conftest.$ac_ext <<_ACEOF
28837 #line $LINENO "configure"
28838 /* confdefs.h. */
28839 _ACEOF
28840 cat confdefs.h >>conftest.$ac_ext
28841 cat >>conftest.$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28843
28844 /* Override any gcc2 internal prototype to avoid an error. */
28845 #ifdef __cplusplus
28846 extern "C"
28847 #endif
28848 /* We use char because int might match the return type of a gcc2
28849 builtin and then its argument prototype would still apply. */
28850 char inet_aton ();
28851 int
28852 main ()
28853 {
28854 inet_aton ();
28855 ;
28856 return 0;
28857 }
28858 _ACEOF
28859 rm -f conftest.$ac_objext conftest$ac_exeext
28860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28861 (eval $ac_link) 2>&5
28862 ac_status=$?
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } &&
28865 { ac_try='test -s conftest$ac_exeext'
28866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28867 (eval $ac_try) 2>&5
28868 ac_status=$?
28869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28870 (exit $ac_status); }; }; then
28871 eval "$as_ac_Lib=yes"
28872 else
28873 echo "$as_me: failed program was:" >&5
28874 sed 's/^/| /' conftest.$ac_ext >&5
28875
28876 eval "$as_ac_Lib=no"
28877 fi
28878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28879 LIBS=$ac_check_lib_save_LIBS
28880 fi
28881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28882 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28883 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28884 cat >>confdefs.h <<\_ACEOF
28885 #define HAVE_INET_ATON 1
28886 _ACEOF
28887
28888 fi
28889
28890
28891 fi
28892 done
28893
28894
28895 if test "x$INET_LINK" != "x"; then
28896 cat >>confdefs.h <<\_ACEOF
28897 #define HAVE_INET_ADDR 1
28898 _ACEOF
28899
28900 INET_LINK=" -l$INET_LINK"
28901 fi
28902
28903 fi
28904
28905
28906
28907 EXTRALIBS_ESD=
28908 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28909 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28910 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28911 echo $ECHO_N "(cached) $ECHO_C" >&6
28912 else
28913 ac_check_lib_save_LIBS=$LIBS
28914 LIBS="-lesd $LIBS"
28915 cat >conftest.$ac_ext <<_ACEOF
28916 #line $LINENO "configure"
28917 /* confdefs.h. */
28918 _ACEOF
28919 cat confdefs.h >>conftest.$ac_ext
28920 cat >>conftest.$ac_ext <<_ACEOF
28921 /* end confdefs.h. */
28922
28923 /* Override any gcc2 internal prototype to avoid an error. */
28924 #ifdef __cplusplus
28925 extern "C"
28926 #endif
28927 /* We use char because int might match the return type of a gcc2
28928 builtin and then its argument prototype would still apply. */
28929 char esd_close ();
28930 int
28931 main ()
28932 {
28933 esd_close ();
28934 ;
28935 return 0;
28936 }
28937 _ACEOF
28938 rm -f conftest.$ac_objext conftest$ac_exeext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28941 ac_status=$?
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } &&
28944 { ac_try='test -s conftest$ac_exeext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_cv_lib_esd_esd_close=yes
28951 else
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.$ac_ext >&5
28954
28955 ac_cv_lib_esd_esd_close=no
28956 fi
28957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28958 LIBS=$ac_check_lib_save_LIBS
28959 fi
28960 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28961 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28962 if test $ac_cv_lib_esd_esd_close = yes; then
28963
28964
28965 for ac_header in esd.h
28966 do
28967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28969 echo "$as_me:$LINENO: checking for $ac_header" >&5
28970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28972 echo $ECHO_N "(cached) $ECHO_C" >&6
28973 fi
28974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28976 else
28977 # Is the header compilable?
28978 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28980 cat >conftest.$ac_ext <<_ACEOF
28981 #line $LINENO "configure"
28982 /* confdefs.h. */
28983 _ACEOF
28984 cat confdefs.h >>conftest.$ac_ext
28985 cat >>conftest.$ac_ext <<_ACEOF
28986 /* end confdefs.h. */
28987 $ac_includes_default
28988 #include <$ac_header>
28989 _ACEOF
28990 rm -f conftest.$ac_objext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28992 (eval $ac_compile) 2>&5
28993 ac_status=$?
28994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995 (exit $ac_status); } &&
28996 { ac_try='test -s conftest.$ac_objext'
28997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998 (eval $ac_try) 2>&5
28999 ac_status=$?
29000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001 (exit $ac_status); }; }; then
29002 ac_header_compiler=yes
29003 else
29004 echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29006
29007 ac_header_compiler=no
29008 fi
29009 rm -f conftest.$ac_objext conftest.$ac_ext
29010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29011 echo "${ECHO_T}$ac_header_compiler" >&6
29012
29013 # Is the header present?
29014 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29015 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29016 cat >conftest.$ac_ext <<_ACEOF
29017 #line $LINENO "configure"
29018 /* confdefs.h. */
29019 _ACEOF
29020 cat confdefs.h >>conftest.$ac_ext
29021 cat >>conftest.$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 #include <$ac_header>
29024 _ACEOF
29025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29026 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29027 ac_status=$?
29028 grep -v '^ *+' conftest.er1 >conftest.err
29029 rm -f conftest.er1
29030 cat conftest.err >&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } >/dev/null; then
29033 if test -s conftest.err; then
29034 ac_cpp_err=$ac_c_preproc_warn_flag
29035 else
29036 ac_cpp_err=
29037 fi
29038 else
29039 ac_cpp_err=yes
29040 fi
29041 if test -z "$ac_cpp_err"; then
29042 ac_header_preproc=yes
29043 else
29044 echo "$as_me: failed program was:" >&5
29045 sed 's/^/| /' conftest.$ac_ext >&5
29046
29047 ac_header_preproc=no
29048 fi
29049 rm -f conftest.err conftest.$ac_ext
29050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29051 echo "${ECHO_T}$ac_header_preproc" >&6
29052
29053 # So? What about this header?
29054 case $ac_header_compiler:$ac_header_preproc in
29055 yes:no )
29056 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29057 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29060 (
29061 cat <<\_ASBOX
29062 ## ------------------------------------ ##
29063 ## Report this to bug-autoconf@gnu.org. ##
29064 ## ------------------------------------ ##
29065 _ASBOX
29066 ) |
29067 sed "s/^/$as_me: WARNING: /" >&2
29068 ;;
29069 no:yes )
29070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29075 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29076 (
29077 cat <<\_ASBOX
29078 ## ------------------------------------ ##
29079 ## Report this to bug-autoconf@gnu.org. ##
29080 ## ------------------------------------ ##
29081 _ASBOX
29082 ) |
29083 sed "s/^/$as_me: WARNING: /" >&2
29084 ;;
29085 esac
29086 echo "$as_me:$LINENO: checking for $ac_header" >&5
29087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29089 echo $ECHO_N "(cached) $ECHO_C" >&6
29090 else
29091 eval "$as_ac_Header=$ac_header_preproc"
29092 fi
29093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29095
29096 fi
29097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29098 cat >>confdefs.h <<_ACEOF
29099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29100 _ACEOF
29101
29102 EXTRALIBS_ESD="-lesd"
29103
29104 fi
29105
29106 done
29107
29108
29109 fi
29110
29111
29112
29113 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
29114 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
29115 cat >conftest.$ac_ext <<_ACEOF
29116 #line $LINENO "configure"
29117 /* confdefs.h. */
29118 _ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h. */
29122 #ifdef __linux__
29123 #include <linux/cdrom.h>
29124 #else
29125 /* For Solaris */
29126 #include <sys/cdio.h>
29127 #endif
29128
29129 int
29130 main ()
29131 {
29132 struct cdrom_tocentry entry, old_entry;
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 rm -f conftest.$ac_objext
29138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29139 (eval $ac_compile) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); } &&
29143 { ac_try='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149 echo "$as_me:$LINENO: result: yes" >&5
29150 echo "${ECHO_T}yes" >&6
29151 cat >>confdefs.h <<\_ACEOF
29152 #define HAVE_KNOWN_CDROM_INTERFACE 1
29153 _ACEOF
29154
29155 else
29156 echo "$as_me: failed program was:" >&5
29157 sed 's/^/| /' conftest.$ac_ext >&5
29158
29159 echo "$as_me:$LINENO: result: no" >&5
29160 echo "${ECHO_T}no" >&6
29161 fi
29162 rm -f conftest.$ac_objext conftest.$ac_ext
29163
29164
29165 cat >confcache <<\_ACEOF
29166 # This file is a shell script that caches the results of configure
29167 # tests run on this system so they can be shared between configure
29168 # scripts and configure runs, see configure's option --config-cache.
29169 # It is not useful on other systems. If it contains results you don't
29170 # want to keep, you may remove or edit it.
29171 #
29172 # config.status only pays attention to the cache file if you give it
29173 # the --recheck option to rerun configure.
29174 #
29175 # `ac_cv_env_foo' variables (set or unset) will be overridden when
29176 # loading this file, other *unset* `ac_cv_foo' will be assigned the
29177 # following values.
29178
29179 _ACEOF
29180
29181 # The following way of writing the cache mishandles newlines in values,
29182 # but we know of no workaround that is simple, portable, and efficient.
29183 # So, don't put newlines in cache variables' values.
29184 # Ultrix sh set writes to stderr and can't be redirected directly,
29185 # and sets the high bit in the cache file unless we assign to the vars.
29186 {
29187 (set) 2>&1 |
29188 case `(ac_space=' '; set | grep ac_space) 2>&1` in
29189 *ac_space=\ *)
29190 # `set' does not quote correctly, so add quotes (double-quote
29191 # substitution turns \\\\ into \\, and sed turns \\ into \).
29192 sed -n \
29193 "s/'/'\\\\''/g;
29194 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29195 ;;
29196 *)
29197 # `set' quotes correctly as required by POSIX, so do not add quotes.
29198 sed -n \
29199 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
29200 ;;
29201 esac;
29202 } |
29203 sed '
29204 t clear
29205 : clear
29206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29207 t end
29208 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29209 : end' >>confcache
29210 if diff $cache_file confcache >/dev/null 2>&1; then :; else
29211 if test -w $cache_file; then
29212 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
29213 cat confcache >$cache_file
29214 else
29215 echo "not updating unwritable cache $cache_file"
29216 fi
29217 fi
29218 rm -f confcache
29219
29220
29221 CPP_MT_FLAG=
29222 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
29223
29224
29225 THREADS_LINK=
29226 THREADS_CFLAGS=
29227
29228 if test "$wxUSE_THREADS" = "yes" ; then
29229 if test "$USE_BEOS" = 1; then
29230 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
29231 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
29232 wxUSE_THREADS="no"
29233 fi
29234 fi
29235
29236 if test "$wxUSE_THREADS" = "yes" ; then
29237
29238
29239 THREAD_OPTS="-pthread"
29240 case "${host}" in
29241 *-*-solaris2* | *-*-sunos4* )
29242 if test "x$GCC" = "xyes"; then
29243 THREAD_OPTS="-pthreads $THREAD_OPTS"
29244 else
29245 THREAD_OPTS="-mt $THREAD_OPTS"
29246 fi
29247 ;;
29248 *-*-freebsd*)
29249 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
29250 ;;
29251 *-*-darwin* | *-*-cygwin* )
29252 THREAD_OPTS=""
29253 ;;
29254 *-*-aix*)
29255 THREAD_OPTS="pthreads"
29256 ;;
29257 *-hp-hpux* )
29258 if test "x$GCC" != "xyes"; then
29259 THREAD_OPTS=""
29260 fi
29261 ;;
29262
29263 *-*-irix* )
29264 if test "x$GCC" = "xyes"; then
29265 THREAD_OPTS=""
29266 fi
29267 ;;
29268
29269 *-*-*UnixWare*)
29270 if test "x$GCC" != "xyes"; then
29271 THREAD_OPTS="-Ethread"
29272 fi
29273 ;;
29274 esac
29275
29276 THREAD_OPTS="$THREAD_OPTS pthread none"
29277
29278 THREADS_OK=no
29279 for flag in $THREAD_OPTS; do
29280 case $flag in
29281 none)
29282 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
29283 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
29284 ;;
29285
29286 -*)
29287 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
29288 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
29289 THREADS_CFLAGS="$flag"
29290 ;;
29291
29292 *)
29293 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
29294 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
29295 THREADS_LINK="-l$flag"
29296 ;;
29297 esac
29298
29299 save_LIBS="$LIBS"
29300 save_CFLAGS="$CFLAGS"
29301 LIBS="$THREADS_LINK $LIBS"
29302 CFLAGS="$THREADS_CFLAGS $CFLAGS"
29303
29304 cat >conftest.$ac_ext <<_ACEOF
29305 #line $LINENO "configure"
29306 /* confdefs.h. */
29307 _ACEOF
29308 cat confdefs.h >>conftest.$ac_ext
29309 cat >>conftest.$ac_ext <<_ACEOF
29310 /* end confdefs.h. */
29311 #include <pthread.h>
29312 int
29313 main ()
29314 {
29315 pthread_create(0,0,0,0);
29316 ;
29317 return 0;
29318 }
29319 _ACEOF
29320 rm -f conftest.$ac_objext conftest$ac_exeext
29321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29322 (eval $ac_link) 2>&5
29323 ac_status=$?
29324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29325 (exit $ac_status); } &&
29326 { ac_try='test -s conftest$ac_exeext'
29327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29328 (eval $ac_try) 2>&5
29329 ac_status=$?
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); }; }; then
29332 THREADS_OK=yes
29333 else
29334 echo "$as_me: failed program was:" >&5
29335 sed 's/^/| /' conftest.$ac_ext >&5
29336
29337 fi
29338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29339
29340 LIBS="$save_LIBS"
29341 CFLAGS="$save_CFLAGS"
29342
29343 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
29344 echo "${ECHO_T}$THREADS_OK" >&6
29345 if test "x$THREADS_OK" = "xyes"; then
29346 break;
29347 fi
29348
29349 THREADS_LINK=""
29350 THREADS_CFLAGS=""
29351 done
29352
29353 if test "x$THREADS_OK" != "xyes"; then
29354 wxUSE_THREADS=no
29355 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
29356 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
29357 else
29358 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
29359 LIBS="$THREADS_LINK $LIBS"
29360
29361 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
29362 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
29363 flag=no
29364 case "${host}" in
29365 *-aix*)
29366 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
29367 flag="-D_THREAD_SAFE"
29368 ;;
29369 *-freebsd*)
29370 flag="-D_THREAD_SAFE"
29371 ;;
29372 *-hp-hpux* )
29373 flag="-D_REENTRANT"
29374 if test "x$GCC" != "xyes"; then
29375 flag="$flag -D_RWSTD_MULTI_THREAD"
29376 fi
29377 ;;
29378 *solaris* | alpha*-osf*)
29379 flag="-D_REENTRANT"
29380 ;;
29381 esac
29382 echo "$as_me:$LINENO: result: ${flag}" >&5
29383 echo "${ECHO_T}${flag}" >&6
29384 if test "x$flag" != xno; then
29385 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
29386 fi
29387
29388 if test "x$THREADS_CFLAGS" != "x"; then
29389 CFLAGS="$CFLAGS $THREADS_CFLAGS"
29390 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
29391 fi
29392 fi
29393 fi
29394
29395 if test "$wxUSE_THREADS" = "yes" ; then
29396
29397 for ac_func in thr_setconcurrency
29398 do
29399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29400 echo "$as_me:$LINENO: checking for $ac_func" >&5
29401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29402 if eval "test \"\${$as_ac_var+set}\" = set"; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405 cat >conftest.$ac_ext <<_ACEOF
29406 #line $LINENO "configure"
29407 /* confdefs.h. */
29408 _ACEOF
29409 cat confdefs.h >>conftest.$ac_ext
29410 cat >>conftest.$ac_ext <<_ACEOF
29411 /* end confdefs.h. */
29412 /* System header to define __stub macros and hopefully few prototypes,
29413 which can conflict with char $ac_func (); below.
29414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29415 <limits.h> exists even on freestanding compilers. */
29416 #ifdef __STDC__
29417 # include <limits.h>
29418 #else
29419 # include <assert.h>
29420 #endif
29421 /* Override any gcc2 internal prototype to avoid an error. */
29422 #ifdef __cplusplus
29423 extern "C"
29424 {
29425 #endif
29426 /* We use char because int might match the return type of a gcc2
29427 builtin and then its argument prototype would still apply. */
29428 char $ac_func ();
29429 /* The GNU C library defines this for functions which it implements
29430 to always fail with ENOSYS. Some functions are actually named
29431 something starting with __ and the normal name is an alias. */
29432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29433 choke me
29434 #else
29435 char (*f) () = $ac_func;
29436 #endif
29437 #ifdef __cplusplus
29438 }
29439 #endif
29440
29441 int
29442 main ()
29443 {
29444 return f != $ac_func;
29445 ;
29446 return 0;
29447 }
29448 _ACEOF
29449 rm -f conftest.$ac_objext conftest$ac_exeext
29450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29451 (eval $ac_link) 2>&5
29452 ac_status=$?
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); } &&
29455 { ac_try='test -s conftest$ac_exeext'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; }; then
29461 eval "$as_ac_var=yes"
29462 else
29463 echo "$as_me: failed program was:" >&5
29464 sed 's/^/| /' conftest.$ac_ext >&5
29465
29466 eval "$as_ac_var=no"
29467 fi
29468 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29469 fi
29470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29472 if test `eval echo '${'$as_ac_var'}'` = yes; then
29473 cat >>confdefs.h <<_ACEOF
29474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29475 _ACEOF
29476
29477 fi
29478 done
29479
29480
29481
29482 for ac_header in sched.h
29483 do
29484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29486 echo "$as_me:$LINENO: checking for $ac_header" >&5
29487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 fi
29491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29493 else
29494 # Is the header compilable?
29495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29497 cat >conftest.$ac_ext <<_ACEOF
29498 #line $LINENO "configure"
29499 /* confdefs.h. */
29500 _ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29504 $ac_includes_default
29505 #include <$ac_header>
29506 _ACEOF
29507 rm -f conftest.$ac_objext
29508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29509 (eval $ac_compile) 2>&5
29510 ac_status=$?
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); } &&
29513 { ac_try='test -s conftest.$ac_objext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29516 ac_status=$?
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_header_compiler=yes
29520 else
29521 echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.$ac_ext >&5
29523
29524 ac_header_compiler=no
29525 fi
29526 rm -f conftest.$ac_objext conftest.$ac_ext
29527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29528 echo "${ECHO_T}$ac_header_compiler" >&6
29529
29530 # Is the header present?
29531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29533 cat >conftest.$ac_ext <<_ACEOF
29534 #line $LINENO "configure"
29535 /* confdefs.h. */
29536 _ACEOF
29537 cat confdefs.h >>conftest.$ac_ext
29538 cat >>conftest.$ac_ext <<_ACEOF
29539 /* end confdefs.h. */
29540 #include <$ac_header>
29541 _ACEOF
29542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29543 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29544 ac_status=$?
29545 grep -v '^ *+' conftest.er1 >conftest.err
29546 rm -f conftest.er1
29547 cat conftest.err >&5
29548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29549 (exit $ac_status); } >/dev/null; then
29550 if test -s conftest.err; then
29551 ac_cpp_err=$ac_c_preproc_warn_flag
29552 else
29553 ac_cpp_err=
29554 fi
29555 else
29556 ac_cpp_err=yes
29557 fi
29558 if test -z "$ac_cpp_err"; then
29559 ac_header_preproc=yes
29560 else
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.$ac_ext >&5
29563
29564 ac_header_preproc=no
29565 fi
29566 rm -f conftest.err conftest.$ac_ext
29567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29568 echo "${ECHO_T}$ac_header_preproc" >&6
29569
29570 # So? What about this header?
29571 case $ac_header_compiler:$ac_header_preproc in
29572 yes:no )
29573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29576 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29577 (
29578 cat <<\_ASBOX
29579 ## ------------------------------------ ##
29580 ## Report this to bug-autoconf@gnu.org. ##
29581 ## ------------------------------------ ##
29582 _ASBOX
29583 ) |
29584 sed "s/^/$as_me: WARNING: /" >&2
29585 ;;
29586 no:yes )
29587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29592 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29593 (
29594 cat <<\_ASBOX
29595 ## ------------------------------------ ##
29596 ## Report this to bug-autoconf@gnu.org. ##
29597 ## ------------------------------------ ##
29598 _ASBOX
29599 ) |
29600 sed "s/^/$as_me: WARNING: /" >&2
29601 ;;
29602 esac
29603 echo "$as_me:$LINENO: checking for $ac_header" >&5
29604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29607 else
29608 eval "$as_ac_Header=$ac_header_preproc"
29609 fi
29610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29612
29613 fi
29614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29615 cat >>confdefs.h <<_ACEOF
29616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29617 _ACEOF
29618
29619 fi
29620
29621 done
29622
29623 if test "$ac_cv_header_sched_h" = "yes"; then
29624 echo "$as_me:$LINENO: checking for sched_yield" >&5
29625 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29626 if test "${ac_cv_func_sched_yield+set}" = set; then
29627 echo $ECHO_N "(cached) $ECHO_C" >&6
29628 else
29629 cat >conftest.$ac_ext <<_ACEOF
29630 #line $LINENO "configure"
29631 /* confdefs.h. */
29632 _ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636 /* System header to define __stub macros and hopefully few prototypes,
29637 which can conflict with char sched_yield (); below.
29638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29639 <limits.h> exists even on freestanding compilers. */
29640 #ifdef __STDC__
29641 # include <limits.h>
29642 #else
29643 # include <assert.h>
29644 #endif
29645 /* Override any gcc2 internal prototype to avoid an error. */
29646 #ifdef __cplusplus
29647 extern "C"
29648 {
29649 #endif
29650 /* We use char because int might match the return type of a gcc2
29651 builtin and then its argument prototype would still apply. */
29652 char sched_yield ();
29653 /* The GNU C library defines this for functions which it implements
29654 to always fail with ENOSYS. Some functions are actually named
29655 something starting with __ and the normal name is an alias. */
29656 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29657 choke me
29658 #else
29659 char (*f) () = sched_yield;
29660 #endif
29661 #ifdef __cplusplus
29662 }
29663 #endif
29664
29665 int
29666 main ()
29667 {
29668 return f != sched_yield;
29669 ;
29670 return 0;
29671 }
29672 _ACEOF
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29675 (eval $ac_link) 2>&5
29676 ac_status=$?
29677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29678 (exit $ac_status); } &&
29679 { ac_try='test -s conftest$ac_exeext'
29680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29681 (eval $ac_try) 2>&5
29682 ac_status=$?
29683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29684 (exit $ac_status); }; }; then
29685 ac_cv_func_sched_yield=yes
29686 else
29687 echo "$as_me: failed program was:" >&5
29688 sed 's/^/| /' conftest.$ac_ext >&5
29689
29690 ac_cv_func_sched_yield=no
29691 fi
29692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29693 fi
29694 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29695 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29696 if test $ac_cv_func_sched_yield = yes; then
29697 cat >>confdefs.h <<\_ACEOF
29698 #define HAVE_SCHED_YIELD 1
29699 _ACEOF
29700
29701 else
29702
29703 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29704 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29705 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 else
29708 ac_check_lib_save_LIBS=$LIBS
29709 LIBS="-lposix4 $LIBS"
29710 cat >conftest.$ac_ext <<_ACEOF
29711 #line $LINENO "configure"
29712 /* confdefs.h. */
29713 _ACEOF
29714 cat confdefs.h >>conftest.$ac_ext
29715 cat >>conftest.$ac_ext <<_ACEOF
29716 /* end confdefs.h. */
29717
29718 /* Override any gcc2 internal prototype to avoid an error. */
29719 #ifdef __cplusplus
29720 extern "C"
29721 #endif
29722 /* We use char because int might match the return type of a gcc2
29723 builtin and then its argument prototype would still apply. */
29724 char sched_yield ();
29725 int
29726 main ()
29727 {
29728 sched_yield ();
29729 ;
29730 return 0;
29731 }
29732 _ACEOF
29733 rm -f conftest.$ac_objext conftest$ac_exeext
29734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29735 (eval $ac_link) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } &&
29739 { ac_try='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 ac_cv_lib_posix4_sched_yield=yes
29746 else
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750 ac_cv_lib_posix4_sched_yield=no
29751 fi
29752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29753 LIBS=$ac_check_lib_save_LIBS
29754 fi
29755 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29756 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29757 if test $ac_cv_lib_posix4_sched_yield = yes; then
29758 cat >>confdefs.h <<\_ACEOF
29759 #define HAVE_SCHED_YIELD 1
29760 _ACEOF
29761 POSIX4_LINK=" -lposix4"
29762 else
29763 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29764 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29765
29766 fi
29767
29768
29769
29770 fi
29771
29772 fi
29773
29774 HAVE_PRIOR_FUNCS=0
29775 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29776 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29777 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29779 else
29780 cat >conftest.$ac_ext <<_ACEOF
29781 #line $LINENO "configure"
29782 /* confdefs.h. */
29783 _ACEOF
29784 cat confdefs.h >>conftest.$ac_ext
29785 cat >>conftest.$ac_ext <<_ACEOF
29786 /* end confdefs.h. */
29787 /* System header to define __stub macros and hopefully few prototypes,
29788 which can conflict with char pthread_attr_getschedpolicy (); below.
29789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29790 <limits.h> exists even on freestanding compilers. */
29791 #ifdef __STDC__
29792 # include <limits.h>
29793 #else
29794 # include <assert.h>
29795 #endif
29796 /* Override any gcc2 internal prototype to avoid an error. */
29797 #ifdef __cplusplus
29798 extern "C"
29799 {
29800 #endif
29801 /* We use char because int might match the return type of a gcc2
29802 builtin and then its argument prototype would still apply. */
29803 char pthread_attr_getschedpolicy ();
29804 /* The GNU C library defines this for functions which it implements
29805 to always fail with ENOSYS. Some functions are actually named
29806 something starting with __ and the normal name is an alias. */
29807 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29808 choke me
29809 #else
29810 char (*f) () = pthread_attr_getschedpolicy;
29811 #endif
29812 #ifdef __cplusplus
29813 }
29814 #endif
29815
29816 int
29817 main ()
29818 {
29819 return f != pthread_attr_getschedpolicy;
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29826 (eval $ac_link) 2>&5
29827 ac_status=$?
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try='test -s conftest$ac_exeext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836 ac_cv_func_pthread_attr_getschedpolicy=yes
29837 else
29838 echo "$as_me: failed program was:" >&5
29839 sed 's/^/| /' conftest.$ac_ext >&5
29840
29841 ac_cv_func_pthread_attr_getschedpolicy=no
29842 fi
29843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29844 fi
29845 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29846 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29847 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29848 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29849 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29850 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29852 else
29853 cat >conftest.$ac_ext <<_ACEOF
29854 #line $LINENO "configure"
29855 /* confdefs.h. */
29856 _ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 /* System header to define __stub macros and hopefully few prototypes,
29861 which can conflict with char pthread_attr_setschedparam (); below.
29862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29863 <limits.h> exists even on freestanding compilers. */
29864 #ifdef __STDC__
29865 # include <limits.h>
29866 #else
29867 # include <assert.h>
29868 #endif
29869 /* Override any gcc2 internal prototype to avoid an error. */
29870 #ifdef __cplusplus
29871 extern "C"
29872 {
29873 #endif
29874 /* We use char because int might match the return type of a gcc2
29875 builtin and then its argument prototype would still apply. */
29876 char pthread_attr_setschedparam ();
29877 /* The GNU C library defines this for functions which it implements
29878 to always fail with ENOSYS. Some functions are actually named
29879 something starting with __ and the normal name is an alias. */
29880 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29881 choke me
29882 #else
29883 char (*f) () = pthread_attr_setschedparam;
29884 #endif
29885 #ifdef __cplusplus
29886 }
29887 #endif
29888
29889 int
29890 main ()
29891 {
29892 return f != pthread_attr_setschedparam;
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 rm -f conftest.$ac_objext conftest$ac_exeext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909 ac_cv_func_pthread_attr_setschedparam=yes
29910 else
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.$ac_ext >&5
29913
29914 ac_cv_func_pthread_attr_setschedparam=no
29915 fi
29916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29917 fi
29918 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29919 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29920 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29921 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29922 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29923 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29924 echo $ECHO_N "(cached) $ECHO_C" >&6
29925 else
29926 cat >conftest.$ac_ext <<_ACEOF
29927 #line $LINENO "configure"
29928 /* confdefs.h. */
29929 _ACEOF
29930 cat confdefs.h >>conftest.$ac_ext
29931 cat >>conftest.$ac_ext <<_ACEOF
29932 /* end confdefs.h. */
29933 /* System header to define __stub macros and hopefully few prototypes,
29934 which can conflict with char sched_get_priority_max (); below.
29935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29936 <limits.h> exists even on freestanding compilers. */
29937 #ifdef __STDC__
29938 # include <limits.h>
29939 #else
29940 # include <assert.h>
29941 #endif
29942 /* Override any gcc2 internal prototype to avoid an error. */
29943 #ifdef __cplusplus
29944 extern "C"
29945 {
29946 #endif
29947 /* We use char because int might match the return type of a gcc2
29948 builtin and then its argument prototype would still apply. */
29949 char sched_get_priority_max ();
29950 /* The GNU C library defines this for functions which it implements
29951 to always fail with ENOSYS. Some functions are actually named
29952 something starting with __ and the normal name is an alias. */
29953 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29954 choke me
29955 #else
29956 char (*f) () = sched_get_priority_max;
29957 #endif
29958 #ifdef __cplusplus
29959 }
29960 #endif
29961
29962 int
29963 main ()
29964 {
29965 return f != sched_get_priority_max;
29966 ;
29967 return 0;
29968 }
29969 _ACEOF
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29972 (eval $ac_link) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); } &&
29976 { ac_try='test -s conftest$ac_exeext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 ac_cv_func_sched_get_priority_max=yes
29983 else
29984 echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.$ac_ext >&5
29986
29987 ac_cv_func_sched_get_priority_max=no
29988 fi
29989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29990 fi
29991 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29992 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29993 if test $ac_cv_func_sched_get_priority_max = yes; then
29994 HAVE_PRIOR_FUNCS=1
29995 else
29996 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29997 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29998 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29999 echo $ECHO_N "(cached) $ECHO_C" >&6
30000 else
30001 ac_check_lib_save_LIBS=$LIBS
30002 LIBS="-lposix4 $LIBS"
30003 cat >conftest.$ac_ext <<_ACEOF
30004 #line $LINENO "configure"
30005 /* confdefs.h. */
30006 _ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30010
30011 /* Override any gcc2 internal prototype to avoid an error. */
30012 #ifdef __cplusplus
30013 extern "C"
30014 #endif
30015 /* We use char because int might match the return type of a gcc2
30016 builtin and then its argument prototype would still apply. */
30017 char sched_get_priority_max ();
30018 int
30019 main ()
30020 {
30021 sched_get_priority_max ();
30022 ;
30023 return 0;
30024 }
30025 _ACEOF
30026 rm -f conftest.$ac_objext conftest$ac_exeext
30027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30028 (eval $ac_link) 2>&5
30029 ac_status=$?
30030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30031 (exit $ac_status); } &&
30032 { ac_try='test -s conftest$ac_exeext'
30033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30034 (eval $ac_try) 2>&5
30035 ac_status=$?
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); }; }; then
30038 ac_cv_lib_posix4_sched_get_priority_max=yes
30039 else
30040 echo "$as_me: failed program was:" >&5
30041 sed 's/^/| /' conftest.$ac_ext >&5
30042
30043 ac_cv_lib_posix4_sched_get_priority_max=no
30044 fi
30045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30046 LIBS=$ac_check_lib_save_LIBS
30047 fi
30048 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
30049 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
30050 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
30051
30052 HAVE_PRIOR_FUNCS=1
30053 POSIX4_LINK=" -lposix4"
30054
30055 fi
30056
30057
30058 fi
30059
30060
30061 fi
30062
30063
30064 fi
30065
30066
30067 if test "$HAVE_PRIOR_FUNCS" = 1; then
30068 cat >>confdefs.h <<\_ACEOF
30069 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
30070 _ACEOF
30071
30072 else
30073 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
30074 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
30075 fi
30076
30077 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
30078 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
30079 if test "${ac_cv_func_pthread_cancel+set}" = set; then
30080 echo $ECHO_N "(cached) $ECHO_C" >&6
30081 else
30082 cat >conftest.$ac_ext <<_ACEOF
30083 #line $LINENO "configure"
30084 /* confdefs.h. */
30085 _ACEOF
30086 cat confdefs.h >>conftest.$ac_ext
30087 cat >>conftest.$ac_ext <<_ACEOF
30088 /* end confdefs.h. */
30089 /* System header to define __stub macros and hopefully few prototypes,
30090 which can conflict with char pthread_cancel (); below.
30091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30092 <limits.h> exists even on freestanding compilers. */
30093 #ifdef __STDC__
30094 # include <limits.h>
30095 #else
30096 # include <assert.h>
30097 #endif
30098 /* Override any gcc2 internal prototype to avoid an error. */
30099 #ifdef __cplusplus
30100 extern "C"
30101 {
30102 #endif
30103 /* We use char because int might match the return type of a gcc2
30104 builtin and then its argument prototype would still apply. */
30105 char pthread_cancel ();
30106 /* The GNU C library defines this for functions which it implements
30107 to always fail with ENOSYS. Some functions are actually named
30108 something starting with __ and the normal name is an alias. */
30109 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
30110 choke me
30111 #else
30112 char (*f) () = pthread_cancel;
30113 #endif
30114 #ifdef __cplusplus
30115 }
30116 #endif
30117
30118 int
30119 main ()
30120 {
30121 return f != pthread_cancel;
30122 ;
30123 return 0;
30124 }
30125 _ACEOF
30126 rm -f conftest.$ac_objext conftest$ac_exeext
30127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30128 (eval $ac_link) 2>&5
30129 ac_status=$?
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); } &&
30132 { ac_try='test -s conftest$ac_exeext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 ac_cv_func_pthread_cancel=yes
30139 else
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30142
30143 ac_cv_func_pthread_cancel=no
30144 fi
30145 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30146 fi
30147 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
30148 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
30149 if test $ac_cv_func_pthread_cancel = yes; then
30150 cat >>confdefs.h <<\_ACEOF
30151 #define HAVE_PTHREAD_CANCEL 1
30152 _ACEOF
30153
30154 else
30155 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
30156 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
30157 fi
30158
30159
30160
30161
30162 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
30163 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
30164 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
30165 echo $ECHO_N "(cached) $ECHO_C" >&6
30166 else
30167
30168 cat >conftest.$ac_ext <<_ACEOF
30169 #line $LINENO "configure"
30170 /* confdefs.h. */
30171 _ACEOF
30172 cat confdefs.h >>conftest.$ac_ext
30173 cat >>conftest.$ac_ext <<_ACEOF
30174 /* end confdefs.h. */
30175 #include <pthread.h>
30176 int
30177 main ()
30178 {
30179
30180 pthread_mutexattr_t attr;
30181 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
30182
30183 ;
30184 return 0;
30185 }
30186 _ACEOF
30187 rm -f conftest.$ac_objext
30188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30189 (eval $ac_compile) 2>&5
30190 ac_status=$?
30191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30192 (exit $ac_status); } &&
30193 { ac_try='test -s conftest.$ac_objext'
30194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30195 (eval $ac_try) 2>&5
30196 ac_status=$?
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); }; }; then
30199
30200 wx_cv_type_pthread_mutexattr_t=yes
30201
30202 else
30203 echo "$as_me: failed program was:" >&5
30204 sed 's/^/| /' conftest.$ac_ext >&5
30205
30206
30207 wx_cv_type_pthread_mutexattr_t=no
30208
30209
30210 fi
30211 rm -f conftest.$ac_objext conftest.$ac_ext
30212
30213 fi
30214 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
30215 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
30216
30217 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
30218 cat >>confdefs.h <<\_ACEOF
30219 #define HAVE_PTHREAD_MUTEXATTR_T 1
30220 _ACEOF
30221
30222 else
30223 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
30224 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
30225 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30227 else
30228
30229 cat >conftest.$ac_ext <<_ACEOF
30230 #line $LINENO "configure"
30231 /* confdefs.h. */
30232 _ACEOF
30233 cat confdefs.h >>conftest.$ac_ext
30234 cat >>conftest.$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30236 #include <pthread.h>
30237 int
30238 main ()
30239 {
30240
30241 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
30242
30243 ;
30244 return 0;
30245 }
30246 _ACEOF
30247 rm -f conftest.$ac_objext
30248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30249 (eval $ac_compile) 2>&5
30250 ac_status=$?
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); } &&
30253 { ac_try='test -s conftest.$ac_objext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30256 ac_status=$?
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30259
30260 wx_cv_type_pthread_rec_mutex_init=yes
30261
30262 else
30263 echo "$as_me: failed program was:" >&5
30264 sed 's/^/| /' conftest.$ac_ext >&5
30265
30266
30267 wx_cv_type_pthread_rec_mutex_init=no
30268
30269
30270 fi
30271 rm -f conftest.$ac_objext conftest.$ac_ext
30272
30273 fi
30274 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
30275 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
30276 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
30277 cat >>confdefs.h <<\_ACEOF
30278 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
30279 _ACEOF
30280
30281 else
30282 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
30283 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
30284 fi
30285 fi
30286 fi
30287
30288 else
30289 if test "$wxUSE_THREADS" = "yes" ; then
30290 case "${host}" in
30291 *-*-mingw32* )
30292 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
30293 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
30294 if test "${wx_cv_cflags_mthread+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 else
30297
30298 CFLAGS_OLD="$CFLAGS"
30299 CFLAGS="$CFLAGS -mthreads"
30300 cat >conftest.$ac_ext <<_ACEOF
30301 #line $LINENO "configure"
30302 /* confdefs.h. */
30303 _ACEOF
30304 cat confdefs.h >>conftest.$ac_ext
30305 cat >>conftest.$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307
30308 int
30309 main ()
30310 {
30311
30312 ;
30313 return 0;
30314 }
30315 _ACEOF
30316 rm -f conftest.$ac_objext
30317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30318 (eval $ac_compile) 2>&5
30319 ac_status=$?
30320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321 (exit $ac_status); } &&
30322 { ac_try='test -s conftest.$ac_objext'
30323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30324 (eval $ac_try) 2>&5
30325 ac_status=$?
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); }; }; then
30328 wx_cv_cflags_mthread=yes
30329 else
30330 echo "$as_me: failed program was:" >&5
30331 sed 's/^/| /' conftest.$ac_ext >&5
30332
30333 wx_cv_cflags_mthread=no
30334
30335 fi
30336 rm -f conftest.$ac_objext conftest.$ac_ext
30337
30338
30339 fi
30340 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
30341 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
30342
30343 if test "$wx_cv_cflags_mthread" = "yes"; then
30344 CXXFLAGS="$CXXFLAGS -mthreads"
30345 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
30346 LDFLAGS="$LDFLAGS -mthreads"
30347 else
30348 CFLAGS="$CFLAGS_OLD"
30349 fi
30350 ;;
30351 *-pc-os2*emx )
30352 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
30353 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
30354 LDFLAGS="$LDFLAGS -Zmt"
30355 ;;
30356 esac
30357 fi
30358 fi
30359
30360 if test "$wxUSE_THREADS" = "yes"; then
30361 cat >>confdefs.h <<\_ACEOF
30362 #define wxUSE_THREADS 1
30363 _ACEOF
30364
30365
30366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
30367 else
30368 if test "$ac_cv_func_strtok_r" = "yes"; then
30369 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30370 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30371 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30372 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30373 echo "$as_me:$LINENO: result: yes" >&5
30374 echo "${ECHO_T}yes" >&6
30375 else
30376 echo "$as_me:$LINENO: result: no" >&5
30377 echo "${ECHO_T}no" >&6
30378 fi
30379 fi
30380 fi
30381
30382 if test "$WXGTK20" = 1 ; then
30383 cat >>confdefs.h <<_ACEOF
30384 #define __WXGTK20__ $WXGTK20
30385 _ACEOF
30386
30387 WXGTK12=1
30388 fi
30389
30390 if test "$WXGTK12" = 1 ; then
30391 cat >>confdefs.h <<_ACEOF
30392 #define __WXGTK12__ $WXGTK12
30393 _ACEOF
30394
30395 fi
30396
30397 if test "$WXGTK127" = 1 ; then
30398 cat >>confdefs.h <<_ACEOF
30399 #define __WXGTK127__ $WXGTK127
30400 _ACEOF
30401
30402 fi
30403
30404 WXDEBUG=
30405
30406 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30407 WXDEBUG="-g"
30408 wxUSE_OPTIMISE=no
30409 fi
30410
30411 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30412 wxUSE_DEBUG_INFO=yes
30413 WXDEBUG="-ggdb"
30414 fi
30415
30416 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30417 cat >>confdefs.h <<\_ACEOF
30418 #define WXDEBUG 1
30419 _ACEOF
30420
30421 WXDEBUG_DEFINE="-D__WXDEBUG__"
30422 else
30423 if test "$wxUSE_GTK" = 1 ; then
30424 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30425 fi
30426 fi
30427
30428 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30429 cat >>confdefs.h <<\_ACEOF
30430 #define wxUSE_MEMORY_TRACING 1
30431 _ACEOF
30432
30433 cat >>confdefs.h <<\_ACEOF
30434 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30435 _ACEOF
30436
30437 cat >>confdefs.h <<\_ACEOF
30438 #define wxUSE_DEBUG_NEW_ALWAYS 1
30439 _ACEOF
30440
30441 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30442 fi
30443
30444 if test "$wxUSE_DMALLOC" = "yes" ; then
30445 DMALLOC_LIBS="-ldmalloc"
30446 fi
30447
30448 PROFILE=
30449 if test "$wxUSE_PROFILE" = "yes" ; then
30450 PROFILE=" -pg"
30451 fi
30452
30453 CODE_GEN_FLAGS=
30454 CODE_GEN_FLAGS_CXX=
30455 if test "$GCC" = "yes" ; then
30456 if test "$wxUSE_NO_RTTI" = "yes" ; then
30457 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30458 fi
30459 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30460 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30461 fi
30462 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30463 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30464 fi
30465
30466 case "${host}" in
30467 powerpc*-*-aix* )
30468 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30469 ;;
30470 *-hppa* )
30471 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30472 ;;
30473 esac
30474 fi
30475
30476 OPTIMISE=
30477 if test "$wxUSE_OPTIMISE" = "no" ; then
30478 if test "$GCC" = yes ; then
30479 OPTIMISE="-O0"
30480 fi
30481 else
30482 if test "$GCC" = yes ; then
30483 OPTIMISE="-O2"
30484
30485 case "${host}" in
30486 i586-*-*|i686-*-* )
30487 OPTIMISE="${OPTIMISE} "
30488 ;;
30489 esac
30490 else
30491 OPTIMISE="-O"
30492 fi
30493 fi
30494
30495
30496 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30497 cat >>confdefs.h <<\_ACEOF
30498 #define WXWIN_COMPATIBILITY_2_2 1
30499 _ACEOF
30500
30501
30502 WXWIN_COMPATIBILITY_2_4="yes"
30503 fi
30504
30505 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30506 cat >>confdefs.h <<\_ACEOF
30507 #define WXWIN_COMPATIBILITY_2_4 1
30508 _ACEOF
30509
30510 fi
30511
30512
30513 if test "$wxUSE_GUI" = "yes"; then
30514 cat >>confdefs.h <<\_ACEOF
30515 #define wxUSE_GUI 1
30516 _ACEOF
30517
30518
30519 else
30520 cat >>confdefs.h <<\_ACEOF
30521 #define wxUSE_NOGUI 1
30522 _ACEOF
30523
30524 fi
30525
30526
30527 if test "$wxUSE_UNIX" = "yes"; then
30528 cat >>confdefs.h <<\_ACEOF
30529 #define wxUSE_UNIX 1
30530 _ACEOF
30531
30532 fi
30533
30534
30535 if test "$wxUSE_STL" = "yes"; then
30536 cat >>confdefs.h <<\_ACEOF
30537 #define wxUSE_STL 1
30538 _ACEOF
30539
30540 fi
30541
30542 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30543 cat >>confdefs.h <<\_ACEOF
30544 #define wxUSE_APPLE_IEEE 1
30545 _ACEOF
30546
30547 fi
30548
30549 if test "$wxUSE_TIMER" = "yes"; then
30550 cat >>confdefs.h <<\_ACEOF
30551 #define wxUSE_TIMER 1
30552 _ACEOF
30553
30554 fi
30555
30556 if test "$wxUSE_WAVE" = "yes"; then
30557 cat >>confdefs.h <<\_ACEOF
30558 #define wxUSE_WAVE 1
30559 _ACEOF
30560
30561 fi
30562
30563 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30564 cat >>confdefs.h <<\_ACEOF
30565 #define wxUSE_CMDLINE_PARSER 1
30566 _ACEOF
30567
30568 fi
30569
30570 if test "$wxUSE_STOPWATCH" = "yes"; then
30571 cat >>confdefs.h <<\_ACEOF
30572 #define wxUSE_STOPWATCH 1
30573 _ACEOF
30574
30575 fi
30576
30577 if test "$wxUSE_DATETIME" = "yes"; then
30578 cat >>confdefs.h <<\_ACEOF
30579 #define wxUSE_DATETIME 1
30580 _ACEOF
30581
30582 fi
30583
30584 if test "$wxUSE_FILE" = "yes"; then
30585 cat >>confdefs.h <<\_ACEOF
30586 #define wxUSE_FILE 1
30587 _ACEOF
30588
30589 fi
30590
30591 if test "$wxUSE_FFILE" = "yes"; then
30592 cat >>confdefs.h <<\_ACEOF
30593 #define wxUSE_FFILE 1
30594 _ACEOF
30595
30596 fi
30597
30598 if test "$wxUSE_FILESYSTEM" = "yes"; then
30599 cat >>confdefs.h <<\_ACEOF
30600 #define wxUSE_FILESYSTEM 1
30601 _ACEOF
30602
30603 fi
30604
30605 if test "$wxUSE_FS_ZIP" = "yes"; then
30606 cat >>confdefs.h <<\_ACEOF
30607 #define wxUSE_FS_ZIP 1
30608 _ACEOF
30609
30610 fi
30611
30612 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30613 cat >>confdefs.h <<\_ACEOF
30614 #define wxUSE_ZIPSTREAM 1
30615 _ACEOF
30616
30617 fi
30618
30619 if test "$wxUSE_GZSTREAM" = "yes"; then
30620 cat >>confdefs.h <<\_ACEOF
30621 #define wxUSE_GZSTREAM 1
30622 _ACEOF
30623
30624 fi
30625
30626 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30627 cat >>confdefs.h <<\_ACEOF
30628 #define wxUSE_ON_FATAL_EXCEPTION 1
30629 _ACEOF
30630
30631 fi
30632
30633 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30634 cat >>confdefs.h <<\_ACEOF
30635 #define wxUSE_SNGLINST_CHECKER 1
30636 _ACEOF
30637
30638 fi
30639
30640 if test "$wxUSE_BUSYINFO" = "yes"; then
30641 cat >>confdefs.h <<\_ACEOF
30642 #define wxUSE_BUSYINFO 1
30643 _ACEOF
30644
30645 fi
30646
30647 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30648 cat >>confdefs.h <<\_ACEOF
30649 #define wxUSE_STD_IOSTREAM 1
30650 _ACEOF
30651
30652 fi
30653
30654 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30655 cat >>confdefs.h <<\_ACEOF
30656 #define wxUSE_TEXTBUFFER 1
30657 _ACEOF
30658
30659 fi
30660
30661 if test "$wxUSE_TEXTFILE" = "yes"; then
30662 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30663 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30664 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30665 else
30666 cat >>confdefs.h <<\_ACEOF
30667 #define wxUSE_TEXTFILE 1
30668 _ACEOF
30669
30670 fi
30671 fi
30672
30673 if test "$wxUSE_CONFIG" = "yes" ; then
30674 if test "$wxUSE_TEXTFILE" != "yes"; then
30675 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30676 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30677 else
30678 cat >>confdefs.h <<\_ACEOF
30679 #define wxUSE_CONFIG 1
30680 _ACEOF
30681
30682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30683 fi
30684 fi
30685
30686 if test "$wxUSE_INTL" = "yes" ; then
30687 if test "$wxUSE_FILE" != "yes"; then
30688 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30689 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30690 else
30691 cat >>confdefs.h <<\_ACEOF
30692 #define wxUSE_INTL 1
30693 _ACEOF
30694
30695 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30696 GUIDIST="$GUIDIST INTL_DIST"
30697 fi
30698 fi
30699
30700 if test "$wxUSE_LOG" = "yes"; then
30701 cat >>confdefs.h <<\_ACEOF
30702 #define wxUSE_LOG 1
30703 _ACEOF
30704
30705
30706 if test "$wxUSE_LOGGUI" = "yes"; then
30707 cat >>confdefs.h <<\_ACEOF
30708 #define wxUSE_LOGGUI 1
30709 _ACEOF
30710
30711 fi
30712
30713 if test "$wxUSE_LOGWINDOW" = "yes"; then
30714 cat >>confdefs.h <<\_ACEOF
30715 #define wxUSE_LOGWINDOW 1
30716 _ACEOF
30717
30718 fi
30719
30720 if test "$wxUSE_LOGDIALOG" = "yes"; then
30721 cat >>confdefs.h <<\_ACEOF
30722 #define wxUSE_LOG_DIALOG 1
30723 _ACEOF
30724
30725 fi
30726 fi
30727
30728 if test "$wxUSE_LONGLONG" = "yes"; then
30729 cat >>confdefs.h <<\_ACEOF
30730 #define wxUSE_LONGLONG 1
30731 _ACEOF
30732
30733 fi
30734
30735 if test "$wxUSE_GEOMETRY" = "yes"; then
30736 cat >>confdefs.h <<\_ACEOF
30737 #define wxUSE_GEOMETRY 1
30738 _ACEOF
30739
30740 fi
30741
30742 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30743 cat >>confdefs.h <<\_ACEOF
30744 #define wxUSE_DIALUP_MANAGER 1
30745 _ACEOF
30746
30747 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30748 fi
30749
30750 if test "$wxUSE_STREAMS" = "yes" ; then
30751 cat >>confdefs.h <<\_ACEOF
30752 #define wxUSE_STREAMS 1
30753 _ACEOF
30754
30755 fi
30756
30757
30758 if test "$wxUSE_DATETIME" = "yes"; then
30759
30760 for ac_func in strptime
30761 do
30762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30763 echo "$as_me:$LINENO: checking for $ac_func" >&5
30764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30765 if eval "test \"\${$as_ac_var+set}\" = set"; then
30766 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 else
30768 cat >conftest.$ac_ext <<_ACEOF
30769 #line $LINENO "configure"
30770 /* confdefs.h. */
30771 _ACEOF
30772 cat confdefs.h >>conftest.$ac_ext
30773 cat >>conftest.$ac_ext <<_ACEOF
30774 /* end confdefs.h. */
30775 /* System header to define __stub macros and hopefully few prototypes,
30776 which can conflict with char $ac_func (); below.
30777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30778 <limits.h> exists even on freestanding compilers. */
30779 #ifdef __STDC__
30780 # include <limits.h>
30781 #else
30782 # include <assert.h>
30783 #endif
30784 /* Override any gcc2 internal prototype to avoid an error. */
30785 #ifdef __cplusplus
30786 extern "C"
30787 {
30788 #endif
30789 /* We use char because int might match the return type of a gcc2
30790 builtin and then its argument prototype would still apply. */
30791 char $ac_func ();
30792 /* The GNU C library defines this for functions which it implements
30793 to always fail with ENOSYS. Some functions are actually named
30794 something starting with __ and the normal name is an alias. */
30795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30796 choke me
30797 #else
30798 char (*f) () = $ac_func;
30799 #endif
30800 #ifdef __cplusplus
30801 }
30802 #endif
30803
30804 int
30805 main ()
30806 {
30807 return f != $ac_func;
30808 ;
30809 return 0;
30810 }
30811 _ACEOF
30812 rm -f conftest.$ac_objext conftest$ac_exeext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30814 (eval $ac_link) 2>&5
30815 ac_status=$?
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); } &&
30818 { ac_try='test -s conftest$ac_exeext'
30819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30820 (eval $ac_try) 2>&5
30821 ac_status=$?
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); }; }; then
30824 eval "$as_ac_var=yes"
30825 else
30826 echo "$as_me: failed program was:" >&5
30827 sed 's/^/| /' conftest.$ac_ext >&5
30828
30829 eval "$as_ac_var=no"
30830 fi
30831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30832 fi
30833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30835 if test `eval echo '${'$as_ac_var'}'` = yes; then
30836 cat >>confdefs.h <<_ACEOF
30837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30838 _ACEOF
30839
30840 fi
30841 done
30842
30843
30844 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30845 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30846 if test "${wx_cv_var_timezone+set}" = set; then
30847 echo $ECHO_N "(cached) $ECHO_C" >&6
30848 else
30849
30850 cat >conftest.$ac_ext <<_ACEOF
30851 #line $LINENO "configure"
30852 /* confdefs.h. */
30853 _ACEOF
30854 cat confdefs.h >>conftest.$ac_ext
30855 cat >>conftest.$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30857
30858 #include <time.h>
30859
30860 int
30861 main ()
30862 {
30863
30864 int tz;
30865 tz = timezone;
30866
30867 ;
30868 return 0;
30869 }
30870 _ACEOF
30871 rm -f conftest.$ac_objext
30872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30873 (eval $ac_compile) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); } &&
30877 { ac_try='test -s conftest.$ac_objext'
30878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879 (eval $ac_try) 2>&5
30880 ac_status=$?
30881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882 (exit $ac_status); }; }; then
30883
30884 wx_cv_var_timezone=timezone
30885
30886 else
30887 echo "$as_me: failed program was:" >&5
30888 sed 's/^/| /' conftest.$ac_ext >&5
30889
30890
30891 cat >conftest.$ac_ext <<_ACEOF
30892 #line $LINENO "configure"
30893 /* confdefs.h. */
30894 _ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30898
30899 #include <time.h>
30900
30901 int
30902 main ()
30903 {
30904
30905 int tz;
30906 tz = _timezone;
30907
30908 ;
30909 return 0;
30910 }
30911 _ACEOF
30912 rm -f conftest.$ac_objext
30913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30914 (eval $ac_compile) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try='test -s conftest.$ac_objext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924
30925 wx_cv_var_timezone=_timezone
30926
30927 else
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.$ac_ext >&5
30930
30931
30932 cat >conftest.$ac_ext <<_ACEOF
30933 #line $LINENO "configure"
30934 /* confdefs.h. */
30935 _ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939
30940 #include <time.h>
30941
30942 int
30943 main ()
30944 {
30945
30946 int tz;
30947 tz = __timezone;
30948
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30955 (eval $ac_compile) 2>&5
30956 ac_status=$?
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try='test -s conftest.$ac_objext'
30960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30961 (eval $ac_try) 2>&5
30962 ac_status=$?
30963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30964 (exit $ac_status); }; }; then
30965
30966 wx_cv_var_timezone=__timezone
30967
30968 else
30969 echo "$as_me: failed program was:" >&5
30970 sed 's/^/| /' conftest.$ac_ext >&5
30971
30972
30973 if test "$USE_DOS" = 0 ; then
30974 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30975 echo "$as_me: WARNING: no timezone variable" >&2;}
30976 fi
30977
30978
30979 fi
30980 rm -f conftest.$ac_objext conftest.$ac_ext
30981
30982
30983 fi
30984 rm -f conftest.$ac_objext conftest.$ac_ext
30985
30986
30987 fi
30988 rm -f conftest.$ac_objext conftest.$ac_ext
30989
30990
30991 fi
30992 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30993 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30994
30995 if test "x$wx_cv_var_timezone" != x ; then
30996 cat >>confdefs.h <<_ACEOF
30997 #define WX_TIMEZONE $wx_cv_var_timezone
30998 _ACEOF
30999
31000 fi
31001
31002
31003 for ac_func in localtime
31004 do
31005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31006 echo "$as_me:$LINENO: checking for $ac_func" >&5
31007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31008 if eval "test \"\${$as_ac_var+set}\" = set"; then
31009 echo $ECHO_N "(cached) $ECHO_C" >&6
31010 else
31011 cat >conftest.$ac_ext <<_ACEOF
31012 #line $LINENO "configure"
31013 /* confdefs.h. */
31014 _ACEOF
31015 cat confdefs.h >>conftest.$ac_ext
31016 cat >>conftest.$ac_ext <<_ACEOF
31017 /* end confdefs.h. */
31018 /* System header to define __stub macros and hopefully few prototypes,
31019 which can conflict with char $ac_func (); below.
31020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31021 <limits.h> exists even on freestanding compilers. */
31022 #ifdef __STDC__
31023 # include <limits.h>
31024 #else
31025 # include <assert.h>
31026 #endif
31027 /* Override any gcc2 internal prototype to avoid an error. */
31028 #ifdef __cplusplus
31029 extern "C"
31030 {
31031 #endif
31032 /* We use char because int might match the return type of a gcc2
31033 builtin and then its argument prototype would still apply. */
31034 char $ac_func ();
31035 /* The GNU C library defines this for functions which it implements
31036 to always fail with ENOSYS. Some functions are actually named
31037 something starting with __ and the normal name is an alias. */
31038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31039 choke me
31040 #else
31041 char (*f) () = $ac_func;
31042 #endif
31043 #ifdef __cplusplus
31044 }
31045 #endif
31046
31047 int
31048 main ()
31049 {
31050 return f != $ac_func;
31051 ;
31052 return 0;
31053 }
31054 _ACEOF
31055 rm -f conftest.$ac_objext conftest$ac_exeext
31056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31057 (eval $ac_link) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try='test -s conftest$ac_exeext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 eval "$as_ac_var=yes"
31068 else
31069 echo "$as_me: failed program was:" >&5
31070 sed 's/^/| /' conftest.$ac_ext >&5
31071
31072 eval "$as_ac_var=no"
31073 fi
31074 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31075 fi
31076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078 if test `eval echo '${'$as_ac_var'}'` = yes; then
31079 cat >>confdefs.h <<_ACEOF
31080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31081 _ACEOF
31082
31083 fi
31084 done
31085
31086
31087 if test "$ac_cv_func_localtime" = "yes"; then
31088 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
31089 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
31090 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
31091 echo $ECHO_N "(cached) $ECHO_C" >&6
31092 else
31093
31094 cat >conftest.$ac_ext <<_ACEOF
31095 #line $LINENO "configure"
31096 /* confdefs.h. */
31097 _ACEOF
31098 cat confdefs.h >>conftest.$ac_ext
31099 cat >>conftest.$ac_ext <<_ACEOF
31100 /* end confdefs.h. */
31101
31102 #include <time.h>
31103
31104 int
31105 main ()
31106 {
31107
31108 struct tm tm;
31109 tm.tm_gmtoff++;
31110
31111 ;
31112 return 0;
31113 }
31114 _ACEOF
31115 rm -f conftest.$ac_objext
31116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31117 (eval $ac_compile) 2>&5
31118 ac_status=$?
31119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31120 (exit $ac_status); } &&
31121 { ac_try='test -s conftest.$ac_objext'
31122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31123 (eval $ac_try) 2>&5
31124 ac_status=$?
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); }; }; then
31127
31128 wx_cv_struct_tm_has_gmtoff=yes
31129
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31133
31134 wx_cv_struct_tm_has_gmtoff=no
31135
31136 fi
31137 rm -f conftest.$ac_objext conftest.$ac_ext
31138
31139 fi
31140 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
31141 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
31142 fi
31143
31144 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
31145 cat >>confdefs.h <<\_ACEOF
31146 #define WX_GMTOFF_IN_TM 1
31147 _ACEOF
31148
31149 fi
31150
31151
31152
31153 for ac_func in gettimeofday ftime
31154 do
31155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31156 echo "$as_me:$LINENO: checking for $ac_func" >&5
31157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31158 if eval "test \"\${$as_ac_var+set}\" = set"; then
31159 echo $ECHO_N "(cached) $ECHO_C" >&6
31160 else
31161 cat >conftest.$ac_ext <<_ACEOF
31162 #line $LINENO "configure"
31163 /* confdefs.h. */
31164 _ACEOF
31165 cat confdefs.h >>conftest.$ac_ext
31166 cat >>conftest.$ac_ext <<_ACEOF
31167 /* end confdefs.h. */
31168 /* System header to define __stub macros and hopefully few prototypes,
31169 which can conflict with char $ac_func (); below.
31170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31171 <limits.h> exists even on freestanding compilers. */
31172 #ifdef __STDC__
31173 # include <limits.h>
31174 #else
31175 # include <assert.h>
31176 #endif
31177 /* Override any gcc2 internal prototype to avoid an error. */
31178 #ifdef __cplusplus
31179 extern "C"
31180 {
31181 #endif
31182 /* We use char because int might match the return type of a gcc2
31183 builtin and then its argument prototype would still apply. */
31184 char $ac_func ();
31185 /* The GNU C library defines this for functions which it implements
31186 to always fail with ENOSYS. Some functions are actually named
31187 something starting with __ and the normal name is an alias. */
31188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31189 choke me
31190 #else
31191 char (*f) () = $ac_func;
31192 #endif
31193 #ifdef __cplusplus
31194 }
31195 #endif
31196
31197 int
31198 main ()
31199 {
31200 return f != $ac_func;
31201 ;
31202 return 0;
31203 }
31204 _ACEOF
31205 rm -f conftest.$ac_objext conftest$ac_exeext
31206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31207 (eval $ac_link) 2>&5
31208 ac_status=$?
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try='test -s conftest$ac_exeext'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; }; then
31217 eval "$as_ac_var=yes"
31218 else
31219 echo "$as_me: failed program was:" >&5
31220 sed 's/^/| /' conftest.$ac_ext >&5
31221
31222 eval "$as_ac_var=no"
31223 fi
31224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31225 fi
31226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31228 if test `eval echo '${'$as_ac_var'}'` = yes; then
31229 cat >>confdefs.h <<_ACEOF
31230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31231 _ACEOF
31232 break
31233 fi
31234 done
31235
31236
31237 if test "$ac_cv_func_gettimeofday" = "yes"; then
31238 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
31239 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
31240 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31242 else
31243
31244
31245
31246 ac_ext=cc
31247 ac_cpp='$CXXCPP $CPPFLAGS'
31248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31251
31252
31253 cat >conftest.$ac_ext <<_ACEOF
31254 #line $LINENO "configure"
31255 /* confdefs.h. */
31256 _ACEOF
31257 cat confdefs.h >>conftest.$ac_ext
31258 cat >>conftest.$ac_ext <<_ACEOF
31259 /* end confdefs.h. */
31260
31261 #include <sys/time.h>
31262 #include <unistd.h>
31263
31264 int
31265 main ()
31266 {
31267
31268 struct timeval tv;
31269 gettimeofday(&tv, NULL);
31270
31271 ;
31272 return 0;
31273 }
31274 _ACEOF
31275 rm -f conftest.$ac_objext
31276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31277 (eval $ac_compile) 2>&5
31278 ac_status=$?
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); } &&
31281 { ac_try='test -s conftest.$ac_objext'
31282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31283 (eval $ac_try) 2>&5
31284 ac_status=$?
31285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31286 (exit $ac_status); }; }; then
31287 wx_cv_func_gettimeofday_has_2_args=yes
31288 else
31289 echo "$as_me: failed program was:" >&5
31290 sed 's/^/| /' conftest.$ac_ext >&5
31291
31292 cat >conftest.$ac_ext <<_ACEOF
31293 #line $LINENO "configure"
31294 /* confdefs.h. */
31295 _ACEOF
31296 cat confdefs.h >>conftest.$ac_ext
31297 cat >>conftest.$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31299
31300 #include <sys/time.h>
31301 #include <unistd.h>
31302
31303 int
31304 main ()
31305 {
31306
31307 struct timeval tv;
31308 gettimeofday(&tv);
31309
31310 ;
31311 return 0;
31312 }
31313 _ACEOF
31314 rm -f conftest.$ac_objext
31315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31316 (eval $ac_compile) 2>&5
31317 ac_status=$?
31318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31319 (exit $ac_status); } &&
31320 { ac_try='test -s conftest.$ac_objext'
31321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31322 (eval $ac_try) 2>&5
31323 ac_status=$?
31324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31325 (exit $ac_status); }; }; then
31326 wx_cv_func_gettimeofday_has_2_args=no
31327 else
31328 echo "$as_me: failed program was:" >&5
31329 sed 's/^/| /' conftest.$ac_ext >&5
31330
31331
31332 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
31333 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
31334 wx_cv_func_gettimeofday_has_2_args=unknown
31335
31336
31337 fi
31338 rm -f conftest.$ac_objext conftest.$ac_ext
31339
31340 fi
31341 rm -f conftest.$ac_objext conftest.$ac_ext
31342 ac_ext=c
31343 ac_cpp='$CPP $CPPFLAGS'
31344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31347
31348
31349 fi
31350 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
31351 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
31352
31353 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
31354 cat >>confdefs.h <<\_ACEOF
31355 #define WX_GETTIMEOFDAY_NO_TZ 1
31356 _ACEOF
31357
31358 fi
31359 fi
31360
31361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
31362 fi
31363
31364
31365 if test "$wxUSE_SOCKETS" = "yes"; then
31366 if test "$wxUSE_MGL" = "1"; then
31367 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
31368 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
31369 wxUSE_SOCKETS="no"
31370 fi
31371 if test "$wxUSE_COCOA" = "1"; then
31372 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
31373 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
31374 wxUSE_SOCKETS="no"
31375 fi
31376 fi
31377
31378 if test "$wxUSE_SOCKETS" = "yes"; then
31379 if test "$TOOLKIT" != "MSW"; then
31380 echo "$as_me:$LINENO: checking for socket" >&5
31381 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31382 if test "${ac_cv_func_socket+set}" = set; then
31383 echo $ECHO_N "(cached) $ECHO_C" >&6
31384 else
31385 cat >conftest.$ac_ext <<_ACEOF
31386 #line $LINENO "configure"
31387 /* confdefs.h. */
31388 _ACEOF
31389 cat confdefs.h >>conftest.$ac_ext
31390 cat >>conftest.$ac_ext <<_ACEOF
31391 /* end confdefs.h. */
31392 /* System header to define __stub macros and hopefully few prototypes,
31393 which can conflict with char socket (); below.
31394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31395 <limits.h> exists even on freestanding compilers. */
31396 #ifdef __STDC__
31397 # include <limits.h>
31398 #else
31399 # include <assert.h>
31400 #endif
31401 /* Override any gcc2 internal prototype to avoid an error. */
31402 #ifdef __cplusplus
31403 extern "C"
31404 {
31405 #endif
31406 /* We use char because int might match the return type of a gcc2
31407 builtin and then its argument prototype would still apply. */
31408 char socket ();
31409 /* The GNU C library defines this for functions which it implements
31410 to always fail with ENOSYS. Some functions are actually named
31411 something starting with __ and the normal name is an alias. */
31412 #if defined (__stub_socket) || defined (__stub___socket)
31413 choke me
31414 #else
31415 char (*f) () = socket;
31416 #endif
31417 #ifdef __cplusplus
31418 }
31419 #endif
31420
31421 int
31422 main ()
31423 {
31424 return f != socket;
31425 ;
31426 return 0;
31427 }
31428 _ACEOF
31429 rm -f conftest.$ac_objext conftest$ac_exeext
31430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31431 (eval $ac_link) 2>&5
31432 ac_status=$?
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); } &&
31435 { ac_try='test -s conftest$ac_exeext'
31436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31437 (eval $ac_try) 2>&5
31438 ac_status=$?
31439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31440 (exit $ac_status); }; }; then
31441 ac_cv_func_socket=yes
31442 else
31443 echo "$as_me: failed program was:" >&5
31444 sed 's/^/| /' conftest.$ac_ext >&5
31445
31446 ac_cv_func_socket=no
31447 fi
31448 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31449 fi
31450 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31451 echo "${ECHO_T}$ac_cv_func_socket" >&6
31452 if test $ac_cv_func_socket = yes; then
31453 :
31454 else
31455
31456 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31457 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31458 if test "${ac_cv_lib_socket_socket+set}" = set; then
31459 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 else
31461 ac_check_lib_save_LIBS=$LIBS
31462 LIBS="-lsocket $LIBS"
31463 cat >conftest.$ac_ext <<_ACEOF
31464 #line $LINENO "configure"
31465 /* confdefs.h. */
31466 _ACEOF
31467 cat confdefs.h >>conftest.$ac_ext
31468 cat >>conftest.$ac_ext <<_ACEOF
31469 /* end confdefs.h. */
31470
31471 /* Override any gcc2 internal prototype to avoid an error. */
31472 #ifdef __cplusplus
31473 extern "C"
31474 #endif
31475 /* We use char because int might match the return type of a gcc2
31476 builtin and then its argument prototype would still apply. */
31477 char socket ();
31478 int
31479 main ()
31480 {
31481 socket ();
31482 ;
31483 return 0;
31484 }
31485 _ACEOF
31486 rm -f conftest.$ac_objext conftest$ac_exeext
31487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31488 (eval $ac_link) 2>&5
31489 ac_status=$?
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); } &&
31492 { ac_try='test -s conftest$ac_exeext'
31493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31494 (eval $ac_try) 2>&5
31495 ac_status=$?
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); }; }; then
31498 ac_cv_lib_socket_socket=yes
31499 else
31500 echo "$as_me: failed program was:" >&5
31501 sed 's/^/| /' conftest.$ac_ext >&5
31502
31503 ac_cv_lib_socket_socket=no
31504 fi
31505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31506 LIBS=$ac_check_lib_save_LIBS
31507 fi
31508 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31509 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31510 if test $ac_cv_lib_socket_socket = yes; then
31511 if test "$INET_LINK" != " -lsocket"; then
31512 INET_LINK="$INET_LINK -lsocket"
31513 fi
31514 else
31515
31516 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31517 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31518 wxUSE_SOCKETS=no
31519
31520
31521 fi
31522
31523
31524
31525 fi
31526
31527 fi
31528 fi
31529
31530 if test "$wxUSE_SOCKETS" = "yes" ; then
31531 if test "$TOOLKIT" != "MSW"; then
31532 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31533 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31534 if test "${wx_cv_type_getsockname3+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31536 else
31537
31538 cat >conftest.$ac_ext <<_ACEOF
31539 #line $LINENO "configure"
31540 /* confdefs.h. */
31541 _ACEOF
31542 cat confdefs.h >>conftest.$ac_ext
31543 cat >>conftest.$ac_ext <<_ACEOF
31544 /* end confdefs.h. */
31545
31546 #include <sys/types.h>
31547 #include <sys/socket.h>
31548
31549 int
31550 main ()
31551 {
31552
31553 socklen_t len;
31554 getsockname(0, 0, &len);
31555
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 rm -f conftest.$ac_objext
31561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31562 (eval $ac_compile) 2>&5
31563 ac_status=$?
31564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31565 (exit $ac_status); } &&
31566 { ac_try='test -s conftest.$ac_objext'
31567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31568 (eval $ac_try) 2>&5
31569 ac_status=$?
31570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31571 (exit $ac_status); }; }; then
31572 wx_cv_type_getsockname3=socklen_t
31573 else
31574 echo "$as_me: failed program was:" >&5
31575 sed 's/^/| /' conftest.$ac_ext >&5
31576
31577
31578 CFLAGS_OLD="$CFLAGS"
31579 if test "$GCC" = yes ; then
31580 CFLAGS="$CFLAGS -Werror"
31581 fi
31582
31583 cat >conftest.$ac_ext <<_ACEOF
31584 #line $LINENO "configure"
31585 /* confdefs.h. */
31586 _ACEOF
31587 cat confdefs.h >>conftest.$ac_ext
31588 cat >>conftest.$ac_ext <<_ACEOF
31589 /* end confdefs.h. */
31590
31591 #include <sys/types.h>
31592 #include <sys/socket.h>
31593
31594 int
31595 main ()
31596 {
31597
31598 size_t len;
31599 getsockname(0, 0, &len);
31600
31601 ;
31602 return 0;
31603 }
31604 _ACEOF
31605 rm -f conftest.$ac_objext
31606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31607 (eval $ac_compile) 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); } &&
31611 { ac_try='test -s conftest.$ac_objext'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; }; then
31617 wx_cv_type_getsockname3=size_t
31618 else
31619 echo "$as_me: failed program was:" >&5
31620 sed 's/^/| /' conftest.$ac_ext >&5
31621
31622 cat >conftest.$ac_ext <<_ACEOF
31623 #line $LINENO "configure"
31624 /* confdefs.h. */
31625 _ACEOF
31626 cat confdefs.h >>conftest.$ac_ext
31627 cat >>conftest.$ac_ext <<_ACEOF
31628 /* end confdefs.h. */
31629
31630 #include <sys/types.h>
31631 #include <sys/socket.h>
31632
31633 int
31634 main ()
31635 {
31636
31637 int len;
31638 getsockname(0, 0, &len);
31639
31640 ;
31641 return 0;
31642 }
31643 _ACEOF
31644 rm -f conftest.$ac_objext
31645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31646 (eval $ac_compile) 2>&5
31647 ac_status=$?
31648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31649 (exit $ac_status); } &&
31650 { ac_try='test -s conftest.$ac_objext'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; }; then
31656 wx_cv_type_getsockname3=int
31657 else
31658 echo "$as_me: failed program was:" >&5
31659 sed 's/^/| /' conftest.$ac_ext >&5
31660
31661 wx_cv_type_getsockname3=unknown
31662
31663 fi
31664 rm -f conftest.$ac_objext conftest.$ac_ext
31665
31666 fi
31667 rm -f conftest.$ac_objext conftest.$ac_ext
31668
31669 CFLAGS="$CFLAGS_OLD"
31670
31671
31672 fi
31673 rm -f conftest.$ac_objext conftest.$ac_ext
31674
31675 fi
31676 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31677 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31678
31679 if test "$wx_cv_type_getsockname3" = "unknown"; then
31680 wxUSE_SOCKETS=no
31681 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31682 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31683 else
31684 cat >>confdefs.h <<_ACEOF
31685 #define SOCKLEN_T $wx_cv_type_getsockname3
31686 _ACEOF
31687
31688 fi
31689 fi
31690 fi
31691
31692 if test "$wxUSE_SOCKETS" = "yes" ; then
31693 cat >>confdefs.h <<\_ACEOF
31694 #define wxUSE_SOCKETS 1
31695 _ACEOF
31696
31697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31698 fi
31699
31700 if test "$wxUSE_PROTOCOL" = "yes"; then
31701 if test "$wxUSE_SOCKETS" != "yes"; then
31702 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31703 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31704 wxUSE_PROTOCOL=no
31705 fi
31706 fi
31707
31708 if test "$wxUSE_PROTOCOL" = "yes"; then
31709 cat >>confdefs.h <<\_ACEOF
31710 #define wxUSE_PROTOCOL 1
31711 _ACEOF
31712
31713
31714 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31715 cat >>confdefs.h <<\_ACEOF
31716 #define wxUSE_PROTOCOL_HTTP 1
31717 _ACEOF
31718
31719 fi
31720 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31721 cat >>confdefs.h <<\_ACEOF
31722 #define wxUSE_PROTOCOL_FTP 1
31723 _ACEOF
31724
31725 fi
31726 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31727 cat >>confdefs.h <<\_ACEOF
31728 #define wxUSE_PROTOCOL_FILE 1
31729 _ACEOF
31730
31731 fi
31732 else
31733 if test "$wxUSE_FS_INET" = "yes"; then
31734 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31735 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31736 wxUSE_FS_INET="no"
31737 fi
31738 fi
31739
31740 if test "$wxUSE_URL" = "yes"; then
31741 if test "$wxUSE_PROTOCOL" != "yes"; then
31742 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31743 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31744 wxUSE_URL=no
31745 fi
31746 if test "$wxUSE_URL" = "yes"; then
31747 cat >>confdefs.h <<\_ACEOF
31748 #define wxUSE_URL 1
31749 _ACEOF
31750
31751 fi
31752 fi
31753
31754 if test "$wxUSE_FS_INET" = "yes"; then
31755 cat >>confdefs.h <<\_ACEOF
31756 #define wxUSE_FS_INET 1
31757 _ACEOF
31758
31759 fi
31760
31761
31762 if test "$wxUSE_GUI" = "yes"; then
31763
31764 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31765 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31766 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31767 wxUSE_JOYSTICK=no
31768 fi
31769
31770 if test "$TOOLKIT" != "MSW"; then
31771 if test "$wxUSE_JOYSTICK" = "yes"; then
31772
31773 for ac_header in linux/joystick.h
31774 do
31775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31777 echo "$as_me:$LINENO: checking for $ac_header" >&5
31778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 fi
31782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31784 else
31785 # Is the header compilable?
31786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31788 cat >conftest.$ac_ext <<_ACEOF
31789 #line $LINENO "configure"
31790 /* confdefs.h. */
31791 _ACEOF
31792 cat confdefs.h >>conftest.$ac_ext
31793 cat >>conftest.$ac_ext <<_ACEOF
31794 /* end confdefs.h. */
31795 $ac_includes_default
31796 #include <$ac_header>
31797 _ACEOF
31798 rm -f conftest.$ac_objext
31799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31800 (eval $ac_compile) 2>&5
31801 ac_status=$?
31802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31803 (exit $ac_status); } &&
31804 { ac_try='test -s conftest.$ac_objext'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; }; then
31810 ac_header_compiler=yes
31811 else
31812 echo "$as_me: failed program was:" >&5
31813 sed 's/^/| /' conftest.$ac_ext >&5
31814
31815 ac_header_compiler=no
31816 fi
31817 rm -f conftest.$ac_objext conftest.$ac_ext
31818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31819 echo "${ECHO_T}$ac_header_compiler" >&6
31820
31821 # Is the header present?
31822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31824 cat >conftest.$ac_ext <<_ACEOF
31825 #line $LINENO "configure"
31826 /* confdefs.h. */
31827 _ACEOF
31828 cat confdefs.h >>conftest.$ac_ext
31829 cat >>conftest.$ac_ext <<_ACEOF
31830 /* end confdefs.h. */
31831 #include <$ac_header>
31832 _ACEOF
31833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31835 ac_status=$?
31836 grep -v '^ *+' conftest.er1 >conftest.err
31837 rm -f conftest.er1
31838 cat conftest.err >&5
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); } >/dev/null; then
31841 if test -s conftest.err; then
31842 ac_cpp_err=$ac_c_preproc_warn_flag
31843 else
31844 ac_cpp_err=
31845 fi
31846 else
31847 ac_cpp_err=yes
31848 fi
31849 if test -z "$ac_cpp_err"; then
31850 ac_header_preproc=yes
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31854
31855 ac_header_preproc=no
31856 fi
31857 rm -f conftest.err conftest.$ac_ext
31858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31859 echo "${ECHO_T}$ac_header_preproc" >&6
31860
31861 # So? What about this header?
31862 case $ac_header_compiler:$ac_header_preproc in
31863 yes:no )
31864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31868 (
31869 cat <<\_ASBOX
31870 ## ------------------------------------ ##
31871 ## Report this to bug-autoconf@gnu.org. ##
31872 ## ------------------------------------ ##
31873 _ASBOX
31874 ) |
31875 sed "s/^/$as_me: WARNING: /" >&2
31876 ;;
31877 no:yes )
31878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31884 (
31885 cat <<\_ASBOX
31886 ## ------------------------------------ ##
31887 ## Report this to bug-autoconf@gnu.org. ##
31888 ## ------------------------------------ ##
31889 _ASBOX
31890 ) |
31891 sed "s/^/$as_me: WARNING: /" >&2
31892 ;;
31893 esac
31894 echo "$as_me:$LINENO: checking for $ac_header" >&5
31895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31897 echo $ECHO_N "(cached) $ECHO_C" >&6
31898 else
31899 eval "$as_ac_Header=$ac_header_preproc"
31900 fi
31901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31903
31904 fi
31905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31906 cat >>confdefs.h <<_ACEOF
31907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31908 _ACEOF
31909
31910 fi
31911
31912 done
31913
31914 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31915 wxUSE_JOYSTICK=no
31916 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31917 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31918 fi
31919 fi
31920 fi
31921
31922 if test "$wxUSE_JOYSTICK" = "yes"; then
31923 cat >>confdefs.h <<\_ACEOF
31924 #define wxUSE_JOYSTICK 1
31925 _ACEOF
31926
31927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31928 fi
31929 fi
31930
31931
31932 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31933
31934 HAVE_DL_FUNCS=0
31935 HAVE_SHL_FUNCS=0
31936 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31937 if test "$USE_DARWIN" = 1; then
31938 HAVE_DL_FUNCS=1
31939 else
31940
31941 for ac_func in dlopen
31942 do
31943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31944 echo "$as_me:$LINENO: checking for $ac_func" >&5
31945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31946 if eval "test \"\${$as_ac_var+set}\" = set"; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 else
31949 cat >conftest.$ac_ext <<_ACEOF
31950 #line $LINENO "configure"
31951 /* confdefs.h. */
31952 _ACEOF
31953 cat confdefs.h >>conftest.$ac_ext
31954 cat >>conftest.$ac_ext <<_ACEOF
31955 /* end confdefs.h. */
31956 /* System header to define __stub macros and hopefully few prototypes,
31957 which can conflict with char $ac_func (); below.
31958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31959 <limits.h> exists even on freestanding compilers. */
31960 #ifdef __STDC__
31961 # include <limits.h>
31962 #else
31963 # include <assert.h>
31964 #endif
31965 /* Override any gcc2 internal prototype to avoid an error. */
31966 #ifdef __cplusplus
31967 extern "C"
31968 {
31969 #endif
31970 /* We use char because int might match the return type of a gcc2
31971 builtin and then its argument prototype would still apply. */
31972 char $ac_func ();
31973 /* The GNU C library defines this for functions which it implements
31974 to always fail with ENOSYS. Some functions are actually named
31975 something starting with __ and the normal name is an alias. */
31976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31977 choke me
31978 #else
31979 char (*f) () = $ac_func;
31980 #endif
31981 #ifdef __cplusplus
31982 }
31983 #endif
31984
31985 int
31986 main ()
31987 {
31988 return f != $ac_func;
31989 ;
31990 return 0;
31991 }
31992 _ACEOF
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31995 (eval $ac_link) 2>&5
31996 ac_status=$?
31997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31998 (exit $ac_status); } &&
31999 { ac_try='test -s conftest$ac_exeext'
32000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32001 (eval $ac_try) 2>&5
32002 ac_status=$?
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); }; }; then
32005 eval "$as_ac_var=yes"
32006 else
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32009
32010 eval "$as_ac_var=no"
32011 fi
32012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32013 fi
32014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32016 if test `eval echo '${'$as_ac_var'}'` = yes; then
32017 cat >>confdefs.h <<_ACEOF
32018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32019 _ACEOF
32020
32021 cat >>confdefs.h <<\_ACEOF
32022 #define HAVE_DLOPEN 1
32023 _ACEOF
32024
32025 HAVE_DL_FUNCS=1
32026
32027 else
32028
32029 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
32030 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
32031 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 else
32034 ac_check_lib_save_LIBS=$LIBS
32035 LIBS="-ldl $LIBS"
32036 cat >conftest.$ac_ext <<_ACEOF
32037 #line $LINENO "configure"
32038 /* confdefs.h. */
32039 _ACEOF
32040 cat confdefs.h >>conftest.$ac_ext
32041 cat >>conftest.$ac_ext <<_ACEOF
32042 /* end confdefs.h. */
32043
32044 /* Override any gcc2 internal prototype to avoid an error. */
32045 #ifdef __cplusplus
32046 extern "C"
32047 #endif
32048 /* We use char because int might match the return type of a gcc2
32049 builtin and then its argument prototype would still apply. */
32050 char dlopen ();
32051 int
32052 main ()
32053 {
32054 dlopen ();
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 rm -f conftest.$ac_objext conftest$ac_exeext
32060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32061 (eval $ac_link) 2>&5
32062 ac_status=$?
32063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32064 (exit $ac_status); } &&
32065 { ac_try='test -s conftest$ac_exeext'
32066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32067 (eval $ac_try) 2>&5
32068 ac_status=$?
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); }; }; then
32071 ac_cv_lib_dl_dlopen=yes
32072 else
32073 echo "$as_me: failed program was:" >&5
32074 sed 's/^/| /' conftest.$ac_ext >&5
32075
32076 ac_cv_lib_dl_dlopen=no
32077 fi
32078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32079 LIBS=$ac_check_lib_save_LIBS
32080 fi
32081 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
32082 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
32083 if test $ac_cv_lib_dl_dlopen = yes; then
32084
32085 cat >>confdefs.h <<\_ACEOF
32086 #define HAVE_DLOPEN 1
32087 _ACEOF
32088
32089 HAVE_DL_FUNCS=1
32090 DL_LINK=" -ldl$DL_LINK"
32091
32092 else
32093
32094
32095 for ac_func in shl_load
32096 do
32097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32098 echo "$as_me:$LINENO: checking for $ac_func" >&5
32099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32100 if eval "test \"\${$as_ac_var+set}\" = set"; then
32101 echo $ECHO_N "(cached) $ECHO_C" >&6
32102 else
32103 cat >conftest.$ac_ext <<_ACEOF
32104 #line $LINENO "configure"
32105 /* confdefs.h. */
32106 _ACEOF
32107 cat confdefs.h >>conftest.$ac_ext
32108 cat >>conftest.$ac_ext <<_ACEOF
32109 /* end confdefs.h. */
32110 /* System header to define __stub macros and hopefully few prototypes,
32111 which can conflict with char $ac_func (); below.
32112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32113 <limits.h> exists even on freestanding compilers. */
32114 #ifdef __STDC__
32115 # include <limits.h>
32116 #else
32117 # include <assert.h>
32118 #endif
32119 /* Override any gcc2 internal prototype to avoid an error. */
32120 #ifdef __cplusplus
32121 extern "C"
32122 {
32123 #endif
32124 /* We use char because int might match the return type of a gcc2
32125 builtin and then its argument prototype would still apply. */
32126 char $ac_func ();
32127 /* The GNU C library defines this for functions which it implements
32128 to always fail with ENOSYS. Some functions are actually named
32129 something starting with __ and the normal name is an alias. */
32130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32131 choke me
32132 #else
32133 char (*f) () = $ac_func;
32134 #endif
32135 #ifdef __cplusplus
32136 }
32137 #endif
32138
32139 int
32140 main ()
32141 {
32142 return f != $ac_func;
32143 ;
32144 return 0;
32145 }
32146 _ACEOF
32147 rm -f conftest.$ac_objext conftest$ac_exeext
32148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32149 (eval $ac_link) 2>&5
32150 ac_status=$?
32151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32152 (exit $ac_status); } &&
32153 { ac_try='test -s conftest$ac_exeext'
32154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32155 (eval $ac_try) 2>&5
32156 ac_status=$?
32157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32158 (exit $ac_status); }; }; then
32159 eval "$as_ac_var=yes"
32160 else
32161 echo "$as_me: failed program was:" >&5
32162 sed 's/^/| /' conftest.$ac_ext >&5
32163
32164 eval "$as_ac_var=no"
32165 fi
32166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32167 fi
32168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32170 if test `eval echo '${'$as_ac_var'}'` = yes; then
32171 cat >>confdefs.h <<_ACEOF
32172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32173 _ACEOF
32174
32175 cat >>confdefs.h <<\_ACEOF
32176 #define HAVE_SHL_LOAD 1
32177 _ACEOF
32178
32179 HAVE_SHL_FUNCS=1
32180
32181 else
32182
32183 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32184 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32185 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32186 echo $ECHO_N "(cached) $ECHO_C" >&6
32187 else
32188 ac_check_lib_save_LIBS=$LIBS
32189 LIBS="-lshl_load $LIBS"
32190 cat >conftest.$ac_ext <<_ACEOF
32191 #line $LINENO "configure"
32192 /* confdefs.h. */
32193 _ACEOF
32194 cat confdefs.h >>conftest.$ac_ext
32195 cat >>conftest.$ac_ext <<_ACEOF
32196 /* end confdefs.h. */
32197
32198 /* Override any gcc2 internal prototype to avoid an error. */
32199 #ifdef __cplusplus
32200 extern "C"
32201 #endif
32202 /* We use char because int might match the return type of a gcc2
32203 builtin and then its argument prototype would still apply. */
32204 char dld ();
32205 int
32206 main ()
32207 {
32208 dld ();
32209 ;
32210 return 0;
32211 }
32212 _ACEOF
32213 rm -f conftest.$ac_objext conftest$ac_exeext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32215 (eval $ac_link) 2>&5
32216 ac_status=$?
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -s conftest$ac_exeext'
32220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32221 (eval $ac_try) 2>&5
32222 ac_status=$?
32223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32224 (exit $ac_status); }; }; then
32225 ac_cv_lib_shl_load_dld=yes
32226 else
32227 echo "$as_me: failed program was:" >&5
32228 sed 's/^/| /' conftest.$ac_ext >&5
32229
32230 ac_cv_lib_shl_load_dld=no
32231 fi
32232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32233 LIBS=$ac_check_lib_save_LIBS
32234 fi
32235 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32236 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32237 if test $ac_cv_lib_shl_load_dld = yes; then
32238
32239 HAVE_SHL_FUNCS=1
32240 DL_LINK=" -ldld$DL_LINK"
32241
32242 fi
32243
32244
32245 fi
32246 done
32247
32248
32249 fi
32250
32251
32252 fi
32253 done
32254
32255
32256 if test "$HAVE_DL_FUNCS" = 1; then
32257
32258 for ac_func in dlerror
32259 do
32260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32261 echo "$as_me:$LINENO: checking for $ac_func" >&5
32262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32263 if eval "test \"\${$as_ac_var+set}\" = set"; then
32264 echo $ECHO_N "(cached) $ECHO_C" >&6
32265 else
32266 cat >conftest.$ac_ext <<_ACEOF
32267 #line $LINENO "configure"
32268 /* confdefs.h. */
32269 _ACEOF
32270 cat confdefs.h >>conftest.$ac_ext
32271 cat >>conftest.$ac_ext <<_ACEOF
32272 /* end confdefs.h. */
32273 /* System header to define __stub macros and hopefully few prototypes,
32274 which can conflict with char $ac_func (); below.
32275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32276 <limits.h> exists even on freestanding compilers. */
32277 #ifdef __STDC__
32278 # include <limits.h>
32279 #else
32280 # include <assert.h>
32281 #endif
32282 /* Override any gcc2 internal prototype to avoid an error. */
32283 #ifdef __cplusplus
32284 extern "C"
32285 {
32286 #endif
32287 /* We use char because int might match the return type of a gcc2
32288 builtin and then its argument prototype would still apply. */
32289 char $ac_func ();
32290 /* The GNU C library defines this for functions which it implements
32291 to always fail with ENOSYS. Some functions are actually named
32292 something starting with __ and the normal name is an alias. */
32293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32294 choke me
32295 #else
32296 char (*f) () = $ac_func;
32297 #endif
32298 #ifdef __cplusplus
32299 }
32300 #endif
32301
32302 int
32303 main ()
32304 {
32305 return f != $ac_func;
32306 ;
32307 return 0;
32308 }
32309 _ACEOF
32310 rm -f conftest.$ac_objext conftest$ac_exeext
32311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32312 (eval $ac_link) 2>&5
32313 ac_status=$?
32314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32315 (exit $ac_status); } &&
32316 { ac_try='test -s conftest$ac_exeext'
32317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32318 (eval $ac_try) 2>&5
32319 ac_status=$?
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); }; }; then
32322 eval "$as_ac_var=yes"
32323 else
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32326
32327 eval "$as_ac_var=no"
32328 fi
32329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32330 fi
32331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32333 if test `eval echo '${'$as_ac_var'}'` = yes; then
32334 cat >>confdefs.h <<_ACEOF
32335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32336 _ACEOF
32337 cat >>confdefs.h <<\_ACEOF
32338 #define HAVE_DLERROR 1
32339 _ACEOF
32340
32341 else
32342
32343 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32344 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32345 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32346 echo $ECHO_N "(cached) $ECHO_C" >&6
32347 else
32348 ac_check_lib_save_LIBS=$LIBS
32349 LIBS="-ldl $LIBS"
32350 cat >conftest.$ac_ext <<_ACEOF
32351 #line $LINENO "configure"
32352 /* confdefs.h. */
32353 _ACEOF
32354 cat confdefs.h >>conftest.$ac_ext
32355 cat >>conftest.$ac_ext <<_ACEOF
32356 /* end confdefs.h. */
32357
32358 /* Override any gcc2 internal prototype to avoid an error. */
32359 #ifdef __cplusplus
32360 extern "C"
32361 #endif
32362 /* We use char because int might match the return type of a gcc2
32363 builtin and then its argument prototype would still apply. */
32364 char dlerror ();
32365 int
32366 main ()
32367 {
32368 dlerror ();
32369 ;
32370 return 0;
32371 }
32372 _ACEOF
32373 rm -f conftest.$ac_objext conftest$ac_exeext
32374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32375 (eval $ac_link) 2>&5
32376 ac_status=$?
32377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32378 (exit $ac_status); } &&
32379 { ac_try='test -s conftest$ac_exeext'
32380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32381 (eval $ac_try) 2>&5
32382 ac_status=$?
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); }; }; then
32385 ac_cv_lib_dl_dlerror=yes
32386 else
32387 echo "$as_me: failed program was:" >&5
32388 sed 's/^/| /' conftest.$ac_ext >&5
32389
32390 ac_cv_lib_dl_dlerror=no
32391 fi
32392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32393 LIBS=$ac_check_lib_save_LIBS
32394 fi
32395 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32396 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32397 if test $ac_cv_lib_dl_dlerror = yes; then
32398 cat >>confdefs.h <<\_ACEOF
32399 #define HAVE_DLERROR 1
32400 _ACEOF
32401
32402 fi
32403
32404
32405
32406 fi
32407 done
32408
32409 fi
32410 fi
32411
32412 if test "$HAVE_DL_FUNCS" = 0; then
32413 if test "$HAVE_SHL_FUNCS" = 0; then
32414 if test "$USE_UNIX" = 1; then
32415 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32416 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32417 wxUSE_DYNAMIC_LOADER=no
32418 wxUSE_DYNLIB_CLASS=no
32419 else
32420 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32421 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32422 fi
32423 fi
32424 fi
32425 fi
32426 fi
32427
32428 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32429 cat >>confdefs.h <<\_ACEOF
32430 #define wxUSE_DYNAMIC_LOADER 1
32431 _ACEOF
32432
32433 fi
32434 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32435 cat >>confdefs.h <<\_ACEOF
32436 #define wxUSE_DYNLIB_CLASS 1
32437 _ACEOF
32438
32439 fi
32440
32441
32442 if test "$wxUSE_FONTMAP" = "yes" ; then
32443 cat >>confdefs.h <<\_ACEOF
32444 #define wxUSE_FONTMAP 1
32445 _ACEOF
32446
32447 fi
32448
32449 if test "$wxUSE_UNICODE" = "yes" ; then
32450 cat >>confdefs.h <<\_ACEOF
32451 #define wxUSE_UNICODE 1
32452 _ACEOF
32453
32454
32455 if test "$USE_WIN32" != 1; then
32456 wxUSE_UNICODE_MSLU=no
32457 fi
32458
32459 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32460 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32461 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32462 if test "${ac_cv_lib_unicows_main+set}" = set; then
32463 echo $ECHO_N "(cached) $ECHO_C" >&6
32464 else
32465 ac_check_lib_save_LIBS=$LIBS
32466 LIBS="-lunicows $LIBS"
32467 cat >conftest.$ac_ext <<_ACEOF
32468 #line $LINENO "configure"
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474
32475
32476 int
32477 main ()
32478 {
32479 main ();
32480 ;
32481 return 0;
32482 }
32483 _ACEOF
32484 rm -f conftest.$ac_objext conftest$ac_exeext
32485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32486 (eval $ac_link) 2>&5
32487 ac_status=$?
32488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489 (exit $ac_status); } &&
32490 { ac_try='test -s conftest$ac_exeext'
32491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492 (eval $ac_try) 2>&5
32493 ac_status=$?
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); }; }; then
32496 ac_cv_lib_unicows_main=yes
32497 else
32498 echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501 ac_cv_lib_unicows_main=no
32502 fi
32503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32504 LIBS=$ac_check_lib_save_LIBS
32505 fi
32506 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32507 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32508 if test $ac_cv_lib_unicows_main = yes; then
32509
32510 cat >>confdefs.h <<\_ACEOF
32511 #define wxUSE_UNICODE_MSLU 1
32512 _ACEOF
32513
32514
32515 else
32516
32517 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32518 Applications will only run on Windows NT/2000/XP!" >&5
32519 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32520 Applications will only run on Windows NT/2000/XP!" >&2;}
32521 wxUSE_UNICODE_MSLU=no
32522
32523 fi
32524
32525 fi
32526 fi
32527
32528 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32529 cat >>confdefs.h <<\_ACEOF
32530 #define wxUSE_EXPERIMENTAL_PRINTF 1
32531 _ACEOF
32532
32533 fi
32534
32535
32536 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32537 cat >>confdefs.h <<\_ACEOF
32538 #define wxUSE_POSTSCRIPT 1
32539 _ACEOF
32540
32541 fi
32542
32543 cat >>confdefs.h <<\_ACEOF
32544 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32545 _ACEOF
32546
32547
32548 cat >>confdefs.h <<\_ACEOF
32549 #define wxUSE_NORMALIZED_PS_FONTS 1
32550 _ACEOF
32551
32552
32553
32554 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32555 cat >>confdefs.h <<\_ACEOF
32556 #define wxUSE_CONSTRAINTS 1
32557 _ACEOF
32558
32559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32560 fi
32561
32562 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32563 cat >>confdefs.h <<\_ACEOF
32564 #define wxUSE_MDI_ARCHITECTURE 1
32565 _ACEOF
32566
32567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32568 fi
32569
32570 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32571 cat >>confdefs.h <<\_ACEOF
32572 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32573 _ACEOF
32574
32575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32576 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32578 fi
32579 fi
32580
32581 if test "$wxUSE_HELP" = "yes"; then
32582 cat >>confdefs.h <<\_ACEOF
32583 #define wxUSE_HELP 1
32584 _ACEOF
32585
32586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32587
32588 if test "$wxUSE_MSW" = 1; then
32589 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32590 cat >>confdefs.h <<\_ACEOF
32591 #define wxUSE_MS_HTML_HELP 1
32592 _ACEOF
32593
32594 fi
32595 fi
32596
32597 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32598 if test "$wxUSE_HTML" = "yes"; then
32599 cat >>confdefs.h <<\_ACEOF
32600 #define wxUSE_WXHTML_HELP 1
32601 _ACEOF
32602
32603 else
32604 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32605 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32606 wxUSE_WXHTML_HELP=no
32607 fi
32608 fi
32609 fi
32610
32611 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32612 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32613 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32614 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32615 else
32616 cat >>confdefs.h <<\_ACEOF
32617 #define wxUSE_PRINTING_ARCHITECTURE 1
32618 _ACEOF
32619
32620 fi
32621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32622 fi
32623
32624 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32625 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32626 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32627 { (exit 1); exit 1; }; }
32628 fi
32629
32630
32631 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32632 -o "$wxUSE_CLIPBOARD" = "yes" \
32633 -o "$wxUSE_OLE" = "yes" \
32634 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32635
32636 for ac_header in ole2.h
32637 do
32638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32640 echo "$as_me:$LINENO: checking for $ac_header" >&5
32641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 fi
32645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32647 else
32648 # Is the header compilable?
32649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32651 cat >conftest.$ac_ext <<_ACEOF
32652 #line $LINENO "configure"
32653 /* confdefs.h. */
32654 _ACEOF
32655 cat confdefs.h >>conftest.$ac_ext
32656 cat >>conftest.$ac_ext <<_ACEOF
32657 /* end confdefs.h. */
32658 $ac_includes_default
32659 #include <$ac_header>
32660 _ACEOF
32661 rm -f conftest.$ac_objext
32662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32663 (eval $ac_compile) 2>&5
32664 ac_status=$?
32665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32666 (exit $ac_status); } &&
32667 { ac_try='test -s conftest.$ac_objext'
32668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669 (eval $ac_try) 2>&5
32670 ac_status=$?
32671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672 (exit $ac_status); }; }; then
32673 ac_header_compiler=yes
32674 else
32675 echo "$as_me: failed program was:" >&5
32676 sed 's/^/| /' conftest.$ac_ext >&5
32677
32678 ac_header_compiler=no
32679 fi
32680 rm -f conftest.$ac_objext conftest.$ac_ext
32681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32682 echo "${ECHO_T}$ac_header_compiler" >&6
32683
32684 # Is the header present?
32685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32687 cat >conftest.$ac_ext <<_ACEOF
32688 #line $LINENO "configure"
32689 /* confdefs.h. */
32690 _ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 #include <$ac_header>
32695 _ACEOF
32696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32698 ac_status=$?
32699 grep -v '^ *+' conftest.er1 >conftest.err
32700 rm -f conftest.er1
32701 cat conftest.err >&5
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); } >/dev/null; then
32704 if test -s conftest.err; then
32705 ac_cpp_err=$ac_c_preproc_warn_flag
32706 else
32707 ac_cpp_err=
32708 fi
32709 else
32710 ac_cpp_err=yes
32711 fi
32712 if test -z "$ac_cpp_err"; then
32713 ac_header_preproc=yes
32714 else
32715 echo "$as_me: failed program was:" >&5
32716 sed 's/^/| /' conftest.$ac_ext >&5
32717
32718 ac_header_preproc=no
32719 fi
32720 rm -f conftest.err conftest.$ac_ext
32721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32722 echo "${ECHO_T}$ac_header_preproc" >&6
32723
32724 # So? What about this header?
32725 case $ac_header_compiler:$ac_header_preproc in
32726 yes:no )
32727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32731 (
32732 cat <<\_ASBOX
32733 ## ------------------------------------ ##
32734 ## Report this to bug-autoconf@gnu.org. ##
32735 ## ------------------------------------ ##
32736 _ASBOX
32737 ) |
32738 sed "s/^/$as_me: WARNING: /" >&2
32739 ;;
32740 no:yes )
32741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32747 (
32748 cat <<\_ASBOX
32749 ## ------------------------------------ ##
32750 ## Report this to bug-autoconf@gnu.org. ##
32751 ## ------------------------------------ ##
32752 _ASBOX
32753 ) |
32754 sed "s/^/$as_me: WARNING: /" >&2
32755 ;;
32756 esac
32757 echo "$as_me:$LINENO: checking for $ac_header" >&5
32758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32760 echo $ECHO_N "(cached) $ECHO_C" >&6
32761 else
32762 eval "$as_ac_Header=$ac_header_preproc"
32763 fi
32764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32766
32767 fi
32768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32769 cat >>confdefs.h <<_ACEOF
32770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32771 _ACEOF
32772
32773 fi
32774
32775 done
32776
32777
32778 if test "$ac_cv_header_ole2_h" = "yes" ; then
32779 if test "$GCC" = yes ; then
32780
32781
32782 ac_ext=cc
32783 ac_cpp='$CXXCPP $CPPFLAGS'
32784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32787
32788
32789 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32790 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32791 cat >conftest.$ac_ext <<_ACEOF
32792 #line $LINENO "configure"
32793 /* confdefs.h. */
32794 _ACEOF
32795 cat confdefs.h >>conftest.$ac_ext
32796 cat >>conftest.$ac_ext <<_ACEOF
32797 /* end confdefs.h. */
32798 #include <windows.h>
32799 #include <ole2.h>
32800 int
32801 main ()
32802 {
32803
32804 ;
32805 return 0;
32806 }
32807 _ACEOF
32808 rm -f conftest.$ac_objext
32809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32810 (eval $ac_compile) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } &&
32814 { ac_try='test -s conftest.$ac_objext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32817 ac_status=$?
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 echo "$as_me:$LINENO: result: no" >&5
32821 echo "${ECHO_T}no" >&6
32822 else
32823 echo "$as_me: failed program was:" >&5
32824 sed 's/^/| /' conftest.$ac_ext >&5
32825
32826 echo "$as_me:$LINENO: result: yes" >&5
32827 echo "${ECHO_T}yes" >&6
32828 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32829 fi
32830 rm -f conftest.$ac_objext conftest.$ac_ext
32831 ac_ext=c
32832 ac_cpp='$CPP $CPPFLAGS'
32833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32836
32837 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32838 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32839 cat >>confdefs.h <<\_ACEOF
32840 #define wxUSE_OLE 1
32841 _ACEOF
32842
32843
32844 fi
32845
32846 cat >>confdefs.h <<\_ACEOF
32847 #define wxUSE_DATAOBJ 1
32848 _ACEOF
32849
32850 else
32851 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32852 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32853
32854 wxUSE_CLIPBOARD=no
32855 wxUSE_DRAG_AND_DROP=no
32856 wxUSE_DATAOBJ=no
32857 wxUSE_OLE=no
32858 fi
32859
32860 if test "$wxUSE_METAFILE" = "yes"; then
32861 cat >>confdefs.h <<\_ACEOF
32862 #define wxUSE_METAFILE 1
32863 _ACEOF
32864
32865
32866 cat >>confdefs.h <<\_ACEOF
32867 #define wxUSE_ENH_METAFILE 1
32868 _ACEOF
32869
32870 fi
32871 fi
32872
32873 if test "$wxUSE_IPC" = "yes"; then
32874 if test "$wxUSE_SOCKETS" != "yes"; then
32875 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32876 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32877 fi
32878
32879 cat >>confdefs.h <<\_ACEOF
32880 #define wxUSE_IPC 1
32881 _ACEOF
32882
32883 fi
32884
32885 if test "$wxUSE_CLIPBOARD" = "yes"; then
32886 if test "$wxUSE_MGL" = 1; then
32887 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32888 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32889 wxUSE_CLIPBOARD=no
32890 fi
32891
32892 if test "$wxUSE_CLIPBOARD" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894 #define wxUSE_CLIPBOARD 1
32895 _ACEOF
32896
32897
32898 cat >>confdefs.h <<\_ACEOF
32899 #define wxUSE_DATAOBJ 1
32900 _ACEOF
32901
32902 fi
32903 fi
32904
32905 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32906 if test "$wxUSE_GTK" = 1; then
32907 if test "$WXGTK12" != 1; then
32908 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32909 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32910 wxUSE_DRAG_AND_DROP=no
32911 fi
32912 fi
32913
32914 if test "$wxUSE_MOTIF" = 1; then
32915 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32916 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32917 wxUSE_DRAG_AND_DROP=no
32918 fi
32919
32920 if test "$wxUSE_X11" = 1; then
32921 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32922 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32923 wxUSE_DRAG_AND_DROP=no
32924 fi
32925
32926 if test "$wxUSE_MGL" = 1; then
32927 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32928 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32929 wxUSE_DRAG_AND_DROP=no
32930 fi
32931
32932 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934 #define wxUSE_DRAG_AND_DROP 1
32935 _ACEOF
32936
32937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32938 fi
32939
32940 fi
32941
32942 if test "$wxUSE_SPLINES" = "yes" ; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define wxUSE_SPLINES 1
32945 _ACEOF
32946
32947 fi
32948
32949
32950 USES_CONTROLS=0
32951 if test "$wxUSE_CONTROLS" = "yes"; then
32952 USES_CONTROLS=1
32953 fi
32954
32955 if test "$wxUSE_ACCEL" = "yes"; then
32956 cat >>confdefs.h <<\_ACEOF
32957 #define wxUSE_ACCEL 1
32958 _ACEOF
32959
32960 USES_CONTROLS=1
32961 fi
32962
32963 if test "$wxUSE_BUTTON" = "yes"; then
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_BUTTON 1
32966 _ACEOF
32967
32968 USES_CONTROLS=1
32969 fi
32970
32971 if test "$wxUSE_BMPBUTTON" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define wxUSE_BMPBUTTON 1
32974 _ACEOF
32975
32976 USES_CONTROLS=1
32977 fi
32978
32979 if test "$wxUSE_CALCTRL" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981 #define wxUSE_CALENDARCTRL 1
32982 _ACEOF
32983
32984 USES_CONTROLS=1
32985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32986 fi
32987
32988 if test "$wxUSE_CARET" = "yes"; then
32989 cat >>confdefs.h <<\_ACEOF
32990 #define wxUSE_CARET 1
32991 _ACEOF
32992
32993 USES_CONTROLS=1
32994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32995 fi
32996
32997 if test "$wxUSE_COMBOBOX" = "yes"; then
32998 cat >>confdefs.h <<\_ACEOF
32999 #define wxUSE_COMBOBOX 1
33000 _ACEOF
33001
33002 USES_CONTROLS=1
33003 fi
33004
33005 if test "$wxUSE_CHOICE" = "yes"; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define wxUSE_CHOICE 1
33008 _ACEOF
33009
33010 USES_CONTROLS=1
33011 fi
33012
33013 if test "$wxUSE_CHECKBOX" = "yes"; then
33014 cat >>confdefs.h <<\_ACEOF
33015 #define wxUSE_CHECKBOX 1
33016 _ACEOF
33017
33018 USES_CONTROLS=1
33019 fi
33020
33021 if test "$wxUSE_CHECKLST" = "yes"; then
33022 cat >>confdefs.h <<\_ACEOF
33023 #define wxUSE_CHECKLISTBOX 1
33024 _ACEOF
33025
33026 USES_CONTROLS=1
33027 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
33028 fi
33029
33030 if test "$wxUSE_DISPLAY" = "yes"; then
33031 cat >>confdefs.h <<\_ACEOF
33032 #define wxUSE_DISPLAY 1
33033 _ACEOF
33034
33035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
33036 fi
33037
33038 if test "$wxUSE_GAUGE" = "yes"; then
33039 cat >>confdefs.h <<\_ACEOF
33040 #define wxUSE_GAUGE 1
33041 _ACEOF
33042
33043 USES_CONTROLS=1
33044 fi
33045
33046 if test "$wxUSE_GRID" = "yes"; then
33047 cat >>confdefs.h <<\_ACEOF
33048 #define wxUSE_GRID 1
33049 _ACEOF
33050
33051 USES_CONTROLS=1
33052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
33053 fi
33054
33055 if test "$wxUSE_IMAGLIST" = "yes"; then
33056 cat >>confdefs.h <<\_ACEOF
33057 #define wxUSE_IMAGLIST 1
33058 _ACEOF
33059
33060 fi
33061
33062 if test "$wxUSE_LISTBOOK" = "yes"; then
33063 cat >>confdefs.h <<\_ACEOF
33064 #define wxUSE_LISTBOOK 1
33065 _ACEOF
33066
33067 USES_CONTROLS=1
33068 fi
33069
33070 if test "$wxUSE_LISTBOX" = "yes"; then
33071 cat >>confdefs.h <<\_ACEOF
33072 #define wxUSE_LISTBOX 1
33073 _ACEOF
33074
33075 USES_CONTROLS=1
33076 fi
33077
33078 if test "$wxUSE_LISTCTRL" = "yes"; then
33079 if test "$wxUSE_IMAGLIST" = "yes"; then
33080 cat >>confdefs.h <<\_ACEOF
33081 #define wxUSE_LISTCTRL 1
33082 _ACEOF
33083
33084 USES_CONTROLS=1
33085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
33086 else
33087 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
33088 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
33089 fi
33090 fi
33091
33092 if test "$wxUSE_NOTEBOOK" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094 #define wxUSE_NOTEBOOK 1
33095 _ACEOF
33096
33097 USES_CONTROLS=1
33098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
33099 fi
33100
33101
33102 if test "$wxUSE_RADIOBOX" = "yes"; then
33103 cat >>confdefs.h <<\_ACEOF
33104 #define wxUSE_RADIOBOX 1
33105 _ACEOF
33106
33107 USES_CONTROLS=1
33108 fi
33109
33110 if test "$wxUSE_RADIOBTN" = "yes"; then
33111 cat >>confdefs.h <<\_ACEOF
33112 #define wxUSE_RADIOBTN 1
33113 _ACEOF
33114
33115 USES_CONTROLS=1
33116 fi
33117
33118 if test "$wxUSE_SASH" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120 #define wxUSE_SASH 1
33121 _ACEOF
33122
33123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
33124 fi
33125
33126 if test "$wxUSE_SCROLLBAR" = "yes"; then
33127 cat >>confdefs.h <<\_ACEOF
33128 #define wxUSE_SCROLLBAR 1
33129 _ACEOF
33130
33131 USES_CONTROLS=1
33132 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
33133 fi
33134
33135 if test "$wxUSE_SLIDER" = "yes"; then
33136 cat >>confdefs.h <<\_ACEOF
33137 #define wxUSE_SLIDER 1
33138 _ACEOF
33139
33140 USES_CONTROLS=1
33141 fi
33142
33143 if test "$wxUSE_SPINBTN" = "yes"; then
33144 cat >>confdefs.h <<\_ACEOF
33145 #define wxUSE_SPINBTN 1
33146 _ACEOF
33147
33148 USES_CONTROLS=1
33149 fi
33150
33151 if test "$wxUSE_SPINCTRL" = "yes"; then
33152 cat >>confdefs.h <<\_ACEOF
33153 #define wxUSE_SPINCTRL 1
33154 _ACEOF
33155
33156 USES_CONTROLS=1
33157 fi
33158
33159 if test "$wxUSE_SPLITTER" = "yes"; then
33160 cat >>confdefs.h <<\_ACEOF
33161 #define wxUSE_SPLITTER 1
33162 _ACEOF
33163
33164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
33165 fi
33166
33167 if test "$wxUSE_STATBMP" = "yes"; then
33168 cat >>confdefs.h <<\_ACEOF
33169 #define wxUSE_STATBMP 1
33170 _ACEOF
33171
33172 USES_CONTROLS=1
33173 fi
33174
33175 if test "$wxUSE_STATBOX" = "yes"; then
33176 cat >>confdefs.h <<\_ACEOF
33177 #define wxUSE_STATBOX 1
33178 _ACEOF
33179
33180 USES_CONTROLS=1
33181 fi
33182
33183 if test "$wxUSE_STATTEXT" = "yes"; then
33184 cat >>confdefs.h <<\_ACEOF
33185 #define wxUSE_STATTEXT 1
33186 _ACEOF
33187
33188 USES_CONTROLS=1
33189 fi
33190
33191 if test "$wxUSE_STATLINE" = "yes"; then
33192 cat >>confdefs.h <<\_ACEOF
33193 #define wxUSE_STATLINE 1
33194 _ACEOF
33195
33196 USES_CONTROLS=1
33197 fi
33198
33199 if test "$wxUSE_STATUSBAR" = "yes"; then
33200 cat >>confdefs.h <<\_ACEOF
33201 #define wxUSE_STATUSBAR 1
33202 _ACEOF
33203
33204 USES_CONTROLS=1
33205
33206 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
33207 fi
33208
33209 if test "$wxUSE_TABDIALOG" = "yes"; then
33210 cat >>confdefs.h <<\_ACEOF
33211 #define wxUSE_TAB_DIALOG 1
33212 _ACEOF
33213
33214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
33215 fi
33216
33217 if test "$wxUSE_TEXTCTRL" = "yes"; then
33218 cat >>confdefs.h <<\_ACEOF
33219 #define wxUSE_TEXTCTRL 1
33220 _ACEOF
33221
33222 USES_CONTROLS=1
33223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
33224 fi
33225
33226 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33227 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33228 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
33229 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
33230 wxUSE_TOGGLEBTN=no
33231 fi
33232 if test "$wxUSE_UNIVERSAL" = "yes"; then
33233 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
33234 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
33235 wxUSE_TOGGLEBTN=no
33236 fi
33237
33238 if test "$wxUSE_TOGGLEBTN" = "yes"; then
33239 cat >>confdefs.h <<\_ACEOF
33240 #define wxUSE_TOGGLEBTN 1
33241 _ACEOF
33242
33243 USES_CONTROLS=1
33244 fi
33245 fi
33246
33247 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
33248 cat >>confdefs.h <<\_ACEOF
33249 #define wxUSE_TOOLBAR_SIMPLE 1
33250 _ACEOF
33251
33252 wxUSE_TOOLBAR="yes"
33253 USES_CONTROLS=1
33254 fi
33255
33256 if test "$wxUSE_TOOLBAR" = "yes"; then
33257 cat >>confdefs.h <<\_ACEOF
33258 #define wxUSE_TOOLBAR 1
33259 _ACEOF
33260
33261 USES_CONTROLS=1
33262
33263 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
33264 wxUSE_TOOLBAR_NATIVE="yes"
33265 fi
33266
33267 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
33268 cat >>confdefs.h <<\_ACEOF
33269 #define wxUSE_TOOLBAR_NATIVE 1
33270 _ACEOF
33271
33272 USES_CONTROLS=1
33273 fi
33274
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
33276 fi
33277
33278 if test "$wxUSE_TOOLTIPS" = "yes"; then
33279 if test "$wxUSE_MOTIF" = 1; then
33280 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
33281 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
33282 else
33283 if test "$wxUSE_UNIVERSAL" = "yes"; then
33284 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
33285 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
33286 else
33287 cat >>confdefs.h <<\_ACEOF
33288 #define wxUSE_TOOLTIPS 1
33289 _ACEOF
33290
33291 fi
33292 fi
33293 fi
33294
33295 if test "$wxUSE_TREECTRL" = "yes"; then
33296 if test "$wxUSE_IMAGLIST" = "yes"; then
33297 cat >>confdefs.h <<\_ACEOF
33298 #define wxUSE_TREECTRL 1
33299 _ACEOF
33300
33301 USES_CONTROLS=1
33302 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
33303 else
33304 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
33305 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
33306 fi
33307 fi
33308
33309 if test "$wxUSE_POPUPWIN" = "yes"; then
33310 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
33311 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
33312 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
33313 else
33314 if test "$wxUSE_PM" = 1; then
33315 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
33316 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
33317 else
33318 cat >>confdefs.h <<\_ACEOF
33319 #define wxUSE_POPUPWIN 1
33320 _ACEOF
33321
33322
33323 USES_CONTROLS=1
33324 fi
33325 fi
33326 fi
33327
33328 if test "$wxUSE_TIPWINDOW" = "yes"; then
33329 if test "$wxUSE_PM" = 1; then
33330 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
33331 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
33332 else
33333 cat >>confdefs.h <<\_ACEOF
33334 #define wxUSE_TIPWINDOW 1
33335 _ACEOF
33336
33337 fi
33338 fi
33339
33340 if test "$USES_CONTROLS" = 1; then
33341 cat >>confdefs.h <<\_ACEOF
33342 #define wxUSE_CONTROLS 1
33343 _ACEOF
33344
33345 fi
33346
33347
33348 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
33349 cat >>confdefs.h <<\_ACEOF
33350 #define wxUSE_ACCESSIBILITY 1
33351 _ACEOF
33352
33353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
33354 fi
33355
33356 if test "$wxUSE_DRAGIMAGE" = "yes"; then
33357 cat >>confdefs.h <<\_ACEOF
33358 #define wxUSE_DRAGIMAGE 1
33359 _ACEOF
33360
33361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
33362 fi
33363
33364 if test "$wxUSE_EXCEPTIONS" = "yes"; then
33365 cat >>confdefs.h <<\_ACEOF
33366 #define wxUSE_EXCEPTIONS 1
33367 _ACEOF
33368
33369 fi
33370
33371 USE_HTML=0
33372 if test "$wxUSE_HTML" = "yes"; then
33373 cat >>confdefs.h <<\_ACEOF
33374 #define wxUSE_HTML 1
33375 _ACEOF
33376
33377 USE_HTML=1
33378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33379 fi
33380
33381 if test "$wxUSE_MENUS" = "yes"; then
33382 cat >>confdefs.h <<\_ACEOF
33383 #define wxUSE_MENUS 1
33384 _ACEOF
33385
33386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33387 fi
33388
33389 if test "$wxUSE_METAFILE" = "yes"; then
33390 cat >>confdefs.h <<\_ACEOF
33391 #define wxUSE_METAFILE 1
33392 _ACEOF
33393
33394 fi
33395
33396 if test "$wxUSE_MIMETYPE" = "yes"; then
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxUSE_MIMETYPE 1
33399 _ACEOF
33400
33401 fi
33402
33403 if test "$wxUSE_MINIFRAME" = "yes"; then
33404 cat >>confdefs.h <<\_ACEOF
33405 #define wxUSE_MINIFRAME 1
33406 _ACEOF
33407
33408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33409 fi
33410
33411 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33412 cat >>confdefs.h <<\_ACEOF
33413 #define wxUSE_SYSTEM_OPTIONS 1
33414 _ACEOF
33415
33416 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33417 "$TOOLKIT" = "MOTIF"; then
33418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33419 fi
33420 fi
33421
33422
33423 if test "$wxUSE_VALIDATORS" = "yes"; then
33424 cat >>confdefs.h <<\_ACEOF
33425 #define wxUSE_VALIDATORS 1
33426 _ACEOF
33427
33428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33429 fi
33430
33431 if test "$wxUSE_PALETTE" = "yes" ; then
33432 cat >>confdefs.h <<\_ACEOF
33433 #define wxUSE_PALETTE 1
33434 _ACEOF
33435
33436 fi
33437
33438 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33439 LIBS=" -lunicows $LIBS"
33440 fi
33441
33442
33443 if test "$wxUSE_IMAGE" = "yes" ; then
33444 cat >>confdefs.h <<\_ACEOF
33445 #define wxUSE_IMAGE 1
33446 _ACEOF
33447
33448
33449 if test "$wxUSE_GIF" = "yes" ; then
33450 cat >>confdefs.h <<\_ACEOF
33451 #define wxUSE_GIF 1
33452 _ACEOF
33453
33454 fi
33455
33456 if test "$wxUSE_PCX" = "yes" ; then
33457 cat >>confdefs.h <<\_ACEOF
33458 #define wxUSE_PCX 1
33459 _ACEOF
33460
33461 fi
33462
33463 if test "$wxUSE_IFF" = "yes" ; then
33464 cat >>confdefs.h <<\_ACEOF
33465 #define wxUSE_IFF 1
33466 _ACEOF
33467
33468 fi
33469
33470 if test "$wxUSE_PNM" = "yes" ; then
33471 cat >>confdefs.h <<\_ACEOF
33472 #define wxUSE_PNM 1
33473 _ACEOF
33474
33475 fi
33476
33477 if test "$wxUSE_XPM" = "yes" ; then
33478 cat >>confdefs.h <<\_ACEOF
33479 #define wxUSE_XPM 1
33480 _ACEOF
33481
33482 fi
33483
33484 if test "$wxUSE_ICO_CUR" = "yes" ; then
33485 cat >>confdefs.h <<\_ACEOF
33486 #define wxUSE_ICO_CUR 1
33487 _ACEOF
33488
33489 fi
33490 fi
33491
33492
33493 if test "$wxUSE_CHOICEDLG" = "yes"; then
33494 cat >>confdefs.h <<\_ACEOF
33495 #define wxUSE_CHOICEDLG 1
33496 _ACEOF
33497
33498 fi
33499
33500 if test "$wxUSE_COLOURDLG" = "yes"; then
33501 cat >>confdefs.h <<\_ACEOF
33502 #define wxUSE_COLOURDLG 1
33503 _ACEOF
33504
33505 fi
33506
33507 if test "$wxUSE_FILEDLG" = "yes"; then
33508 cat >>confdefs.h <<\_ACEOF
33509 #define wxUSE_FILEDLG 1
33510 _ACEOF
33511
33512 fi
33513
33514 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33515 cat >>confdefs.h <<\_ACEOF
33516 #define wxUSE_FINDREPLDLG 1
33517 _ACEOF
33518
33519 fi
33520
33521 if test "$wxUSE_FONTDLG" = "yes"; then
33522 cat >>confdefs.h <<\_ACEOF
33523 #define wxUSE_FONTDLG 1
33524 _ACEOF
33525
33526 fi
33527
33528 if test "$wxUSE_DIRDLG" = "yes"; then
33529 if test "$wxUSE_TREECTRL" != "yes"; then
33530 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33531 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33532 else
33533 cat >>confdefs.h <<\_ACEOF
33534 #define wxUSE_DIRDLG 1
33535 _ACEOF
33536
33537 fi
33538 fi
33539
33540 if test "$wxUSE_MSGDLG" = "yes"; then
33541 cat >>confdefs.h <<\_ACEOF
33542 #define wxUSE_MSGDLG 1
33543 _ACEOF
33544
33545 fi
33546
33547 if test "$wxUSE_NUMBERDLG" = "yes"; then
33548 cat >>confdefs.h <<\_ACEOF
33549 #define wxUSE_NUMBERDLG 1
33550 _ACEOF
33551
33552 fi
33553
33554 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33555 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33556 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33557 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33558 else
33559 cat >>confdefs.h <<\_ACEOF
33560 #define wxUSE_PROGRESSDLG 1
33561 _ACEOF
33562
33563 fi
33564 fi
33565
33566 if test "$wxUSE_SPLASH" = "yes"; then
33567 cat >>confdefs.h <<\_ACEOF
33568 #define wxUSE_SPLASH 1
33569 _ACEOF
33570
33571 fi
33572
33573 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33574 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33575 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33576 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33577 else
33578 cat >>confdefs.h <<\_ACEOF
33579 #define wxUSE_STARTUP_TIPS 1
33580 _ACEOF
33581
33582 fi
33583 fi
33584
33585 if test "$wxUSE_TEXTDLG" = "yes"; then
33586 cat >>confdefs.h <<\_ACEOF
33587 #define wxUSE_TEXTDLG 1
33588 _ACEOF
33589
33590 fi
33591
33592 if test "$wxUSE_WIZARDDLG" = "yes"; then
33593 cat >>confdefs.h <<\_ACEOF
33594 #define wxUSE_WIZARDDLG 1
33595 _ACEOF
33596
33597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33598 fi
33599
33600
33601 if test "$cross_compiling" = "yes"; then
33602 OSINFO="\"$host\""
33603 else
33604 OSINFO=`uname -s -r -m`
33605 OSINFO="\"$OSINFO\""
33606 fi
33607
33608 cat >>confdefs.h <<_ACEOF
33609 #define WXWIN_OS_DESCRIPTION $OSINFO
33610 _ACEOF
33611
33612
33613
33614 if test "x$prefix" != "xNONE"; then
33615 wxPREFIX=$prefix
33616 else
33617 wxPREFIX=$ac_default_prefix
33618 fi
33619
33620 cat >>confdefs.h <<_ACEOF
33621 #define wxINSTALL_PREFIX "$wxPREFIX"
33622 _ACEOF
33623
33624
33625 top_builddir_wxconfig=`pwd`
33626
33627
33628
33629 CORE_BASE_LIBS="net base"
33630 CORE_GUI_LIBS="adv core"
33631
33632 if test "$wxUSE_XML" = "yes" ; then
33633 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33634 fi
33635 if test "$wxUSE_ODBC" != "no" ; then
33636 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33637 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33638 fi
33639 if test "$wxUSE_HTML" = "yes" ; then
33640 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33641 fi
33642
33643 if test "$wxUSE_GUI" != "yes"; then
33644 CORE_GUI_LIBS=""
33645 fi
33646
33647
33648
33649
33650
33651
33652
33653
33654 if test "$wxUSE_MAC" = 1 ; then
33655 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33656 fi
33657 if test "$wxUSE_COCOA" = 1 ; then
33658 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33659 fi
33660
33661
33662 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33663
33664 have_cos=0
33665 have_floor=0
33666
33667 for ac_func in cos
33668 do
33669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33670 echo "$as_me:$LINENO: checking for $ac_func" >&5
33671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33672 if eval "test \"\${$as_ac_var+set}\" = set"; then
33673 echo $ECHO_N "(cached) $ECHO_C" >&6
33674 else
33675 cat >conftest.$ac_ext <<_ACEOF
33676 #line $LINENO "configure"
33677 /* confdefs.h. */
33678 _ACEOF
33679 cat confdefs.h >>conftest.$ac_ext
33680 cat >>conftest.$ac_ext <<_ACEOF
33681 /* end confdefs.h. */
33682 /* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33686 #ifdef __STDC__
33687 # include <limits.h>
33688 #else
33689 # include <assert.h>
33690 #endif
33691 /* Override any gcc2 internal prototype to avoid an error. */
33692 #ifdef __cplusplus
33693 extern "C"
33694 {
33695 #endif
33696 /* We use char because int might match the return type of a gcc2
33697 builtin and then its argument prototype would still apply. */
33698 char $ac_func ();
33699 /* The GNU C library defines this for functions which it implements
33700 to always fail with ENOSYS. Some functions are actually named
33701 something starting with __ and the normal name is an alias. */
33702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33703 choke me
33704 #else
33705 char (*f) () = $ac_func;
33706 #endif
33707 #ifdef __cplusplus
33708 }
33709 #endif
33710
33711 int
33712 main ()
33713 {
33714 return f != $ac_func;
33715 ;
33716 return 0;
33717 }
33718 _ACEOF
33719 rm -f conftest.$ac_objext conftest$ac_exeext
33720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33721 (eval $ac_link) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); } &&
33725 { ac_try='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 eval "$as_ac_var=yes"
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736 eval "$as_ac_var=no"
33737 fi
33738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33739 fi
33740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33742 if test `eval echo '${'$as_ac_var'}'` = yes; then
33743 cat >>confdefs.h <<_ACEOF
33744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33745 _ACEOF
33746 have_cos=1
33747 fi
33748 done
33749
33750
33751 for ac_func in floor
33752 do
33753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33754 echo "$as_me:$LINENO: checking for $ac_func" >&5
33755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33756 if eval "test \"\${$as_ac_var+set}\" = set"; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 else
33759 cat >conftest.$ac_ext <<_ACEOF
33760 #line $LINENO "configure"
33761 /* confdefs.h. */
33762 _ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33766 /* System header to define __stub macros and hopefully few prototypes,
33767 which can conflict with char $ac_func (); below.
33768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33769 <limits.h> exists even on freestanding compilers. */
33770 #ifdef __STDC__
33771 # include <limits.h>
33772 #else
33773 # include <assert.h>
33774 #endif
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>&5
33806 ac_status=$?
33807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33808 (exit $ac_status); } &&
33809 { ac_try='test -s conftest$ac_exeext'
33810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33811 (eval $ac_try) 2>&5
33812 ac_status=$?
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); }; }; then
33815 eval "$as_ac_var=yes"
33816 else
33817 echo "$as_me: failed program was:" >&5
33818 sed 's/^/| /' conftest.$ac_ext >&5
33819
33820 eval "$as_ac_var=no"
33821 fi
33822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33823 fi
33824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33826 if test `eval echo '${'$as_ac_var'}'` = yes; then
33827 cat >>confdefs.h <<_ACEOF
33828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33829 _ACEOF
33830 have_floor=1
33831 fi
33832 done
33833
33834 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33835 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33836 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33837 echo "$as_me:$LINENO: result: yes" >&5
33838 echo "${ECHO_T}yes" >&6
33839 else
33840 echo "$as_me:$LINENO: result: no" >&5
33841 echo "${ECHO_T}no" >&6
33842 LIBS="$LIBS -lm"
33843 # use different functions to avoid configure caching
33844 have_sin=0
33845 have_ceil=0
33846
33847 for ac_func in sin
33848 do
33849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33850 echo "$as_me:$LINENO: checking for $ac_func" >&5
33851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33852 if eval "test \"\${$as_ac_var+set}\" = set"; then
33853 echo $ECHO_N "(cached) $ECHO_C" >&6
33854 else
33855 cat >conftest.$ac_ext <<_ACEOF
33856 #line $LINENO "configure"
33857 /* confdefs.h. */
33858 _ACEOF
33859 cat confdefs.h >>conftest.$ac_ext
33860 cat >>conftest.$ac_ext <<_ACEOF
33861 /* end confdefs.h. */
33862 /* System header to define __stub macros and hopefully few prototypes,
33863 which can conflict with char $ac_func (); below.
33864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33865 <limits.h> exists even on freestanding compilers. */
33866 #ifdef __STDC__
33867 # include <limits.h>
33868 #else
33869 # include <assert.h>
33870 #endif
33871 /* Override any gcc2 internal prototype to avoid an error. */
33872 #ifdef __cplusplus
33873 extern "C"
33874 {
33875 #endif
33876 /* We use char because int might match the return type of a gcc2
33877 builtin and then its argument prototype would still apply. */
33878 char $ac_func ();
33879 /* The GNU C library defines this for functions which it implements
33880 to always fail with ENOSYS. Some functions are actually named
33881 something starting with __ and the normal name is an alias. */
33882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33883 choke me
33884 #else
33885 char (*f) () = $ac_func;
33886 #endif
33887 #ifdef __cplusplus
33888 }
33889 #endif
33890
33891 int
33892 main ()
33893 {
33894 return f != $ac_func;
33895 ;
33896 return 0;
33897 }
33898 _ACEOF
33899 rm -f conftest.$ac_objext conftest$ac_exeext
33900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33901 (eval $ac_link) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916 eval "$as_ac_var=no"
33917 fi
33918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33919 fi
33920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33922 if test `eval echo '${'$as_ac_var'}'` = yes; then
33923 cat >>confdefs.h <<_ACEOF
33924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33925 _ACEOF
33926 have_sin=1
33927 fi
33928 done
33929
33930
33931 for ac_func in ceil
33932 do
33933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934 echo "$as_me:$LINENO: checking for $ac_func" >&5
33935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936 if eval "test \"\${$as_ac_var+set}\" = set"; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 else
33939 cat >conftest.$ac_ext <<_ACEOF
33940 #line $LINENO "configure"
33941 /* confdefs.h. */
33942 _ACEOF
33943 cat confdefs.h >>conftest.$ac_ext
33944 cat >>conftest.$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33946 /* System header to define __stub macros and hopefully few prototypes,
33947 which can conflict with char $ac_func (); below.
33948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33949 <limits.h> exists even on freestanding compilers. */
33950 #ifdef __STDC__
33951 # include <limits.h>
33952 #else
33953 # include <assert.h>
33954 #endif
33955 /* Override any gcc2 internal prototype to avoid an error. */
33956 #ifdef __cplusplus
33957 extern "C"
33958 {
33959 #endif
33960 /* We use char because int might match the return type of a gcc2
33961 builtin and then its argument prototype would still apply. */
33962 char $ac_func ();
33963 /* The GNU C library defines this for functions which it implements
33964 to always fail with ENOSYS. Some functions are actually named
33965 something starting with __ and the normal name is an alias. */
33966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33967 choke me
33968 #else
33969 char (*f) () = $ac_func;
33970 #endif
33971 #ifdef __cplusplus
33972 }
33973 #endif
33974
33975 int
33976 main ()
33977 {
33978 return f != $ac_func;
33979 ;
33980 return 0;
33981 }
33982 _ACEOF
33983 rm -f conftest.$ac_objext conftest$ac_exeext
33984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33985 (eval $ac_link) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); } &&
33989 { ac_try='test -s conftest$ac_exeext'
33990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33991 (eval $ac_try) 2>&5
33992 ac_status=$?
33993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33994 (exit $ac_status); }; }; then
33995 eval "$as_ac_var=yes"
33996 else
33997 echo "$as_me: failed program was:" >&5
33998 sed 's/^/| /' conftest.$ac_ext >&5
33999
34000 eval "$as_ac_var=no"
34001 fi
34002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34003 fi
34004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34006 if test `eval echo '${'$as_ac_var'}'` = yes; then
34007 cat >>confdefs.h <<_ACEOF
34008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34009 _ACEOF
34010 have_ceil=1
34011 fi
34012 done
34013
34014 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
34015 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
34016 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
34017 echo "$as_me:$LINENO: result: yes" >&5
34018 echo "${ECHO_T}yes" >&6
34019 else
34020 echo "$as_me:$LINENO: result: no" >&5
34021 echo "${ECHO_T}no" >&6
34022 # not sure we should warn the user, crash, etc.
34023 fi
34024 fi
34025
34026 if test "$wxUSE_GUI" = "yes"; then
34027
34028
34029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
34030 drawing dynamic erase event exec font image \
34031 minimal propsize rotate shaped widgets render"
34032
34033 if test "$wxUSE_MONOLITHIC" != "yes"; then
34034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
34035 fi
34036 else
34037 SAMPLES_SUBDIRS="console"
34038 fi
34039
34040
34041 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
34042 -I\${top_srcdir}/include \
34043 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
34044 $TOOLKIT_INCLUDE"
34045
34046 if test "$GXX" = yes ; then
34047 CXXWARNINGS="-Wall"
34048 fi
34049
34050 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
34051
34052 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
34053 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
34054 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
34055
34056
34057 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
34058 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
34059 EXTRALIBS_XML="$EXPAT_LINK"
34060 EXTRALIBS_HTML="$MSPACK_LINK"
34061 EXTRALIBS_ODBC="$ODBC_LINK"
34062 if test "$wxUSE_GUI" = "yes"; then
34063 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
34064 fi
34065 if test "$wxUSE_OPENGL" = "yes"; then
34066 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
34067 fi
34068
34069 LDFLAGS="$LDFLAGS $PROFILE"
34070
34071 if test "$wxUSE_GTK" = 1; then
34072 WXCONFIG_INCLUDE=
34073 else
34074 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
34075 fi
34076
34077 WXCONFIG_EXTRALIBS="$LIBS"
34078
34079 if test "$wxUSE_REGEX" = "builtin" ; then
34080 wxconfig_3rdparty="$wxconfig_3rdparty regex"
34081 fi
34082 if test "$wxUSE_EXPAT" = "builtin" ; then
34083 wxconfig_3rdparty="$wxconfig_3rdparty expat"
34084 fi
34085 if test "$wxUSE_ODBC" = "builtin" ; then
34086 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34087 fi
34088 if test "$wxUSE_LIBTIFF" = "builtin" ; then
34089 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
34090 fi
34091 if test "$wxUSE_LIBJPEG" = "builtin" ; then
34092 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
34093 fi
34094 if test "$wxUSE_LIBPNG" = "builtin" ; then
34095 wxconfig_3rdparty="$wxconfig_3rdparty png"
34096 fi
34097 if test "$wxUSE_ZLIB" = "builtin" ; then
34098 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
34099 fi
34100 if test "$wxUSE_ODBC" = "builtin" ; then
34101 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
34102 fi
34103
34104 for i in $wxconfig_3rdparty ; do
34105 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
34106 done
34107
34108
34109 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
34110 WXUNIV=1
34111 else
34112 WXUNIV=0
34113 fi
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123 if test $wxUSE_MONOLITHIC = "yes" ; then
34124 MONOLITHIC=1
34125 else
34126 MONOLITHIC=0
34127 fi
34128
34129 if test $wxUSE_ODBC != "no" ; then
34130 USE_ODBC=1
34131 else
34132 USE_ODBC=0
34133 fi
34134
34135 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
34136 OFFICIAL_BUILD=1
34137 else
34138 OFFICIAL_BUILD=0
34139 fi
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
34159
34160
34161
34162
34163
34164
34165
34166 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
34167
34168 if test -n "$ac_tool_prefix"; then
34169 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
34170 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
34171 echo "$as_me:$LINENO: checking for $ac_word" >&5
34172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34173 if test "${ac_cv_prog_RANLIB+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176 if test -n "$RANLIB"; then
34177 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
34178 else
34179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34180 for as_dir in $PATH
34181 do
34182 IFS=$as_save_IFS
34183 test -z "$as_dir" && as_dir=.
34184 for ac_exec_ext in '' $ac_executable_extensions; do
34185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34186 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
34187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34188 break 2
34189 fi
34190 done
34191 done
34192
34193 fi
34194 fi
34195 RANLIB=$ac_cv_prog_RANLIB
34196 if test -n "$RANLIB"; then
34197 echo "$as_me:$LINENO: result: $RANLIB" >&5
34198 echo "${ECHO_T}$RANLIB" >&6
34199 else
34200 echo "$as_me:$LINENO: result: no" >&5
34201 echo "${ECHO_T}no" >&6
34202 fi
34203
34204 fi
34205 if test -z "$ac_cv_prog_RANLIB"; then
34206 ac_ct_RANLIB=$RANLIB
34207 # Extract the first word of "ranlib", so it can be a program name with args.
34208 set dummy ranlib; ac_word=$2
34209 echo "$as_me:$LINENO: checking for $ac_word" >&5
34210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34211 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
34212 echo $ECHO_N "(cached) $ECHO_C" >&6
34213 else
34214 if test -n "$ac_ct_RANLIB"; then
34215 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
34216 else
34217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34218 for as_dir in $PATH
34219 do
34220 IFS=$as_save_IFS
34221 test -z "$as_dir" && as_dir=.
34222 for ac_exec_ext in '' $ac_executable_extensions; do
34223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34224 ac_cv_prog_ac_ct_RANLIB="ranlib"
34225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34226 break 2
34227 fi
34228 done
34229 done
34230
34231 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
34232 fi
34233 fi
34234 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
34235 if test -n "$ac_ct_RANLIB"; then
34236 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
34237 echo "${ECHO_T}$ac_ct_RANLIB" >&6
34238 else
34239 echo "$as_me:$LINENO: result: no" >&5
34240 echo "${ECHO_T}no" >&6
34241 fi
34242
34243 RANLIB=$ac_ct_RANLIB
34244 else
34245 RANLIB="$ac_cv_prog_RANLIB"
34246 fi
34247
34248 # Find a good install program. We prefer a C program (faster),
34249 # so one script is as good as another. But avoid the broken or
34250 # incompatible versions:
34251 # SysV /etc/install, /usr/sbin/install
34252 # SunOS /usr/etc/install
34253 # IRIX /sbin/install
34254 # AIX /bin/install
34255 # AmigaOS /C/install, which installs bootblocks on floppy discs
34256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
34257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
34258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
34259 # ./install, which can be erroneously created by make from ./install.sh.
34260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
34261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
34262 if test -z "$INSTALL"; then
34263 if test "${ac_cv_path_install+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34267 for as_dir in $PATH
34268 do
34269 IFS=$as_save_IFS
34270 test -z "$as_dir" && as_dir=.
34271 # Account for people who put trailing slashes in PATH elements.
34272 case $as_dir/ in
34273 ./ | .// | /cC/* | \
34274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
34275 /usr/ucb/* ) ;;
34276 *)
34277 # OSF1 and SCO ODT 3.0 have their own names for install.
34278 # Don't use installbsd from OSF since it installs stuff as root
34279 # by default.
34280 for ac_prog in ginstall scoinst install; do
34281 for ac_exec_ext in '' $ac_executable_extensions; do
34282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
34283 if test $ac_prog = install &&
34284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34285 # AIX install. It has an incompatible calling convention.
34286 :
34287 elif test $ac_prog = install &&
34288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
34289 # program-specific install script used by HP pwplus--don't use.
34290 :
34291 else
34292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
34293 break 3
34294 fi
34295 fi
34296 done
34297 done
34298 ;;
34299 esac
34300 done
34301
34302
34303 fi
34304 if test "${ac_cv_path_install+set}" = set; then
34305 INSTALL=$ac_cv_path_install
34306 else
34307 # As a last resort, use the slow shell script. We don't cache a
34308 # path for INSTALL within a source directory, because that will
34309 # break other packages using the cache if that directory is
34310 # removed, or if the path is relative.
34311 INSTALL=$ac_install_sh
34312 fi
34313 fi
34314 echo "$as_me:$LINENO: result: $INSTALL" >&5
34315 echo "${ECHO_T}$INSTALL" >&6
34316
34317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
34318 # It thinks the first close brace ends the variable substitution.
34319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
34320
34321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
34322
34323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
34324
34325 echo "$as_me:$LINENO: checking whether ln -s works" >&5
34326 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
34327 LN_S=$as_ln_s
34328 if test "$LN_S" = "ln -s"; then
34329 echo "$as_me:$LINENO: result: yes" >&5
34330 echo "${ECHO_T}yes" >&6
34331 else
34332 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
34333 echo "${ECHO_T}no, using $LN_S" >&6
34334 fi
34335
34336
34337 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
34338 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
34339 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
34340 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
34341 echo $ECHO_N "(cached) $ECHO_C" >&6
34342 else
34343 cat >conftest.make <<\_ACEOF
34344 all:
34345 @echo 'ac_maketemp="$(MAKE)"'
34346 _ACEOF
34347 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
34348 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
34349 if test -n "$ac_maketemp"; then
34350 eval ac_cv_prog_make_${ac_make}_set=yes
34351 else
34352 eval ac_cv_prog_make_${ac_make}_set=no
34353 fi
34354 rm -f conftest.make
34355 fi
34356 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
34357 echo "$as_me:$LINENO: result: yes" >&5
34358 echo "${ECHO_T}yes" >&6
34359 SET_MAKE=
34360 else
34361 echo "$as_me:$LINENO: result: no" >&5
34362 echo "${ECHO_T}no" >&6
34363 SET_MAKE="MAKE=${MAKE-make}"
34364 fi
34365
34366
34367
34368 if test -n "$ac_tool_prefix"; then
34369 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
34370 set dummy ${ac_tool_prefix}ar; ac_word=$2
34371 echo "$as_me:$LINENO: checking for $ac_word" >&5
34372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34373 if test "${ac_cv_prog_AR+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 else
34376 if test -n "$AR"; then
34377 ac_cv_prog_AR="$AR" # Let the user override the test.
34378 else
34379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34380 for as_dir in $PATH
34381 do
34382 IFS=$as_save_IFS
34383 test -z "$as_dir" && as_dir=.
34384 for ac_exec_ext in '' $ac_executable_extensions; do
34385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34386 ac_cv_prog_AR="${ac_tool_prefix}ar"
34387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34388 break 2
34389 fi
34390 done
34391 done
34392
34393 fi
34394 fi
34395 AR=$ac_cv_prog_AR
34396 if test -n "$AR"; then
34397 echo "$as_me:$LINENO: result: $AR" >&5
34398 echo "${ECHO_T}$AR" >&6
34399 else
34400 echo "$as_me:$LINENO: result: no" >&5
34401 echo "${ECHO_T}no" >&6
34402 fi
34403
34404 fi
34405 if test -z "$ac_cv_prog_AR"; then
34406 ac_ct_AR=$AR
34407 # Extract the first word of "ar", so it can be a program name with args.
34408 set dummy ar; ac_word=$2
34409 echo "$as_me:$LINENO: checking for $ac_word" >&5
34410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34411 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
34412 echo $ECHO_N "(cached) $ECHO_C" >&6
34413 else
34414 if test -n "$ac_ct_AR"; then
34415 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
34416 else
34417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34418 for as_dir in $PATH
34419 do
34420 IFS=$as_save_IFS
34421 test -z "$as_dir" && as_dir=.
34422 for ac_exec_ext in '' $ac_executable_extensions; do
34423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34424 ac_cv_prog_ac_ct_AR="ar"
34425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34426 break 2
34427 fi
34428 done
34429 done
34430
34431 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
34432 fi
34433 fi
34434 ac_ct_AR=$ac_cv_prog_ac_ct_AR
34435 if test -n "$ac_ct_AR"; then
34436 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
34437 echo "${ECHO_T}$ac_ct_AR" >&6
34438 else
34439 echo "$as_me:$LINENO: result: no" >&5
34440 echo "${ECHO_T}no" >&6
34441 fi
34442
34443 AR=$ac_ct_AR
34444 else
34445 AR="$ac_cv_prog_AR"
34446 fi
34447
34448 if test -n "$ac_tool_prefix"; then
34449 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
34450 set dummy ${ac_tool_prefix}strip; ac_word=$2
34451 echo "$as_me:$LINENO: checking for $ac_word" >&5
34452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34453 if test "${ac_cv_prog_STRIP+set}" = set; then
34454 echo $ECHO_N "(cached) $ECHO_C" >&6
34455 else
34456 if test -n "$STRIP"; then
34457 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34458 else
34459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34460 for as_dir in $PATH
34461 do
34462 IFS=$as_save_IFS
34463 test -z "$as_dir" && as_dir=.
34464 for ac_exec_ext in '' $ac_executable_extensions; do
34465 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34466 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
34467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34468 break 2
34469 fi
34470 done
34471 done
34472
34473 fi
34474 fi
34475 STRIP=$ac_cv_prog_STRIP
34476 if test -n "$STRIP"; then
34477 echo "$as_me:$LINENO: result: $STRIP" >&5
34478 echo "${ECHO_T}$STRIP" >&6
34479 else
34480 echo "$as_me:$LINENO: result: no" >&5
34481 echo "${ECHO_T}no" >&6
34482 fi
34483
34484 fi
34485 if test -z "$ac_cv_prog_STRIP"; then
34486 ac_ct_STRIP=$STRIP
34487 # Extract the first word of "strip", so it can be a program name with args.
34488 set dummy strip; ac_word=$2
34489 echo "$as_me:$LINENO: checking for $ac_word" >&5
34490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34491 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
34492 echo $ECHO_N "(cached) $ECHO_C" >&6
34493 else
34494 if test -n "$ac_ct_STRIP"; then
34495 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
34496 else
34497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34498 for as_dir in $PATH
34499 do
34500 IFS=$as_save_IFS
34501 test -z "$as_dir" && as_dir=.
34502 for ac_exec_ext in '' $ac_executable_extensions; do
34503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34504 ac_cv_prog_ac_ct_STRIP="strip"
34505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34506 break 2
34507 fi
34508 done
34509 done
34510
34511 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
34512 fi
34513 fi
34514 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
34515 if test -n "$ac_ct_STRIP"; then
34516 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
34517 echo "${ECHO_T}$ac_ct_STRIP" >&6
34518 else
34519 echo "$as_me:$LINENO: result: no" >&5
34520 echo "${ECHO_T}no" >&6
34521 fi
34522
34523 STRIP=$ac_ct_STRIP
34524 else
34525 STRIP="$ac_cv_prog_STRIP"
34526 fi
34527
34528 if test -n "$ac_tool_prefix"; then
34529 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
34530 set dummy ${ac_tool_prefix}nm; ac_word=$2
34531 echo "$as_me:$LINENO: checking for $ac_word" >&5
34532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34533 if test "${ac_cv_prog_NM+set}" = set; then
34534 echo $ECHO_N "(cached) $ECHO_C" >&6
34535 else
34536 if test -n "$NM"; then
34537 ac_cv_prog_NM="$NM" # Let the user override the test.
34538 else
34539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34540 for as_dir in $PATH
34541 do
34542 IFS=$as_save_IFS
34543 test -z "$as_dir" && as_dir=.
34544 for ac_exec_ext in '' $ac_executable_extensions; do
34545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34546 ac_cv_prog_NM="${ac_tool_prefix}nm"
34547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34548 break 2
34549 fi
34550 done
34551 done
34552
34553 fi
34554 fi
34555 NM=$ac_cv_prog_NM
34556 if test -n "$NM"; then
34557 echo "$as_me:$LINENO: result: $NM" >&5
34558 echo "${ECHO_T}$NM" >&6
34559 else
34560 echo "$as_me:$LINENO: result: no" >&5
34561 echo "${ECHO_T}no" >&6
34562 fi
34563
34564 fi
34565 if test -z "$ac_cv_prog_NM"; then
34566 ac_ct_NM=$NM
34567 # Extract the first word of "nm", so it can be a program name with args.
34568 set dummy nm; ac_word=$2
34569 echo "$as_me:$LINENO: checking for $ac_word" >&5
34570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34571 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
34572 echo $ECHO_N "(cached) $ECHO_C" >&6
34573 else
34574 if test -n "$ac_ct_NM"; then
34575 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
34576 else
34577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34578 for as_dir in $PATH
34579 do
34580 IFS=$as_save_IFS
34581 test -z "$as_dir" && as_dir=.
34582 for ac_exec_ext in '' $ac_executable_extensions; do
34583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34584 ac_cv_prog_ac_ct_NM="nm"
34585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34586 break 2
34587 fi
34588 done
34589 done
34590
34591 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
34592 fi
34593 fi
34594 ac_ct_NM=$ac_cv_prog_ac_ct_NM
34595 if test -n "$ac_ct_NM"; then
34596 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
34597 echo "${ECHO_T}$ac_ct_NM" >&6
34598 else
34599 echo "$as_me:$LINENO: result: no" >&5
34600 echo "${ECHO_T}no" >&6
34601 fi
34602
34603 NM=$ac_ct_NM
34604 else
34605 NM="$ac_cv_prog_NM"
34606 fi
34607
34608
34609 case ${host} in
34610 *-hp-hpux* )
34611 INSTALL_DIR="mkdir"
34612 ;;
34613 *) INSTALL_DIR="$INSTALL -d"
34614 ;;
34615 esac
34616
34617
34618 LDFLAGS_GUI=
34619 case ${host} in
34620 *-*-cygwin* | *-*-mingw32* )
34621 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34622 esac
34623
34624
34625 fi
34626
34627 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34628 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34629 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34630 echo $ECHO_N "(cached) $ECHO_C" >&6
34631 else
34632
34633 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34634 egrep -s GNU > /dev/null); then
34635 bakefile_cv_prog_makeisgnu="yes"
34636 else
34637 bakefile_cv_prog_makeisgnu="no"
34638 fi
34639
34640 fi
34641 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34642 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34643
34644 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34645 IF_GNU_MAKE=""
34646 else
34647 IF_GNU_MAKE="#"
34648 fi
34649
34650
34651
34652 PLATFORM_UNIX=0
34653 PLATFORM_WIN32=0
34654 PLATFORM_MSDOS=0
34655 PLATFORM_MAC=0
34656 PLATFORM_MACOSX=0
34657 PLATFORM_OS2=0
34658
34659 case "${host}" in
34660 *-*-cygwin* | *-*-mingw32* )
34661 PLATFORM_WIN32=1
34662 ;;
34663 *-pc-msdosdjgpp )
34664 PLATFORM_MSDOS=1
34665 ;;
34666 *-pc-os2_emx | *-pc-os2-emx )
34667 PLATFORM_OS2=1
34668 ;;
34669 powerpc-*-darwin* )
34670 PLATFORM_MAC=1
34671 PLATFORM_MACOSX=1
34672 ;;
34673 * )
34674 PLATFORM_UNIX=1
34675 ;;
34676 esac
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686 SO_SUFFIX="so"
34687 SO_SUFFIX_MODULE="so"
34688 EXEEXT=""
34689 LIBPREFIX=lib
34690 DLLPREFIX=lib
34691 DLLPREFIX_MODULE=
34692
34693 case "${host}" in
34694 *-hp-hpux* )
34695 SO_SUFFIX="sl"
34696 SO_SUFFIX_MODULE="sl"
34697 ;;
34698 *-*-aix* )
34699 SO_SUFFIX="a"
34700 SO_SUFFIX_MODULE="a"
34701 ;;
34702 *-*-cygwin* | *-*-mingw32* )
34703 SO_SUFFIX="dll"
34704 SO_SUFFIX_MODULE="dll"
34705 EXEEXT=".exe"
34706 DLLPREFIX=""
34707 ;;
34708 *-pc-msdosdjgpp )
34709 EXEEXT=".exe"
34710 DLLPREFIX=""
34711 ;;
34712 *-pc-os2_emx | *-pc-os2-emx )
34713 EXEEXT=".exe"
34714 DLLPREFIX=""
34715 LIBPREFIX=""
34716 ;;
34717 powerpc-*-darwin* )
34718 SO_SUFFIX="dylib"
34719 SO_SUFFIX_MODULE="bundle"
34720 ;;
34721 esac
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731 SHARED_LD_CC="\$(CC) -shared -o"
34732 SHARED_LD_CXX="\$(CXX) -shared -o"
34733
34734 if test "x$GCC" = "xyes"; then
34735 PIC_FLAG="-fPIC"
34736 fi
34737
34738 case "${host}" in
34739 *-hp-hpux* )
34740 if test "x$GCC" = "xyes"; then
34741 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34742 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34743 else
34744 LDFLAGS="$LDFLAGS -L/usr/lib"
34745
34746 SHARED_LD_CC="${CC} -b -o"
34747 SHARED_LD_CXX="${CXX} -b -o"
34748 PIC_FLAG="+Z"
34749 fi
34750 ;;
34751
34752 *-*-linux* )
34753 if test "x$GCC" != "xyes"; then
34754 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34755 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34756 if test "${bakefile_cv_prog_icc+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34758 else
34759
34760 cat >conftest.$ac_ext <<_ACEOF
34761 #line $LINENO "configure"
34762 /* confdefs.h. */
34763 _ACEOF
34764 cat confdefs.h >>conftest.$ac_ext
34765 cat >>conftest.$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34767
34768 int
34769 main ()
34770 {
34771
34772 #ifndef __INTEL_COMPILER
34773 #error Not icc
34774 #endif
34775
34776 ;
34777 return 0;
34778 }
34779 _ACEOF
34780 rm -f conftest.$ac_objext
34781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34782 (eval $ac_compile) 2>&5
34783 ac_status=$?
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); } &&
34786 { ac_try='test -s conftest.$ac_objext'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34789 ac_status=$?
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; }; then
34792 bakefile_cv_prog_icc=yes
34793 else
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.$ac_ext >&5
34796
34797 bakefile_cv_prog_icc=no
34798
34799 fi
34800 rm -f conftest.$ac_objext conftest.$ac_ext
34801
34802 fi
34803 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34804 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34805 if test "$bakefile_cv_prog_icc" = "yes"; then
34806 PIC_FLAG="-KPIC"
34807 fi
34808 fi
34809 ;;
34810
34811 *-*-solaris2* )
34812 if test "x$GCC" != xyes ; then
34813 SHARED_LD_CC="${CC} -G -o"
34814 SHARED_LD_CXX="${CXX} -G -o"
34815 PIC_FLAG="-KPIC"
34816 fi
34817 ;;
34818
34819 *-*-darwin* )
34820 CFLAGS="$CFLAGS -fno-common"
34821 CXXFLAGS="$CXXFLAGS -fno-common"
34822
34823
34824 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
34825 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
34826 if test "${wx_cv_gcc31+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829
34830 cat >conftest.$ac_ext <<_ACEOF
34831 #line $LINENO "configure"
34832 /* confdefs.h. */
34833 _ACEOF
34834 cat confdefs.h >>conftest.$ac_ext
34835 cat >>conftest.$ac_ext <<_ACEOF
34836 /* end confdefs.h. */
34837
34838 int
34839 main ()
34840 {
34841
34842 #if (__GNUC__ < 3) || \
34843 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
34844 #error old gcc
34845 #endif
34846
34847 ;
34848 return 0;
34849 }
34850 _ACEOF
34851 rm -f conftest.$ac_objext
34852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34853 (eval $ac_compile) 2>&5
34854 ac_status=$?
34855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34856 (exit $ac_status); } &&
34857 { ac_try='test -s conftest.$ac_objext'
34858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34859 (eval $ac_try) 2>&5
34860 ac_status=$?
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; }; then
34863
34864 wx_cv_gcc31=yes
34865
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870
34871 wx_cv_gcc31=no
34872
34873
34874 fi
34875 rm -f conftest.$ac_objext conftest.$ac_ext
34876
34877 fi
34878 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
34879 echo "${ECHO_T}$wx_cv_gcc31" >&6
34880 if test "$wx_cv_gcc31" = "no"; then
34881 cat <<EOF >shared-ld-sh
34882 #!/bin/sh
34883 #-----------------------------------------------------------------------------
34884 #-- Name: distrib/mac/shared-ld-sh
34885 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34886 #-- Author: Gilles Depeyrot
34887 #-- Copyright: (c) 2002 Gilles Depeyrot
34888 #-- Licence: any use permitted
34889 #-----------------------------------------------------------------------------
34890
34891 verbose=0
34892 args=""
34893 objects=""
34894 linking_flag="-dynamiclib"
34895
34896 while test \${#} -gt 0; do
34897 case \${1} in
34898
34899 -v)
34900 verbose=1
34901 ;;
34902
34903 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34904 # collect these options and values
34905 args="\${args} \${1} \${2}"
34906 shift
34907 ;;
34908
34909 -l*|-L*|-flat_namespace)
34910 # collect these options
34911 args="\${args} \${1}"
34912 ;;
34913
34914 -dynamiclib|-bundle)
34915 linking_flag="\${1}"
34916 ;;
34917
34918 -*)
34919 echo "shared-ld: unhandled option '\${1}'"
34920 exit 1
34921 ;;
34922
34923 *.o | *.a | *.dylib)
34924 # collect object files
34925 objects="\${objects} \${1}"
34926 ;;
34927
34928 *)
34929 echo "shared-ld: unhandled argument '\${1}'"
34930 exit 1
34931 ;;
34932
34933 esac
34934 shift
34935 done
34936
34937 #
34938 # Link one module containing all the others
34939 #
34940 if test \${verbose} = 1; then
34941 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34942 fi
34943 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34944 status=\$?
34945 if test \${status} != 0; then
34946 exit \${status}
34947 fi
34948
34949 #
34950 # Link the shared library from the single module created
34951 #
34952 if test \${verbose} = 1; then
34953 echo "cc \${linking_flag} master.\$\$.o \${args}"
34954 fi
34955 c++ \${linking_flag} master.\$\$.o \${args}
34956 status=\$?
34957 if test \${status} != 0; then
34958 exit \${status}
34959 fi
34960
34961 #
34962 # Remove intermediate module
34963 #
34964 rm -f master.\$\$.o
34965
34966 exit 0
34967 EOF
34968 chmod +x shared-ld-sh
34969
34970 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -o"
34971 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -o"
34972 SHARED_LD_CXX="$SHARED_LD_CC"
34973 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34974 else
34975 SHARED_LD_CC="\${CC} -dynamiclib -single_module -o"
34976 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -o"
34977 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -o"
34978 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -o"
34979 fi
34980
34981 PIC_FLAG="-dynamic -fPIC"
34982 ;;
34983
34984 *-*-aix* )
34985 if test "x$GCC" != "xyes"; then
34986 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34987 set dummy makeC++SharedLib; ac_word=$2
34988 echo "$as_me:$LINENO: checking for $ac_word" >&5
34989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34990 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34991 echo $ECHO_N "(cached) $ECHO_C" >&6
34992 else
34993 if test -n "$AIX_CXX_LD"; then
34994 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34995 else
34996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34997 for as_dir in $PATH
34998 do
34999 IFS=$as_save_IFS
35000 test -z "$as_dir" && as_dir=.
35001 for ac_exec_ext in '' $ac_executable_extensions; do
35002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35003 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
35004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35005 break 2
35006 fi
35007 done
35008 done
35009
35010 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
35011 fi
35012 fi
35013 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
35014 if test -n "$AIX_CXX_LD"; then
35015 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
35016 echo "${ECHO_T}$AIX_CXX_LD" >&6
35017 else
35018 echo "$as_me:$LINENO: result: no" >&5
35019 echo "${ECHO_T}no" >&6
35020 fi
35021
35022 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
35023 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
35024 fi
35025 ;;
35026
35027 *-*-beos* )
35028 SHARED_LD_CC="${LD} -shared -o"
35029 SHARED_LD_CXX="${LD} -shared -o"
35030 ;;
35031
35032 *-*-irix* )
35033 if test "x$GCC" != "xyes"; then
35034 PIC_FLAG="-KPIC"
35035 fi
35036 ;;
35037
35038 *-*-cygwin* | *-*-mingw32* )
35039 PIC_FLAG=""
35040 ;;
35041
35042 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
35043 *-*-sunos4* | \
35044 *-*-osf* | \
35045 *-*-dgux5* | \
35046 *-pc-os2_emx | *-pc-os2-emx | \
35047 *-*-sysv5* )
35048 ;;
35049
35050 *)
35051 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
35052 echo "$as_me: error: unknown system type $host." >&2;}
35053 { (exit 1); exit 1; }; }
35054 esac
35055
35056 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
35057 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
35058 fi
35059 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
35060 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
35061 fi
35062
35063
35064
35065
35066
35067
35068
35069
35070 USE_SOVERSION=0
35071 USE_SOVERLINUX=0
35072 USE_SOVERSOLARIS=0
35073 USE_SOSYMLINKS=0
35074 USE_MACVERSION=0
35075 SONAME_FLAG=
35076
35077 case "${host}" in
35078 *-*-linux* )
35079 SONAME_FLAG="-Wl,-soname,"
35080 USE_SOVERSION=1
35081 USE_SOVERLINUX=1
35082 USE_SOSYMLINKS=1
35083 ;;
35084
35085 *-*-solaris2* )
35086 SONAME_FLAG="-h "
35087 USE_SOVERSION=1
35088 USE_SOVERSOLARIS=1
35089 USE_SOSYMLINKS=1
35090 ;;
35091
35092 *-*-darwin* )
35093 USE_MACVERSION=1
35094 USE_SOVERSION=1
35095 USE_SOSYMLINKS=1
35096 ;;
35097 esac
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
35108 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
35109 DEPS_TRACKING=0
35110
35111 if test "x$GCC" = "xyes"; then
35112 DEPSMODE=gcc
35113 DEPS_TRACKING=1
35114 case "${host}" in
35115 powerpc-*-darwin* )
35116 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
35117 ;;
35118 * )
35119 DEPSFLAG_GCC="-MMD"
35120 ;;
35121 esac
35122 echo "$as_me:$LINENO: result: gcc" >&5
35123 echo "${ECHO_T}gcc" >&6
35124 else
35125 echo "$as_me:$LINENO: result: none" >&5
35126 echo "${ECHO_T}none" >&6
35127 fi
35128
35129 if test $DEPS_TRACKING = 1 ; then
35130 cat <<EOF >bk-deps
35131 #!/bin/sh
35132
35133 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35134 # script. It is used to track C/C++ files dependencies in portable way.
35135 #
35136 # Permission is given to use this file in any way.
35137
35138 DEPSMODE=$DEPSMODE
35139 DEPSDIR=.deps
35140 DEPSFLAG_GCC="$DEPSFLAG_GCC"
35141
35142 mkdir -p \$DEPSDIR
35143
35144 if test \$DEPSMODE = gcc ; then
35145 \${*} \${DEPSFLAG_GCC}
35146 status=\${?}
35147 if test \${status} != 0 ; then
35148 exit \${status}
35149 fi
35150 # move created file to the location we want it in:
35151 while test \${#} -gt 0; do
35152 case "\${1}" in
35153 -o )
35154 shift
35155 objfile=\${1}
35156 ;;
35157 -* )
35158 ;;
35159 * )
35160 srcfile=\${1}
35161 ;;
35162 esac
35163 shift
35164 done
35165 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
35166 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
35167 if test -f \$depfile ; then
35168 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35169 rm -f \$depfile
35170 else
35171 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
35172 if test -f \$depfile ; then
35173 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
35174 rm -f \$depfile
35175 fi
35176 fi
35177 exit 0
35178 else
35179 \${*}
35180 exit \${?}
35181 fi
35182 EOF
35183 chmod +x bk-deps
35184 fi
35185
35186
35187
35188
35189 RESCOMP=
35190 SETFILE=
35191
35192 case ${host} in
35193 *-*-cygwin* | *-*-mingw32* )
35194 if test "$build" != "$host" ; then
35195 RESCOMP=$host_alias-windres
35196 else
35197 # Extract the first word of "windres", so it can be a program name with args.
35198 set dummy windres; ac_word=$2
35199 echo "$as_me:$LINENO: checking for $ac_word" >&5
35200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35201 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35202 echo $ECHO_N "(cached) $ECHO_C" >&6
35203 else
35204 if test -n "$RESCOMP"; then
35205 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35206 else
35207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35208 for as_dir in $PATH
35209 do
35210 IFS=$as_save_IFS
35211 test -z "$as_dir" && as_dir=.
35212 for ac_exec_ext in '' $ac_executable_extensions; do
35213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35214 ac_cv_prog_RESCOMP="windres"
35215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35216 break 2
35217 fi
35218 done
35219 done
35220
35221 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
35222 fi
35223 fi
35224 RESCOMP=$ac_cv_prog_RESCOMP
35225 if test -n "$RESCOMP"; then
35226 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35227 echo "${ECHO_T}$RESCOMP" >&6
35228 else
35229 echo "$as_me:$LINENO: result: no" >&5
35230 echo "${ECHO_T}no" >&6
35231 fi
35232
35233 fi
35234 ;;
35235
35236 *-*-darwin* )
35237 # Extract the first word of "Rez", so it can be a program name with args.
35238 set dummy Rez; ac_word=$2
35239 echo "$as_me:$LINENO: checking for $ac_word" >&5
35240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35241 if test "${ac_cv_prog_RESCOMP+set}" = set; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 else
35244 if test -n "$RESCOMP"; then
35245 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
35246 else
35247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35248 for as_dir in $PATH
35249 do
35250 IFS=$as_save_IFS
35251 test -z "$as_dir" && as_dir=.
35252 for ac_exec_ext in '' $ac_executable_extensions; do
35253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35254 ac_cv_prog_RESCOMP="Rez"
35255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35256 break 2
35257 fi
35258 done
35259 done
35260
35261 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
35262 fi
35263 fi
35264 RESCOMP=$ac_cv_prog_RESCOMP
35265 if test -n "$RESCOMP"; then
35266 echo "$as_me:$LINENO: result: $RESCOMP" >&5
35267 echo "${ECHO_T}$RESCOMP" >&6
35268 else
35269 echo "$as_me:$LINENO: result: no" >&5
35270 echo "${ECHO_T}no" >&6
35271 fi
35272
35273 # Extract the first word of "SetFile", so it can be a program name with args.
35274 set dummy SetFile; ac_word=$2
35275 echo "$as_me:$LINENO: checking for $ac_word" >&5
35276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35277 if test "${ac_cv_prog_SETFILE+set}" = set; then
35278 echo $ECHO_N "(cached) $ECHO_C" >&6
35279 else
35280 if test -n "$SETFILE"; then
35281 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35282 else
35283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35284 for as_dir in $PATH
35285 do
35286 IFS=$as_save_IFS
35287 test -z "$as_dir" && as_dir=.
35288 for ac_exec_ext in '' $ac_executable_extensions; do
35289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35290 ac_cv_prog_SETFILE="SetFile"
35291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35292 break 2
35293 fi
35294 done
35295 done
35296
35297 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35298 fi
35299 fi
35300 SETFILE=$ac_cv_prog_SETFILE
35301 if test -n "$SETFILE"; then
35302 echo "$as_me:$LINENO: result: $SETFILE" >&5
35303 echo "${ECHO_T}$SETFILE" >&6
35304 else
35305 echo "$as_me:$LINENO: result: no" >&5
35306 echo "${ECHO_T}no" >&6
35307 fi
35308
35309 ;;
35310 esac
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
35322 if test "${enable_precomp_headers+set}" = set; then
35323 enableval="$enable_precomp_headers"
35324 bk_use_pch="$enableval"
35325 fi;
35326
35327 GCC_PCH=0
35328
35329 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
35330 if test "x$GCC" = "xyes"; then
35331 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
35332 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
35333 cat >conftest.$ac_ext <<_ACEOF
35334 #line $LINENO "configure"
35335 /* confdefs.h. */
35336 _ACEOF
35337 cat confdefs.h >>conftest.$ac_ext
35338 cat >>conftest.$ac_ext <<_ACEOF
35339 /* end confdefs.h. */
35340
35341 int
35342 main ()
35343 {
35344
35345 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
35346 #error "no pch support"
35347 #endif
35348 #if (__GNUC__ < 3)
35349 #error "no pch support"
35350 #endif
35351 #if (__GNUC__ == 3) && \
35352 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
35353 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
35354 #error "no pch support"
35355 #endif
35356
35357 ;
35358 return 0;
35359 }
35360 _ACEOF
35361 rm -f conftest.$ac_objext
35362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35363 (eval $ac_compile) 2>&5
35364 ac_status=$?
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } &&
35367 { ac_try='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35370 ac_status=$?
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373
35374 echo "$as_me:$LINENO: result: yes" >&5
35375 echo "${ECHO_T}yes" >&6
35376 CPPFLAGS="-fpch-deps $CPPFLAGS"
35377 GCC_PCH=1
35378
35379 else
35380 echo "$as_me: failed program was:" >&5
35381 sed 's/^/| /' conftest.$ac_ext >&5
35382
35383
35384 echo "$as_me:$LINENO: result: no" >&5
35385 echo "${ECHO_T}no" >&6
35386
35387 fi
35388 rm -f conftest.$ac_objext conftest.$ac_ext
35389 if test $GCC_PCH = 1 ; then
35390 cat <<EOF >bk-make-pch
35391 #!/bin/sh
35392
35393 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
35394 # script. It is used to generated precompiled headers.
35395 #
35396 # Permission is given to use this file in any way.
35397
35398 outfile="\${1}"
35399 header="\${2}"
35400 shift
35401 shift
35402
35403 compiler=
35404 headerfile=
35405 while test \${#} -gt 0; do
35406 case "\${1}" in
35407 -I* )
35408 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
35409 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
35410 headerfile="\${incdir}/\${header}"
35411 fi
35412 ;;
35413 esac
35414 compiler="\${compiler} \${1}"
35415 shift
35416 done
35417
35418 if test "x\${headerfile}" = "x" ; then
35419 echo "error: can't find header \${header} in include paths" >2
35420 else
35421 if test -f \${outfile} ; then
35422 rm -f \${outfile}
35423 else
35424 mkdir -p \`dirname \${outfile}\`
35425 fi
35426 depsfile=".deps/\`basename \${outfile}\`.d"
35427 mkdir -p .deps
35428 # can do this because gcc is >= 3.4:
35429 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
35430 exit \${?}
35431 fi
35432 EOF
35433 chmod +x bk-make-pch
35434 fi
35435 fi
35436 fi
35437
35438
35439
35440
35441
35442 COND_BUILD_DEBUG="#"
35443 if test "x$BUILD" = "xdebug" ; then
35444 COND_BUILD_DEBUG=""
35445 fi
35446
35447 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
35448 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
35449 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
35450 fi
35451
35452 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
35453 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
35454 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
35455 fi
35456
35457 COND_BUILD_RELEASE="#"
35458 if test "x$BUILD" = "xrelease" ; then
35459 COND_BUILD_RELEASE=""
35460 fi
35461
35462 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
35463 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
35464 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
35465 fi
35466
35467 COND_DEBUG_FLAG_1="#"
35468 if test "x$DEBUG_FLAG" = "x1" ; then
35469 COND_DEBUG_FLAG_1=""
35470 fi
35471
35472 COND_DEBUG_INFO_0="#"
35473 if test "x$DEBUG_INFO" = "x0" ; then
35474 COND_DEBUG_INFO_0=""
35475 fi
35476
35477 COND_DEBUG_INFO_1="#"
35478 if test "x$DEBUG_INFO" = "x1" ; then
35479 COND_DEBUG_INFO_1=""
35480 fi
35481
35482 COND_DEPS_TRACKING_0="#"
35483 if test "x$DEPS_TRACKING" = "x0" ; then
35484 COND_DEPS_TRACKING_0=""
35485 fi
35486
35487 COND_DEPS_TRACKING_1="#"
35488 if test "x$DEPS_TRACKING" = "x1" ; then
35489 COND_DEPS_TRACKING_1=""
35490 fi
35491
35492 COND_GCC_PCH_1="#"
35493 if test "x$GCC_PCH" = "x1" ; then
35494 COND_GCC_PCH_1=""
35495 fi
35496
35497 COND_MONOLITHIC_0="#"
35498 if test "x$MONOLITHIC" = "x0" ; then
35499 COND_MONOLITHIC_0=""
35500 fi
35501
35502 COND_MONOLITHIC_0_SHARED_0="#"
35503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
35504 COND_MONOLITHIC_0_SHARED_0=""
35505 fi
35506
35507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
35508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
35509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
35510 fi
35511
35512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
35513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
35515 fi
35516
35517 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
35518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
35519 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
35520 fi
35521
35522 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
35523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
35524 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
35525 fi
35526
35527 COND_MONOLITHIC_0_SHARED_1="#"
35528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
35529 COND_MONOLITHIC_0_SHARED_1=""
35530 fi
35531
35532 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
35533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
35534 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
35535 fi
35536
35537 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
35538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
35539 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
35540 fi
35541
35542 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
35543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
35544 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
35545 fi
35546
35547 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
35548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
35549 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
35550 fi
35551
35552 COND_MONOLITHIC_1="#"
35553 if test "x$MONOLITHIC" = "x1" ; then
35554 COND_MONOLITHIC_1=""
35555 fi
35556
35557 COND_MONOLITHIC_1_SHARED_0="#"
35558 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
35559 COND_MONOLITHIC_1_SHARED_0=""
35560 fi
35561
35562 COND_MONOLITHIC_1_SHARED_1="#"
35563 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
35564 COND_MONOLITHIC_1_SHARED_1=""
35565 fi
35566
35567 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
35568 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
35569 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
35570 fi
35571
35572 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
35573 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
35574 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
35575 fi
35576
35577 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
35578 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
35579 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
35580 fi
35581
35582 COND_PLATFORM_MACOSX_1="#"
35583 if test "x$PLATFORM_MACOSX" = "x1" ; then
35584 COND_PLATFORM_MACOSX_1=""
35585 fi
35586
35587 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
35588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
35589 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
35590 fi
35591
35592 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
35593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
35594 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
35595 fi
35596
35597 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
35598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
35599 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
35600 fi
35601
35602 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
35603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
35604 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
35605 fi
35606
35607 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
35608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
35609 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
35610 fi
35611
35612 COND_PLATFORM_MAC_1="#"
35613 if test "x$PLATFORM_MAC" = "x1" ; then
35614 COND_PLATFORM_MAC_1=""
35615 fi
35616
35617 COND_PLATFORM_OS2_1="#"
35618 if test "x$PLATFORM_OS2" = "x1" ; then
35619 COND_PLATFORM_OS2_1=""
35620 fi
35621
35622 COND_PLATFORM_UNIX_0="#"
35623 if test "x$PLATFORM_UNIX" = "x0" ; then
35624 COND_PLATFORM_UNIX_0=""
35625 fi
35626
35627 COND_PLATFORM_UNIX_1="#"
35628 if test "x$PLATFORM_UNIX" = "x1" ; then
35629 COND_PLATFORM_UNIX_1=""
35630 fi
35631
35632 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
35633 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
35634 COND_PLATFORM_UNIX_1_USE_GUI_1=""
35635 fi
35636
35637 COND_PLATFORM_WIN32_0="#"
35638 if test "x$PLATFORM_WIN32" = "x0" ; then
35639 COND_PLATFORM_WIN32_0=""
35640 fi
35641
35642 COND_PLATFORM_WIN32_1="#"
35643 if test "x$PLATFORM_WIN32" = "x1" ; then
35644 COND_PLATFORM_WIN32_1=""
35645 fi
35646
35647 COND_SHARED_0="#"
35648 if test "x$SHARED" = "x0" ; then
35649 COND_SHARED_0=""
35650 fi
35651
35652 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35653 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35654 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35655 fi
35656
35657 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35658 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35659 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35660 fi
35661
35662 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35663 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35664 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35665 fi
35666
35667 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35668 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35670 fi
35671
35672 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35673 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35674 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35675 fi
35676
35677 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35678 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35679 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35680 fi
35681
35682 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35683 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35684 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35685 fi
35686
35687 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35688 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35689 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35690 fi
35691
35692 COND_SHARED_1="#"
35693 if test "x$SHARED" = "x1" ; then
35694 COND_SHARED_1=""
35695 fi
35696
35697 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35698 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35699 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35700 fi
35701
35702 COND_TOOLKIT_COCOA="#"
35703 if test "x$TOOLKIT" = "xCOCOA" ; then
35704 COND_TOOLKIT_COCOA=""
35705 fi
35706
35707 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35708 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35709 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35710 fi
35711
35712 COND_TOOLKIT_GTK="#"
35713 if test "x$TOOLKIT" = "xGTK" ; then
35714 COND_TOOLKIT_GTK=""
35715 fi
35716
35717 COND_TOOLKIT_GTK_USE_GUI_1="#"
35718 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35719 COND_TOOLKIT_GTK_USE_GUI_1=""
35720 fi
35721
35722 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35723 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35724 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35725 fi
35726
35727 COND_TOOLKIT_MAC="#"
35728 if test "x$TOOLKIT" = "xMAC" ; then
35729 COND_TOOLKIT_MAC=""
35730 fi
35731
35732 COND_TOOLKIT_MAC_USE_GUI_1="#"
35733 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35734 COND_TOOLKIT_MAC_USE_GUI_1=""
35735 fi
35736
35737 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35738 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35739 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35740 fi
35741
35742 COND_TOOLKIT_MGL="#"
35743 if test "x$TOOLKIT" = "xMGL" ; then
35744 COND_TOOLKIT_MGL=""
35745 fi
35746
35747 COND_TOOLKIT_MGL_USE_GUI_1="#"
35748 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35749 COND_TOOLKIT_MGL_USE_GUI_1=""
35750 fi
35751
35752 COND_TOOLKIT_MOTIF="#"
35753 if test "x$TOOLKIT" = "xMOTIF" ; then
35754 COND_TOOLKIT_MOTIF=""
35755 fi
35756
35757 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35758 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35759 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35760 fi
35761
35762 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35763 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35764 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35765 fi
35766
35767 COND_TOOLKIT_MSW="#"
35768 if test "x$TOOLKIT" = "xMSW" ; then
35769 COND_TOOLKIT_MSW=""
35770 fi
35771
35772 COND_TOOLKIT_MSW_USE_GUI_1="#"
35773 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35774 COND_TOOLKIT_MSW_USE_GUI_1=""
35775 fi
35776
35777 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35778 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35779 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35780 fi
35781
35782 COND_TOOLKIT_PM="#"
35783 if test "x$TOOLKIT" = "xPM" ; then
35784 COND_TOOLKIT_PM=""
35785 fi
35786
35787 COND_TOOLKIT_PM_USE_GUI_1="#"
35788 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35789 COND_TOOLKIT_PM_USE_GUI_1=""
35790 fi
35791
35792 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35793 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35794 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35795 fi
35796
35797 COND_TOOLKIT_X11="#"
35798 if test "x$TOOLKIT" = "xX11" ; then
35799 COND_TOOLKIT_X11=""
35800 fi
35801
35802 COND_TOOLKIT_X11_USE_GUI_1="#"
35803 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35804 COND_TOOLKIT_X11_USE_GUI_1=""
35805 fi
35806
35807 COND_UNICODE_1="#"
35808 if test "x$UNICODE" = "x1" ; then
35809 COND_UNICODE_1=""
35810 fi
35811
35812 COND_USE_EXCEPTIONS_0="#"
35813 if test "x$USE_EXCEPTIONS" = "x0" ; then
35814 COND_USE_EXCEPTIONS_0=""
35815 fi
35816
35817 COND_USE_EXCEPTIONS_1="#"
35818 if test "x$USE_EXCEPTIONS" = "x1" ; then
35819 COND_USE_EXCEPTIONS_1=""
35820 fi
35821
35822 COND_USE_GUI_0="#"
35823 if test "x$USE_GUI" = "x0" ; then
35824 COND_USE_GUI_0=""
35825 fi
35826
35827 COND_USE_GUI_1="#"
35828 if test "x$USE_GUI" = "x1" ; then
35829 COND_USE_GUI_1=""
35830 fi
35831
35832 COND_USE_GUI_1_WXUNIV_0="#"
35833 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35834 COND_USE_GUI_1_WXUNIV_0=""
35835 fi
35836
35837 COND_USE_GUI_1_WXUNIV_1="#"
35838 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35839 COND_USE_GUI_1_WXUNIV_1=""
35840 fi
35841
35842 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35843 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35844 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35845 fi
35846
35847 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35848 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35849 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35850 fi
35851
35852 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35853 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35854 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35855 fi
35856
35857 COND_USE_ODBC_1="#"
35858 if test "x$USE_ODBC" = "x1" ; then
35859 COND_USE_ODBC_1=""
35860 fi
35861
35862 COND_USE_SOSYMLINKS_1="#"
35863 if test "x$USE_SOSYMLINKS" = "x1" ; then
35864 COND_USE_SOSYMLINKS_1=""
35865 fi
35866
35867 COND_USE_SOVERLINUX_1="#"
35868 if test "x$USE_SOVERLINUX" = "x1" ; then
35869 COND_USE_SOVERLINUX_1=""
35870 fi
35871
35872 COND_USE_SOVERSION_0="#"
35873 if test "x$USE_SOVERSION" = "x0" ; then
35874 COND_USE_SOVERSION_0=""
35875 fi
35876
35877 COND_USE_SOVERSOLARIS_1="#"
35878 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35879 COND_USE_SOVERSOLARIS_1=""
35880 fi
35881
35882 COND_WXUNIV_1="#"
35883 if test "x$WXUNIV" = "x1" ; then
35884 COND_WXUNIV_1=""
35885 fi
35886
35887 COND_WXUSE_EXPAT_BUILTIN="#"
35888 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35889 COND_WXUSE_EXPAT_BUILTIN=""
35890 fi
35891
35892 COND_WXUSE_LIBJPEG_BUILTIN="#"
35893 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35894 COND_WXUSE_LIBJPEG_BUILTIN=""
35895 fi
35896
35897 COND_WXUSE_LIBPNG_BUILTIN="#"
35898 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35899 COND_WXUSE_LIBPNG_BUILTIN=""
35900 fi
35901
35902 COND_WXUSE_LIBTIFF_BUILTIN="#"
35903 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35904 COND_WXUSE_LIBTIFF_BUILTIN=""
35905 fi
35906
35907 COND_WXUSE_ODBC_BUILTIN="#"
35908 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35909 COND_WXUSE_ODBC_BUILTIN=""
35910 fi
35911
35912 COND_WXUSE_REGEX_BUILTIN="#"
35913 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35914 COND_WXUSE_REGEX_BUILTIN=""
35915 fi
35916
35917 COND_WXUSE_ZLIB_BUILTIN="#"
35918 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35919 COND_WXUSE_ZLIB_BUILTIN=""
35920 fi
35921
35922
35923
35924
35925
35926 if test $GCC_PCH = 1 ; then
35927 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35928 else
35929 case "${host}" in
35930 powerpc-*-darwin* )
35931 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35932 ;;
35933 esac
35934 fi
35935 case "${host}" in
35936 powerpc-*-darwin* )
35937 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35938 ;;
35939 esac
35940
35941
35942 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36044 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36045 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36046 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36047 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 else
36049 cat >conftest.make <<\_ACEOF
36050 all:
36051 @echo 'ac_maketemp="$(MAKE)"'
36052 _ACEOF
36053 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36054 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36055 if test -n "$ac_maketemp"; then
36056 eval ac_cv_prog_make_${ac_make}_set=yes
36057 else
36058 eval ac_cv_prog_make_${ac_make}_set=no
36059 fi
36060 rm -f conftest.make
36061 fi
36062 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36063 echo "$as_me:$LINENO: result: yes" >&5
36064 echo "${ECHO_T}yes" >&6
36065 SET_MAKE=
36066 else
36067 echo "$as_me:$LINENO: result: no" >&5
36068 echo "${ECHO_T}no" >&6
36069 SET_MAKE="MAKE=${MAKE-make}"
36070 fi
36071
36072
36073 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
36074 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
36075 fi
36076
36077 ac_config_headers="$ac_config_headers setup.h"
36078
36079
36080 ac_config_files="$ac_config_files wx-config version-script Makefile"
36081
36082
36083 ac_config_commands="$ac_config_commands default"
36084
36085
36086
36087 if test "$wxUSE_GUI" = "yes"; then
36088 SUBDIRS="samples demos utils contrib"
36089 else SUBDIRS="samples utils"
36090 fi
36091
36092 for subdir in `echo $SUBDIRS`; do
36093 if test -d ${srcdir}/${subdir} ; then
36094 if test "$wxUSE_GUI" = "yes"; then
36095 if test ${subdir} = "samples"; then
36096 makefiles="samples/Makefile.in $makefiles"
36097 for sample in `echo $SAMPLES_SUBDIRS`; do
36098 if test -d $srcdir/samples/$sample; then
36099 makefiles="samples/$sample/Makefile.in $makefiles"
36100 fi
36101 done
36102 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
36103 fi
36104 else if test ${subdir} = "samples"; then
36105 makefiles="samples/Makefile.in samples/console/Makefile.in"
36106 else makefiles="utils/HelpGen/Makefile.in \
36107 utils/HelpGen/src/Makefile.in \
36108 utils/tex2rtf/Makefile.in \
36109 utils/tex2rtf/src/Makefile.in"
36110 fi
36111 fi
36112
36113 for mkin in $makefiles ; do
36114 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
36115 ac_config_files="$ac_config_files $mk"
36116
36117 done
36118 fi
36119 done
36120
36121
36122 cat >confcache <<\_ACEOF
36123 # This file is a shell script that caches the results of configure
36124 # tests run on this system so they can be shared between configure
36125 # scripts and configure runs, see configure's option --config-cache.
36126 # It is not useful on other systems. If it contains results you don't
36127 # want to keep, you may remove or edit it.
36128 #
36129 # config.status only pays attention to the cache file if you give it
36130 # the --recheck option to rerun configure.
36131 #
36132 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36133 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36134 # following values.
36135
36136 _ACEOF
36137
36138 # The following way of writing the cache mishandles newlines in values,
36139 # but we know of no workaround that is simple, portable, and efficient.
36140 # So, don't put newlines in cache variables' values.
36141 # Ultrix sh set writes to stderr and can't be redirected directly,
36142 # and sets the high bit in the cache file unless we assign to the vars.
36143 {
36144 (set) 2>&1 |
36145 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36146 *ac_space=\ *)
36147 # `set' does not quote correctly, so add quotes (double-quote
36148 # substitution turns \\\\ into \\, and sed turns \\ into \).
36149 sed -n \
36150 "s/'/'\\\\''/g;
36151 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36152 ;;
36153 *)
36154 # `set' quotes correctly as required by POSIX, so do not add quotes.
36155 sed -n \
36156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36157 ;;
36158 esac;
36159 } |
36160 sed '
36161 t clear
36162 : clear
36163 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36164 t end
36165 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36166 : end' >>confcache
36167 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36168 if test -w $cache_file; then
36169 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36170 cat confcache >$cache_file
36171 else
36172 echo "not updating unwritable cache $cache_file"
36173 fi
36174 fi
36175 rm -f confcache
36176
36177 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36178 # Let make expand exec_prefix.
36179 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36180
36181 # VPATH may cause trouble with some makes, so we remove $(srcdir),
36182 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
36183 # trailing colons and then remove the whole line if VPATH becomes empty
36184 # (actually we leave an empty line to preserve line numbers).
36185 if test "x$srcdir" = x.; then
36186 ac_vpsub='/^[ ]*VPATH[ ]*=/{
36187 s/:*\$(srcdir):*/:/;
36188 s/:*\${srcdir}:*/:/;
36189 s/:*@srcdir@:*/:/;
36190 s/^\([^=]*=[ ]*\):*/\1/;
36191 s/:*$//;
36192 s/^[^=]*=[ ]*$//;
36193 }'
36194 fi
36195
36196 DEFS=-DHAVE_CONFIG_H
36197
36198 ac_libobjs=
36199 ac_ltlibobjs=
36200 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36201 # 1. Remove the extension, and $U if already installed.
36202 ac_i=`echo "$ac_i" |
36203 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
36204 # 2. Add them.
36205 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
36206 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
36207 done
36208 LIBOBJS=$ac_libobjs
36209
36210 LTLIBOBJS=$ac_ltlibobjs
36211
36212
36213
36214 : ${CONFIG_STATUS=./config.status}
36215 ac_clean_files_save=$ac_clean_files
36216 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
36217 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
36218 echo "$as_me: creating $CONFIG_STATUS" >&6;}
36219 cat >$CONFIG_STATUS <<_ACEOF
36220 #! $SHELL
36221 # Generated by $as_me.
36222 # Run this file to recreate the current configuration.
36223 # Compiler output produced by configure, useful for debugging
36224 # configure, is in config.log if it exists.
36225
36226 debug=false
36227 ac_cs_recheck=false
36228 ac_cs_silent=false
36229 SHELL=\${CONFIG_SHELL-$SHELL}
36230 _ACEOF
36231
36232 cat >>$CONFIG_STATUS <<\_ACEOF
36233 ## --------------------- ##
36234 ## M4sh Initialization. ##
36235 ## --------------------- ##
36236
36237 # Be Bourne compatible
36238 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
36239 emulate sh
36240 NULLCMD=:
36241 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
36242 # is contrary to our usage. Disable this feature.
36243 alias -g '${1+"$@"}'='"$@"'
36244 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
36245 set -o posix
36246 fi
36247
36248 # Support unset when possible.
36249 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
36250 as_unset=unset
36251 else
36252 as_unset=false
36253 fi
36254
36255
36256 # Work around bugs in pre-3.0 UWIN ksh.
36257 $as_unset ENV MAIL MAILPATH
36258 PS1='$ '
36259 PS2='> '
36260 PS4='+ '
36261
36262 # NLS nuisances.
36263 for as_var in \
36264 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
36265 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
36266 LC_TELEPHONE LC_TIME
36267 do
36268 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
36269 eval $as_var=C; export $as_var
36270 else
36271 $as_unset $as_var
36272 fi
36273 done
36274
36275 # Required to use basename.
36276 if expr a : '\(a\)' >/dev/null 2>&1; then
36277 as_expr=expr
36278 else
36279 as_expr=false
36280 fi
36281
36282 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
36283 as_basename=basename
36284 else
36285 as_basename=false
36286 fi
36287
36288
36289 # Name of the executable.
36290 as_me=`$as_basename "$0" ||
36291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
36292 X"$0" : 'X\(//\)$' \| \
36293 X"$0" : 'X\(/\)$' \| \
36294 . : '\(.\)' 2>/dev/null ||
36295 echo X/"$0" |
36296 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
36297 /^X\/\(\/\/\)$/{ s//\1/; q; }
36298 /^X\/\(\/\).*/{ s//\1/; q; }
36299 s/.*/./; q'`
36300
36301
36302 # PATH needs CR, and LINENO needs CR and PATH.
36303 # Avoid depending upon Character Ranges.
36304 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36305 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36306 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
36307 as_cr_digits='0123456789'
36308 as_cr_alnum=$as_cr_Letters$as_cr_digits
36309
36310 # The user is always right.
36311 if test "${PATH_SEPARATOR+set}" != set; then
36312 echo "#! /bin/sh" >conf$$.sh
36313 echo "exit 0" >>conf$$.sh
36314 chmod +x conf$$.sh
36315 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
36316 PATH_SEPARATOR=';'
36317 else
36318 PATH_SEPARATOR=:
36319 fi
36320 rm -f conf$$.sh
36321 fi
36322
36323
36324 as_lineno_1=$LINENO
36325 as_lineno_2=$LINENO
36326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36327 test "x$as_lineno_1" != "x$as_lineno_2" &&
36328 test "x$as_lineno_3" = "x$as_lineno_2" || {
36329 # Find who we are. Look in the path if we contain no path at all
36330 # relative or not.
36331 case $0 in
36332 *[\\/]* ) as_myself=$0 ;;
36333 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36334 for as_dir in $PATH
36335 do
36336 IFS=$as_save_IFS
36337 test -z "$as_dir" && as_dir=.
36338 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
36339 done
36340
36341 ;;
36342 esac
36343 # We did not find ourselves, most probably we were run as `sh COMMAND'
36344 # in which case we are not to be found in the path.
36345 if test "x$as_myself" = x; then
36346 as_myself=$0
36347 fi
36348 if test ! -f "$as_myself"; then
36349 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
36350 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
36351 { (exit 1); exit 1; }; }
36352 fi
36353 case $CONFIG_SHELL in
36354 '')
36355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36356 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
36357 do
36358 IFS=$as_save_IFS
36359 test -z "$as_dir" && as_dir=.
36360 for as_base in sh bash ksh sh5; do
36361 case $as_dir in
36362 /*)
36363 if ("$as_dir/$as_base" -c '
36364 as_lineno_1=$LINENO
36365 as_lineno_2=$LINENO
36366 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
36367 test "x$as_lineno_1" != "x$as_lineno_2" &&
36368 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
36369 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
36370 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
36371 CONFIG_SHELL=$as_dir/$as_base
36372 export CONFIG_SHELL
36373 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
36374 fi;;
36375 esac
36376 done
36377 done
36378 ;;
36379 esac
36380
36381 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
36382 # uniformly replaced by the line number. The first 'sed' inserts a
36383 # line-number line before each line; the second 'sed' does the real
36384 # work. The second script uses 'N' to pair each line-number line
36385 # with the numbered line, and appends trailing '-' during
36386 # substitution so that $LINENO is not a special case at line end.
36387 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
36388 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
36389 sed '=' <$as_myself |
36390 sed '
36391 N
36392 s,$,-,
36393 : loop
36394 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
36395 t loop
36396 s,-$,,
36397 s,^['$as_cr_digits']*\n,,
36398 ' >$as_me.lineno &&
36399 chmod +x $as_me.lineno ||
36400 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
36401 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
36402 { (exit 1); exit 1; }; }
36403
36404 # Don't try to exec as it changes $[0], causing all sort of problems
36405 # (the dirname of $[0] is not the place where we might find the
36406 # original and so on. Autoconf is especially sensible to this).
36407 . ./$as_me.lineno
36408 # Exit status is that of the last command.
36409 exit
36410 }
36411
36412
36413 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
36414 *c*,-n*) ECHO_N= ECHO_C='
36415 ' ECHO_T=' ' ;;
36416 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
36417 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
36418 esac
36419
36420 if expr a : '\(a\)' >/dev/null 2>&1; then
36421 as_expr=expr
36422 else
36423 as_expr=false
36424 fi
36425
36426 rm -f conf$$ conf$$.exe conf$$.file
36427 echo >conf$$.file
36428 if ln -s conf$$.file conf$$ 2>/dev/null; then
36429 # We could just check for DJGPP; but this test a) works b) is more generic
36430 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
36431 if test -f conf$$.exe; then
36432 # Don't use ln at all; we don't have any links
36433 as_ln_s='cp -p'
36434 else
36435 as_ln_s='ln -s'
36436 fi
36437 elif ln conf$$.file conf$$ 2>/dev/null; then
36438 as_ln_s=ln
36439 else
36440 as_ln_s='cp -p'
36441 fi
36442 rm -f conf$$ conf$$.exe conf$$.file
36443
36444 if mkdir -p . 2>/dev/null; then
36445 as_mkdir_p=:
36446 else
36447 as_mkdir_p=false
36448 fi
36449
36450 as_executable_p="test -f"
36451
36452 # Sed expression to map a string onto a valid CPP name.
36453 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
36454
36455 # Sed expression to map a string onto a valid variable name.
36456 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
36457
36458
36459 # IFS
36460 # We need space, tab and new line, in precisely that order.
36461 as_nl='
36462 '
36463 IFS=" $as_nl"
36464
36465 # CDPATH.
36466 $as_unset CDPATH
36467
36468 exec 6>&1
36469
36470 # Open the log real soon, to keep \$[0] and so on meaningful, and to
36471 # report actual input values of CONFIG_FILES etc. instead of their
36472 # values after options handling. Logging --version etc. is OK.
36473 exec 5>>config.log
36474 {
36475 echo
36476 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
36477 ## Running $as_me. ##
36478 _ASBOX
36479 } >&5
36480 cat >&5 <<_CSEOF
36481
36482 This file was extended by wxWindows $as_me 2.5.1, which was
36483 generated by GNU Autoconf 2.57. Invocation command line was
36484
36485 CONFIG_FILES = $CONFIG_FILES
36486 CONFIG_HEADERS = $CONFIG_HEADERS
36487 CONFIG_LINKS = $CONFIG_LINKS
36488 CONFIG_COMMANDS = $CONFIG_COMMANDS
36489 $ $0 $@
36490
36491 _CSEOF
36492 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
36493 echo >&5
36494 _ACEOF
36495
36496 # Files that config.status was made for.
36497 if test -n "$ac_config_files"; then
36498 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
36499 fi
36500
36501 if test -n "$ac_config_headers"; then
36502 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
36503 fi
36504
36505 if test -n "$ac_config_links"; then
36506 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
36507 fi
36508
36509 if test -n "$ac_config_commands"; then
36510 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
36511 fi
36512
36513 cat >>$CONFIG_STATUS <<\_ACEOF
36514
36515 ac_cs_usage="\
36516 \`$as_me' instantiates files from templates according to the
36517 current configuration.
36518
36519 Usage: $0 [OPTIONS] [FILE]...
36520
36521 -h, --help print this help, then exit
36522 -V, --version print version number, then exit
36523 -q, --quiet do not print progress messages
36524 -d, --debug don't remove temporary files
36525 --recheck update $as_me by reconfiguring in the same conditions
36526 --file=FILE[:TEMPLATE]
36527 instantiate the configuration file FILE
36528 --header=FILE[:TEMPLATE]
36529 instantiate the configuration header FILE
36530
36531 Configuration files:
36532 $config_files
36533
36534 Configuration headers:
36535 $config_headers
36536
36537 Configuration commands:
36538 $config_commands
36539
36540 Report bugs to <bug-autoconf@gnu.org>."
36541 _ACEOF
36542
36543 cat >>$CONFIG_STATUS <<_ACEOF
36544 ac_cs_version="\\
36545 wxWindows config.status 2.5.1
36546 configured by $0, generated by GNU Autoconf 2.57,
36547 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
36548
36549 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
36550 Free Software Foundation, Inc.
36551 This config.status script is free software; the Free Software Foundation
36552 gives unlimited permission to copy, distribute and modify it."
36553 srcdir=$srcdir
36554 INSTALL="$INSTALL"
36555 _ACEOF
36556
36557 cat >>$CONFIG_STATUS <<\_ACEOF
36558 # If no file are specified by the user, then we need to provide default
36559 # value. By we need to know if files were specified by the user.
36560 ac_need_defaults=:
36561 while test $# != 0
36562 do
36563 case $1 in
36564 --*=*)
36565 ac_option=`expr "x$1" : 'x\([^=]*\)='`
36566 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
36567 ac_shift=:
36568 ;;
36569 -*)
36570 ac_option=$1
36571 ac_optarg=$2
36572 ac_shift=shift
36573 ;;
36574 *) # This is not an option, so the user has probably given explicit
36575 # arguments.
36576 ac_option=$1
36577 ac_need_defaults=false;;
36578 esac
36579
36580 case $ac_option in
36581 # Handling of the options.
36582 _ACEOF
36583 cat >>$CONFIG_STATUS <<\_ACEOF
36584 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
36585 ac_cs_recheck=: ;;
36586 --version | --vers* | -V )
36587 echo "$ac_cs_version"; exit 0 ;;
36588 --he | --h)
36589 # Conflict between --help and --header
36590 { { echo "$as_me:$LINENO: error: ambiguous option: $1
36591 Try \`$0 --help' for more information." >&5
36592 echo "$as_me: error: ambiguous option: $1
36593 Try \`$0 --help' for more information." >&2;}
36594 { (exit 1); exit 1; }; };;
36595 --help | --hel | -h )
36596 echo "$ac_cs_usage"; exit 0 ;;
36597 --debug | --d* | -d )
36598 debug=: ;;
36599 --file | --fil | --fi | --f )
36600 $ac_shift
36601 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
36602 ac_need_defaults=false;;
36603 --header | --heade | --head | --hea )
36604 $ac_shift
36605 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
36606 ac_need_defaults=false;;
36607 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
36608 | -silent | --silent | --silen | --sile | --sil | --si | --s)
36609 ac_cs_silent=: ;;
36610
36611 # This is an error.
36612 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
36613 Try \`$0 --help' for more information." >&5
36614 echo "$as_me: error: unrecognized option: $1
36615 Try \`$0 --help' for more information." >&2;}
36616 { (exit 1); exit 1; }; } ;;
36617
36618 *) ac_config_targets="$ac_config_targets $1" ;;
36619
36620 esac
36621 shift
36622 done
36623
36624 ac_configure_extra_args=
36625
36626 if $ac_cs_silent; then
36627 exec 6>/dev/null
36628 ac_configure_extra_args="$ac_configure_extra_args --silent"
36629 fi
36630
36631 _ACEOF
36632 cat >>$CONFIG_STATUS <<_ACEOF
36633 if \$ac_cs_recheck; then
36634 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
36635 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36636 fi
36637
36638 _ACEOF
36639
36640 cat >>$CONFIG_STATUS <<_ACEOF
36641 #
36642 # INIT-COMMANDS section.
36643 #
36644
36645
36646 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36647 LN_S="${LN_S}"
36648
36649
36650
36651 _ACEOF
36652
36653
36654
36655 cat >>$CONFIG_STATUS <<\_ACEOF
36656 for ac_config_target in $ac_config_targets
36657 do
36658 case "$ac_config_target" in
36659 # Handling of arguments.
36660 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36661 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36662 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36663 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36664 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36665 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36666 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36667 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36668 { (exit 1); exit 1; }; };;
36669 esac
36670 done
36671
36672 # If the user did not use the arguments to specify the items to instantiate,
36673 # then the envvar interface is used. Set only those that are not.
36674 # We use the long form for the default assignment because of an extremely
36675 # bizarre bug on SunOS 4.1.3.
36676 if $ac_need_defaults; then
36677 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36678 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36679 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36680 fi
36681
36682 # Have a temporary directory for convenience. Make it in the build tree
36683 # simply because there is no reason to put it here, and in addition,
36684 # creating and moving files from /tmp can sometimes cause problems.
36685 # Create a temporary directory, and hook for its removal unless debugging.
36686 $debug ||
36687 {
36688 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36689 trap '{ (exit 1); exit 1; }' 1 2 13 15
36690 }
36691
36692 # Create a (secure) tmp directory for tmp files.
36693
36694 {
36695 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36696 test -n "$tmp" && test -d "$tmp"
36697 } ||
36698 {
36699 tmp=./confstat$$-$RANDOM
36700 (umask 077 && mkdir $tmp)
36701 } ||
36702 {
36703 echo "$me: cannot create a temporary directory in ." >&2
36704 { (exit 1); exit 1; }
36705 }
36706
36707 _ACEOF
36708
36709 cat >>$CONFIG_STATUS <<_ACEOF
36710
36711 #
36712 # CONFIG_FILES section.
36713 #
36714
36715 # No need to generate the scripts if there are no CONFIG_FILES.
36716 # This happens for instance when ./config.status config.h
36717 if test -n "\$CONFIG_FILES"; then
36718 # Protect against being on the right side of a sed subst in config.status.
36719 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36720 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36721 s,@SHELL@,$SHELL,;t t
36722 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36723 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36724 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36725 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36726 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36727 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36728 s,@exec_prefix@,$exec_prefix,;t t
36729 s,@prefix@,$prefix,;t t
36730 s,@program_transform_name@,$program_transform_name,;t t
36731 s,@bindir@,$bindir,;t t
36732 s,@sbindir@,$sbindir,;t t
36733 s,@libexecdir@,$libexecdir,;t t
36734 s,@datadir@,$datadir,;t t
36735 s,@sysconfdir@,$sysconfdir,;t t
36736 s,@sharedstatedir@,$sharedstatedir,;t t
36737 s,@localstatedir@,$localstatedir,;t t
36738 s,@libdir@,$libdir,;t t
36739 s,@includedir@,$includedir,;t t
36740 s,@oldincludedir@,$oldincludedir,;t t
36741 s,@infodir@,$infodir,;t t
36742 s,@mandir@,$mandir,;t t
36743 s,@build_alias@,$build_alias,;t t
36744 s,@host_alias@,$host_alias,;t t
36745 s,@target_alias@,$target_alias,;t t
36746 s,@DEFS@,$DEFS,;t t
36747 s,@ECHO_C@,$ECHO_C,;t t
36748 s,@ECHO_N@,$ECHO_N,;t t
36749 s,@ECHO_T@,$ECHO_T,;t t
36750 s,@LIBS@,$LIBS,;t t
36751 s,@build@,$build,;t t
36752 s,@build_cpu@,$build_cpu,;t t
36753 s,@build_vendor@,$build_vendor,;t t
36754 s,@build_os@,$build_os,;t t
36755 s,@host@,$host,;t t
36756 s,@host_cpu@,$host_cpu,;t t
36757 s,@host_vendor@,$host_vendor,;t t
36758 s,@host_os@,$host_os,;t t
36759 s,@target@,$target,;t t
36760 s,@target_cpu@,$target_cpu,;t t
36761 s,@target_vendor@,$target_vendor,;t t
36762 s,@target_os@,$target_os,;t t
36763 s,@CC@,$CC,;t t
36764 s,@CFLAGS@,$CFLAGS,;t t
36765 s,@LDFLAGS@,$LDFLAGS,;t t
36766 s,@CPPFLAGS@,$CPPFLAGS,;t t
36767 s,@ac_ct_CC@,$ac_ct_CC,;t t
36768 s,@EXEEXT@,$EXEEXT,;t t
36769 s,@OBJEXT@,$OBJEXT,;t t
36770 s,@CPP@,$CPP,;t t
36771 s,@EGREP@,$EGREP,;t t
36772 s,@CXX@,$CXX,;t t
36773 s,@CXXFLAGS@,$CXXFLAGS,;t t
36774 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36775 s,@RANLIB@,$RANLIB,;t t
36776 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36777 s,@AR@,$AR,;t t
36778 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36779 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36780 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36781 s,@STRIP@,$STRIP,;t t
36782 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36783 s,@LN_S@,$LN_S,;t t
36784 s,@CXXCPP@,$CXXCPP,;t t
36785 s,@subdirs@,$subdirs,;t t
36786 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36787 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36788 s,@GTK_LIBS@,$GTK_LIBS,;t t
36789 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36790 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36791 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36792 s,@X_CFLAGS@,$X_CFLAGS,;t t
36793 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36794 s,@X_LIBS@,$X_LIBS,;t t
36795 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36796 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36797 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36798 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36799 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36800 s,@RESCOMP@,$RESCOMP,;t t
36801 s,@DEREZ@,$DEREZ,;t t
36802 s,@SETFILE@,$SETFILE,;t t
36803 s,@LIBICONV@,$LIBICONV,;t t
36804 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36805 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36806 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36807 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36808 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36809 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36810 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36811 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36812 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36813 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36814 s,@VENDOR@,$VENDOR,;t t
36815 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36816 s,@WXUNIV@,$WXUNIV,;t t
36817 s,@MONOLITHIC@,$MONOLITHIC,;t t
36818 s,@EXTRALIBS@,$EXTRALIBS,;t t
36819 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36820 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
36821 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36822 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36823 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36824 s,@UNICODE@,$UNICODE,;t t
36825 s,@BUILD@,$BUILD,;t t
36826 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36827 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36828 s,@SHARED@,$SHARED,;t t
36829 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36830 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36831 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36832 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36833 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36834 s,@SET_MAKE@,$SET_MAKE,;t t
36835 s,@MAKE_SET@,$MAKE_SET,;t t
36836 s,@ac_ct_AR@,$ac_ct_AR,;t t
36837 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
36838 s,@NM@,$NM,;t t
36839 s,@ac_ct_NM@,$ac_ct_NM,;t t
36840 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36841 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36842 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36843 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36844 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36845 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36846 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36847 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36848 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36849 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36850 s,@LIBPREFIX@,$LIBPREFIX,;t t
36851 s,@DLLPREFIX@,$DLLPREFIX,;t t
36852 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36853 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36854 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36855 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36856 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36857 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36858 s,@PIC_FLAG@,$PIC_FLAG,;t t
36859 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36860 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36861 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36862 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36863 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36864 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36865 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36866 s,@GCC_PCH@,$GCC_PCH,;t t
36867 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36868 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36869 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36870 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36871 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36872 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36873 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36874 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36875 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36876 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36877 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36878 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36879 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36880 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36881 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
36882 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36883 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36884 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36885 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36886 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
36887 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36888 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36889 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36890 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36891 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36892 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36893 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36894 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36895 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36896 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36897 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36898 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36899 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
36900 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36901 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36902 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36903 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36904 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36905 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
36906 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36907 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36908 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36909 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36910 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36911 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36912 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36913 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36914 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36915 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36916 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36917 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36918 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36919 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36920 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36921 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36922 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36923 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36924 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36925 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36926 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36927 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36928 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36929 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36930 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36931 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36932 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36933 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36934 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36935 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36936 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36937 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36938 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36939 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36940 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36941 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
36942 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
36943 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36944 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36945 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36946 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36947 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36948 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36949 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36950 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
36951 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36952 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36953 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36954 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36955 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36956 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36957 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36958 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36959 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36960 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36961 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36962 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36963 s,@PATH_IFS@,$PATH_IFS,;t t
36964 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36965 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36966 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36967 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36968 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36969 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36970 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36971 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36972 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36973 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36974 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36975 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36976 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36977 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36978 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36979 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36980 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36981 s,@WX_ALL@,$WX_ALL,;t t
36982 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36983 s,@SHARED_LD@,$SHARED_LD,;t t
36984 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36985 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36986 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36987 s,@USE_GUI@,$USE_GUI,;t t
36988 s,@AFMINSTALL@,$AFMINSTALL,;t t
36989 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36990 s,@TOOLKIT@,$TOOLKIT,;t t
36991 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36992 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36993 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36994 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36995 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36996 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36997 s,@cross_compiling@,$cross_compiling,;t t
36998 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36999 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
37000 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
37001 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
37002 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
37003 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
37004 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
37005 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
37006 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
37007 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
37008 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
37009 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
37010 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
37011 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
37012 s,@GUIDIST@,$GUIDIST,;t t
37013 s,@PORT_FILES@,$PORT_FILES,;t t
37014 s,@DISTDIR@,$DISTDIR,;t t
37015 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
37016 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
37017 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
37018 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
37019 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
37020 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
37021 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
37022 s,@RESFLAGS@,$RESFLAGS,;t t
37023 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
37024 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
37025 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
37026 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
37027 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
37028 s,@MACRESCOMP@,$MACRESCOMP,;t t
37029 s,@MACSETFILE@,$MACSETFILE,;t t
37030 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
37031 s,@GCC@,$GCC,;t t
37032 s,@DLLTOOL@,$DLLTOOL,;t t
37033 s,@AS@,$AS,;t t
37034 s,@LD@,$LD,;t t
37035 s,@MAKEINFO@,$MAKEINFO,;t t
37036 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
37037 s,@LIBOBJS@,$LIBOBJS,;t t
37038 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
37039 CEOF
37040
37041 _ACEOF
37042
37043 cat >>$CONFIG_STATUS <<\_ACEOF
37044 # Split the substitutions into bite-sized pieces for seds with
37045 # small command number limits, like on Digital OSF/1 and HP-UX.
37046 ac_max_sed_lines=48
37047 ac_sed_frag=1 # Number of current file.
37048 ac_beg=1 # First line for current file.
37049 ac_end=$ac_max_sed_lines # Line after last line for current file.
37050 ac_more_lines=:
37051 ac_sed_cmds=
37052 while $ac_more_lines; do
37053 if test $ac_beg -gt 1; then
37054 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37055 else
37056 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
37057 fi
37058 if test ! -s $tmp/subs.frag; then
37059 ac_more_lines=false
37060 else
37061 # The purpose of the label and of the branching condition is to
37062 # speed up the sed processing (if there are no `@' at all, there
37063 # is no need to browse any of the substitutions).
37064 # These are the two extra sed commands mentioned above.
37065 (echo ':t
37066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
37067 if test -z "$ac_sed_cmds"; then
37068 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
37069 else
37070 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
37071 fi
37072 ac_sed_frag=`expr $ac_sed_frag + 1`
37073 ac_beg=$ac_end
37074 ac_end=`expr $ac_end + $ac_max_sed_lines`
37075 fi
37076 done
37077 if test -z "$ac_sed_cmds"; then
37078 ac_sed_cmds=cat
37079 fi
37080 fi # test -n "$CONFIG_FILES"
37081
37082 _ACEOF
37083 cat >>$CONFIG_STATUS <<\_ACEOF
37084 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
37085 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37086 case $ac_file in
37087 - | *:- | *:-:* ) # input from stdin
37088 cat >$tmp/stdin
37089 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37090 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37091 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37092 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37093 * ) ac_file_in=$ac_file.in ;;
37094 esac
37095
37096 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
37097 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37098 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37099 X"$ac_file" : 'X\(//\)[^/]' \| \
37100 X"$ac_file" : 'X\(//\)$' \| \
37101 X"$ac_file" : 'X\(/\)' \| \
37102 . : '\(.\)' 2>/dev/null ||
37103 echo X"$ac_file" |
37104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37105 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37106 /^X\(\/\/\)$/{ s//\1/; q; }
37107 /^X\(\/\).*/{ s//\1/; q; }
37108 s/.*/./; q'`
37109 { if $as_mkdir_p; then
37110 mkdir -p "$ac_dir"
37111 else
37112 as_dir="$ac_dir"
37113 as_dirs=
37114 while test ! -d "$as_dir"; do
37115 as_dirs="$as_dir $as_dirs"
37116 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37118 X"$as_dir" : 'X\(//\)[^/]' \| \
37119 X"$as_dir" : 'X\(//\)$' \| \
37120 X"$as_dir" : 'X\(/\)' \| \
37121 . : '\(.\)' 2>/dev/null ||
37122 echo X"$as_dir" |
37123 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37124 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37125 /^X\(\/\/\)$/{ s//\1/; q; }
37126 /^X\(\/\).*/{ s//\1/; q; }
37127 s/.*/./; q'`
37128 done
37129 test ! -n "$as_dirs" || mkdir $as_dirs
37130 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37131 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37132 { (exit 1); exit 1; }; }; }
37133
37134 ac_builddir=.
37135
37136 if test "$ac_dir" != .; then
37137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37138 # A "../" for each directory in $ac_dir_suffix.
37139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37140 else
37141 ac_dir_suffix= ac_top_builddir=
37142 fi
37143
37144 case $srcdir in
37145 .) # No --srcdir option. We are building in place.
37146 ac_srcdir=.
37147 if test -z "$ac_top_builddir"; then
37148 ac_top_srcdir=.
37149 else
37150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37151 fi ;;
37152 [\\/]* | ?:[\\/]* ) # Absolute path.
37153 ac_srcdir=$srcdir$ac_dir_suffix;
37154 ac_top_srcdir=$srcdir ;;
37155 *) # Relative path.
37156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37158 esac
37159 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37160 # absolute.
37161 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37162 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37163 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37164 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37165
37166
37167 case $INSTALL in
37168 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
37169 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
37170 esac
37171
37172 if test x"$ac_file" != x-; then
37173 { echo "$as_me:$LINENO: creating $ac_file" >&5
37174 echo "$as_me: creating $ac_file" >&6;}
37175 rm -f "$ac_file"
37176 fi
37177 # Let's still pretend it is `configure' which instantiates (i.e., don't
37178 # use $as_me), people would be surprised to read:
37179 # /* config.h. Generated by config.status. */
37180 if test x"$ac_file" = x-; then
37181 configure_input=
37182 else
37183 configure_input="$ac_file. "
37184 fi
37185 configure_input=$configure_input"Generated from `echo $ac_file_in |
37186 sed 's,.*/,,'` by configure."
37187
37188 # First look for the input files in the build tree, otherwise in the
37189 # src tree.
37190 ac_file_inputs=`IFS=:
37191 for f in $ac_file_in; do
37192 case $f in
37193 -) echo $tmp/stdin ;;
37194 [\\/$]*)
37195 # Absolute (can't be DOS-style, as IFS=:)
37196 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37197 echo "$as_me: error: cannot find input file: $f" >&2;}
37198 { (exit 1); exit 1; }; }
37199 echo $f;;
37200 *) # Relative
37201 if test -f "$f"; then
37202 # Build tree
37203 echo $f
37204 elif test -f "$srcdir/$f"; then
37205 # Source tree
37206 echo $srcdir/$f
37207 else
37208 # /dev/null tree
37209 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37210 echo "$as_me: error: cannot find input file: $f" >&2;}
37211 { (exit 1); exit 1; }; }
37212 fi;;
37213 esac
37214 done` || { (exit 1); exit 1; }
37215 _ACEOF
37216 cat >>$CONFIG_STATUS <<_ACEOF
37217 sed "$ac_vpsub
37218 $extrasub
37219 _ACEOF
37220 cat >>$CONFIG_STATUS <<\_ACEOF
37221 :t
37222 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
37223 s,@configure_input@,$configure_input,;t t
37224 s,@srcdir@,$ac_srcdir,;t t
37225 s,@abs_srcdir@,$ac_abs_srcdir,;t t
37226 s,@top_srcdir@,$ac_top_srcdir,;t t
37227 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
37228 s,@builddir@,$ac_builddir,;t t
37229 s,@abs_builddir@,$ac_abs_builddir,;t t
37230 s,@top_builddir@,$ac_top_builddir,;t t
37231 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
37232 s,@INSTALL@,$ac_INSTALL,;t t
37233 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
37234 rm -f $tmp/stdin
37235 if test x"$ac_file" != x-; then
37236 mv $tmp/out $ac_file
37237 else
37238 cat $tmp/out
37239 rm -f $tmp/out
37240 fi
37241
37242 done
37243 _ACEOF
37244 cat >>$CONFIG_STATUS <<\_ACEOF
37245
37246 #
37247 # CONFIG_HEADER section.
37248 #
37249
37250 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
37251 # NAME is the cpp macro being defined and VALUE is the value it is being given.
37252 #
37253 # ac_d sets the value in "#define NAME VALUE" lines.
37254 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
37255 ac_dB='[ ].*$,\1#\2'
37256 ac_dC=' '
37257 ac_dD=',;t'
37258 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
37259 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
37260 ac_uB='$,\1#\2define\3'
37261 ac_uC=' '
37262 ac_uD=',;t'
37263
37264 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
37265 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
37266 case $ac_file in
37267 - | *:- | *:-:* ) # input from stdin
37268 cat >$tmp/stdin
37269 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37270 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37271 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
37272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
37273 * ) ac_file_in=$ac_file.in ;;
37274 esac
37275
37276 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
37277 echo "$as_me: creating $ac_file" >&6;}
37278
37279 # First look for the input files in the build tree, otherwise in the
37280 # src tree.
37281 ac_file_inputs=`IFS=:
37282 for f in $ac_file_in; do
37283 case $f in
37284 -) echo $tmp/stdin ;;
37285 [\\/$]*)
37286 # Absolute (can't be DOS-style, as IFS=:)
37287 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37288 echo "$as_me: error: cannot find input file: $f" >&2;}
37289 { (exit 1); exit 1; }; }
37290 echo $f;;
37291 *) # Relative
37292 if test -f "$f"; then
37293 # Build tree
37294 echo $f
37295 elif test -f "$srcdir/$f"; then
37296 # Source tree
37297 echo $srcdir/$f
37298 else
37299 # /dev/null tree
37300 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
37301 echo "$as_me: error: cannot find input file: $f" >&2;}
37302 { (exit 1); exit 1; }; }
37303 fi;;
37304 esac
37305 done` || { (exit 1); exit 1; }
37306 # Remove the trailing spaces.
37307 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
37308
37309 _ACEOF
37310
37311 # Transform confdefs.h into two sed scripts, `conftest.defines' and
37312 # `conftest.undefs', that substitutes the proper values into
37313 # config.h.in to produce config.h. The first handles `#define'
37314 # templates, and the second `#undef' templates.
37315 # And first: Protect against being on the right side of a sed subst in
37316 # config.status. Protect against being in an unquoted here document
37317 # in config.status.
37318 rm -f conftest.defines conftest.undefs
37319 # Using a here document instead of a string reduces the quoting nightmare.
37320 # Putting comments in sed scripts is not portable.
37321 #
37322 # `end' is used to avoid that the second main sed command (meant for
37323 # 0-ary CPP macros) applies to n-ary macro definitions.
37324 # See the Autoconf documentation for `clear'.
37325 cat >confdef2sed.sed <<\_ACEOF
37326 s/[\\&,]/\\&/g
37327 s,[\\$`],\\&,g
37328 t clear
37329 : clear
37330 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
37331 t end
37332 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
37333 : end
37334 _ACEOF
37335 # If some macros were called several times there might be several times
37336 # the same #defines, which is useless. Nevertheless, we may not want to
37337 # sort them, since we want the *last* AC-DEFINE to be honored.
37338 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
37339 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
37340 rm -f confdef2sed.sed
37341
37342 # This sed command replaces #undef with comments. This is necessary, for
37343 # example, in the case of _POSIX_SOURCE, which is predefined and required
37344 # on some systems where configure will not decide to define it.
37345 cat >>conftest.undefs <<\_ACEOF
37346 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
37347 _ACEOF
37348
37349 # Break up conftest.defines because some shells have a limit on the size
37350 # of here documents, and old seds have small limits too (100 cmds).
37351 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
37352 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
37353 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
37354 echo ' :' >>$CONFIG_STATUS
37355 rm -f conftest.tail
37356 while grep . conftest.defines >/dev/null
37357 do
37358 # Write a limited-size here document to $tmp/defines.sed.
37359 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
37360 # Speed up: don't consider the non `#define' lines.
37361 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
37362 # Work around the forget-to-reset-the-flag bug.
37363 echo 't clr' >>$CONFIG_STATUS
37364 echo ': clr' >>$CONFIG_STATUS
37365 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
37366 echo 'CEOF
37367 sed -f $tmp/defines.sed $tmp/in >$tmp/out
37368 rm -f $tmp/in
37369 mv $tmp/out $tmp/in
37370 ' >>$CONFIG_STATUS
37371 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
37372 rm -f conftest.defines
37373 mv conftest.tail conftest.defines
37374 done
37375 rm -f conftest.defines
37376 echo ' fi # grep' >>$CONFIG_STATUS
37377 echo >>$CONFIG_STATUS
37378
37379 # Break up conftest.undefs because some shells have a limit on the size
37380 # of here documents, and old seds have small limits too (100 cmds).
37381 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
37382 rm -f conftest.tail
37383 while grep . conftest.undefs >/dev/null
37384 do
37385 # Write a limited-size here document to $tmp/undefs.sed.
37386 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
37387 # Speed up: don't consider the non `#undef'
37388 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
37389 # Work around the forget-to-reset-the-flag bug.
37390 echo 't clr' >>$CONFIG_STATUS
37391 echo ': clr' >>$CONFIG_STATUS
37392 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
37393 echo 'CEOF
37394 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
37395 rm -f $tmp/in
37396 mv $tmp/out $tmp/in
37397 ' >>$CONFIG_STATUS
37398 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
37399 rm -f conftest.undefs
37400 mv conftest.tail conftest.undefs
37401 done
37402 rm -f conftest.undefs
37403
37404 cat >>$CONFIG_STATUS <<\_ACEOF
37405 # Let's still pretend it is `configure' which instantiates (i.e., don't
37406 # use $as_me), people would be surprised to read:
37407 # /* config.h. Generated by config.status. */
37408 if test x"$ac_file" = x-; then
37409 echo "/* Generated by configure. */" >$tmp/config.h
37410 else
37411 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
37412 fi
37413 cat $tmp/in >>$tmp/config.h
37414 rm -f $tmp/in
37415 if test x"$ac_file" != x-; then
37416 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
37417 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
37418 echo "$as_me: $ac_file is unchanged" >&6;}
37419 else
37420 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
37421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37422 X"$ac_file" : 'X\(//\)[^/]' \| \
37423 X"$ac_file" : 'X\(//\)$' \| \
37424 X"$ac_file" : 'X\(/\)' \| \
37425 . : '\(.\)' 2>/dev/null ||
37426 echo X"$ac_file" |
37427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37429 /^X\(\/\/\)$/{ s//\1/; q; }
37430 /^X\(\/\).*/{ s//\1/; q; }
37431 s/.*/./; q'`
37432 { if $as_mkdir_p; then
37433 mkdir -p "$ac_dir"
37434 else
37435 as_dir="$ac_dir"
37436 as_dirs=
37437 while test ! -d "$as_dir"; do
37438 as_dirs="$as_dir $as_dirs"
37439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37441 X"$as_dir" : 'X\(//\)[^/]' \| \
37442 X"$as_dir" : 'X\(//\)$' \| \
37443 X"$as_dir" : 'X\(/\)' \| \
37444 . : '\(.\)' 2>/dev/null ||
37445 echo X"$as_dir" |
37446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37448 /^X\(\/\/\)$/{ s//\1/; q; }
37449 /^X\(\/\).*/{ s//\1/; q; }
37450 s/.*/./; q'`
37451 done
37452 test ! -n "$as_dirs" || mkdir $as_dirs
37453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37455 { (exit 1); exit 1; }; }; }
37456
37457 rm -f $ac_file
37458 mv $tmp/config.h $ac_file
37459 fi
37460 else
37461 cat $tmp/config.h
37462 rm -f $tmp/config.h
37463 fi
37464 done
37465 _ACEOF
37466 cat >>$CONFIG_STATUS <<\_ACEOF
37467
37468 #
37469 # CONFIG_COMMANDS section.
37470 #
37471 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
37472 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
37473 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
37474 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
37475 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37476 X"$ac_dest" : 'X\(//\)[^/]' \| \
37477 X"$ac_dest" : 'X\(//\)$' \| \
37478 X"$ac_dest" : 'X\(/\)' \| \
37479 . : '\(.\)' 2>/dev/null ||
37480 echo X"$ac_dest" |
37481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37483 /^X\(\/\/\)$/{ s//\1/; q; }
37484 /^X\(\/\).*/{ s//\1/; q; }
37485 s/.*/./; q'`
37486 ac_builddir=.
37487
37488 if test "$ac_dir" != .; then
37489 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37490 # A "../" for each directory in $ac_dir_suffix.
37491 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37492 else
37493 ac_dir_suffix= ac_top_builddir=
37494 fi
37495
37496 case $srcdir in
37497 .) # No --srcdir option. We are building in place.
37498 ac_srcdir=.
37499 if test -z "$ac_top_builddir"; then
37500 ac_top_srcdir=.
37501 else
37502 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37503 fi ;;
37504 [\\/]* | ?:[\\/]* ) # Absolute path.
37505 ac_srcdir=$srcdir$ac_dir_suffix;
37506 ac_top_srcdir=$srcdir ;;
37507 *) # Relative path.
37508 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37509 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37510 esac
37511 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37512 # absolute.
37513 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37514 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37515 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37516 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37517
37518
37519 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
37520 echo "$as_me: executing $ac_dest commands" >&6;}
37521 case $ac_dest in
37522 default )
37523 if test ! -h wx-config; then
37524 chmod +x wx-config
37525 mv wx-config wx${TOOLCHAIN_NAME}-config
37526 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
37527 fi
37528
37529 if test ! -d lib; then
37530 mkdir lib
37531 fi
37532 if test ! -d lib/wx; then
37533 mkdir lib/wx
37534 fi
37535 if test ! -d lib/wx/include; then
37536 mkdir lib/wx/include
37537 fi
37538 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
37539 mkdir lib/wx/include/${TOOLCHAIN_NAME}
37540 fi
37541 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
37542 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
37543 fi
37544 if test -f setup.h; then
37545 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
37546 fi
37547 ;;
37548 esac
37549 done
37550 _ACEOF
37551
37552 cat >>$CONFIG_STATUS <<\_ACEOF
37553
37554 { (exit 0); exit 0; }
37555 _ACEOF
37556 chmod +x $CONFIG_STATUS
37557 ac_clean_files=$ac_clean_files_save
37558
37559
37560 # configure is writing to config.log, and then calls config.status.
37561 # config.status does its own redirection, appending to config.log.
37562 # Unfortunately, on DOS this fails, as config.log is still kept open
37563 # by configure, so config.status won't be able to write to it; its
37564 # output is simply discarded. So we exec the FD to /dev/null,
37565 # effectively closing config.log, so it can be properly (re)opened and
37566 # appended to by config.status. When coming back to configure, we
37567 # need to make the FD available again.
37568 if test "$no_create" != yes; then
37569 ac_cs_success=:
37570 ac_config_status_args=
37571 test "$silent" = yes &&
37572 ac_config_status_args="$ac_config_status_args --quiet"
37573 exec 5>/dev/null
37574 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37575 exec 5>>config.log
37576 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37577 # would make configure fail if this is the last instruction.
37578 $ac_cs_success || { (exit 1); exit 1; }
37579 fi
37580
37581 #
37582 # CONFIG_SUBDIRS section.
37583 #
37584 if test "$no_recursion" != yes; then
37585
37586 # Remove --cache-file and --srcdir arguments so they do not pile up.
37587 ac_sub_configure_args=
37588 ac_prev=
37589 for ac_arg in $ac_configure_args; do
37590 if test -n "$ac_prev"; then
37591 ac_prev=
37592 continue
37593 fi
37594 case $ac_arg in
37595 -cache-file | --cache-file | --cache-fil | --cache-fi \
37596 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
37597 ac_prev=cache_file ;;
37598 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
37599 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
37600 | --c=*)
37601 ;;
37602 --config-cache | -C)
37603 ;;
37604 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
37605 ac_prev=srcdir ;;
37606 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
37607 ;;
37608 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
37609 ac_prev=prefix ;;
37610 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
37611 ;;
37612 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
37613 esac
37614 done
37615
37616 # Always prepend --prefix to ensure using the same prefix
37617 # in subdir configurations.
37618 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
37619
37620 ac_popdir=`pwd`
37621 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
37622
37623 # Do not complain, so a configure script can configure whichever
37624 # parts of a large source tree are present.
37625 test -d $srcdir/$ac_dir || continue
37626
37627 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
37628 echo "$as_me: configuring in $ac_dir" >&6;}
37629 { if $as_mkdir_p; then
37630 mkdir -p "$ac_dir"
37631 else
37632 as_dir="$ac_dir"
37633 as_dirs=
37634 while test ! -d "$as_dir"; do
37635 as_dirs="$as_dir $as_dirs"
37636 as_dir=`(dirname "$as_dir") 2>/dev/null ||
37637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37638 X"$as_dir" : 'X\(//\)[^/]' \| \
37639 X"$as_dir" : 'X\(//\)$' \| \
37640 X"$as_dir" : 'X\(/\)' \| \
37641 . : '\(.\)' 2>/dev/null ||
37642 echo X"$as_dir" |
37643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
37644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37645 /^X\(\/\/\)$/{ s//\1/; q; }
37646 /^X\(\/\).*/{ s//\1/; q; }
37647 s/.*/./; q'`
37648 done
37649 test ! -n "$as_dirs" || mkdir $as_dirs
37650 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37652 { (exit 1); exit 1; }; }; }
37653
37654 ac_builddir=.
37655
37656 if test "$ac_dir" != .; then
37657 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37658 # A "../" for each directory in $ac_dir_suffix.
37659 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37660 else
37661 ac_dir_suffix= ac_top_builddir=
37662 fi
37663
37664 case $srcdir in
37665 .) # No --srcdir option. We are building in place.
37666 ac_srcdir=.
37667 if test -z "$ac_top_builddir"; then
37668 ac_top_srcdir=.
37669 else
37670 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37671 fi ;;
37672 [\\/]* | ?:[\\/]* ) # Absolute path.
37673 ac_srcdir=$srcdir$ac_dir_suffix;
37674 ac_top_srcdir=$srcdir ;;
37675 *) # Relative path.
37676 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37677 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37678 esac
37679 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37680 # absolute.
37681 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37682 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37683 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37684 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37685
37686
37687 cd $ac_dir
37688
37689 # Check for guested configure; otherwise get Cygnus style configure.
37690 if test -f $ac_srcdir/configure.gnu; then
37691 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37692 elif test -f $ac_srcdir/configure; then
37693 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37694 elif test -f $ac_srcdir/configure.in; then
37695 ac_sub_configure=$ac_configure
37696 else
37697 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37698 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37699 ac_sub_configure=
37700 fi
37701
37702 # The recursion is here.
37703 if test -n "$ac_sub_configure"; then
37704 # Make the cache file name correct relative to the subdirectory.
37705 case $cache_file in
37706 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37707 *) # Relative path.
37708 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37709 esac
37710
37711 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37712 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37713 # The eval makes quoting arguments work.
37714 eval $ac_sub_configure $ac_sub_configure_args \
37715 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37716 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37717 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37718 { (exit 1); exit 1; }; }
37719 fi
37720
37721 cd $ac_popdir
37722 done
37723 fi
37724
37725
37726 echo
37727 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37728 echo ""
37729 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37730 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37731
37732 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37733 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37734 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37735
37736 echo " What level of wxWindows compatibility should be enabled?"
37737 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37738 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37739
37740 echo " Which libraries should wxWindows use?"
37741 echo " jpeg ${wxUSE_LIBJPEG-none}"
37742 echo " png ${wxUSE_LIBPNG-none}"
37743 echo " regex ${wxUSE_REGEX}"
37744 echo " tiff ${wxUSE_LIBTIFF-none}"
37745 echo " zlib ${wxUSE_ZLIB}"
37746 echo " odbc ${wxUSE_ODBC}"
37747 echo " expat ${wxUSE_EXPAT}"
37748 echo " libmspack ${wxUSE_LIBMSPACK}"
37749
37750 echo ""
37751