]> git.saurik.com Git - wxWidgets.git/blob - configure
Override CocoaSetEnabled() to call -[NSControl setEnabled:]
[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.0.
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.0'
273 PACKAGE_STRING='wxWindows 2.5.0'
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_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 INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX SO_SUFFIX SO_SUFFIX_MODULE 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_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_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_OS2 COND_TOOLKIT_OS2_USE_GUI_1 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_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_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 NM 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.0 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.0:";;
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
899 --enable-dataobj use data object classes
900 --enable-ipc use interprocess communication (wxSocket etc.)
901 --enable-cmdline use wxCmdLineParser class
902 --enable-datetime use wxDateTime class
903 --enable-stopwatch use wxStopWatch class
904 --enable-dialupman use dialup network classes
905 --enable-apple_ieee use the Apple IEEE codec
906 --enable-timer use wxTimer class
907 --enable-wave use wxWave class
908 --enable-fraction use wxFraction class
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-longlong use wxLongLong class
912 --enable-geometry use geometry class
913 --enable-log use logging system
914 --enable-streams use wxStream etc classes
915 --enable-file use wxFile classes
916 --enable-ffile use wxFFile classes
917 --enable-textbuf use wxTextBuffer class
918 --enable-textfile use wxTextFile class
919 --enable-fontmap use font encodings conversion classes
920 --enable-unicode compile wxString with Unicode support
921 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)
922 --enable-wxprintfv use wxWindows implementation of vprintf()
923 --enable-std_iostreams use standard C++ stream classes
924 --enable-filesystem use virtual file systems classes
925 --enable-fs_inet use virtual HTTP/FTP filesystems
926 --enable-fs_zip use virtual ZIP filesystems
927 --enable-zipstream use wxZipInputStream
928 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException
929 --enable-snglinst use wxSingleInstanceChecker class
930 --enable-mimetype use wxMimeTypesManager
931 --enable-sysoptions use wxSystemOptions
932 --enable-url use wxURL class
933 --enable-protocol use wxProtocol class
934 --enable-protocol-http HTTP support in wxProtocol
935 --enable-protocol-ftp FTP support in wxProtocol
936 --enable-protocol-file FILE support in wxProtocol
937 --enable-threads use threads
938 --enable-docview use document view architecture
939 --enable-help use help subsystem
940 --enable-mshtmlhelp use MS HTML Help (win32)
941 --enable-html use wxHTML sub-library
942 --enable-htmlhelp use wxHTML-based help
943 --enable-constraints use layout-constraints system
944 --enable-printarch use printing architecture
945 --enable-mdi use multiple document interface architecture
946 --enable-loggui use standard GUI logger
947 --enable-logwin use wxLogWindow
948 --enable-logdialog use wxLogDialog
949 --enable-postscript use wxPostscriptDC device context (default for gtk+)
950 --enable-prologio not available; see contrib
951 --enable-resources not available; see contrib
952 --enable-clipboard use wxClipboard class
953 --enable-dnd use Drag'n'Drop classes
954 --enable-metafile use win32 metafiles
955 --enable-controls use all usual controls
956 --enable-accel use accelerators
957 --enable-button use wxButton class
958 --enable-bmpbutton use wxBitmapButton class
959 --enable-calendar use wxCalendarCtrl class
960 --enable-caret use wxCaret class
961 --enable-checkbox use wxCheckBox class
962 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
963 --enable-choice use wxChoice class
964 --enable-combobox use wxComboBox class
965 --enable-display use wxDisplay class
966 --enable-gauge use wxGauge class
967 --enable-grid use wxGrid class
968 --enable-imaglist use wxImageList class
969 --enable-listbox use wxListBox class
970 --enable-listctrl use wxListCtrl class
971 --enable-notebook use wxNotebook class
972 --enable-radiobox use wxRadioBox class
973 --enable-radiobtn use wxRadioButton class
974 --enable-sash use wxSashWindow class
975 --enable-scrollbar use wxScrollBar class and scrollable windows
976 --enable-slider use wxSlider class
977 --enable-spinbtn use wxSpinButton class
978 --enable-spinctrl use wxSpinCtrl class
979 --enable-splitter use wxSplitterWindow class
980 --enable-statbmp use wxStaticBitmap class
981 --enable-statbox use wxStaticBox class
982 --enable-statline use wxStaticLine class
983 --enable-stattext use wxStaticText class
984 --enable-statusbar use wxStatusBar class
985 --enable-tabdialog use wxTabControl class
986 --enable-textctrl use wxTextCtrl class
987 --enable-togglebtn use wxToggleButton class
988 --enable-toolbar use wxToolBar class
989 --enable-tbarnative use native wxToolBar class
990 --enable-tbarsmpl use wxToolBarSimple class
991 --enable-treectrl use wxTreeCtrl class
992 --enable-tipwindow use wxTipWindow class
993 --enable-popupwin use wxPopUpWindow class
994 --enable-commondlg use all common dialogs
995 --enable-choicedlg use wxChoiceDialog
996 --enable-coldlg use wxColourDialog
997 --enable-filedlg use wxFileDialog
998 --enable-finddlg use wxFindReplaceDialog
999 --enable-fontdlg use wxFontDialog
1000 --enable-dirdlg use wxDirDialog
1001 --enable-msgdlg use wxMessageDialog
1002 --enable-numberdlg use wxNumberEntryDialog
1003 --enable-splash use wxSplashScreen
1004 --enable-textdlg use wxTextDialog
1005 --enable-tipdlg use startup tips
1006 --enable-progressdlg use wxProgressDialog
1007 --enable-wizarddlg use wxWizard
1008 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1009 --enable-miniframe use wxMiniFrame class
1010 --enable-tooltips use wxToolTip class
1011 --enable-splines use spline drawing code
1012 --enable-validators use wxValidator and derived classes
1013 --enable-busyinfo use wxBusyInfo
1014 --enable-joystick use wxJoystick (Linux only)
1015 --enable-metafiles use wxMetaFile (Windows only)
1016 --enable-dragimage use wxDragImage
1017 --enable-accessibility enable accessibility support
1018 --enable-palette use wxPalette class
1019 --enable-image use wxImage class
1020 --enable-gif use gif images (GIF file format)
1021 --enable-pcx use pcx images (PCX file format)
1022 --enable-iff use iff images (IFF file format)
1023 --enable-pnm use pnm images (PNM file format)
1024 --enable-xpm use xpm images (XPM file format)
1025 --enable-icocur use Windows ICO and CUR formats
1026 --enable-official_build official build of wxWindows (win32 DLL only)
1027 --enable-vendor=VENDOR vendor name (win32 DLL only)
1028 --disable-largefile omit support for large files
1029 --disable-gtktest do not try to compile and run a test GTK+ program
1030 --disable-gtktest Do not try to compile and run a test GTK program
1031 --disable-precomp-headers don't use precompiled headers even if compiler can
1032
1033 Optional Packages:
1034 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1035 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1036 --with-gtk use GTK+
1037 --with-motif use Motif/Lesstif
1038 --with-mac use Mac OS X
1039 --with-cocoa use Cocoa
1040 --with-wine use Wine
1041 --with-msw use MS-Windows
1042 --with-pm use OS/2 Presentation Manager
1043 --with-mgl use SciTech MGL
1044 --with-microwin use MicroWindows
1045 --with-x11 use X11
1046 --with-libpng use libpng (PNG image format)
1047 --with-libjpeg use libjpeg (JPEG file format)
1048 --with-libtiff use libtiff (TIFF file format)
1049 --with-opengl use OpenGL (or Mesa)
1050 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1051 --with-regex enable support for wxRegEx class
1052 --with-zlib use zlib for LZW compression
1053 --with-odbc use the IODBC and wxODBC classes
1054 --with-expat enable XML support using expat parser
1055 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1056 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1057 --with-x use the X Window System
1058 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1059
1060 Some influential environment variables:
1061 CC C compiler command
1062 CFLAGS C compiler flags
1063 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1064 nonstandard directory <lib dir>
1065 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1066 headers in a nonstandard directory <include dir>
1067 CPP C preprocessor
1068 CXX C++ compiler command
1069 CXXFLAGS C++ compiler flags
1070 CXXCPP C++ preprocessor
1071
1072 Use these variables to override the choices made by `configure' or to help
1073 it to find libraries and programs with nonstandard names/locations.
1074
1075 Report bugs to <wx-dev@lists.wxwindows.org>.
1076 _ACEOF
1077 fi
1078
1079 if test "$ac_init_help" = "recursive"; then
1080 # If there are subdirs, report their specific --help.
1081 ac_popdir=`pwd`
1082 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083 test -d $ac_dir || continue
1084 ac_builddir=.
1085
1086 if test "$ac_dir" != .; then
1087 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088 # A "../" for each directory in $ac_dir_suffix.
1089 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1090 else
1091 ac_dir_suffix= ac_top_builddir=
1092 fi
1093
1094 case $srcdir in
1095 .) # No --srcdir option. We are building in place.
1096 ac_srcdir=.
1097 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=.
1099 else
1100 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1101 fi ;;
1102 [\\/]* | ?:[\\/]* ) # Absolute path.
1103 ac_srcdir=$srcdir$ac_dir_suffix;
1104 ac_top_srcdir=$srcdir ;;
1105 *) # Relative path.
1106 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1108 esac
1109 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1110 # absolute.
1111 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1112 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1113 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1114 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115
1116 cd $ac_dir
1117 # Check for guested configure; otherwise get Cygnus style configure.
1118 if test -f $ac_srcdir/configure.gnu; then
1119 echo
1120 $SHELL $ac_srcdir/configure.gnu --help=recursive
1121 elif test -f $ac_srcdir/configure; then
1122 echo
1123 $SHELL $ac_srcdir/configure --help=recursive
1124 elif test -f $ac_srcdir/configure.ac ||
1125 test -f $ac_srcdir/configure.in; then
1126 echo
1127 $ac_configure --help
1128 else
1129 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1130 fi
1131 cd $ac_popdir
1132 done
1133 fi
1134
1135 test -n "$ac_init_help" && exit 0
1136 if $ac_init_version; then
1137 cat <<\_ACEOF
1138 wxWindows configure 2.5.0
1139 generated by GNU Autoconf 2.57
1140
1141 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1142 Free Software Foundation, Inc.
1143 This configure script is free software; the Free Software Foundation
1144 gives unlimited permission to copy, distribute and modify it.
1145 _ACEOF
1146 exit 0
1147 fi
1148 exec 5>config.log
1149 cat >&5 <<_ACEOF
1150 This file contains any messages produced by compilers while
1151 running configure, to aid debugging if configure makes a mistake.
1152
1153 It was created by wxWindows $as_me 2.5.0, which was
1154 generated by GNU Autoconf 2.57. Invocation command line was
1155
1156 $ $0 $@
1157
1158 _ACEOF
1159 {
1160 cat <<_ASUNAME
1161 ## --------- ##
1162 ## Platform. ##
1163 ## --------- ##
1164
1165 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1166 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1167 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1168 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1169 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1170
1171 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1172 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1173
1174 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1175 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1176 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1177 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1178 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1179 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1180 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1181
1182 _ASUNAME
1183
1184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1185 for as_dir in $PATH
1186 do
1187 IFS=$as_save_IFS
1188 test -z "$as_dir" && as_dir=.
1189 echo "PATH: $as_dir"
1190 done
1191
1192 } >&5
1193
1194 cat >&5 <<_ACEOF
1195
1196
1197 ## ----------- ##
1198 ## Core tests. ##
1199 ## ----------- ##
1200
1201 _ACEOF
1202
1203
1204 # Keep a trace of the command line.
1205 # Strip out --no-create and --no-recursion so they do not pile up.
1206 # Strip out --silent because we don't want to record it for future runs.
1207 # Also quote any args containing shell meta-characters.
1208 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_configure_args=
1210 ac_configure_args0=
1211 ac_configure_args1=
1212 ac_sep=
1213 ac_must_keep_next=false
1214 for ac_pass in 1 2
1215 do
1216 for ac_arg
1217 do
1218 case $ac_arg in
1219 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1222 continue ;;
1223 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1224 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 esac
1226 case $ac_pass in
1227 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1228 2)
1229 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1230 if test $ac_must_keep_next = true; then
1231 ac_must_keep_next=false # Got value, back to normal.
1232 else
1233 case $ac_arg in
1234 *=* | --config-cache | -C | -disable-* | --disable-* \
1235 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1236 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1237 | -with-* | --with-* | -without-* | --without-* | --x)
1238 case "$ac_configure_args0 " in
1239 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 esac
1241 ;;
1242 -* ) ac_must_keep_next=true ;;
1243 esac
1244 fi
1245 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1246 # Get rid of the leading space.
1247 ac_sep=" "
1248 ;;
1249 esac
1250 done
1251 done
1252 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1253 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1254
1255 # When interrupted or exit'd, cleanup temporary files, and complete
1256 # config.log. We remove comments because anyway the quotes in there
1257 # would cause problems or look ugly.
1258 # WARNING: Be sure not to use single quotes in there, as some shells,
1259 # such as our DU 5.0 friend, will then `close' the trap.
1260 trap 'exit_status=$?
1261 # Save into config.log some information that might help in debugging.
1262 {
1263 echo
1264
1265 cat <<\_ASBOX
1266 ## ---------------- ##
1267 ## Cache variables. ##
1268 ## ---------------- ##
1269 _ASBOX
1270 echo
1271 # The following way of writing the cache mishandles newlines in values,
1272 {
1273 (set) 2>&1 |
1274 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 *ac_space=\ *)
1276 sed -n \
1277 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1279 ;;
1280 *)
1281 sed -n \
1282 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1283 ;;
1284 esac;
1285 }
1286 echo
1287
1288 cat <<\_ASBOX
1289 ## ----------------- ##
1290 ## Output variables. ##
1291 ## ----------------- ##
1292 _ASBOX
1293 echo
1294 for ac_var in $ac_subst_vars
1295 do
1296 eval ac_val=$`echo $ac_var`
1297 echo "$ac_var='"'"'$ac_val'"'"'"
1298 done | sort
1299 echo
1300
1301 if test -n "$ac_subst_files"; then
1302 cat <<\_ASBOX
1303 ## ------------- ##
1304 ## Output files. ##
1305 ## ------------- ##
1306 _ASBOX
1307 echo
1308 for ac_var in $ac_subst_files
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314 fi
1315
1316 if test -s confdefs.h; then
1317 cat <<\_ASBOX
1318 ## ----------- ##
1319 ## confdefs.h. ##
1320 ## ----------- ##
1321 _ASBOX
1322 echo
1323 sed "/^$/d" confdefs.h | sort
1324 echo
1325 fi
1326 test "$ac_signal" != 0 &&
1327 echo "$as_me: caught signal $ac_signal"
1328 echo "$as_me: exit $exit_status"
1329 } >&5
1330 rm -f core core.* *.core &&
1331 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 exit $exit_status
1333 ' 0
1334 for ac_signal in 1 2 13 15; do
1335 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1336 done
1337 ac_signal=0
1338
1339 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1340 rm -rf conftest* confdefs.h
1341 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 echo >confdefs.h
1343
1344 # Predefined preprocessor variables.
1345
1346 cat >>confdefs.h <<_ACEOF
1347 #define PACKAGE_NAME "$PACKAGE_NAME"
1348 _ACEOF
1349
1350
1351 cat >>confdefs.h <<_ACEOF
1352 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1353 _ACEOF
1354
1355
1356 cat >>confdefs.h <<_ACEOF
1357 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1358 _ACEOF
1359
1360
1361 cat >>confdefs.h <<_ACEOF
1362 #define PACKAGE_STRING "$PACKAGE_STRING"
1363 _ACEOF
1364
1365
1366 cat >>confdefs.h <<_ACEOF
1367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1368 _ACEOF
1369
1370
1371 # Let the site file select an alternate cache file if it wants to.
1372 # Prefer explicitly selected file to automatically selected ones.
1373 if test -z "$CONFIG_SITE"; then
1374 if test "x$prefix" != xNONE; then
1375 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1376 else
1377 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 fi
1379 fi
1380 for ac_site_file in $CONFIG_SITE; do
1381 if test -r "$ac_site_file"; then
1382 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1383 echo "$as_me: loading site script $ac_site_file" >&6;}
1384 sed 's/^/| /' "$ac_site_file" >&5
1385 . "$ac_site_file"
1386 fi
1387 done
1388
1389 if test -r "$cache_file"; then
1390 # Some versions of bash will fail to source /dev/null (special
1391 # files actually), so we avoid doing that.
1392 if test -f "$cache_file"; then
1393 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1394 echo "$as_me: loading cache $cache_file" >&6;}
1395 case $cache_file in
1396 [\\/]* | ?:[\\/]* ) . $cache_file;;
1397 *) . ./$cache_file;;
1398 esac
1399 fi
1400 else
1401 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1402 echo "$as_me: creating cache $cache_file" >&6;}
1403 >$cache_file
1404 fi
1405
1406 # Check that the precious variables saved in the cache have kept the same
1407 # value.
1408 ac_cache_corrupted=false
1409 for ac_var in `(set) 2>&1 |
1410 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1411 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1412 eval ac_new_set=\$ac_env_${ac_var}_set
1413 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1414 eval ac_new_val="\$ac_env_${ac_var}_value"
1415 case $ac_old_set,$ac_new_set in
1416 set,)
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1420 ,set)
1421 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1422 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1423 ac_cache_corrupted=: ;;
1424 ,);;
1425 *)
1426 if test "x$ac_old_val" != "x$ac_new_val"; then
1427 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1428 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1429 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1430 echo "$as_me: former value: $ac_old_val" >&2;}
1431 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1432 echo "$as_me: current value: $ac_new_val" >&2;}
1433 ac_cache_corrupted=:
1434 fi;;
1435 esac
1436 # Pass precious variables to config.status.
1437 if test "$ac_new_set" = set; then
1438 case $ac_new_val in
1439 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1440 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1441 *) ac_arg=$ac_var=$ac_new_val ;;
1442 esac
1443 case " $ac_configure_args " in
1444 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1445 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1446 esac
1447 fi
1448 done
1449 if $ac_cache_corrupted; then
1450 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1451 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1452 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1453 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1454 { (exit 1); exit 1; }; }
1455 fi
1456
1457 ac_ext=c
1458 ac_cpp='$CPP $CPPFLAGS'
1459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1462
1463
1464
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 ac_aux_dir=
1493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1494 if test -f $ac_dir/install-sh; then
1495 ac_aux_dir=$ac_dir
1496 ac_install_sh="$ac_aux_dir/install-sh -c"
1497 break
1498 elif test -f $ac_dir/install.sh; then
1499 ac_aux_dir=$ac_dir
1500 ac_install_sh="$ac_aux_dir/install.sh -c"
1501 break
1502 elif test -f $ac_dir/shtool; then
1503 ac_aux_dir=$ac_dir
1504 ac_install_sh="$ac_aux_dir/shtool install -c"
1505 break
1506 fi
1507 done
1508 if test -z "$ac_aux_dir"; then
1509 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1510 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1511 { (exit 1); exit 1; }; }
1512 fi
1513 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1514 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1515 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1516
1517 # Make sure we can run config.sub.
1518 $ac_config_sub sun4 >/dev/null 2>&1 ||
1519 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1520 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1521 { (exit 1); exit 1; }; }
1522
1523 echo "$as_me:$LINENO: checking build system type" >&5
1524 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1525 if test "${ac_cv_build+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1527 else
1528 ac_cv_build_alias=$build_alias
1529 test -z "$ac_cv_build_alias" &&
1530 ac_cv_build_alias=`$ac_config_guess`
1531 test -z "$ac_cv_build_alias" &&
1532 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1533 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1534 { (exit 1); exit 1; }; }
1535 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1539
1540 fi
1541 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1542 echo "${ECHO_T}$ac_cv_build" >&6
1543 build=$ac_cv_build
1544 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1547
1548
1549 echo "$as_me:$LINENO: checking host system type" >&5
1550 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1551 if test "${ac_cv_host+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1553 else
1554 ac_cv_host_alias=$host_alias
1555 test -z "$ac_cv_host_alias" &&
1556 ac_cv_host_alias=$ac_cv_build_alias
1557 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1558 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1559 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1560 { (exit 1); exit 1; }; }
1561
1562 fi
1563 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1564 echo "${ECHO_T}$ac_cv_host" >&6
1565 host=$ac_cv_host
1566 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1567 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1568 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1569
1570
1571 echo "$as_me:$LINENO: checking target system type" >&5
1572 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1573 if test "${ac_cv_target+set}" = set; then
1574 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 else
1576 ac_cv_target_alias=$target_alias
1577 test "x$ac_cv_target_alias" = "x" &&
1578 ac_cv_target_alias=$ac_cv_host_alias
1579 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1580 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1581 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1582 { (exit 1); exit 1; }; }
1583
1584 fi
1585 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1586 echo "${ECHO_T}$ac_cv_target" >&6
1587 target=$ac_cv_target
1588 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1589 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1590 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1591
1592
1593 # The aliases save the names the user supplied, while $host etc.
1594 # will get canonicalized.
1595 test -n "$target_alias" &&
1596 test "$program_prefix$program_suffix$program_transform_name" = \
1597 NONENONEs,x,x, &&
1598 program_prefix=${target_alias}-
1599
1600
1601
1602 WX_MAJOR_VERSION_NUMBER=2
1603 WX_MINOR_VERSION_NUMBER=5
1604 WX_RELEASE_NUMBER=0
1605
1606 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1607 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1608
1609 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1610
1611 WX_CURRENT=0
1612 WX_REVISION=0
1613 WX_AGE=0
1614
1615
1616
1617 USE_UNIX=1
1618 USE_WIN32=0
1619 USE_DOS=0
1620 USE_BEOS=0
1621 USE_MAC=0
1622
1623 USE_AIX=
1624 USE_BSD= USE_DARWIN= USE_FREEBSD=
1625 USE_GNU= USE_HPUX=
1626 USE_LINUX=
1627 USE_NETBSD=
1628 USE_OPENBSD=
1629 USE_OSF= USE_SGI=
1630 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1631 USE_ULTRIX=
1632 USE_UNIXWARE=
1633
1634 USE_ALPHA=
1635
1636 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1637
1638 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1639
1640 DEFAULT_wxUSE_COCOA=0
1641 DEFAULT_wxUSE_GTK=0
1642 DEFAULT_wxUSE_MAC=0
1643 DEFAULT_wxUSE_MGL=0
1644 DEFAULT_wxUSE_MICROWIN=0
1645 DEFAULT_wxUSE_MOTIF=0
1646 DEFAULT_wxUSE_MSW=0
1647 DEFAULT_wxUSE_PM=0
1648 DEFAULT_wxUSE_X11=0
1649
1650 DEFAULT_DEFAULT_wxUSE_COCOA=0
1651 DEFAULT_DEFAULT_wxUSE_GTK=0
1652 DEFAULT_DEFAULT_wxUSE_MAC=0
1653 DEFAULT_DEFAULT_wxUSE_MGL=0
1654 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1655 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1656 DEFAULT_DEFAULT_wxUSE_MSW=0
1657 DEFAULT_DEFAULT_wxUSE_PM=0
1658 DEFAULT_DEFAULT_wxUSE_X11=0
1659
1660 PROGRAM_EXT=
1661 SO_SUFFIX=so
1662 SAMPLES_RPATH_FLAG=
1663 SAMPLES_RPATH_POSTLINK=
1664
1665 case "${host}" in
1666 *-hp-hpux* )
1667 USE_HPUX=1
1668 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1669 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1670 SO_SUFFIX=sl
1671 cat >>confdefs.h <<\_ACEOF
1672 #define __HPUX__ 1
1673 _ACEOF
1674
1675 ;;
1676 *-*-linux* )
1677 USE_LINUX=1
1678 cat >>confdefs.h <<\_ACEOF
1679 #define __LINUX__ 1
1680 _ACEOF
1681
1682 TMP=`uname -m`
1683 if test "x$TMP" = "xalpha"; then
1684 USE_ALPHA=1
1685 cat >>confdefs.h <<\_ACEOF
1686 #define __ALPHA__ 1
1687 _ACEOF
1688
1689 fi
1690 DEFAULT_DEFAULT_wxUSE_GTK=1
1691 ;;
1692 *-*-gnu* )
1693 USE_GNU=1
1694 cat >>confdefs.h <<\_ACEOF
1695 #define __GNU__ 1
1696 _ACEOF
1697
1698 TMP=`uname -m`
1699 if test "x$TMP" = "xalpha"; then
1700 USE_ALPHA=1
1701 cat >>confdefs.h <<\_ACEOF
1702 #define __ALPHA__ 1
1703 _ACEOF
1704
1705 fi
1706 DEFAULT_DEFAULT_wxUSE_GTK=1
1707 ;;
1708 *-*-irix5* | *-*-irix6* )
1709 USE_SGI=1
1710 USE_SVR4=1
1711 cat >>confdefs.h <<\_ACEOF
1712 #define __SGI__ 1
1713 _ACEOF
1714
1715 cat >>confdefs.h <<\_ACEOF
1716 #define __SVR4__ 1
1717 _ACEOF
1718
1719 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1720 ;;
1721 *-*-solaris2* )
1722 USE_SUN=1
1723 USE_SOLARIS=1
1724 USE_SVR4=1
1725 cat >>confdefs.h <<\_ACEOF
1726 #define __SUN__ 1
1727 _ACEOF
1728
1729 cat >>confdefs.h <<\_ACEOF
1730 #define __SOLARIS__ 1
1731 _ACEOF
1732
1733 cat >>confdefs.h <<\_ACEOF
1734 #define __SVR4__ 1
1735 _ACEOF
1736
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1738 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1739 ;;
1740 *-*-sunos4* )
1741 USE_SUN=1
1742 USE_SUNOS=1
1743 USE_BSD=1
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __SUN__ 1
1746 _ACEOF
1747
1748 cat >>confdefs.h <<\_ACEOF
1749 #define __SUNOS__ 1
1750 _ACEOF
1751
1752 cat >>confdefs.h <<\_ACEOF
1753 #define __BSD__ 1
1754 _ACEOF
1755
1756 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1757 ;;
1758 *-*-freebsd*)
1759 USE_BSD=1
1760 USE_FREEBSD=1
1761 cat >>confdefs.h <<\_ACEOF
1762 #define __FREEBSD__ 1
1763 _ACEOF
1764
1765 cat >>confdefs.h <<\_ACEOF
1766 #define __BSD__ 1
1767 _ACEOF
1768
1769 DEFAULT_DEFAULT_wxUSE_GTK=1
1770 ;;
1771 *-*-openbsd*)
1772 USE_BSD=1
1773 USE_OPENBSD=1
1774 cat >>confdefs.h <<\_ACEOF
1775 #define __OPENBSD__ 1
1776 _ACEOF
1777
1778 cat >>confdefs.h <<\_ACEOF
1779 #define __BSD__ 1
1780 _ACEOF
1781
1782 DEFAULT_DEFAULT_wxUSE_GTK=1
1783 ;;
1784 *-*-netbsd*)
1785 USE_BSD=1
1786 USE_NETBSD=1
1787 cat >>confdefs.h <<\_ACEOF
1788 #define __NETBSD__ 1
1789 _ACEOF
1790
1791 cat >>confdefs.h <<\_ACEOF
1792 #define __BSD__ 1
1793 _ACEOF
1794
1795 DEFAULT_DEFAULT_wxUSE_GTK=1
1796 ;;
1797 *-*-osf* )
1798 USE_ALPHA=1
1799 USE_OSF=1
1800 cat >>confdefs.h <<\_ACEOF
1801 #define __ALPHA__ 1
1802 _ACEOF
1803
1804 cat >>confdefs.h <<\_ACEOF
1805 #define __OSF__ 1
1806 _ACEOF
1807
1808 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1809 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1810 ;;
1811 *-*-dgux5* )
1812 USE_ALPHA=1
1813 USE_SVR4=1
1814 cat >>confdefs.h <<\_ACEOF
1815 #define __ALPHA__ 1
1816 _ACEOF
1817
1818 cat >>confdefs.h <<\_ACEOF
1819 #define __SVR4__ 1
1820 _ACEOF
1821
1822 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1823 ;;
1824 *-*-sysv5* )
1825 USE_SYSV=1
1826 USE_SVR4=1
1827 cat >>confdefs.h <<\_ACEOF
1828 #define __SYSV__ 1
1829 _ACEOF
1830
1831 cat >>confdefs.h <<\_ACEOF
1832 #define __SVR4__ 1
1833 _ACEOF
1834
1835 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1836 ;;
1837 *-*-aix* )
1838 USE_AIX=1
1839 USE_SYSV=1
1840 USE_SVR4=1
1841 SO_SUFFIX=a
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __AIX__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __SYSV__ 1
1848 _ACEOF
1849
1850 cat >>confdefs.h <<\_ACEOF
1851 #define __SVR4__ 1
1852 _ACEOF
1853
1854 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1855 ;;
1856
1857 *-*-*UnixWare*)
1858 USE_SYSV=1
1859 USE_SVR4=1
1860 USE_UNIXWARE=1
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __UNIXWARE__ 1
1863 _ACEOF
1864
1865 ;;
1866
1867 *-*-cygwin* | *-*-mingw32* )
1868 SO_SUFFIX=dll
1869 PROGRAM_EXT=".exe"
1870 RESCOMP=windres
1871 DEFAULT_DEFAULT_wxUSE_MSW=1
1872 ;;
1873
1874 *-pc-msdosdjgpp )
1875 USE_UNIX=0
1876 USE_DOS=1
1877 cat >>confdefs.h <<\_ACEOF
1878 #define __DOS__ 1
1879 _ACEOF
1880
1881 PROGRAM_EXT=".exe"
1882 DEFAULT_DEFAULT_wxUSE_MGL=1
1883 LIBS="$LIBS -lstdc++"
1884 ;;
1885
1886 *-pc-os2_emx | *-pc-os2-emx )
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __EMX__ 1
1889 _ACEOF
1890
1891 PROGRAM_EXT=".exe"
1892 DEFAULT_DEFAULT_wxUSE_PM=1
1893 CXX=gcc
1894 LIBS="$LIBS -lstdcpp"
1895 ac_executable_extensions=".exe"
1896 export ac_executable_extensions
1897 ac_save_IFS="$IFS"
1898 IFS="\\"
1899 ac_TEMP_PATH=
1900 for ac_dir in $PATH; do
1901 IFS=$ac_save_IFS
1902 if test -z "$ac_TEMP_PATH"; then
1903 ac_TEMP_PATH="$ac_dir"
1904 else
1905 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1906 fi
1907 done
1908 export PATH="$ac_TEMP_PATH"
1909 unset ac_TEMP_PATH
1910 ;;
1911
1912 powerpc-*-darwin* )
1913 USE_BSD=1
1914 USE_DARWIN=1
1915 SO_SUFFIX=dylib
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __BSD__ 1
1918 _ACEOF
1919
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __DARWIN__ 1
1922 _ACEOF
1923
1924 cat >>confdefs.h <<\_ACEOF
1925 #define __POWERPC__ 1
1926 _ACEOF
1927
1928 cat >>confdefs.h <<\_ACEOF
1929 #define TARGET_CARBON 1
1930 _ACEOF
1931
1932 DEFAULT_DEFAULT_wxUSE_MAC=1
1933 ;;
1934
1935 *-*-beos* )
1936 USE_BEOS=1
1937 cat >>confdefs.h <<\_ACEOF
1938 #define __BEOS__ 1
1939 _ACEOF
1940
1941 ;;
1942
1943 *)
1944 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1945 echo "$as_me: error: unknown system type ${host}." >&2;}
1946 { (exit 1); exit 1; }; }
1947 esac
1948
1949
1950
1951
1952 wx_arg_cache_file="configarg.cache"
1953 echo "loading argument cache $wx_arg_cache_file"
1954 rm -f ${wx_arg_cache_file}.tmp
1955 touch ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}
1957
1958
1959 DEBUG_CONFIGURE=0
1960 if test $DEBUG_CONFIGURE = 1; then
1961 DEFAULT_wxUSE_UNIVERSAL=no
1962 DEFAULT_wxUSE_STL=no
1963
1964 DEFAULT_wxUSE_NANOX=no
1965
1966 DEFAULT_wxUSE_THREADS=yes
1967
1968 DEFAULT_wxUSE_SHARED=yes
1969 DEFAULT_wxUSE_OPTIMISE=no
1970 DEFAULT_wxUSE_PROFILE=no
1971 DEFAULT_wxUSE_NO_DEPS=no
1972 DEFAULT_wxUSE_NO_RTTI=no
1973 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1974 DEFAULT_wxUSE_PERMISSIVE=no
1975 DEFAULT_wxUSE_DEBUG_FLAG=yes
1976 DEFAULT_wxUSE_DEBUG_INFO=yes
1977 DEFAULT_wxUSE_DEBUG_GDB=yes
1978 DEFAULT_wxUSE_MEM_TRACING=no
1979 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1980 DEFAULT_wxUSE_DMALLOC=no
1981 DEFAULT_wxUSE_APPLE_IEEE=no
1982
1983 DEFAULT_wxUSE_LOG=yes
1984 DEFAULT_wxUSE_LOGWINDOW=no
1985 DEFAULT_wxUSE_LOGGUI=no
1986 DEFAULT_wxUSE_LOGDIALOG=no
1987
1988 DEFAULT_wxUSE_GUI=yes
1989 DEFAULT_wxUSE_CONTROLS=no
1990
1991 DEFAULT_wxUSE_REGEX=no
1992 DEFAULT_wxUSE_XML=no
1993 DEFAULT_wxUSE_EXPAT=no
1994 DEFAULT_wxUSE_ZLIB=no
1995 DEFAULT_wxUSE_LIBPNG=no
1996 DEFAULT_wxUSE_LIBJPEG=no
1997 DEFAULT_wxUSE_LIBTIFF=no
1998 DEFAULT_wxUSE_ODBC=no
1999 DEFAULT_wxUSE_OPENGL=no
2000
2001 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2002 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2003 DEFAULT_wxUSE_STD_IOSTREAM=no
2004 DEFAULT_wxUSE_CMDLINE_PARSER=no
2005 DEFAULT_wxUSE_DATETIME=no
2006 DEFAULT_wxUSE_TIMER=no
2007 DEFAULT_wxUSE_STOPWATCH=no
2008 DEFAULT_wxUSE_FILE=no
2009 DEFAULT_wxUSE_FFILE=no
2010 DEFAULT_wxUSE_TEXTBUFFER=no
2011 DEFAULT_wxUSE_TEXTFILE=no
2012 DEFAULT_wxUSE_WAVE=no
2013 DEFAULT_wxUSE_INTL=no
2014 DEFAULT_wxUSE_CONFIG=no
2015 DEFAULT_wxUSE_FONTMAP=no
2016 DEFAULT_wxUSE_STREAMS=no
2017 DEFAULT_wxUSE_SOCKETS=no
2018 DEFAULT_wxUSE_OLE=no
2019 DEFAULT_wxUSE_DATAOBJ=no
2020 DEFAULT_wxUSE_DIALUP_MANAGER=no
2021 DEFAULT_wxUSE_JOYSTICK=no
2022 DEFAULT_wxUSE_DYNLIB_CLASS=no
2023 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2024 DEFAULT_wxUSE_LONGLONG=no
2025 DEFAULT_wxUSE_GEOMETRY=no
2026
2027 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2028 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2029 DEFAULT_wxUSE_POSTSCRIPT=no
2030
2031 DEFAULT_wxUSE_CLIPBOARD=no
2032 DEFAULT_wxUSE_TOOLTIPS=no
2033 DEFAULT_wxUSE_DRAG_AND_DROP=no
2034 DEFAULT_wxUSE_DRAGIMAGE=no
2035 DEFAULT_wxUSE_SPLINES=no
2036
2037 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2038 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2039 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2040
2041 DEFAULT_wxUSE_RESOURCES=no
2042 DEFAULT_wxUSE_CONSTRAINTS=no
2043 DEFAULT_wxUSE_IPC=no
2044 DEFAULT_wxUSE_HELP=no
2045 DEFAULT_wxUSE_MS_HTML_HELP=no
2046 DEFAULT_wxUSE_WXHTML_HELP=no
2047 DEFAULT_wxUSE_TREELAYOUT=no
2048 DEFAULT_wxUSE_METAFILE=no
2049 DEFAULT_wxUSE_MIMETYPE=no
2050 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2051 DEFAULT_wxUSE_PROTOCOL=no
2052 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2053 DEFAULT_wxUSE_PROTOCOL_FTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FILE=no
2055 DEFAULT_wxUSE_URL=no
2056
2057 DEFAULT_wxUSE_COMMONDLGS=no
2058 DEFAULT_wxUSE_CHOICEDLG=no
2059 DEFAULT_wxUSE_COLOURDLG=no
2060 DEFAULT_wxUSE_DIRDLG=no
2061 DEFAULT_wxUSE_FILEDLG=no
2062 DEFAULT_wxUSE_FINDREPLDLG=no
2063 DEFAULT_wxUSE_FONTDLG=no
2064 DEFAULT_wxUSE_MSGDLG=no
2065 DEFAULT_wxUSE_NUMBERDLG=no
2066 DEFAULT_wxUSE_TEXTDLG=no
2067 DEFAULT_wxUSE_SPLASH=no
2068 DEFAULT_wxUSE_STARTUP_TIPS=no
2069 DEFAULT_wxUSE_PROGRESSDLG=no
2070 DEFAULT_wxUSE_WIZARDDLG=no
2071
2072 DEFAULT_wxUSE_MENUS=no
2073 DEFAULT_wxUSE_MINIFRAME=no
2074 DEFAULT_wxUSE_HTML=no
2075 DEFAULT_wxUSE_FILESYSTEM=no
2076 DEFAULT_wxUSE_FS_INET=no
2077 DEFAULT_wxUSE_FS_ZIP=no
2078 DEFAULT_wxUSE_BUSYINFO=no
2079 DEFAULT_wxUSE_ZIPSTREAM=no
2080 DEFAULT_wxUSE_VALIDATORS=no
2081
2082 DEFAULT_wxUSE_ACCEL=no
2083 DEFAULT_wxUSE_BUTTON=no
2084 DEFAULT_wxUSE_BMPBUTTON=no
2085 DEFAULT_wxUSE_CALCTRL=no
2086 DEFAULT_wxUSE_CARET=no
2087 DEFAULT_wxUSE_CHECKBOX=no
2088 DEFAULT_wxUSE_CHECKLST=no
2089 DEFAULT_wxUSE_CHOICE=no
2090 DEFAULT_wxUSE_COMBOBOX=no
2091 DEFAULT_wxUSE_DISPLAY=no
2092 DEFAULT_wxUSE_GAUGE=no
2093 DEFAULT_wxUSE_GRID=no
2094 DEFAULT_wxUSE_IMAGLIST=no
2095 DEFAULT_wxUSE_LISTBOX=no
2096 DEFAULT_wxUSE_LISTCTRL=no
2097 DEFAULT_wxUSE_NOTEBOOK=no
2098 DEFAULT_wxUSE_RADIOBOX=no
2099 DEFAULT_wxUSE_RADIOBTN=no
2100 DEFAULT_wxUSE_SASH=no
2101 DEFAULT_wxUSE_SCROLLBAR=no
2102 DEFAULT_wxUSE_SLIDER=no
2103 DEFAULT_wxUSE_SPINBTN=no
2104 DEFAULT_wxUSE_SPINCTRL=no
2105 DEFAULT_wxUSE_SPLITTER=no
2106 DEFAULT_wxUSE_STATBMP=no
2107 DEFAULT_wxUSE_STATBOX=no
2108 DEFAULT_wxUSE_STATLINE=no
2109 DEFAULT_wxUSE_STATTEXT=no
2110 DEFAULT_wxUSE_STATUSBAR=yes
2111 DEFAULT_wxUSE_TABDIALOG=no
2112 DEFAULT_wxUSE_TEXTCTRL=no
2113 DEFAULT_wxUSE_TOGGLEBTN=no
2114 DEFAULT_wxUSE_TOOLBAR=no
2115 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2116 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2117 DEFAULT_wxUSE_TREECTRL=no
2118 DEFAULT_wxUSE_POPUPWIN=no
2119 DEFAULT_wxUSE_TIPWINDOW=no
2120
2121 DEFAULT_wxUSE_UNICODE=no
2122 DEFAULT_wxUSE_UNICODE_MSLU=no
2123 DEFAULT_wxUSE_WCSRTOMBS=no
2124
2125 DEFAULT_wxUSE_PALETTE=no
2126 DEFAULT_wxUSE_IMAGE=no
2127 DEFAULT_wxUSE_GIF=no
2128 DEFAULT_wxUSE_PCX=no
2129 DEFAULT_wxUSE_PNM=no
2130 DEFAULT_wxUSE_IFF=no
2131 DEFAULT_wxUSE_XPM=no
2132 DEFAULT_wxUSE_ICO_CUR=no
2133 DEFAULT_wxUSE_ACCESSIBILITY=no
2134
2135 DEFAULT_wxUSE_MONOLITHIC=no
2136 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2137 else
2138 DEFAULT_wxUSE_UNIVERSAL=no
2139 DEFAULT_wxUSE_STL=no
2140
2141 DEFAULT_wxUSE_NANOX=no
2142
2143 DEFAULT_wxUSE_THREADS=yes
2144
2145 DEFAULT_wxUSE_SHARED=yes
2146 DEFAULT_wxUSE_OPTIMISE=yes
2147 DEFAULT_wxUSE_PROFILE=no
2148 DEFAULT_wxUSE_NO_DEPS=no
2149 DEFAULT_wxUSE_NO_RTTI=no
2150 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2151 DEFAULT_wxUSE_PERMISSIVE=no
2152 DEFAULT_wxUSE_DEBUG_FLAG=no
2153 DEFAULT_wxUSE_DEBUG_INFO=no
2154 DEFAULT_wxUSE_DEBUG_GDB=no
2155 DEFAULT_wxUSE_MEM_TRACING=no
2156 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2157 DEFAULT_wxUSE_DMALLOC=no
2158 DEFAULT_wxUSE_APPLE_IEEE=yes
2159
2160 DEFAULT_wxUSE_LOG=yes
2161 DEFAULT_wxUSE_LOGWINDOW=yes
2162 DEFAULT_wxUSE_LOGGUI=yes
2163 DEFAULT_wxUSE_LOGDIALOG=yes
2164
2165 DEFAULT_wxUSE_GUI=yes
2166
2167 DEFAULT_wxUSE_REGEX=yes
2168 DEFAULT_wxUSE_XML=yes
2169 DEFAULT_wxUSE_EXPAT=yes
2170 DEFAULT_wxUSE_ZLIB=yes
2171 DEFAULT_wxUSE_LIBPNG=yes
2172 DEFAULT_wxUSE_LIBJPEG=yes
2173 DEFAULT_wxUSE_LIBTIFF=yes
2174 DEFAULT_wxUSE_ODBC=no
2175 DEFAULT_wxUSE_OPENGL=no
2176
2177 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2179 DEFAULT_wxUSE_STD_IOSTREAM=no
2180 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2181 DEFAULT_wxUSE_DATETIME=yes
2182 DEFAULT_wxUSE_TIMER=yes
2183 DEFAULT_wxUSE_STOPWATCH=yes
2184 DEFAULT_wxUSE_FILE=yes
2185 DEFAULT_wxUSE_FFILE=yes
2186 DEFAULT_wxUSE_TEXTBUFFER=yes
2187 DEFAULT_wxUSE_TEXTFILE=yes
2188 DEFAULT_wxUSE_WAVE=no
2189 DEFAULT_wxUSE_INTL=yes
2190 DEFAULT_wxUSE_CONFIG=yes
2191 DEFAULT_wxUSE_FONTMAP=yes
2192 DEFAULT_wxUSE_STREAMS=yes
2193 DEFAULT_wxUSE_SOCKETS=yes
2194 DEFAULT_wxUSE_OLE=yes
2195 DEFAULT_wxUSE_DATAOBJ=yes
2196 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2197 DEFAULT_wxUSE_JOYSTICK=yes
2198 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2199 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2200 DEFAULT_wxUSE_LONGLONG=yes
2201 DEFAULT_wxUSE_GEOMETRY=yes
2202
2203 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2204 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2205 DEFAULT_wxUSE_POSTSCRIPT=yes
2206
2207 DEFAULT_wxUSE_CLIPBOARD=yes
2208 DEFAULT_wxUSE_TOOLTIPS=yes
2209 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2210 DEFAULT_wxUSE_DRAGIMAGE=yes
2211 DEFAULT_wxUSE_SPLINES=yes
2212
2213 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2214 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2215 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2216
2217 DEFAULT_wxUSE_RESOURCES=no
2218 DEFAULT_wxUSE_CONSTRAINTS=yes
2219 DEFAULT_wxUSE_IPC=yes
2220 DEFAULT_wxUSE_HELP=yes
2221 DEFAULT_wxUSE_MS_HTML_HELP=yes
2222 DEFAULT_wxUSE_WXHTML_HELP=yes
2223 DEFAULT_wxUSE_TREELAYOUT=yes
2224 DEFAULT_wxUSE_METAFILE=yes
2225 DEFAULT_wxUSE_MIMETYPE=yes
2226 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2227 DEFAULT_wxUSE_PROTOCOL=yes
2228 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2229 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2230 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2231 DEFAULT_wxUSE_URL=yes
2232
2233 DEFAULT_wxUSE_COMMONDLGS=yes
2234 DEFAULT_wxUSE_CHOICEDLG=yes
2235 DEFAULT_wxUSE_COLOURDLG=yes
2236 DEFAULT_wxUSE_DIRDLG=yes
2237 DEFAULT_wxUSE_FILEDLG=yes
2238 DEFAULT_wxUSE_FINDREPLDLG=yes
2239 DEFAULT_wxUSE_FONTDLG=yes
2240 DEFAULT_wxUSE_MSGDLG=yes
2241 DEFAULT_wxUSE_NUMBERDLG=yes
2242 DEFAULT_wxUSE_TEXTDLG=yes
2243 DEFAULT_wxUSE_SPLASH=yes
2244 DEFAULT_wxUSE_STARTUP_TIPS=yes
2245 DEFAULT_wxUSE_PROGRESSDLG=yes
2246 DEFAULT_wxUSE_WIZARDDLG=yes
2247
2248 DEFAULT_wxUSE_MENUS=yes
2249 DEFAULT_wxUSE_MINIFRAME=yes
2250 DEFAULT_wxUSE_HTML=yes
2251 DEFAULT_wxUSE_FILESYSTEM=yes
2252 DEFAULT_wxUSE_FS_INET=yes
2253 DEFAULT_wxUSE_FS_ZIP=yes
2254 DEFAULT_wxUSE_BUSYINFO=yes
2255 DEFAULT_wxUSE_ZIPSTREAM=yes
2256 DEFAULT_wxUSE_VALIDATORS=yes
2257
2258 DEFAULT_wxUSE_ACCEL=yes
2259 DEFAULT_wxUSE_BUTTON=yes
2260 DEFAULT_wxUSE_BMPBUTTON=yes
2261 DEFAULT_wxUSE_CALCTRL=yes
2262 DEFAULT_wxUSE_CARET=yes
2263 DEFAULT_wxUSE_CHECKBOX=yes
2264 DEFAULT_wxUSE_CHECKLST=yes
2265 DEFAULT_wxUSE_CHOICE=yes
2266 DEFAULT_wxUSE_COMBOBOX=yes
2267 DEFAULT_wxUSE_DISPLAY=no
2268 DEFAULT_wxUSE_GAUGE=yes
2269 DEFAULT_wxUSE_GRID=yes
2270 DEFAULT_wxUSE_IMAGLIST=yes
2271 DEFAULT_wxUSE_LISTBOX=yes
2272 DEFAULT_wxUSE_LISTCTRL=yes
2273 DEFAULT_wxUSE_NOTEBOOK=yes
2274 DEFAULT_wxUSE_RADIOBOX=yes
2275 DEFAULT_wxUSE_RADIOBTN=yes
2276 DEFAULT_wxUSE_SASH=yes
2277 DEFAULT_wxUSE_SCROLLBAR=yes
2278 DEFAULT_wxUSE_SLIDER=yes
2279 DEFAULT_wxUSE_SPINBTN=yes
2280 DEFAULT_wxUSE_SPINCTRL=yes
2281 DEFAULT_wxUSE_SPLITTER=yes
2282 DEFAULT_wxUSE_STATBMP=yes
2283 DEFAULT_wxUSE_STATBOX=yes
2284 DEFAULT_wxUSE_STATLINE=yes
2285 DEFAULT_wxUSE_STATTEXT=yes
2286 DEFAULT_wxUSE_STATUSBAR=yes
2287 DEFAULT_wxUSE_TABDIALOG=no
2288 DEFAULT_wxUSE_TEXTCTRL=yes
2289 DEFAULT_wxUSE_TOGGLEBTN=yes
2290 DEFAULT_wxUSE_TOOLBAR=yes
2291 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2292 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2293 DEFAULT_wxUSE_TREECTRL=yes
2294 DEFAULT_wxUSE_POPUPWIN=yes
2295 DEFAULT_wxUSE_TIPWINDOW=yes
2296
2297 DEFAULT_wxUSE_UNICODE=no
2298 DEFAULT_wxUSE_UNICODE_MSLU=yes
2299 DEFAULT_wxUSE_WCSRTOMBS=no
2300
2301 DEFAULT_wxUSE_PALETTE=yes
2302 DEFAULT_wxUSE_IMAGE=yes
2303 DEFAULT_wxUSE_GIF=yes
2304 DEFAULT_wxUSE_PCX=yes
2305 DEFAULT_wxUSE_IFF=no
2306 DEFAULT_wxUSE_PNM=yes
2307 DEFAULT_wxUSE_XPM=yes
2308 DEFAULT_wxUSE_ICO_CUR=yes
2309 DEFAULT_wxUSE_ACCESSIBILITY=no
2310
2311 DEFAULT_wxUSE_MONOLITHIC=no
2312 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2313 fi
2314
2315
2316
2317 for toolkit in `echo $ALL_TOOLKITS`; do
2318 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2319 if test "x$LINE" != "x" ; then
2320 has_toolkit_in_cache=1
2321 eval "DEFAULT_$LINE"
2322 eval "CACHE_$toolkit=1"
2323 fi
2324 done
2325
2326
2327
2328 enablestring=
2329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2330 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2331 no_cache=0
2332 # Check whether --enable-gui or --disable-gui was given.
2333 if test "${enable_gui+set}" = set; then
2334 enableval="$enable_gui"
2335
2336 if test "$enableval" = yes; then
2337 ac_cv_use_gui='wxUSE_GUI=yes'
2338 else
2339 ac_cv_use_gui='wxUSE_GUI=no'
2340 fi
2341
2342 else
2343
2344 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2345 if test "x$LINE" != x ; then
2346 eval "DEFAULT_$LINE"
2347 else
2348 no_cache=1
2349 fi
2350
2351 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2352
2353 fi;
2354
2355 eval "$ac_cv_use_gui"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2358 fi
2359
2360 if test "$wxUSE_GUI" = yes; then
2361 echo "$as_me:$LINENO: result: yes" >&5
2362 echo "${ECHO_T}yes" >&6
2363 else
2364 echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2366 fi
2367
2368
2369 enablestring=
2370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2371 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2372 no_cache=0
2373 # Check whether --enable-monolithic or --disable-monolithic was given.
2374 if test "${enable_monolithic+set}" = set; then
2375 enableval="$enable_monolithic"
2376
2377 if test "$enableval" = yes; then
2378 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2379 else
2380 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2381 fi
2382
2383 else
2384
2385 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x ; then
2387 eval "DEFAULT_$LINE"
2388 else
2389 no_cache=1
2390 fi
2391
2392 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2393
2394 fi;
2395
2396 eval "$ac_cv_use_monolithic"
2397 if test "$no_cache" != 1; then
2398 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2399 fi
2400
2401 if test "$wxUSE_MONOLITHIC" = yes; then
2402 echo "$as_me:$LINENO: result: yes" >&5
2403 echo "${ECHO_T}yes" >&6
2404 else
2405 echo "$as_me:$LINENO: result: no" >&5
2406 echo "${ECHO_T}no" >&6
2407 fi
2408
2409
2410 if test "$wxUSE_GUI" = "yes"; then
2411
2412
2413 enablestring=
2414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2415 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2416 no_cache=0
2417 # Check whether --enable-universal or --disable-universal was given.
2418 if test "${enable_universal+set}" = set; then
2419 enableval="$enable_universal"
2420
2421 if test "$enableval" = yes; then
2422 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2423 else
2424 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2425 fi
2426
2427 else
2428
2429 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x ; then
2431 eval "DEFAULT_$LINE"
2432 else
2433 no_cache=1
2434 fi
2435
2436 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2437
2438 fi;
2439
2440 eval "$ac_cv_use_universal"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2443 fi
2444
2445 if test "$wxUSE_UNIVERSAL" = yes; then
2446 echo "$as_me:$LINENO: result: yes" >&5
2447 echo "${ECHO_T}yes" >&6
2448 else
2449 echo "$as_me:$LINENO: result: no" >&5
2450 echo "${ECHO_T}no" >&6
2451 fi
2452
2453
2454 # Check whether --with-gtk or --without-gtk was given.
2455 if test "${with_gtk+set}" = set; then
2456 withval="$with_gtk"
2457 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2458 fi;
2459
2460 # Check whether --with-motif or --without-motif was given.
2461 if test "${with_motif+set}" = set; then
2462 withval="$with_motif"
2463 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2464 fi;
2465
2466 # Check whether --with-mac or --without-mac was given.
2467 if test "${with_mac+set}" = set; then
2468 withval="$with_mac"
2469 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2470 fi;
2471
2472 # Check whether --with-cocoa or --without-cocoa was given.
2473 if test "${with_cocoa+set}" = set; then
2474 withval="$with_cocoa"
2475 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2476 fi;
2477
2478 # Check whether --with-wine or --without-wine was given.
2479 if test "${with_wine+set}" = set; then
2480 withval="$with_wine"
2481 wxUSE_WINE="$withval" CACHE_WINE=1
2482 fi;
2483
2484 # Check whether --with-msw or --without-msw was given.
2485 if test "${with_msw+set}" = set; then
2486 withval="$with_msw"
2487 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2488 fi;
2489
2490 # Check whether --with-pm or --without-pm was given.
2491 if test "${with_pm+set}" = set; then
2492 withval="$with_pm"
2493 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2494 fi;
2495
2496 # Check whether --with-mgl or --without-mgl was given.
2497 if test "${with_mgl+set}" = set; then
2498 withval="$with_mgl"
2499 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2500 fi;
2501
2502 # Check whether --with-microwin or --without-microwin was given.
2503 if test "${with_microwin+set}" = set; then
2504 withval="$with_microwin"
2505 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2506 fi;
2507
2508 # Check whether --with-x11 or --without-x11 was given.
2509 if test "${with_x11+set}" = set; then
2510 withval="$with_x11"
2511 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2512 fi;
2513
2514 enablestring=
2515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2516 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2517 no_cache=0
2518 # Check whether --enable-nanox or --disable-nanox was given.
2519 if test "${enable_nanox+set}" = set; then
2520 enableval="$enable_nanox"
2521
2522 if test "$enableval" = yes; then
2523 ac_cv_use_nanox='wxUSE_NANOX=yes'
2524 else
2525 ac_cv_use_nanox='wxUSE_NANOX=no'
2526 fi
2527
2528 else
2529
2530 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2531 if test "x$LINE" != x ; then
2532 eval "DEFAULT_$LINE"
2533 else
2534 no_cache=1
2535 fi
2536
2537 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2538
2539 fi;
2540
2541 eval "$ac_cv_use_nanox"
2542 if test "$no_cache" != 1; then
2543 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2544 fi
2545
2546 if test "$wxUSE_NANOX" = yes; then
2547 echo "$as_me:$LINENO: result: yes" >&5
2548 echo "${ECHO_T}yes" >&6
2549 else
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2552 fi
2553
2554
2555
2556 enablestring=
2557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2558 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2559 no_cache=0
2560 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2561 if test "${enable_gtk2+set}" = set; then
2562 enableval="$enable_gtk2"
2563
2564 if test "$enableval" = yes; then
2565 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2566 else
2567 ac_cv_use_gtk2='wxUSE_GTK2=no'
2568 fi
2569
2570 else
2571
2572 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x ; then
2574 eval "DEFAULT_$LINE"
2575 else
2576 no_cache=1
2577 fi
2578
2579 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2580
2581 fi;
2582
2583 eval "$ac_cv_use_gtk2"
2584 if test "$no_cache" != 1; then
2585 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2586 fi
2587
2588 if test "$wxUSE_GTK2" = yes; then
2589 echo "$as_me:$LINENO: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6
2591 else
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2594 fi
2595
2596
2597
2598 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2599 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2600 no_cache=0
2601
2602 # Check whether --with-libpng or --without-libpng was given.
2603 if test "${with_libpng+set}" = set; then
2604 withval="$with_libpng"
2605
2606 if test "$withval" = yes; then
2607 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2608 elif test "$withval" = no; then
2609 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2610 elif test "$withval" = sys; then
2611 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2612 elif test "$withval" = builtin; then
2613 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2614 else
2615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2616 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2617 { (exit 1); exit 1; }; }
2618 fi
2619
2620 else
2621
2622 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x ; then
2624 eval "DEFAULT_$LINE"
2625 else
2626 no_cache=1
2627 fi
2628
2629 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2630
2631 fi;
2632
2633 eval "$ac_cv_use_libpng"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2636 fi
2637
2638 if test "$wxUSE_LIBPNG" = yes; then
2639 echo "$as_me:$LINENO: result: yes" >&5
2640 echo "${ECHO_T}yes" >&6
2641 elif test "$wxUSE_LIBPNG" = no; then
2642 echo "$as_me:$LINENO: result: no" >&5
2643 echo "${ECHO_T}no" >&6
2644 elif test "$wxUSE_LIBPNG" = sys; then
2645 echo "$as_me:$LINENO: result: system version" >&5
2646 echo "${ECHO_T}system version" >&6
2647 elif test "$wxUSE_LIBPNG" = builtin; then
2648 echo "$as_me:$LINENO: result: builtin version" >&5
2649 echo "${ECHO_T}builtin version" >&6
2650 else
2651 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2652 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2653 { (exit 1); exit 1; }; }
2654 fi
2655
2656
2657 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2658 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2659 no_cache=0
2660
2661 # Check whether --with-libjpeg or --without-libjpeg was given.
2662 if test "${with_libjpeg+set}" = set; then
2663 withval="$with_libjpeg"
2664
2665 if test "$withval" = yes; then
2666 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2667 elif test "$withval" = no; then
2668 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2669 elif test "$withval" = sys; then
2670 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2671 elif test "$withval" = builtin; then
2672 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2673 else
2674 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2675 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2676 { (exit 1); exit 1; }; }
2677 fi
2678
2679 else
2680
2681 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x ; then
2683 eval "DEFAULT_$LINE"
2684 else
2685 no_cache=1
2686 fi
2687
2688 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2689
2690 fi;
2691
2692 eval "$ac_cv_use_libjpeg"
2693 if test "$no_cache" != 1; then
2694 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2695 fi
2696
2697 if test "$wxUSE_LIBJPEG" = yes; then
2698 echo "$as_me:$LINENO: result: yes" >&5
2699 echo "${ECHO_T}yes" >&6
2700 elif test "$wxUSE_LIBJPEG" = no; then
2701 echo "$as_me:$LINENO: result: no" >&5
2702 echo "${ECHO_T}no" >&6
2703 elif test "$wxUSE_LIBJPEG" = sys; then
2704 echo "$as_me:$LINENO: result: system version" >&5
2705 echo "${ECHO_T}system version" >&6
2706 elif test "$wxUSE_LIBJPEG" = builtin; then
2707 echo "$as_me:$LINENO: result: builtin version" >&5
2708 echo "${ECHO_T}builtin version" >&6
2709 else
2710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2711 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2712 { (exit 1); exit 1; }; }
2713 fi
2714
2715
2716 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2717 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2718 no_cache=0
2719
2720 # Check whether --with-libtiff or --without-libtiff was given.
2721 if test "${with_libtiff+set}" = set; then
2722 withval="$with_libtiff"
2723
2724 if test "$withval" = yes; then
2725 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2726 elif test "$withval" = no; then
2727 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2728 elif test "$withval" = sys; then
2729 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2730 elif test "$withval" = builtin; then
2731 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2732 else
2733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2735 { (exit 1); exit 1; }; }
2736 fi
2737
2738 else
2739
2740 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2741 if test "x$LINE" != x ; then
2742 eval "DEFAULT_$LINE"
2743 else
2744 no_cache=1
2745 fi
2746
2747 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2748
2749 fi;
2750
2751 eval "$ac_cv_use_libtiff"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2754 fi
2755
2756 if test "$wxUSE_LIBTIFF" = yes; then
2757 echo "$as_me:$LINENO: result: yes" >&5
2758 echo "${ECHO_T}yes" >&6
2759 elif test "$wxUSE_LIBTIFF" = no; then
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2762 elif test "$wxUSE_LIBTIFF" = sys; then
2763 echo "$as_me:$LINENO: result: system version" >&5
2764 echo "${ECHO_T}system version" >&6
2765 elif test "$wxUSE_LIBTIFF" = builtin; then
2766 echo "$as_me:$LINENO: result: builtin version" >&5
2767 echo "${ECHO_T}builtin version" >&6
2768 else
2769 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2770 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2771 { (exit 1); exit 1; }; }
2772 fi
2773
2774
2775 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2776 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2777 no_cache=0
2778
2779 # Check whether --with-opengl or --without-opengl was given.
2780 if test "${with_opengl+set}" = set; then
2781 withval="$with_opengl"
2782
2783 if test "$withval" = yes; then
2784 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2785 else
2786 ac_cv_use_opengl='wxUSE_OPENGL=no'
2787 fi
2788
2789 else
2790
2791 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x ; then
2793 eval "DEFAULT_$LINE"
2794 else
2795 no_cache=1
2796 fi
2797
2798 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2799
2800 fi;
2801
2802 eval "$ac_cv_use_opengl"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2805 fi
2806
2807 if test "$wxUSE_OPENGL" = yes; then
2808 echo "$as_me:$LINENO: result: yes" >&5
2809 echo "${ECHO_T}yes" >&6
2810 else
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2813 fi
2814
2815
2816 fi
2817
2818
2819 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2820 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2821 no_cache=0
2822
2823 # Check whether --with-dmalloc or --without-dmalloc was given.
2824 if test "${with_dmalloc+set}" = set; then
2825 withval="$with_dmalloc"
2826
2827 if test "$withval" = yes; then
2828 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2829 else
2830 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2831 fi
2832
2833 else
2834
2835 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x ; then
2837 eval "DEFAULT_$LINE"
2838 else
2839 no_cache=1
2840 fi
2841
2842 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2843
2844 fi;
2845
2846 eval "$ac_cv_use_dmalloc"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2849 fi
2850
2851 if test "$wxUSE_DMALLOC" = yes; then
2852 echo "$as_me:$LINENO: result: yes" >&5
2853 echo "${ECHO_T}yes" >&6
2854 else
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2857 fi
2858
2859
2860 echo "$as_me:$LINENO: checking for --with-regex" >&5
2861 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2862 no_cache=0
2863
2864 # Check whether --with-regex or --without-regex was given.
2865 if test "${with_regex+set}" = set; then
2866 withval="$with_regex"
2867
2868 if test "$withval" = yes; then
2869 ac_cv_use_regex='wxUSE_REGEX=yes'
2870 elif test "$withval" = no; then
2871 ac_cv_use_regex='wxUSE_REGEX=no'
2872 elif test "$withval" = sys; then
2873 ac_cv_use_regex='wxUSE_REGEX=sys'
2874 elif test "$withval" = builtin; then
2875 ac_cv_use_regex='wxUSE_REGEX=builtin'
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882 else
2883
2884 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x ; then
2886 eval "DEFAULT_$LINE"
2887 else
2888 no_cache=1
2889 fi
2890
2891 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2892
2893 fi;
2894
2895 eval "$ac_cv_use_regex"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2898 fi
2899
2900 if test "$wxUSE_REGEX" = yes; then
2901 echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6
2903 elif test "$wxUSE_REGEX" = no; then
2904 echo "$as_me:$LINENO: result: no" >&5
2905 echo "${ECHO_T}no" >&6
2906 elif test "$wxUSE_REGEX" = sys; then
2907 echo "$as_me:$LINENO: result: system version" >&5
2908 echo "${ECHO_T}system version" >&6
2909 elif test "$wxUSE_REGEX" = builtin; then
2910 echo "$as_me:$LINENO: result: builtin version" >&5
2911 echo "${ECHO_T}builtin version" >&6
2912 else
2913 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2914 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2915 { (exit 1); exit 1; }; }
2916 fi
2917
2918
2919 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2920 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2921 no_cache=0
2922
2923 # Check whether --with-zlib or --without-zlib was given.
2924 if test "${with_zlib+set}" = set; then
2925 withval="$with_zlib"
2926
2927 if test "$withval" = yes; then
2928 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2929 elif test "$withval" = no; then
2930 ac_cv_use_zlib='wxUSE_ZLIB=no'
2931 elif test "$withval" = sys; then
2932 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2933 elif test "$withval" = builtin; then
2934 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2935 else
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2939 fi
2940
2941 else
2942
2943 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x ; then
2945 eval "DEFAULT_$LINE"
2946 else
2947 no_cache=1
2948 fi
2949
2950 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2951
2952 fi;
2953
2954 eval "$ac_cv_use_zlib"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2957 fi
2958
2959 if test "$wxUSE_ZLIB" = yes; then
2960 echo "$as_me:$LINENO: result: yes" >&5
2961 echo "${ECHO_T}yes" >&6
2962 elif test "$wxUSE_ZLIB" = no; then
2963 echo "$as_me:$LINENO: result: no" >&5
2964 echo "${ECHO_T}no" >&6
2965 elif test "$wxUSE_ZLIB" = sys; then
2966 echo "$as_me:$LINENO: result: system version" >&5
2967 echo "${ECHO_T}system version" >&6
2968 elif test "$wxUSE_ZLIB" = builtin; then
2969 echo "$as_me:$LINENO: result: builtin version" >&5
2970 echo "${ECHO_T}builtin version" >&6
2971 else
2972 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2973 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2974 { (exit 1); exit 1; }; }
2975 fi
2976
2977
2978 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2979 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2980 no_cache=0
2981
2982 # Check whether --with-odbc or --without-odbc was given.
2983 if test "${with_odbc+set}" = set; then
2984 withval="$with_odbc"
2985
2986 if test "$withval" = yes; then
2987 ac_cv_use_odbc='wxUSE_ODBC=yes'
2988 elif test "$withval" = no; then
2989 ac_cv_use_odbc='wxUSE_ODBC=no'
2990 elif test "$withval" = sys; then
2991 ac_cv_use_odbc='wxUSE_ODBC=sys'
2992 elif test "$withval" = builtin; then
2993 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2994 else
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
2998 fi
2999
3000 else
3001
3002 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3003 if test "x$LINE" != x ; then
3004 eval "DEFAULT_$LINE"
3005 else
3006 no_cache=1
3007 fi
3008
3009 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3010
3011 fi;
3012
3013 eval "$ac_cv_use_odbc"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3016 fi
3017
3018 if test "$wxUSE_ODBC" = yes; then
3019 echo "$as_me:$LINENO: result: yes" >&5
3020 echo "${ECHO_T}yes" >&6
3021 elif test "$wxUSE_ODBC" = no; then
3022 echo "$as_me:$LINENO: result: no" >&5
3023 echo "${ECHO_T}no" >&6
3024 elif test "$wxUSE_ODBC" = sys; then
3025 echo "$as_me:$LINENO: result: system version" >&5
3026 echo "${ECHO_T}system version" >&6
3027 elif test "$wxUSE_ODBC" = builtin; then
3028 echo "$as_me:$LINENO: result: builtin version" >&5
3029 echo "${ECHO_T}builtin version" >&6
3030 else
3031 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3032 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3033 { (exit 1); exit 1; }; }
3034 fi
3035
3036
3037 echo "$as_me:$LINENO: checking for --with-expat" >&5
3038 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3039 no_cache=0
3040
3041 # Check whether --with-expat or --without-expat was given.
3042 if test "${with_expat+set}" = set; then
3043 withval="$with_expat"
3044
3045 if test "$withval" = yes; then
3046 ac_cv_use_expat='wxUSE_EXPAT=yes'
3047 elif test "$withval" = no; then
3048 ac_cv_use_expat='wxUSE_EXPAT=no'
3049 elif test "$withval" = sys; then
3050 ac_cv_use_expat='wxUSE_EXPAT=sys'
3051 elif test "$withval" = builtin; then
3052 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3053 else
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3057 fi
3058
3059 else
3060
3061 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x ; then
3063 eval "DEFAULT_$LINE"
3064 else
3065 no_cache=1
3066 fi
3067
3068 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3069
3070 fi;
3071
3072 eval "$ac_cv_use_expat"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3075 fi
3076
3077 if test "$wxUSE_EXPAT" = yes; then
3078 echo "$as_me:$LINENO: result: yes" >&5
3079 echo "${ECHO_T}yes" >&6
3080 elif test "$wxUSE_EXPAT" = no; then
3081 echo "$as_me:$LINENO: result: no" >&5
3082 echo "${ECHO_T}no" >&6
3083 elif test "$wxUSE_EXPAT" = sys; then
3084 echo "$as_me:$LINENO: result: system version" >&5
3085 echo "${ECHO_T}system version" >&6
3086 elif test "$wxUSE_EXPAT" = builtin; then
3087 echo "$as_me:$LINENO: result: builtin version" >&5
3088 echo "${ECHO_T}builtin version" >&6
3089 else
3090 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3091 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3092 { (exit 1); exit 1; }; }
3093 fi
3094
3095
3096
3097
3098 enablestring=
3099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3100 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3101 no_cache=0
3102 # Check whether --enable-shared or --disable-shared was given.
3103 if test "${enable_shared+set}" = set; then
3104 enableval="$enable_shared"
3105
3106 if test "$enableval" = yes; then
3107 ac_cv_use_shared='wxUSE_SHARED=yes'
3108 else
3109 ac_cv_use_shared='wxUSE_SHARED=no'
3110 fi
3111
3112 else
3113
3114 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3115 if test "x$LINE" != x ; then
3116 eval "DEFAULT_$LINE"
3117 else
3118 no_cache=1
3119 fi
3120
3121 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3122
3123 fi;
3124
3125 eval "$ac_cv_use_shared"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3128 fi
3129
3130 if test "$wxUSE_SHARED" = yes; then
3131 echo "$as_me:$LINENO: result: yes" >&5
3132 echo "${ECHO_T}yes" >&6
3133 else
3134 echo "$as_me:$LINENO: result: no" >&5
3135 echo "${ECHO_T}no" >&6
3136 fi
3137
3138
3139 enablestring=
3140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3141 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3142 no_cache=0
3143 # Check whether --enable-optimise or --disable-optimise was given.
3144 if test "${enable_optimise+set}" = set; then
3145 enableval="$enable_optimise"
3146
3147 if test "$enableval" = yes; then
3148 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3149 else
3150 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3151 fi
3152
3153 else
3154
3155 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x ; then
3157 eval "DEFAULT_$LINE"
3158 else
3159 no_cache=1
3160 fi
3161
3162 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3163
3164 fi;
3165
3166 eval "$ac_cv_use_optimise"
3167 if test "$no_cache" != 1; then
3168 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3169 fi
3170
3171 if test "$wxUSE_OPTIMISE" = yes; then
3172 echo "$as_me:$LINENO: result: yes" >&5
3173 echo "${ECHO_T}yes" >&6
3174 else
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3177 fi
3178
3179
3180 enablestring=
3181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3182 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3183 no_cache=0
3184 # Check whether --enable-debug or --disable-debug was given.
3185 if test "${enable_debug+set}" = set; then
3186 enableval="$enable_debug"
3187
3188 if test "$enableval" = yes; then
3189 ac_cv_use_debug='wxUSE_DEBUG=yes'
3190 else
3191 ac_cv_use_debug='wxUSE_DEBUG=no'
3192 fi
3193
3194 else
3195
3196 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3199 else
3200 no_cache=1
3201 fi
3202
3203 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3204
3205 fi;
3206
3207 eval "$ac_cv_use_debug"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_DEBUG" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3215 else
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 fi
3219
3220
3221 enablestring=
3222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3223 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3224 no_cache=0
3225 # Check whether --enable-stl or --disable-stl was given.
3226 if test "${enable_stl+set}" = set; then
3227 enableval="$enable_stl"
3228
3229 if test "$enableval" = yes; then
3230 ac_cv_use_stl='wxUSE_STL=yes'
3231 else
3232 ac_cv_use_stl='wxUSE_STL=no'
3233 fi
3234
3235 else
3236
3237 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x ; then
3239 eval "DEFAULT_$LINE"
3240 else
3241 no_cache=1
3242 fi
3243
3244 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3245
3246 fi;
3247
3248 eval "$ac_cv_use_stl"
3249 if test "$no_cache" != 1; then
3250 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3251 fi
3252
3253 if test "$wxUSE_STL" = yes; then
3254 echo "$as_me:$LINENO: result: yes" >&5
3255 echo "${ECHO_T}yes" >&6
3256 else
3257 echo "$as_me:$LINENO: result: no" >&5
3258 echo "${ECHO_T}no" >&6
3259 fi
3260
3261
3262 if test "$wxUSE_DEBUG" = "yes"; then
3263 DEFAULT_wxUSE_DEBUG_FLAG=yes
3264 DEFAULT_wxUSE_DEBUG_INFO=yes
3265 BUILD=debug
3266 elif test "$wxUSE_DEBUG" = "no"; then
3267 DEFAULT_wxUSE_DEBUG_FLAG=no
3268 DEFAULT_wxUSE_DEBUG_INFO=no
3269 BUILD=release
3270 fi
3271
3272
3273 enablestring=
3274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3275 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3276 no_cache=0
3277 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3278 if test "${enable_debug_flag+set}" = set; then
3279 enableval="$enable_debug_flag"
3280
3281 if test "$enableval" = yes; then
3282 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3283 else
3284 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3285 fi
3286
3287 else
3288
3289 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x ; then
3291 eval "DEFAULT_$LINE"
3292 else
3293 no_cache=1
3294 fi
3295
3296 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3297
3298 fi;
3299
3300 eval "$ac_cv_use_debug_flag"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3303 fi
3304
3305 if test "$wxUSE_DEBUG_FLAG" = yes; then
3306 echo "$as_me:$LINENO: result: yes" >&5
3307 echo "${ECHO_T}yes" >&6
3308 else
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3311 fi
3312
3313
3314 enablestring=
3315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3316 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3317 no_cache=0
3318 # Check whether --enable-debug_info or --disable-debug_info was given.
3319 if test "${enable_debug_info+set}" = set; then
3320 enableval="$enable_debug_info"
3321
3322 if test "$enableval" = yes; then
3323 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3324 else
3325 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3326 fi
3327
3328 else
3329
3330 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x ; then
3332 eval "DEFAULT_$LINE"
3333 else
3334 no_cache=1
3335 fi
3336
3337 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3338
3339 fi;
3340
3341 eval "$ac_cv_use_debug_info"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3344 fi
3345
3346 if test "$wxUSE_DEBUG_INFO" = yes; then
3347 echo "$as_me:$LINENO: result: yes" >&5
3348 echo "${ECHO_T}yes" >&6
3349 else
3350 echo "$as_me:$LINENO: result: no" >&5
3351 echo "${ECHO_T}no" >&6
3352 fi
3353
3354
3355 enablestring=
3356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3357 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3358 no_cache=0
3359 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3360 if test "${enable_debug_gdb+set}" = set; then
3361 enableval="$enable_debug_gdb"
3362
3363 if test "$enableval" = yes; then
3364 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3365 else
3366 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3379
3380 fi;
3381
3382 eval "$ac_cv_use_debug_gdb"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_DEBUG_GDB" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 else
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 fi
3394
3395
3396 enablestring=
3397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3398 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3399 no_cache=0
3400 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3401 if test "${enable_debug_cntxt+set}" = set; then
3402 enableval="$enable_debug_cntxt"
3403
3404 if test "$enableval" = yes; then
3405 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3406 else
3407 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3408 fi
3409
3410 else
3411
3412 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x ; then
3414 eval "DEFAULT_$LINE"
3415 else
3416 no_cache=1
3417 fi
3418
3419 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3420
3421 fi;
3422
3423 eval "$ac_cv_use_debug_cntxt"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3426 fi
3427
3428 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3429 echo "$as_me:$LINENO: result: yes" >&5
3430 echo "${ECHO_T}yes" >&6
3431 else
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3434 fi
3435
3436
3437 enablestring=
3438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3439 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3440 no_cache=0
3441 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3442 if test "${enable_mem_tracing+set}" = set; then
3443 enableval="$enable_mem_tracing"
3444
3445 if test "$enableval" = yes; then
3446 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3447 else
3448 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3449 fi
3450
3451 else
3452
3453 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3454 if test "x$LINE" != x ; then
3455 eval "DEFAULT_$LINE"
3456 else
3457 no_cache=1
3458 fi
3459
3460 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3461
3462 fi;
3463
3464 eval "$ac_cv_use_mem_tracing"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3467 fi
3468
3469 if test "$wxUSE_MEM_TRACING" = yes; then
3470 echo "$as_me:$LINENO: result: yes" >&5
3471 echo "${ECHO_T}yes" >&6
3472 else
3473 echo "$as_me:$LINENO: result: no" >&5
3474 echo "${ECHO_T}no" >&6
3475 fi
3476
3477
3478 enablestring=
3479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3480 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3481 no_cache=0
3482 # Check whether --enable-profile or --disable-profile was given.
3483 if test "${enable_profile+set}" = set; then
3484 enableval="$enable_profile"
3485
3486 if test "$enableval" = yes; then
3487 ac_cv_use_profile='wxUSE_PROFILE=yes'
3488 else
3489 ac_cv_use_profile='wxUSE_PROFILE=no'
3490 fi
3491
3492 else
3493
3494 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x ; then
3496 eval "DEFAULT_$LINE"
3497 else
3498 no_cache=1
3499 fi
3500
3501 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3502
3503 fi;
3504
3505 eval "$ac_cv_use_profile"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3508 fi
3509
3510 if test "$wxUSE_PROFILE" = yes; then
3511 echo "$as_me:$LINENO: result: yes" >&5
3512 echo "${ECHO_T}yes" >&6
3513 else
3514 echo "$as_me:$LINENO: result: no" >&5
3515 echo "${ECHO_T}no" >&6
3516 fi
3517
3518
3519 enablestring=
3520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3521 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3522 no_cache=0
3523 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3524 if test "${enable_no_rtti+set}" = set; then
3525 enableval="$enable_no_rtti"
3526
3527 if test "$enableval" = yes; then
3528 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3529 else
3530 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3531 fi
3532
3533 else
3534
3535 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3536 if test "x$LINE" != x ; then
3537 eval "DEFAULT_$LINE"
3538 else
3539 no_cache=1
3540 fi
3541
3542 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3543
3544 fi;
3545
3546 eval "$ac_cv_use_no_rtti"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3549 fi
3550
3551 if test "$wxUSE_NO_RTTI" = yes; then
3552 echo "$as_me:$LINENO: result: yes" >&5
3553 echo "${ECHO_T}yes" >&6
3554 else
3555 echo "$as_me:$LINENO: result: no" >&5
3556 echo "${ECHO_T}no" >&6
3557 fi
3558
3559
3560 enablestring=
3561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3562 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3563 no_cache=0
3564 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3565 if test "${enable_no_exceptions+set}" = set; then
3566 enableval="$enable_no_exceptions"
3567
3568 if test "$enableval" = yes; then
3569 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3570 else
3571 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3572 fi
3573
3574 else
3575
3576 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x ; then
3578 eval "DEFAULT_$LINE"
3579 else
3580 no_cache=1
3581 fi
3582
3583 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3584
3585 fi;
3586
3587 eval "$ac_cv_use_no_exceptions"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3590 fi
3591
3592 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3593 echo "$as_me:$LINENO: result: yes" >&5
3594 echo "${ECHO_T}yes" >&6
3595 else
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3598 fi
3599
3600
3601 enablestring=
3602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3603 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3604 no_cache=0
3605 # Check whether --enable-permissive or --disable-permissive was given.
3606 if test "${enable_permissive+set}" = set; then
3607 enableval="$enable_permissive"
3608
3609 if test "$enableval" = yes; then
3610 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3611 else
3612 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3613 fi
3614
3615 else
3616
3617 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x ; then
3619 eval "DEFAULT_$LINE"
3620 else
3621 no_cache=1
3622 fi
3623
3624 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3625
3626 fi;
3627
3628 eval "$ac_cv_use_permissive"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3631 fi
3632
3633 if test "$wxUSE_PERMISSIVE" = yes; then
3634 echo "$as_me:$LINENO: result: yes" >&5
3635 echo "${ECHO_T}yes" >&6
3636 else
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3639 fi
3640
3641
3642 enablestring=
3643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3645 no_cache=0
3646 # Check whether --enable-no_deps or --disable-no_deps was given.
3647 if test "${enable_no_deps+set}" = set; then
3648 enableval="$enable_no_deps"
3649
3650 if test "$enableval" = yes; then
3651 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3652 else
3653 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3654 fi
3655
3656 else
3657
3658 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 else
3662 no_cache=1
3663 fi
3664
3665 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3666
3667 fi;
3668
3669 eval "$ac_cv_use_no_deps"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_NO_DEPS" = yes; then
3675 echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6
3677 else
3678 echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6
3680 fi
3681
3682
3683
3684 enablestring=
3685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3686 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3687 no_cache=0
3688 # Check whether --enable-compat22 or --disable-compat22 was given.
3689 if test "${enable_compat22+set}" = set; then
3690 enableval="$enable_compat22"
3691
3692 if test "$enableval" = yes; then
3693 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3694 else
3695 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3696 fi
3697
3698 else
3699
3700 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x ; then
3702 eval "DEFAULT_$LINE"
3703 else
3704 no_cache=1
3705 fi
3706
3707 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3708
3709 fi;
3710
3711 eval "$ac_cv_use_compat22"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3714 fi
3715
3716 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3717 echo "$as_me:$LINENO: result: yes" >&5
3718 echo "${ECHO_T}yes" >&6
3719 else
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3722 fi
3723
3724
3725 enablestring=disable
3726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3727 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3728 no_cache=0
3729 # Check whether --enable-compat24 or --disable-compat24 was given.
3730 if test "${enable_compat24+set}" = set; then
3731 enableval="$enable_compat24"
3732
3733 if test "$enableval" = yes; then
3734 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3735 else
3736 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3737 fi
3738
3739 else
3740
3741 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x ; then
3743 eval "DEFAULT_$LINE"
3744 else
3745 no_cache=1
3746 fi
3747
3748 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3749
3750 fi;
3751
3752 eval "$ac_cv_use_compat24"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3755 fi
3756
3757 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3758 echo "$as_me:$LINENO: result: yes" >&5
3759 echo "${ECHO_T}yes" >&6
3760 else
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3763 fi
3764
3765
3766 # Check whether --enable-rpath or --disable-rpath was given.
3767 if test "${enable_rpath+set}" = set; then
3768 enableval="$enable_rpath"
3769 wxRPATH_DIR="$enableval"
3770 fi;
3771
3772 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3773 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3774 fi
3775
3776
3777
3778
3779 enablestring=
3780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3781 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3782 no_cache=0
3783 # Check whether --enable-intl or --disable-intl was given.
3784 if test "${enable_intl+set}" = set; then
3785 enableval="$enable_intl"
3786
3787 if test "$enableval" = yes; then
3788 ac_cv_use_intl='wxUSE_INTL=yes'
3789 else
3790 ac_cv_use_intl='wxUSE_INTL=no'
3791 fi
3792
3793 else
3794
3795 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x ; then
3797 eval "DEFAULT_$LINE"
3798 else
3799 no_cache=1
3800 fi
3801
3802 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3803
3804 fi;
3805
3806 eval "$ac_cv_use_intl"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3809 fi
3810
3811 if test "$wxUSE_INTL" = yes; then
3812 echo "$as_me:$LINENO: result: yes" >&5
3813 echo "${ECHO_T}yes" >&6
3814 else
3815 echo "$as_me:$LINENO: result: no" >&5
3816 echo "${ECHO_T}no" >&6
3817 fi
3818
3819
3820 enablestring=
3821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3822 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3823 no_cache=0
3824 # Check whether --enable-config or --disable-config was given.
3825 if test "${enable_config+set}" = set; then
3826 enableval="$enable_config"
3827
3828 if test "$enableval" = yes; then
3829 ac_cv_use_config='wxUSE_CONFIG=yes'
3830 else
3831 ac_cv_use_config='wxUSE_CONFIG=no'
3832 fi
3833
3834 else
3835
3836 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x ; then
3838 eval "DEFAULT_$LINE"
3839 else
3840 no_cache=1
3841 fi
3842
3843 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3844
3845 fi;
3846
3847 eval "$ac_cv_use_config"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3850 fi
3851
3852 if test "$wxUSE_CONFIG" = yes; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3858 fi
3859
3860
3861
3862 enablestring=
3863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3864 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3865 no_cache=0
3866 # Check whether --enable-protocols or --disable-protocols was given.
3867 if test "${enable_protocols+set}" = set; then
3868 enableval="$enable_protocols"
3869
3870 if test "$enableval" = yes; then
3871 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3872 else
3873 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3874 fi
3875
3876 else
3877
3878 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3879 if test "x$LINE" != x ; then
3880 eval "DEFAULT_$LINE"
3881 else
3882 no_cache=1
3883 fi
3884
3885 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3886
3887 fi;
3888
3889 eval "$ac_cv_use_protocols"
3890 if test "$no_cache" != 1; then
3891 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3892 fi
3893
3894 if test "$wxUSE_PROTOCOL" = yes; then
3895 echo "$as_me:$LINENO: result: yes" >&5
3896 echo "${ECHO_T}yes" >&6
3897 else
3898 echo "$as_me:$LINENO: result: no" >&5
3899 echo "${ECHO_T}no" >&6
3900 fi
3901
3902
3903 enablestring=
3904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3905 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3906 no_cache=0
3907 # Check whether --enable-ftp or --disable-ftp was given.
3908 if test "${enable_ftp+set}" = set; then
3909 enableval="$enable_ftp"
3910
3911 if test "$enableval" = yes; then
3912 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3913 else
3914 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3915 fi
3916
3917 else
3918
3919 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3920 if test "x$LINE" != x ; then
3921 eval "DEFAULT_$LINE"
3922 else
3923 no_cache=1
3924 fi
3925
3926 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3927
3928 fi;
3929
3930 eval "$ac_cv_use_ftp"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3933 fi
3934
3935 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3936 echo "$as_me:$LINENO: result: yes" >&5
3937 echo "${ECHO_T}yes" >&6
3938 else
3939 echo "$as_me:$LINENO: result: no" >&5
3940 echo "${ECHO_T}no" >&6
3941 fi
3942
3943
3944 enablestring=
3945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3946 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3947 no_cache=0
3948 # Check whether --enable-http or --disable-http was given.
3949 if test "${enable_http+set}" = set; then
3950 enableval="$enable_http"
3951
3952 if test "$enableval" = yes; then
3953 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3954 else
3955 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3956 fi
3957
3958 else
3959
3960 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3961 if test "x$LINE" != x ; then
3962 eval "DEFAULT_$LINE"
3963 else
3964 no_cache=1
3965 fi
3966
3967 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3968
3969 fi;
3970
3971 eval "$ac_cv_use_http"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3974 fi
3975
3976 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3977 echo "$as_me:$LINENO: result: yes" >&5
3978 echo "${ECHO_T}yes" >&6
3979 else
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3982 fi
3983
3984
3985 enablestring=
3986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3987 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3988 no_cache=0
3989 # Check whether --enable-fileproto or --disable-fileproto was given.
3990 if test "${enable_fileproto+set}" = set; then
3991 enableval="$enable_fileproto"
3992
3993 if test "$enableval" = yes; then
3994 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3995 else
3996 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
3997 fi
3998
3999 else
4000
4001 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x ; then
4003 eval "DEFAULT_$LINE"
4004 else
4005 no_cache=1
4006 fi
4007
4008 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4009
4010 fi;
4011
4012 eval "$ac_cv_use_fileproto"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4018 echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6
4020 else
4021 echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6
4023 fi
4024
4025
4026 enablestring=
4027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4028 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4029 no_cache=0
4030 # Check whether --enable-sockets or --disable-sockets was given.
4031 if test "${enable_sockets+set}" = set; then
4032 enableval="$enable_sockets"
4033
4034 if test "$enableval" = yes; then
4035 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4036 else
4037 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4050
4051 fi;
4052
4053 eval "$ac_cv_use_sockets"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4056 fi
4057
4058 if test "$wxUSE_SOCKETS" = yes; then
4059 echo "$as_me:$LINENO: result: yes" >&5
4060 echo "${ECHO_T}yes" >&6
4061 else
4062 echo "$as_me:$LINENO: result: no" >&5
4063 echo "${ECHO_T}no" >&6
4064 fi
4065
4066
4067 enablestring=
4068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4069 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4070 no_cache=0
4071 # Check whether --enable-ole or --disable-ole was given.
4072 if test "${enable_ole+set}" = set; then
4073 enableval="$enable_ole"
4074
4075 if test "$enableval" = yes; then
4076 ac_cv_use_ole='wxUSE_OLE=yes'
4077 else
4078 ac_cv_use_ole='wxUSE_OLE=no'
4079 fi
4080
4081 else
4082
4083 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x ; then
4085 eval "DEFAULT_$LINE"
4086 else
4087 no_cache=1
4088 fi
4089
4090 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4091
4092 fi;
4093
4094 eval "$ac_cv_use_ole"
4095 if test "$no_cache" != 1; then
4096 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4097 fi
4098
4099 if test "$wxUSE_OLE" = yes; then
4100 echo "$as_me:$LINENO: result: yes" >&5
4101 echo "${ECHO_T}yes" >&6
4102 else
4103 echo "$as_me:$LINENO: result: no" >&5
4104 echo "${ECHO_T}no" >&6
4105 fi
4106
4107
4108 enablestring=
4109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4110 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4111 no_cache=0
4112 # Check whether --enable-dataobj or --disable-dataobj was given.
4113 if test "${enable_dataobj+set}" = set; then
4114 enableval="$enable_dataobj"
4115
4116 if test "$enableval" = yes; then
4117 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4118 else
4119 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4120 fi
4121
4122 else
4123
4124 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x ; then
4126 eval "DEFAULT_$LINE"
4127 else
4128 no_cache=1
4129 fi
4130
4131 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4132
4133 fi;
4134
4135 eval "$ac_cv_use_dataobj"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4138 fi
4139
4140 if test "$wxUSE_DATAOBJ" = yes; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4143 else
4144 echo "$as_me:$LINENO: result: no" >&5
4145 echo "${ECHO_T}no" >&6
4146 fi
4147
4148
4149
4150 enablestring=
4151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4152 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4153 no_cache=0
4154 # Check whether --enable-ipc or --disable-ipc was given.
4155 if test "${enable_ipc+set}" = set; then
4156 enableval="$enable_ipc"
4157
4158 if test "$enableval" = yes; then
4159 ac_cv_use_ipc='wxUSE_IPC=yes'
4160 else
4161 ac_cv_use_ipc='wxUSE_IPC=no'
4162 fi
4163
4164 else
4165
4166 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x ; then
4168 eval "DEFAULT_$LINE"
4169 else
4170 no_cache=1
4171 fi
4172
4173 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4174
4175 fi;
4176
4177 eval "$ac_cv_use_ipc"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4180 fi
4181
4182 if test "$wxUSE_IPC" = yes; then
4183 echo "$as_me:$LINENO: result: yes" >&5
4184 echo "${ECHO_T}yes" >&6
4185 else
4186 echo "$as_me:$LINENO: result: no" >&5
4187 echo "${ECHO_T}no" >&6
4188 fi
4189
4190
4191
4192 enablestring=
4193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4194 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4195 no_cache=0
4196 # Check whether --enable-cmdline or --disable-cmdline was given.
4197 if test "${enable_cmdline+set}" = set; then
4198 enableval="$enable_cmdline"
4199
4200 if test "$enableval" = yes; then
4201 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4202 else
4203 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4204 fi
4205
4206 else
4207
4208 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x ; then
4210 eval "DEFAULT_$LINE"
4211 else
4212 no_cache=1
4213 fi
4214
4215 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4216
4217 fi;
4218
4219 eval "$ac_cv_use_cmdline"
4220 if test "$no_cache" != 1; then
4221 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4222 fi
4223
4224 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4225 echo "$as_me:$LINENO: result: yes" >&5
4226 echo "${ECHO_T}yes" >&6
4227 else
4228 echo "$as_me:$LINENO: result: no" >&5
4229 echo "${ECHO_T}no" >&6
4230 fi
4231
4232
4233 enablestring=
4234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4235 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4236 no_cache=0
4237 # Check whether --enable-datetime or --disable-datetime was given.
4238 if test "${enable_datetime+set}" = set; then
4239 enableval="$enable_datetime"
4240
4241 if test "$enableval" = yes; then
4242 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4243 else
4244 ac_cv_use_datetime='wxUSE_DATETIME=no'
4245 fi
4246
4247 else
4248
4249 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4250 if test "x$LINE" != x ; then
4251 eval "DEFAULT_$LINE"
4252 else
4253 no_cache=1
4254 fi
4255
4256 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4257
4258 fi;
4259
4260 eval "$ac_cv_use_datetime"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4263 fi
4264
4265 if test "$wxUSE_DATETIME" = yes; then
4266 echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6
4268 else
4269 echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6
4271 fi
4272
4273
4274 enablestring=
4275 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4276 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4277 no_cache=0
4278 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4279 if test "${enable_stopwatch+set}" = set; then
4280 enableval="$enable_stopwatch"
4281
4282 if test "$enableval" = yes; then
4283 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4284 else
4285 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4286 fi
4287
4288 else
4289
4290 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4291 if test "x$LINE" != x ; then
4292 eval "DEFAULT_$LINE"
4293 else
4294 no_cache=1
4295 fi
4296
4297 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4298
4299 fi;
4300
4301 eval "$ac_cv_use_stopwatch"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4304 fi
4305
4306 if test "$wxUSE_STOPWATCH" = yes; then
4307 echo "$as_me:$LINENO: result: yes" >&5
4308 echo "${ECHO_T}yes" >&6
4309 else
4310 echo "$as_me:$LINENO: result: no" >&5
4311 echo "${ECHO_T}no" >&6
4312 fi
4313
4314
4315 enablestring=
4316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4317 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4318 no_cache=0
4319 # Check whether --enable-dialupman or --disable-dialupman was given.
4320 if test "${enable_dialupman+set}" = set; then
4321 enableval="$enable_dialupman"
4322
4323 if test "$enableval" = yes; then
4324 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4325 else
4326 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4327 fi
4328
4329 else
4330
4331 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4332 if test "x$LINE" != x ; then
4333 eval "DEFAULT_$LINE"
4334 else
4335 no_cache=1
4336 fi
4337
4338 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4339
4340 fi;
4341
4342 eval "$ac_cv_use_dialupman"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4345 fi
4346
4347 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4348 echo "$as_me:$LINENO: result: yes" >&5
4349 echo "${ECHO_T}yes" >&6
4350 else
4351 echo "$as_me:$LINENO: result: no" >&5
4352 echo "${ECHO_T}no" >&6
4353 fi
4354
4355
4356 enablestring=
4357 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4358 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4359 no_cache=0
4360 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4361 if test "${enable_apple_ieee+set}" = set; then
4362 enableval="$enable_apple_ieee"
4363
4364 if test "$enableval" = yes; then
4365 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4366 else
4367 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4368 fi
4369
4370 else
4371
4372 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4380
4381 fi;
4382
4383 eval "$ac_cv_use_apple_ieee"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4386 fi
4387
4388 if test "$wxUSE_APPLE_IEEE" = yes; then
4389 echo "$as_me:$LINENO: result: yes" >&5
4390 echo "${ECHO_T}yes" >&6
4391 else
4392 echo "$as_me:$LINENO: result: no" >&5
4393 echo "${ECHO_T}no" >&6
4394 fi
4395
4396
4397 enablestring=
4398 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4399 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4400 no_cache=0
4401 # Check whether --enable-timer or --disable-timer was given.
4402 if test "${enable_timer+set}" = set; then
4403 enableval="$enable_timer"
4404
4405 if test "$enableval" = yes; then
4406 ac_cv_use_timer='wxUSE_TIMER=yes'
4407 else
4408 ac_cv_use_timer='wxUSE_TIMER=no'
4409 fi
4410
4411 else
4412
4413 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x ; then
4415 eval "DEFAULT_$LINE"
4416 else
4417 no_cache=1
4418 fi
4419
4420 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4421
4422 fi;
4423
4424 eval "$ac_cv_use_timer"
4425 if test "$no_cache" != 1; then
4426 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4427 fi
4428
4429 if test "$wxUSE_TIMER" = yes; then
4430 echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6
4432 else
4433 echo "$as_me:$LINENO: result: no" >&5
4434 echo "${ECHO_T}no" >&6
4435 fi
4436
4437
4438 enablestring=
4439 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4440 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4441 no_cache=0
4442 # Check whether --enable-wave or --disable-wave was given.
4443 if test "${enable_wave+set}" = set; then
4444 enableval="$enable_wave"
4445
4446 if test "$enableval" = yes; then
4447 ac_cv_use_wave='wxUSE_WAVE=yes'
4448 else
4449 ac_cv_use_wave='wxUSE_WAVE=no'
4450 fi
4451
4452 else
4453
4454 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4455 if test "x$LINE" != x ; then
4456 eval "DEFAULT_$LINE"
4457 else
4458 no_cache=1
4459 fi
4460
4461 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4462
4463 fi;
4464
4465 eval "$ac_cv_use_wave"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4468 fi
4469
4470 if test "$wxUSE_WAVE" = yes; then
4471 echo "$as_me:$LINENO: result: yes" >&5
4472 echo "${ECHO_T}yes" >&6
4473 else
4474 echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6
4476 fi
4477
4478
4479 enablestring=
4480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4481 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4482 no_cache=0
4483 # Check whether --enable-fraction or --disable-fraction was given.
4484 if test "${enable_fraction+set}" = set; then
4485 enableval="$enable_fraction"
4486
4487 if test "$enableval" = yes; then
4488 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4489 else
4490 ac_cv_use_fraction='wxUSE_FRACTION=no'
4491 fi
4492
4493 else
4494
4495 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x ; then
4497 eval "DEFAULT_$LINE"
4498 else
4499 no_cache=1
4500 fi
4501
4502 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4503
4504 fi;
4505
4506 eval "$ac_cv_use_fraction"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4509 fi
4510
4511 if test "$wxUSE_FRACTION" = yes; then
4512 echo "$as_me:$LINENO: result: yes" >&5
4513 echo "${ECHO_T}yes" >&6
4514 else
4515 echo "$as_me:$LINENO: result: no" >&5
4516 echo "${ECHO_T}no" >&6
4517 fi
4518
4519
4520 enablestring=
4521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4523 no_cache=0
4524 # Check whether --enable-dynlib or --disable-dynlib was given.
4525 if test "${enable_dynlib+set}" = set; then
4526 enableval="$enable_dynlib"
4527
4528 if test "$enableval" = yes; then
4529 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4530 else
4531 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4532 fi
4533
4534 else
4535
4536 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x ; then
4538 eval "DEFAULT_$LINE"
4539 else
4540 no_cache=1
4541 fi
4542
4543 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4544
4545 fi;
4546
4547 eval "$ac_cv_use_dynlib"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4550 fi
4551
4552 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4553 echo "$as_me:$LINENO: result: yes" >&5
4554 echo "${ECHO_T}yes" >&6
4555 else
4556 echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6
4558 fi
4559
4560
4561 enablestring=
4562 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4563 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4564 no_cache=0
4565 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4566 if test "${enable_dynamicloader+set}" = set; then
4567 enableval="$enable_dynamicloader"
4568
4569 if test "$enableval" = yes; then
4570 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4571 else
4572 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4573 fi
4574
4575 else
4576
4577 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x ; then
4579 eval "DEFAULT_$LINE"
4580 else
4581 no_cache=1
4582 fi
4583
4584 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4585
4586 fi;
4587
4588 eval "$ac_cv_use_dynamicloader"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4591 fi
4592
4593 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4594 echo "$as_me:$LINENO: result: yes" >&5
4595 echo "${ECHO_T}yes" >&6
4596 else
4597 echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6
4599 fi
4600
4601
4602 enablestring=
4603 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4605 no_cache=0
4606 # Check whether --enable-longlong or --disable-longlong was given.
4607 if test "${enable_longlong+set}" = set; then
4608 enableval="$enable_longlong"
4609
4610 if test "$enableval" = yes; then
4611 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4612 else
4613 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4614 fi
4615
4616 else
4617
4618 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x ; then
4620 eval "DEFAULT_$LINE"
4621 else
4622 no_cache=1
4623 fi
4624
4625 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4626
4627 fi;
4628
4629 eval "$ac_cv_use_longlong"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4632 fi
4633
4634 if test "$wxUSE_LONGLONG" = yes; then
4635 echo "$as_me:$LINENO: result: yes" >&5
4636 echo "${ECHO_T}yes" >&6
4637 else
4638 echo "$as_me:$LINENO: result: no" >&5
4639 echo "${ECHO_T}no" >&6
4640 fi
4641
4642
4643 enablestring=
4644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4645 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4646 no_cache=0
4647 # Check whether --enable-geometry or --disable-geometry was given.
4648 if test "${enable_geometry+set}" = set; then
4649 enableval="$enable_geometry"
4650
4651 if test "$enableval" = yes; then
4652 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4653 else
4654 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4655 fi
4656
4657 else
4658
4659 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4660 if test "x$LINE" != x ; then
4661 eval "DEFAULT_$LINE"
4662 else
4663 no_cache=1
4664 fi
4665
4666 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4667
4668 fi;
4669
4670 eval "$ac_cv_use_geometry"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4673 fi
4674
4675 if test "$wxUSE_GEOMETRY" = yes; then
4676 echo "$as_me:$LINENO: result: yes" >&5
4677 echo "${ECHO_T}yes" >&6
4678 else
4679 echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6
4681 fi
4682
4683
4684 enablestring=
4685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4686 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4687 no_cache=0
4688 # Check whether --enable-log or --disable-log was given.
4689 if test "${enable_log+set}" = set; then
4690 enableval="$enable_log"
4691
4692 if test "$enableval" = yes; then
4693 ac_cv_use_log='wxUSE_LOG=yes'
4694 else
4695 ac_cv_use_log='wxUSE_LOG=no'
4696 fi
4697
4698 else
4699
4700 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x ; then
4702 eval "DEFAULT_$LINE"
4703 else
4704 no_cache=1
4705 fi
4706
4707 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4708
4709 fi;
4710
4711 eval "$ac_cv_use_log"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4714 fi
4715
4716 if test "$wxUSE_LOG" = yes; then
4717 echo "$as_me:$LINENO: result: yes" >&5
4718 echo "${ECHO_T}yes" >&6
4719 else
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4722 fi
4723
4724
4725 enablestring=
4726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4727 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4728 no_cache=0
4729 # Check whether --enable-streams or --disable-streams was given.
4730 if test "${enable_streams+set}" = set; then
4731 enableval="$enable_streams"
4732
4733 if test "$enableval" = yes; then
4734 ac_cv_use_streams='wxUSE_STREAMS=yes'
4735 else
4736 ac_cv_use_streams='wxUSE_STREAMS=no'
4737 fi
4738
4739 else
4740
4741 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x ; then
4743 eval "DEFAULT_$LINE"
4744 else
4745 no_cache=1
4746 fi
4747
4748 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4749
4750 fi;
4751
4752 eval "$ac_cv_use_streams"
4753 if test "$no_cache" != 1; then
4754 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4755 fi
4756
4757 if test "$wxUSE_STREAMS" = yes; then
4758 echo "$as_me:$LINENO: result: yes" >&5
4759 echo "${ECHO_T}yes" >&6
4760 else
4761 echo "$as_me:$LINENO: result: no" >&5
4762 echo "${ECHO_T}no" >&6
4763 fi
4764
4765
4766 enablestring=
4767 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4768 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4769 no_cache=0
4770 # Check whether --enable-file or --disable-file was given.
4771 if test "${enable_file+set}" = set; then
4772 enableval="$enable_file"
4773
4774 if test "$enableval" = yes; then
4775 ac_cv_use_file='wxUSE_FILE=yes'
4776 else
4777 ac_cv_use_file='wxUSE_FILE=no'
4778 fi
4779
4780 else
4781
4782 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x ; then
4784 eval "DEFAULT_$LINE"
4785 else
4786 no_cache=1
4787 fi
4788
4789 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4790
4791 fi;
4792
4793 eval "$ac_cv_use_file"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4796 fi
4797
4798 if test "$wxUSE_FILE" = yes; then
4799 echo "$as_me:$LINENO: result: yes" >&5
4800 echo "${ECHO_T}yes" >&6
4801 else
4802 echo "$as_me:$LINENO: result: no" >&5
4803 echo "${ECHO_T}no" >&6
4804 fi
4805
4806
4807 enablestring=
4808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4809 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4810 no_cache=0
4811 # Check whether --enable-ffile or --disable-ffile was given.
4812 if test "${enable_ffile+set}" = set; then
4813 enableval="$enable_ffile"
4814
4815 if test "$enableval" = yes; then
4816 ac_cv_use_ffile='wxUSE_FFILE=yes'
4817 else
4818 ac_cv_use_ffile='wxUSE_FFILE=no'
4819 fi
4820
4821 else
4822
4823 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x ; then
4825 eval "DEFAULT_$LINE"
4826 else
4827 no_cache=1
4828 fi
4829
4830 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4831
4832 fi;
4833
4834 eval "$ac_cv_use_ffile"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4837 fi
4838
4839 if test "$wxUSE_FFILE" = yes; then
4840 echo "$as_me:$LINENO: result: yes" >&5
4841 echo "${ECHO_T}yes" >&6
4842 else
4843 echo "$as_me:$LINENO: result: no" >&5
4844 echo "${ECHO_T}no" >&6
4845 fi
4846
4847
4848 enablestring=
4849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4850 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4851 no_cache=0
4852 # Check whether --enable-textbuf or --disable-textbuf was given.
4853 if test "${enable_textbuf+set}" = set; then
4854 enableval="$enable_textbuf"
4855
4856 if test "$enableval" = yes; then
4857 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4858 else
4859 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4860 fi
4861
4862 else
4863
4864 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x ; then
4866 eval "DEFAULT_$LINE"
4867 else
4868 no_cache=1
4869 fi
4870
4871 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4872
4873 fi;
4874
4875 eval "$ac_cv_use_textbuf"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4878 fi
4879
4880 if test "$wxUSE_TEXTBUFFER" = yes; then
4881 echo "$as_me:$LINENO: result: yes" >&5
4882 echo "${ECHO_T}yes" >&6
4883 else
4884 echo "$as_me:$LINENO: result: no" >&5
4885 echo "${ECHO_T}no" >&6
4886 fi
4887
4888
4889 enablestring=
4890 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4891 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4892 no_cache=0
4893 # Check whether --enable-textfile or --disable-textfile was given.
4894 if test "${enable_textfile+set}" = set; then
4895 enableval="$enable_textfile"
4896
4897 if test "$enableval" = yes; then
4898 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4899 else
4900 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4901 fi
4902
4903 else
4904
4905 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x ; then
4907 eval "DEFAULT_$LINE"
4908 else
4909 no_cache=1
4910 fi
4911
4912 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4913
4914 fi;
4915
4916 eval "$ac_cv_use_textfile"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4919 fi
4920
4921 if test "$wxUSE_TEXTFILE" = yes; then
4922 echo "$as_me:$LINENO: result: yes" >&5
4923 echo "${ECHO_T}yes" >&6
4924 else
4925 echo "$as_me:$LINENO: result: no" >&5
4926 echo "${ECHO_T}no" >&6
4927 fi
4928
4929
4930 enablestring=
4931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4932 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4933 no_cache=0
4934 # Check whether --enable-fontmap or --disable-fontmap was given.
4935 if test "${enable_fontmap+set}" = set; then
4936 enableval="$enable_fontmap"
4937
4938 if test "$enableval" = yes; then
4939 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4940 else
4941 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4942 fi
4943
4944 else
4945
4946 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x ; then
4948 eval "DEFAULT_$LINE"
4949 else
4950 no_cache=1
4951 fi
4952
4953 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4954
4955 fi;
4956
4957 eval "$ac_cv_use_fontmap"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4960 fi
4961
4962 if test "$wxUSE_FONTMAP" = yes; then
4963 echo "$as_me:$LINENO: result: yes" >&5
4964 echo "${ECHO_T}yes" >&6
4965 else
4966 echo "$as_me:$LINENO: result: no" >&5
4967 echo "${ECHO_T}no" >&6
4968 fi
4969
4970
4971 enablestring=
4972 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4973 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4974 no_cache=0
4975 # Check whether --enable-unicode or --disable-unicode was given.
4976 if test "${enable_unicode+set}" = set; then
4977 enableval="$enable_unicode"
4978
4979 if test "$enableval" = yes; then
4980 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4981 else
4982 ac_cv_use_unicode='wxUSE_UNICODE=no'
4983 fi
4984
4985 else
4986
4987 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x ; then
4989 eval "DEFAULT_$LINE"
4990 else
4991 no_cache=1
4992 fi
4993
4994 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4995
4996 fi;
4997
4998 eval "$ac_cv_use_unicode"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5001 fi
5002
5003 if test "$wxUSE_UNICODE" = yes; then
5004 echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6
5006 else
5007 echo "$as_me:$LINENO: result: no" >&5
5008 echo "${ECHO_T}no" >&6
5009 fi
5010
5011
5012 enablestring=
5013 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5014 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5015 no_cache=0
5016 # Check whether --enable-mslu or --disable-mslu was given.
5017 if test "${enable_mslu+set}" = set; then
5018 enableval="$enable_mslu"
5019
5020 if test "$enableval" = yes; then
5021 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5022 else
5023 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5024 fi
5025
5026 else
5027
5028 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x ; then
5030 eval "DEFAULT_$LINE"
5031 else
5032 no_cache=1
5033 fi
5034
5035 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5036
5037 fi;
5038
5039 eval "$ac_cv_use_mslu"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5042 fi
5043
5044 if test "$wxUSE_UNICODE_MSLU" = yes; then
5045 echo "$as_me:$LINENO: result: yes" >&5
5046 echo "${ECHO_T}yes" >&6
5047 else
5048 echo "$as_me:$LINENO: result: no" >&5
5049 echo "${ECHO_T}no" >&6
5050 fi
5051
5052
5053 enablestring=
5054 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5055 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5056 no_cache=0
5057 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5058 if test "${enable_wxprintfv+set}" = set; then
5059 enableval="$enable_wxprintfv"
5060
5061 if test "$enableval" = yes; then
5062 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5063 else
5064 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5065 fi
5066
5067 else
5068
5069 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x ; then
5071 eval "DEFAULT_$LINE"
5072 else
5073 no_cache=1
5074 fi
5075
5076 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5077
5078 fi;
5079
5080 eval "$ac_cv_use_wxprintfv"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5083 fi
5084
5085 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5086 echo "$as_me:$LINENO: result: yes" >&5
5087 echo "${ECHO_T}yes" >&6
5088 else
5089 echo "$as_me:$LINENO: result: no" >&5
5090 echo "${ECHO_T}no" >&6
5091 fi
5092
5093
5094 enablestring=
5095 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5096 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5097 no_cache=0
5098 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5099 if test "${enable_std_iostreams+set}" = set; then
5100 enableval="$enable_std_iostreams"
5101
5102 if test "$enableval" = yes; then
5103 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5104 else
5105 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5106 fi
5107
5108 else
5109
5110 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5111 if test "x$LINE" != x ; then
5112 eval "DEFAULT_$LINE"
5113 else
5114 no_cache=1
5115 fi
5116
5117 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5118
5119 fi;
5120
5121 eval "$ac_cv_use_std_iostreams"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5124 fi
5125
5126 if test "$wxUSE_STD_IOSTREAM" = yes; then
5127 echo "$as_me:$LINENO: result: yes" >&5
5128 echo "${ECHO_T}yes" >&6
5129 else
5130 echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6
5132 fi
5133
5134
5135 enablestring=
5136 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5137 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5138 no_cache=0
5139 # Check whether --enable-filesystem or --disable-filesystem was given.
5140 if test "${enable_filesystem+set}" = set; then
5141 enableval="$enable_filesystem"
5142
5143 if test "$enableval" = yes; then
5144 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5145 else
5146 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5147 fi
5148
5149 else
5150
5151 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x ; then
5153 eval "DEFAULT_$LINE"
5154 else
5155 no_cache=1
5156 fi
5157
5158 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5159
5160 fi;
5161
5162 eval "$ac_cv_use_filesystem"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5165 fi
5166
5167 if test "$wxUSE_FILESYSTEM" = yes; then
5168 echo "$as_me:$LINENO: result: yes" >&5
5169 echo "${ECHO_T}yes" >&6
5170 else
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5173 fi
5174
5175
5176 enablestring=
5177 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5179 no_cache=0
5180 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5181 if test "${enable_fs_inet+set}" = set; then
5182 enableval="$enable_fs_inet"
5183
5184 if test "$enableval" = yes; then
5185 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5186 else
5187 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5188 fi
5189
5190 else
5191
5192 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 else
5196 no_cache=1
5197 fi
5198
5199 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5200
5201 fi;
5202
5203 eval "$ac_cv_use_fs_inet"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5206 fi
5207
5208 if test "$wxUSE_FS_INET" = yes; then
5209 echo "$as_me:$LINENO: result: yes" >&5
5210 echo "${ECHO_T}yes" >&6
5211 else
5212 echo "$as_me:$LINENO: result: no" >&5
5213 echo "${ECHO_T}no" >&6
5214 fi
5215
5216
5217 enablestring=
5218 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5219 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5220 no_cache=0
5221 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5222 if test "${enable_fs_zip+set}" = set; then
5223 enableval="$enable_fs_zip"
5224
5225 if test "$enableval" = yes; then
5226 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5227 else
5228 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5229 fi
5230
5231 else
5232
5233 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5241
5242 fi;
5243
5244 eval "$ac_cv_use_fs_zip"
5245 if test "$no_cache" != 1; then
5246 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5247 fi
5248
5249 if test "$wxUSE_FS_ZIP" = yes; then
5250 echo "$as_me:$LINENO: result: yes" >&5
5251 echo "${ECHO_T}yes" >&6
5252 else
5253 echo "$as_me:$LINENO: result: no" >&5
5254 echo "${ECHO_T}no" >&6
5255 fi
5256
5257
5258 enablestring=
5259 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5260 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5261 no_cache=0
5262 # Check whether --enable-zipstream or --disable-zipstream was given.
5263 if test "${enable_zipstream+set}" = set; then
5264 enableval="$enable_zipstream"
5265
5266 if test "$enableval" = yes; then
5267 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5268 else
5269 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5270 fi
5271
5272 else
5273
5274 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5282
5283 fi;
5284
5285 eval "$ac_cv_use_zipstream"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5288 fi
5289
5290 if test "$wxUSE_ZIPSTREAM" = yes; then
5291 echo "$as_me:$LINENO: result: yes" >&5
5292 echo "${ECHO_T}yes" >&6
5293 else
5294 echo "$as_me:$LINENO: result: no" >&5
5295 echo "${ECHO_T}no" >&6
5296 fi
5297
5298
5299
5300 enablestring=
5301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5302 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5303 no_cache=0
5304 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5305 if test "${enable_catch_segvs+set}" = set; then
5306 enableval="$enable_catch_segvs"
5307
5308 if test "$enableval" = yes; then
5309 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5310 else
5311 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5312 fi
5313
5314 else
5315
5316 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5324
5325 fi;
5326
5327 eval "$ac_cv_use_catch_segvs"
5328 if test "$no_cache" != 1; then
5329 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5330 fi
5331
5332 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5333 echo "$as_me:$LINENO: result: yes" >&5
5334 echo "${ECHO_T}yes" >&6
5335 else
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5338 fi
5339
5340
5341 enablestring=
5342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5344 no_cache=0
5345 # Check whether --enable-snglinst or --disable-snglinst was given.
5346 if test "${enable_snglinst+set}" = set; then
5347 enableval="$enable_snglinst"
5348
5349 if test "$enableval" = yes; then
5350 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5351 else
5352 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5353 fi
5354
5355 else
5356
5357 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5365
5366 fi;
5367
5368 eval "$ac_cv_use_snglinst"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5374 echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5379 fi
5380
5381
5382
5383 enablestring=
5384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5386 no_cache=0
5387 # Check whether --enable-mimetype or --disable-mimetype was given.
5388 if test "${enable_mimetype+set}" = set; then
5389 enableval="$enable_mimetype"
5390
5391 if test "$enableval" = yes; then
5392 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5393 else
5394 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5395 fi
5396
5397 else
5398
5399 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5400 if test "x$LINE" != x ; then
5401 eval "DEFAULT_$LINE"
5402 else
5403 no_cache=1
5404 fi
5405
5406 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5407
5408 fi;
5409
5410 eval "$ac_cv_use_mimetype"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5413 fi
5414
5415 if test "$wxUSE_MIMETYPE" = yes; then
5416 echo "$as_me:$LINENO: result: yes" >&5
5417 echo "${ECHO_T}yes" >&6
5418 else
5419 echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6
5421 fi
5422
5423
5424 enablestring=
5425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5426 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5427 no_cache=0
5428 # Check whether --enable-system_options or --disable-system_options was given.
5429 if test "${enable_system_options+set}" = set; then
5430 enableval="$enable_system_options"
5431
5432 if test "$enableval" = yes; then
5433 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5434 else
5435 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5436 fi
5437
5438 else
5439
5440 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5443 else
5444 no_cache=1
5445 fi
5446
5447 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5448
5449 fi;
5450
5451 eval "$ac_cv_use_system_options"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5454 fi
5455
5456 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5457 echo "$as_me:$LINENO: result: yes" >&5
5458 echo "${ECHO_T}yes" >&6
5459 else
5460 echo "$as_me:$LINENO: result: no" >&5
5461 echo "${ECHO_T}no" >&6
5462 fi
5463
5464
5465
5466 enablestring=
5467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5469 no_cache=0
5470 # Check whether --enable-url or --disable-url was given.
5471 if test "${enable_url+set}" = set; then
5472 enableval="$enable_url"
5473
5474 if test "$enableval" = yes; then
5475 ac_cv_use_url='wxUSE_URL=yes'
5476 else
5477 ac_cv_use_url='wxUSE_URL=no'
5478 fi
5479
5480 else
5481
5482 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x ; then
5484 eval "DEFAULT_$LINE"
5485 else
5486 no_cache=1
5487 fi
5488
5489 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5490
5491 fi;
5492
5493 eval "$ac_cv_use_url"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5496 fi
5497
5498 if test "$wxUSE_URL" = yes; then
5499 echo "$as_me:$LINENO: result: yes" >&5
5500 echo "${ECHO_T}yes" >&6
5501 else
5502 echo "$as_me:$LINENO: result: no" >&5
5503 echo "${ECHO_T}no" >&6
5504 fi
5505
5506
5507 enablestring=
5508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5509 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5510 no_cache=0
5511 # Check whether --enable-protocol or --disable-protocol was given.
5512 if test "${enable_protocol+set}" = set; then
5513 enableval="$enable_protocol"
5514
5515 if test "$enableval" = yes; then
5516 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5517 else
5518 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5519 fi
5520
5521 else
5522
5523 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5524 if test "x$LINE" != x ; then
5525 eval "DEFAULT_$LINE"
5526 else
5527 no_cache=1
5528 fi
5529
5530 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5531
5532 fi;
5533
5534 eval "$ac_cv_use_protocol"
5535 if test "$no_cache" != 1; then
5536 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5537 fi
5538
5539 if test "$wxUSE_PROTOCOL" = yes; then
5540 echo "$as_me:$LINENO: result: yes" >&5
5541 echo "${ECHO_T}yes" >&6
5542 else
5543 echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6
5545 fi
5546
5547
5548 enablestring=
5549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5550 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5551 no_cache=0
5552 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5553 if test "${enable_protocol_http+set}" = set; then
5554 enableval="$enable_protocol_http"
5555
5556 if test "$enableval" = yes; then
5557 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5558 else
5559 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5560 fi
5561
5562 else
5563
5564 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5565 if test "x$LINE" != x ; then
5566 eval "DEFAULT_$LINE"
5567 else
5568 no_cache=1
5569 fi
5570
5571 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5572
5573 fi;
5574
5575 eval "$ac_cv_use_protocol_http"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5578 fi
5579
5580 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5581 echo "$as_me:$LINENO: result: yes" >&5
5582 echo "${ECHO_T}yes" >&6
5583 else
5584 echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6
5586 fi
5587
5588
5589 enablestring=
5590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5592 no_cache=0
5593 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5594 if test "${enable_protocol_ftp+set}" = set; then
5595 enableval="$enable_protocol_ftp"
5596
5597 if test "$enableval" = yes; then
5598 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5599 else
5600 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5601 fi
5602
5603 else
5604
5605 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x ; then
5607 eval "DEFAULT_$LINE"
5608 else
5609 no_cache=1
5610 fi
5611
5612 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5613
5614 fi;
5615
5616 eval "$ac_cv_use_protocol_ftp"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5619 fi
5620
5621 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5622 echo "$as_me:$LINENO: result: yes" >&5
5623 echo "${ECHO_T}yes" >&6
5624 else
5625 echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6
5627 fi
5628
5629
5630 enablestring=
5631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5633 no_cache=0
5634 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5635 if test "${enable_protocol_file+set}" = set; then
5636 enableval="$enable_protocol_file"
5637
5638 if test "$enableval" = yes; then
5639 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5640 else
5641 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5642 fi
5643
5644 else
5645
5646 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x ; then
5648 eval "DEFAULT_$LINE"
5649 else
5650 no_cache=1
5651 fi
5652
5653 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5654
5655 fi;
5656
5657 eval "$ac_cv_use_protocol_file"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5660 fi
5661
5662 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5663 echo "$as_me:$LINENO: result: yes" >&5
5664 echo "${ECHO_T}yes" >&6
5665 else
5666 echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6
5668 fi
5669
5670
5671
5672
5673
5674 enablestring=
5675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5677 no_cache=0
5678 # Check whether --enable-threads or --disable-threads was given.
5679 if test "${enable_threads+set}" = set; then
5680 enableval="$enable_threads"
5681
5682 if test "$enableval" = yes; then
5683 ac_cv_use_threads='wxUSE_THREADS=yes'
5684 else
5685 ac_cv_use_threads='wxUSE_THREADS=no'
5686 fi
5687
5688 else
5689
5690 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x ; then
5692 eval "DEFAULT_$LINE"
5693 else
5694 no_cache=1
5695 fi
5696
5697 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5698
5699 fi;
5700
5701 eval "$ac_cv_use_threads"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_THREADS" = yes; then
5707 echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6
5709 else
5710 echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6
5712 fi
5713
5714
5715 if test "$wxUSE_GUI" = "yes"; then
5716
5717
5718
5719 enablestring=
5720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5722 no_cache=0
5723 # Check whether --enable-docview or --disable-docview was given.
5724 if test "${enable_docview+set}" = set; then
5725 enableval="$enable_docview"
5726
5727 if test "$enableval" = yes; then
5728 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5729 else
5730 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5731 fi
5732
5733 else
5734
5735 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x ; then
5737 eval "DEFAULT_$LINE"
5738 else
5739 no_cache=1
5740 fi
5741
5742 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5743
5744 fi;
5745
5746 eval "$ac_cv_use_docview"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5749 fi
5750
5751 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5752 echo "$as_me:$LINENO: result: yes" >&5
5753 echo "${ECHO_T}yes" >&6
5754 else
5755 echo "$as_me:$LINENO: result: no" >&5
5756 echo "${ECHO_T}no" >&6
5757 fi
5758
5759
5760 enablestring=
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5763 no_cache=0
5764 # Check whether --enable-help or --disable-help was given.
5765 if test "${enable_help+set}" = set; then
5766 enableval="$enable_help"
5767
5768 if test "$enableval" = yes; then
5769 ac_cv_use_help='wxUSE_HELP=yes'
5770 else
5771 ac_cv_use_help='wxUSE_HELP=no'
5772 fi
5773
5774 else
5775
5776 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5779 else
5780 no_cache=1
5781 fi
5782
5783 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5784
5785 fi;
5786
5787 eval "$ac_cv_use_help"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5790 fi
5791
5792 if test "$wxUSE_HELP" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5795 else
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5798 fi
5799
5800
5801 enablestring=
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5804 no_cache=0
5805 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5806 if test "${enable_mshtmlhelp+set}" = set; then
5807 enableval="$enable_mshtmlhelp"
5808
5809 if test "$enableval" = yes; then
5810 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5811 else
5812 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5813 fi
5814
5815 else
5816
5817 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5820 else
5821 no_cache=1
5822 fi
5823
5824 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5825
5826 fi;
5827
5828 eval "$ac_cv_use_mshtmlhelp"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5831 fi
5832
5833 if test "$wxUSE_MS_HTML_HELP" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5836 else
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5839 fi
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-html or --disable-html was given.
5847 if test "${enable_html+set}" = set; then
5848 enableval="$enable_html"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_html='wxUSE_HTML=yes'
5852 else
5853 ac_cv_use_html='wxUSE_HTML=no'
5854 fi
5855
5856 else
5857
5858 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5866
5867 fi;
5868
5869 eval "$ac_cv_use_html"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_HTML" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5888 if test "${enable_htmlhelp+set}" = set; then
5889 enableval="$enable_htmlhelp"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5893 else
5894 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5895 fi
5896
5897 else
5898
5899 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5907
5908 fi;
5909
5910 eval "$ac_cv_use_htmlhelp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_WXHTML_HELP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-constraints or --disable-constraints was given.
5929 if test "${enable_constraints+set}" = set; then
5930 enableval="$enable_constraints"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5934 else
5935 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5948
5949 fi;
5950
5951 eval "$ac_cv_use_constraints"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_CONSTRAINTS" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965 enablestring=
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-printarch or --disable-printarch was given.
5970 if test "${enable_printarch+set}" = set; then
5971 enableval="$enable_printarch"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5975 else
5976 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5977 fi
5978
5979 else
5980
5981 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5989
5990 fi;
5991
5992 eval "$ac_cv_use_printarch"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5998 echo "$as_me:$LINENO: result: yes" >&5
5999 echo "${ECHO_T}yes" >&6
6000 else
6001 echo "$as_me:$LINENO: result: no" >&5
6002 echo "${ECHO_T}no" >&6
6003 fi
6004
6005
6006 enablestring=
6007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6008 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6009 no_cache=0
6010 # Check whether --enable-mdi or --disable-mdi was given.
6011 if test "${enable_mdi+set}" = set; then
6012 enableval="$enable_mdi"
6013
6014 if test "$enableval" = yes; then
6015 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6016 else
6017 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6018 fi
6019
6020 else
6021
6022 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x ; then
6024 eval "DEFAULT_$LINE"
6025 else
6026 no_cache=1
6027 fi
6028
6029 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6030
6031 fi;
6032
6033 eval "$ac_cv_use_mdi"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6036 fi
6037
6038 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6039 echo "$as_me:$LINENO: result: yes" >&5
6040 echo "${ECHO_T}yes" >&6
6041 else
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6044 fi
6045
6046
6047 enablestring=
6048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6049 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6050 no_cache=0
6051 # Check whether --enable-loggui or --disable-loggui was given.
6052 if test "${enable_loggui+set}" = set; then
6053 enableval="$enable_loggui"
6054
6055 if test "$enableval" = yes; then
6056 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6057 else
6058 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6059 fi
6060
6061 else
6062
6063 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6064 if test "x$LINE" != x ; then
6065 eval "DEFAULT_$LINE"
6066 else
6067 no_cache=1
6068 fi
6069
6070 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6071
6072 fi;
6073
6074 eval "$ac_cv_use_loggui"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6077 fi
6078
6079 if test "$wxUSE_LOGGUI" = yes; then
6080 echo "$as_me:$LINENO: result: yes" >&5
6081 echo "${ECHO_T}yes" >&6
6082 else
6083 echo "$as_me:$LINENO: result: no" >&5
6084 echo "${ECHO_T}no" >&6
6085 fi
6086
6087
6088 enablestring=
6089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6090 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6091 no_cache=0
6092 # Check whether --enable-logwin or --disable-logwin was given.
6093 if test "${enable_logwin+set}" = set; then
6094 enableval="$enable_logwin"
6095
6096 if test "$enableval" = yes; then
6097 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6098 else
6099 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6100 fi
6101
6102 else
6103
6104 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x ; then
6106 eval "DEFAULT_$LINE"
6107 else
6108 no_cache=1
6109 fi
6110
6111 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6112
6113 fi;
6114
6115 eval "$ac_cv_use_logwin"
6116 if test "$no_cache" != 1; then
6117 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6118 fi
6119
6120 if test "$wxUSE_LOGWINDOW" = yes; then
6121 echo "$as_me:$LINENO: result: yes" >&5
6122 echo "${ECHO_T}yes" >&6
6123 else
6124 echo "$as_me:$LINENO: result: no" >&5
6125 echo "${ECHO_T}no" >&6
6126 fi
6127
6128
6129 enablestring=
6130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6132 no_cache=0
6133 # Check whether --enable-logdialog or --disable-logdialog was given.
6134 if test "${enable_logdialog+set}" = set; then
6135 enableval="$enable_logdialog"
6136
6137 if test "$enableval" = yes; then
6138 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6139 else
6140 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6141 fi
6142
6143 else
6144
6145 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6146 if test "x$LINE" != x ; then
6147 eval "DEFAULT_$LINE"
6148 else
6149 no_cache=1
6150 fi
6151
6152 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6153
6154 fi;
6155
6156 eval "$ac_cv_use_logdialog"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6159 fi
6160
6161 if test "$wxUSE_LOGDIALOG" = yes; then
6162 echo "$as_me:$LINENO: result: yes" >&5
6163 echo "${ECHO_T}yes" >&6
6164 else
6165 echo "$as_me:$LINENO: result: no" >&5
6166 echo "${ECHO_T}no" >&6
6167 fi
6168
6169
6170
6171 enablestring=
6172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6173 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6174 no_cache=0
6175 # Check whether --enable-postscript or --disable-postscript was given.
6176 if test "${enable_postscript+set}" = set; then
6177 enableval="$enable_postscript"
6178
6179 if test "$enableval" = yes; then
6180 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6181 else
6182 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6183 fi
6184
6185 else
6186
6187 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x ; then
6189 eval "DEFAULT_$LINE"
6190 else
6191 no_cache=1
6192 fi
6193
6194 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6195
6196 fi;
6197
6198 eval "$ac_cv_use_postscript"
6199 if test "$no_cache" != 1; then
6200 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6201 fi
6202
6203 if test "$wxUSE_POSTSCRIPT" = yes; then
6204 echo "$as_me:$LINENO: result: yes" >&5
6205 echo "${ECHO_T}yes" >&6
6206 else
6207 echo "$as_me:$LINENO: result: no" >&5
6208 echo "${ECHO_T}no" >&6
6209 fi
6210
6211
6212
6213
6214
6215 enablestring=
6216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6217 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6218 no_cache=0
6219 # Check whether --enable-prologio or --disable-prologio was given.
6220 if test "${enable_prologio+set}" = set; then
6221 enableval="$enable_prologio"
6222
6223 if test "$enableval" = yes; then
6224 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6225 else
6226 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6227 fi
6228
6229 else
6230
6231 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6232 if test "x$LINE" != x ; then
6233 eval "DEFAULT_$LINE"
6234 else
6235 no_cache=1
6236 fi
6237
6238 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6239
6240 fi;
6241
6242 eval "$ac_cv_use_prologio"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6245 fi
6246
6247 if test "$wxUSE_PROLOGIO" = yes; then
6248 echo "$as_me:$LINENO: result: yes" >&5
6249 echo "${ECHO_T}yes" >&6
6250 else
6251 echo "$as_me:$LINENO: result: no" >&5
6252 echo "${ECHO_T}no" >&6
6253 fi
6254
6255
6256 enablestring=
6257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6258 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6259 no_cache=0
6260 # Check whether --enable-resources or --disable-resources was given.
6261 if test "${enable_resources+set}" = set; then
6262 enableval="$enable_resources"
6263
6264 if test "$enableval" = yes; then
6265 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6266 else
6267 ac_cv_use_resources='wxUSE_RESOURCES=no'
6268 fi
6269
6270 else
6271
6272 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x ; then
6274 eval "DEFAULT_$LINE"
6275 else
6276 no_cache=1
6277 fi
6278
6279 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6280
6281 fi;
6282
6283 eval "$ac_cv_use_resources"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6286 fi
6287
6288 if test "$wxUSE_RESOURCES" = yes; then
6289 echo "$as_me:$LINENO: result: yes" >&5
6290 echo "${ECHO_T}yes" >&6
6291 else
6292 echo "$as_me:$LINENO: result: no" >&5
6293 echo "${ECHO_T}no" >&6
6294 fi
6295
6296
6297
6298
6299 enablestring=
6300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6301 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6302 no_cache=0
6303 # Check whether --enable-clipboard or --disable-clipboard was given.
6304 if test "${enable_clipboard+set}" = set; then
6305 enableval="$enable_clipboard"
6306
6307 if test "$enableval" = yes; then
6308 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6309 else
6310 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6311 fi
6312
6313 else
6314
6315 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6316 if test "x$LINE" != x ; then
6317 eval "DEFAULT_$LINE"
6318 else
6319 no_cache=1
6320 fi
6321
6322 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6323
6324 fi;
6325
6326 eval "$ac_cv_use_clipboard"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6329 fi
6330
6331 if test "$wxUSE_CLIPBOARD" = yes; then
6332 echo "$as_me:$LINENO: result: yes" >&5
6333 echo "${ECHO_T}yes" >&6
6334 else
6335 echo "$as_me:$LINENO: result: no" >&5
6336 echo "${ECHO_T}no" >&6
6337 fi
6338
6339
6340 enablestring=
6341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6342 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6343 no_cache=0
6344 # Check whether --enable-dnd or --disable-dnd was given.
6345 if test "${enable_dnd+set}" = set; then
6346 enableval="$enable_dnd"
6347
6348 if test "$enableval" = yes; then
6349 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6350 else
6351 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6352 fi
6353
6354 else
6355
6356 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6357 if test "x$LINE" != x ; then
6358 eval "DEFAULT_$LINE"
6359 else
6360 no_cache=1
6361 fi
6362
6363 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6364
6365 fi;
6366
6367 eval "$ac_cv_use_dnd"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6370 fi
6371
6372 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6373 echo "$as_me:$LINENO: result: yes" >&5
6374 echo "${ECHO_T}yes" >&6
6375 else
6376 echo "$as_me:$LINENO: result: no" >&5
6377 echo "${ECHO_T}no" >&6
6378 fi
6379
6380
6381 enablestring=
6382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6384 no_cache=0
6385 # Check whether --enable-metafile or --disable-metafile was given.
6386 if test "${enable_metafile+set}" = set; then
6387 enableval="$enable_metafile"
6388
6389 if test "$enableval" = yes; then
6390 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6391 else
6392 ac_cv_use_metafile='wxUSE_METAFILE=no'
6393 fi
6394
6395 else
6396
6397 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x ; then
6399 eval "DEFAULT_$LINE"
6400 else
6401 no_cache=1
6402 fi
6403
6404 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6405
6406 fi;
6407
6408 eval "$ac_cv_use_metafile"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6411 fi
6412
6413 if test "$wxUSE_METAFILE" = yes; then
6414 echo "$as_me:$LINENO: result: yes" >&5
6415 echo "${ECHO_T}yes" >&6
6416 else
6417 echo "$as_me:$LINENO: result: no" >&5
6418 echo "${ECHO_T}no" >&6
6419 fi
6420
6421
6422
6423
6424
6425 enablestring=
6426 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6428 no_cache=0
6429 # Check whether --enable-controls or --disable-controls was given.
6430 if test "${enable_controls+set}" = set; then
6431 enableval="$enable_controls"
6432
6433 if test "$enableval" = yes; then
6434 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6435 else
6436 ac_cv_use_controls='wxUSE_CONTROLS=no'
6437 fi
6438
6439 else
6440
6441 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x ; then
6443 eval "DEFAULT_$LINE"
6444 else
6445 no_cache=1
6446 fi
6447
6448 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6449
6450 fi;
6451
6452 eval "$ac_cv_use_controls"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6455 fi
6456
6457 if test "$wxUSE_CONTROLS" = yes; then
6458 echo "$as_me:$LINENO: result: yes" >&5
6459 echo "${ECHO_T}yes" >&6
6460 else
6461 echo "$as_me:$LINENO: result: no" >&5
6462 echo "${ECHO_T}no" >&6
6463 fi
6464
6465
6466 if test "$wxUSE_CONTROLS" = "yes"; then
6467 DEFAULT_wxUSE_ACCEL=yes
6468 DEFAULT_wxUSE_BMPBUTTON=yes
6469 DEFAULT_wxUSE_BUTTON=yes
6470 DEFAULT_wxUSE_CALCTRL=no
6471 DEFAULT_wxUSE_CARET=yes
6472 DEFAULT_wxUSE_COMBOBOX=yes
6473 DEFAULT_wxUSE_CHECKBOX=yes
6474 DEFAULT_wxUSE_CHECKLISTBOX=yes
6475 DEFAULT_wxUSE_CHOICE=yes
6476 DEFAULT_wxUSE_GAUGE=yes
6477 DEFAULT_wxUSE_GRID=yes
6478 DEFAULT_wxUSE_IMAGLIST=yes
6479 DEFAULT_wxUSE_LISTBOX=yes
6480 DEFAULT_wxUSE_LISTCTRL=yes
6481 DEFAULT_wxUSE_NOTEBOOK=yes
6482 DEFAULT_wxUSE_RADIOBOX=yes
6483 DEFAULT_wxUSE_RADIOBTN=yes
6484 DEFAULT_wxUSE_SASH=yes
6485 DEFAULT_wxUSE_SCROLLBAR=yes
6486 DEFAULT_wxUSE_SLIDER=yes
6487 DEFAULT_wxUSE_SPINBTN=yes
6488 DEFAULT_wxUSE_SPINCTRL=yes
6489 DEFAULT_wxUSE_SPLITTER=yes
6490 DEFAULT_wxUSE_STATBMP=yes
6491 DEFAULT_wxUSE_STATBOX=yes
6492 DEFAULT_wxUSE_STATLINE=yes
6493 DEFAULT_wxUSE_STATUSBAR=yes
6494 DEFAULT_wxUSE_TAB_DIALOG=yes
6495 DEFAULT_wxUSE_TOGGLEBTN=yes
6496 DEFAULT_wxUSE_TOOLBAR=yes
6497 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6498 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6499 DEFAULT_wxUSE_TOOLTIPS=yes
6500 DEFAULT_wxUSE_TREECTRL=yes
6501 DEFAULT_wxUSE_POPUPWIN=yes
6502 DEFAULT_wxUSE_TIPWINDOW=yes
6503 elif test "$wxUSE_CONTROLS" = "no"; then
6504 DEFAULT_wxUSE_ACCEL=no
6505 DEFAULT_wxUSE_BMPBUTTON=no
6506 DEFAULT_wxUSE_BUTTON=no
6507 DEFAULT_wxUSE_CALCTRL=no
6508 DEFAULT_wxUSE_CARET=no
6509 DEFAULT_wxUSE_COMBOBOX=no
6510 DEFAULT_wxUSE_CHECKBOX=no
6511 DEFAULT_wxUSE_CHECKLISTBOX=no
6512 DEFAULT_wxUSE_CHOICE=no
6513 DEFAULT_wxUSE_GAUGE=no
6514 DEFAULT_wxUSE_GRID=no
6515 DEFAULT_wxUSE_IMAGLIST=no
6516 DEFAULT_wxUSE_LISTBOX=no
6517 DEFAULT_wxUSE_LISTCTRL=no
6518 DEFAULT_wxUSE_NOTEBOOK=no
6519 DEFAULT_wxUSE_RADIOBOX=no
6520 DEFAULT_wxUSE_RADIOBTN=no
6521 DEFAULT_wxUSE_SASH=no
6522 DEFAULT_wxUSE_SCROLLBAR=no
6523 DEFAULT_wxUSE_SLIDER=no
6524 DEFAULT_wxUSE_SPINBTN=no
6525 DEFAULT_wxUSE_SPINCTRL=no
6526 DEFAULT_wxUSE_SPLITTER=no
6527 DEFAULT_wxUSE_STATBMP=no
6528 DEFAULT_wxUSE_STATBOX=no
6529 DEFAULT_wxUSE_STATLINE=no
6530 DEFAULT_wxUSE_STATUSBAR=no
6531 DEFAULT_wxUSE_TAB_DIALOG=no
6532 DEFAULT_wxUSE_TOGGLEBTN=no
6533 DEFAULT_wxUSE_TOOLBAR=no
6534 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6535 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6536 DEFAULT_wxUSE_TOOLTIPS=no
6537 DEFAULT_wxUSE_TREECTRL=no
6538 DEFAULT_wxUSE_POPUPWIN=no
6539 DEFAULT_wxUSE_TIPWINDOW=no
6540 fi
6541
6542 ## FIXME: This is a blatant hack
6543 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6544 wxUSE_PRINTING_ARCHITECTURE=no
6545 wxUSE_DRAG_AND_DROP=no
6546 # Generic notebook requires tab dialog
6547 DEFAULT_wxUSE_TABDIALOG=yes
6548 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6549 DEFAULT_wxUSE_SCROLLBAR=no
6550 DEFAULT_wxUSE_TOOLTIPS=no
6551 DEFAULT_wxUSE_DRAGIMAGE=no
6552 fi
6553
6554
6555 enablestring=
6556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6558 no_cache=0
6559 # Check whether --enable-accel or --disable-accel was given.
6560 if test "${enable_accel+set}" = set; then
6561 enableval="$enable_accel"
6562
6563 if test "$enableval" = yes; then
6564 ac_cv_use_accel='wxUSE_ACCEL=yes'
6565 else
6566 ac_cv_use_accel='wxUSE_ACCEL=no'
6567 fi
6568
6569 else
6570
6571 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6572 if test "x$LINE" != x ; then
6573 eval "DEFAULT_$LINE"
6574 else
6575 no_cache=1
6576 fi
6577
6578 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6579
6580 fi;
6581
6582 eval "$ac_cv_use_accel"
6583 if test "$no_cache" != 1; then
6584 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test "$wxUSE_ACCEL" = yes; then
6588 echo "$as_me:$LINENO: result: yes" >&5
6589 echo "${ECHO_T}yes" >&6
6590 else
6591 echo "$as_me:$LINENO: result: no" >&5
6592 echo "${ECHO_T}no" >&6
6593 fi
6594
6595
6596 enablestring=
6597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6598 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6599 no_cache=0
6600 # Check whether --enable-button or --disable-button was given.
6601 if test "${enable_button+set}" = set; then
6602 enableval="$enable_button"
6603
6604 if test "$enableval" = yes; then
6605 ac_cv_use_button='wxUSE_BUTTON=yes'
6606 else
6607 ac_cv_use_button='wxUSE_BUTTON=no'
6608 fi
6609
6610 else
6611
6612 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6613 if test "x$LINE" != x ; then
6614 eval "DEFAULT_$LINE"
6615 else
6616 no_cache=1
6617 fi
6618
6619 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6620
6621 fi;
6622
6623 eval "$ac_cv_use_button"
6624 if test "$no_cache" != 1; then
6625 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6626 fi
6627
6628 if test "$wxUSE_BUTTON" = yes; then
6629 echo "$as_me:$LINENO: result: yes" >&5
6630 echo "${ECHO_T}yes" >&6
6631 else
6632 echo "$as_me:$LINENO: result: no" >&5
6633 echo "${ECHO_T}no" >&6
6634 fi
6635
6636
6637 enablestring=
6638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6640 no_cache=0
6641 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6642 if test "${enable_bmpbutton+set}" = set; then
6643 enableval="$enable_bmpbutton"
6644
6645 if test "$enableval" = yes; then
6646 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6647 else
6648 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6649 fi
6650
6651 else
6652
6653 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6654 if test "x$LINE" != x ; then
6655 eval "DEFAULT_$LINE"
6656 else
6657 no_cache=1
6658 fi
6659
6660 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6661
6662 fi;
6663
6664 eval "$ac_cv_use_bmpbutton"
6665 if test "$no_cache" != 1; then
6666 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6667 fi
6668
6669 if test "$wxUSE_BMPBUTTON" = yes; then
6670 echo "$as_me:$LINENO: result: yes" >&5
6671 echo "${ECHO_T}yes" >&6
6672 else
6673 echo "$as_me:$LINENO: result: no" >&5
6674 echo "${ECHO_T}no" >&6
6675 fi
6676
6677
6678 enablestring=
6679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6680 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6681 no_cache=0
6682 # Check whether --enable-calendar or --disable-calendar was given.
6683 if test "${enable_calendar+set}" = set; then
6684 enableval="$enable_calendar"
6685
6686 if test "$enableval" = yes; then
6687 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6688 else
6689 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6690 fi
6691
6692 else
6693
6694 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x ; then
6696 eval "DEFAULT_$LINE"
6697 else
6698 no_cache=1
6699 fi
6700
6701 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6702
6703 fi;
6704
6705 eval "$ac_cv_use_calendar"
6706 if test "$no_cache" != 1; then
6707 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6708 fi
6709
6710 if test "$wxUSE_CALCTRL" = yes; then
6711 echo "$as_me:$LINENO: result: yes" >&5
6712 echo "${ECHO_T}yes" >&6
6713 else
6714 echo "$as_me:$LINENO: result: no" >&5
6715 echo "${ECHO_T}no" >&6
6716 fi
6717
6718
6719 enablestring=
6720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6721 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6722 no_cache=0
6723 # Check whether --enable-caret or --disable-caret was given.
6724 if test "${enable_caret+set}" = set; then
6725 enableval="$enable_caret"
6726
6727 if test "$enableval" = yes; then
6728 ac_cv_use_caret='wxUSE_CARET=yes'
6729 else
6730 ac_cv_use_caret='wxUSE_CARET=no'
6731 fi
6732
6733 else
6734
6735 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6736 if test "x$LINE" != x ; then
6737 eval "DEFAULT_$LINE"
6738 else
6739 no_cache=1
6740 fi
6741
6742 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6743
6744 fi;
6745
6746 eval "$ac_cv_use_caret"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6749 fi
6750
6751 if test "$wxUSE_CARET" = yes; then
6752 echo "$as_me:$LINENO: result: yes" >&5
6753 echo "${ECHO_T}yes" >&6
6754 else
6755 echo "$as_me:$LINENO: result: no" >&5
6756 echo "${ECHO_T}no" >&6
6757 fi
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-checkbox or --disable-checkbox was given.
6765 if test "${enable_checkbox+set}" = set; then
6766 enableval="$enable_checkbox"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6770 else
6771 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6784
6785 fi;
6786
6787 eval "$ac_cv_use_checkbox"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_CHECKBOX" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-checklst or --disable-checklst was given.
6806 if test "${enable_checklst+set}" = set; then
6807 enableval="$enable_checklst"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6811 else
6812 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6825
6826 fi;
6827
6828 eval "$ac_cv_use_checklst"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_CHECKLST" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-choice or --disable-choice was given.
6847 if test "${enable_choice+set}" = set; then
6848 enableval="$enable_choice"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_choice='wxUSE_CHOICE=yes'
6852 else
6853 ac_cv_use_choice='wxUSE_CHOICE=no'
6854 fi
6855
6856 else
6857
6858 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6866
6867 fi;
6868
6869 eval "$ac_cv_use_choice"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_CHOICE" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-combobox or --disable-combobox was given.
6888 if test "${enable_combobox+set}" = set; then
6889 enableval="$enable_combobox"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6893 else
6894 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6907
6908 fi;
6909
6910 eval "$ac_cv_use_combobox"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_COMBOBOX" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-display or --disable-display was given.
6929 if test "${enable_display+set}" = set; then
6930 enableval="$enable_display"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_display='wxUSE_DISPLAY=yes'
6934 else
6935 ac_cv_use_display='wxUSE_DISPLAY=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6948
6949 fi;
6950
6951 eval "$ac_cv_use_display"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_DISPLAY" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-gauge or --disable-gauge was given.
6970 if test "${enable_gauge+set}" = set; then
6971 enableval="$enable_gauge"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6975 else
6976 ac_cv_use_gauge='wxUSE_GAUGE=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6989
6990 fi;
6991
6992 eval "$ac_cv_use_gauge"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_GAUGE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-grid or --disable-grid was given.
7011 if test "${enable_grid+set}" = set; then
7012 enableval="$enable_grid"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_grid='wxUSE_GRID=yes'
7016 else
7017 ac_cv_use_grid='wxUSE_GRID=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7030
7031 fi;
7032
7033 eval "$ac_cv_use_grid"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_GRID" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-imaglist or --disable-imaglist was given.
7052 if test "${enable_imaglist+set}" = set; then
7053 enableval="$enable_imaglist"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7057 else
7058 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7071
7072 fi;
7073
7074 eval "$ac_cv_use_imaglist"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_IMAGLIST" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-listbox or --disable-listbox was given.
7093 if test "${enable_listbox+set}" = set; then
7094 enableval="$enable_listbox"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7098 else
7099 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7112
7113 fi;
7114
7115 eval "$ac_cv_use_listbox"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_LISTBOX" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-listctrl or --disable-listctrl was given.
7134 if test "${enable_listctrl+set}" = set; then
7135 enableval="$enable_listctrl"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7139 else
7140 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7153
7154 fi;
7155
7156 eval "$ac_cv_use_listctrl"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_LISTCTRL" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-notebook or --disable-notebook was given.
7175 if test "${enable_notebook+set}" = set; then
7176 enableval="$enable_notebook"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7180 else
7181 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7194
7195 fi;
7196
7197 eval "$ac_cv_use_notebook"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_NOTEBOOK" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-radiobox or --disable-radiobox was given.
7216 if test "${enable_radiobox+set}" = set; then
7217 enableval="$enable_radiobox"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7221 else
7222 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7223 fi
7224
7225 else
7226
7227 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7235
7236 fi;
7237
7238 eval "$ac_cv_use_radiobox"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_RADIOBOX" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7257 if test "${enable_radiobtn+set}" = set; then
7258 enableval="$enable_radiobtn"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7262 else
7263 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7276
7277 fi;
7278
7279 eval "$ac_cv_use_radiobtn"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_RADIOBTN" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-sash or --disable-sash was given.
7298 if test "${enable_sash+set}" = set; then
7299 enableval="$enable_sash"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_sash='wxUSE_SASH=yes'
7303 else
7304 ac_cv_use_sash='wxUSE_SASH=no'
7305 fi
7306
7307 else
7308
7309 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7317
7318 fi;
7319
7320 eval "$ac_cv_use_sash"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_SASH" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7339 if test "${enable_scrollbar+set}" = set; then
7340 enableval="$enable_scrollbar"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7344 else
7345 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7346 fi
7347
7348 else
7349
7350 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7358
7359 fi;
7360
7361 eval "$ac_cv_use_scrollbar"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_SCROLLBAR" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-slider or --disable-slider was given.
7380 if test "${enable_slider+set}" = set; then
7381 enableval="$enable_slider"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_slider='wxUSE_SLIDER=yes'
7385 else
7386 ac_cv_use_slider='wxUSE_SLIDER=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7399
7400 fi;
7401
7402 eval "$ac_cv_use_slider"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_SLIDER" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7421 if test "${enable_spinbtn+set}" = set; then
7422 enableval="$enable_spinbtn"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7426 else
7427 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7428 fi
7429
7430 else
7431
7432 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7440
7441 fi;
7442
7443 eval "$ac_cv_use_spinbtn"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_SPINBTN" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7462 if test "${enable_spinctrl+set}" = set; then
7463 enableval="$enable_spinctrl"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7467 else
7468 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7469 fi
7470
7471 else
7472
7473 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7481
7482 fi;
7483
7484 eval "$ac_cv_use_spinctrl"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_SPINCTRL" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-splitter or --disable-splitter was given.
7503 if test "${enable_splitter+set}" = set; then
7504 enableval="$enable_splitter"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7508 else
7509 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7510 fi
7511
7512 else
7513
7514 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7522
7523 fi;
7524
7525 eval "$ac_cv_use_splitter"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_SPLITTER" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-statbmp or --disable-statbmp was given.
7544 if test "${enable_statbmp+set}" = set; then
7545 enableval="$enable_statbmp"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7549 else
7550 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7563
7564 fi;
7565
7566 eval "$ac_cv_use_statbmp"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_STATBMP" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-statbox or --disable-statbox was given.
7585 if test "${enable_statbox+set}" = set; then
7586 enableval="$enable_statbox"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7590 else
7591 ac_cv_use_statbox='wxUSE_STATBOX=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7604
7605 fi;
7606
7607 eval "$ac_cv_use_statbox"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_STATBOX" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-statline or --disable-statline was given.
7626 if test "${enable_statline+set}" = set; then
7627 enableval="$enable_statline"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_statline='wxUSE_STATLINE=yes'
7631 else
7632 ac_cv_use_statline='wxUSE_STATLINE=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7645
7646 fi;
7647
7648 eval "$ac_cv_use_statline"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_STATLINE" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662 enablestring=
7663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7664 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7665 no_cache=0
7666 # Check whether --enable-stattext or --disable-stattext was given.
7667 if test "${enable_stattext+set}" = set; then
7668 enableval="$enable_stattext"
7669
7670 if test "$enableval" = yes; then
7671 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7672 else
7673 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7674 fi
7675
7676 else
7677
7678 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x ; then
7680 eval "DEFAULT_$LINE"
7681 else
7682 no_cache=1
7683 fi
7684
7685 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7686
7687 fi;
7688
7689 eval "$ac_cv_use_stattext"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7692 fi
7693
7694 if test "$wxUSE_STATTEXT" = yes; then
7695 echo "$as_me:$LINENO: result: yes" >&5
7696 echo "${ECHO_T}yes" >&6
7697 else
7698 echo "$as_me:$LINENO: result: no" >&5
7699 echo "${ECHO_T}no" >&6
7700 fi
7701
7702
7703 enablestring=
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7706 no_cache=0
7707 # Check whether --enable-statusbar or --disable-statusbar was given.
7708 if test "${enable_statusbar+set}" = set; then
7709 enableval="$enable_statusbar"
7710
7711 if test "$enableval" = yes; then
7712 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7713 else
7714 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7715 fi
7716
7717 else
7718
7719 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 else
7723 no_cache=1
7724 fi
7725
7726 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7727
7728 fi;
7729
7730 eval "$ac_cv_use_statusbar"
7731 if test "$no_cache" != 1; then
7732 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7733 fi
7734
7735 if test "$wxUSE_STATUSBAR" = yes; then
7736 echo "$as_me:$LINENO: result: yes" >&5
7737 echo "${ECHO_T}yes" >&6
7738 else
7739 echo "$as_me:$LINENO: result: no" >&5
7740 echo "${ECHO_T}no" >&6
7741 fi
7742
7743
7744 enablestring=
7745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7747 no_cache=0
7748 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7749 if test "${enable_tabdialog+set}" = set; then
7750 enableval="$enable_tabdialog"
7751
7752 if test "$enableval" = yes; then
7753 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7754 else
7755 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7756 fi
7757
7758 else
7759
7760 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x ; then
7762 eval "DEFAULT_$LINE"
7763 else
7764 no_cache=1
7765 fi
7766
7767 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7768
7769 fi;
7770
7771 eval "$ac_cv_use_tabdialog"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7774 fi
7775
7776 if test "$wxUSE_TABDIALOG" = yes; then
7777 echo "$as_me:$LINENO: result: yes" >&5
7778 echo "${ECHO_T}yes" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7782 fi
7783
7784
7785 enablestring=
7786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7787 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7788 no_cache=0
7789 # Check whether --enable-textctrl or --disable-textctrl was given.
7790 if test "${enable_textctrl+set}" = set; then
7791 enableval="$enable_textctrl"
7792
7793 if test "$enableval" = yes; then
7794 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7795 else
7796 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7797 fi
7798
7799 else
7800
7801 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7802 if test "x$LINE" != x ; then
7803 eval "DEFAULT_$LINE"
7804 else
7805 no_cache=1
7806 fi
7807
7808 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7809
7810 fi;
7811
7812 eval "$ac_cv_use_textctrl"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7815 fi
7816
7817 if test "$wxUSE_TEXTCTRL" = yes; then
7818 echo "$as_me:$LINENO: result: yes" >&5
7819 echo "${ECHO_T}yes" >&6
7820 else
7821 echo "$as_me:$LINENO: result: no" >&5
7822 echo "${ECHO_T}no" >&6
7823 fi
7824
7825
7826 enablestring=
7827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7828 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7829 no_cache=0
7830 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7831 if test "${enable_togglebtn+set}" = set; then
7832 enableval="$enable_togglebtn"
7833
7834 if test "$enableval" = yes; then
7835 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7836 else
7837 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7838 fi
7839
7840 else
7841
7842 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x ; then
7844 eval "DEFAULT_$LINE"
7845 else
7846 no_cache=1
7847 fi
7848
7849 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7850
7851 fi;
7852
7853 eval "$ac_cv_use_togglebtn"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7856 fi
7857
7858 if test "$wxUSE_TOGGLEBTN" = yes; then
7859 echo "$as_me:$LINENO: result: yes" >&5
7860 echo "${ECHO_T}yes" >&6
7861 else
7862 echo "$as_me:$LINENO: result: no" >&5
7863 echo "${ECHO_T}no" >&6
7864 fi
7865
7866
7867 enablestring=
7868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7869 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7870 no_cache=0
7871 # Check whether --enable-toolbar or --disable-toolbar was given.
7872 if test "${enable_toolbar+set}" = set; then
7873 enableval="$enable_toolbar"
7874
7875 if test "$enableval" = yes; then
7876 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7877 else
7878 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7879 fi
7880
7881 else
7882
7883 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x ; then
7885 eval "DEFAULT_$LINE"
7886 else
7887 no_cache=1
7888 fi
7889
7890 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7891
7892 fi;
7893
7894 eval "$ac_cv_use_toolbar"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7897 fi
7898
7899 if test "$wxUSE_TOOLBAR" = yes; then
7900 echo "$as_me:$LINENO: result: yes" >&5
7901 echo "${ECHO_T}yes" >&6
7902 else
7903 echo "$as_me:$LINENO: result: no" >&5
7904 echo "${ECHO_T}no" >&6
7905 fi
7906
7907
7908 enablestring=
7909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7911 no_cache=0
7912 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7913 if test "${enable_tbarnative+set}" = set; then
7914 enableval="$enable_tbarnative"
7915
7916 if test "$enableval" = yes; then
7917 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7918 else
7919 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7920 fi
7921
7922 else
7923
7924 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x ; then
7926 eval "DEFAULT_$LINE"
7927 else
7928 no_cache=1
7929 fi
7930
7931 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7932
7933 fi;
7934
7935 eval "$ac_cv_use_tbarnative"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7938 fi
7939
7940 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7941 echo "$as_me:$LINENO: result: yes" >&5
7942 echo "${ECHO_T}yes" >&6
7943 else
7944 echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6
7946 fi
7947
7948
7949 enablestring=
7950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7951 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7952 no_cache=0
7953 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7954 if test "${enable_tbarsmpl+set}" = set; then
7955 enableval="$enable_tbarsmpl"
7956
7957 if test "$enableval" = yes; then
7958 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
7959 else
7960 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
7961 fi
7962
7963 else
7964
7965 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7966 if test "x$LINE" != x ; then
7967 eval "DEFAULT_$LINE"
7968 else
7969 no_cache=1
7970 fi
7971
7972 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7973
7974 fi;
7975
7976 eval "$ac_cv_use_tbarsmpl"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7979 fi
7980
7981 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7982 echo "$as_me:$LINENO: result: yes" >&5
7983 echo "${ECHO_T}yes" >&6
7984 else
7985 echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6
7987 fi
7988
7989
7990 enablestring=
7991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
7992 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
7993 no_cache=0
7994 # Check whether --enable-treectrl or --disable-treectrl was given.
7995 if test "${enable_treectrl+set}" = set; then
7996 enableval="$enable_treectrl"
7997
7998 if test "$enableval" = yes; then
7999 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8000 else
8001 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8002 fi
8003
8004 else
8005
8006 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8007 if test "x$LINE" != x ; then
8008 eval "DEFAULT_$LINE"
8009 else
8010 no_cache=1
8011 fi
8012
8013 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8014
8015 fi;
8016
8017 eval "$ac_cv_use_treectrl"
8018 if test "$no_cache" != 1; then
8019 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8020 fi
8021
8022 if test "$wxUSE_TREECTRL" = yes; then
8023 echo "$as_me:$LINENO: result: yes" >&5
8024 echo "${ECHO_T}yes" >&6
8025 else
8026 echo "$as_me:$LINENO: result: no" >&5
8027 echo "${ECHO_T}no" >&6
8028 fi
8029
8030
8031 enablestring=
8032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8033 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8034 no_cache=0
8035 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8036 if test "${enable_tipwindow+set}" = set; then
8037 enableval="$enable_tipwindow"
8038
8039 if test "$enableval" = yes; then
8040 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8041 else
8042 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8043 fi
8044
8045 else
8046
8047 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8048 if test "x$LINE" != x ; then
8049 eval "DEFAULT_$LINE"
8050 else
8051 no_cache=1
8052 fi
8053
8054 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8055
8056 fi;
8057
8058 eval "$ac_cv_use_tipwindow"
8059 if test "$no_cache" != 1; then
8060 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8061 fi
8062
8063 if test "$wxUSE_TIPWINDOW" = yes; then
8064 echo "$as_me:$LINENO: result: yes" >&5
8065 echo "${ECHO_T}yes" >&6
8066 else
8067 echo "$as_me:$LINENO: result: no" >&5
8068 echo "${ECHO_T}no" >&6
8069 fi
8070
8071
8072 enablestring=
8073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8074 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8075 no_cache=0
8076 # Check whether --enable-popupwin or --disable-popupwin was given.
8077 if test "${enable_popupwin+set}" = set; then
8078 enableval="$enable_popupwin"
8079
8080 if test "$enableval" = yes; then
8081 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8082 else
8083 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8084 fi
8085
8086 else
8087
8088 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x ; then
8090 eval "DEFAULT_$LINE"
8091 else
8092 no_cache=1
8093 fi
8094
8095 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8096
8097 fi;
8098
8099 eval "$ac_cv_use_popupwin"
8100 if test "$no_cache" != 1; then
8101 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8102 fi
8103
8104 if test "$wxUSE_POPUPWIN" = yes; then
8105 echo "$as_me:$LINENO: result: yes" >&5
8106 echo "${ECHO_T}yes" >&6
8107 else
8108 echo "$as_me:$LINENO: result: no" >&5
8109 echo "${ECHO_T}no" >&6
8110 fi
8111
8112
8113
8114
8115 enablestring=
8116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8117 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8118 no_cache=0
8119 # Check whether --enable-commondlg or --disable-commondlg was given.
8120 if test "${enable_commondlg+set}" = set; then
8121 enableval="$enable_commondlg"
8122
8123 if test "$enableval" = yes; then
8124 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8125 else
8126 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8127 fi
8128
8129 else
8130
8131 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x ; then
8133 eval "DEFAULT_$LINE"
8134 else
8135 no_cache=1
8136 fi
8137
8138 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8139
8140 fi;
8141
8142 eval "$ac_cv_use_commondlg"
8143 if test "$no_cache" != 1; then
8144 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8145 fi
8146
8147 if test "$wxUSE_COMMONDLGS" = yes; then
8148 echo "$as_me:$LINENO: result: yes" >&5
8149 echo "${ECHO_T}yes" >&6
8150 else
8151 echo "$as_me:$LINENO: result: no" >&5
8152 echo "${ECHO_T}no" >&6
8153 fi
8154
8155
8156 enablestring=
8157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8158 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8159 no_cache=0
8160 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8161 if test "${enable_choicedlg+set}" = set; then
8162 enableval="$enable_choicedlg"
8163
8164 if test "$enableval" = yes; then
8165 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8166 else
8167 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8168 fi
8169
8170 else
8171
8172 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x ; then
8174 eval "DEFAULT_$LINE"
8175 else
8176 no_cache=1
8177 fi
8178
8179 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8180
8181 fi;
8182
8183 eval "$ac_cv_use_choicedlg"
8184 if test "$no_cache" != 1; then
8185 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8186 fi
8187
8188 if test "$wxUSE_CHOICEDLG" = yes; then
8189 echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6
8191 else
8192 echo "$as_me:$LINENO: result: no" >&5
8193 echo "${ECHO_T}no" >&6
8194 fi
8195
8196
8197 enablestring=
8198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8199 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8200 no_cache=0
8201 # Check whether --enable-coldlg or --disable-coldlg was given.
8202 if test "${enable_coldlg+set}" = set; then
8203 enableval="$enable_coldlg"
8204
8205 if test "$enableval" = yes; then
8206 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8207 else
8208 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8209 fi
8210
8211 else
8212
8213 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x ; then
8215 eval "DEFAULT_$LINE"
8216 else
8217 no_cache=1
8218 fi
8219
8220 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8221
8222 fi;
8223
8224 eval "$ac_cv_use_coldlg"
8225 if test "$no_cache" != 1; then
8226 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8227 fi
8228
8229 if test "$wxUSE_COLOURDLG" = yes; then
8230 echo "$as_me:$LINENO: result: yes" >&5
8231 echo "${ECHO_T}yes" >&6
8232 else
8233 echo "$as_me:$LINENO: result: no" >&5
8234 echo "${ECHO_T}no" >&6
8235 fi
8236
8237
8238 enablestring=
8239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8240 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8241 no_cache=0
8242 # Check whether --enable-filedlg or --disable-filedlg was given.
8243 if test "${enable_filedlg+set}" = set; then
8244 enableval="$enable_filedlg"
8245
8246 if test "$enableval" = yes; then
8247 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8248 else
8249 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8250 fi
8251
8252 else
8253
8254 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8255 if test "x$LINE" != x ; then
8256 eval "DEFAULT_$LINE"
8257 else
8258 no_cache=1
8259 fi
8260
8261 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8262
8263 fi;
8264
8265 eval "$ac_cv_use_filedlg"
8266 if test "$no_cache" != 1; then
8267 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8268 fi
8269
8270 if test "$wxUSE_FILEDLG" = yes; then
8271 echo "$as_me:$LINENO: result: yes" >&5
8272 echo "${ECHO_T}yes" >&6
8273 else
8274 echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6
8276 fi
8277
8278
8279 enablestring=
8280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8281 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8282 no_cache=0
8283 # Check whether --enable-finddlg or --disable-finddlg was given.
8284 if test "${enable_finddlg+set}" = set; then
8285 enableval="$enable_finddlg"
8286
8287 if test "$enableval" = yes; then
8288 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8289 else
8290 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8291 fi
8292
8293 else
8294
8295 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8296 if test "x$LINE" != x ; then
8297 eval "DEFAULT_$LINE"
8298 else
8299 no_cache=1
8300 fi
8301
8302 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8303
8304 fi;
8305
8306 eval "$ac_cv_use_finddlg"
8307 if test "$no_cache" != 1; then
8308 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8309 fi
8310
8311 if test "$wxUSE_FINDREPLDLG" = yes; then
8312 echo "$as_me:$LINENO: result: yes" >&5
8313 echo "${ECHO_T}yes" >&6
8314 else
8315 echo "$as_me:$LINENO: result: no" >&5
8316 echo "${ECHO_T}no" >&6
8317 fi
8318
8319
8320 enablestring=
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8323 no_cache=0
8324 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8325 if test "${enable_fontdlg+set}" = set; then
8326 enableval="$enable_fontdlg"
8327
8328 if test "$enableval" = yes; then
8329 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8330 else
8331 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8332 fi
8333
8334 else
8335
8336 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8339 else
8340 no_cache=1
8341 fi
8342
8343 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8344
8345 fi;
8346
8347 eval "$ac_cv_use_fontdlg"
8348 if test "$no_cache" != 1; then
8349 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8350 fi
8351
8352 if test "$wxUSE_FONTDLG" = yes; then
8353 echo "$as_me:$LINENO: result: yes" >&5
8354 echo "${ECHO_T}yes" >&6
8355 else
8356 echo "$as_me:$LINENO: result: no" >&5
8357 echo "${ECHO_T}no" >&6
8358 fi
8359
8360
8361 enablestring=
8362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8364 no_cache=0
8365 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8366 if test "${enable_dirdlg+set}" = set; then
8367 enableval="$enable_dirdlg"
8368
8369 if test "$enableval" = yes; then
8370 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8371 else
8372 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8373 fi
8374
8375 else
8376
8377 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8378 if test "x$LINE" != x ; then
8379 eval "DEFAULT_$LINE"
8380 else
8381 no_cache=1
8382 fi
8383
8384 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8385
8386 fi;
8387
8388 eval "$ac_cv_use_dirdlg"
8389 if test "$no_cache" != 1; then
8390 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8391 fi
8392
8393 if test "$wxUSE_DIRDLG" = yes; then
8394 echo "$as_me:$LINENO: result: yes" >&5
8395 echo "${ECHO_T}yes" >&6
8396 else
8397 echo "$as_me:$LINENO: result: no" >&5
8398 echo "${ECHO_T}no" >&6
8399 fi
8400
8401
8402 enablestring=
8403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8405 no_cache=0
8406 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8407 if test "${enable_msgdlg+set}" = set; then
8408 enableval="$enable_msgdlg"
8409
8410 if test "$enableval" = yes; then
8411 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8412 else
8413 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8414 fi
8415
8416 else
8417
8418 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8419 if test "x$LINE" != x ; then
8420 eval "DEFAULT_$LINE"
8421 else
8422 no_cache=1
8423 fi
8424
8425 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8426
8427 fi;
8428
8429 eval "$ac_cv_use_msgdlg"
8430 if test "$no_cache" != 1; then
8431 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8432 fi
8433
8434 if test "$wxUSE_MSGDLG" = yes; then
8435 echo "$as_me:$LINENO: result: yes" >&5
8436 echo "${ECHO_T}yes" >&6
8437 else
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8440 fi
8441
8442
8443 enablestring=
8444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8446 no_cache=0
8447 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8448 if test "${enable_numberdlg+set}" = set; then
8449 enableval="$enable_numberdlg"
8450
8451 if test "$enableval" = yes; then
8452 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8453 else
8454 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8455 fi
8456
8457 else
8458
8459 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8460 if test "x$LINE" != x ; then
8461 eval "DEFAULT_$LINE"
8462 else
8463 no_cache=1
8464 fi
8465
8466 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8467
8468 fi;
8469
8470 eval "$ac_cv_use_numberdlg"
8471 if test "$no_cache" != 1; then
8472 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8473 fi
8474
8475 if test "$wxUSE_NUMBERDLG" = yes; then
8476 echo "$as_me:$LINENO: result: yes" >&5
8477 echo "${ECHO_T}yes" >&6
8478 else
8479 echo "$as_me:$LINENO: result: no" >&5
8480 echo "${ECHO_T}no" >&6
8481 fi
8482
8483
8484 enablestring=
8485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8486 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8487 no_cache=0
8488 # Check whether --enable-splash or --disable-splash was given.
8489 if test "${enable_splash+set}" = set; then
8490 enableval="$enable_splash"
8491
8492 if test "$enableval" = yes; then
8493 ac_cv_use_splash='wxUSE_SPLASH=yes'
8494 else
8495 ac_cv_use_splash='wxUSE_SPLASH=no'
8496 fi
8497
8498 else
8499
8500 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x ; then
8502 eval "DEFAULT_$LINE"
8503 else
8504 no_cache=1
8505 fi
8506
8507 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8508
8509 fi;
8510
8511 eval "$ac_cv_use_splash"
8512 if test "$no_cache" != 1; then
8513 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8514 fi
8515
8516 if test "$wxUSE_SPLASH" = yes; then
8517 echo "$as_me:$LINENO: result: yes" >&5
8518 echo "${ECHO_T}yes" >&6
8519 else
8520 echo "$as_me:$LINENO: result: no" >&5
8521 echo "${ECHO_T}no" >&6
8522 fi
8523
8524
8525 enablestring=
8526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8527 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8528 no_cache=0
8529 # Check whether --enable-textdlg or --disable-textdlg was given.
8530 if test "${enable_textdlg+set}" = set; then
8531 enableval="$enable_textdlg"
8532
8533 if test "$enableval" = yes; then
8534 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8535 else
8536 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8537 fi
8538
8539 else
8540
8541 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8542 if test "x$LINE" != x ; then
8543 eval "DEFAULT_$LINE"
8544 else
8545 no_cache=1
8546 fi
8547
8548 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8549
8550 fi;
8551
8552 eval "$ac_cv_use_textdlg"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8555 fi
8556
8557 if test "$wxUSE_TEXTDLG" = yes; then
8558 echo "$as_me:$LINENO: result: yes" >&5
8559 echo "${ECHO_T}yes" >&6
8560 else
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8563 fi
8564
8565
8566 enablestring=
8567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8568 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8569 no_cache=0
8570 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8571 if test "${enable_tipdlg+set}" = set; then
8572 enableval="$enable_tipdlg"
8573
8574 if test "$enableval" = yes; then
8575 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8576 else
8577 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8578 fi
8579
8580 else
8581
8582 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x ; then
8584 eval "DEFAULT_$LINE"
8585 else
8586 no_cache=1
8587 fi
8588
8589 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8590
8591 fi;
8592
8593 eval "$ac_cv_use_tipdlg"
8594 if test "$no_cache" != 1; then
8595 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8596 fi
8597
8598 if test "$wxUSE_STARTUP_TIPS" = yes; then
8599 echo "$as_me:$LINENO: result: yes" >&5
8600 echo "${ECHO_T}yes" >&6
8601 else
8602 echo "$as_me:$LINENO: result: no" >&5
8603 echo "${ECHO_T}no" >&6
8604 fi
8605
8606
8607 enablestring=
8608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8609 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8610 no_cache=0
8611 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8612 if test "${enable_progressdlg+set}" = set; then
8613 enableval="$enable_progressdlg"
8614
8615 if test "$enableval" = yes; then
8616 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8617 else
8618 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8619 fi
8620
8621 else
8622
8623 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8624 if test "x$LINE" != x ; then
8625 eval "DEFAULT_$LINE"
8626 else
8627 no_cache=1
8628 fi
8629
8630 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8631
8632 fi;
8633
8634 eval "$ac_cv_use_progressdlg"
8635 if test "$no_cache" != 1; then
8636 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8637 fi
8638
8639 if test "$wxUSE_PROGRESSDLG" = yes; then
8640 echo "$as_me:$LINENO: result: yes" >&5
8641 echo "${ECHO_T}yes" >&6
8642 else
8643 echo "$as_me:$LINENO: result: no" >&5
8644 echo "${ECHO_T}no" >&6
8645 fi
8646
8647
8648 enablestring=
8649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8650 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8651 no_cache=0
8652 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8653 if test "${enable_wizarddlg+set}" = set; then
8654 enableval="$enable_wizarddlg"
8655
8656 if test "$enableval" = yes; then
8657 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8658 else
8659 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8660 fi
8661
8662 else
8663
8664 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8665 if test "x$LINE" != x ; then
8666 eval "DEFAULT_$LINE"
8667 else
8668 no_cache=1
8669 fi
8670
8671 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8672
8673 fi;
8674
8675 eval "$ac_cv_use_wizarddlg"
8676 if test "$no_cache" != 1; then
8677 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8678 fi
8679
8680 if test "$wxUSE_WIZARDDLG" = yes; then
8681 echo "$as_me:$LINENO: result: yes" >&5
8682 echo "${ECHO_T}yes" >&6
8683 else
8684 echo "$as_me:$LINENO: result: no" >&5
8685 echo "${ECHO_T}no" >&6
8686 fi
8687
8688
8689
8690
8691 enablestring=
8692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8693 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8694 no_cache=0
8695 # Check whether --enable-menus or --disable-menus was given.
8696 if test "${enable_menus+set}" = set; then
8697 enableval="$enable_menus"
8698
8699 if test "$enableval" = yes; then
8700 ac_cv_use_menus='wxUSE_MENUS=yes'
8701 else
8702 ac_cv_use_menus='wxUSE_MENUS=no'
8703 fi
8704
8705 else
8706
8707 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8708 if test "x$LINE" != x ; then
8709 eval "DEFAULT_$LINE"
8710 else
8711 no_cache=1
8712 fi
8713
8714 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8715
8716 fi;
8717
8718 eval "$ac_cv_use_menus"
8719 if test "$no_cache" != 1; then
8720 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8721 fi
8722
8723 if test "$wxUSE_MENUS" = yes; then
8724 echo "$as_me:$LINENO: result: yes" >&5
8725 echo "${ECHO_T}yes" >&6
8726 else
8727 echo "$as_me:$LINENO: result: no" >&5
8728 echo "${ECHO_T}no" >&6
8729 fi
8730
8731
8732 enablestring=
8733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8734 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8735 no_cache=0
8736 # Check whether --enable-miniframe or --disable-miniframe was given.
8737 if test "${enable_miniframe+set}" = set; then
8738 enableval="$enable_miniframe"
8739
8740 if test "$enableval" = yes; then
8741 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8742 else
8743 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8744 fi
8745
8746 else
8747
8748 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8749 if test "x$LINE" != x ; then
8750 eval "DEFAULT_$LINE"
8751 else
8752 no_cache=1
8753 fi
8754
8755 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8756
8757 fi;
8758
8759 eval "$ac_cv_use_miniframe"
8760 if test "$no_cache" != 1; then
8761 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8762 fi
8763
8764 if test "$wxUSE_MINIFRAME" = yes; then
8765 echo "$as_me:$LINENO: result: yes" >&5
8766 echo "${ECHO_T}yes" >&6
8767 else
8768 echo "$as_me:$LINENO: result: no" >&5
8769 echo "${ECHO_T}no" >&6
8770 fi
8771
8772
8773 enablestring=
8774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8775 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8776 no_cache=0
8777 # Check whether --enable-tooltips or --disable-tooltips was given.
8778 if test "${enable_tooltips+set}" = set; then
8779 enableval="$enable_tooltips"
8780
8781 if test "$enableval" = yes; then
8782 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8783 else
8784 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8785 fi
8786
8787 else
8788
8789 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8790 if test "x$LINE" != x ; then
8791 eval "DEFAULT_$LINE"
8792 else
8793 no_cache=1
8794 fi
8795
8796 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8797
8798 fi;
8799
8800 eval "$ac_cv_use_tooltips"
8801 if test "$no_cache" != 1; then
8802 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8803 fi
8804
8805 if test "$wxUSE_TOOLTIPS" = yes; then
8806 echo "$as_me:$LINENO: result: yes" >&5
8807 echo "${ECHO_T}yes" >&6
8808 else
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8811 fi
8812
8813
8814 enablestring=
8815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8816 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8817 no_cache=0
8818 # Check whether --enable-splines or --disable-splines was given.
8819 if test "${enable_splines+set}" = set; then
8820 enableval="$enable_splines"
8821
8822 if test "$enableval" = yes; then
8823 ac_cv_use_splines='wxUSE_SPLINES=yes'
8824 else
8825 ac_cv_use_splines='wxUSE_SPLINES=no'
8826 fi
8827
8828 else
8829
8830 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8831 if test "x$LINE" != x ; then
8832 eval "DEFAULT_$LINE"
8833 else
8834 no_cache=1
8835 fi
8836
8837 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8838
8839 fi;
8840
8841 eval "$ac_cv_use_splines"
8842 if test "$no_cache" != 1; then
8843 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8844 fi
8845
8846 if test "$wxUSE_SPLINES" = yes; then
8847 echo "$as_me:$LINENO: result: yes" >&5
8848 echo "${ECHO_T}yes" >&6
8849 else
8850 echo "$as_me:$LINENO: result: no" >&5
8851 echo "${ECHO_T}no" >&6
8852 fi
8853
8854
8855 enablestring=
8856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8857 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8858 no_cache=0
8859 # Check whether --enable-validators or --disable-validators was given.
8860 if test "${enable_validators+set}" = set; then
8861 enableval="$enable_validators"
8862
8863 if test "$enableval" = yes; then
8864 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8865 else
8866 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8867 fi
8868
8869 else
8870
8871 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8872 if test "x$LINE" != x ; then
8873 eval "DEFAULT_$LINE"
8874 else
8875 no_cache=1
8876 fi
8877
8878 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8879
8880 fi;
8881
8882 eval "$ac_cv_use_validators"
8883 if test "$no_cache" != 1; then
8884 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8885 fi
8886
8887 if test "$wxUSE_VALIDATORS" = yes; then
8888 echo "$as_me:$LINENO: result: yes" >&5
8889 echo "${ECHO_T}yes" >&6
8890 else
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8893 fi
8894
8895
8896 enablestring=
8897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8899 no_cache=0
8900 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8901 if test "${enable_busyinfo+set}" = set; then
8902 enableval="$enable_busyinfo"
8903
8904 if test "$enableval" = yes; then
8905 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8906 else
8907 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8908 fi
8909
8910 else
8911
8912 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8913 if test "x$LINE" != x ; then
8914 eval "DEFAULT_$LINE"
8915 else
8916 no_cache=1
8917 fi
8918
8919 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8920
8921 fi;
8922
8923 eval "$ac_cv_use_busyinfo"
8924 if test "$no_cache" != 1; then
8925 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8926 fi
8927
8928 if test "$wxUSE_BUSYINFO" = yes; then
8929 echo "$as_me:$LINENO: result: yes" >&5
8930 echo "${ECHO_T}yes" >&6
8931 else
8932 echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6
8934 fi
8935
8936
8937 enablestring=
8938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8939 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8940 no_cache=0
8941 # Check whether --enable-joystick or --disable-joystick was given.
8942 if test "${enable_joystick+set}" = set; then
8943 enableval="$enable_joystick"
8944
8945 if test "$enableval" = yes; then
8946 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8947 else
8948 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8949 fi
8950
8951 else
8952
8953 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8954 if test "x$LINE" != x ; then
8955 eval "DEFAULT_$LINE"
8956 else
8957 no_cache=1
8958 fi
8959
8960 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8961
8962 fi;
8963
8964 eval "$ac_cv_use_joystick"
8965 if test "$no_cache" != 1; then
8966 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8967 fi
8968
8969 if test "$wxUSE_JOYSTICK" = yes; then
8970 echo "$as_me:$LINENO: result: yes" >&5
8971 echo "${ECHO_T}yes" >&6
8972 else
8973 echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6
8975 fi
8976
8977
8978 enablestring=
8979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
8981 no_cache=0
8982 # Check whether --enable-metafile or --disable-metafile was given.
8983 if test "${enable_metafile+set}" = set; then
8984 enableval="$enable_metafile"
8985
8986 if test "$enableval" = yes; then
8987 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8988 else
8989 ac_cv_use_metafile='wxUSE_METAFILE=no'
8990 fi
8991
8992 else
8993
8994 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8995 if test "x$LINE" != x ; then
8996 eval "DEFAULT_$LINE"
8997 else
8998 no_cache=1
8999 fi
9000
9001 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9002
9003 fi;
9004
9005 eval "$ac_cv_use_metafile"
9006 if test "$no_cache" != 1; then
9007 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9008 fi
9009
9010 if test "$wxUSE_METAFILE" = yes; then
9011 echo "$as_me:$LINENO: result: yes" >&5
9012 echo "${ECHO_T}yes" >&6
9013 else
9014 echo "$as_me:$LINENO: result: no" >&5
9015 echo "${ECHO_T}no" >&6
9016 fi
9017
9018
9019 enablestring=
9020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9021 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9022 no_cache=0
9023 # Check whether --enable-dragimage or --disable-dragimage was given.
9024 if test "${enable_dragimage+set}" = set; then
9025 enableval="$enable_dragimage"
9026
9027 if test "$enableval" = yes; then
9028 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9029 else
9030 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9031 fi
9032
9033 else
9034
9035 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9036 if test "x$LINE" != x ; then
9037 eval "DEFAULT_$LINE"
9038 else
9039 no_cache=1
9040 fi
9041
9042 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9043
9044 fi;
9045
9046 eval "$ac_cv_use_dragimage"
9047 if test "$no_cache" != 1; then
9048 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9049 fi
9050
9051 if test "$wxUSE_DRAGIMAGE" = yes; then
9052 echo "$as_me:$LINENO: result: yes" >&5
9053 echo "${ECHO_T}yes" >&6
9054 else
9055 echo "$as_me:$LINENO: result: no" >&5
9056 echo "${ECHO_T}no" >&6
9057 fi
9058
9059
9060 enablestring=
9061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9062 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9063 no_cache=0
9064 # Check whether --enable-accessibility or --disable-accessibility was given.
9065 if test "${enable_accessibility+set}" = set; then
9066 enableval="$enable_accessibility"
9067
9068 if test "$enableval" = yes; then
9069 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9070 else
9071 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9072 fi
9073
9074 else
9075
9076 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9077 if test "x$LINE" != x ; then
9078 eval "DEFAULT_$LINE"
9079 else
9080 no_cache=1
9081 fi
9082
9083 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9084
9085 fi;
9086
9087 eval "$ac_cv_use_accessibility"
9088 if test "$no_cache" != 1; then
9089 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9090 fi
9091
9092 if test "$wxUSE_ACCESSIBILITY" = yes; then
9093 echo "$as_me:$LINENO: result: yes" >&5
9094 echo "${ECHO_T}yes" >&6
9095 else
9096 echo "$as_me:$LINENO: result: no" >&5
9097 echo "${ECHO_T}no" >&6
9098 fi
9099
9100
9101
9102
9103 enablestring=
9104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9106 no_cache=0
9107 # Check whether --enable-palette or --disable-palette was given.
9108 if test "${enable_palette+set}" = set; then
9109 enableval="$enable_palette"
9110
9111 if test "$enableval" = yes; then
9112 ac_cv_use_palette='wxUSE_PALETTE=yes'
9113 else
9114 ac_cv_use_palette='wxUSE_PALETTE=no'
9115 fi
9116
9117 else
9118
9119 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9120 if test "x$LINE" != x ; then
9121 eval "DEFAULT_$LINE"
9122 else
9123 no_cache=1
9124 fi
9125
9126 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9127
9128 fi;
9129
9130 eval "$ac_cv_use_palette"
9131 if test "$no_cache" != 1; then
9132 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9133 fi
9134
9135 if test "$wxUSE_PALETTE" = yes; then
9136 echo "$as_me:$LINENO: result: yes" >&5
9137 echo "${ECHO_T}yes" >&6
9138 else
9139 echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6
9141 fi
9142
9143
9144 enablestring=
9145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9146 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9147 no_cache=0
9148 # Check whether --enable-image or --disable-image was given.
9149 if test "${enable_image+set}" = set; then
9150 enableval="$enable_image"
9151
9152 if test "$enableval" = yes; then
9153 ac_cv_use_image='wxUSE_IMAGE=yes'
9154 else
9155 ac_cv_use_image='wxUSE_IMAGE=no'
9156 fi
9157
9158 else
9159
9160 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9161 if test "x$LINE" != x ; then
9162 eval "DEFAULT_$LINE"
9163 else
9164 no_cache=1
9165 fi
9166
9167 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9168
9169 fi;
9170
9171 eval "$ac_cv_use_image"
9172 if test "$no_cache" != 1; then
9173 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9174 fi
9175
9176 if test "$wxUSE_IMAGE" = yes; then
9177 echo "$as_me:$LINENO: result: yes" >&5
9178 echo "${ECHO_T}yes" >&6
9179 else
9180 echo "$as_me:$LINENO: result: no" >&5
9181 echo "${ECHO_T}no" >&6
9182 fi
9183
9184
9185 enablestring=
9186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9187 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9188 no_cache=0
9189 # Check whether --enable-gif or --disable-gif was given.
9190 if test "${enable_gif+set}" = set; then
9191 enableval="$enable_gif"
9192
9193 if test "$enableval" = yes; then
9194 ac_cv_use_gif='wxUSE_GIF=yes'
9195 else
9196 ac_cv_use_gif='wxUSE_GIF=no'
9197 fi
9198
9199 else
9200
9201 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9202 if test "x$LINE" != x ; then
9203 eval "DEFAULT_$LINE"
9204 else
9205 no_cache=1
9206 fi
9207
9208 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9209
9210 fi;
9211
9212 eval "$ac_cv_use_gif"
9213 if test "$no_cache" != 1; then
9214 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9215 fi
9216
9217 if test "$wxUSE_GIF" = yes; then
9218 echo "$as_me:$LINENO: result: yes" >&5
9219 echo "${ECHO_T}yes" >&6
9220 else
9221 echo "$as_me:$LINENO: result: no" >&5
9222 echo "${ECHO_T}no" >&6
9223 fi
9224
9225
9226 enablestring=
9227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9228 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9229 no_cache=0
9230 # Check whether --enable-pcx or --disable-pcx was given.
9231 if test "${enable_pcx+set}" = set; then
9232 enableval="$enable_pcx"
9233
9234 if test "$enableval" = yes; then
9235 ac_cv_use_pcx='wxUSE_PCX=yes'
9236 else
9237 ac_cv_use_pcx='wxUSE_PCX=no'
9238 fi
9239
9240 else
9241
9242 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9243 if test "x$LINE" != x ; then
9244 eval "DEFAULT_$LINE"
9245 else
9246 no_cache=1
9247 fi
9248
9249 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9250
9251 fi;
9252
9253 eval "$ac_cv_use_pcx"
9254 if test "$no_cache" != 1; then
9255 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9256 fi
9257
9258 if test "$wxUSE_PCX" = yes; then
9259 echo "$as_me:$LINENO: result: yes" >&5
9260 echo "${ECHO_T}yes" >&6
9261 else
9262 echo "$as_me:$LINENO: result: no" >&5
9263 echo "${ECHO_T}no" >&6
9264 fi
9265
9266
9267 enablestring=
9268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9269 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9270 no_cache=0
9271 # Check whether --enable-iff or --disable-iff was given.
9272 if test "${enable_iff+set}" = set; then
9273 enableval="$enable_iff"
9274
9275 if test "$enableval" = yes; then
9276 ac_cv_use_iff='wxUSE_IFF=yes'
9277 else
9278 ac_cv_use_iff='wxUSE_IFF=no'
9279 fi
9280
9281 else
9282
9283 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9284 if test "x$LINE" != x ; then
9285 eval "DEFAULT_$LINE"
9286 else
9287 no_cache=1
9288 fi
9289
9290 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9291
9292 fi;
9293
9294 eval "$ac_cv_use_iff"
9295 if test "$no_cache" != 1; then
9296 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9297 fi
9298
9299 if test "$wxUSE_IFF" = yes; then
9300 echo "$as_me:$LINENO: result: yes" >&5
9301 echo "${ECHO_T}yes" >&6
9302 else
9303 echo "$as_me:$LINENO: result: no" >&5
9304 echo "${ECHO_T}no" >&6
9305 fi
9306
9307
9308 enablestring=
9309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9311 no_cache=0
9312 # Check whether --enable-pnm or --disable-pnm was given.
9313 if test "${enable_pnm+set}" = set; then
9314 enableval="$enable_pnm"
9315
9316 if test "$enableval" = yes; then
9317 ac_cv_use_pnm='wxUSE_PNM=yes'
9318 else
9319 ac_cv_use_pnm='wxUSE_PNM=no'
9320 fi
9321
9322 else
9323
9324 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9325 if test "x$LINE" != x ; then
9326 eval "DEFAULT_$LINE"
9327 else
9328 no_cache=1
9329 fi
9330
9331 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9332
9333 fi;
9334
9335 eval "$ac_cv_use_pnm"
9336 if test "$no_cache" != 1; then
9337 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9338 fi
9339
9340 if test "$wxUSE_PNM" = yes; then
9341 echo "$as_me:$LINENO: result: yes" >&5
9342 echo "${ECHO_T}yes" >&6
9343 else
9344 echo "$as_me:$LINENO: result: no" >&5
9345 echo "${ECHO_T}no" >&6
9346 fi
9347
9348
9349 enablestring=
9350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9351 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9352 no_cache=0
9353 # Check whether --enable-xpm or --disable-xpm was given.
9354 if test "${enable_xpm+set}" = set; then
9355 enableval="$enable_xpm"
9356
9357 if test "$enableval" = yes; then
9358 ac_cv_use_xpm='wxUSE_XPM=yes'
9359 else
9360 ac_cv_use_xpm='wxUSE_XPM=no'
9361 fi
9362
9363 else
9364
9365 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9366 if test "x$LINE" != x ; then
9367 eval "DEFAULT_$LINE"
9368 else
9369 no_cache=1
9370 fi
9371
9372 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9373
9374 fi;
9375
9376 eval "$ac_cv_use_xpm"
9377 if test "$no_cache" != 1; then
9378 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9379 fi
9380
9381 if test "$wxUSE_XPM" = yes; then
9382 echo "$as_me:$LINENO: result: yes" >&5
9383 echo "${ECHO_T}yes" >&6
9384 else
9385 echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6
9387 fi
9388
9389
9390 enablestring=
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9393 no_cache=0
9394 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9395 if test "${enable_ico_cur+set}" = set; then
9396 enableval="$enable_ico_cur"
9397
9398 if test "$enableval" = yes; then
9399 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9400 else
9401 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9402 fi
9403
9404 else
9405
9406 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 else
9410 no_cache=1
9411 fi
9412
9413 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9414
9415 fi;
9416
9417 eval "$ac_cv_use_ico_cur"
9418 if test "$no_cache" != 1; then
9419 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9420 fi
9421
9422 if test "$wxUSE_ICO_CUR" = yes; then
9423 echo "$as_me:$LINENO: result: yes" >&5
9424 echo "${ECHO_T}yes" >&6
9425 else
9426 echo "$as_me:$LINENO: result: no" >&5
9427 echo "${ECHO_T}no" >&6
9428 fi
9429
9430
9431 fi
9432
9433
9434
9435 enablestring=
9436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9437 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9438 no_cache=0
9439 # Check whether --enable-official_build or --disable-official_build was given.
9440 if test "${enable_official_build+set}" = set; then
9441 enableval="$enable_official_build"
9442
9443 if test "$enableval" = yes; then
9444 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9445 else
9446 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9447 fi
9448
9449 else
9450
9451 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9452 if test "x$LINE" != x ; then
9453 eval "DEFAULT_$LINE"
9454 else
9455 no_cache=1
9456 fi
9457
9458 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9459
9460 fi;
9461
9462 eval "$ac_cv_use_official_build"
9463 if test "$no_cache" != 1; then
9464 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9465 fi
9466
9467 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9468 echo "$as_me:$LINENO: result: yes" >&5
9469 echo "${ECHO_T}yes" >&6
9470 else
9471 echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6
9473 fi
9474
9475 # Check whether --enable-vendor or --disable-vendor was given.
9476 if test "${enable_vendor+set}" = set; then
9477 enableval="$enable_vendor"
9478 VENDOR="$enableval"
9479 fi;
9480 if test "x$VENDOR" = "x"; then
9481 VENDOR="custom"
9482 fi
9483
9484 case "${host}" in
9485 *-pc-os2_emx | *-pc-os2-emx )
9486 PATH_IFS=';'
9487 ;;
9488 *)
9489 PATH_IFS=':'
9490 ;;
9491 esac
9492
9493
9494
9495 echo "saving argument cache $wx_arg_cache_file"
9496 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9497
9498
9499
9500 echo "$as_me:$LINENO: checking for toolkit" >&5
9501 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9502
9503 # In Wine, we need to default to MSW, not GTK or MOTIF
9504 if test "$wxUSE_WINE" = "yes"; then
9505 DEFAULT_DEFAULT_wxUSE_GTK=0
9506 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9507 DEFAULT_DEFAULT_wxUSE_MSW=1
9508 fi
9509
9510 if test "$wxUSE_GUI" = "yes"; then
9511
9512 if test "$USE_BEOS" = 1; then
9513 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9514 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9515 { (exit 1); exit 1; }; }
9516 fi
9517
9518 if test "$TOOLKIT_GIVEN" = 1; then
9519 for toolkit in `echo $ALL_TOOLKITS`; do
9520 var=wxUSE_$toolkit
9521 eval "value=\$${var}"
9522 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9523 done
9524 else
9525 for toolkit in `echo $ALL_TOOLKITS`; do
9526 if test "$has_toolkit_in_cache" != 1; then
9527 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9528 else
9529 var=DEFAULT_wxUSE_$toolkit
9530 fi
9531 eval "wxUSE_$toolkit=\$${var}"
9532 done
9533 fi
9534
9535 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9536 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9537 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9538
9539 case "${host}" in
9540 *-pc-os2_emx | *-pc-os2-emx )
9541 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9542 esac
9543
9544 case "$NUM_TOOLKITS" in
9545 1)
9546 ;;
9547 0)
9548 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9549 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9550 { (exit 1); exit 1; }; }
9551 ;;
9552 *)
9553 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9554 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9555 { (exit 1); exit 1; }; }
9556 esac
9557
9558 for toolkit in `echo $ALL_TOOLKITS`; do
9559 var=wxUSE_$toolkit
9560 eval "value=\$${var}"
9561 if test "x$value" != x; then
9562 cache_var=CACHE_$toolkit
9563 eval "cache=\$${cache_var}"
9564 if test "$cache" = 1; then
9565 echo "$var=$value" >> ${wx_arg_cache_file}
9566 fi
9567 if test "$value" = 1; then
9568 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9569 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9570 echo "${ECHO_T}$toolkit_echo" >&6
9571 fi
9572 fi
9573 done
9574 else
9575 if test "x$host_alias" != "x"; then
9576 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9577 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9578 else
9579 echo "$as_me:$LINENO: result: base only" >&5
9580 echo "${ECHO_T}base only" >&6
9581 fi
9582 fi
9583
9584 wants_win32=0
9585 doesnt_want_win32=0
9586 case "${host}" in
9587 *-*-cygwin*)
9588 if test "$wxUSE_MSW" = 1 ; then
9589 wants_win32=1
9590 else
9591 doesnt_want_win32=1
9592 fi
9593 ;;
9594 *-*-mingw*)
9595 wants_win32=1
9596 ;;
9597 esac
9598
9599 if test "$wxUSE_WINE" = "yes"; then
9600 wants_win32=1
9601 CC=winegcc
9602 CXX=wineg++
9603 RESCOMP=wrc
9604 fi
9605
9606 if test "$wants_win32" = 1 ; then
9607 USE_UNIX=0
9608 USE_WIN32=1
9609 cat >>confdefs.h <<\_ACEOF
9610 #define __WIN32__ 1
9611 _ACEOF
9612
9613 cat >>confdefs.h <<\_ACEOF
9614 #define __WIN95__ 1
9615 _ACEOF
9616
9617 cat >>confdefs.h <<\_ACEOF
9618 #define __WINDOWS__ 1
9619 _ACEOF
9620
9621 cat >>confdefs.h <<\_ACEOF
9622 #define __GNUWIN32__ 1
9623 _ACEOF
9624
9625 cat >>confdefs.h <<\_ACEOF
9626 #define STRICT 1
9627 _ACEOF
9628
9629 cat >>confdefs.h <<\_ACEOF
9630 #define WINVER 0x0400
9631 _ACEOF
9632
9633 fi
9634 if test "$doesnt_want_win32" = 1 ; then
9635 USE_UNIX=1
9636 USE_WIN32=0
9637 fi
9638
9639 if test "$USE_UNIX" = 1 ; then
9640 wxUSE_UNIX=yes
9641 cat >>confdefs.h <<\_ACEOF
9642 #define __UNIX__ 1
9643 _ACEOF
9644
9645 fi
9646
9647
9648 cat >confcache <<\_ACEOF
9649 # This file is a shell script that caches the results of configure
9650 # tests run on this system so they can be shared between configure
9651 # scripts and configure runs, see configure's option --config-cache.
9652 # It is not useful on other systems. If it contains results you don't
9653 # want to keep, you may remove or edit it.
9654 #
9655 # config.status only pays attention to the cache file if you give it
9656 # the --recheck option to rerun configure.
9657 #
9658 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9659 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9660 # following values.
9661
9662 _ACEOF
9663
9664 # The following way of writing the cache mishandles newlines in values,
9665 # but we know of no workaround that is simple, portable, and efficient.
9666 # So, don't put newlines in cache variables' values.
9667 # Ultrix sh set writes to stderr and can't be redirected directly,
9668 # and sets the high bit in the cache file unless we assign to the vars.
9669 {
9670 (set) 2>&1 |
9671 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9672 *ac_space=\ *)
9673 # `set' does not quote correctly, so add quotes (double-quote
9674 # substitution turns \\\\ into \\, and sed turns \\ into \).
9675 sed -n \
9676 "s/'/'\\\\''/g;
9677 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9678 ;;
9679 *)
9680 # `set' quotes correctly as required by POSIX, so do not add quotes.
9681 sed -n \
9682 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9683 ;;
9684 esac;
9685 } |
9686 sed '
9687 t clear
9688 : clear
9689 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9690 t end
9691 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9692 : end' >>confcache
9693 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9694 if test -w $cache_file; then
9695 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9696 cat confcache >$cache_file
9697 else
9698 echo "not updating unwritable cache $cache_file"
9699 fi
9700 fi
9701 rm -f confcache
9702
9703 if test "$build" != "$host" ; then
9704 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9705 CC=$host_alias-gcc
9706 CXX=$host_alias-c++
9707 AR=$host_alias-ar
9708 RANLIB=$host_alias-ranlib
9709 DLLTOOL=$host_alias-dlltool
9710 RESCOMP=$host_alias-windres
9711 LD=$host_alias-ld
9712 NM=$host_alias-nm
9713 STRIP=$host_alias-strip
9714 else
9715 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9716 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9717 { (exit 1); exit 1; }; }
9718 fi
9719 fi
9720
9721 CFLAGS=${CFLAGS:=}
9722 ac_ext=c
9723 ac_cpp='$CPP $CPPFLAGS'
9724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9727 if test -n "$ac_tool_prefix"; then
9728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9729 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9730 echo "$as_me:$LINENO: checking for $ac_word" >&5
9731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9732 if test "${ac_cv_prog_CC+set}" = set; then
9733 echo $ECHO_N "(cached) $ECHO_C" >&6
9734 else
9735 if test -n "$CC"; then
9736 ac_cv_prog_CC="$CC" # Let the user override the test.
9737 else
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 for as_dir in $PATH
9740 do
9741 IFS=$as_save_IFS
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9745 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 break 2
9748 fi
9749 done
9750 done
9751
9752 fi
9753 fi
9754 CC=$ac_cv_prog_CC
9755 if test -n "$CC"; then
9756 echo "$as_me:$LINENO: result: $CC" >&5
9757 echo "${ECHO_T}$CC" >&6
9758 else
9759 echo "$as_me:$LINENO: result: no" >&5
9760 echo "${ECHO_T}no" >&6
9761 fi
9762
9763 fi
9764 if test -z "$ac_cv_prog_CC"; then
9765 ac_ct_CC=$CC
9766 # Extract the first word of "gcc", so it can be a program name with args.
9767 set dummy gcc; ac_word=$2
9768 echo "$as_me:$LINENO: checking for $ac_word" >&5
9769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9770 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9771 echo $ECHO_N "(cached) $ECHO_C" >&6
9772 else
9773 if test -n "$ac_ct_CC"; then
9774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9775 else
9776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 for as_dir in $PATH
9778 do
9779 IFS=$as_save_IFS
9780 test -z "$as_dir" && as_dir=.
9781 for ac_exec_ext in '' $ac_executable_extensions; do
9782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9783 ac_cv_prog_ac_ct_CC="gcc"
9784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9785 break 2
9786 fi
9787 done
9788 done
9789
9790 fi
9791 fi
9792 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9793 if test -n "$ac_ct_CC"; then
9794 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9795 echo "${ECHO_T}$ac_ct_CC" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9799 fi
9800
9801 CC=$ac_ct_CC
9802 else
9803 CC="$ac_cv_prog_CC"
9804 fi
9805
9806 if test -z "$CC"; then
9807 if test -n "$ac_tool_prefix"; then
9808 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9809 set dummy ${ac_tool_prefix}cc; ac_word=$2
9810 echo "$as_me:$LINENO: checking for $ac_word" >&5
9811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9812 if test "${ac_cv_prog_CC+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 else
9815 if test -n "$CC"; then
9816 ac_cv_prog_CC="$CC" # Let the user override the test.
9817 else
9818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9819 for as_dir in $PATH
9820 do
9821 IFS=$as_save_IFS
9822 test -z "$as_dir" && as_dir=.
9823 for ac_exec_ext in '' $ac_executable_extensions; do
9824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9825 ac_cv_prog_CC="${ac_tool_prefix}cc"
9826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 break 2
9828 fi
9829 done
9830 done
9831
9832 fi
9833 fi
9834 CC=$ac_cv_prog_CC
9835 if test -n "$CC"; then
9836 echo "$as_me:$LINENO: result: $CC" >&5
9837 echo "${ECHO_T}$CC" >&6
9838 else
9839 echo "$as_me:$LINENO: result: no" >&5
9840 echo "${ECHO_T}no" >&6
9841 fi
9842
9843 fi
9844 if test -z "$ac_cv_prog_CC"; then
9845 ac_ct_CC=$CC
9846 # Extract the first word of "cc", so it can be a program name with args.
9847 set dummy cc; ac_word=$2
9848 echo "$as_me:$LINENO: checking for $ac_word" >&5
9849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9850 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9851 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 else
9853 if test -n "$ac_ct_CC"; then
9854 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9855 else
9856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 for as_dir in $PATH
9858 do
9859 IFS=$as_save_IFS
9860 test -z "$as_dir" && as_dir=.
9861 for ac_exec_ext in '' $ac_executable_extensions; do
9862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9863 ac_cv_prog_ac_ct_CC="cc"
9864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9865 break 2
9866 fi
9867 done
9868 done
9869
9870 fi
9871 fi
9872 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9873 if test -n "$ac_ct_CC"; then
9874 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9875 echo "${ECHO_T}$ac_ct_CC" >&6
9876 else
9877 echo "$as_me:$LINENO: result: no" >&5
9878 echo "${ECHO_T}no" >&6
9879 fi
9880
9881 CC=$ac_ct_CC
9882 else
9883 CC="$ac_cv_prog_CC"
9884 fi
9885
9886 fi
9887 if test -z "$CC"; then
9888 # Extract the first word of "cc", so it can be a program name with args.
9889 set dummy cc; ac_word=$2
9890 echo "$as_me:$LINENO: checking for $ac_word" >&5
9891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9892 if test "${ac_cv_prog_CC+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 else
9895 if test -n "$CC"; then
9896 ac_cv_prog_CC="$CC" # Let the user override the test.
9897 else
9898 ac_prog_rejected=no
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900 for as_dir in $PATH
9901 do
9902 IFS=$as_save_IFS
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9906 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9907 ac_prog_rejected=yes
9908 continue
9909 fi
9910 ac_cv_prog_CC="cc"
9911 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9912 break 2
9913 fi
9914 done
9915 done
9916
9917 if test $ac_prog_rejected = yes; then
9918 # We found a bogon in the path, so make sure we never use it.
9919 set dummy $ac_cv_prog_CC
9920 shift
9921 if test $# != 0; then
9922 # We chose a different compiler from the bogus one.
9923 # However, it has the same basename, so the bogon will be chosen
9924 # first if we set CC to just the basename; use the full file name.
9925 shift
9926 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9927 fi
9928 fi
9929 fi
9930 fi
9931 CC=$ac_cv_prog_CC
9932 if test -n "$CC"; then
9933 echo "$as_me:$LINENO: result: $CC" >&5
9934 echo "${ECHO_T}$CC" >&6
9935 else
9936 echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6
9938 fi
9939
9940 fi
9941 if test -z "$CC"; then
9942 if test -n "$ac_tool_prefix"; then
9943 for ac_prog in cl
9944 do
9945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9947 echo "$as_me:$LINENO: checking for $ac_word" >&5
9948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9949 if test "${ac_cv_prog_CC+set}" = set; then
9950 echo $ECHO_N "(cached) $ECHO_C" >&6
9951 else
9952 if test -n "$CC"; then
9953 ac_cv_prog_CC="$CC" # Let the user override the test.
9954 else
9955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9956 for as_dir in $PATH
9957 do
9958 IFS=$as_save_IFS
9959 test -z "$as_dir" && as_dir=.
9960 for ac_exec_ext in '' $ac_executable_extensions; do
9961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9962 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
9963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 break 2
9965 fi
9966 done
9967 done
9968
9969 fi
9970 fi
9971 CC=$ac_cv_prog_CC
9972 if test -n "$CC"; then
9973 echo "$as_me:$LINENO: result: $CC" >&5
9974 echo "${ECHO_T}$CC" >&6
9975 else
9976 echo "$as_me:$LINENO: result: no" >&5
9977 echo "${ECHO_T}no" >&6
9978 fi
9979
9980 test -n "$CC" && break
9981 done
9982 fi
9983 if test -z "$CC"; then
9984 ac_ct_CC=$CC
9985 for ac_prog in cl
9986 do
9987 # Extract the first word of "$ac_prog", so it can be a program name with args.
9988 set dummy $ac_prog; ac_word=$2
9989 echo "$as_me:$LINENO: checking for $ac_word" >&5
9990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9992 echo $ECHO_N "(cached) $ECHO_C" >&6
9993 else
9994 if test -n "$ac_ct_CC"; then
9995 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9996 else
9997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 for as_dir in $PATH
9999 do
10000 IFS=$as_save_IFS
10001 test -z "$as_dir" && as_dir=.
10002 for ac_exec_ext in '' $ac_executable_extensions; do
10003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10004 ac_cv_prog_ac_ct_CC="$ac_prog"
10005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10006 break 2
10007 fi
10008 done
10009 done
10010
10011 fi
10012 fi
10013 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10014 if test -n "$ac_ct_CC"; then
10015 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10016 echo "${ECHO_T}$ac_ct_CC" >&6
10017 else
10018 echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6
10020 fi
10021
10022 test -n "$ac_ct_CC" && break
10023 done
10024
10025 CC=$ac_ct_CC
10026 fi
10027
10028 fi
10029
10030
10031 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10032 See \`config.log' for more details." >&5
10033 echo "$as_me: error: no acceptable C compiler found in \$PATH
10034 See \`config.log' for more details." >&2;}
10035 { (exit 1); exit 1; }; }
10036
10037 # Provide some information about the compiler.
10038 echo "$as_me:$LINENO:" \
10039 "checking for C compiler version" >&5
10040 ac_compiler=`set X $ac_compile; echo $2`
10041 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10042 (eval $ac_compiler --version </dev/null >&5) 2>&5
10043 ac_status=$?
10044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10045 (exit $ac_status); }
10046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10047 (eval $ac_compiler -v </dev/null >&5) 2>&5
10048 ac_status=$?
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }
10051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10052 (eval $ac_compiler -V </dev/null >&5) 2>&5
10053 ac_status=$?
10054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10055 (exit $ac_status); }
10056
10057 cat >conftest.$ac_ext <<_ACEOF
10058 #line $LINENO "configure"
10059 /* confdefs.h. */
10060 _ACEOF
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064
10065 int
10066 main ()
10067 {
10068
10069 ;
10070 return 0;
10071 }
10072 _ACEOF
10073 ac_clean_files_save=$ac_clean_files
10074 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10075 # Try to create an executable without -o first, disregard a.out.
10076 # It will help us diagnose broken compilers, and finding out an intuition
10077 # of exeext.
10078 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10079 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10080 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10081 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10082 (eval $ac_link_default) 2>&5
10083 ac_status=$?
10084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10085 (exit $ac_status); }; then
10086 # Find the output, starting from the most likely. This scheme is
10087 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10088 # resort.
10089
10090 # Be careful to initialize this variable, since it used to be cached.
10091 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10092 ac_cv_exeext=
10093 # b.out is created by i960 compilers.
10094 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10095 do
10096 test -f "$ac_file" || continue
10097 case $ac_file in
10098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10099 ;;
10100 conftest.$ac_ext )
10101 # This is the source file.
10102 ;;
10103 [ab].out )
10104 # We found the default executable, but exeext='' is most
10105 # certainly right.
10106 break;;
10107 *.* )
10108 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10109 # FIXME: I believe we export ac_cv_exeext for Libtool,
10110 # but it would be cool to find out if it's true. Does anybody
10111 # maintain Libtool? --akim.
10112 export ac_cv_exeext
10113 break;;
10114 * )
10115 break;;
10116 esac
10117 done
10118 else
10119 echo "$as_me: failed program was:" >&5
10120 sed 's/^/| /' conftest.$ac_ext >&5
10121
10122 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10123 See \`config.log' for more details." >&5
10124 echo "$as_me: error: C compiler cannot create executables
10125 See \`config.log' for more details." >&2;}
10126 { (exit 77); exit 77; }; }
10127 fi
10128
10129 ac_exeext=$ac_cv_exeext
10130 echo "$as_me:$LINENO: result: $ac_file" >&5
10131 echo "${ECHO_T}$ac_file" >&6
10132
10133 # Check the compiler produces executables we can run. If not, either
10134 # the compiler is broken, or we cross compile.
10135 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10136 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10137 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10138 # If not cross compiling, check that we can run a simple program.
10139 if test "$cross_compiling" != yes; then
10140 if { ac_try='./$ac_file'
10141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10142 (eval $ac_try) 2>&5
10143 ac_status=$?
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); }; }; then
10146 cross_compiling=no
10147 else
10148 if test "$cross_compiling" = maybe; then
10149 cross_compiling=yes
10150 else
10151 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10152 If you meant to cross compile, use \`--host'.
10153 See \`config.log' for more details." >&5
10154 echo "$as_me: error: cannot run C compiled programs.
10155 If you meant to cross compile, use \`--host'.
10156 See \`config.log' for more details." >&2;}
10157 { (exit 1); exit 1; }; }
10158 fi
10159 fi
10160 fi
10161 echo "$as_me:$LINENO: result: yes" >&5
10162 echo "${ECHO_T}yes" >&6
10163
10164 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10165 ac_clean_files=$ac_clean_files_save
10166 # Check the compiler produces executables we can run. If not, either
10167 # the compiler is broken, or we cross compile.
10168 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10169 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10170 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10171 echo "${ECHO_T}$cross_compiling" >&6
10172
10173 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10174 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10176 (eval $ac_link) 2>&5
10177 ac_status=$?
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; then
10180 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10181 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10182 # work properly (i.e., refer to `conftest.exe'), while it won't with
10183 # `rm'.
10184 for ac_file in conftest.exe conftest conftest.*; do
10185 test -f "$ac_file" || continue
10186 case $ac_file in
10187 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10188 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10189 export ac_cv_exeext
10190 break;;
10191 * ) break;;
10192 esac
10193 done
10194 else
10195 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10196 See \`config.log' for more details." >&5
10197 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10198 See \`config.log' for more details." >&2;}
10199 { (exit 1); exit 1; }; }
10200 fi
10201
10202 rm -f conftest$ac_cv_exeext
10203 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10204 echo "${ECHO_T}$ac_cv_exeext" >&6
10205
10206 rm -f conftest.$ac_ext
10207 EXEEXT=$ac_cv_exeext
10208 ac_exeext=$EXEEXT
10209 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10210 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10211 if test "${ac_cv_objext+set}" = set; then
10212 echo $ECHO_N "(cached) $ECHO_C" >&6
10213 else
10214 cat >conftest.$ac_ext <<_ACEOF
10215 #line $LINENO "configure"
10216 /* confdefs.h. */
10217 _ACEOF
10218 cat confdefs.h >>conftest.$ac_ext
10219 cat >>conftest.$ac_ext <<_ACEOF
10220 /* end confdefs.h. */
10221
10222 int
10223 main ()
10224 {
10225
10226 ;
10227 return 0;
10228 }
10229 _ACEOF
10230 rm -f conftest.o conftest.obj
10231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10232 (eval $ac_compile) 2>&5
10233 ac_status=$?
10234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10235 (exit $ac_status); }; then
10236 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10237 case $ac_file in
10238 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10239 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10240 break;;
10241 esac
10242 done
10243 else
10244 echo "$as_me: failed program was:" >&5
10245 sed 's/^/| /' conftest.$ac_ext >&5
10246
10247 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10248 See \`config.log' for more details." >&5
10249 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10250 See \`config.log' for more details." >&2;}
10251 { (exit 1); exit 1; }; }
10252 fi
10253
10254 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10255 fi
10256 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10257 echo "${ECHO_T}$ac_cv_objext" >&6
10258 OBJEXT=$ac_cv_objext
10259 ac_objext=$OBJEXT
10260 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10261 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10262 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 cat >conftest.$ac_ext <<_ACEOF
10266 #line $LINENO "configure"
10267 /* confdefs.h. */
10268 _ACEOF
10269 cat confdefs.h >>conftest.$ac_ext
10270 cat >>conftest.$ac_ext <<_ACEOF
10271 /* end confdefs.h. */
10272
10273 int
10274 main ()
10275 {
10276 #ifndef __GNUC__
10277 choke me
10278 #endif
10279
10280 ;
10281 return 0;
10282 }
10283 _ACEOF
10284 rm -f conftest.$ac_objext
10285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10286 (eval $ac_compile) 2>&5
10287 ac_status=$?
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try='test -s conftest.$ac_objext'
10291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292 (eval $ac_try) 2>&5
10293 ac_status=$?
10294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295 (exit $ac_status); }; }; then
10296 ac_compiler_gnu=yes
10297 else
10298 echo "$as_me: failed program was:" >&5
10299 sed 's/^/| /' conftest.$ac_ext >&5
10300
10301 ac_compiler_gnu=no
10302 fi
10303 rm -f conftest.$ac_objext conftest.$ac_ext
10304 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10305
10306 fi
10307 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10308 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10309 GCC=`test $ac_compiler_gnu = yes && echo yes`
10310 ac_test_CFLAGS=${CFLAGS+set}
10311 ac_save_CFLAGS=$CFLAGS
10312 CFLAGS="-g"
10313 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10314 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10315 if test "${ac_cv_prog_cc_g+set}" = set; then
10316 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 else
10318 cat >conftest.$ac_ext <<_ACEOF
10319 #line $LINENO "configure"
10320 /* confdefs.h. */
10321 _ACEOF
10322 cat confdefs.h >>conftest.$ac_ext
10323 cat >>conftest.$ac_ext <<_ACEOF
10324 /* end confdefs.h. */
10325
10326 int
10327 main ()
10328 {
10329
10330 ;
10331 return 0;
10332 }
10333 _ACEOF
10334 rm -f conftest.$ac_objext
10335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10336 (eval $ac_compile) 2>&5
10337 ac_status=$?
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } &&
10340 { ac_try='test -s conftest.$ac_objext'
10341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10342 (eval $ac_try) 2>&5
10343 ac_status=$?
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); }; }; then
10346 ac_cv_prog_cc_g=yes
10347 else
10348 echo "$as_me: failed program was:" >&5
10349 sed 's/^/| /' conftest.$ac_ext >&5
10350
10351 ac_cv_prog_cc_g=no
10352 fi
10353 rm -f conftest.$ac_objext conftest.$ac_ext
10354 fi
10355 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10356 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10357 if test "$ac_test_CFLAGS" = set; then
10358 CFLAGS=$ac_save_CFLAGS
10359 elif test $ac_cv_prog_cc_g = yes; then
10360 if test "$GCC" = yes; then
10361 CFLAGS="-g -O2"
10362 else
10363 CFLAGS="-g"
10364 fi
10365 else
10366 if test "$GCC" = yes; then
10367 CFLAGS="-O2"
10368 else
10369 CFLAGS=
10370 fi
10371 fi
10372 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10373 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10374 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10375 echo $ECHO_N "(cached) $ECHO_C" >&6
10376 else
10377 ac_cv_prog_cc_stdc=no
10378 ac_save_CC=$CC
10379 cat >conftest.$ac_ext <<_ACEOF
10380 #line $LINENO "configure"
10381 /* confdefs.h. */
10382 _ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10386 #include <stdarg.h>
10387 #include <stdio.h>
10388 #include <sys/types.h>
10389 #include <sys/stat.h>
10390 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10391 struct buf { int x; };
10392 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10393 static char *e (p, i)
10394 char **p;
10395 int i;
10396 {
10397 return p[i];
10398 }
10399 static char *f (char * (*g) (char **, int), char **p, ...)
10400 {
10401 char *s;
10402 va_list v;
10403 va_start (v,p);
10404 s = g (p, va_arg (v,int));
10405 va_end (v);
10406 return s;
10407 }
10408 int test (int i, double x);
10409 struct s1 {int (*f) (int a);};
10410 struct s2 {int (*f) (double a);};
10411 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10412 int argc;
10413 char **argv;
10414 int
10415 main ()
10416 {
10417 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10418 ;
10419 return 0;
10420 }
10421 _ACEOF
10422 # Don't try gcc -ansi; that turns off useful extensions and
10423 # breaks some systems' header files.
10424 # AIX -qlanglvl=ansi
10425 # Ultrix and OSF/1 -std1
10426 # HP-UX 10.20 and later -Ae
10427 # HP-UX older versions -Aa -D_HPUX_SOURCE
10428 # SVR4 -Xc -D__EXTENSIONS__
10429 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10430 do
10431 CC="$ac_save_CC $ac_arg"
10432 rm -f conftest.$ac_objext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10435 ac_status=$?
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest.$ac_objext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10441 ac_status=$?
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 ac_cv_prog_cc_stdc=$ac_arg
10445 break
10446 else
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10449
10450 fi
10451 rm -f conftest.$ac_objext
10452 done
10453 rm -f conftest.$ac_ext conftest.$ac_objext
10454 CC=$ac_save_CC
10455
10456 fi
10457
10458 case "x$ac_cv_prog_cc_stdc" in
10459 x|xno)
10460 echo "$as_me:$LINENO: result: none needed" >&5
10461 echo "${ECHO_T}none needed" >&6 ;;
10462 *)
10463 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10464 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10465 CC="$CC $ac_cv_prog_cc_stdc" ;;
10466 esac
10467
10468 # Some people use a C++ compiler to compile C. Since we use `exit',
10469 # in C++ we need to declare it. In case someone uses the same compiler
10470 # for both compiling C and C++ we need to have the C++ compiler decide
10471 # the declaration of exit, since it's the most demanding environment.
10472 cat >conftest.$ac_ext <<_ACEOF
10473 #ifndef __cplusplus
10474 choke me
10475 #endif
10476 _ACEOF
10477 rm -f conftest.$ac_objext
10478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10479 (eval $ac_compile) 2>&5
10480 ac_status=$?
10481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482 (exit $ac_status); } &&
10483 { ac_try='test -s conftest.$ac_objext'
10484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485 (eval $ac_try) 2>&5
10486 ac_status=$?
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); }; }; then
10489 for ac_declaration in \
10490 ''\
10491 '#include <stdlib.h>' \
10492 'extern "C" void std::exit (int) throw (); using std::exit;' \
10493 'extern "C" void std::exit (int); using std::exit;' \
10494 'extern "C" void exit (int) throw ();' \
10495 'extern "C" void exit (int);' \
10496 'void exit (int);'
10497 do
10498 cat >conftest.$ac_ext <<_ACEOF
10499 #line $LINENO "configure"
10500 /* confdefs.h. */
10501 _ACEOF
10502 cat confdefs.h >>conftest.$ac_ext
10503 cat >>conftest.$ac_ext <<_ACEOF
10504 /* end confdefs.h. */
10505 #include <stdlib.h>
10506 $ac_declaration
10507 int
10508 main ()
10509 {
10510 exit (42);
10511 ;
10512 return 0;
10513 }
10514 _ACEOF
10515 rm -f conftest.$ac_objext
10516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10517 (eval $ac_compile) 2>&5
10518 ac_status=$?
10519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10520 (exit $ac_status); } &&
10521 { ac_try='test -s conftest.$ac_objext'
10522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10523 (eval $ac_try) 2>&5
10524 ac_status=$?
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 :
10528 else
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10531
10532 continue
10533 fi
10534 rm -f conftest.$ac_objext conftest.$ac_ext
10535 cat >conftest.$ac_ext <<_ACEOF
10536 #line $LINENO "configure"
10537 /* confdefs.h. */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h. */
10542 $ac_declaration
10543 int
10544 main ()
10545 {
10546 exit (42);
10547 ;
10548 return 0;
10549 }
10550 _ACEOF
10551 rm -f conftest.$ac_objext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10553 (eval $ac_compile) 2>&5
10554 ac_status=$?
10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556 (exit $ac_status); } &&
10557 { ac_try='test -s conftest.$ac_objext'
10558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10559 (eval $ac_try) 2>&5
10560 ac_status=$?
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); }; }; then
10563 break
10564 else
10565 echo "$as_me: failed program was:" >&5
10566 sed 's/^/| /' conftest.$ac_ext >&5
10567
10568 fi
10569 rm -f conftest.$ac_objext conftest.$ac_ext
10570 done
10571 rm -f conftest*
10572 if test -n "$ac_declaration"; then
10573 echo '#ifdef __cplusplus' >>confdefs.h
10574 echo $ac_declaration >>confdefs.h
10575 echo '#endif' >>confdefs.h
10576 fi
10577
10578 else
10579 echo "$as_me: failed program was:" >&5
10580 sed 's/^/| /' conftest.$ac_ext >&5
10581
10582 fi
10583 rm -f conftest.$ac_objext conftest.$ac_ext
10584 ac_ext=c
10585 ac_cpp='$CPP $CPPFLAGS'
10586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10589
10590
10591
10592 ac_ext=c
10593 ac_cpp='$CPP $CPPFLAGS'
10594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10597 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10598 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10599 # On Suns, sometimes $CPP names a directory.
10600 if test -n "$CPP" && test -d "$CPP"; then
10601 CPP=
10602 fi
10603 if test -z "$CPP"; then
10604 if test "${ac_cv_prog_CPP+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 else
10607 # Double quotes because CPP needs to be expanded
10608 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10609 do
10610 ac_preproc_ok=false
10611 for ac_c_preproc_warn_flag in '' yes
10612 do
10613 # Use a header file that comes with gcc, so configuring glibc
10614 # with a fresh cross-compiler works.
10615 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10616 # <limits.h> exists even on freestanding compilers.
10617 # On the NeXT, cc -E runs the code through the compiler's parser,
10618 # not just through cpp. "Syntax error" is here to catch this case.
10619 cat >conftest.$ac_ext <<_ACEOF
10620 #line $LINENO "configure"
10621 /* confdefs.h. */
10622 _ACEOF
10623 cat confdefs.h >>conftest.$ac_ext
10624 cat >>conftest.$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10626 #ifdef __STDC__
10627 # include <limits.h>
10628 #else
10629 # include <assert.h>
10630 #endif
10631 Syntax error
10632 _ACEOF
10633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10634 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10635 ac_status=$?
10636 grep -v '^ *+' conftest.er1 >conftest.err
10637 rm -f conftest.er1
10638 cat conftest.err >&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } >/dev/null; then
10641 if test -s conftest.err; then
10642 ac_cpp_err=$ac_c_preproc_warn_flag
10643 else
10644 ac_cpp_err=
10645 fi
10646 else
10647 ac_cpp_err=yes
10648 fi
10649 if test -z "$ac_cpp_err"; then
10650 :
10651 else
10652 echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10654
10655 # Broken: fails on valid input.
10656 continue
10657 fi
10658 rm -f conftest.err conftest.$ac_ext
10659
10660 # OK, works on sane cases. Now check whether non-existent headers
10661 # can be detected and how.
10662 cat >conftest.$ac_ext <<_ACEOF
10663 #line $LINENO "configure"
10664 /* confdefs.h. */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h. */
10669 #include <ac_nonexistent.h>
10670 _ACEOF
10671 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10672 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10673 ac_status=$?
10674 grep -v '^ *+' conftest.er1 >conftest.err
10675 rm -f conftest.er1
10676 cat conftest.err >&5
10677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678 (exit $ac_status); } >/dev/null; then
10679 if test -s conftest.err; then
10680 ac_cpp_err=$ac_c_preproc_warn_flag
10681 else
10682 ac_cpp_err=
10683 fi
10684 else
10685 ac_cpp_err=yes
10686 fi
10687 if test -z "$ac_cpp_err"; then
10688 # Broken: success on invalid input.
10689 continue
10690 else
10691 echo "$as_me: failed program was:" >&5
10692 sed 's/^/| /' conftest.$ac_ext >&5
10693
10694 # Passes both tests.
10695 ac_preproc_ok=:
10696 break
10697 fi
10698 rm -f conftest.err conftest.$ac_ext
10699
10700 done
10701 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10702 rm -f conftest.err conftest.$ac_ext
10703 if $ac_preproc_ok; then
10704 break
10705 fi
10706
10707 done
10708 ac_cv_prog_CPP=$CPP
10709
10710 fi
10711 CPP=$ac_cv_prog_CPP
10712 else
10713 ac_cv_prog_CPP=$CPP
10714 fi
10715 echo "$as_me:$LINENO: result: $CPP" >&5
10716 echo "${ECHO_T}$CPP" >&6
10717 ac_preproc_ok=false
10718 for ac_c_preproc_warn_flag in '' yes
10719 do
10720 # Use a header file that comes with gcc, so configuring glibc
10721 # with a fresh cross-compiler works.
10722 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10723 # <limits.h> exists even on freestanding compilers.
10724 # On the NeXT, cc -E runs the code through the compiler's parser,
10725 # not just through cpp. "Syntax error" is here to catch this case.
10726 cat >conftest.$ac_ext <<_ACEOF
10727 #line $LINENO "configure"
10728 /* confdefs.h. */
10729 _ACEOF
10730 cat confdefs.h >>conftest.$ac_ext
10731 cat >>conftest.$ac_ext <<_ACEOF
10732 /* end confdefs.h. */
10733 #ifdef __STDC__
10734 # include <limits.h>
10735 #else
10736 # include <assert.h>
10737 #endif
10738 Syntax error
10739 _ACEOF
10740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10742 ac_status=$?
10743 grep -v '^ *+' conftest.er1 >conftest.err
10744 rm -f conftest.er1
10745 cat conftest.err >&5
10746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10747 (exit $ac_status); } >/dev/null; then
10748 if test -s conftest.err; then
10749 ac_cpp_err=$ac_c_preproc_warn_flag
10750 else
10751 ac_cpp_err=
10752 fi
10753 else
10754 ac_cpp_err=yes
10755 fi
10756 if test -z "$ac_cpp_err"; then
10757 :
10758 else
10759 echo "$as_me: failed program was:" >&5
10760 sed 's/^/| /' conftest.$ac_ext >&5
10761
10762 # Broken: fails on valid input.
10763 continue
10764 fi
10765 rm -f conftest.err conftest.$ac_ext
10766
10767 # OK, works on sane cases. Now check whether non-existent headers
10768 # can be detected and how.
10769 cat >conftest.$ac_ext <<_ACEOF
10770 #line $LINENO "configure"
10771 /* confdefs.h. */
10772 _ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h. */
10776 #include <ac_nonexistent.h>
10777 _ACEOF
10778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10780 ac_status=$?
10781 grep -v '^ *+' conftest.er1 >conftest.err
10782 rm -f conftest.er1
10783 cat conftest.err >&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); } >/dev/null; then
10786 if test -s conftest.err; then
10787 ac_cpp_err=$ac_c_preproc_warn_flag
10788 else
10789 ac_cpp_err=
10790 fi
10791 else
10792 ac_cpp_err=yes
10793 fi
10794 if test -z "$ac_cpp_err"; then
10795 # Broken: success on invalid input.
10796 continue
10797 else
10798 echo "$as_me: failed program was:" >&5
10799 sed 's/^/| /' conftest.$ac_ext >&5
10800
10801 # Passes both tests.
10802 ac_preproc_ok=:
10803 break
10804 fi
10805 rm -f conftest.err conftest.$ac_ext
10806
10807 done
10808 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10809 rm -f conftest.err conftest.$ac_ext
10810 if $ac_preproc_ok; then
10811 :
10812 else
10813 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10814 See \`config.log' for more details." >&5
10815 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10816 See \`config.log' for more details." >&2;}
10817 { (exit 1); exit 1; }; }
10818 fi
10819
10820 ac_ext=c
10821 ac_cpp='$CPP $CPPFLAGS'
10822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10825
10826
10827 echo "$as_me:$LINENO: checking for egrep" >&5
10828 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10829 if test "${ac_cv_prog_egrep+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 else
10832 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10833 then ac_cv_prog_egrep='grep -E'
10834 else ac_cv_prog_egrep='egrep'
10835 fi
10836 fi
10837 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10838 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10839 EGREP=$ac_cv_prog_egrep
10840
10841
10842 if test $ac_cv_c_compiler_gnu = yes; then
10843 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10844 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10845 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10847 else
10848 ac_pattern="Autoconf.*'x'"
10849 cat >conftest.$ac_ext <<_ACEOF
10850 #line $LINENO "configure"
10851 /* confdefs.h. */
10852 _ACEOF
10853 cat confdefs.h >>conftest.$ac_ext
10854 cat >>conftest.$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10856 #include <sgtty.h>
10857 Autoconf TIOCGETP
10858 _ACEOF
10859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10860 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10861 ac_cv_prog_gcc_traditional=yes
10862 else
10863 ac_cv_prog_gcc_traditional=no
10864 fi
10865 rm -f conftest*
10866
10867
10868 if test $ac_cv_prog_gcc_traditional = no; then
10869 cat >conftest.$ac_ext <<_ACEOF
10870 #line $LINENO "configure"
10871 /* confdefs.h. */
10872 _ACEOF
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 #include <termio.h>
10877 Autoconf TCGETA
10878 _ACEOF
10879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10880 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10881 ac_cv_prog_gcc_traditional=yes
10882 fi
10883 rm -f conftest*
10884
10885 fi
10886 fi
10887 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10888 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10889 if test $ac_cv_prog_gcc_traditional = yes; then
10890 CC="$CC -traditional"
10891 fi
10892 fi
10893
10894
10895
10896
10897 ac_ext=cc
10898 ac_cpp='$CXXCPP $CPPFLAGS'
10899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10902
10903
10904 CXXFLAGS=${CXXFLAGS:=}
10905 ac_ext=cc
10906 ac_cpp='$CXXCPP $CPPFLAGS'
10907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10910 if test -n "$ac_tool_prefix"; then
10911 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10912 do
10913 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10915 echo "$as_me:$LINENO: checking for $ac_word" >&5
10916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10917 if test "${ac_cv_prog_CXX+set}" = set; then
10918 echo $ECHO_N "(cached) $ECHO_C" >&6
10919 else
10920 if test -n "$CXX"; then
10921 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10922 else
10923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10924 for as_dir in $PATH
10925 do
10926 IFS=$as_save_IFS
10927 test -z "$as_dir" && as_dir=.
10928 for ac_exec_ext in '' $ac_executable_extensions; do
10929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10930 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10932 break 2
10933 fi
10934 done
10935 done
10936
10937 fi
10938 fi
10939 CXX=$ac_cv_prog_CXX
10940 if test -n "$CXX"; then
10941 echo "$as_me:$LINENO: result: $CXX" >&5
10942 echo "${ECHO_T}$CXX" >&6
10943 else
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10946 fi
10947
10948 test -n "$CXX" && break
10949 done
10950 fi
10951 if test -z "$CXX"; then
10952 ac_ct_CXX=$CXX
10953 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10954 do
10955 # Extract the first word of "$ac_prog", so it can be a program name with args.
10956 set dummy $ac_prog; ac_word=$2
10957 echo "$as_me:$LINENO: checking for $ac_word" >&5
10958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10959 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10960 echo $ECHO_N "(cached) $ECHO_C" >&6
10961 else
10962 if test -n "$ac_ct_CXX"; then
10963 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
10964 else
10965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10966 for as_dir in $PATH
10967 do
10968 IFS=$as_save_IFS
10969 test -z "$as_dir" && as_dir=.
10970 for ac_exec_ext in '' $ac_executable_extensions; do
10971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10972 ac_cv_prog_ac_ct_CXX="$ac_prog"
10973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10974 break 2
10975 fi
10976 done
10977 done
10978
10979 fi
10980 fi
10981 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
10982 if test -n "$ac_ct_CXX"; then
10983 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10984 echo "${ECHO_T}$ac_ct_CXX" >&6
10985 else
10986 echo "$as_me:$LINENO: result: no" >&5
10987 echo "${ECHO_T}no" >&6
10988 fi
10989
10990 test -n "$ac_ct_CXX" && break
10991 done
10992 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
10993
10994 CXX=$ac_ct_CXX
10995 fi
10996
10997
10998 # Provide some information about the compiler.
10999 echo "$as_me:$LINENO:" \
11000 "checking for C++ compiler version" >&5
11001 ac_compiler=`set X $ac_compile; echo $2`
11002 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11003 (eval $ac_compiler --version </dev/null >&5) 2>&5
11004 ac_status=$?
11005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11006 (exit $ac_status); }
11007 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11008 (eval $ac_compiler -v </dev/null >&5) 2>&5
11009 ac_status=$?
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); }
11012 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11013 (eval $ac_compiler -V </dev/null >&5) 2>&5
11014 ac_status=$?
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); }
11017
11018 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11019 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11020 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11023 cat >conftest.$ac_ext <<_ACEOF
11024 #line $LINENO "configure"
11025 /* confdefs.h. */
11026 _ACEOF
11027 cat confdefs.h >>conftest.$ac_ext
11028 cat >>conftest.$ac_ext <<_ACEOF
11029 /* end confdefs.h. */
11030
11031 int
11032 main ()
11033 {
11034 #ifndef __GNUC__
11035 choke me
11036 #endif
11037
11038 ;
11039 return 0;
11040 }
11041 _ACEOF
11042 rm -f conftest.$ac_objext
11043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11044 (eval $ac_compile) 2>&5
11045 ac_status=$?
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -s conftest.$ac_objext'
11049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11050 (eval $ac_try) 2>&5
11051 ac_status=$?
11052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11053 (exit $ac_status); }; }; then
11054 ac_compiler_gnu=yes
11055 else
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11058
11059 ac_compiler_gnu=no
11060 fi
11061 rm -f conftest.$ac_objext conftest.$ac_ext
11062 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11063
11064 fi
11065 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11066 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11067 GXX=`test $ac_compiler_gnu = yes && echo yes`
11068 ac_test_CXXFLAGS=${CXXFLAGS+set}
11069 ac_save_CXXFLAGS=$CXXFLAGS
11070 CXXFLAGS="-g"
11071 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11072 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11073 if test "${ac_cv_prog_cxx_g+set}" = set; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11075 else
11076 cat >conftest.$ac_ext <<_ACEOF
11077 #line $LINENO "configure"
11078 /* confdefs.h. */
11079 _ACEOF
11080 cat confdefs.h >>conftest.$ac_ext
11081 cat >>conftest.$ac_ext <<_ACEOF
11082 /* end confdefs.h. */
11083
11084 int
11085 main ()
11086 {
11087
11088 ;
11089 return 0;
11090 }
11091 _ACEOF
11092 rm -f conftest.$ac_objext
11093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11094 (eval $ac_compile) 2>&5
11095 ac_status=$?
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try='test -s conftest.$ac_objext'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11104 ac_cv_prog_cxx_g=yes
11105 else
11106 echo "$as_me: failed program was:" >&5
11107 sed 's/^/| /' conftest.$ac_ext >&5
11108
11109 ac_cv_prog_cxx_g=no
11110 fi
11111 rm -f conftest.$ac_objext conftest.$ac_ext
11112 fi
11113 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11114 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11115 if test "$ac_test_CXXFLAGS" = set; then
11116 CXXFLAGS=$ac_save_CXXFLAGS
11117 elif test $ac_cv_prog_cxx_g = yes; then
11118 if test "$GXX" = yes; then
11119 CXXFLAGS="-g -O2"
11120 else
11121 CXXFLAGS="-g"
11122 fi
11123 else
11124 if test "$GXX" = yes; then
11125 CXXFLAGS="-O2"
11126 else
11127 CXXFLAGS=
11128 fi
11129 fi
11130 for ac_declaration in \
11131 ''\
11132 '#include <stdlib.h>' \
11133 'extern "C" void std::exit (int) throw (); using std::exit;' \
11134 'extern "C" void std::exit (int); using std::exit;' \
11135 'extern "C" void exit (int) throw ();' \
11136 'extern "C" void exit (int);' \
11137 'void exit (int);'
11138 do
11139 cat >conftest.$ac_ext <<_ACEOF
11140 #line $LINENO "configure"
11141 /* confdefs.h. */
11142 _ACEOF
11143 cat confdefs.h >>conftest.$ac_ext
11144 cat >>conftest.$ac_ext <<_ACEOF
11145 /* end confdefs.h. */
11146 #include <stdlib.h>
11147 $ac_declaration
11148 int
11149 main ()
11150 {
11151 exit (42);
11152 ;
11153 return 0;
11154 }
11155 _ACEOF
11156 rm -f conftest.$ac_objext
11157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11158 (eval $ac_compile) 2>&5
11159 ac_status=$?
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } &&
11162 { ac_try='test -s conftest.$ac_objext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11165 ac_status=$?
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 :
11169 else
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11172
11173 continue
11174 fi
11175 rm -f conftest.$ac_objext conftest.$ac_ext
11176 cat >conftest.$ac_ext <<_ACEOF
11177 #line $LINENO "configure"
11178 /* confdefs.h. */
11179 _ACEOF
11180 cat confdefs.h >>conftest.$ac_ext
11181 cat >>conftest.$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11183 $ac_declaration
11184 int
11185 main ()
11186 {
11187 exit (42);
11188 ;
11189 return 0;
11190 }
11191 _ACEOF
11192 rm -f conftest.$ac_objext
11193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11194 (eval $ac_compile) 2>&5
11195 ac_status=$?
11196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11197 (exit $ac_status); } &&
11198 { ac_try='test -s conftest.$ac_objext'
11199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11200 (eval $ac_try) 2>&5
11201 ac_status=$?
11202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11203 (exit $ac_status); }; }; then
11204 break
11205 else
11206 echo "$as_me: failed program was:" >&5
11207 sed 's/^/| /' conftest.$ac_ext >&5
11208
11209 fi
11210 rm -f conftest.$ac_objext conftest.$ac_ext
11211 done
11212 rm -f conftest*
11213 if test -n "$ac_declaration"; then
11214 echo '#ifdef __cplusplus' >>confdefs.h
11215 echo $ac_declaration >>confdefs.h
11216 echo '#endif' >>confdefs.h
11217 fi
11218
11219 ac_ext=cc
11220 ac_cpp='$CXXCPP $CPPFLAGS'
11221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11224
11225
11226 ac_ext=c
11227 ac_cpp='$CPP $CPPFLAGS'
11228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11231
11232
11233 if test -n "$ac_tool_prefix"; then
11234 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11235 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11236 echo "$as_me:$LINENO: checking for $ac_word" >&5
11237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11238 if test "${ac_cv_prog_RANLIB+set}" = set; then
11239 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 else
11241 if test -n "$RANLIB"; then
11242 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11243 else
11244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11245 for as_dir in $PATH
11246 do
11247 IFS=$as_save_IFS
11248 test -z "$as_dir" && as_dir=.
11249 for ac_exec_ext in '' $ac_executable_extensions; do
11250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11251 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11253 break 2
11254 fi
11255 done
11256 done
11257
11258 fi
11259 fi
11260 RANLIB=$ac_cv_prog_RANLIB
11261 if test -n "$RANLIB"; then
11262 echo "$as_me:$LINENO: result: $RANLIB" >&5
11263 echo "${ECHO_T}$RANLIB" >&6
11264 else
11265 echo "$as_me:$LINENO: result: no" >&5
11266 echo "${ECHO_T}no" >&6
11267 fi
11268
11269 fi
11270 if test -z "$ac_cv_prog_RANLIB"; then
11271 ac_ct_RANLIB=$RANLIB
11272 # Extract the first word of "ranlib", so it can be a program name with args.
11273 set dummy ranlib; ac_word=$2
11274 echo "$as_me:$LINENO: checking for $ac_word" >&5
11275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11276 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11277 echo $ECHO_N "(cached) $ECHO_C" >&6
11278 else
11279 if test -n "$ac_ct_RANLIB"; then
11280 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11281 else
11282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11283 for as_dir in $PATH
11284 do
11285 IFS=$as_save_IFS
11286 test -z "$as_dir" && as_dir=.
11287 for ac_exec_ext in '' $ac_executable_extensions; do
11288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11289 ac_cv_prog_ac_ct_RANLIB="ranlib"
11290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11291 break 2
11292 fi
11293 done
11294 done
11295
11296 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11297 fi
11298 fi
11299 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11300 if test -n "$ac_ct_RANLIB"; then
11301 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11302 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11303 else
11304 echo "$as_me:$LINENO: result: no" >&5
11305 echo "${ECHO_T}no" >&6
11306 fi
11307
11308 RANLIB=$ac_ct_RANLIB
11309 else
11310 RANLIB="$ac_cv_prog_RANLIB"
11311 fi
11312
11313
11314 # Extract the first word of "ar", so it can be a program name with args.
11315 set dummy ar; ac_word=$2
11316 echo "$as_me:$LINENO: checking for $ac_word" >&5
11317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11318 if test "${ac_cv_prog_AR+set}" = set; then
11319 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 else
11321 if test -n "$AR"; then
11322 ac_cv_prog_AR="$AR" # Let the user override the test.
11323 else
11324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11325 for as_dir in $PATH
11326 do
11327 IFS=$as_save_IFS
11328 test -z "$as_dir" && as_dir=.
11329 for ac_exec_ext in '' $ac_executable_extensions; do
11330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11331 ac_cv_prog_AR="ar"
11332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11333 break 2
11334 fi
11335 done
11336 done
11337
11338 fi
11339 fi
11340 AR=$ac_cv_prog_AR
11341 if test -n "$AR"; then
11342 echo "$as_me:$LINENO: result: $AR" >&5
11343 echo "${ECHO_T}$AR" >&6
11344 else
11345 echo "$as_me:$LINENO: result: no" >&5
11346 echo "${ECHO_T}no" >&6
11347 fi
11348
11349 if test "x$AR" = "x" ; then
11350 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11351 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11352 { (exit 1); exit 1; }; }
11353 fi
11354
11355 # Find a good install program. We prefer a C program (faster),
11356 # so one script is as good as another. But avoid the broken or
11357 # incompatible versions:
11358 # SysV /etc/install, /usr/sbin/install
11359 # SunOS /usr/etc/install
11360 # IRIX /sbin/install
11361 # AIX /bin/install
11362 # AmigaOS /C/install, which installs bootblocks on floppy discs
11363 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11364 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11365 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11366 # ./install, which can be erroneously created by make from ./install.sh.
11367 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11368 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11369 if test -z "$INSTALL"; then
11370 if test "${ac_cv_path_install+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11375 do
11376 IFS=$as_save_IFS
11377 test -z "$as_dir" && as_dir=.
11378 # Account for people who put trailing slashes in PATH elements.
11379 case $as_dir/ in
11380 ./ | .// | /cC/* | \
11381 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11382 /usr/ucb/* ) ;;
11383 *)
11384 # OSF1 and SCO ODT 3.0 have their own names for install.
11385 # Don't use installbsd from OSF since it installs stuff as root
11386 # by default.
11387 for ac_prog in ginstall scoinst install; do
11388 for ac_exec_ext in '' $ac_executable_extensions; do
11389 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11390 if test $ac_prog = install &&
11391 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11392 # AIX install. It has an incompatible calling convention.
11393 :
11394 elif test $ac_prog = install &&
11395 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11396 # program-specific install script used by HP pwplus--don't use.
11397 :
11398 else
11399 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11400 break 3
11401 fi
11402 fi
11403 done
11404 done
11405 ;;
11406 esac
11407 done
11408
11409
11410 fi
11411 if test "${ac_cv_path_install+set}" = set; then
11412 INSTALL=$ac_cv_path_install
11413 else
11414 # As a last resort, use the slow shell script. We don't cache a
11415 # path for INSTALL within a source directory, because that will
11416 # break other packages using the cache if that directory is
11417 # removed, or if the path is relative.
11418 INSTALL=$ac_install_sh
11419 fi
11420 fi
11421 echo "$as_me:$LINENO: result: $INSTALL" >&5
11422 echo "${ECHO_T}$INSTALL" >&6
11423
11424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11425 # It thinks the first close brace ends the variable substitution.
11426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11427
11428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11429
11430 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11431
11432
11433 case ${INSTALL} in
11434 /* ) # Absolute
11435 ;;
11436 ?:* ) # Drive letter, considered as absolute.
11437 ;;
11438 *)
11439 INSTALL=`pwd`/${INSTALL} ;;
11440 esac
11441
11442 case ${host} in
11443 *-hp-hpux* )
11444 INSTALL_DIR="mkdir"
11445 ;;
11446
11447 *) INSTALL_DIR="$INSTALL -d"
11448 ;;
11449 esac
11450
11451
11452 case "${host}" in
11453
11454 powerpc-*-darwin* )
11455 INSTALL_PROGRAM="cp -fp"
11456 INSTALL_DATA="cp -fp"
11457 ;;
11458 *)
11459 ;;
11460 esac
11461
11462 # Extract the first word of "strip", so it can be a program name with args.
11463 set dummy strip; ac_word=$2
11464 echo "$as_me:$LINENO: checking for $ac_word" >&5
11465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11466 if test "${ac_cv_prog_STRIP+set}" = set; then
11467 echo $ECHO_N "(cached) $ECHO_C" >&6
11468 else
11469 if test -n "$STRIP"; then
11470 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11471 else
11472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11473 for as_dir in $PATH
11474 do
11475 IFS=$as_save_IFS
11476 test -z "$as_dir" && as_dir=.
11477 for ac_exec_ext in '' $ac_executable_extensions; do
11478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11479 ac_cv_prog_STRIP="strip"
11480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 break 2
11482 fi
11483 done
11484 done
11485
11486 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11487 fi
11488 fi
11489 STRIP=$ac_cv_prog_STRIP
11490 if test -n "$STRIP"; then
11491 echo "$as_me:$LINENO: result: $STRIP" >&5
11492 echo "${ECHO_T}$STRIP" >&6
11493 else
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11496 fi
11497
11498
11499 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11500 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11501 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11502 echo $ECHO_N "(cached) $ECHO_C" >&6
11503 else
11504
11505 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11506 egrep -s GNU > /dev/null); then
11507 wx_cv_prog_makeisgnu="yes"
11508 else
11509 wx_cv_prog_makeisgnu="no"
11510 fi
11511
11512 fi
11513 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11514 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11515
11516 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11517 IF_GNU_MAKE=""
11518 else
11519 IF_GNU_MAKE="#"
11520 fi
11521
11522
11523
11524 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11525 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11526 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11527 if test "${wx_cv_prog_makevpath+set}" = set; then
11528 echo $ECHO_N "(cached) $ECHO_C" >&6
11529 else
11530
11531 cat - << EOF > confMake
11532 check : file
11533 cp \$? \$@
11534 cp \$? final_file
11535 EOF
11536
11537 if test ! -d sub ; then
11538 mkdir sub
11539 fi
11540 echo dummy > sub/file
11541 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11542 RESULT=$?
11543 rm -f sub/file check final_file confMake
11544 rmdir sub
11545 if test "$RESULT" = 0; then
11546 wx_cv_prog_makevpath="yes"
11547 else
11548 wx_cv_prog_makevpath="no"
11549 fi
11550
11551 fi
11552 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11553 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11554
11555 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11556 { { echo "$as_me:$LINENO: error:
11557 You need a make-utility that is able to use the variable
11558 VPATH correctly.
11559 If your version of make does not support VPATH correctly,
11560 please install GNU-make (possibly as gmake), and start
11561 configure with the following command:
11562 export MAKE=gmake; ./configure for sh-type shells
11563 setenv MAKE gmake; ./configure for csh-type shells
11564 Also please do remember to use gmake in this case every time
11565 you are trying to compile.
11566 " >&5
11567 echo "$as_me: error:
11568 You need a make-utility that is able to use the variable
11569 VPATH correctly.
11570 If your version of make does not support VPATH correctly,
11571 please install GNU-make (possibly as gmake), and start
11572 configure with the following command:
11573 export MAKE=gmake; ./configure for sh-type shells
11574 setenv MAKE gmake; ./configure for csh-type shells
11575 Also please do remember to use gmake in this case every time
11576 you are trying to compile.
11577 " >&2;}
11578 { (exit 1); exit 1; }; }
11579 fi fi
11580 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11581 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11582 LN_S=$as_ln_s
11583 if test "$LN_S" = "ln -s"; then
11584 echo "$as_me:$LINENO: result: yes" >&5
11585 echo "${ECHO_T}yes" >&6
11586 else
11587 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11588 echo "${ECHO_T}no, using $LN_S" >&6
11589 fi
11590
11591
11592 case "${host}" in
11593 *-pc-os2_emx | *-pc-os2-emx )
11594 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11595 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11596 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11597 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 else
11600 ac_check_lib_save_LIBS=$LIBS
11601 LIBS="-lcExt $LIBS"
11602 cat >conftest.$ac_ext <<_ACEOF
11603 #line $LINENO "configure"
11604 /* confdefs.h. */
11605 _ACEOF
11606 cat confdefs.h >>conftest.$ac_ext
11607 cat >>conftest.$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609
11610 /* Override any gcc2 internal prototype to avoid an error. */
11611 #ifdef __cplusplus
11612 extern "C"
11613 #endif
11614 /* We use char because int might match the return type of a gcc2
11615 builtin and then its argument prototype would still apply. */
11616 char drand48 ();
11617 int
11618 main ()
11619 {
11620 drand48 ();
11621 ;
11622 return 0;
11623 }
11624 _ACEOF
11625 rm -f conftest.$ac_objext conftest$ac_exeext
11626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11627 (eval $ac_link) 2>&5
11628 ac_status=$?
11629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630 (exit $ac_status); } &&
11631 { ac_try='test -s conftest$ac_exeext'
11632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11633 (eval $ac_try) 2>&5
11634 ac_status=$?
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); }; }; then
11637 ac_cv_lib_cExt_drand48=yes
11638 else
11639 echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.$ac_ext >&5
11641
11642 ac_cv_lib_cExt_drand48=no
11643 fi
11644 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_lib_save_LIBS
11646 fi
11647 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11648 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11649 if test $ac_cv_lib_cExt_drand48 = yes; then
11650 LIBS="$LIBS -lcExt"
11651 fi
11652
11653 else
11654 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11655 fi
11656 ;;
11657 esac
11658
11659
11660 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11661 echo "$as_me:$LINENO: checking for strings.h" >&5
11662 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11663 if test "${ac_cv_header_strings_h+set}" = set; then
11664 echo $ECHO_N "(cached) $ECHO_C" >&6
11665 else
11666 ac_cv_header_strings_h=no
11667 fi
11668 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11669 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11670 if test "$ac_cv_header_strings_h" = "no"; then
11671 echo "$as_me:$LINENO: result: forced no into cache" >&5
11672 echo "${ECHO_T}forced no into cache" >&6
11673 else
11674 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11675 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11676 fi
11677 fi
11678 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11679 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11680 if test "${ac_cv_header_stdc+set}" = set; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 else
11683 cat >conftest.$ac_ext <<_ACEOF
11684 #line $LINENO "configure"
11685 /* confdefs.h. */
11686 _ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 #include <stdlib.h>
11691 #include <stdarg.h>
11692 #include <string.h>
11693 #include <float.h>
11694
11695 int
11696 main ()
11697 {
11698
11699 ;
11700 return 0;
11701 }
11702 _ACEOF
11703 rm -f conftest.$ac_objext
11704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11705 (eval $ac_compile) 2>&5
11706 ac_status=$?
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } &&
11709 { ac_try='test -s conftest.$ac_objext'
11710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11711 (eval $ac_try) 2>&5
11712 ac_status=$?
11713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11714 (exit $ac_status); }; }; then
11715 ac_cv_header_stdc=yes
11716 else
11717 echo "$as_me: failed program was:" >&5
11718 sed 's/^/| /' conftest.$ac_ext >&5
11719
11720 ac_cv_header_stdc=no
11721 fi
11722 rm -f conftest.$ac_objext conftest.$ac_ext
11723
11724 if test $ac_cv_header_stdc = yes; then
11725 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11726 cat >conftest.$ac_ext <<_ACEOF
11727 #line $LINENO "configure"
11728 /* confdefs.h. */
11729 _ACEOF
11730 cat confdefs.h >>conftest.$ac_ext
11731 cat >>conftest.$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11733 #include <string.h>
11734
11735 _ACEOF
11736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11737 $EGREP "memchr" >/dev/null 2>&1; then
11738 :
11739 else
11740 ac_cv_header_stdc=no
11741 fi
11742 rm -f conftest*
11743
11744 fi
11745
11746 if test $ac_cv_header_stdc = yes; then
11747 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11748 cat >conftest.$ac_ext <<_ACEOF
11749 #line $LINENO "configure"
11750 /* confdefs.h. */
11751 _ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #include <stdlib.h>
11756
11757 _ACEOF
11758 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11759 $EGREP "free" >/dev/null 2>&1; then
11760 :
11761 else
11762 ac_cv_header_stdc=no
11763 fi
11764 rm -f conftest*
11765
11766 fi
11767
11768 if test $ac_cv_header_stdc = yes; then
11769 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11770 if test "$cross_compiling" = yes; then
11771 :
11772 else
11773 cat >conftest.$ac_ext <<_ACEOF
11774 #line $LINENO "configure"
11775 /* confdefs.h. */
11776 _ACEOF
11777 cat confdefs.h >>conftest.$ac_ext
11778 cat >>conftest.$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11780 #include <ctype.h>
11781 #if ((' ' & 0x0FF) == 0x020)
11782 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11783 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11784 #else
11785 # define ISLOWER(c) \
11786 (('a' <= (c) && (c) <= 'i') \
11787 || ('j' <= (c) && (c) <= 'r') \
11788 || ('s' <= (c) && (c) <= 'z'))
11789 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11790 #endif
11791
11792 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11793 int
11794 main ()
11795 {
11796 int i;
11797 for (i = 0; i < 256; i++)
11798 if (XOR (islower (i), ISLOWER (i))
11799 || toupper (i) != TOUPPER (i))
11800 exit(2);
11801 exit (0);
11802 }
11803 _ACEOF
11804 rm -f conftest$ac_exeext
11805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11806 (eval $ac_link) 2>&5
11807 ac_status=$?
11808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11809 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11812 ac_status=$?
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 :
11816 else
11817 echo "$as_me: program exited with status $ac_status" >&5
11818 echo "$as_me: failed program was:" >&5
11819 sed 's/^/| /' conftest.$ac_ext >&5
11820
11821 ( exit $ac_status )
11822 ac_cv_header_stdc=no
11823 fi
11824 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11825 fi
11826 fi
11827 fi
11828 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11829 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11830 if test $ac_cv_header_stdc = yes; then
11831
11832 cat >>confdefs.h <<\_ACEOF
11833 #define STDC_HEADERS 1
11834 _ACEOF
11835
11836 fi
11837
11838 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11849 inttypes.h stdint.h unistd.h
11850 do
11851 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11852 echo "$as_me:$LINENO: checking for $ac_header" >&5
11853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11855 echo $ECHO_N "(cached) $ECHO_C" >&6
11856 else
11857 cat >conftest.$ac_ext <<_ACEOF
11858 #line $LINENO "configure"
11859 /* confdefs.h. */
11860 _ACEOF
11861 cat confdefs.h >>conftest.$ac_ext
11862 cat >>conftest.$ac_ext <<_ACEOF
11863 /* end confdefs.h. */
11864 $ac_includes_default
11865
11866 #include <$ac_header>
11867 _ACEOF
11868 rm -f conftest.$ac_objext
11869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11870 (eval $ac_compile) 2>&5
11871 ac_status=$?
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } &&
11874 { ac_try='test -s conftest.$ac_objext'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; }; then
11880 eval "$as_ac_Header=yes"
11881 else
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.$ac_ext >&5
11884
11885 eval "$as_ac_Header=no"
11886 fi
11887 rm -f conftest.$ac_objext conftest.$ac_ext
11888 fi
11889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11892 cat >>confdefs.h <<_ACEOF
11893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11894 _ACEOF
11895
11896 fi
11897
11898 done
11899
11900
11901
11902 for ac_header in strings.h
11903 do
11904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11906 echo "$as_me:$LINENO: checking for $ac_header" >&5
11907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11909 echo $ECHO_N "(cached) $ECHO_C" >&6
11910 fi
11911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11913 else
11914 # Is the header compilable?
11915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11917 cat >conftest.$ac_ext <<_ACEOF
11918 #line $LINENO "configure"
11919 /* confdefs.h. */
11920 _ACEOF
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11924 $ac_includes_default
11925 #include <$ac_header>
11926 _ACEOF
11927 rm -f conftest.$ac_objext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11929 (eval $ac_compile) 2>&5
11930 ac_status=$?
11931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11932 (exit $ac_status); } &&
11933 { ac_try='test -s conftest.$ac_objext'
11934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11935 (eval $ac_try) 2>&5
11936 ac_status=$?
11937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11938 (exit $ac_status); }; }; then
11939 ac_header_compiler=yes
11940 else
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11943
11944 ac_header_compiler=no
11945 fi
11946 rm -f conftest.$ac_objext conftest.$ac_ext
11947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11948 echo "${ECHO_T}$ac_header_compiler" >&6
11949
11950 # Is the header present?
11951 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11952 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11953 cat >conftest.$ac_ext <<_ACEOF
11954 #line $LINENO "configure"
11955 /* confdefs.h. */
11956 _ACEOF
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 #include <$ac_header>
11961 _ACEOF
11962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11964 ac_status=$?
11965 grep -v '^ *+' conftest.er1 >conftest.err
11966 rm -f conftest.er1
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } >/dev/null; then
11970 if test -s conftest.err; then
11971 ac_cpp_err=$ac_c_preproc_warn_flag
11972 else
11973 ac_cpp_err=
11974 fi
11975 else
11976 ac_cpp_err=yes
11977 fi
11978 if test -z "$ac_cpp_err"; then
11979 ac_header_preproc=yes
11980 else
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11983
11984 ac_header_preproc=no
11985 fi
11986 rm -f conftest.err conftest.$ac_ext
11987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11988 echo "${ECHO_T}$ac_header_preproc" >&6
11989
11990 # So? What about this header?
11991 case $ac_header_compiler:$ac_header_preproc in
11992 yes:no )
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11994 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11996 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11997 (
11998 cat <<\_ASBOX
11999 ## ------------------------------------ ##
12000 ## Report this to bug-autoconf@gnu.org. ##
12001 ## ------------------------------------ ##
12002 _ASBOX
12003 ) |
12004 sed "s/^/$as_me: WARNING: /" >&2
12005 ;;
12006 no:yes )
12007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12011 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12013 (
12014 cat <<\_ASBOX
12015 ## ------------------------------------ ##
12016 ## Report this to bug-autoconf@gnu.org. ##
12017 ## ------------------------------------ ##
12018 _ASBOX
12019 ) |
12020 sed "s/^/$as_me: WARNING: /" >&2
12021 ;;
12022 esac
12023 echo "$as_me:$LINENO: checking for $ac_header" >&5
12024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12027 else
12028 eval "$as_ac_Header=$ac_header_preproc"
12029 fi
12030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12032
12033 fi
12034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12035 cat >>confdefs.h <<_ACEOF
12036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12037 _ACEOF
12038
12039 fi
12040
12041 done
12042
12043
12044
12045 for ac_header in stdlib.h
12046 do
12047 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12049 echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 fi
12054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12056 else
12057 # Is the header compilable?
12058 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12059 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12060 cat >conftest.$ac_ext <<_ACEOF
12061 #line $LINENO "configure"
12062 /* confdefs.h. */
12063 _ACEOF
12064 cat confdefs.h >>conftest.$ac_ext
12065 cat >>conftest.$ac_ext <<_ACEOF
12066 /* end confdefs.h. */
12067 $ac_includes_default
12068 #include <$ac_header>
12069 _ACEOF
12070 rm -f conftest.$ac_objext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12072 (eval $ac_compile) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12079 ac_status=$?
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler=yes
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12086
12087 ac_header_compiler=no
12088 fi
12089 rm -f conftest.$ac_objext conftest.$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091 echo "${ECHO_T}$ac_header_compiler" >&6
12092
12093 # Is the header present?
12094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096 cat >conftest.$ac_ext <<_ACEOF
12097 #line $LINENO "configure"
12098 /* confdefs.h. */
12099 _ACEOF
12100 cat confdefs.h >>conftest.$ac_ext
12101 cat >>conftest.$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12103 #include <$ac_header>
12104 _ACEOF
12105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12106 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12107 ac_status=$?
12108 grep -v '^ *+' conftest.er1 >conftest.err
12109 rm -f conftest.er1
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } >/dev/null; then
12113 if test -s conftest.err; then
12114 ac_cpp_err=$ac_c_preproc_warn_flag
12115 else
12116 ac_cpp_err=
12117 fi
12118 else
12119 ac_cpp_err=yes
12120 fi
12121 if test -z "$ac_cpp_err"; then
12122 ac_header_preproc=yes
12123 else
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12126
12127 ac_header_preproc=no
12128 fi
12129 rm -f conftest.err conftest.$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12132
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc in
12135 yes:no )
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12140 (
12141 cat <<\_ASBOX
12142 ## ------------------------------------ ##
12143 ## Report this to bug-autoconf@gnu.org. ##
12144 ## ------------------------------------ ##
12145 _ASBOX
12146 ) |
12147 sed "s/^/$as_me: WARNING: /" >&2
12148 ;;
12149 no:yes )
12150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12156 (
12157 cat <<\_ASBOX
12158 ## ------------------------------------ ##
12159 ## Report this to bug-autoconf@gnu.org. ##
12160 ## ------------------------------------ ##
12161 _ASBOX
12162 ) |
12163 sed "s/^/$as_me: WARNING: /" >&2
12164 ;;
12165 esac
12166 echo "$as_me:$LINENO: checking for $ac_header" >&5
12167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12169 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 else
12171 eval "$as_ac_Header=$ac_header_preproc"
12172 fi
12173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12175
12176 fi
12177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12178 cat >>confdefs.h <<_ACEOF
12179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12180 _ACEOF
12181
12182 fi
12183
12184 done
12185
12186
12187 for ac_header in malloc.h
12188 do
12189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12191 echo "$as_me:$LINENO: checking for $ac_header" >&5
12192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 fi
12196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12197 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12198 else
12199 # Is the header compilable?
12200 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12202 cat >conftest.$ac_ext <<_ACEOF
12203 #line $LINENO "configure"
12204 /* confdefs.h. */
12205 _ACEOF
12206 cat confdefs.h >>conftest.$ac_ext
12207 cat >>conftest.$ac_ext <<_ACEOF
12208 /* end confdefs.h. */
12209 $ac_includes_default
12210 #include <$ac_header>
12211 _ACEOF
12212 rm -f conftest.$ac_objext
12213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12214 (eval $ac_compile) 2>&5
12215 ac_status=$?
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); } &&
12218 { ac_try='test -s conftest.$ac_objext'
12219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12220 (eval $ac_try) 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); }; }; then
12224 ac_header_compiler=yes
12225 else
12226 echo "$as_me: failed program was:" >&5
12227 sed 's/^/| /' conftest.$ac_ext >&5
12228
12229 ac_header_compiler=no
12230 fi
12231 rm -f conftest.$ac_objext conftest.$ac_ext
12232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12233 echo "${ECHO_T}$ac_header_compiler" >&6
12234
12235 # Is the header present?
12236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12238 cat >conftest.$ac_ext <<_ACEOF
12239 #line $LINENO "configure"
12240 /* confdefs.h. */
12241 _ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12245 #include <$ac_header>
12246 _ACEOF
12247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12249 ac_status=$?
12250 grep -v '^ *+' conftest.er1 >conftest.err
12251 rm -f conftest.er1
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } >/dev/null; then
12255 if test -s conftest.err; then
12256 ac_cpp_err=$ac_c_preproc_warn_flag
12257 else
12258 ac_cpp_err=
12259 fi
12260 else
12261 ac_cpp_err=yes
12262 fi
12263 if test -z "$ac_cpp_err"; then
12264 ac_header_preproc=yes
12265 else
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12268
12269 ac_header_preproc=no
12270 fi
12271 rm -f conftest.err conftest.$ac_ext
12272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12273 echo "${ECHO_T}$ac_header_preproc" >&6
12274
12275 # So? What about this header?
12276 case $ac_header_compiler:$ac_header_preproc in
12277 yes:no )
12278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12282 (
12283 cat <<\_ASBOX
12284 ## ------------------------------------ ##
12285 ## Report this to bug-autoconf@gnu.org. ##
12286 ## ------------------------------------ ##
12287 _ASBOX
12288 ) |
12289 sed "s/^/$as_me: WARNING: /" >&2
12290 ;;
12291 no:yes )
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12293 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12295 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12298 (
12299 cat <<\_ASBOX
12300 ## ------------------------------------ ##
12301 ## Report this to bug-autoconf@gnu.org. ##
12302 ## ------------------------------------ ##
12303 _ASBOX
12304 ) |
12305 sed "s/^/$as_me: WARNING: /" >&2
12306 ;;
12307 esac
12308 echo "$as_me:$LINENO: checking for $ac_header" >&5
12309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12311 echo $ECHO_N "(cached) $ECHO_C" >&6
12312 else
12313 eval "$as_ac_Header=$ac_header_preproc"
12314 fi
12315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12317
12318 fi
12319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12320 cat >>confdefs.h <<_ACEOF
12321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12322 _ACEOF
12323
12324 fi
12325
12326 done
12327
12328
12329 for ac_header in unistd.h
12330 do
12331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12333 echo "$as_me:$LINENO: checking for $ac_header" >&5
12334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12336 echo $ECHO_N "(cached) $ECHO_C" >&6
12337 fi
12338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12340 else
12341 # Is the header compilable?
12342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12344 cat >conftest.$ac_ext <<_ACEOF
12345 #line $LINENO "configure"
12346 /* confdefs.h. */
12347 _ACEOF
12348 cat confdefs.h >>conftest.$ac_ext
12349 cat >>conftest.$ac_ext <<_ACEOF
12350 /* end confdefs.h. */
12351 $ac_includes_default
12352 #include <$ac_header>
12353 _ACEOF
12354 rm -f conftest.$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>&5
12357 ac_status=$?
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } &&
12360 { ac_try='test -s conftest.$ac_objext'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; }; then
12366 ac_header_compiler=yes
12367 else
12368 echo "$as_me: failed program was:" >&5
12369 sed 's/^/| /' conftest.$ac_ext >&5
12370
12371 ac_header_compiler=no
12372 fi
12373 rm -f conftest.$ac_objext conftest.$ac_ext
12374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12375 echo "${ECHO_T}$ac_header_compiler" >&6
12376
12377 # Is the header present?
12378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12380 cat >conftest.$ac_ext <<_ACEOF
12381 #line $LINENO "configure"
12382 /* confdefs.h. */
12383 _ACEOF
12384 cat confdefs.h >>conftest.$ac_ext
12385 cat >>conftest.$ac_ext <<_ACEOF
12386 /* end confdefs.h. */
12387 #include <$ac_header>
12388 _ACEOF
12389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } >/dev/null; then
12397 if test -s conftest.err; then
12398 ac_cpp_err=$ac_c_preproc_warn_flag
12399 else
12400 ac_cpp_err=
12401 fi
12402 else
12403 ac_cpp_err=yes
12404 fi
12405 if test -z "$ac_cpp_err"; then
12406 ac_header_preproc=yes
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 ac_header_preproc=no
12412 fi
12413 rm -f conftest.err conftest.$ac_ext
12414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12415 echo "${ECHO_T}$ac_header_preproc" >&6
12416
12417 # So? What about this header?
12418 case $ac_header_compiler:$ac_header_preproc in
12419 yes:no )
12420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12424 (
12425 cat <<\_ASBOX
12426 ## ------------------------------------ ##
12427 ## Report this to bug-autoconf@gnu.org. ##
12428 ## ------------------------------------ ##
12429 _ASBOX
12430 ) |
12431 sed "s/^/$as_me: WARNING: /" >&2
12432 ;;
12433 no:yes )
12434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12440 (
12441 cat <<\_ASBOX
12442 ## ------------------------------------ ##
12443 ## Report this to bug-autoconf@gnu.org. ##
12444 ## ------------------------------------ ##
12445 _ASBOX
12446 ) |
12447 sed "s/^/$as_me: WARNING: /" >&2
12448 ;;
12449 esac
12450 echo "$as_me:$LINENO: checking for $ac_header" >&5
12451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12453 echo $ECHO_N "(cached) $ECHO_C" >&6
12454 else
12455 eval "$as_ac_Header=$ac_header_preproc"
12456 fi
12457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12459
12460 fi
12461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12462 cat >>confdefs.h <<_ACEOF
12463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12464 _ACEOF
12465
12466 fi
12467
12468 done
12469
12470
12471 for ac_header in wchar.h
12472 do
12473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12475 echo "$as_me:$LINENO: checking for $ac_header" >&5
12476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 fi
12480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12482 else
12483 # Is the header compilable?
12484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12486 cat >conftest.$ac_ext <<_ACEOF
12487 #line $LINENO "configure"
12488 /* confdefs.h. */
12489 _ACEOF
12490 cat confdefs.h >>conftest.$ac_ext
12491 cat >>conftest.$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 $ac_includes_default
12494 #include <$ac_header>
12495 _ACEOF
12496 rm -f conftest.$ac_objext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>&5
12499 ac_status=$?
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -s conftest.$ac_objext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 ac_header_compiler=yes
12509 else
12510 echo "$as_me: failed program was:" >&5
12511 sed 's/^/| /' conftest.$ac_ext >&5
12512
12513 ac_header_compiler=no
12514 fi
12515 rm -f conftest.$ac_objext conftest.$ac_ext
12516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12517 echo "${ECHO_T}$ac_header_compiler" >&6
12518
12519 # Is the header present?
12520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12522 cat >conftest.$ac_ext <<_ACEOF
12523 #line $LINENO "configure"
12524 /* confdefs.h. */
12525 _ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12529 #include <$ac_header>
12530 _ACEOF
12531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } >/dev/null; then
12539 if test -s conftest.err; then
12540 ac_cpp_err=$ac_c_preproc_warn_flag
12541 else
12542 ac_cpp_err=
12543 fi
12544 else
12545 ac_cpp_err=yes
12546 fi
12547 if test -z "$ac_cpp_err"; then
12548 ac_header_preproc=yes
12549 else
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.$ac_ext >&5
12552
12553 ac_header_preproc=no
12554 fi
12555 rm -f conftest.err conftest.$ac_ext
12556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12557 echo "${ECHO_T}$ac_header_preproc" >&6
12558
12559 # So? What about this header?
12560 case $ac_header_compiler:$ac_header_preproc in
12561 yes:no )
12562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12566 (
12567 cat <<\_ASBOX
12568 ## ------------------------------------ ##
12569 ## Report this to bug-autoconf@gnu.org. ##
12570 ## ------------------------------------ ##
12571 _ASBOX
12572 ) |
12573 sed "s/^/$as_me: WARNING: /" >&2
12574 ;;
12575 no:yes )
12576 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12577 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12578 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12579 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12582 (
12583 cat <<\_ASBOX
12584 ## ------------------------------------ ##
12585 ## Report this to bug-autoconf@gnu.org. ##
12586 ## ------------------------------------ ##
12587 _ASBOX
12588 ) |
12589 sed "s/^/$as_me: WARNING: /" >&2
12590 ;;
12591 esac
12592 echo "$as_me:$LINENO: checking for $ac_header" >&5
12593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12595 echo $ECHO_N "(cached) $ECHO_C" >&6
12596 else
12597 eval "$as_ac_Header=$ac_header_preproc"
12598 fi
12599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12601
12602 fi
12603 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12604 cat >>confdefs.h <<_ACEOF
12605 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12606 _ACEOF
12607
12608 fi
12609
12610 done
12611
12612
12613 if test "$ac_cv_header_wchar_h" != "yes"; then
12614
12615 for ac_header in wcstr.h
12616 do
12617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12619 echo "$as_me:$LINENO: checking for $ac_header" >&5
12620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12623 fi
12624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12626 else
12627 # Is the header compilable?
12628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12630 cat >conftest.$ac_ext <<_ACEOF
12631 #line $LINENO "configure"
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 $ac_includes_default
12638 #include <$ac_header>
12639 _ACEOF
12640 rm -f conftest.$ac_objext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12642 (eval $ac_compile) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); } &&
12646 { ac_try='test -s conftest.$ac_objext'
12647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12648 (eval $ac_try) 2>&5
12649 ac_status=$?
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); }; }; then
12652 ac_header_compiler=yes
12653 else
12654 echo "$as_me: failed program was:" >&5
12655 sed 's/^/| /' conftest.$ac_ext >&5
12656
12657 ac_header_compiler=no
12658 fi
12659 rm -f conftest.$ac_objext conftest.$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12661 echo "${ECHO_T}$ac_header_compiler" >&6
12662
12663 # Is the header present?
12664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12666 cat >conftest.$ac_ext <<_ACEOF
12667 #line $LINENO "configure"
12668 /* confdefs.h. */
12669 _ACEOF
12670 cat confdefs.h >>conftest.$ac_ext
12671 cat >>conftest.$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 #include <$ac_header>
12674 _ACEOF
12675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12677 ac_status=$?
12678 grep -v '^ *+' conftest.er1 >conftest.err
12679 rm -f conftest.er1
12680 cat conftest.err >&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } >/dev/null; then
12683 if test -s conftest.err; then
12684 ac_cpp_err=$ac_c_preproc_warn_flag
12685 else
12686 ac_cpp_err=
12687 fi
12688 else
12689 ac_cpp_err=yes
12690 fi
12691 if test -z "$ac_cpp_err"; then
12692 ac_header_preproc=yes
12693 else
12694 echo "$as_me: failed program was:" >&5
12695 sed 's/^/| /' conftest.$ac_ext >&5
12696
12697 ac_header_preproc=no
12698 fi
12699 rm -f conftest.err conftest.$ac_ext
12700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12701 echo "${ECHO_T}$ac_header_preproc" >&6
12702
12703 # So? What about this header?
12704 case $ac_header_compiler:$ac_header_preproc in
12705 yes:no )
12706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12710 (
12711 cat <<\_ASBOX
12712 ## ------------------------------------ ##
12713 ## Report this to bug-autoconf@gnu.org. ##
12714 ## ------------------------------------ ##
12715 _ASBOX
12716 ) |
12717 sed "s/^/$as_me: WARNING: /" >&2
12718 ;;
12719 no:yes )
12720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12726 (
12727 cat <<\_ASBOX
12728 ## ------------------------------------ ##
12729 ## Report this to bug-autoconf@gnu.org. ##
12730 ## ------------------------------------ ##
12731 _ASBOX
12732 ) |
12733 sed "s/^/$as_me: WARNING: /" >&2
12734 ;;
12735 esac
12736 echo "$as_me:$LINENO: checking for $ac_header" >&5
12737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12739 echo $ECHO_N "(cached) $ECHO_C" >&6
12740 else
12741 eval "$as_ac_Header=$ac_header_preproc"
12742 fi
12743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12745
12746 fi
12747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12748 cat >>confdefs.h <<_ACEOF
12749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12750 _ACEOF
12751
12752 fi
12753
12754 done
12755
12756 fi
12757
12758
12759 for ac_header in fnmatch.h
12760 do
12761 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12762 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12763 echo "$as_me:$LINENO: checking for $ac_header" >&5
12764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 fi
12768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12770 else
12771 # Is the header compilable?
12772 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12773 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12774 cat >conftest.$ac_ext <<_ACEOF
12775 #line $LINENO "configure"
12776 /* confdefs.h. */
12777 _ACEOF
12778 cat confdefs.h >>conftest.$ac_ext
12779 cat >>conftest.$ac_ext <<_ACEOF
12780 /* end confdefs.h. */
12781 $ac_includes_default
12782 #include <$ac_header>
12783 _ACEOF
12784 rm -f conftest.$ac_objext
12785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12786 (eval $ac_compile) 2>&5
12787 ac_status=$?
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } &&
12790 { ac_try='test -s conftest.$ac_objext'
12791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12792 (eval $ac_try) 2>&5
12793 ac_status=$?
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); }; }; then
12796 ac_header_compiler=yes
12797 else
12798 echo "$as_me: failed program was:" >&5
12799 sed 's/^/| /' conftest.$ac_ext >&5
12800
12801 ac_header_compiler=no
12802 fi
12803 rm -f conftest.$ac_objext conftest.$ac_ext
12804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12805 echo "${ECHO_T}$ac_header_compiler" >&6
12806
12807 # Is the header present?
12808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12810 cat >conftest.$ac_ext <<_ACEOF
12811 #line $LINENO "configure"
12812 /* confdefs.h. */
12813 _ACEOF
12814 cat confdefs.h >>conftest.$ac_ext
12815 cat >>conftest.$ac_ext <<_ACEOF
12816 /* end confdefs.h. */
12817 #include <$ac_header>
12818 _ACEOF
12819 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12820 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12821 ac_status=$?
12822 grep -v '^ *+' conftest.er1 >conftest.err
12823 rm -f conftest.er1
12824 cat conftest.err >&5
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); } >/dev/null; then
12827 if test -s conftest.err; then
12828 ac_cpp_err=$ac_c_preproc_warn_flag
12829 else
12830 ac_cpp_err=
12831 fi
12832 else
12833 ac_cpp_err=yes
12834 fi
12835 if test -z "$ac_cpp_err"; then
12836 ac_header_preproc=yes
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 ac_header_preproc=no
12842 fi
12843 rm -f conftest.err conftest.$ac_ext
12844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12845 echo "${ECHO_T}$ac_header_preproc" >&6
12846
12847 # So? What about this header?
12848 case $ac_header_compiler:$ac_header_preproc in
12849 yes:no )
12850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12854 (
12855 cat <<\_ASBOX
12856 ## ------------------------------------ ##
12857 ## Report this to bug-autoconf@gnu.org. ##
12858 ## ------------------------------------ ##
12859 _ASBOX
12860 ) |
12861 sed "s/^/$as_me: WARNING: /" >&2
12862 ;;
12863 no:yes )
12864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12868 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12869 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12870 (
12871 cat <<\_ASBOX
12872 ## ------------------------------------ ##
12873 ## Report this to bug-autoconf@gnu.org. ##
12874 ## ------------------------------------ ##
12875 _ASBOX
12876 ) |
12877 sed "s/^/$as_me: WARNING: /" >&2
12878 ;;
12879 esac
12880 echo "$as_me:$LINENO: checking for $ac_header" >&5
12881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 else
12885 eval "$as_ac_Header=$ac_header_preproc"
12886 fi
12887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12888 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12889
12890 fi
12891 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12892 cat >>confdefs.h <<_ACEOF
12893 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12894 _ACEOF
12895
12896 fi
12897
12898 done
12899
12900
12901 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12902
12903 for ac_func in fnmatch
12904 do
12905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12906 echo "$as_me:$LINENO: checking for $ac_func" >&5
12907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12908 if eval "test \"\${$as_ac_var+set}\" = set"; then
12909 echo $ECHO_N "(cached) $ECHO_C" >&6
12910 else
12911 cat >conftest.$ac_ext <<_ACEOF
12912 #line $LINENO "configure"
12913 /* confdefs.h. */
12914 _ACEOF
12915 cat confdefs.h >>conftest.$ac_ext
12916 cat >>conftest.$ac_ext <<_ACEOF
12917 /* end confdefs.h. */
12918 /* System header to define __stub macros and hopefully few prototypes,
12919 which can conflict with char $ac_func (); below.
12920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12921 <limits.h> exists even on freestanding compilers. */
12922 #ifdef __STDC__
12923 # include <limits.h>
12924 #else
12925 # include <assert.h>
12926 #endif
12927 /* Override any gcc2 internal prototype to avoid an error. */
12928 #ifdef __cplusplus
12929 extern "C"
12930 {
12931 #endif
12932 /* We use char because int might match the return type of a gcc2
12933 builtin and then its argument prototype would still apply. */
12934 char $ac_func ();
12935 /* The GNU C library defines this for functions which it implements
12936 to always fail with ENOSYS. Some functions are actually named
12937 something starting with __ and the normal name is an alias. */
12938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12939 choke me
12940 #else
12941 char (*f) () = $ac_func;
12942 #endif
12943 #ifdef __cplusplus
12944 }
12945 #endif
12946
12947 int
12948 main ()
12949 {
12950 return f != $ac_func;
12951 ;
12952 return 0;
12953 }
12954 _ACEOF
12955 rm -f conftest.$ac_objext conftest$ac_exeext
12956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12957 (eval $ac_link) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try='test -s conftest$ac_exeext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12964 ac_status=$?
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 eval "$as_ac_var=yes"
12968 else
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.$ac_ext >&5
12971
12972 eval "$as_ac_var=no"
12973 fi
12974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12975 fi
12976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12978 if test `eval echo '${'$as_ac_var'}'` = yes; then
12979 cat >>confdefs.h <<_ACEOF
12980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12981 _ACEOF
12982
12983 fi
12984 done
12985
12986 fi
12987
12988
12989 for ac_header in langinfo.h
12990 do
12991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12993 echo "$as_me:$LINENO: checking for $ac_header" >&5
12994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12996 echo $ECHO_N "(cached) $ECHO_C" >&6
12997 fi
12998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13000 else
13001 # Is the header compilable?
13002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13004 cat >conftest.$ac_ext <<_ACEOF
13005 #line $LINENO "configure"
13006 /* confdefs.h. */
13007 _ACEOF
13008 cat confdefs.h >>conftest.$ac_ext
13009 cat >>conftest.$ac_ext <<_ACEOF
13010 /* end confdefs.h. */
13011 $ac_includes_default
13012 #include <$ac_header>
13013 _ACEOF
13014 rm -f conftest.$ac_objext
13015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13016 (eval $ac_compile) 2>&5
13017 ac_status=$?
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); } &&
13020 { ac_try='test -s conftest.$ac_objext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13023 ac_status=$?
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 ac_header_compiler=yes
13027 else
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13030
13031 ac_header_compiler=no
13032 fi
13033 rm -f conftest.$ac_objext conftest.$ac_ext
13034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13035 echo "${ECHO_T}$ac_header_compiler" >&6
13036
13037 # Is the header present?
13038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13040 cat >conftest.$ac_ext <<_ACEOF
13041 #line $LINENO "configure"
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047 #include <$ac_header>
13048 _ACEOF
13049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13051 ac_status=$?
13052 grep -v '^ *+' conftest.er1 >conftest.err
13053 rm -f conftest.er1
13054 cat conftest.err >&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } >/dev/null; then
13057 if test -s conftest.err; then
13058 ac_cpp_err=$ac_c_preproc_warn_flag
13059 else
13060 ac_cpp_err=
13061 fi
13062 else
13063 ac_cpp_err=yes
13064 fi
13065 if test -z "$ac_cpp_err"; then
13066 ac_header_preproc=yes
13067 else
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.$ac_ext >&5
13070
13071 ac_header_preproc=no
13072 fi
13073 rm -f conftest.err conftest.$ac_ext
13074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13075 echo "${ECHO_T}$ac_header_preproc" >&6
13076
13077 # So? What about this header?
13078 case $ac_header_compiler:$ac_header_preproc in
13079 yes:no )
13080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13084 (
13085 cat <<\_ASBOX
13086 ## ------------------------------------ ##
13087 ## Report this to bug-autoconf@gnu.org. ##
13088 ## ------------------------------------ ##
13089 _ASBOX
13090 ) |
13091 sed "s/^/$as_me: WARNING: /" >&2
13092 ;;
13093 no:yes )
13094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13100 (
13101 cat <<\_ASBOX
13102 ## ------------------------------------ ##
13103 ## Report this to bug-autoconf@gnu.org. ##
13104 ## ------------------------------------ ##
13105 _ASBOX
13106 ) |
13107 sed "s/^/$as_me: WARNING: /" >&2
13108 ;;
13109 esac
13110 echo "$as_me:$LINENO: checking for $ac_header" >&5
13111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13113 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 else
13115 eval "$as_ac_Header=$ac_header_preproc"
13116 fi
13117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13119
13120 fi
13121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13122 cat >>confdefs.h <<_ACEOF
13123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13124 _ACEOF
13125
13126 fi
13127
13128 done
13129
13130
13131 case "${host}" in
13132 *-pc-os2_emx | *-pc-os2-emx )
13133 if test $ac_cv_header_langinfo_h = "yes"; then
13134 LIBS="$LIBS -lintl"
13135 fi
13136 ;;
13137 esac
13138
13139 if test "$wxUSE_GUI" = "yes"; then
13140 if test "$wxUSE_UNIX" = "yes"; then
13141
13142 for ac_header in X11/Xlib.h
13143 do
13144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13146 echo "$as_me:$LINENO: checking for $ac_header" >&5
13147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13149 echo $ECHO_N "(cached) $ECHO_C" >&6
13150 fi
13151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13153 else
13154 # Is the header compilable?
13155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13157 cat >conftest.$ac_ext <<_ACEOF
13158 #line $LINENO "configure"
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 $ac_includes_default
13165 #include <$ac_header>
13166 _ACEOF
13167 rm -f conftest.$ac_objext
13168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13169 (eval $ac_compile) 2>&5
13170 ac_status=$?
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); } &&
13173 { ac_try='test -s conftest.$ac_objext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13176 ac_status=$?
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_header_compiler=yes
13180 else
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.$ac_ext >&5
13183
13184 ac_header_compiler=no
13185 fi
13186 rm -f conftest.$ac_objext conftest.$ac_ext
13187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13188 echo "${ECHO_T}$ac_header_compiler" >&6
13189
13190 # Is the header present?
13191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13193 cat >conftest.$ac_ext <<_ACEOF
13194 #line $LINENO "configure"
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200 #include <$ac_header>
13201 _ACEOF
13202 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13203 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13204 ac_status=$?
13205 grep -v '^ *+' conftest.er1 >conftest.err
13206 rm -f conftest.er1
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } >/dev/null; then
13210 if test -s conftest.err; then
13211 ac_cpp_err=$ac_c_preproc_warn_flag
13212 else
13213 ac_cpp_err=
13214 fi
13215 else
13216 ac_cpp_err=yes
13217 fi
13218 if test -z "$ac_cpp_err"; then
13219 ac_header_preproc=yes
13220 else
13221 echo "$as_me: failed program was:" >&5
13222 sed 's/^/| /' conftest.$ac_ext >&5
13223
13224 ac_header_preproc=no
13225 fi
13226 rm -f conftest.err conftest.$ac_ext
13227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13228 echo "${ECHO_T}$ac_header_preproc" >&6
13229
13230 # So? What about this header?
13231 case $ac_header_compiler:$ac_header_preproc in
13232 yes:no )
13233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13237 (
13238 cat <<\_ASBOX
13239 ## ------------------------------------ ##
13240 ## Report this to bug-autoconf@gnu.org. ##
13241 ## ------------------------------------ ##
13242 _ASBOX
13243 ) |
13244 sed "s/^/$as_me: WARNING: /" >&2
13245 ;;
13246 no:yes )
13247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13253 (
13254 cat <<\_ASBOX
13255 ## ------------------------------------ ##
13256 ## Report this to bug-autoconf@gnu.org. ##
13257 ## ------------------------------------ ##
13258 _ASBOX
13259 ) |
13260 sed "s/^/$as_me: WARNING: /" >&2
13261 ;;
13262 esac
13263 echo "$as_me:$LINENO: checking for $ac_header" >&5
13264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13267 else
13268 eval "$as_ac_Header=$ac_header_preproc"
13269 fi
13270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13272
13273 fi
13274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13275 cat >>confdefs.h <<_ACEOF
13276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13277 _ACEOF
13278
13279 fi
13280
13281 done
13282
13283
13284 for ac_header in X11/XKBlib.h
13285 do
13286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13287 echo "$as_me:$LINENO: checking for $ac_header" >&5
13288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13290 echo $ECHO_N "(cached) $ECHO_C" >&6
13291 else
13292 cat >conftest.$ac_ext <<_ACEOF
13293 #line $LINENO "configure"
13294 /* confdefs.h. */
13295 _ACEOF
13296 cat confdefs.h >>conftest.$ac_ext
13297 cat >>conftest.$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299
13300 #if HAVE_X11_XLIB_H
13301 #include <X11/Xlib.h>
13302 #endif
13303
13304
13305 #include <$ac_header>
13306 _ACEOF
13307 rm -f conftest.$ac_objext
13308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); } &&
13313 { ac_try='test -s conftest.$ac_objext'
13314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13315 (eval $ac_try) 2>&5
13316 ac_status=$?
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); }; }; then
13319 eval "$as_ac_Header=yes"
13320 else
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324 eval "$as_ac_Header=no"
13325 fi
13326 rm -f conftest.$ac_objext conftest.$ac_ext
13327 fi
13328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13331 cat >>confdefs.h <<_ACEOF
13332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13333 _ACEOF
13334
13335 fi
13336
13337 done
13338
13339 fi
13340 fi
13341
13342
13343 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13344 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13345 if test "${ac_cv_c_const+set}" = set; then
13346 echo $ECHO_N "(cached) $ECHO_C" >&6
13347 else
13348 cat >conftest.$ac_ext <<_ACEOF
13349 #line $LINENO "configure"
13350 /* confdefs.h. */
13351 _ACEOF
13352 cat confdefs.h >>conftest.$ac_ext
13353 cat >>conftest.$ac_ext <<_ACEOF
13354 /* end confdefs.h. */
13355
13356 int
13357 main ()
13358 {
13359 /* FIXME: Include the comments suggested by Paul. */
13360 #ifndef __cplusplus
13361 /* Ultrix mips cc rejects this. */
13362 typedef int charset[2];
13363 const charset x;
13364 /* SunOS 4.1.1 cc rejects this. */
13365 char const *const *ccp;
13366 char **p;
13367 /* NEC SVR4.0.2 mips cc rejects this. */
13368 struct point {int x, y;};
13369 static struct point const zero = {0,0};
13370 /* AIX XL C 1.02.0.0 rejects this.
13371 It does not let you subtract one const X* pointer from another in
13372 an arm of an if-expression whose if-part is not a constant
13373 expression */
13374 const char *g = "string";
13375 ccp = &g + (g ? g-g : 0);
13376 /* HPUX 7.0 cc rejects these. */
13377 ++ccp;
13378 p = (char**) ccp;
13379 ccp = (char const *const *) p;
13380 { /* SCO 3.2v4 cc rejects this. */
13381 char *t;
13382 char const *s = 0 ? (char *) 0 : (char const *) 0;
13383
13384 *t++ = 0;
13385 }
13386 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13387 int x[] = {25, 17};
13388 const int *foo = &x[0];
13389 ++foo;
13390 }
13391 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13392 typedef const int *iptr;
13393 iptr p = 0;
13394 ++p;
13395 }
13396 { /* AIX XL C 1.02.0.0 rejects this saying
13397 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13398 struct s { int j; const int *ap[3]; };
13399 struct s *b; b->j = 5;
13400 }
13401 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13402 const int foo = 10;
13403 }
13404 #endif
13405
13406 ;
13407 return 0;
13408 }
13409 _ACEOF
13410 rm -f conftest.$ac_objext
13411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13412 (eval $ac_compile) 2>&5
13413 ac_status=$?
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); } &&
13416 { ac_try='test -s conftest.$ac_objext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13419 ac_status=$?
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13422 ac_cv_c_const=yes
13423 else
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.$ac_ext >&5
13426
13427 ac_cv_c_const=no
13428 fi
13429 rm -f conftest.$ac_objext conftest.$ac_ext
13430 fi
13431 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13432 echo "${ECHO_T}$ac_cv_c_const" >&6
13433 if test $ac_cv_c_const = no; then
13434
13435 cat >>confdefs.h <<\_ACEOF
13436 #define const
13437 _ACEOF
13438
13439 fi
13440
13441 echo "$as_me:$LINENO: checking for inline" >&5
13442 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13443 if test "${ac_cv_c_inline+set}" = set; then
13444 echo $ECHO_N "(cached) $ECHO_C" >&6
13445 else
13446 ac_cv_c_inline=no
13447 for ac_kw in inline __inline__ __inline; do
13448 cat >conftest.$ac_ext <<_ACEOF
13449 #line $LINENO "configure"
13450 /* confdefs.h. */
13451 _ACEOF
13452 cat confdefs.h >>conftest.$ac_ext
13453 cat >>conftest.$ac_ext <<_ACEOF
13454 /* end confdefs.h. */
13455 #ifndef __cplusplus
13456 typedef int foo_t;
13457 static $ac_kw foo_t static_foo () {return 0; }
13458 $ac_kw foo_t foo () {return 0; }
13459 #endif
13460
13461 _ACEOF
13462 rm -f conftest.$ac_objext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13464 (eval $ac_compile) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest.$ac_objext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13471 ac_status=$?
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 ac_cv_c_inline=$ac_kw; break
13475 else
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13478
13479 fi
13480 rm -f conftest.$ac_objext conftest.$ac_ext
13481 done
13482
13483 fi
13484 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13485 echo "${ECHO_T}$ac_cv_c_inline" >&6
13486 case $ac_cv_c_inline in
13487 inline | yes) ;;
13488 no)
13489 cat >>confdefs.h <<\_ACEOF
13490 #define inline
13491 _ACEOF
13492 ;;
13493 *) cat >>confdefs.h <<_ACEOF
13494 #define inline $ac_cv_c_inline
13495 _ACEOF
13496 ;;
13497 esac
13498
13499
13500 echo "$as_me:$LINENO: checking for char" >&5
13501 echo $ECHO_N "checking for char... $ECHO_C" >&6
13502 if test "${ac_cv_type_char+set}" = set; then
13503 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 else
13505 cat >conftest.$ac_ext <<_ACEOF
13506 #line $LINENO "configure"
13507 /* confdefs.h. */
13508 _ACEOF
13509 cat confdefs.h >>conftest.$ac_ext
13510 cat >>conftest.$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512 $ac_includes_default
13513 int
13514 main ()
13515 {
13516 if ((char *) 0)
13517 return 0;
13518 if (sizeof (char))
13519 return 0;
13520 ;
13521 return 0;
13522 }
13523 _ACEOF
13524 rm -f conftest.$ac_objext
13525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13526 (eval $ac_compile) 2>&5
13527 ac_status=$?
13528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13529 (exit $ac_status); } &&
13530 { ac_try='test -s conftest.$ac_objext'
13531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13532 (eval $ac_try) 2>&5
13533 ac_status=$?
13534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13535 (exit $ac_status); }; }; then
13536 ac_cv_type_char=yes
13537 else
13538 echo "$as_me: failed program was:" >&5
13539 sed 's/^/| /' conftest.$ac_ext >&5
13540
13541 ac_cv_type_char=no
13542 fi
13543 rm -f conftest.$ac_objext conftest.$ac_ext
13544 fi
13545 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13546 echo "${ECHO_T}$ac_cv_type_char" >&6
13547
13548 echo "$as_me:$LINENO: checking size of char" >&5
13549 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13550 if test "${ac_cv_sizeof_char+set}" = set; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13552 else
13553 if test "$ac_cv_type_char" = yes; then
13554 # The cast to unsigned long works around a bug in the HP C Compiler
13555 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13556 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13557 # This bug is HP SR number 8606223364.
13558 if test "$cross_compiling" = yes; then
13559 # Depending upon the size, compute the lo and hi bounds.
13560 cat >conftest.$ac_ext <<_ACEOF
13561 #line $LINENO "configure"
13562 /* confdefs.h. */
13563 _ACEOF
13564 cat confdefs.h >>conftest.$ac_ext
13565 cat >>conftest.$ac_ext <<_ACEOF
13566 /* end confdefs.h. */
13567 $ac_includes_default
13568 int
13569 main ()
13570 {
13571 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13572 test_array [0] = 0
13573
13574 ;
13575 return 0;
13576 }
13577 _ACEOF
13578 rm -f conftest.$ac_objext
13579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13580 (eval $ac_compile) 2>&5
13581 ac_status=$?
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try='test -s conftest.$ac_objext'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13587 ac_status=$?
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; }; then
13590 ac_lo=0 ac_mid=0
13591 while :; do
13592 cat >conftest.$ac_ext <<_ACEOF
13593 #line $LINENO "configure"
13594 /* confdefs.h. */
13595 _ACEOF
13596 cat confdefs.h >>conftest.$ac_ext
13597 cat >>conftest.$ac_ext <<_ACEOF
13598 /* end confdefs.h. */
13599 $ac_includes_default
13600 int
13601 main ()
13602 {
13603 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13604 test_array [0] = 0
13605
13606 ;
13607 return 0;
13608 }
13609 _ACEOF
13610 rm -f conftest.$ac_objext
13611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13612 (eval $ac_compile) 2>&5
13613 ac_status=$?
13614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13615 (exit $ac_status); } &&
13616 { ac_try='test -s conftest.$ac_objext'
13617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13618 (eval $ac_try) 2>&5
13619 ac_status=$?
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); }; }; then
13622 ac_hi=$ac_mid; break
13623 else
13624 echo "$as_me: failed program was:" >&5
13625 sed 's/^/| /' conftest.$ac_ext >&5
13626
13627 ac_lo=`expr $ac_mid + 1`
13628 if test $ac_lo -le $ac_mid; then
13629 ac_lo= ac_hi=
13630 break
13631 fi
13632 ac_mid=`expr 2 '*' $ac_mid + 1`
13633 fi
13634 rm -f conftest.$ac_objext conftest.$ac_ext
13635 done
13636 else
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13639
13640 cat >conftest.$ac_ext <<_ACEOF
13641 #line $LINENO "configure"
13642 /* confdefs.h. */
13643 _ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 $ac_includes_default
13648 int
13649 main ()
13650 {
13651 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13652 test_array [0] = 0
13653
13654 ;
13655 return 0;
13656 }
13657 _ACEOF
13658 rm -f conftest.$ac_objext
13659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13660 (eval $ac_compile) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -s conftest.$ac_objext'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; }; then
13670 ac_hi=-1 ac_mid=-1
13671 while :; do
13672 cat >conftest.$ac_ext <<_ACEOF
13673 #line $LINENO "configure"
13674 /* confdefs.h. */
13675 _ACEOF
13676 cat confdefs.h >>conftest.$ac_ext
13677 cat >>conftest.$ac_ext <<_ACEOF
13678 /* end confdefs.h. */
13679 $ac_includes_default
13680 int
13681 main ()
13682 {
13683 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13684 test_array [0] = 0
13685
13686 ;
13687 return 0;
13688 }
13689 _ACEOF
13690 rm -f conftest.$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>&5
13693 ac_status=$?
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13699 ac_status=$?
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 ac_lo=$ac_mid; break
13703 else
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13706
13707 ac_hi=`expr '(' $ac_mid ')' - 1`
13708 if test $ac_mid -le $ac_hi; then
13709 ac_lo= ac_hi=
13710 break
13711 fi
13712 ac_mid=`expr 2 '*' $ac_mid`
13713 fi
13714 rm -f conftest.$ac_objext conftest.$ac_ext
13715 done
13716 else
13717 echo "$as_me: failed program was:" >&5
13718 sed 's/^/| /' conftest.$ac_ext >&5
13719
13720 ac_lo= ac_hi=
13721 fi
13722 rm -f conftest.$ac_objext conftest.$ac_ext
13723 fi
13724 rm -f conftest.$ac_objext conftest.$ac_ext
13725 # Binary search between lo and hi bounds.
13726 while test "x$ac_lo" != "x$ac_hi"; do
13727 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13728 cat >conftest.$ac_ext <<_ACEOF
13729 #line $LINENO "configure"
13730 /* confdefs.h. */
13731 _ACEOF
13732 cat confdefs.h >>conftest.$ac_ext
13733 cat >>conftest.$ac_ext <<_ACEOF
13734 /* end confdefs.h. */
13735 $ac_includes_default
13736 int
13737 main ()
13738 {
13739 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13740 test_array [0] = 0
13741
13742 ;
13743 return 0;
13744 }
13745 _ACEOF
13746 rm -f conftest.$ac_objext
13747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13748 (eval $ac_compile) 2>&5
13749 ac_status=$?
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); } &&
13752 { ac_try='test -s conftest.$ac_objext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13755 ac_status=$?
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 ac_hi=$ac_mid
13759 else
13760 echo "$as_me: failed program was:" >&5
13761 sed 's/^/| /' conftest.$ac_ext >&5
13762
13763 ac_lo=`expr '(' $ac_mid ')' + 1`
13764 fi
13765 rm -f conftest.$ac_objext conftest.$ac_ext
13766 done
13767 case $ac_lo in
13768 ?*) ac_cv_sizeof_char=$ac_lo;;
13769 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13770 See \`config.log' for more details." >&5
13771 echo "$as_me: error: cannot compute sizeof (char), 77
13772 See \`config.log' for more details." >&2;}
13773 { (exit 1); exit 1; }; } ;;
13774 esac
13775 else
13776 if test "$cross_compiling" = yes; then
13777 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13778 See \`config.log' for more details." >&5
13779 echo "$as_me: error: cannot run test program while cross compiling
13780 See \`config.log' for more details." >&2;}
13781 { (exit 1); exit 1; }; }
13782 else
13783 cat >conftest.$ac_ext <<_ACEOF
13784 #line $LINENO "configure"
13785 /* confdefs.h. */
13786 _ACEOF
13787 cat confdefs.h >>conftest.$ac_ext
13788 cat >>conftest.$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 $ac_includes_default
13791 long longval () { return (long) (sizeof (char)); }
13792 unsigned long ulongval () { return (long) (sizeof (char)); }
13793 #include <stdio.h>
13794 #include <stdlib.h>
13795 int
13796 main ()
13797 {
13798
13799 FILE *f = fopen ("conftest.val", "w");
13800 if (! f)
13801 exit (1);
13802 if (((long) (sizeof (char))) < 0)
13803 {
13804 long i = longval ();
13805 if (i != ((long) (sizeof (char))))
13806 exit (1);
13807 fprintf (f, "%ld\n", i);
13808 }
13809 else
13810 {
13811 unsigned long i = ulongval ();
13812 if (i != ((long) (sizeof (char))))
13813 exit (1);
13814 fprintf (f, "%lu\n", i);
13815 }
13816 exit (ferror (f) || fclose (f) != 0);
13817
13818 ;
13819 return 0;
13820 }
13821 _ACEOF
13822 rm -f conftest$ac_exeext
13823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13824 (eval $ac_link) 2>&5
13825 ac_status=$?
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13830 ac_status=$?
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 ac_cv_sizeof_char=`cat conftest.val`
13834 else
13835 echo "$as_me: program exited with status $ac_status" >&5
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13838
13839 ( exit $ac_status )
13840 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13841 See \`config.log' for more details." >&5
13842 echo "$as_me: error: cannot compute sizeof (char), 77
13843 See \`config.log' for more details." >&2;}
13844 { (exit 1); exit 1; }; }
13845 fi
13846 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13847 fi
13848 fi
13849 rm -f conftest.val
13850 else
13851 ac_cv_sizeof_char=0
13852 fi
13853 fi
13854 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13855 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13856 cat >>confdefs.h <<_ACEOF
13857 #define SIZEOF_CHAR $ac_cv_sizeof_char
13858 _ACEOF
13859
13860
13861 echo "$as_me:$LINENO: checking for short" >&5
13862 echo $ECHO_N "checking for short... $ECHO_C" >&6
13863 if test "${ac_cv_type_short+set}" = set; then
13864 echo $ECHO_N "(cached) $ECHO_C" >&6
13865 else
13866 cat >conftest.$ac_ext <<_ACEOF
13867 #line $LINENO "configure"
13868 /* confdefs.h. */
13869 _ACEOF
13870 cat confdefs.h >>conftest.$ac_ext
13871 cat >>conftest.$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 $ac_includes_default
13874 int
13875 main ()
13876 {
13877 if ((short *) 0)
13878 return 0;
13879 if (sizeof (short))
13880 return 0;
13881 ;
13882 return 0;
13883 }
13884 _ACEOF
13885 rm -f conftest.$ac_objext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } &&
13891 { ac_try='test -s conftest.$ac_objext'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13894 ac_status=$?
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; }; then
13897 ac_cv_type_short=yes
13898 else
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.$ac_ext >&5
13901
13902 ac_cv_type_short=no
13903 fi
13904 rm -f conftest.$ac_objext conftest.$ac_ext
13905 fi
13906 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13907 echo "${ECHO_T}$ac_cv_type_short" >&6
13908
13909 echo "$as_me:$LINENO: checking size of short" >&5
13910 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13911 if test "${ac_cv_sizeof_short+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 else
13914 if test "$ac_cv_type_short" = yes; then
13915 # The cast to unsigned long works around a bug in the HP C Compiler
13916 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13917 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13918 # This bug is HP SR number 8606223364.
13919 if test "$cross_compiling" = yes; then
13920 # Depending upon the size, compute the lo and hi bounds.
13921 cat >conftest.$ac_ext <<_ACEOF
13922 #line $LINENO "configure"
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 $ac_includes_default
13929 int
13930 main ()
13931 {
13932 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13933 test_array [0] = 0
13934
13935 ;
13936 return 0;
13937 }
13938 _ACEOF
13939 rm -f conftest.$ac_objext
13940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13941 (eval $ac_compile) 2>&5
13942 ac_status=$?
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } &&
13945 { ac_try='test -s conftest.$ac_objext'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13948 ac_status=$?
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; }; then
13951 ac_lo=0 ac_mid=0
13952 while :; do
13953 cat >conftest.$ac_ext <<_ACEOF
13954 #line $LINENO "configure"
13955 /* confdefs.h. */
13956 _ACEOF
13957 cat confdefs.h >>conftest.$ac_ext
13958 cat >>conftest.$ac_ext <<_ACEOF
13959 /* end confdefs.h. */
13960 $ac_includes_default
13961 int
13962 main ()
13963 {
13964 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
13965 test_array [0] = 0
13966
13967 ;
13968 return 0;
13969 }
13970 _ACEOF
13971 rm -f conftest.$ac_objext
13972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13973 (eval $ac_compile) 2>&5
13974 ac_status=$?
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try='test -s conftest.$ac_objext'
13978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13979 (eval $ac_try) 2>&5
13980 ac_status=$?
13981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13982 (exit $ac_status); }; }; then
13983 ac_hi=$ac_mid; break
13984 else
13985 echo "$as_me: failed program was:" >&5
13986 sed 's/^/| /' conftest.$ac_ext >&5
13987
13988 ac_lo=`expr $ac_mid + 1`
13989 if test $ac_lo -le $ac_mid; then
13990 ac_lo= ac_hi=
13991 break
13992 fi
13993 ac_mid=`expr 2 '*' $ac_mid + 1`
13994 fi
13995 rm -f conftest.$ac_objext conftest.$ac_ext
13996 done
13997 else
13998 echo "$as_me: failed program was:" >&5
13999 sed 's/^/| /' conftest.$ac_ext >&5
14000
14001 cat >conftest.$ac_ext <<_ACEOF
14002 #line $LINENO "configure"
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 $ac_includes_default
14009 int
14010 main ()
14011 {
14012 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14013 test_array [0] = 0
14014
14015 ;
14016 return 0;
14017 }
14018 _ACEOF
14019 rm -f conftest.$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021 (eval $ac_compile) 2>&5
14022 ac_status=$?
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -s conftest.$ac_objext'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; }; then
14031 ac_hi=-1 ac_mid=-1
14032 while :; do
14033 cat >conftest.$ac_ext <<_ACEOF
14034 #line $LINENO "configure"
14035 /* confdefs.h. */
14036 _ACEOF
14037 cat confdefs.h >>conftest.$ac_ext
14038 cat >>conftest.$ac_ext <<_ACEOF
14039 /* end confdefs.h. */
14040 $ac_includes_default
14041 int
14042 main ()
14043 {
14044 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14045 test_array [0] = 0
14046
14047 ;
14048 return 0;
14049 }
14050 _ACEOF
14051 rm -f conftest.$ac_objext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14053 (eval $ac_compile) 2>&5
14054 ac_status=$?
14055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14056 (exit $ac_status); } &&
14057 { ac_try='test -s conftest.$ac_objext'
14058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14059 (eval $ac_try) 2>&5
14060 ac_status=$?
14061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062 (exit $ac_status); }; }; then
14063 ac_lo=$ac_mid; break
14064 else
14065 echo "$as_me: failed program was:" >&5
14066 sed 's/^/| /' conftest.$ac_ext >&5
14067
14068 ac_hi=`expr '(' $ac_mid ')' - 1`
14069 if test $ac_mid -le $ac_hi; then
14070 ac_lo= ac_hi=
14071 break
14072 fi
14073 ac_mid=`expr 2 '*' $ac_mid`
14074 fi
14075 rm -f conftest.$ac_objext conftest.$ac_ext
14076 done
14077 else
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14080
14081 ac_lo= ac_hi=
14082 fi
14083 rm -f conftest.$ac_objext conftest.$ac_ext
14084 fi
14085 rm -f conftest.$ac_objext conftest.$ac_ext
14086 # Binary search between lo and hi bounds.
14087 while test "x$ac_lo" != "x$ac_hi"; do
14088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14089 cat >conftest.$ac_ext <<_ACEOF
14090 #line $LINENO "configure"
14091 /* confdefs.h. */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14096 $ac_includes_default
14097 int
14098 main ()
14099 {
14100 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14101 test_array [0] = 0
14102
14103 ;
14104 return 0;
14105 }
14106 _ACEOF
14107 rm -f conftest.$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>&5
14110 ac_status=$?
14111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14112 (exit $ac_status); } &&
14113 { ac_try='test -s conftest.$ac_objext'
14114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14115 (eval $ac_try) 2>&5
14116 ac_status=$?
14117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14118 (exit $ac_status); }; }; then
14119 ac_hi=$ac_mid
14120 else
14121 echo "$as_me: failed program was:" >&5
14122 sed 's/^/| /' conftest.$ac_ext >&5
14123
14124 ac_lo=`expr '(' $ac_mid ')' + 1`
14125 fi
14126 rm -f conftest.$ac_objext conftest.$ac_ext
14127 done
14128 case $ac_lo in
14129 ?*) ac_cv_sizeof_short=$ac_lo;;
14130 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14131 See \`config.log' for more details." >&5
14132 echo "$as_me: error: cannot compute sizeof (short), 77
14133 See \`config.log' for more details." >&2;}
14134 { (exit 1); exit 1; }; } ;;
14135 esac
14136 else
14137 if test "$cross_compiling" = yes; then
14138 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14139 See \`config.log' for more details." >&5
14140 echo "$as_me: error: cannot run test program while cross compiling
14141 See \`config.log' for more details." >&2;}
14142 { (exit 1); exit 1; }; }
14143 else
14144 cat >conftest.$ac_ext <<_ACEOF
14145 #line $LINENO "configure"
14146 /* confdefs.h. */
14147 _ACEOF
14148 cat confdefs.h >>conftest.$ac_ext
14149 cat >>conftest.$ac_ext <<_ACEOF
14150 /* end confdefs.h. */
14151 $ac_includes_default
14152 long longval () { return (long) (sizeof (short)); }
14153 unsigned long ulongval () { return (long) (sizeof (short)); }
14154 #include <stdio.h>
14155 #include <stdlib.h>
14156 int
14157 main ()
14158 {
14159
14160 FILE *f = fopen ("conftest.val", "w");
14161 if (! f)
14162 exit (1);
14163 if (((long) (sizeof (short))) < 0)
14164 {
14165 long i = longval ();
14166 if (i != ((long) (sizeof (short))))
14167 exit (1);
14168 fprintf (f, "%ld\n", i);
14169 }
14170 else
14171 {
14172 unsigned long i = ulongval ();
14173 if (i != ((long) (sizeof (short))))
14174 exit (1);
14175 fprintf (f, "%lu\n", i);
14176 }
14177 exit (ferror (f) || fclose (f) != 0);
14178
14179 ;
14180 return 0;
14181 }
14182 _ACEOF
14183 rm -f conftest$ac_exeext
14184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14185 (eval $ac_link) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14190 (eval $ac_try) 2>&5
14191 ac_status=$?
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); }; }; then
14194 ac_cv_sizeof_short=`cat conftest.val`
14195 else
14196 echo "$as_me: program exited with status $ac_status" >&5
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14199
14200 ( exit $ac_status )
14201 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14202 See \`config.log' for more details." >&5
14203 echo "$as_me: error: cannot compute sizeof (short), 77
14204 See \`config.log' for more details." >&2;}
14205 { (exit 1); exit 1; }; }
14206 fi
14207 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14208 fi
14209 fi
14210 rm -f conftest.val
14211 else
14212 ac_cv_sizeof_short=0
14213 fi
14214 fi
14215 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14216 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14217 cat >>confdefs.h <<_ACEOF
14218 #define SIZEOF_SHORT $ac_cv_sizeof_short
14219 _ACEOF
14220
14221
14222 echo "$as_me:$LINENO: checking for void *" >&5
14223 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14224 if test "${ac_cv_type_void_p+set}" = set; then
14225 echo $ECHO_N "(cached) $ECHO_C" >&6
14226 else
14227 cat >conftest.$ac_ext <<_ACEOF
14228 #line $LINENO "configure"
14229 /* confdefs.h. */
14230 _ACEOF
14231 cat confdefs.h >>conftest.$ac_ext
14232 cat >>conftest.$ac_ext <<_ACEOF
14233 /* end confdefs.h. */
14234 $ac_includes_default
14235 int
14236 main ()
14237 {
14238 if ((void * *) 0)
14239 return 0;
14240 if (sizeof (void *))
14241 return 0;
14242 ;
14243 return 0;
14244 }
14245 _ACEOF
14246 rm -f conftest.$ac_objext
14247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14248 (eval $ac_compile) 2>&5
14249 ac_status=$?
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try='test -s conftest.$ac_objext'
14253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14254 (eval $ac_try) 2>&5
14255 ac_status=$?
14256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14257 (exit $ac_status); }; }; then
14258 ac_cv_type_void_p=yes
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14262
14263 ac_cv_type_void_p=no
14264 fi
14265 rm -f conftest.$ac_objext conftest.$ac_ext
14266 fi
14267 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14268 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14269
14270 echo "$as_me:$LINENO: checking size of void *" >&5
14271 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14272 if test "${ac_cv_sizeof_void_p+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 if test "$ac_cv_type_void_p" = yes; then
14276 # The cast to unsigned long works around a bug in the HP C Compiler
14277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14279 # This bug is HP SR number 8606223364.
14280 if test "$cross_compiling" = yes; then
14281 # Depending upon the size, compute the lo and hi bounds.
14282 cat >conftest.$ac_ext <<_ACEOF
14283 #line $LINENO "configure"
14284 /* confdefs.h. */
14285 _ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289 $ac_includes_default
14290 int
14291 main ()
14292 {
14293 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14294 test_array [0] = 0
14295
14296 ;
14297 return 0;
14298 }
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302 (eval $ac_compile) 2>&5
14303 ac_status=$?
14304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14305 (exit $ac_status); } &&
14306 { ac_try='test -s conftest.$ac_objext'
14307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14308 (eval $ac_try) 2>&5
14309 ac_status=$?
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); }; }; then
14312 ac_lo=0 ac_mid=0
14313 while :; do
14314 cat >conftest.$ac_ext <<_ACEOF
14315 #line $LINENO "configure"
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321 $ac_includes_default
14322 int
14323 main ()
14324 {
14325 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14326 test_array [0] = 0
14327
14328 ;
14329 return 0;
14330 }
14331 _ACEOF
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>&5
14335 ac_status=$?
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14341 ac_status=$?
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14344 ac_hi=$ac_mid; break
14345 else
14346 echo "$as_me: failed program was:" >&5
14347 sed 's/^/| /' conftest.$ac_ext >&5
14348
14349 ac_lo=`expr $ac_mid + 1`
14350 if test $ac_lo -le $ac_mid; then
14351 ac_lo= ac_hi=
14352 break
14353 fi
14354 ac_mid=`expr 2 '*' $ac_mid + 1`
14355 fi
14356 rm -f conftest.$ac_objext conftest.$ac_ext
14357 done
14358 else
14359 echo "$as_me: failed program was:" >&5
14360 sed 's/^/| /' conftest.$ac_ext >&5
14361
14362 cat >conftest.$ac_ext <<_ACEOF
14363 #line $LINENO "configure"
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369 $ac_includes_default
14370 int
14371 main ()
14372 {
14373 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14374 test_array [0] = 0
14375
14376 ;
14377 return 0;
14378 }
14379 _ACEOF
14380 rm -f conftest.$ac_objext
14381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14382 (eval $ac_compile) 2>&5
14383 ac_status=$?
14384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385 (exit $ac_status); } &&
14386 { ac_try='test -s conftest.$ac_objext'
14387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14388 (eval $ac_try) 2>&5
14389 ac_status=$?
14390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14391 (exit $ac_status); }; }; then
14392 ac_hi=-1 ac_mid=-1
14393 while :; do
14394 cat >conftest.$ac_ext <<_ACEOF
14395 #line $LINENO "configure"
14396 /* confdefs.h. */
14397 _ACEOF
14398 cat confdefs.h >>conftest.$ac_ext
14399 cat >>conftest.$ac_ext <<_ACEOF
14400 /* end confdefs.h. */
14401 $ac_includes_default
14402 int
14403 main ()
14404 {
14405 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14406 test_array [0] = 0
14407
14408 ;
14409 return 0;
14410 }
14411 _ACEOF
14412 rm -f conftest.$ac_objext
14413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14414 (eval $ac_compile) 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); } &&
14418 { ac_try='test -s conftest.$ac_objext'
14419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14420 (eval $ac_try) 2>&5
14421 ac_status=$?
14422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423 (exit $ac_status); }; }; then
14424 ac_lo=$ac_mid; break
14425 else
14426 echo "$as_me: failed program was:" >&5
14427 sed 's/^/| /' conftest.$ac_ext >&5
14428
14429 ac_hi=`expr '(' $ac_mid ')' - 1`
14430 if test $ac_mid -le $ac_hi; then
14431 ac_lo= ac_hi=
14432 break
14433 fi
14434 ac_mid=`expr 2 '*' $ac_mid`
14435 fi
14436 rm -f conftest.$ac_objext conftest.$ac_ext
14437 done
14438 else
14439 echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14441
14442 ac_lo= ac_hi=
14443 fi
14444 rm -f conftest.$ac_objext conftest.$ac_ext
14445 fi
14446 rm -f conftest.$ac_objext conftest.$ac_ext
14447 # Binary search between lo and hi bounds.
14448 while test "x$ac_lo" != "x$ac_hi"; do
14449 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14450 cat >conftest.$ac_ext <<_ACEOF
14451 #line $LINENO "configure"
14452 /* confdefs.h. */
14453 _ACEOF
14454 cat confdefs.h >>conftest.$ac_ext
14455 cat >>conftest.$ac_ext <<_ACEOF
14456 /* end confdefs.h. */
14457 $ac_includes_default
14458 int
14459 main ()
14460 {
14461 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14462 test_array [0] = 0
14463
14464 ;
14465 return 0;
14466 }
14467 _ACEOF
14468 rm -f conftest.$ac_objext
14469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14470 (eval $ac_compile) 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -s conftest.$ac_objext'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; }; then
14480 ac_hi=$ac_mid
14481 else
14482 echo "$as_me: failed program was:" >&5
14483 sed 's/^/| /' conftest.$ac_ext >&5
14484
14485 ac_lo=`expr '(' $ac_mid ')' + 1`
14486 fi
14487 rm -f conftest.$ac_objext conftest.$ac_ext
14488 done
14489 case $ac_lo in
14490 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14492 See \`config.log' for more details." >&5
14493 echo "$as_me: error: cannot compute sizeof (void *), 77
14494 See \`config.log' for more details." >&2;}
14495 { (exit 1); exit 1; }; } ;;
14496 esac
14497 else
14498 if test "$cross_compiling" = yes; then
14499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14500 See \`config.log' for more details." >&5
14501 echo "$as_me: error: cannot run test program while cross compiling
14502 See \`config.log' for more details." >&2;}
14503 { (exit 1); exit 1; }; }
14504 else
14505 cat >conftest.$ac_ext <<_ACEOF
14506 #line $LINENO "configure"
14507 /* confdefs.h. */
14508 _ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14512 $ac_includes_default
14513 long longval () { return (long) (sizeof (void *)); }
14514 unsigned long ulongval () { return (long) (sizeof (void *)); }
14515 #include <stdio.h>
14516 #include <stdlib.h>
14517 int
14518 main ()
14519 {
14520
14521 FILE *f = fopen ("conftest.val", "w");
14522 if (! f)
14523 exit (1);
14524 if (((long) (sizeof (void *))) < 0)
14525 {
14526 long i = longval ();
14527 if (i != ((long) (sizeof (void *))))
14528 exit (1);
14529 fprintf (f, "%ld\n", i);
14530 }
14531 else
14532 {
14533 unsigned long i = ulongval ();
14534 if (i != ((long) (sizeof (void *))))
14535 exit (1);
14536 fprintf (f, "%lu\n", i);
14537 }
14538 exit (ferror (f) || fclose (f) != 0);
14539
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 rm -f conftest$ac_exeext
14545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14546 (eval $ac_link) 2>&5
14547 ac_status=$?
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14552 ac_status=$?
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 ac_cv_sizeof_void_p=`cat conftest.val`
14556 else
14557 echo "$as_me: program exited with status $ac_status" >&5
14558 echo "$as_me: failed program was:" >&5
14559 sed 's/^/| /' conftest.$ac_ext >&5
14560
14561 ( exit $ac_status )
14562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14563 See \`config.log' for more details." >&5
14564 echo "$as_me: error: cannot compute sizeof (void *), 77
14565 See \`config.log' for more details." >&2;}
14566 { (exit 1); exit 1; }; }
14567 fi
14568 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14569 fi
14570 fi
14571 rm -f conftest.val
14572 else
14573 ac_cv_sizeof_void_p=0
14574 fi
14575 fi
14576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14577 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14578 cat >>confdefs.h <<_ACEOF
14579 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14580 _ACEOF
14581
14582
14583 echo "$as_me:$LINENO: checking for int" >&5
14584 echo $ECHO_N "checking for int... $ECHO_C" >&6
14585 if test "${ac_cv_type_int+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 else
14588 cat >conftest.$ac_ext <<_ACEOF
14589 #line $LINENO "configure"
14590 /* confdefs.h. */
14591 _ACEOF
14592 cat confdefs.h >>conftest.$ac_ext
14593 cat >>conftest.$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 $ac_includes_default
14596 int
14597 main ()
14598 {
14599 if ((int *) 0)
14600 return 0;
14601 if (sizeof (int))
14602 return 0;
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 rm -f conftest.$ac_objext
14608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14609 (eval $ac_compile) 2>&5
14610 ac_status=$?
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } &&
14613 { ac_try='test -s conftest.$ac_objext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14616 ac_status=$?
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14619 ac_cv_type_int=yes
14620 else
14621 echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.$ac_ext >&5
14623
14624 ac_cv_type_int=no
14625 fi
14626 rm -f conftest.$ac_objext conftest.$ac_ext
14627 fi
14628 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14629 echo "${ECHO_T}$ac_cv_type_int" >&6
14630
14631 echo "$as_me:$LINENO: checking size of int" >&5
14632 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14633 if test "${ac_cv_sizeof_int+set}" = set; then
14634 echo $ECHO_N "(cached) $ECHO_C" >&6
14635 else
14636 if test "$ac_cv_type_int" = yes; then
14637 # The cast to unsigned long works around a bug in the HP C Compiler
14638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14640 # This bug is HP SR number 8606223364.
14641 if test "$cross_compiling" = yes; then
14642 # Depending upon the size, compute the lo and hi bounds.
14643 cat >conftest.$ac_ext <<_ACEOF
14644 #line $LINENO "configure"
14645 /* confdefs.h. */
14646 _ACEOF
14647 cat confdefs.h >>conftest.$ac_ext
14648 cat >>conftest.$ac_ext <<_ACEOF
14649 /* end confdefs.h. */
14650 $ac_includes_default
14651 int
14652 main ()
14653 {
14654 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14655 test_array [0] = 0
14656
14657 ;
14658 return 0;
14659 }
14660 _ACEOF
14661 rm -f conftest.$ac_objext
14662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14663 (eval $ac_compile) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 ac_lo=0 ac_mid=0
14674 while :; do
14675 cat >conftest.$ac_ext <<_ACEOF
14676 #line $LINENO "configure"
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 $ac_includes_default
14683 int
14684 main ()
14685 {
14686 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14687 test_array [0] = 0
14688
14689 ;
14690 return 0;
14691 }
14692 _ACEOF
14693 rm -f conftest.$ac_objext
14694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); } &&
14699 { ac_try='test -s conftest.$ac_objext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_hi=$ac_mid; break
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 ac_lo=`expr $ac_mid + 1`
14711 if test $ac_lo -le $ac_mid; then
14712 ac_lo= ac_hi=
14713 break
14714 fi
14715 ac_mid=`expr 2 '*' $ac_mid + 1`
14716 fi
14717 rm -f conftest.$ac_objext conftest.$ac_ext
14718 done
14719 else
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14722
14723 cat >conftest.$ac_ext <<_ACEOF
14724 #line $LINENO "configure"
14725 /* confdefs.h. */
14726 _ACEOF
14727 cat confdefs.h >>conftest.$ac_ext
14728 cat >>conftest.$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14730 $ac_includes_default
14731 int
14732 main ()
14733 {
14734 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14735 test_array [0] = 0
14736
14737 ;
14738 return 0;
14739 }
14740 _ACEOF
14741 rm -f conftest.$ac_objext
14742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14743 (eval $ac_compile) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); } &&
14747 { ac_try='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 ac_hi=-1 ac_mid=-1
14754 while :; do
14755 cat >conftest.$ac_ext <<_ACEOF
14756 #line $LINENO "configure"
14757 /* confdefs.h. */
14758 _ACEOF
14759 cat confdefs.h >>conftest.$ac_ext
14760 cat >>conftest.$ac_ext <<_ACEOF
14761 /* end confdefs.h. */
14762 $ac_includes_default
14763 int
14764 main ()
14765 {
14766 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14767 test_array [0] = 0
14768
14769 ;
14770 return 0;
14771 }
14772 _ACEOF
14773 rm -f conftest.$ac_objext
14774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14775 (eval $ac_compile) 2>&5
14776 ac_status=$?
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } &&
14779 { ac_try='test -s conftest.$ac_objext'
14780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14781 (eval $ac_try) 2>&5
14782 ac_status=$?
14783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14784 (exit $ac_status); }; }; then
14785 ac_lo=$ac_mid; break
14786 else
14787 echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14789
14790 ac_hi=`expr '(' $ac_mid ')' - 1`
14791 if test $ac_mid -le $ac_hi; then
14792 ac_lo= ac_hi=
14793 break
14794 fi
14795 ac_mid=`expr 2 '*' $ac_mid`
14796 fi
14797 rm -f conftest.$ac_objext conftest.$ac_ext
14798 done
14799 else
14800 echo "$as_me: failed program was:" >&5
14801 sed 's/^/| /' conftest.$ac_ext >&5
14802
14803 ac_lo= ac_hi=
14804 fi
14805 rm -f conftest.$ac_objext conftest.$ac_ext
14806 fi
14807 rm -f conftest.$ac_objext conftest.$ac_ext
14808 # Binary search between lo and hi bounds.
14809 while test "x$ac_lo" != "x$ac_hi"; do
14810 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14811 cat >conftest.$ac_ext <<_ACEOF
14812 #line $LINENO "configure"
14813 /* confdefs.h. */
14814 _ACEOF
14815 cat confdefs.h >>conftest.$ac_ext
14816 cat >>conftest.$ac_ext <<_ACEOF
14817 /* end confdefs.h. */
14818 $ac_includes_default
14819 int
14820 main ()
14821 {
14822 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14823 test_array [0] = 0
14824
14825 ;
14826 return 0;
14827 }
14828 _ACEOF
14829 rm -f conftest.$ac_objext
14830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14831 (eval $ac_compile) 2>&5
14832 ac_status=$?
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } &&
14835 { ac_try='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14838 ac_status=$?
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14841 ac_hi=$ac_mid
14842 else
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.$ac_ext >&5
14845
14846 ac_lo=`expr '(' $ac_mid ')' + 1`
14847 fi
14848 rm -f conftest.$ac_objext conftest.$ac_ext
14849 done
14850 case $ac_lo in
14851 ?*) ac_cv_sizeof_int=$ac_lo;;
14852 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14853 See \`config.log' for more details." >&5
14854 echo "$as_me: error: cannot compute sizeof (int), 77
14855 See \`config.log' for more details." >&2;}
14856 { (exit 1); exit 1; }; } ;;
14857 esac
14858 else
14859 if test "$cross_compiling" = yes; then
14860 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14861 See \`config.log' for more details." >&5
14862 echo "$as_me: error: cannot run test program while cross compiling
14863 See \`config.log' for more details." >&2;}
14864 { (exit 1); exit 1; }; }
14865 else
14866 cat >conftest.$ac_ext <<_ACEOF
14867 #line $LINENO "configure"
14868 /* confdefs.h. */
14869 _ACEOF
14870 cat confdefs.h >>conftest.$ac_ext
14871 cat >>conftest.$ac_ext <<_ACEOF
14872 /* end confdefs.h. */
14873 $ac_includes_default
14874 long longval () { return (long) (sizeof (int)); }
14875 unsigned long ulongval () { return (long) (sizeof (int)); }
14876 #include <stdio.h>
14877 #include <stdlib.h>
14878 int
14879 main ()
14880 {
14881
14882 FILE *f = fopen ("conftest.val", "w");
14883 if (! f)
14884 exit (1);
14885 if (((long) (sizeof (int))) < 0)
14886 {
14887 long i = longval ();
14888 if (i != ((long) (sizeof (int))))
14889 exit (1);
14890 fprintf (f, "%ld\n", i);
14891 }
14892 else
14893 {
14894 unsigned long i = ulongval ();
14895 if (i != ((long) (sizeof (int))))
14896 exit (1);
14897 fprintf (f, "%lu\n", i);
14898 }
14899 exit (ferror (f) || fclose (f) != 0);
14900
14901 ;
14902 return 0;
14903 }
14904 _ACEOF
14905 rm -f conftest$ac_exeext
14906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14907 (eval $ac_link) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14912 (eval $ac_try) 2>&5
14913 ac_status=$?
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); }; }; then
14916 ac_cv_sizeof_int=`cat conftest.val`
14917 else
14918 echo "$as_me: program exited with status $ac_status" >&5
14919 echo "$as_me: failed program was:" >&5
14920 sed 's/^/| /' conftest.$ac_ext >&5
14921
14922 ( exit $ac_status )
14923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14924 See \`config.log' for more details." >&5
14925 echo "$as_me: error: cannot compute sizeof (int), 77
14926 See \`config.log' for more details." >&2;}
14927 { (exit 1); exit 1; }; }
14928 fi
14929 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14930 fi
14931 fi
14932 rm -f conftest.val
14933 else
14934 ac_cv_sizeof_int=0
14935 fi
14936 fi
14937 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14938 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14939 cat >>confdefs.h <<_ACEOF
14940 #define SIZEOF_INT $ac_cv_sizeof_int
14941 _ACEOF
14942
14943
14944 echo "$as_me:$LINENO: checking for long" >&5
14945 echo $ECHO_N "checking for long... $ECHO_C" >&6
14946 if test "${ac_cv_type_long+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949 cat >conftest.$ac_ext <<_ACEOF
14950 #line $LINENO "configure"
14951 /* confdefs.h. */
14952 _ACEOF
14953 cat confdefs.h >>conftest.$ac_ext
14954 cat >>conftest.$ac_ext <<_ACEOF
14955 /* end confdefs.h. */
14956 $ac_includes_default
14957 int
14958 main ()
14959 {
14960 if ((long *) 0)
14961 return 0;
14962 if (sizeof (long))
14963 return 0;
14964 ;
14965 return 0;
14966 }
14967 _ACEOF
14968 rm -f conftest.$ac_objext
14969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14970 (eval $ac_compile) 2>&5
14971 ac_status=$?
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try='test -s conftest.$ac_objext'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; }; then
14980 ac_cv_type_long=yes
14981 else
14982 echo "$as_me: failed program was:" >&5
14983 sed 's/^/| /' conftest.$ac_ext >&5
14984
14985 ac_cv_type_long=no
14986 fi
14987 rm -f conftest.$ac_objext conftest.$ac_ext
14988 fi
14989 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14990 echo "${ECHO_T}$ac_cv_type_long" >&6
14991
14992 echo "$as_me:$LINENO: checking size of long" >&5
14993 echo $ECHO_N "checking size of long... $ECHO_C" >&6
14994 if test "${ac_cv_sizeof_long+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 if test "$ac_cv_type_long" = yes; then
14998 # The cast to unsigned long works around a bug in the HP C Compiler
14999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15001 # This bug is HP SR number 8606223364.
15002 if test "$cross_compiling" = yes; then
15003 # Depending upon the size, compute the lo and hi bounds.
15004 cat >conftest.$ac_ext <<_ACEOF
15005 #line $LINENO "configure"
15006 /* confdefs.h. */
15007 _ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h. */
15011 $ac_includes_default
15012 int
15013 main ()
15014 {
15015 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15016 test_array [0] = 0
15017
15018 ;
15019 return 0;
15020 }
15021 _ACEOF
15022 rm -f conftest.$ac_objext
15023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15024 (eval $ac_compile) 2>&5
15025 ac_status=$?
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -s conftest.$ac_objext'
15029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15030 (eval $ac_try) 2>&5
15031 ac_status=$?
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); }; }; then
15034 ac_lo=0 ac_mid=0
15035 while :; do
15036 cat >conftest.$ac_ext <<_ACEOF
15037 #line $LINENO "configure"
15038 /* confdefs.h. */
15039 _ACEOF
15040 cat confdefs.h >>conftest.$ac_ext
15041 cat >>conftest.$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15044 int
15045 main ()
15046 {
15047 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15048 test_array [0] = 0
15049
15050 ;
15051 return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15056 (eval $ac_compile) 2>&5
15057 ac_status=$?
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } &&
15060 { ac_try='test -s conftest.$ac_objext'
15061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15062 (eval $ac_try) 2>&5
15063 ac_status=$?
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); }; }; then
15066 ac_hi=$ac_mid; break
15067 else
15068 echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.$ac_ext >&5
15070
15071 ac_lo=`expr $ac_mid + 1`
15072 if test $ac_lo -le $ac_mid; then
15073 ac_lo= ac_hi=
15074 break
15075 fi
15076 ac_mid=`expr 2 '*' $ac_mid + 1`
15077 fi
15078 rm -f conftest.$ac_objext conftest.$ac_ext
15079 done
15080 else
15081 echo "$as_me: failed program was:" >&5
15082 sed 's/^/| /' conftest.$ac_ext >&5
15083
15084 cat >conftest.$ac_ext <<_ACEOF
15085 #line $LINENO "configure"
15086 /* confdefs.h. */
15087 _ACEOF
15088 cat confdefs.h >>conftest.$ac_ext
15089 cat >>conftest.$ac_ext <<_ACEOF
15090 /* end confdefs.h. */
15091 $ac_includes_default
15092 int
15093 main ()
15094 {
15095 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15096 test_array [0] = 0
15097
15098 ;
15099 return 0;
15100 }
15101 _ACEOF
15102 rm -f conftest.$ac_objext
15103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15104 (eval $ac_compile) 2>&5
15105 ac_status=$?
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try='test -s conftest.$ac_objext'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15111 ac_status=$?
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; }; then
15114 ac_hi=-1 ac_mid=-1
15115 while :; do
15116 cat >conftest.$ac_ext <<_ACEOF
15117 #line $LINENO "configure"
15118 /* confdefs.h. */
15119 _ACEOF
15120 cat confdefs.h >>conftest.$ac_ext
15121 cat >>conftest.$ac_ext <<_ACEOF
15122 /* end confdefs.h. */
15123 $ac_includes_default
15124 int
15125 main ()
15126 {
15127 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15128 test_array [0] = 0
15129
15130 ;
15131 return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext
15135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15136 (eval $ac_compile) 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); } &&
15140 { ac_try='test -s conftest.$ac_objext'
15141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 (eval $ac_try) 2>&5
15143 ac_status=$?
15144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145 (exit $ac_status); }; }; then
15146 ac_lo=$ac_mid; break
15147 else
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.$ac_ext >&5
15150
15151 ac_hi=`expr '(' $ac_mid ')' - 1`
15152 if test $ac_mid -le $ac_hi; then
15153 ac_lo= ac_hi=
15154 break
15155 fi
15156 ac_mid=`expr 2 '*' $ac_mid`
15157 fi
15158 rm -f conftest.$ac_objext conftest.$ac_ext
15159 done
15160 else
15161 echo "$as_me: failed program was:" >&5
15162 sed 's/^/| /' conftest.$ac_ext >&5
15163
15164 ac_lo= ac_hi=
15165 fi
15166 rm -f conftest.$ac_objext conftest.$ac_ext
15167 fi
15168 rm -f conftest.$ac_objext conftest.$ac_ext
15169 # Binary search between lo and hi bounds.
15170 while test "x$ac_lo" != "x$ac_hi"; do
15171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15172 cat >conftest.$ac_ext <<_ACEOF
15173 #line $LINENO "configure"
15174 /* confdefs.h. */
15175 _ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15179 $ac_includes_default
15180 int
15181 main ()
15182 {
15183 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15184 test_array [0] = 0
15185
15186 ;
15187 return 0;
15188 }
15189 _ACEOF
15190 rm -f conftest.$ac_objext
15191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15192 (eval $ac_compile) 2>&5
15193 ac_status=$?
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } &&
15196 { ac_try='test -s conftest.$ac_objext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15199 ac_status=$?
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15202 ac_hi=$ac_mid
15203 else
15204 echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.$ac_ext >&5
15206
15207 ac_lo=`expr '(' $ac_mid ')' + 1`
15208 fi
15209 rm -f conftest.$ac_objext conftest.$ac_ext
15210 done
15211 case $ac_lo in
15212 ?*) ac_cv_sizeof_long=$ac_lo;;
15213 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15214 See \`config.log' for more details." >&5
15215 echo "$as_me: error: cannot compute sizeof (long), 77
15216 See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; } ;;
15218 esac
15219 else
15220 if test "$cross_compiling" = yes; then
15221 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15222 See \`config.log' for more details." >&5
15223 echo "$as_me: error: cannot run test program while cross compiling
15224 See \`config.log' for more details." >&2;}
15225 { (exit 1); exit 1; }; }
15226 else
15227 cat >conftest.$ac_ext <<_ACEOF
15228 #line $LINENO "configure"
15229 /* confdefs.h. */
15230 _ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h. */
15234 $ac_includes_default
15235 long longval () { return (long) (sizeof (long)); }
15236 unsigned long ulongval () { return (long) (sizeof (long)); }
15237 #include <stdio.h>
15238 #include <stdlib.h>
15239 int
15240 main ()
15241 {
15242
15243 FILE *f = fopen ("conftest.val", "w");
15244 if (! f)
15245 exit (1);
15246 if (((long) (sizeof (long))) < 0)
15247 {
15248 long i = longval ();
15249 if (i != ((long) (sizeof (long))))
15250 exit (1);
15251 fprintf (f, "%ld\n", i);
15252 }
15253 else
15254 {
15255 unsigned long i = ulongval ();
15256 if (i != ((long) (sizeof (long))))
15257 exit (1);
15258 fprintf (f, "%lu\n", i);
15259 }
15260 exit (ferror (f) || fclose (f) != 0);
15261
15262 ;
15263 return 0;
15264 }
15265 _ACEOF
15266 rm -f conftest$ac_exeext
15267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15268 (eval $ac_link) 2>&5
15269 ac_status=$?
15270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15271 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15273 (eval $ac_try) 2>&5
15274 ac_status=$?
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); }; }; then
15277 ac_cv_sizeof_long=`cat conftest.val`
15278 else
15279 echo "$as_me: program exited with status $ac_status" >&5
15280 echo "$as_me: failed program was:" >&5
15281 sed 's/^/| /' conftest.$ac_ext >&5
15282
15283 ( exit $ac_status )
15284 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15285 See \`config.log' for more details." >&5
15286 echo "$as_me: error: cannot compute sizeof (long), 77
15287 See \`config.log' for more details." >&2;}
15288 { (exit 1); exit 1; }; }
15289 fi
15290 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15291 fi
15292 fi
15293 rm -f conftest.val
15294 else
15295 ac_cv_sizeof_long=0
15296 fi
15297 fi
15298 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15299 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15300 cat >>confdefs.h <<_ACEOF
15301 #define SIZEOF_LONG $ac_cv_sizeof_long
15302 _ACEOF
15303
15304
15305
15306 case "${host}" in
15307 arm-*-linux* )
15308 echo "$as_me:$LINENO: checking for long long" >&5
15309 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15310 if test "${ac_cv_type_long_long+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 else
15313 cat >conftest.$ac_ext <<_ACEOF
15314 #line $LINENO "configure"
15315 /* confdefs.h. */
15316 _ACEOF
15317 cat confdefs.h >>conftest.$ac_ext
15318 cat >>conftest.$ac_ext <<_ACEOF
15319 /* end confdefs.h. */
15320 $ac_includes_default
15321 int
15322 main ()
15323 {
15324 if ((long long *) 0)
15325 return 0;
15326 if (sizeof (long long))
15327 return 0;
15328 ;
15329 return 0;
15330 }
15331 _ACEOF
15332 rm -f conftest.$ac_objext
15333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15334 (eval $ac_compile) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_cv_type_long_long=yes
15345 else
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15348
15349 ac_cv_type_long_long=no
15350 fi
15351 rm -f conftest.$ac_objext conftest.$ac_ext
15352 fi
15353 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15354 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15355
15356 echo "$as_me:$LINENO: checking size of long long" >&5
15357 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15358 if test "${ac_cv_sizeof_long_long+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 else
15361 if test "$ac_cv_type_long_long" = yes; then
15362 # The cast to unsigned long works around a bug in the HP C Compiler
15363 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15364 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15365 # This bug is HP SR number 8606223364.
15366 if test "$cross_compiling" = yes; then
15367 # Depending upon the size, compute the lo and hi bounds.
15368 cat >conftest.$ac_ext <<_ACEOF
15369 #line $LINENO "configure"
15370 /* confdefs.h. */
15371 _ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375 $ac_includes_default
15376 int
15377 main ()
15378 {
15379 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15380 test_array [0] = 0
15381
15382 ;
15383 return 0;
15384 }
15385 _ACEOF
15386 rm -f conftest.$ac_objext
15387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15388 (eval $ac_compile) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); } &&
15392 { ac_try='test -s conftest.$ac_objext'
15393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15394 (eval $ac_try) 2>&5
15395 ac_status=$?
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); }; }; then
15398 ac_lo=0 ac_mid=0
15399 while :; do
15400 cat >conftest.$ac_ext <<_ACEOF
15401 #line $LINENO "configure"
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 $ac_includes_default
15408 int
15409 main ()
15410 {
15411 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15412 test_array [0] = 0
15413
15414 ;
15415 return 0;
15416 }
15417 _ACEOF
15418 rm -f conftest.$ac_objext
15419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>&5
15421 ac_status=$?
15422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15423 (exit $ac_status); } &&
15424 { ac_try='test -s conftest.$ac_objext'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15427 ac_status=$?
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; }; then
15430 ac_hi=$ac_mid; break
15431 else
15432 echo "$as_me: failed program was:" >&5
15433 sed 's/^/| /' conftest.$ac_ext >&5
15434
15435 ac_lo=`expr $ac_mid + 1`
15436 if test $ac_lo -le $ac_mid; then
15437 ac_lo= ac_hi=
15438 break
15439 fi
15440 ac_mid=`expr 2 '*' $ac_mid + 1`
15441 fi
15442 rm -f conftest.$ac_objext conftest.$ac_ext
15443 done
15444 else
15445 echo "$as_me: failed program was:" >&5
15446 sed 's/^/| /' conftest.$ac_ext >&5
15447
15448 cat >conftest.$ac_ext <<_ACEOF
15449 #line $LINENO "configure"
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 $ac_includes_default
15456 int
15457 main ()
15458 {
15459 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15460 test_array [0] = 0
15461
15462 ;
15463 return 0;
15464 }
15465 _ACEOF
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>&5
15469 ac_status=$?
15470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } &&
15472 { ac_try='test -s conftest.$ac_objext'
15473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15474 (eval $ac_try) 2>&5
15475 ac_status=$?
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; }; then
15478 ac_hi=-1 ac_mid=-1
15479 while :; do
15480 cat >conftest.$ac_ext <<_ACEOF
15481 #line $LINENO "configure"
15482 /* confdefs.h. */
15483 _ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15487 $ac_includes_default
15488 int
15489 main ()
15490 {
15491 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15492 test_array [0] = 0
15493
15494 ;
15495 return 0;
15496 }
15497 _ACEOF
15498 rm -f conftest.$ac_objext
15499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15500 (eval $ac_compile) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); } &&
15504 { ac_try='test -s conftest.$ac_objext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 ac_lo=$ac_mid; break
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15514
15515 ac_hi=`expr '(' $ac_mid ')' - 1`
15516 if test $ac_mid -le $ac_hi; then
15517 ac_lo= ac_hi=
15518 break
15519 fi
15520 ac_mid=`expr 2 '*' $ac_mid`
15521 fi
15522 rm -f conftest.$ac_objext conftest.$ac_ext
15523 done
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15527
15528 ac_lo= ac_hi=
15529 fi
15530 rm -f conftest.$ac_objext conftest.$ac_ext
15531 fi
15532 rm -f conftest.$ac_objext conftest.$ac_ext
15533 # Binary search between lo and hi bounds.
15534 while test "x$ac_lo" != "x$ac_hi"; do
15535 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15536 cat >conftest.$ac_ext <<_ACEOF
15537 #line $LINENO "configure"
15538 /* confdefs.h. */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h. */
15543 $ac_includes_default
15544 int
15545 main ()
15546 {
15547 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15548 test_array [0] = 0
15549
15550 ;
15551 return 0;
15552 }
15553 _ACEOF
15554 rm -f conftest.$ac_objext
15555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15556 (eval $ac_compile) 2>&5
15557 ac_status=$?
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); } &&
15560 { ac_try='test -s conftest.$ac_objext'
15561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15562 (eval $ac_try) 2>&5
15563 ac_status=$?
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; }; then
15566 ac_hi=$ac_mid
15567 else
15568 echo "$as_me: failed program was:" >&5
15569 sed 's/^/| /' conftest.$ac_ext >&5
15570
15571 ac_lo=`expr '(' $ac_mid ')' + 1`
15572 fi
15573 rm -f conftest.$ac_objext conftest.$ac_ext
15574 done
15575 case $ac_lo in
15576 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15577 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15578 See \`config.log' for more details." >&5
15579 echo "$as_me: error: cannot compute sizeof (long long), 77
15580 See \`config.log' for more details." >&2;}
15581 { (exit 1); exit 1; }; } ;;
15582 esac
15583 else
15584 if test "$cross_compiling" = yes; then
15585 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15586 See \`config.log' for more details." >&5
15587 echo "$as_me: error: cannot run test program while cross compiling
15588 See \`config.log' for more details." >&2;}
15589 { (exit 1); exit 1; }; }
15590 else
15591 cat >conftest.$ac_ext <<_ACEOF
15592 #line $LINENO "configure"
15593 /* confdefs.h. */
15594 _ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598 $ac_includes_default
15599 long longval () { return (long) (sizeof (long long)); }
15600 unsigned long ulongval () { return (long) (sizeof (long long)); }
15601 #include <stdio.h>
15602 #include <stdlib.h>
15603 int
15604 main ()
15605 {
15606
15607 FILE *f = fopen ("conftest.val", "w");
15608 if (! f)
15609 exit (1);
15610 if (((long) (sizeof (long long))) < 0)
15611 {
15612 long i = longval ();
15613 if (i != ((long) (sizeof (long long))))
15614 exit (1);
15615 fprintf (f, "%ld\n", i);
15616 }
15617 else
15618 {
15619 unsigned long i = ulongval ();
15620 if (i != ((long) (sizeof (long long))))
15621 exit (1);
15622 fprintf (f, "%lu\n", i);
15623 }
15624 exit (ferror (f) || fclose (f) != 0);
15625
15626 ;
15627 return 0;
15628 }
15629 _ACEOF
15630 rm -f conftest$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15637 (eval $ac_try) 2>&5
15638 ac_status=$?
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; }; then
15641 ac_cv_sizeof_long_long=`cat conftest.val`
15642 else
15643 echo "$as_me: program exited with status $ac_status" >&5
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15646
15647 ( exit $ac_status )
15648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15649 See \`config.log' for more details." >&5
15650 echo "$as_me: error: cannot compute sizeof (long long), 77
15651 See \`config.log' for more details." >&2;}
15652 { (exit 1); exit 1; }; }
15653 fi
15654 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15655 fi
15656 fi
15657 rm -f conftest.val
15658 else
15659 ac_cv_sizeof_long_long=0
15660 fi
15661 fi
15662 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15663 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15664 cat >>confdefs.h <<_ACEOF
15665 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15666 _ACEOF
15667
15668
15669 ;;
15670 *-hp-hpux* )
15671 echo "$as_me:$LINENO: checking for long long" >&5
15672 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15673 if test "${ac_cv_type_long_long+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 else
15676 cat >conftest.$ac_ext <<_ACEOF
15677 #line $LINENO "configure"
15678 /* confdefs.h. */
15679 _ACEOF
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15683 $ac_includes_default
15684 int
15685 main ()
15686 {
15687 if ((long long *) 0)
15688 return 0;
15689 if (sizeof (long long))
15690 return 0;
15691 ;
15692 return 0;
15693 }
15694 _ACEOF
15695 rm -f conftest.$ac_objext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15697 (eval $ac_compile) 2>&5
15698 ac_status=$?
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try='test -s conftest.$ac_objext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15704 ac_status=$?
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 ac_cv_type_long_long=yes
15708 else
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15711
15712 ac_cv_type_long_long=no
15713 fi
15714 rm -f conftest.$ac_objext conftest.$ac_ext
15715 fi
15716 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15717 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15718
15719 echo "$as_me:$LINENO: checking size of long long" >&5
15720 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15721 if test "${ac_cv_sizeof_long_long+set}" = set; then
15722 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 else
15724 if test "$ac_cv_type_long_long" = yes; then
15725 # The cast to unsigned long works around a bug in the HP C Compiler
15726 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15727 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15728 # This bug is HP SR number 8606223364.
15729 if test "$cross_compiling" = yes; then
15730 # Depending upon the size, compute the lo and hi bounds.
15731 cat >conftest.$ac_ext <<_ACEOF
15732 #line $LINENO "configure"
15733 /* confdefs.h. */
15734 _ACEOF
15735 cat confdefs.h >>conftest.$ac_ext
15736 cat >>conftest.$ac_ext <<_ACEOF
15737 /* end confdefs.h. */
15738 $ac_includes_default
15739 int
15740 main ()
15741 {
15742 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15743 test_array [0] = 0
15744
15745 ;
15746 return 0;
15747 }
15748 _ACEOF
15749 rm -f conftest.$ac_objext
15750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15751 (eval $ac_compile) 2>&5
15752 ac_status=$?
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } &&
15755 { ac_try='test -s conftest.$ac_objext'
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757 (eval $ac_try) 2>&5
15758 ac_status=$?
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); }; }; then
15761 ac_lo=0 ac_mid=0
15762 while :; do
15763 cat >conftest.$ac_ext <<_ACEOF
15764 #line $LINENO "configure"
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770 $ac_includes_default
15771 int
15772 main ()
15773 {
15774 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15775 test_array [0] = 0
15776
15777 ;
15778 return 0;
15779 }
15780 _ACEOF
15781 rm -f conftest.$ac_objext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15783 (eval $ac_compile) 2>&5
15784 ac_status=$?
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); } &&
15787 { ac_try='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15790 ac_status=$?
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_hi=$ac_mid; break
15794 else
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15797
15798 ac_lo=`expr $ac_mid + 1`
15799 if test $ac_lo -le $ac_mid; then
15800 ac_lo= ac_hi=
15801 break
15802 fi
15803 ac_mid=`expr 2 '*' $ac_mid + 1`
15804 fi
15805 rm -f conftest.$ac_objext conftest.$ac_ext
15806 done
15807 else
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811 cat >conftest.$ac_ext <<_ACEOF
15812 #line $LINENO "configure"
15813 /* confdefs.h. */
15814 _ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 $ac_includes_default
15819 int
15820 main ()
15821 {
15822 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15823 test_array [0] = 0
15824
15825 ;
15826 return 0;
15827 }
15828 _ACEOF
15829 rm -f conftest.$ac_objext
15830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15831 (eval $ac_compile) 2>&5
15832 ac_status=$?
15833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15834 (exit $ac_status); } &&
15835 { ac_try='test -s conftest.$ac_objext'
15836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15837 (eval $ac_try) 2>&5
15838 ac_status=$?
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); }; }; then
15841 ac_hi=-1 ac_mid=-1
15842 while :; do
15843 cat >conftest.$ac_ext <<_ACEOF
15844 #line $LINENO "configure"
15845 /* confdefs.h. */
15846 _ACEOF
15847 cat confdefs.h >>conftest.$ac_ext
15848 cat >>conftest.$ac_ext <<_ACEOF
15849 /* end confdefs.h. */
15850 $ac_includes_default
15851 int
15852 main ()
15853 {
15854 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15855 test_array [0] = 0
15856
15857 ;
15858 return 0;
15859 }
15860 _ACEOF
15861 rm -f conftest.$ac_objext
15862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15863 (eval $ac_compile) 2>&5
15864 ac_status=$?
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try='test -s conftest.$ac_objext'
15868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15869 (eval $ac_try) 2>&5
15870 ac_status=$?
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); }; }; then
15873 ac_lo=$ac_mid; break
15874 else
15875 echo "$as_me: failed program was:" >&5
15876 sed 's/^/| /' conftest.$ac_ext >&5
15877
15878 ac_hi=`expr '(' $ac_mid ')' - 1`
15879 if test $ac_mid -le $ac_hi; then
15880 ac_lo= ac_hi=
15881 break
15882 fi
15883 ac_mid=`expr 2 '*' $ac_mid`
15884 fi
15885 rm -f conftest.$ac_objext conftest.$ac_ext
15886 done
15887 else
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15890
15891 ac_lo= ac_hi=
15892 fi
15893 rm -f conftest.$ac_objext conftest.$ac_ext
15894 fi
15895 rm -f conftest.$ac_objext conftest.$ac_ext
15896 # Binary search between lo and hi bounds.
15897 while test "x$ac_lo" != "x$ac_hi"; do
15898 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15899 cat >conftest.$ac_ext <<_ACEOF
15900 #line $LINENO "configure"
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 $ac_includes_default
15907 int
15908 main ()
15909 {
15910 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15911 test_array [0] = 0
15912
15913 ;
15914 return 0;
15915 }
15916 _ACEOF
15917 rm -f conftest.$ac_objext
15918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15919 (eval $ac_compile) 2>&5
15920 ac_status=$?
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } &&
15923 { ac_try='test -s conftest.$ac_objext'
15924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15925 (eval $ac_try) 2>&5
15926 ac_status=$?
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); }; }; then
15929 ac_hi=$ac_mid
15930 else
15931 echo "$as_me: failed program was:" >&5
15932 sed 's/^/| /' conftest.$ac_ext >&5
15933
15934 ac_lo=`expr '(' $ac_mid ')' + 1`
15935 fi
15936 rm -f conftest.$ac_objext conftest.$ac_ext
15937 done
15938 case $ac_lo in
15939 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15940 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15941 See \`config.log' for more details." >&5
15942 echo "$as_me: error: cannot compute sizeof (long long), 77
15943 See \`config.log' for more details." >&2;}
15944 { (exit 1); exit 1; }; } ;;
15945 esac
15946 else
15947 if test "$cross_compiling" = yes; then
15948 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15949 See \`config.log' for more details." >&5
15950 echo "$as_me: error: cannot run test program while cross compiling
15951 See \`config.log' for more details." >&2;}
15952 { (exit 1); exit 1; }; }
15953 else
15954 cat >conftest.$ac_ext <<_ACEOF
15955 #line $LINENO "configure"
15956 /* confdefs.h. */
15957 _ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961 $ac_includes_default
15962 long longval () { return (long) (sizeof (long long)); }
15963 unsigned long ulongval () { return (long) (sizeof (long long)); }
15964 #include <stdio.h>
15965 #include <stdlib.h>
15966 int
15967 main ()
15968 {
15969
15970 FILE *f = fopen ("conftest.val", "w");
15971 if (! f)
15972 exit (1);
15973 if (((long) (sizeof (long long))) < 0)
15974 {
15975 long i = longval ();
15976 if (i != ((long) (sizeof (long long))))
15977 exit (1);
15978 fprintf (f, "%ld\n", i);
15979 }
15980 else
15981 {
15982 unsigned long i = ulongval ();
15983 if (i != ((long) (sizeof (long long))))
15984 exit (1);
15985 fprintf (f, "%lu\n", i);
15986 }
15987 exit (ferror (f) || fclose (f) != 0);
15988
15989 ;
15990 return 0;
15991 }
15992 _ACEOF
15993 rm -f conftest$ac_exeext
15994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15995 (eval $ac_link) 2>&5
15996 ac_status=$?
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16001 ac_status=$?
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 ac_cv_sizeof_long_long=`cat conftest.val`
16005 else
16006 echo "$as_me: program exited with status $ac_status" >&5
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16009
16010 ( exit $ac_status )
16011 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16012 See \`config.log' for more details." >&5
16013 echo "$as_me: error: cannot compute sizeof (long long), 77
16014 See \`config.log' for more details." >&2;}
16015 { (exit 1); exit 1; }; }
16016 fi
16017 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16018 fi
16019 fi
16020 rm -f conftest.val
16021 else
16022 ac_cv_sizeof_long_long=0
16023 fi
16024 fi
16025 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16026 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16027 cat >>confdefs.h <<_ACEOF
16028 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16029 _ACEOF
16030
16031
16032 if test "$ac_cv_sizeof_long_long" != "0"; then
16033 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16034 fi
16035 ;;
16036 * )
16037 echo "$as_me:$LINENO: checking for long long" >&5
16038 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16039 if test "${ac_cv_type_long_long+set}" = set; then
16040 echo $ECHO_N "(cached) $ECHO_C" >&6
16041 else
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 if ((long long *) 0)
16054 return 0;
16055 if (sizeof (long long))
16056 return 0;
16057 ;
16058 return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16063 (eval $ac_compile) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); } &&
16067 { ac_try='test -s conftest.$ac_objext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16070 ac_status=$?
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_cv_type_long_long=yes
16074 else
16075 echo "$as_me: failed program was:" >&5
16076 sed 's/^/| /' conftest.$ac_ext >&5
16077
16078 ac_cv_type_long_long=no
16079 fi
16080 rm -f conftest.$ac_objext conftest.$ac_ext
16081 fi
16082 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16083 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16084
16085 echo "$as_me:$LINENO: checking size of long long" >&5
16086 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16087 if test "${ac_cv_sizeof_long_long+set}" = set; then
16088 echo $ECHO_N "(cached) $ECHO_C" >&6
16089 else
16090 if test "$ac_cv_type_long_long" = yes; then
16091 # The cast to unsigned long works around a bug in the HP C Compiler
16092 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16093 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16094 # This bug is HP SR number 8606223364.
16095 if test "$cross_compiling" = yes; then
16096 # Depending upon the size, compute the lo and hi bounds.
16097 cat >conftest.$ac_ext <<_ACEOF
16098 #line $LINENO "configure"
16099 /* confdefs.h. */
16100 _ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 $ac_includes_default
16105 int
16106 main ()
16107 {
16108 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16109 test_array [0] = 0
16110
16111 ;
16112 return 0;
16113 }
16114 _ACEOF
16115 rm -f conftest.$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>&5
16118 ac_status=$?
16119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16120 (exit $ac_status); } &&
16121 { ac_try='test -s conftest.$ac_objext'
16122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16123 (eval $ac_try) 2>&5
16124 ac_status=$?
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; }; then
16127 ac_lo=0 ac_mid=0
16128 while :; do
16129 cat >conftest.$ac_ext <<_ACEOF
16130 #line $LINENO "configure"
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136 $ac_includes_default
16137 int
16138 main ()
16139 {
16140 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16141 test_array [0] = 0
16142
16143 ;
16144 return 0;
16145 }
16146 _ACEOF
16147 rm -f conftest.$ac_objext
16148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16149 (eval $ac_compile) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try='test -s conftest.$ac_objext'
16154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16155 (eval $ac_try) 2>&5
16156 ac_status=$?
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); }; }; then
16159 ac_hi=$ac_mid; break
16160 else
16161 echo "$as_me: failed program was:" >&5
16162 sed 's/^/| /' conftest.$ac_ext >&5
16163
16164 ac_lo=`expr $ac_mid + 1`
16165 if test $ac_lo -le $ac_mid; then
16166 ac_lo= ac_hi=
16167 break
16168 fi
16169 ac_mid=`expr 2 '*' $ac_mid + 1`
16170 fi
16171 rm -f conftest.$ac_objext conftest.$ac_ext
16172 done
16173 else
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.$ac_ext >&5
16176
16177 cat >conftest.$ac_ext <<_ACEOF
16178 #line $LINENO "configure"
16179 /* confdefs.h. */
16180 _ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16184 $ac_includes_default
16185 int
16186 main ()
16187 {
16188 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16189 test_array [0] = 0
16190
16191 ;
16192 return 0;
16193 }
16194 _ACEOF
16195 rm -f conftest.$ac_objext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>&5
16198 ac_status=$?
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16204 ac_status=$?
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16207 ac_hi=-1 ac_mid=-1
16208 while :; do
16209 cat >conftest.$ac_ext <<_ACEOF
16210 #line $LINENO "configure"
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 $ac_includes_default
16217 int
16218 main ()
16219 {
16220 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16221 test_array [0] = 0
16222
16223 ;
16224 return 0;
16225 }
16226 _ACEOF
16227 rm -f conftest.$ac_objext
16228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16229 (eval $ac_compile) 2>&5
16230 ac_status=$?
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); } &&
16233 { ac_try='test -s conftest.$ac_objext'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16236 ac_status=$?
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; }; then
16239 ac_lo=$ac_mid; break
16240 else
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5
16243
16244 ac_hi=`expr '(' $ac_mid ')' - 1`
16245 if test $ac_mid -le $ac_hi; then
16246 ac_lo= ac_hi=
16247 break
16248 fi
16249 ac_mid=`expr 2 '*' $ac_mid`
16250 fi
16251 rm -f conftest.$ac_objext conftest.$ac_ext
16252 done
16253 else
16254 echo "$as_me: failed program was:" >&5
16255 sed 's/^/| /' conftest.$ac_ext >&5
16256
16257 ac_lo= ac_hi=
16258 fi
16259 rm -f conftest.$ac_objext conftest.$ac_ext
16260 fi
16261 rm -f conftest.$ac_objext conftest.$ac_ext
16262 # Binary search between lo and hi bounds.
16263 while test "x$ac_lo" != "x$ac_hi"; do
16264 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16265 cat >conftest.$ac_ext <<_ACEOF
16266 #line $LINENO "configure"
16267 /* confdefs.h. */
16268 _ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 $ac_includes_default
16273 int
16274 main ()
16275 {
16276 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16277 test_array [0] = 0
16278
16279 ;
16280 return 0;
16281 }
16282 _ACEOF
16283 rm -f conftest.$ac_objext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 (eval $ac_compile) 2>&5
16286 ac_status=$?
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try='test -s conftest.$ac_objext'
16290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16291 (eval $ac_try) 2>&5
16292 ac_status=$?
16293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294 (exit $ac_status); }; }; then
16295 ac_hi=$ac_mid
16296 else
16297 echo "$as_me: failed program was:" >&5
16298 sed 's/^/| /' conftest.$ac_ext >&5
16299
16300 ac_lo=`expr '(' $ac_mid ')' + 1`
16301 fi
16302 rm -f conftest.$ac_objext conftest.$ac_ext
16303 done
16304 case $ac_lo in
16305 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16306 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16307 See \`config.log' for more details." >&5
16308 echo "$as_me: error: cannot compute sizeof (long long), 77
16309 See \`config.log' for more details." >&2;}
16310 { (exit 1); exit 1; }; } ;;
16311 esac
16312 else
16313 if test "$cross_compiling" = yes; then
16314 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16315 See \`config.log' for more details." >&5
16316 echo "$as_me: error: cannot run test program while cross compiling
16317 See \`config.log' for more details." >&2;}
16318 { (exit 1); exit 1; }; }
16319 else
16320 cat >conftest.$ac_ext <<_ACEOF
16321 #line $LINENO "configure"
16322 /* confdefs.h. */
16323 _ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16327 $ac_includes_default
16328 long longval () { return (long) (sizeof (long long)); }
16329 unsigned long ulongval () { return (long) (sizeof (long long)); }
16330 #include <stdio.h>
16331 #include <stdlib.h>
16332 int
16333 main ()
16334 {
16335
16336 FILE *f = fopen ("conftest.val", "w");
16337 if (! f)
16338 exit (1);
16339 if (((long) (sizeof (long long))) < 0)
16340 {
16341 long i = longval ();
16342 if (i != ((long) (sizeof (long long))))
16343 exit (1);
16344 fprintf (f, "%ld\n", i);
16345 }
16346 else
16347 {
16348 unsigned long i = ulongval ();
16349 if (i != ((long) (sizeof (long long))))
16350 exit (1);
16351 fprintf (f, "%lu\n", i);
16352 }
16353 exit (ferror (f) || fclose (f) != 0);
16354
16355 ;
16356 return 0;
16357 }
16358 _ACEOF
16359 rm -f conftest$ac_exeext
16360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16361 (eval $ac_link) 2>&5
16362 ac_status=$?
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16370 ac_cv_sizeof_long_long=`cat conftest.val`
16371 else
16372 echo "$as_me: program exited with status $ac_status" >&5
16373 echo "$as_me: failed program was:" >&5
16374 sed 's/^/| /' conftest.$ac_ext >&5
16375
16376 ( exit $ac_status )
16377 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16378 See \`config.log' for more details." >&5
16379 echo "$as_me: error: cannot compute sizeof (long long), 77
16380 See \`config.log' for more details." >&2;}
16381 { (exit 1); exit 1; }; }
16382 fi
16383 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16384 fi
16385 fi
16386 rm -f conftest.val
16387 else
16388 ac_cv_sizeof_long_long=0
16389 fi
16390 fi
16391 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16392 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16393 cat >>confdefs.h <<_ACEOF
16394 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16395 _ACEOF
16396
16397
16398 esac
16399
16400 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16401 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16402 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16403 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405
16406 if test "$cross_compiling" = yes; then
16407
16408 case "${host}" in
16409 *-pc-msdosdjgpp )
16410 wx_cv_sizeof_wchar_t=0
16411 ;;
16412 * )
16413 wx_cv_sizeof_wchar_t=4
16414 ;;
16415 esac
16416
16417
16418 else
16419 cat >conftest.$ac_ext <<_ACEOF
16420 #line $LINENO "configure"
16421 /* confdefs.h. */
16422 _ACEOF
16423 cat confdefs.h >>conftest.$ac_ext
16424 cat >>conftest.$ac_ext <<_ACEOF
16425 /* end confdefs.h. */
16426
16427 /* DJGPP only has fake wchar_t: */
16428 #ifdef __DJGPP__
16429 # error "fake wchar_t"
16430 #endif
16431 #ifdef HAVE_WCHAR_H
16432 # ifdef __CYGWIN__
16433 # include <stddef.h>
16434 # endif
16435 # include <wchar.h>
16436 #endif
16437 #ifdef HAVE_STDLIB_H
16438 # include <stdlib.h>
16439 #endif
16440 #include <stdio.h>
16441 int main()
16442 {
16443 FILE *f=fopen("conftestval", "w");
16444 if (!f) exit(1);
16445 fprintf(f, "%i", sizeof(wchar_t));
16446 exit(0);
16447 }
16448
16449 _ACEOF
16450 rm -f conftest$ac_exeext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16452 (eval $ac_link) 2>&5
16453 ac_status=$?
16454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16455 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16458 ac_status=$?
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16461 wx_cv_sizeof_wchar_t=`cat conftestval`
16462 else
16463 echo "$as_me: program exited with status $ac_status" >&5
16464 echo "$as_me: failed program was:" >&5
16465 sed 's/^/| /' conftest.$ac_ext >&5
16466
16467 ( exit $ac_status )
16468 wx_cv_sizeof_wchar_t=0
16469 fi
16470 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16471 fi
16472
16473 fi
16474 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16475 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16476
16477 cat >>confdefs.h <<_ACEOF
16478 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16479 _ACEOF
16480
16481
16482 # Check whether --enable-largefile or --disable-largefile was given.
16483 if test "${enable_largefile+set}" = set; then
16484 enableval="$enable_largefile"
16485
16486 fi;
16487 if test "$enable_largefile" != no; then
16488 wx_largefile=no
16489
16490 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16491 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16492 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16493 echo $ECHO_N "(cached) $ECHO_C" >&6
16494 else
16495
16496 cat >conftest.$ac_ext <<_ACEOF
16497 #line $LINENO "configure"
16498 /* confdefs.h. */
16499 _ACEOF
16500 cat confdefs.h >>conftest.$ac_ext
16501 cat >>conftest.$ac_ext <<_ACEOF
16502 /* end confdefs.h. */
16503 #define _FILE_OFFSET_BITS 64
16504 #include <sys/types.h>
16505 int
16506 main ()
16507 {
16508 typedef struct {
16509 unsigned int field: sizeof(off_t) == 8;
16510 } wxlf;
16511
16512 ;
16513 return 0;
16514 }
16515 _ACEOF
16516 rm -f conftest.$ac_objext
16517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16518 (eval $ac_compile) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_sys_file_offset_bits=64
16529 else
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.$ac_ext >&5
16532
16533 ac_cv_sys_file_offset_bits=no
16534 fi
16535 rm -f conftest.$ac_objext conftest.$ac_ext
16536
16537
16538 fi
16539 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16540 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16541
16542 if test "$ac_cv_sys_file_offset_bits" != no; then
16543 wx_largefile=yes
16544 cat >>confdefs.h <<_ACEOF
16545 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16546 _ACEOF
16547
16548 fi
16549
16550 if test "x$wx_largefile" != "xyes"; then
16551
16552 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16553 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16554 if test "${ac_cv_sys_large_files+set}" = set; then
16555 echo $ECHO_N "(cached) $ECHO_C" >&6
16556 else
16557
16558 cat >conftest.$ac_ext <<_ACEOF
16559 #line $LINENO "configure"
16560 /* confdefs.h. */
16561 _ACEOF
16562 cat confdefs.h >>conftest.$ac_ext
16563 cat >>conftest.$ac_ext <<_ACEOF
16564 /* end confdefs.h. */
16565 #define _LARGE_FILES 1
16566 #include <sys/types.h>
16567 int
16568 main ()
16569 {
16570 typedef struct {
16571 unsigned int field: sizeof(off_t) == 8;
16572 } wxlf;
16573
16574 ;
16575 return 0;
16576 }
16577 _ACEOF
16578 rm -f conftest.$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>&5
16581 ac_status=$?
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } &&
16584 { ac_try='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16587 ac_status=$?
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 ac_cv_sys_large_files=1
16591 else
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16594
16595 ac_cv_sys_large_files=no
16596 fi
16597 rm -f conftest.$ac_objext conftest.$ac_ext
16598
16599
16600 fi
16601 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16602 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16603
16604 if test "$ac_cv_sys_large_files" != no; then
16605 wx_largefile=yes
16606 cat >>confdefs.h <<_ACEOF
16607 #define _LARGE_FILES $ac_cv_sys_large_files
16608 _ACEOF
16609
16610 fi
16611
16612 fi
16613
16614 echo "$as_me:$LINENO: checking if large file support is available" >&5
16615 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16616 if test "x$wx_largefile" = "xyes"; then
16617 cat >>confdefs.h <<\_ACEOF
16618 #define HAVE_LARGEFILE_SUPPORT 1
16619 _ACEOF
16620
16621 fi
16622 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16623 echo "${ECHO_T}$wx_largefile" >&6
16624 fi
16625
16626
16627 if test "x$wx_largefile" = "xyes"; then
16628 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16629 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16630 else
16631 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16632 fi
16633 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16634 fi
16635
16636 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16637 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16638 if test "${ac_cv_c_bigendian+set}" = set; then
16639 echo $ECHO_N "(cached) $ECHO_C" >&6
16640 else
16641 ac_cv_c_bigendian=unknown
16642 # See if sys/param.h defines the BYTE_ORDER macro.
16643 cat >conftest.$ac_ext <<_ACEOF
16644 #line $LINENO "configure"
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
16649 /* end confdefs.h. */
16650 #include <sys/types.h>
16651 #include <sys/param.h>
16652 int
16653 main ()
16654 {
16655
16656 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16657 bogus endian macros
16658 #endif
16659 ;
16660 return 0;
16661 }
16662 _ACEOF
16663 rm -f conftest.$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try='test -s conftest.$ac_objext'
16670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16671 (eval $ac_try) 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }; }; then
16675 # It does; now see whether it defined to BIG_ENDIAN or not.
16676 cat >conftest.$ac_ext <<_ACEOF
16677 #line $LINENO "configure"
16678 /* confdefs.h. */
16679 _ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h. */
16683 #include <sys/types.h>
16684 #include <sys/param.h>
16685 int
16686 main ()
16687 {
16688
16689 #if BYTE_ORDER != BIG_ENDIAN
16690 not big endian
16691 #endif
16692 ;
16693 return 0;
16694 }
16695 _ACEOF
16696 rm -f conftest.$ac_objext
16697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16698 (eval $ac_compile) 2>&5
16699 ac_status=$?
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -s conftest.$ac_objext'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; }; then
16708 ac_cv_c_bigendian=yes
16709 else
16710 echo "$as_me: failed program was:" >&5
16711 sed 's/^/| /' conftest.$ac_ext >&5
16712
16713 ac_cv_c_bigendian=no
16714 fi
16715 rm -f conftest.$ac_objext conftest.$ac_ext
16716 else
16717 echo "$as_me: failed program was:" >&5
16718 sed 's/^/| /' conftest.$ac_ext >&5
16719
16720 fi
16721 rm -f conftest.$ac_objext conftest.$ac_ext
16722 if test $ac_cv_c_bigendian = unknown; then
16723 if test "$cross_compiling" = yes; then
16724 ac_cv_c_bigendian=unknown
16725 else
16726 cat >conftest.$ac_ext <<_ACEOF
16727 #line $LINENO "configure"
16728 /* confdefs.h. */
16729 _ACEOF
16730 cat confdefs.h >>conftest.$ac_ext
16731 cat >>conftest.$ac_ext <<_ACEOF
16732 /* end confdefs.h. */
16733 main () {
16734 /* Are we little or big endian? From Harbison&Steele. */
16735 union
16736 {
16737 long l;
16738 char c[sizeof (long)];
16739 } u;
16740 u.l = 1;
16741 exit (u.c[sizeof (long) - 1] == 1);
16742 }
16743 _ACEOF
16744 rm -f conftest$ac_exeext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16746 (eval $ac_link) 2>&5
16747 ac_status=$?
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 ac_cv_c_bigendian=no
16756 else
16757 echo "$as_me: program exited with status $ac_status" >&5
16758 echo "$as_me: failed program was:" >&5
16759 sed 's/^/| /' conftest.$ac_ext >&5
16760
16761 ( exit $ac_status )
16762 ac_cv_c_bigendian=yes
16763 fi
16764 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16765 fi
16766 fi
16767 fi
16768 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16769 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16770 if test $ac_cv_c_bigendian = unknown; then
16771 { 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
16772 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;}
16773 fi
16774 if test $ac_cv_c_bigendian = yes; then
16775 cat >>confdefs.h <<\_ACEOF
16776 #define WORDS_BIGENDIAN 1
16777 _ACEOF
16778
16779 fi
16780
16781
16782
16783 ac_ext=cc
16784 ac_cpp='$CXXCPP $CPPFLAGS'
16785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16788 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16789 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16790 if test -z "$CXXCPP"; then
16791 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 # Double quotes because CXXCPP needs to be expanded
16795 for CXXCPP in "$CXX -E" "/lib/cpp"
16796 do
16797 ac_preproc_ok=false
16798 for ac_cxx_preproc_warn_flag in '' yes
16799 do
16800 # Use a header file that comes with gcc, so configuring glibc
16801 # with a fresh cross-compiler works.
16802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16803 # <limits.h> exists even on freestanding compilers.
16804 # On the NeXT, cc -E runs the code through the compiler's parser,
16805 # not just through cpp. "Syntax error" is here to catch this case.
16806 cat >conftest.$ac_ext <<_ACEOF
16807 #line $LINENO "configure"
16808 /* confdefs.h. */
16809 _ACEOF
16810 cat confdefs.h >>conftest.$ac_ext
16811 cat >>conftest.$ac_ext <<_ACEOF
16812 /* end confdefs.h. */
16813 #ifdef __STDC__
16814 # include <limits.h>
16815 #else
16816 # include <assert.h>
16817 #endif
16818 Syntax error
16819 _ACEOF
16820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16822 ac_status=$?
16823 grep -v '^ *+' conftest.er1 >conftest.err
16824 rm -f conftest.er1
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } >/dev/null; then
16828 if test -s conftest.err; then
16829 ac_cpp_err=$ac_cxx_preproc_warn_flag
16830 else
16831 ac_cpp_err=
16832 fi
16833 else
16834 ac_cpp_err=yes
16835 fi
16836 if test -z "$ac_cpp_err"; then
16837 :
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 # Broken: fails on valid input.
16843 continue
16844 fi
16845 rm -f conftest.err conftest.$ac_ext
16846
16847 # OK, works on sane cases. Now check whether non-existent headers
16848 # can be detected and how.
16849 cat >conftest.$ac_ext <<_ACEOF
16850 #line $LINENO "configure"
16851 /* confdefs.h. */
16852 _ACEOF
16853 cat confdefs.h >>conftest.$ac_ext
16854 cat >>conftest.$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <ac_nonexistent.h>
16857 _ACEOF
16858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16860 ac_status=$?
16861 grep -v '^ *+' conftest.er1 >conftest.err
16862 rm -f conftest.er1
16863 cat conftest.err >&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); } >/dev/null; then
16866 if test -s conftest.err; then
16867 ac_cpp_err=$ac_cxx_preproc_warn_flag
16868 else
16869 ac_cpp_err=
16870 fi
16871 else
16872 ac_cpp_err=yes
16873 fi
16874 if test -z "$ac_cpp_err"; then
16875 # Broken: success on invalid input.
16876 continue
16877 else
16878 echo "$as_me: failed program was:" >&5
16879 sed 's/^/| /' conftest.$ac_ext >&5
16880
16881 # Passes both tests.
16882 ac_preproc_ok=:
16883 break
16884 fi
16885 rm -f conftest.err conftest.$ac_ext
16886
16887 done
16888 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16889 rm -f conftest.err conftest.$ac_ext
16890 if $ac_preproc_ok; then
16891 break
16892 fi
16893
16894 done
16895 ac_cv_prog_CXXCPP=$CXXCPP
16896
16897 fi
16898 CXXCPP=$ac_cv_prog_CXXCPP
16899 else
16900 ac_cv_prog_CXXCPP=$CXXCPP
16901 fi
16902 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16903 echo "${ECHO_T}$CXXCPP" >&6
16904 ac_preproc_ok=false
16905 for ac_cxx_preproc_warn_flag in '' yes
16906 do
16907 # Use a header file that comes with gcc, so configuring glibc
16908 # with a fresh cross-compiler works.
16909 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16910 # <limits.h> exists even on freestanding compilers.
16911 # On the NeXT, cc -E runs the code through the compiler's parser,
16912 # not just through cpp. "Syntax error" is here to catch this case.
16913 cat >conftest.$ac_ext <<_ACEOF
16914 #line $LINENO "configure"
16915 /* confdefs.h. */
16916 _ACEOF
16917 cat confdefs.h >>conftest.$ac_ext
16918 cat >>conftest.$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 #ifdef __STDC__
16921 # include <limits.h>
16922 #else
16923 # include <assert.h>
16924 #endif
16925 Syntax error
16926 _ACEOF
16927 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16928 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16929 ac_status=$?
16930 grep -v '^ *+' conftest.er1 >conftest.err
16931 rm -f conftest.er1
16932 cat conftest.err >&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); } >/dev/null; then
16935 if test -s conftest.err; then
16936 ac_cpp_err=$ac_cxx_preproc_warn_flag
16937 else
16938 ac_cpp_err=
16939 fi
16940 else
16941 ac_cpp_err=yes
16942 fi
16943 if test -z "$ac_cpp_err"; then
16944 :
16945 else
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16948
16949 # Broken: fails on valid input.
16950 continue
16951 fi
16952 rm -f conftest.err conftest.$ac_ext
16953
16954 # OK, works on sane cases. Now check whether non-existent headers
16955 # can be detected and how.
16956 cat >conftest.$ac_ext <<_ACEOF
16957 #line $LINENO "configure"
16958 /* confdefs.h. */
16959 _ACEOF
16960 cat confdefs.h >>conftest.$ac_ext
16961 cat >>conftest.$ac_ext <<_ACEOF
16962 /* end confdefs.h. */
16963 #include <ac_nonexistent.h>
16964 _ACEOF
16965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16967 ac_status=$?
16968 grep -v '^ *+' conftest.er1 >conftest.err
16969 rm -f conftest.er1
16970 cat conftest.err >&5
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); } >/dev/null; then
16973 if test -s conftest.err; then
16974 ac_cpp_err=$ac_cxx_preproc_warn_flag
16975 else
16976 ac_cpp_err=
16977 fi
16978 else
16979 ac_cpp_err=yes
16980 fi
16981 if test -z "$ac_cpp_err"; then
16982 # Broken: success on invalid input.
16983 continue
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 # Passes both tests.
16989 ac_preproc_ok=:
16990 break
16991 fi
16992 rm -f conftest.err conftest.$ac_ext
16993
16994 done
16995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16996 rm -f conftest.err conftest.$ac_ext
16997 if $ac_preproc_ok; then
16998 :
16999 else
17000 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17001 See \`config.log' for more details." >&5
17002 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17003 See \`config.log' for more details." >&2;}
17004 { (exit 1); exit 1; }; }
17005 fi
17006
17007 ac_ext=cc
17008 ac_cpp='$CXXCPP $CPPFLAGS'
17009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17012
17013
17014
17015 if test "$cross_compiling" = "yes"; then
17016 cat >>confdefs.h <<\_ACEOF
17017 #define wxUSE_IOSTREAMH 1
17018 _ACEOF
17019
17020 else
17021
17022
17023 ac_ext=cc
17024 ac_cpp='$CXXCPP $CPPFLAGS'
17025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17028
17029
17030
17031 for ac_header in iostream
17032 do
17033 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17035 echo "$as_me:$LINENO: checking for $ac_header" >&5
17036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 fi
17040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17041 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17042 else
17043 # Is the header compilable?
17044 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17045 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17046 cat >conftest.$ac_ext <<_ACEOF
17047 #line $LINENO "configure"
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 #include <$ac_header>
17055 _ACEOF
17056 rm -f conftest.$ac_objext
17057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17058 (eval $ac_compile) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } &&
17062 { ac_try='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17065 ac_status=$?
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_header_compiler=yes
17069 else
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.$ac_ext >&5
17072
17073 ac_header_compiler=no
17074 fi
17075 rm -f conftest.$ac_objext conftest.$ac_ext
17076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17077 echo "${ECHO_T}$ac_header_compiler" >&6
17078
17079 # Is the header present?
17080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17082 cat >conftest.$ac_ext <<_ACEOF
17083 #line $LINENO "configure"
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17090 _ACEOF
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev/null; then
17099 if test -s conftest.err; then
17100 ac_cpp_err=$ac_cxx_preproc_warn_flag
17101 else
17102 ac_cpp_err=
17103 fi
17104 else
17105 ac_cpp_err=yes
17106 fi
17107 if test -z "$ac_cpp_err"; then
17108 ac_header_preproc=yes
17109 else
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 ac_header_preproc=no
17114 fi
17115 rm -f conftest.err conftest.$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17117 echo "${ECHO_T}$ac_header_preproc" >&6
17118
17119 # So? What about this header?
17120 case $ac_header_compiler:$ac_header_preproc in
17121 yes:no )
17122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17125 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17126 (
17127 cat <<\_ASBOX
17128 ## ------------------------------------ ##
17129 ## Report this to bug-autoconf@gnu.org. ##
17130 ## ------------------------------------ ##
17131 _ASBOX
17132 ) |
17133 sed "s/^/$as_me: WARNING: /" >&2
17134 ;;
17135 no:yes )
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17142 (
17143 cat <<\_ASBOX
17144 ## ------------------------------------ ##
17145 ## Report this to bug-autoconf@gnu.org. ##
17146 ## ------------------------------------ ##
17147 _ASBOX
17148 ) |
17149 sed "s/^/$as_me: WARNING: /" >&2
17150 ;;
17151 esac
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 eval "$as_ac_Header=$ac_header_preproc"
17158 fi
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17161
17162 fi
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h <<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17166 _ACEOF
17167
17168 fi
17169
17170 done
17171
17172
17173 if test "$ac_cv_header_iostream" = "yes" ; then
17174 :
17175 else
17176 cat >>confdefs.h <<\_ACEOF
17177 #define wxUSE_IOSTREAMH 1
17178 _ACEOF
17179
17180 fi
17181
17182 ac_ext=c
17183 ac_cpp='$CPP $CPPFLAGS'
17184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187
17188 fi
17189
17190
17191
17192 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17193 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17194 if test "${wx_cv_cpp_bool+set}" = set; then
17195 echo $ECHO_N "(cached) $ECHO_C" >&6
17196 else
17197
17198
17199
17200 ac_ext=cc
17201 ac_cpp='$CXXCPP $CPPFLAGS'
17202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17205
17206
17207 cat >conftest.$ac_ext <<_ACEOF
17208 #line $LINENO "configure"
17209 /* confdefs.h. */
17210 _ACEOF
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214
17215
17216 int
17217 main ()
17218 {
17219
17220 bool b = true;
17221
17222 return 0;
17223
17224 ;
17225 return 0;
17226 }
17227 _ACEOF
17228 rm -f conftest.$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); } &&
17234 { ac_try='test -s conftest.$ac_objext'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17237 ac_status=$?
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; }; then
17240
17241 wx_cv_cpp_bool=yes
17242
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247
17248 wx_cv_cpp_bool=no
17249
17250
17251 fi
17252 rm -f conftest.$ac_objext conftest.$ac_ext
17253
17254 ac_ext=c
17255 ac_cpp='$CPP $CPPFLAGS'
17256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17259
17260
17261 fi
17262 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17263 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17264
17265 if test "$wx_cv_cpp_bool" = "yes"; then
17266 cat >>confdefs.h <<\_ACEOF
17267 #define HAVE_BOOL 1
17268 _ACEOF
17269
17270 fi
17271
17272
17273
17274 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17275 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17276 if test "${wx_cv_explicit+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279
17280
17281
17282 ac_ext=cc
17283 ac_cpp='$CXXCPP $CPPFLAGS'
17284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17287
17288
17289 cat >conftest.$ac_ext <<_ACEOF
17290 #line $LINENO "configure"
17291 /* confdefs.h. */
17292 _ACEOF
17293 cat confdefs.h >>conftest.$ac_ext
17294 cat >>conftest.$ac_ext <<_ACEOF
17295 /* end confdefs.h. */
17296
17297 class Foo { public: explicit Foo(int) {} };
17298
17299 int
17300 main ()
17301 {
17302
17303 return 0;
17304
17305 ;
17306 return 0;
17307 }
17308 _ACEOF
17309 rm -f conftest.$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>&5
17312 ac_status=$?
17313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17314 (exit $ac_status); } &&
17315 { ac_try='test -s conftest.$ac_objext'
17316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17317 (eval $ac_try) 2>&5
17318 ac_status=$?
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); }; }; then
17321
17322 cat >conftest.$ac_ext <<_ACEOF
17323 #line $LINENO "configure"
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329
17330 class Foo { public: explicit Foo(int) {} };
17331 static void TakeFoo(const Foo& foo) { }
17332
17333 int
17334 main ()
17335 {
17336
17337 TakeFoo(17);
17338 return 0;
17339
17340 ;
17341 return 0;
17342 }
17343 _ACEOF
17344 rm -f conftest.$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try='test -s conftest.$ac_objext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17353 ac_status=$?
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 wx_cv_explicit=no
17357 else
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17360
17361 wx_cv_explicit=yes
17362
17363 fi
17364 rm -f conftest.$ac_objext conftest.$ac_ext
17365
17366 else
17367 echo "$as_me: failed program was:" >&5
17368 sed 's/^/| /' conftest.$ac_ext >&5
17369
17370 wx_cv_explicit=no
17371
17372 fi
17373 rm -f conftest.$ac_objext conftest.$ac_ext
17374
17375 ac_ext=c
17376 ac_cpp='$CPP $CPPFLAGS'
17377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17380
17381
17382 fi
17383 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17384 echo "${ECHO_T}$wx_cv_explicit" >&6
17385
17386 if test "$wx_cv_explicit" = "yes"; then
17387 cat >>confdefs.h <<\_ACEOF
17388 #define HAVE_EXPLICIT 1
17389 _ACEOF
17390
17391 fi
17392
17393
17394 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17395 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17396 if test "${ac_cv_cxx_const_cast+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 else
17399
17400
17401 ac_ext=cc
17402 ac_cpp='$CXXCPP $CPPFLAGS'
17403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17406
17407 cat >conftest.$ac_ext <<_ACEOF
17408 #line $LINENO "configure"
17409 /* confdefs.h. */
17410 _ACEOF
17411 cat confdefs.h >>conftest.$ac_ext
17412 cat >>conftest.$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17414
17415 int
17416 main ()
17417 {
17418 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17419 ;
17420 return 0;
17421 }
17422 _ACEOF
17423 rm -f conftest.$ac_objext
17424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17425 (eval $ac_compile) 2>&5
17426 ac_status=$?
17427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17428 (exit $ac_status); } &&
17429 { ac_try='test -s conftest.$ac_objext'
17430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17431 (eval $ac_try) 2>&5
17432 ac_status=$?
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); }; }; then
17435 ac_cv_cxx_const_cast=yes
17436 else
17437 echo "$as_me: failed program was:" >&5
17438 sed 's/^/| /' conftest.$ac_ext >&5
17439
17440 ac_cv_cxx_const_cast=no
17441 fi
17442 rm -f conftest.$ac_objext conftest.$ac_ext
17443 ac_ext=c
17444 ac_cpp='$CPP $CPPFLAGS'
17445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17448
17449
17450 fi
17451 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17452 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17453 if test "$ac_cv_cxx_const_cast" = yes; then
17454
17455 cat >>confdefs.h <<\_ACEOF
17456 #define HAVE_CONST_CAST
17457 _ACEOF
17458
17459 fi
17460
17461
17462 if test "$wxUSE_STL" = "yes"; then
17463 ac_ext=cc
17464 ac_cpp='$CXXCPP $CPPFLAGS'
17465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17468
17469
17470 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17471 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17472 cat >conftest.$ac_ext <<_ACEOF
17473 #line $LINENO "configure"
17474 /* confdefs.h. */
17475 _ACEOF
17476 cat confdefs.h >>conftest.$ac_ext
17477 cat >>conftest.$ac_ext <<_ACEOF
17478 /* end confdefs.h. */
17479 #include <string>
17480 #include <functional>
17481 #include <algorithm>
17482 #include <vector>
17483 #include <list>
17484 int
17485 main ()
17486 {
17487 std::vector<int> moo;
17488 std::list<int> foo;
17489 std::vector<int>::iterator it =
17490 std::find_if(moo.begin(), moo.end(),
17491 std::bind2nd(std::less<int>(), 3));
17492 ;
17493 return 0;
17494 }
17495 _ACEOF
17496 rm -f conftest.$ac_objext
17497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17498 (eval $ac_compile) 2>&5
17499 ac_status=$?
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -s conftest.$ac_objext'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; }; then
17508 echo "$as_me:$LINENO: result: yes" >&5
17509 echo "${ECHO_T}yes" >&6
17510 else
17511 echo "$as_me: failed program was:" >&5
17512 sed 's/^/| /' conftest.$ac_ext >&5
17513
17514 echo "$as_me:$LINENO: result: no" >&5
17515 echo "${ECHO_T}no" >&6
17516 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17517 echo "$as_me: error: Basic STL functionality missing" >&2;}
17518 { (exit 1); exit 1; }; }
17519 fi
17520 rm -f conftest.$ac_objext conftest.$ac_ext
17521
17522 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17523 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17524 cat >conftest.$ac_ext <<_ACEOF
17525 #line $LINENO "configure"
17526 /* confdefs.h. */
17527 _ACEOF
17528 cat confdefs.h >>conftest.$ac_ext
17529 cat >>conftest.$ac_ext <<_ACEOF
17530 /* end confdefs.h. */
17531 #include <string>
17532 int
17533 main ()
17534 {
17535 std::wstring foo;
17536 ;
17537 return 0;
17538 }
17539 _ACEOF
17540 rm -f conftest.$ac_objext
17541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17542 (eval $ac_compile) 2>&5
17543 ac_status=$?
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -s conftest.$ac_objext'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; }; then
17552 echo "$as_me:$LINENO: result: yes" >&5
17553 echo "${ECHO_T}yes" >&6
17554 cat >>confdefs.h <<\_ACEOF
17555 #define HAVE_STD_WSTRING 1
17556 _ACEOF
17557
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17561
17562 echo "$as_me:$LINENO: result: no" >&5
17563 echo "${ECHO_T}no" >&6
17564 fi
17565 rm -f conftest.$ac_objext conftest.$ac_ext
17566
17567 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17568 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17569 cat >conftest.$ac_ext <<_ACEOF
17570 #line $LINENO "configure"
17571 /* confdefs.h. */
17572 _ACEOF
17573 cat confdefs.h >>conftest.$ac_ext
17574 cat >>conftest.$ac_ext <<_ACEOF
17575 /* end confdefs.h. */
17576 #include <string>
17577 int
17578 main ()
17579 {
17580 std::string foo, bar;
17581 foo.compare(bar);
17582 foo.compare(1, 1, bar);
17583 foo.compare(1, 1, bar, 1, 1);
17584 foo.compare("");
17585 foo.compare(1, 1, "");
17586 foo.compare(1, 1, "", 2);
17587 ;
17588 return 0;
17589 }
17590 _ACEOF
17591 rm -f conftest.$ac_objext
17592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17593 (eval $ac_compile) 2>&5
17594 ac_status=$?
17595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17596 (exit $ac_status); } &&
17597 { ac_try='test -s conftest.$ac_objext'
17598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17599 (eval $ac_try) 2>&5
17600 ac_status=$?
17601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17602 (exit $ac_status); }; }; then
17603 echo "$as_me:$LINENO: result: yes" >&5
17604 echo "${ECHO_T}yes" >&6
17605 cat >>confdefs.h <<\_ACEOF
17606 #define HAVE_STD_STRING_COMPARE 1
17607 _ACEOF
17608
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17612
17613 echo "$as_me:$LINENO: result: no" >&5
17614 echo "${ECHO_T}no" >&6
17615 fi
17616 rm -f conftest.$ac_objext conftest.$ac_ext
17617
17618 ac_ext=c
17619 ac_cpp='$CPP $CPPFLAGS'
17620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17623
17624 fi
17625
17626
17627 SEARCH_INCLUDE="\
17628 /usr/local/include \
17629 \
17630 /usr/Motif-1.2/include \
17631 /usr/Motif-2.1/include \
17632 \
17633 /usr/include/Motif1.2 \
17634 /opt/xpm/include/X11 \
17635 /opt/GBxpm/include/ \
17636 /opt/GBxpm/X11/include/ \
17637 \
17638 /usr/Motif1.2/include \
17639 /usr/dt/include \
17640 /usr/openwin/include \
17641 \
17642 /usr/include/Xm \
17643 \
17644 /usr/X11R6/include \
17645 /usr/X11R6.4/include \
17646 /usr/X11R5/include \
17647 /usr/X11R4/include \
17648 \
17649 /usr/include/X11R6 \
17650 /usr/include/X11R5 \
17651 /usr/include/X11R4 \
17652 \
17653 /usr/local/X11R6/include \
17654 /usr/local/X11R5/include \
17655 /usr/local/X11R4/include \
17656 \
17657 /usr/local/include/X11R6 \
17658 /usr/local/include/X11R5 \
17659 /usr/local/include/X11R4 \
17660 \
17661 /usr/X11/include \
17662 /usr/include/X11 \
17663 /usr/local/X11/include \
17664 /usr/local/include/X11 \
17665 \
17666 /usr/X386/include \
17667 /usr/x386/include \
17668 /usr/XFree86/include/X11 \
17669 \
17670 X:/XFree86/include \
17671 X:/XFree86/include/X11 \
17672 \
17673 /usr/include/gtk \
17674 /usr/local/include/gtk \
17675 /usr/include/glib \
17676 /usr/local/include/glib \
17677 \
17678 /usr/include/qt \
17679 /usr/local/include/qt \
17680 \
17681 /usr/include/windows \
17682 /usr/include/wine \
17683 /usr/local/include/wine \
17684 \
17685 /usr/unsupported/include \
17686 /usr/athena/include \
17687 /usr/local/x11r5/include \
17688 /usr/lpp/Xamples/include \
17689 \
17690 /usr/openwin/share/include"
17691
17692 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17693
17694
17695 cat >confcache <<\_ACEOF
17696 # This file is a shell script that caches the results of configure
17697 # tests run on this system so they can be shared between configure
17698 # scripts and configure runs, see configure's option --config-cache.
17699 # It is not useful on other systems. If it contains results you don't
17700 # want to keep, you may remove or edit it.
17701 #
17702 # config.status only pays attention to the cache file if you give it
17703 # the --recheck option to rerun configure.
17704 #
17705 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17706 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17707 # following values.
17708
17709 _ACEOF
17710
17711 # The following way of writing the cache mishandles newlines in values,
17712 # but we know of no workaround that is simple, portable, and efficient.
17713 # So, don't put newlines in cache variables' values.
17714 # Ultrix sh set writes to stderr and can't be redirected directly,
17715 # and sets the high bit in the cache file unless we assign to the vars.
17716 {
17717 (set) 2>&1 |
17718 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17719 *ac_space=\ *)
17720 # `set' does not quote correctly, so add quotes (double-quote
17721 # substitution turns \\\\ into \\, and sed turns \\ into \).
17722 sed -n \
17723 "s/'/'\\\\''/g;
17724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17725 ;;
17726 *)
17727 # `set' quotes correctly as required by POSIX, so do not add quotes.
17728 sed -n \
17729 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17730 ;;
17731 esac;
17732 } |
17733 sed '
17734 t clear
17735 : clear
17736 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17737 t end
17738 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17739 : end' >>confcache
17740 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17741 if test -w $cache_file; then
17742 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17743 cat confcache >$cache_file
17744 else
17745 echo "not updating unwritable cache $cache_file"
17746 fi
17747 fi
17748 rm -f confcache
17749
17750 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17751 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17752 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17753 if test "${wx_cv_lib_glibc21+set}" = set; then
17754 echo $ECHO_N "(cached) $ECHO_C" >&6
17755 else
17756
17757 cat >conftest.$ac_ext <<_ACEOF
17758 #line $LINENO "configure"
17759 /* confdefs.h. */
17760 _ACEOF
17761 cat confdefs.h >>conftest.$ac_ext
17762 cat >>conftest.$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 #include <features.h>
17765 int
17766 main ()
17767 {
17768
17769 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17770 #error not glibc2.1
17771 #endif
17772
17773 ;
17774 return 0;
17775 }
17776 _ACEOF
17777 rm -f conftest.$ac_objext
17778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17779 (eval $ac_compile) 2>&5
17780 ac_status=$?
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -s conftest.$ac_objext'
17784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17785 (eval $ac_try) 2>&5
17786 ac_status=$?
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); }; }; then
17789
17790 wx_cv_lib_glibc21=yes
17791
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17795
17796
17797 wx_cv_lib_glibc21=no
17798
17799
17800 fi
17801 rm -f conftest.$ac_objext conftest.$ac_ext
17802
17803 fi
17804 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17805 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17806 if test "$wx_cv_lib_glibc21" = "yes"; then
17807 cat >>confdefs.h <<\_ACEOF
17808 #define wxHAVE_GLIBC2 1
17809 _ACEOF
17810
17811 fi
17812 fi
17813
17814 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17815 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17816 cat >>confdefs.h <<\_ACEOF
17817 #define _GNU_SOURCE 1
17818 _ACEOF
17819
17820 fi
17821 fi
17822
17823
17824
17825 REGEX_INCLUDE=
17826 if test "$wxUSE_REGEX" != "no"; then
17827 cat >>confdefs.h <<\_ACEOF
17828 #define wxUSE_REGEX 1
17829 _ACEOF
17830
17831
17832 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17833 if test "${ac_cv_header_regex_h+set}" = set; then
17834 echo "$as_me:$LINENO: checking for regex.h" >&5
17835 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17836 if test "${ac_cv_header_regex_h+set}" = set; then
17837 echo $ECHO_N "(cached) $ECHO_C" >&6
17838 fi
17839 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17840 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17841 else
17842 # Is the header compilable?
17843 echo "$as_me:$LINENO: checking regex.h usability" >&5
17844 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17845 cat >conftest.$ac_ext <<_ACEOF
17846 #line $LINENO "configure"
17847 /* confdefs.h. */
17848 _ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17853 #include <regex.h>
17854 _ACEOF
17855 rm -f conftest.$ac_objext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17857 (eval $ac_compile) 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } &&
17861 { ac_try='test -s conftest.$ac_objext'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; }; then
17867 ac_header_compiler=yes
17868 else
17869 echo "$as_me: failed program was:" >&5
17870 sed 's/^/| /' conftest.$ac_ext >&5
17871
17872 ac_header_compiler=no
17873 fi
17874 rm -f conftest.$ac_objext conftest.$ac_ext
17875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17876 echo "${ECHO_T}$ac_header_compiler" >&6
17877
17878 # Is the header present?
17879 echo "$as_me:$LINENO: checking regex.h presence" >&5
17880 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17881 cat >conftest.$ac_ext <<_ACEOF
17882 #line $LINENO "configure"
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 #include <regex.h>
17889 _ACEOF
17890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } >/dev/null; then
17898 if test -s conftest.err; then
17899 ac_cpp_err=$ac_c_preproc_warn_flag
17900 else
17901 ac_cpp_err=
17902 fi
17903 else
17904 ac_cpp_err=yes
17905 fi
17906 if test -z "$ac_cpp_err"; then
17907 ac_header_preproc=yes
17908 else
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17911
17912 ac_header_preproc=no
17913 fi
17914 rm -f conftest.err conftest.$ac_ext
17915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17916 echo "${ECHO_T}$ac_header_preproc" >&6
17917
17918 # So? What about this header?
17919 case $ac_header_compiler:$ac_header_preproc in
17920 yes:no )
17921 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17922 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17923 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17924 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17925 (
17926 cat <<\_ASBOX
17927 ## ------------------------------------ ##
17928 ## Report this to bug-autoconf@gnu.org. ##
17929 ## ------------------------------------ ##
17930 _ASBOX
17931 ) |
17932 sed "s/^/$as_me: WARNING: /" >&2
17933 ;;
17934 no:yes )
17935 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17936 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17938 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17941 (
17942 cat <<\_ASBOX
17943 ## ------------------------------------ ##
17944 ## Report this to bug-autoconf@gnu.org. ##
17945 ## ------------------------------------ ##
17946 _ASBOX
17947 ) |
17948 sed "s/^/$as_me: WARNING: /" >&2
17949 ;;
17950 esac
17951 echo "$as_me:$LINENO: checking for regex.h" >&5
17952 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17953 if test "${ac_cv_header_regex_h+set}" = set; then
17954 echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956 ac_cv_header_regex_h=$ac_header_preproc
17957 fi
17958 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17959 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17960
17961 fi
17962 if test $ac_cv_header_regex_h = yes; then
17963
17964 for ac_func in regcomp
17965 do
17966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17967 echo "$as_me:$LINENO: checking for $ac_func" >&5
17968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17969 if eval "test \"\${$as_ac_var+set}\" = set"; then
17970 echo $ECHO_N "(cached) $ECHO_C" >&6
17971 else
17972 cat >conftest.$ac_ext <<_ACEOF
17973 #line $LINENO "configure"
17974 /* confdefs.h. */
17975 _ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 /* System header to define __stub macros and hopefully few prototypes,
17980 which can conflict with char $ac_func (); below.
17981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17982 <limits.h> exists even on freestanding compilers. */
17983 #ifdef __STDC__
17984 # include <limits.h>
17985 #else
17986 # include <assert.h>
17987 #endif
17988 /* Override any gcc2 internal prototype to avoid an error. */
17989 #ifdef __cplusplus
17990 extern "C"
17991 {
17992 #endif
17993 /* We use char because int might match the return type of a gcc2
17994 builtin and then its argument prototype would still apply. */
17995 char $ac_func ();
17996 /* The GNU C library defines this for functions which it implements
17997 to always fail with ENOSYS. Some functions are actually named
17998 something starting with __ and the normal name is an alias. */
17999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18000 choke me
18001 #else
18002 char (*f) () = $ac_func;
18003 #endif
18004 #ifdef __cplusplus
18005 }
18006 #endif
18007
18008 int
18009 main ()
18010 {
18011 return f != $ac_func;
18012 ;
18013 return 0;
18014 }
18015 _ACEOF
18016 rm -f conftest.$ac_objext conftest$ac_exeext
18017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18018 (eval $ac_link) 2>&5
18019 ac_status=$?
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } &&
18022 { ac_try='test -s conftest$ac_exeext'
18023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18024 (eval $ac_try) 2>&5
18025 ac_status=$?
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); }; }; then
18028 eval "$as_ac_var=yes"
18029 else
18030 echo "$as_me: failed program was:" >&5
18031 sed 's/^/| /' conftest.$ac_ext >&5
18032
18033 eval "$as_ac_var=no"
18034 fi
18035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18036 fi
18037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18039 if test `eval echo '${'$as_ac_var'}'` = yes; then
18040 cat >>confdefs.h <<_ACEOF
18041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18042 _ACEOF
18043
18044 fi
18045 done
18046
18047 fi
18048
18049
18050
18051 if test "x$ac_cv_func_regcomp" != "xyes"; then
18052 if test "$wxUSE_REGEX" = "sys" ; then
18053 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18054 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18055 { (exit 1); exit 1; }; }
18056 else
18057 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18058 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18059 wxUSE_REGEX=builtin
18060 fi
18061 else
18062 wxUSE_REGEX=sys
18063 fi
18064 fi
18065
18066 if test "$wxUSE_REGEX" = "builtin" ; then
18067 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18068 fi
18069 fi
18070
18071
18072 ZLIB_INCLUDE=
18073 ZLIB_LINK=
18074 if test "$wxUSE_ZLIB" != "no" ; then
18075 cat >>confdefs.h <<\_ACEOF
18076 #define wxUSE_ZLIB 1
18077 _ACEOF
18078
18079
18080 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18081 if test "$USE_DARWIN" = 1; then
18082 system_zlib_h_ok="yes"
18083 else
18084 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18085 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18086 if test "${ac_cv_header_zlib_h+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18089 if test "$cross_compiling" = yes; then
18090 unset ac_cv_header_zlib_h
18091
18092 else
18093 cat >conftest.$ac_ext <<_ACEOF
18094 #line $LINENO "configure"
18095 /* confdefs.h. */
18096 _ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18100
18101 #include <zlib.h>
18102 #include <stdio.h>
18103
18104 int main()
18105 {
18106 FILE *f=fopen("conftestval", "w");
18107 if (!f) exit(1);
18108 fprintf(f, "%s",
18109 ZLIB_VERSION[0] == '1' &&
18110 (ZLIB_VERSION[2] > '1' ||
18111 (ZLIB_VERSION[2] == '1' &&
18112 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18113 exit(0);
18114 }
18115
18116 _ACEOF
18117 rm -f conftest$ac_exeext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18119 (eval $ac_link) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18125 ac_status=$?
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; }; then
18128 ac_cv_header_zlib_h=`cat conftestval`
18129 else
18130 echo "$as_me: program exited with status $ac_status" >&5
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ( exit $ac_status )
18135 ac_cv_header_zlib_h=no
18136 fi
18137 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18138 fi
18139
18140 fi
18141 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18142 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18143 if test "${ac_cv_header_zlib_h+set}" = set; then
18144 echo "$as_me:$LINENO: checking for zlib.h" >&5
18145 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18146 if test "${ac_cv_header_zlib_h+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 fi
18149 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18150 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18151 else
18152 # Is the header compilable?
18153 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18154 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18155 cat >conftest.$ac_ext <<_ACEOF
18156 #line $LINENO "configure"
18157 /* confdefs.h. */
18158 _ACEOF
18159 cat confdefs.h >>conftest.$ac_ext
18160 cat >>conftest.$ac_ext <<_ACEOF
18161 /* end confdefs.h. */
18162 $ac_includes_default
18163 #include <zlib.h>
18164 _ACEOF
18165 rm -f conftest.$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>&5
18168 ac_status=$?
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18174 ac_status=$?
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 ac_header_compiler=yes
18178 else
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18181
18182 ac_header_compiler=no
18183 fi
18184 rm -f conftest.$ac_objext conftest.$ac_ext
18185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18186 echo "${ECHO_T}$ac_header_compiler" >&6
18187
18188 # Is the header present?
18189 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18190 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18191 cat >conftest.$ac_ext <<_ACEOF
18192 #line $LINENO "configure"
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 #include <zlib.h>
18199 _ACEOF
18200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } >/dev/null; then
18208 if test -s conftest.err; then
18209 ac_cpp_err=$ac_c_preproc_warn_flag
18210 else
18211 ac_cpp_err=
18212 fi
18213 else
18214 ac_cpp_err=yes
18215 fi
18216 if test -z "$ac_cpp_err"; then
18217 ac_header_preproc=yes
18218 else
18219 echo "$as_me: failed program was:" >&5
18220 sed 's/^/| /' conftest.$ac_ext >&5
18221
18222 ac_header_preproc=no
18223 fi
18224 rm -f conftest.err conftest.$ac_ext
18225 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18226 echo "${ECHO_T}$ac_header_preproc" >&6
18227
18228 # So? What about this header?
18229 case $ac_header_compiler:$ac_header_preproc in
18230 yes:no )
18231 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18232 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18233 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18234 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18235 (
18236 cat <<\_ASBOX
18237 ## ------------------------------------ ##
18238 ## Report this to bug-autoconf@gnu.org. ##
18239 ## ------------------------------------ ##
18240 _ASBOX
18241 ) |
18242 sed "s/^/$as_me: WARNING: /" >&2
18243 ;;
18244 no:yes )
18245 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18246 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18247 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18248 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18249 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18250 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18251 (
18252 cat <<\_ASBOX
18253 ## ------------------------------------ ##
18254 ## Report this to bug-autoconf@gnu.org. ##
18255 ## ------------------------------------ ##
18256 _ASBOX
18257 ) |
18258 sed "s/^/$as_me: WARNING: /" >&2
18259 ;;
18260 esac
18261 echo "$as_me:$LINENO: checking for zlib.h" >&5
18262 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18263 if test "${ac_cv_header_zlib_h+set}" = set; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 else
18266 ac_cv_header_zlib_h=$ac_header_preproc
18267 fi
18268 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18269 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18270
18271 fi
18272
18273
18274
18275 system_zlib_h_ok=$ac_cv_header_zlib_h
18276 fi
18277
18278 if test "$system_zlib_h_ok" = "yes"; then
18279 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18280 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18281 if test "${ac_cv_lib_z_deflate+set}" = set; then
18282 echo $ECHO_N "(cached) $ECHO_C" >&6
18283 else
18284 ac_check_lib_save_LIBS=$LIBS
18285 LIBS="-lz $LIBS"
18286 cat >conftest.$ac_ext <<_ACEOF
18287 #line $LINENO "configure"
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293
18294 /* Override any gcc2 internal prototype to avoid an error. */
18295 #ifdef __cplusplus
18296 extern "C"
18297 #endif
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18300 char deflate ();
18301 int
18302 main ()
18303 {
18304 deflate ();
18305 ;
18306 return 0;
18307 }
18308 _ACEOF
18309 rm -f conftest.$ac_objext conftest$ac_exeext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18311 (eval $ac_link) 2>&5
18312 ac_status=$?
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -s conftest$ac_exeext'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; }; then
18321 ac_cv_lib_z_deflate=yes
18322 else
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18325
18326 ac_cv_lib_z_deflate=no
18327 fi
18328 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18329 LIBS=$ac_check_lib_save_LIBS
18330 fi
18331 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18332 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18333 if test $ac_cv_lib_z_deflate = yes; then
18334 ZLIB_LINK=" -lz"
18335 fi
18336
18337 fi
18338
18339 if test "x$ZLIB_LINK" = "x" ; then
18340 if test "$wxUSE_ZLIB" = "sys" ; then
18341 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18342 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18343 { (exit 1); exit 1; }; }
18344 else
18345 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18346 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18347 wxUSE_ZLIB=builtin
18348 fi
18349 else
18350 wxUSE_ZLIB=sys
18351 fi
18352 fi
18353
18354 if test "$wxUSE_ZLIB" = "builtin" ; then
18355 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18356 fi
18357 fi
18358
18359
18360 PNG_INCLUDE=
18361 PNG_LINK=
18362 if test "$wxUSE_LIBPNG" != "no" ; then
18363 cat >>confdefs.h <<\_ACEOF
18364 #define wxUSE_LIBPNG 1
18365 _ACEOF
18366
18367
18368 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18369 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18370 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18371 wxUSE_LIBPNG=sys
18372 fi
18373
18374 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18375 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18376 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18377 wxUSE_LIBPNG=builtin
18378 fi
18379
18380 if test "$wxUSE_MGL" != 1 ; then
18381 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18382 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18383 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18384 if test "${ac_cv_header_png_h+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18386 else
18387 if test "$cross_compiling" = yes; then
18388 unset ac_cv_header_png_h
18389
18390 else
18391 cat >conftest.$ac_ext <<_ACEOF
18392 #line $LINENO "configure"
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398
18399 #include <png.h>
18400 #include <stdio.h>
18401
18402 int main()
18403 {
18404 FILE *f=fopen("conftestval", "w");
18405 if (!f) exit(1);
18406 fprintf(f, "%s",
18407 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18408 exit(0);
18409 }
18410
18411 _ACEOF
18412 rm -f conftest$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414 (eval $ac_link) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; }; then
18423 ac_cv_header_png_h=`cat conftestval`
18424 else
18425 echo "$as_me: program exited with status $ac_status" >&5
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 ( exit $ac_status )
18430 ac_cv_header_png_h=no
18431 fi
18432 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18433 fi
18434
18435 fi
18436 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18437 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18438 if test "${ac_cv_header_png_h+set}" = set; then
18439 echo "$as_me:$LINENO: checking for png.h" >&5
18440 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18441 if test "${ac_cv_header_png_h+set}" = set; then
18442 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 fi
18444 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18445 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18446 else
18447 # Is the header compilable?
18448 echo "$as_me:$LINENO: checking png.h usability" >&5
18449 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18450 cat >conftest.$ac_ext <<_ACEOF
18451 #line $LINENO "configure"
18452 /* confdefs.h. */
18453 _ACEOF
18454 cat confdefs.h >>conftest.$ac_ext
18455 cat >>conftest.$ac_ext <<_ACEOF
18456 /* end confdefs.h. */
18457 $ac_includes_default
18458 #include <png.h>
18459 _ACEOF
18460 rm -f conftest.$ac_objext
18461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18462 (eval $ac_compile) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } &&
18466 { ac_try='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18469 ac_status=$?
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_header_compiler=yes
18473 else
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.$ac_ext >&5
18476
18477 ac_header_compiler=no
18478 fi
18479 rm -f conftest.$ac_objext conftest.$ac_ext
18480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18481 echo "${ECHO_T}$ac_header_compiler" >&6
18482
18483 # Is the header present?
18484 echo "$as_me:$LINENO: checking png.h presence" >&5
18485 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18486 cat >conftest.$ac_ext <<_ACEOF
18487 #line $LINENO "configure"
18488 /* confdefs.h. */
18489 _ACEOF
18490 cat confdefs.h >>conftest.$ac_ext
18491 cat >>conftest.$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 #include <png.h>
18494 _ACEOF
18495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } >/dev/null; then
18503 if test -s conftest.err; then
18504 ac_cpp_err=$ac_c_preproc_warn_flag
18505 else
18506 ac_cpp_err=
18507 fi
18508 else
18509 ac_cpp_err=yes
18510 fi
18511 if test -z "$ac_cpp_err"; then
18512 ac_header_preproc=yes
18513 else
18514 echo "$as_me: failed program was:" >&5
18515 sed 's/^/| /' conftest.$ac_ext >&5
18516
18517 ac_header_preproc=no
18518 fi
18519 rm -f conftest.err conftest.$ac_ext
18520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18521 echo "${ECHO_T}$ac_header_preproc" >&6
18522
18523 # So? What about this header?
18524 case $ac_header_compiler:$ac_header_preproc in
18525 yes:no )
18526 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18527 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18528 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18529 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18530 (
18531 cat <<\_ASBOX
18532 ## ------------------------------------ ##
18533 ## Report this to bug-autoconf@gnu.org. ##
18534 ## ------------------------------------ ##
18535 _ASBOX
18536 ) |
18537 sed "s/^/$as_me: WARNING: /" >&2
18538 ;;
18539 no:yes )
18540 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18541 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18542 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18543 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18544 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18545 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18546 (
18547 cat <<\_ASBOX
18548 ## ------------------------------------ ##
18549 ## Report this to bug-autoconf@gnu.org. ##
18550 ## ------------------------------------ ##
18551 _ASBOX
18552 ) |
18553 sed "s/^/$as_me: WARNING: /" >&2
18554 ;;
18555 esac
18556 echo "$as_me:$LINENO: checking for png.h" >&5
18557 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18558 if test "${ac_cv_header_png_h+set}" = set; then
18559 echo $ECHO_N "(cached) $ECHO_C" >&6
18560 else
18561 ac_cv_header_png_h=$ac_header_preproc
18562 fi
18563 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18564 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18565
18566 fi
18567
18568
18569
18570 if test "$ac_cv_header_png_h" = "yes"; then
18571 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18572 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18573 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576 ac_check_lib_save_LIBS=$LIBS
18577 LIBS="-lpng -lz -lm $LIBS"
18578 cat >conftest.$ac_ext <<_ACEOF
18579 #line $LINENO "configure"
18580 /* confdefs.h. */
18581 _ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18585
18586 /* Override any gcc2 internal prototype to avoid an error. */
18587 #ifdef __cplusplus
18588 extern "C"
18589 #endif
18590 /* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18592 char png_check_sig ();
18593 int
18594 main ()
18595 {
18596 png_check_sig ();
18597 ;
18598 return 0;
18599 }
18600 _ACEOF
18601 rm -f conftest.$ac_objext conftest$ac_exeext
18602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18603 (eval $ac_link) 2>&5
18604 ac_status=$?
18605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606 (exit $ac_status); } &&
18607 { ac_try='test -s conftest$ac_exeext'
18608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18609 (eval $ac_try) 2>&5
18610 ac_status=$?
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_cv_lib_png_png_check_sig=yes
18614 else
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18617
18618 ac_cv_lib_png_png_check_sig=no
18619 fi
18620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18621 LIBS=$ac_check_lib_save_LIBS
18622 fi
18623 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18624 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18625 if test $ac_cv_lib_png_png_check_sig = yes; then
18626 PNG_LINK=" -lpng"
18627 fi
18628
18629 fi
18630
18631 if test "x$PNG_LINK" = "x" ; then
18632 if test "$wxUSE_LIBPNG" = "sys" ; then
18633 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18634 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18635 { (exit 1); exit 1; }; }
18636 else
18637 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18638 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18639 wxUSE_LIBPNG=builtin
18640 fi
18641 else
18642 wxUSE_LIBPNG=sys
18643 fi
18644 fi
18645 fi
18646
18647 if test "$wxUSE_LIBPNG" = "builtin" ; then
18648 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18649 fi
18650
18651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18652 fi
18653
18654
18655 JPEG_INCLUDE=
18656 JPEG_LINK=
18657 if test "$wxUSE_LIBJPEG" != "no" ; then
18658 cat >>confdefs.h <<\_ACEOF
18659 #define wxUSE_LIBJPEG 1
18660 _ACEOF
18661
18662
18663 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18664 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18665 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18666 wxUSE_LIBJPEG=sys
18667 fi
18668
18669 if test "$wxUSE_MGL" != 1 ; then
18670 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18671 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18672 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18673 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18674 echo $ECHO_N "(cached) $ECHO_C" >&6
18675 else
18676 cat >conftest.$ac_ext <<_ACEOF
18677 #line $LINENO "configure"
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683
18684 #undef HAVE_STDLIB_H
18685 #include <stdio.h>
18686 #include <jpeglib.h>
18687
18688 int
18689 main ()
18690 {
18691
18692
18693 ;
18694 return 0;
18695 }
18696 _ACEOF
18697 rm -f conftest.$ac_objext
18698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18699 (eval $ac_compile) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); } &&
18703 { ac_try='test -s conftest.$ac_objext'
18704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18705 (eval $ac_try) 2>&5
18706 ac_status=$?
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); }; }; then
18709 ac_cv_header_jpeglib_h=yes
18710 else
18711 echo "$as_me: failed program was:" >&5
18712 sed 's/^/| /' conftest.$ac_ext >&5
18713
18714 ac_cv_header_jpeglib_h=no
18715
18716 fi
18717 rm -f conftest.$ac_objext conftest.$ac_ext
18718
18719 fi
18720
18721 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18722 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18723
18724 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18725 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18726 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18727 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18728 echo $ECHO_N "(cached) $ECHO_C" >&6
18729 else
18730 ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-ljpeg $LIBS"
18732 cat >conftest.$ac_ext <<_ACEOF
18733 #line $LINENO "configure"
18734 /* confdefs.h. */
18735 _ACEOF
18736 cat confdefs.h >>conftest.$ac_ext
18737 cat >>conftest.$ac_ext <<_ACEOF
18738 /* end confdefs.h. */
18739
18740 /* Override any gcc2 internal prototype to avoid an error. */
18741 #ifdef __cplusplus
18742 extern "C"
18743 #endif
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18746 char jpeg_read_header ();
18747 int
18748 main ()
18749 {
18750 jpeg_read_header ();
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext conftest$ac_exeext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18757 (eval $ac_link) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } &&
18761 { ac_try='test -s conftest$ac_exeext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18764 ac_status=$?
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_lib_jpeg_jpeg_read_header=yes
18768 else
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.$ac_ext >&5
18771
18772 ac_cv_lib_jpeg_jpeg_read_header=no
18773 fi
18774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18775 LIBS=$ac_check_lib_save_LIBS
18776 fi
18777 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18778 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18779 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18780 JPEG_LINK=" -ljpeg"
18781 fi
18782
18783 fi
18784
18785 if test "x$JPEG_LINK" = "x" ; then
18786 if test "$wxUSE_LIBJPEG" = "sys" ; then
18787 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18788 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18789 { (exit 1); exit 1; }; }
18790 else
18791 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18792 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18793 wxUSE_LIBJPEG=builtin
18794 fi
18795 else
18796 wxUSE_LIBJPEG=sys
18797 fi
18798 fi
18799 fi
18800
18801 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18802 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18803 fi
18804 fi
18805
18806
18807 TIFF_INCLUDE=
18808 TIFF_LINK=
18809 TIFF_PREREQ_LINKS=-lm
18810 if test "$wxUSE_LIBTIFF" != "no" ; then
18811 cat >>confdefs.h <<\_ACEOF
18812 #define wxUSE_LIBTIFF 1
18813 _ACEOF
18814
18815
18816 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18817 if test "$wxUSE_LIBJPEG" = "sys"; then
18818 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18819 fi
18820 if test "$wxUSE_ZLIB" = "sys"; then
18821 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18822 fi
18823 if test "${ac_cv_header_tiffio_h+set}" = set; then
18824 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18825 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18826 if test "${ac_cv_header_tiffio_h+set}" = set; then
18827 echo $ECHO_N "(cached) $ECHO_C" >&6
18828 fi
18829 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18830 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18831 else
18832 # Is the header compilable?
18833 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18834 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18835 cat >conftest.$ac_ext <<_ACEOF
18836 #line $LINENO "configure"
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 $ac_includes_default
18843 #include <tiffio.h>
18844 _ACEOF
18845 rm -f conftest.$ac_objext
18846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18847 (eval $ac_compile) 2>&5
18848 ac_status=$?
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18854 ac_status=$?
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_header_compiler=yes
18858 else
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18861
18862 ac_header_compiler=no
18863 fi
18864 rm -f conftest.$ac_objext conftest.$ac_ext
18865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18866 echo "${ECHO_T}$ac_header_compiler" >&6
18867
18868 # Is the header present?
18869 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18870 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18871 cat >conftest.$ac_ext <<_ACEOF
18872 #line $LINENO "configure"
18873 /* confdefs.h. */
18874 _ACEOF
18875 cat confdefs.h >>conftest.$ac_ext
18876 cat >>conftest.$ac_ext <<_ACEOF
18877 /* end confdefs.h. */
18878 #include <tiffio.h>
18879 _ACEOF
18880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18881 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18882 ac_status=$?
18883 grep -v '^ *+' conftest.er1 >conftest.err
18884 rm -f conftest.er1
18885 cat conftest.err >&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } >/dev/null; then
18888 if test -s conftest.err; then
18889 ac_cpp_err=$ac_c_preproc_warn_flag
18890 else
18891 ac_cpp_err=
18892 fi
18893 else
18894 ac_cpp_err=yes
18895 fi
18896 if test -z "$ac_cpp_err"; then
18897 ac_header_preproc=yes
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 ac_header_preproc=no
18903 fi
18904 rm -f conftest.err conftest.$ac_ext
18905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18906 echo "${ECHO_T}$ac_header_preproc" >&6
18907
18908 # So? What about this header?
18909 case $ac_header_compiler:$ac_header_preproc in
18910 yes:no )
18911 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18912 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18913 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18914 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18915 (
18916 cat <<\_ASBOX
18917 ## ------------------------------------ ##
18918 ## Report this to bug-autoconf@gnu.org. ##
18919 ## ------------------------------------ ##
18920 _ASBOX
18921 ) |
18922 sed "s/^/$as_me: WARNING: /" >&2
18923 ;;
18924 no:yes )
18925 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18926 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18927 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18928 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18929 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18930 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18931 (
18932 cat <<\_ASBOX
18933 ## ------------------------------------ ##
18934 ## Report this to bug-autoconf@gnu.org. ##
18935 ## ------------------------------------ ##
18936 _ASBOX
18937 ) |
18938 sed "s/^/$as_me: WARNING: /" >&2
18939 ;;
18940 esac
18941 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18942 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18943 if test "${ac_cv_header_tiffio_h+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18946 ac_cv_header_tiffio_h=$ac_header_preproc
18947 fi
18948 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18949 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18950
18951 fi
18952 if test $ac_cv_header_tiffio_h = yes; then
18953 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
18954 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
18955 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958 ac_check_lib_save_LIBS=$LIBS
18959 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
18960 cat >conftest.$ac_ext <<_ACEOF
18961 #line $LINENO "configure"
18962 /* confdefs.h. */
18963 _ACEOF
18964 cat confdefs.h >>conftest.$ac_ext
18965 cat >>conftest.$ac_ext <<_ACEOF
18966 /* end confdefs.h. */
18967
18968 /* Override any gcc2 internal prototype to avoid an error. */
18969 #ifdef __cplusplus
18970 extern "C"
18971 #endif
18972 /* We use char because int might match the return type of a gcc2
18973 builtin and then its argument prototype would still apply. */
18974 char TIFFError ();
18975 int
18976 main ()
18977 {
18978 TIFFError ();
18979 ;
18980 return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext conftest$ac_exeext
18984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18985 (eval $ac_link) 2>&5
18986 ac_status=$?
18987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18988 (exit $ac_status); } &&
18989 { ac_try='test -s conftest$ac_exeext'
18990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18991 (eval $ac_try) 2>&5
18992 ac_status=$?
18993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18994 (exit $ac_status); }; }; then
18995 ac_cv_lib_tiff_TIFFError=yes
18996 else
18997 echo "$as_me: failed program was:" >&5
18998 sed 's/^/| /' conftest.$ac_ext >&5
18999
19000 ac_cv_lib_tiff_TIFFError=no
19001 fi
19002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19003 LIBS=$ac_check_lib_save_LIBS
19004 fi
19005 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19006 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19007 if test $ac_cv_lib_tiff_TIFFError = yes; then
19008 TIFF_LINK=" -ltiff"
19009 fi
19010
19011
19012 fi
19013
19014
19015
19016 if test "x$TIFF_LINK" = "x" ; then
19017 if test "$wxUSE_LIBTIFF" = "sys" ; then
19018 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19019 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19020 { (exit 1); exit 1; }; }
19021 else
19022 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19023 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19024 wxUSE_LIBTIFF=builtin
19025 fi
19026 else
19027 wxUSE_LIBTIFF=sys
19028 fi
19029 fi
19030
19031 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19032 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19033 fi
19034 fi
19035
19036
19037 if test "$wxUSE_EXPAT" != "no"; then
19038 wxUSE_XML=yes
19039 cat >>confdefs.h <<\_ACEOF
19040 #define wxUSE_EXPAT 1
19041 _ACEOF
19042
19043 cat >>confdefs.h <<\_ACEOF
19044 #define wxUSE_XML 1
19045 _ACEOF
19046
19047
19048 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19049 if test "${ac_cv_header_expat_h+set}" = set; then
19050 echo "$as_me:$LINENO: checking for expat.h" >&5
19051 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19052 if test "${ac_cv_header_expat_h+set}" = set; then
19053 echo $ECHO_N "(cached) $ECHO_C" >&6
19054 fi
19055 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19056 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19057 else
19058 # Is the header compilable?
19059 echo "$as_me:$LINENO: checking expat.h usability" >&5
19060 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19061 cat >conftest.$ac_ext <<_ACEOF
19062 #line $LINENO "configure"
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 $ac_includes_default
19069 #include <expat.h>
19070 _ACEOF
19071 rm -f conftest.$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_header_compiler=yes
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 ac_header_compiler=no
19089 fi
19090 rm -f conftest.$ac_objext conftest.$ac_ext
19091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19092 echo "${ECHO_T}$ac_header_compiler" >&6
19093
19094 # Is the header present?
19095 echo "$as_me:$LINENO: checking expat.h presence" >&5
19096 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19097 cat >conftest.$ac_ext <<_ACEOF
19098 #line $LINENO "configure"
19099 /* confdefs.h. */
19100 _ACEOF
19101 cat confdefs.h >>conftest.$ac_ext
19102 cat >>conftest.$ac_ext <<_ACEOF
19103 /* end confdefs.h. */
19104 #include <expat.h>
19105 _ACEOF
19106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } >/dev/null; then
19114 if test -s conftest.err; then
19115 ac_cpp_err=$ac_c_preproc_warn_flag
19116 else
19117 ac_cpp_err=
19118 fi
19119 else
19120 ac_cpp_err=yes
19121 fi
19122 if test -z "$ac_cpp_err"; then
19123 ac_header_preproc=yes
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19127
19128 ac_header_preproc=no
19129 fi
19130 rm -f conftest.err conftest.$ac_ext
19131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19132 echo "${ECHO_T}$ac_header_preproc" >&6
19133
19134 # So? What about this header?
19135 case $ac_header_compiler:$ac_header_preproc in
19136 yes:no )
19137 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19138 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19139 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19140 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19141 (
19142 cat <<\_ASBOX
19143 ## ------------------------------------ ##
19144 ## Report this to bug-autoconf@gnu.org. ##
19145 ## ------------------------------------ ##
19146 _ASBOX
19147 ) |
19148 sed "s/^/$as_me: WARNING: /" >&2
19149 ;;
19150 no:yes )
19151 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19152 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19153 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19154 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19155 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19156 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19157 (
19158 cat <<\_ASBOX
19159 ## ------------------------------------ ##
19160 ## Report this to bug-autoconf@gnu.org. ##
19161 ## ------------------------------------ ##
19162 _ASBOX
19163 ) |
19164 sed "s/^/$as_me: WARNING: /" >&2
19165 ;;
19166 esac
19167 echo "$as_me:$LINENO: checking for expat.h" >&5
19168 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19169 if test "${ac_cv_header_expat_h+set}" = set; then
19170 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 else
19172 ac_cv_header_expat_h=$ac_header_preproc
19173 fi
19174 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19175 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19176
19177 fi
19178 if test $ac_cv_header_expat_h = yes; then
19179 found_expat_h=1
19180 fi
19181
19182
19183 if test "x$found_expat_h" = "x1"; then
19184 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19185 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19186 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 else
19189
19190
19191
19192 ac_ext=cc
19193 ac_cpp='$CXXCPP $CPPFLAGS'
19194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19197
19198 cat >conftest.$ac_ext <<_ACEOF
19199 #line $LINENO "configure"
19200 /* confdefs.h. */
19201 _ACEOF
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19205 #include <expat.h>
19206 int
19207 main ()
19208 {
19209
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest.$ac_objext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19216 (eval $ac_compile) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 wx_cv_expat_is_not_broken=yes
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19230
19231 wx_cv_expat_is_not_broken=no
19232
19233 fi
19234 rm -f conftest.$ac_objext conftest.$ac_ext
19235 ac_ext=c
19236 ac_cpp='$CPP $CPPFLAGS'
19237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19240
19241
19242
19243 fi
19244 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19245 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19246 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19247 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19248 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19249 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19250 echo $ECHO_N "(cached) $ECHO_C" >&6
19251 else
19252 ac_check_lib_save_LIBS=$LIBS
19253 LIBS="-lexpat $LIBS"
19254 cat >conftest.$ac_ext <<_ACEOF
19255 #line $LINENO "configure"
19256 /* confdefs.h. */
19257 _ACEOF
19258 cat confdefs.h >>conftest.$ac_ext
19259 cat >>conftest.$ac_ext <<_ACEOF
19260 /* end confdefs.h. */
19261
19262 /* Override any gcc2 internal prototype to avoid an error. */
19263 #ifdef __cplusplus
19264 extern "C"
19265 #endif
19266 /* We use char because int might match the return type of a gcc2
19267 builtin and then its argument prototype would still apply. */
19268 char XML_ParserCreate ();
19269 int
19270 main ()
19271 {
19272 XML_ParserCreate ();
19273 ;
19274 return 0;
19275 }
19276 _ACEOF
19277 rm -f conftest.$ac_objext conftest$ac_exeext
19278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19279 (eval $ac_link) 2>&5
19280 ac_status=$?
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try='test -s conftest$ac_exeext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19286 ac_status=$?
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 ac_cv_lib_expat_XML_ParserCreate=yes
19290 else
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19293
19294 ac_cv_lib_expat_XML_ParserCreate=no
19295 fi
19296 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19297 LIBS=$ac_check_lib_save_LIBS
19298 fi
19299 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19300 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19301 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19302 EXPAT_LINK=" -lexpat"
19303 fi
19304
19305 fi
19306 fi
19307 if test "x$EXPAT_LINK" = "x" ; then
19308 if test "$wxUSE_EXPAT" = "sys" ; then
19309 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19310 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19311 { (exit 1); exit 1; }; }
19312 else
19313 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19314 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19315 wxUSE_EXPAT=builtin
19316 fi
19317 else
19318 wxUSE_EXPAT=sys
19319 fi
19320 fi
19321 if test "$wxUSE_EXPAT" = "builtin" ; then
19322
19323
19324 subdirs="$subdirs src/expat"
19325
19326 fi
19327 fi
19328
19329
19330
19331 AFMINSTALL=
19332 WIN32INSTALL=
19333
19334 TOOLKIT=
19335 TOOLKIT_INCLUDE=
19336 WIDGET_SET=
19337
19338 if test "$USE_WIN32" = 1 ; then
19339
19340 for ac_header in w32api.h
19341 do
19342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19344 echo "$as_me:$LINENO: checking for $ac_header" >&5
19345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 fi
19349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19351 else
19352 # Is the header compilable?
19353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19355 cat >conftest.$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363 #include <$ac_header>
19364 _ACEOF
19365 rm -f conftest.$ac_objext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19367 (eval $ac_compile) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); } &&
19371 { ac_try='test -s conftest.$ac_objext'
19372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19373 (eval $ac_try) 2>&5
19374 ac_status=$?
19375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19376 (exit $ac_status); }; }; then
19377 ac_header_compiler=yes
19378 else
19379 echo "$as_me: failed program was:" >&5
19380 sed 's/^/| /' conftest.$ac_ext >&5
19381
19382 ac_header_compiler=no
19383 fi
19384 rm -f conftest.$ac_objext conftest.$ac_ext
19385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19386 echo "${ECHO_T}$ac_header_compiler" >&6
19387
19388 # Is the header present?
19389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19391 cat >conftest.$ac_ext <<_ACEOF
19392 #line $LINENO "configure"
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <$ac_header>
19399 _ACEOF
19400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19402 ac_status=$?
19403 grep -v '^ *+' conftest.er1 >conftest.err
19404 rm -f conftest.er1
19405 cat conftest.err >&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } >/dev/null; then
19408 if test -s conftest.err; then
19409 ac_cpp_err=$ac_c_preproc_warn_flag
19410 else
19411 ac_cpp_err=
19412 fi
19413 else
19414 ac_cpp_err=yes
19415 fi
19416 if test -z "$ac_cpp_err"; then
19417 ac_header_preproc=yes
19418 else
19419 echo "$as_me: failed program was:" >&5
19420 sed 's/^/| /' conftest.$ac_ext >&5
19421
19422 ac_header_preproc=no
19423 fi
19424 rm -f conftest.err conftest.$ac_ext
19425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19426 echo "${ECHO_T}$ac_header_preproc" >&6
19427
19428 # So? What about this header?
19429 case $ac_header_compiler:$ac_header_preproc in
19430 yes:no )
19431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19435 (
19436 cat <<\_ASBOX
19437 ## ------------------------------------ ##
19438 ## Report this to bug-autoconf@gnu.org. ##
19439 ## ------------------------------------ ##
19440 _ASBOX
19441 ) |
19442 sed "s/^/$as_me: WARNING: /" >&2
19443 ;;
19444 no:yes )
19445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19451 (
19452 cat <<\_ASBOX
19453 ## ------------------------------------ ##
19454 ## Report this to bug-autoconf@gnu.org. ##
19455 ## ------------------------------------ ##
19456 _ASBOX
19457 ) |
19458 sed "s/^/$as_me: WARNING: /" >&2
19459 ;;
19460 esac
19461 echo "$as_me:$LINENO: checking for $ac_header" >&5
19462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19464 echo $ECHO_N "(cached) $ECHO_C" >&6
19465 else
19466 eval "$as_ac_Header=$ac_header_preproc"
19467 fi
19468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19470
19471 fi
19472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19473 cat >>confdefs.h <<_ACEOF
19474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19475 _ACEOF
19476
19477 fi
19478
19479 done
19480
19481 if test "${ac_cv_header_windows_h+set}" = set; then
19482 echo "$as_me:$LINENO: checking for windows.h" >&5
19483 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19484 if test "${ac_cv_header_windows_h+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 fi
19487 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19488 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19489 else
19490 # Is the header compilable?
19491 echo "$as_me:$LINENO: checking windows.h usability" >&5
19492 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19493 cat >conftest.$ac_ext <<_ACEOF
19494 #line $LINENO "configure"
19495 /* confdefs.h. */
19496 _ACEOF
19497 cat confdefs.h >>conftest.$ac_ext
19498 cat >>conftest.$ac_ext <<_ACEOF
19499 /* end confdefs.h. */
19500 $ac_includes_default
19501 #include <windows.h>
19502 _ACEOF
19503 rm -f conftest.$ac_objext
19504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19505 (eval $ac_compile) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -s conftest.$ac_objext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_header_compiler=yes
19516 else
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.$ac_ext >&5
19519
19520 ac_header_compiler=no
19521 fi
19522 rm -f conftest.$ac_objext conftest.$ac_ext
19523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19524 echo "${ECHO_T}$ac_header_compiler" >&6
19525
19526 # Is the header present?
19527 echo "$as_me:$LINENO: checking windows.h presence" >&5
19528 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19529 cat >conftest.$ac_ext <<_ACEOF
19530 #line $LINENO "configure"
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #include <windows.h>
19537 _ACEOF
19538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } >/dev/null; then
19546 if test -s conftest.err; then
19547 ac_cpp_err=$ac_c_preproc_warn_flag
19548 else
19549 ac_cpp_err=
19550 fi
19551 else
19552 ac_cpp_err=yes
19553 fi
19554 if test -z "$ac_cpp_err"; then
19555 ac_header_preproc=yes
19556 else
19557 echo "$as_me: failed program was:" >&5
19558 sed 's/^/| /' conftest.$ac_ext >&5
19559
19560 ac_header_preproc=no
19561 fi
19562 rm -f conftest.err conftest.$ac_ext
19563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19564 echo "${ECHO_T}$ac_header_preproc" >&6
19565
19566 # So? What about this header?
19567 case $ac_header_compiler:$ac_header_preproc in
19568 yes:no )
19569 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19570 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19571 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19572 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19573 (
19574 cat <<\_ASBOX
19575 ## ------------------------------------ ##
19576 ## Report this to bug-autoconf@gnu.org. ##
19577 ## ------------------------------------ ##
19578 _ASBOX
19579 ) |
19580 sed "s/^/$as_me: WARNING: /" >&2
19581 ;;
19582 no:yes )
19583 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19584 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19585 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19586 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19587 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19588 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19589 (
19590 cat <<\_ASBOX
19591 ## ------------------------------------ ##
19592 ## Report this to bug-autoconf@gnu.org. ##
19593 ## ------------------------------------ ##
19594 _ASBOX
19595 ) |
19596 sed "s/^/$as_me: WARNING: /" >&2
19597 ;;
19598 esac
19599 echo "$as_me:$LINENO: checking for windows.h" >&5
19600 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19601 if test "${ac_cv_header_windows_h+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 ac_cv_header_windows_h=$ac_header_preproc
19605 fi
19606 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19607 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19608
19609 fi
19610 if test $ac_cv_header_windows_h = yes; then
19611 :
19612 else
19613
19614 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19615 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19616 { (exit 1); exit 1; }; }
19617
19618 fi
19619
19620
19621
19622 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19623
19624 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19625 LIBS="$LIBS -loleacc"
19626 fi
19627
19628 case "${host}" in
19629 *-*-cygwin* )
19630 LIBS="$LIBS -lkernel32 -luser32"
19631 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19632 esac
19633
19634 if test "$wxUSE_ODBC" = "sys" ; then
19635 wxUSE_ODBC = "yes"
19636 fi
19637 if test "$wxUSE_ODBC" = "yes" ; then
19638 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19639 cat >>confdefs.h <<\_ACEOF
19640 #define wxUSE_ODBC 1
19641 _ACEOF
19642
19643 fi
19644
19645 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19646 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19647
19648 WIN32INSTALL=win32install
19649 fi
19650
19651 if test "$wxUSE_GUI" = "yes"; then
19652 USE_GUI=1
19653
19654 GUI_TK_LIBRARY=
19655
19656 WXGTK12=
19657 WXGTK127=
19658 WXGTK20=
19659
19660 if test "$wxUSE_MSW" = 1 ; then
19661 TOOLKIT=MSW
19662 GUIDIST=MSW_DIST
19663
19664 case "${host}" in
19665 *-*-mingw32* )
19666 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19667 esac
19668 fi
19669
19670 if test "$wxUSE_GTK" = 1; then
19671 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19672 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19673
19674 gtk_version_cached=1
19675 if test "${wx_cv_lib_gtk+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 else
19678
19679 gtk_version_cached=0
19680 echo "$as_me:$LINENO: result: " >&5
19681 echo "${ECHO_T}" >&6
19682
19683 GTK_MODULES=
19684 if test "$wxUSE_THREADS" = "yes"; then
19685 GTK_MODULES=gthread
19686 fi
19687
19688 wx_cv_lib_gtk=
19689 if test "x$wxUSE_GTK2" = "xyes"; then
19690 # Check whether --enable-gtktest or --disable-gtktest was given.
19691 if test "${enable_gtktest+set}" = set; then
19692 enableval="$enable_gtktest"
19693
19694 else
19695 enable_gtktest=yes
19696 fi;
19697
19698 pkg_config_args=gtk+-2.0
19699 for module in . $GTK_MODULES
19700 do
19701 case "$module" in
19702 gthread)
19703 pkg_config_args="$pkg_config_args gthread-2.0"
19704 ;;
19705 esac
19706 done
19707
19708 no_gtk=""
19709
19710 # Extract the first word of "pkg-config", so it can be a program name with args.
19711 set dummy pkg-config; ac_word=$2
19712 echo "$as_me:$LINENO: checking for $ac_word" >&5
19713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19714 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19715 echo $ECHO_N "(cached) $ECHO_C" >&6
19716 else
19717 case $PKG_CONFIG in
19718 [\\/]* | ?:[\\/]*)
19719 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19720 ;;
19721 *)
19722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19723 for as_dir in $PATH
19724 do
19725 IFS=$as_save_IFS
19726 test -z "$as_dir" && as_dir=.
19727 for ac_exec_ext in '' $ac_executable_extensions; do
19728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19729 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19731 break 2
19732 fi
19733 done
19734 done
19735
19736 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19737 ;;
19738 esac
19739 fi
19740 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19741
19742 if test -n "$PKG_CONFIG"; then
19743 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19744 echo "${ECHO_T}$PKG_CONFIG" >&6
19745 else
19746 echo "$as_me:$LINENO: result: no" >&5
19747 echo "${ECHO_T}no" >&6
19748 fi
19749
19750
19751 if test x$PKG_CONFIG != xno ; then
19752 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19753 :
19754 else
19755 echo *** pkg-config too old; version 0.7 or better required.
19756 no_gtk=yes
19757 PKG_CONFIG=no
19758 fi
19759 else
19760 no_gtk=yes
19761 fi
19762
19763 min_gtk_version=2.0.0
19764 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19765 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19766
19767 if test x$PKG_CONFIG != xno ; then
19768 ## don't try to run the test against uninstalled libtool libs
19769 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19770 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19771 enable_gtktest=no
19772 fi
19773
19774 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19775 :
19776 else
19777 no_gtk=yes
19778 fi
19779 fi
19780
19781 if test x"$no_gtk" = x ; then
19782 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19783 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19784 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19785 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19786 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19788 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19790 if test "x$enable_gtktest" = "xyes" ; then
19791 ac_save_CFLAGS="$CFLAGS"
19792 ac_save_LIBS="$LIBS"
19793 CFLAGS="$CFLAGS $GTK_CFLAGS"
19794 LIBS="$GTK_LIBS $LIBS"
19795 rm -f conf.gtktest
19796 if test "$cross_compiling" = yes; then
19797 echo $ac_n "cross compiling; assumed OK... $ac_c"
19798 else
19799 cat >conftest.$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19801 /* confdefs.h. */
19802 _ACEOF
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806
19807 #include <gtk/gtk.h>
19808 #include <stdio.h>
19809 #include <stdlib.h>
19810
19811 int
19812 main ()
19813 {
19814 int major, minor, micro;
19815 char *tmp_version;
19816
19817 system ("touch conf.gtktest");
19818
19819 /* HP/UX 9 (%@#!) writes to sscanf strings */
19820 tmp_version = g_strdup("$min_gtk_version");
19821 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19822 printf("%s, bad version string\n", "$min_gtk_version");
19823 exit(1);
19824 }
19825
19826 if ((gtk_major_version != $gtk_config_major_version) ||
19827 (gtk_minor_version != $gtk_config_minor_version) ||
19828 (gtk_micro_version != $gtk_config_micro_version))
19829 {
19830 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19831 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19832 gtk_major_version, gtk_minor_version, gtk_micro_version);
19833 printf ("*** was found! If pkg-config was correct, then it is best\n");
19834 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19835 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19836 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19837 printf("*** required on your system.\n");
19838 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19839 printf("*** to point to the correct configuration files\n");
19840 }
19841 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19842 (gtk_minor_version != GTK_MINOR_VERSION) ||
19843 (gtk_micro_version != GTK_MICRO_VERSION))
19844 {
19845 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19846 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19847 printf("*** library (version %d.%d.%d)\n",
19848 gtk_major_version, gtk_minor_version, gtk_micro_version);
19849 }
19850 else
19851 {
19852 if ((gtk_major_version > major) ||
19853 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19854 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19855 {
19856 return 0;
19857 }
19858 else
19859 {
19860 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19861 gtk_major_version, gtk_minor_version, gtk_micro_version);
19862 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19863 major, minor, micro);
19864 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19865 printf("***\n");
19866 printf("*** If you have already installed a sufficiently new version, this error\n");
19867 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19868 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19869 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19870 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19871 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19872 printf("*** so that the correct libraries are found at run-time))\n");
19873 }
19874 }
19875 return 1;
19876 }
19877
19878 _ACEOF
19879 rm -f conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19886 (eval $ac_try) 2>&5
19887 ac_status=$?
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 (exit $ac_status); }; }; then
19890 :
19891 else
19892 echo "$as_me: program exited with status $ac_status" >&5
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19895
19896 ( exit $ac_status )
19897 no_gtk=yes
19898 fi
19899 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19900 fi
19901 CFLAGS="$ac_save_CFLAGS"
19902 LIBS="$ac_save_LIBS"
19903 fi
19904 fi
19905 if test "x$no_gtk" = x ; then
19906 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19907 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19908 wx_cv_lib_gtk=2.0
19909 else
19910 echo "$as_me:$LINENO: result: no" >&5
19911 echo "${ECHO_T}no" >&6
19912 if test "$PKG_CONFIG" = "no" ; then
19913 echo "*** A new enough version of pkg-config was not found."
19914 echo "*** See http://pkgconfig.sourceforge.net"
19915 else
19916 if test -f conf.gtktest ; then
19917 :
19918 else
19919 echo "*** Could not run GTK+ test program, checking why..."
19920 ac_save_CFLAGS="$CFLAGS"
19921 ac_save_LIBS="$LIBS"
19922 CFLAGS="$CFLAGS $GTK_CFLAGS"
19923 LIBS="$LIBS $GTK_LIBS"
19924 cat >conftest.$ac_ext <<_ACEOF
19925 #line $LINENO "configure"
19926 /* confdefs.h. */
19927 _ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931
19932 #include <gtk/gtk.h>
19933 #include <stdio.h>
19934
19935 int
19936 main ()
19937 {
19938 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19939 ;
19940 return 0;
19941 }
19942 _ACEOF
19943 rm -f conftest.$ac_objext conftest$ac_exeext
19944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19945 (eval $ac_link) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } &&
19949 { ac_try='test -s conftest$ac_exeext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 echo "*** The test program compiled, but did not run. This usually means"
19956 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
19957 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
19958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
19959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
19960 echo "*** is required on your system"
19961 echo "***"
19962 echo "*** If you have an old version installed, it is best to remove it, although"
19963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
19964 else
19965 echo "$as_me: failed program was:" >&5
19966 sed 's/^/| /' conftest.$ac_ext >&5
19967
19968 echo "*** The test program failed to compile or link. See the file config.log for the"
19969 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
19970 fi
19971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19972 CFLAGS="$ac_save_CFLAGS"
19973 LIBS="$ac_save_LIBS"
19974 fi
19975 fi
19976 GTK_CFLAGS=""
19977 GTK_LIBS=""
19978 :
19979 fi
19980
19981
19982 rm -f conf.gtktest
19983
19984 else
19985
19986 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
19987 if test "${with_gtk_prefix+set}" = set; then
19988 withval="$with_gtk_prefix"
19989 gtk_config_prefix="$withval"
19990 else
19991 gtk_config_prefix=""
19992 fi;
19993
19994 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
19995 if test "${with_gtk_exec_prefix+set}" = set; then
19996 withval="$with_gtk_exec_prefix"
19997 gtk_config_exec_prefix="$withval"
19998 else
19999 gtk_config_exec_prefix=""
20000 fi;
20001 # Check whether --enable-gtktest or --disable-gtktest was given.
20002 if test "${enable_gtktest+set}" = set; then
20003 enableval="$enable_gtktest"
20004
20005 else
20006 enable_gtktest=yes
20007 fi;
20008
20009 for module in . $GTK_MODULES
20010 do
20011 case "$module" in
20012 gthread)
20013 gtk_config_args="$gtk_config_args gthread"
20014 ;;
20015 esac
20016 done
20017
20018 if test x$gtk_config_exec_prefix != x ; then
20019 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20020 if test x${GTK_CONFIG+set} != xset ; then
20021 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20022 fi
20023 fi
20024 if test x$gtk_config_prefix != x ; then
20025 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20026 if test x${GTK_CONFIG+set} != xset ; then
20027 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20028 fi
20029 fi
20030
20031 # Extract the first word of "gtk-config", so it can be a program name with args.
20032 set dummy gtk-config; ac_word=$2
20033 echo "$as_me:$LINENO: checking for $ac_word" >&5
20034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20035 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038 case $GTK_CONFIG in
20039 [\\/]* | ?:[\\/]*)
20040 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20041 ;;
20042 *)
20043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20044 for as_dir in $PATH
20045 do
20046 IFS=$as_save_IFS
20047 test -z "$as_dir" && as_dir=.
20048 for ac_exec_ext in '' $ac_executable_extensions; do
20049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20050 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20052 break 2
20053 fi
20054 done
20055 done
20056
20057 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20058 ;;
20059 esac
20060 fi
20061 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20062
20063 if test -n "$GTK_CONFIG"; then
20064 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20065 echo "${ECHO_T}$GTK_CONFIG" >&6
20066 else
20067 echo "$as_me:$LINENO: result: no" >&5
20068 echo "${ECHO_T}no" >&6
20069 fi
20070
20071 min_gtk_version=1.2.7
20072 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20073 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20074 no_gtk=""
20075 if test "$GTK_CONFIG" = "no" ; then
20076 no_gtk=yes
20077 else
20078 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20079 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20080 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20082 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20083 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20084 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20085 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20086 if test "x$enable_gtktest" = "xyes" ; then
20087 ac_save_CFLAGS="$CFLAGS"
20088 ac_save_LIBS="$LIBS"
20089 CFLAGS="$CFLAGS $GTK_CFLAGS"
20090 LIBS="$GTK_LIBS $LIBS"
20091 rm -f conf.gtktest
20092 if test "$cross_compiling" = yes; then
20093 echo $ac_n "cross compiling; assumed OK... $ac_c"
20094 else
20095 cat >conftest.$ac_ext <<_ACEOF
20096 #line $LINENO "configure"
20097 /* confdefs.h. */
20098 _ACEOF
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102
20103 #include <gtk/gtk.h>
20104 #include <stdio.h>
20105 #include <stdlib.h>
20106
20107 int
20108 main ()
20109 {
20110 int major, minor, micro;
20111 char *tmp_version;
20112
20113 system ("touch conf.gtktest");
20114
20115 /* HP/UX 9 (%@#!) writes to sscanf strings */
20116 tmp_version = g_strdup("$min_gtk_version");
20117 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20118 printf("%s, bad version string\n", "$min_gtk_version");
20119 exit(1);
20120 }
20121
20122 if ((gtk_major_version != $gtk_config_major_version) ||
20123 (gtk_minor_version != $gtk_config_minor_version) ||
20124 (gtk_micro_version != $gtk_config_micro_version))
20125 {
20126 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20127 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20128 gtk_major_version, gtk_minor_version, gtk_micro_version);
20129 printf ("*** was found! If gtk-config was correct, then it is best\n");
20130 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20131 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20132 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20133 printf("*** required on your system.\n");
20134 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20135 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20136 printf("*** before re-running configure\n");
20137 }
20138 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20139 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20140 (gtk_minor_version != GTK_MINOR_VERSION) ||
20141 (gtk_micro_version != GTK_MICRO_VERSION))
20142 {
20143 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20144 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20145 printf("*** library (version %d.%d.%d)\n",
20146 gtk_major_version, gtk_minor_version, gtk_micro_version);
20147 }
20148 #endif /* defined (GTK_MAJOR_VERSION) ... */
20149 else
20150 {
20151 if ((gtk_major_version > major) ||
20152 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20153 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20154 {
20155 return 0;
20156 }
20157 else
20158 {
20159 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20160 gtk_major_version, gtk_minor_version, gtk_micro_version);
20161 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20162 major, minor, micro);
20163 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20164 printf("***\n");
20165 printf("*** If you have already installed a sufficiently new version, this error\n");
20166 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20167 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20168 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20169 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20170 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20171 printf("*** so that the correct libraries are found at run-time))\n");
20172 }
20173 }
20174 return 1;
20175 }
20176
20177 _ACEOF
20178 rm -f conftest$ac_exeext
20179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20180 (eval $ac_link) 2>&5
20181 ac_status=$?
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 :
20190 else
20191 echo "$as_me: program exited with status $ac_status" >&5
20192 echo "$as_me: failed program was:" >&5
20193 sed 's/^/| /' conftest.$ac_ext >&5
20194
20195 ( exit $ac_status )
20196 no_gtk=yes
20197 fi
20198 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20199 fi
20200 CFLAGS="$ac_save_CFLAGS"
20201 LIBS="$ac_save_LIBS"
20202 fi
20203 fi
20204 if test "x$no_gtk" = x ; then
20205 echo "$as_me:$LINENO: result: yes" >&5
20206 echo "${ECHO_T}yes" >&6
20207 wx_cv_lib_gtk=1.2.7
20208 else
20209 echo "$as_me:$LINENO: result: no" >&5
20210 echo "${ECHO_T}no" >&6
20211 if test "$GTK_CONFIG" = "no" ; then
20212 echo "*** The gtk-config script installed by GTK could not be found"
20213 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20214 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20215 echo "*** full path to gtk-config."
20216 else
20217 if test -f conf.gtktest ; then
20218 :
20219 else
20220 echo "*** Could not run GTK test program, checking why..."
20221 CFLAGS="$CFLAGS $GTK_CFLAGS"
20222 LIBS="$LIBS $GTK_LIBS"
20223 cat >conftest.$ac_ext <<_ACEOF
20224 #line $LINENO "configure"
20225 /* confdefs.h. */
20226 _ACEOF
20227 cat confdefs.h >>conftest.$ac_ext
20228 cat >>conftest.$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230
20231 #include <gtk/gtk.h>
20232 #include <stdio.h>
20233
20234 int
20235 main ()
20236 {
20237 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20238 ;
20239 return 0;
20240 }
20241 _ACEOF
20242 rm -f conftest.$ac_objext conftest$ac_exeext
20243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20244 (eval $ac_link) 2>&5
20245 ac_status=$?
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); } &&
20248 { ac_try='test -s conftest$ac_exeext'
20249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20250 (eval $ac_try) 2>&5
20251 ac_status=$?
20252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); }; }; then
20254 echo "*** The test program compiled, but did not run. This usually means"
20255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20259 echo "*** is required on your system"
20260 echo "***"
20261 echo "*** If you have an old version installed, it is best to remove it, although"
20262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20263 echo "***"
20264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20265 echo "*** came with the system with the command"
20266 echo "***"
20267 echo "*** rpm --erase --nodeps gtk gtk-devel"
20268 else
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20271
20272 echo "*** The test program failed to compile or link. See the file config.log for the"
20273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20275 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20276 fi
20277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20278 CFLAGS="$ac_save_CFLAGS"
20279 LIBS="$ac_save_LIBS"
20280 fi
20281 fi
20282 GTK_CFLAGS=""
20283 GTK_LIBS=""
20284 :
20285 fi
20286
20287
20288 rm -f conf.gtktest
20289
20290
20291 if test -z "$wx_cv_lib_gtk"; then
20292
20293 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20294 if test "${with_gtk_prefix+set}" = set; then
20295 withval="$with_gtk_prefix"
20296 gtk_config_prefix="$withval"
20297 else
20298 gtk_config_prefix=""
20299 fi;
20300
20301 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20302 if test "${with_gtk_exec_prefix+set}" = set; then
20303 withval="$with_gtk_exec_prefix"
20304 gtk_config_exec_prefix="$withval"
20305 else
20306 gtk_config_exec_prefix=""
20307 fi;
20308 # Check whether --enable-gtktest or --disable-gtktest was given.
20309 if test "${enable_gtktest+set}" = set; then
20310 enableval="$enable_gtktest"
20311
20312 else
20313 enable_gtktest=yes
20314 fi;
20315
20316 for module in . $GTK_MODULES
20317 do
20318 case "$module" in
20319 gthread)
20320 gtk_config_args="$gtk_config_args gthread"
20321 ;;
20322 esac
20323 done
20324
20325 if test x$gtk_config_exec_prefix != x ; then
20326 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20327 if test x${GTK_CONFIG+set} != xset ; then
20328 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20329 fi
20330 fi
20331 if test x$gtk_config_prefix != x ; then
20332 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20333 if test x${GTK_CONFIG+set} != xset ; then
20334 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20335 fi
20336 fi
20337
20338 # Extract the first word of "gtk-config", so it can be a program name with args.
20339 set dummy gtk-config; ac_word=$2
20340 echo "$as_me:$LINENO: checking for $ac_word" >&5
20341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20342 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345 case $GTK_CONFIG in
20346 [\\/]* | ?:[\\/]*)
20347 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20348 ;;
20349 *)
20350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20351 for as_dir in $PATH
20352 do
20353 IFS=$as_save_IFS
20354 test -z "$as_dir" && as_dir=.
20355 for ac_exec_ext in '' $ac_executable_extensions; do
20356 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20357 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20359 break 2
20360 fi
20361 done
20362 done
20363
20364 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20365 ;;
20366 esac
20367 fi
20368 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20369
20370 if test -n "$GTK_CONFIG"; then
20371 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20372 echo "${ECHO_T}$GTK_CONFIG" >&6
20373 else
20374 echo "$as_me:$LINENO: result: no" >&5
20375 echo "${ECHO_T}no" >&6
20376 fi
20377
20378 min_gtk_version=1.2.3
20379 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20380 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20381 no_gtk=""
20382 if test "$GTK_CONFIG" = "no" ; then
20383 no_gtk=yes
20384 else
20385 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20386 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20387 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20389 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20391 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20393 if test "x$enable_gtktest" = "xyes" ; then
20394 ac_save_CFLAGS="$CFLAGS"
20395 ac_save_LIBS="$LIBS"
20396 CFLAGS="$CFLAGS $GTK_CFLAGS"
20397 LIBS="$GTK_LIBS $LIBS"
20398 rm -f conf.gtktest
20399 if test "$cross_compiling" = yes; then
20400 echo $ac_n "cross compiling; assumed OK... $ac_c"
20401 else
20402 cat >conftest.$ac_ext <<_ACEOF
20403 #line $LINENO "configure"
20404 /* confdefs.h. */
20405 _ACEOF
20406 cat confdefs.h >>conftest.$ac_ext
20407 cat >>conftest.$ac_ext <<_ACEOF
20408 /* end confdefs.h. */
20409
20410 #include <gtk/gtk.h>
20411 #include <stdio.h>
20412 #include <stdlib.h>
20413
20414 int
20415 main ()
20416 {
20417 int major, minor, micro;
20418 char *tmp_version;
20419
20420 system ("touch conf.gtktest");
20421
20422 /* HP/UX 9 (%@#!) writes to sscanf strings */
20423 tmp_version = g_strdup("$min_gtk_version");
20424 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20425 printf("%s, bad version string\n", "$min_gtk_version");
20426 exit(1);
20427 }
20428
20429 if ((gtk_major_version != $gtk_config_major_version) ||
20430 (gtk_minor_version != $gtk_config_minor_version) ||
20431 (gtk_micro_version != $gtk_config_micro_version))
20432 {
20433 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20434 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20435 gtk_major_version, gtk_minor_version, gtk_micro_version);
20436 printf ("*** was found! If gtk-config was correct, then it is best\n");
20437 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20438 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20439 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20440 printf("*** required on your system.\n");
20441 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20442 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20443 printf("*** before re-running configure\n");
20444 }
20445 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20446 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20447 (gtk_minor_version != GTK_MINOR_VERSION) ||
20448 (gtk_micro_version != GTK_MICRO_VERSION))
20449 {
20450 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20451 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20452 printf("*** library (version %d.%d.%d)\n",
20453 gtk_major_version, gtk_minor_version, gtk_micro_version);
20454 }
20455 #endif /* defined (GTK_MAJOR_VERSION) ... */
20456 else
20457 {
20458 if ((gtk_major_version > major) ||
20459 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20460 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20461 {
20462 return 0;
20463 }
20464 else
20465 {
20466 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20467 gtk_major_version, gtk_minor_version, gtk_micro_version);
20468 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20469 major, minor, micro);
20470 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20471 printf("***\n");
20472 printf("*** If you have already installed a sufficiently new version, this error\n");
20473 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20474 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20475 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20476 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20477 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20478 printf("*** so that the correct libraries are found at run-time))\n");
20479 }
20480 }
20481 return 1;
20482 }
20483
20484 _ACEOF
20485 rm -f conftest$ac_exeext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487 (eval $ac_link) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 :
20497 else
20498 echo "$as_me: program exited with status $ac_status" >&5
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ( exit $ac_status )
20503 no_gtk=yes
20504 fi
20505 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20506 fi
20507 CFLAGS="$ac_save_CFLAGS"
20508 LIBS="$ac_save_LIBS"
20509 fi
20510 fi
20511 if test "x$no_gtk" = x ; then
20512 echo "$as_me:$LINENO: result: yes" >&5
20513 echo "${ECHO_T}yes" >&6
20514 wx_cv_lib_gtk=1.2.3
20515 else
20516 echo "$as_me:$LINENO: result: no" >&5
20517 echo "${ECHO_T}no" >&6
20518 if test "$GTK_CONFIG" = "no" ; then
20519 echo "*** The gtk-config script installed by GTK could not be found"
20520 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20521 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20522 echo "*** full path to gtk-config."
20523 else
20524 if test -f conf.gtktest ; then
20525 :
20526 else
20527 echo "*** Could not run GTK test program, checking why..."
20528 CFLAGS="$CFLAGS $GTK_CFLAGS"
20529 LIBS="$LIBS $GTK_LIBS"
20530 cat >conftest.$ac_ext <<_ACEOF
20531 #line $LINENO "configure"
20532 /* confdefs.h. */
20533 _ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537
20538 #include <gtk/gtk.h>
20539 #include <stdio.h>
20540
20541 int
20542 main ()
20543 {
20544 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20545 ;
20546 return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest.$ac_objext conftest$ac_exeext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20551 (eval $ac_link) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -s conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 echo "*** The test program compiled, but did not run. This usually means"
20562 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20563 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20564 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20565 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20566 echo "*** is required on your system"
20567 echo "***"
20568 echo "*** If you have an old version installed, it is best to remove it, although"
20569 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20570 echo "***"
20571 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20572 echo "*** came with the system with the command"
20573 echo "***"
20574 echo "*** rpm --erase --nodeps gtk gtk-devel"
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 echo "*** The test program failed to compile or link. See the file config.log for the"
20580 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20581 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20582 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20583 fi
20584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20585 CFLAGS="$ac_save_CFLAGS"
20586 LIBS="$ac_save_LIBS"
20587 fi
20588 fi
20589 GTK_CFLAGS=""
20590 GTK_LIBS=""
20591 :
20592 fi
20593
20594
20595 rm -f conf.gtktest
20596
20597 fi
20598 fi
20599
20600 if test -z "$wx_cv_lib_gtk"; then
20601 wx_cv_lib_gtk=none
20602 else
20603 wx_cv_cflags_gtk=$GTK_CFLAGS
20604 wx_cv_libs_gtk=$GTK_LIBS
20605 fi
20606
20607
20608 fi
20609
20610
20611 if test "$gtk_version_cached" = 1; then
20612 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20613 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20614 fi
20615
20616 case "$wx_cv_lib_gtk" in
20617 2.0) WXGTK20=1
20618 TOOLKIT_VERSION=2
20619 ;;
20620 1.2.7) WXGTK127=1
20621 WXGTK12=1
20622 ;;
20623 1.2.3) WXGTK12=1
20624 ;;
20625 *) { { echo "$as_me:$LINENO: error:
20626 Please check that gtk-config is in path, the directory
20627 where GTK+ libraries are installed (returned by
20628 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20629 equivalent variable and GTK+ is version 1.2.3 or above.
20630 " >&5
20631 echo "$as_me: error:
20632 Please check that gtk-config is in path, the directory
20633 where GTK+ libraries are installed (returned by
20634 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20635 equivalent variable and GTK+ is version 1.2.3 or above.
20636 " >&2;}
20637 { (exit 1); exit 1; }; }
20638 ;;
20639 esac
20640
20641 if test "$WXGTK20" = 1; then
20642 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20643
20644 succeeded=no
20645
20646 if test -z "$PKG_CONFIG"; then
20647 # Extract the first word of "pkg-config", so it can be a program name with args.
20648 set dummy pkg-config; ac_word=$2
20649 echo "$as_me:$LINENO: checking for $ac_word" >&5
20650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20652 echo $ECHO_N "(cached) $ECHO_C" >&6
20653 else
20654 case $PKG_CONFIG in
20655 [\\/]* | ?:[\\/]*)
20656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20657 ;;
20658 *)
20659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20660 for as_dir in $PATH
20661 do
20662 IFS=$as_save_IFS
20663 test -z "$as_dir" && as_dir=.
20664 for ac_exec_ext in '' $ac_executable_extensions; do
20665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20668 break 2
20669 fi
20670 done
20671 done
20672
20673 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20674 ;;
20675 esac
20676 fi
20677 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20678
20679 if test -n "$PKG_CONFIG"; then
20680 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20681 echo "${ECHO_T}$PKG_CONFIG" >&6
20682 else
20683 echo "$as_me:$LINENO: result: no" >&5
20684 echo "${ECHO_T}no" >&6
20685 fi
20686
20687 fi
20688
20689 if test "$PKG_CONFIG" = "no" ; then
20690 echo "*** The pkg-config script could not be found. Make sure it is"
20691 echo "*** in your path, or set the PKG_CONFIG environment variable"
20692 echo "*** to the full path to pkg-config."
20693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20694 else
20695 PKG_CONFIG_MIN_VERSION=0.9.0
20696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20697 echo "$as_me:$LINENO: checking for pangoft2" >&5
20698 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20699
20700 if $PKG_CONFIG --exists "pangoft2" ; then
20701 echo "$as_me:$LINENO: result: yes" >&5
20702 echo "${ECHO_T}yes" >&6
20703 succeeded=yes
20704
20705 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20706 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20707 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20708 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20709 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20710
20711 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20712 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20713 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20714 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20715 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20716 else
20717 PANGOFT2_CFLAGS=""
20718 PANGOFT2_LIBS=""
20719 ## If we have a custom action on failure, don't print errors, but
20720 ## do set a variable so people can do so.
20721 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20722
20723 fi
20724
20725
20726
20727 else
20728 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20729 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20730 fi
20731 fi
20732
20733 if test $succeeded = yes; then
20734
20735 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20736 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20737
20738 else
20739
20740 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20741 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20742 wxUSE_PRINTING_ARCHITECTURE="no"
20743
20744
20745 fi
20746
20747 fi
20748 else
20749 if test "$wxUSE_UNICODE" = "yes"; then
20750 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20751 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20752 wxUSE_UNICODE=no
20753 fi
20754 fi
20755
20756 if test "$USE_DARWIN" != 1; then
20757
20758 for ac_func in poll
20759 do
20760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20761 echo "$as_me:$LINENO: checking for $ac_func" >&5
20762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20763 if eval "test \"\${$as_ac_var+set}\" = set"; then
20764 echo $ECHO_N "(cached) $ECHO_C" >&6
20765 else
20766 cat >conftest.$ac_ext <<_ACEOF
20767 #line $LINENO "configure"
20768 /* confdefs.h. */
20769 _ACEOF
20770 cat confdefs.h >>conftest.$ac_ext
20771 cat >>conftest.$ac_ext <<_ACEOF
20772 /* end confdefs.h. */
20773 /* System header to define __stub macros and hopefully few prototypes,
20774 which can conflict with char $ac_func (); below.
20775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20776 <limits.h> exists even on freestanding compilers. */
20777 #ifdef __STDC__
20778 # include <limits.h>
20779 #else
20780 # include <assert.h>
20781 #endif
20782 /* Override any gcc2 internal prototype to avoid an error. */
20783 #ifdef __cplusplus
20784 extern "C"
20785 {
20786 #endif
20787 /* We use char because int might match the return type of a gcc2
20788 builtin and then its argument prototype would still apply. */
20789 char $ac_func ();
20790 /* The GNU C library defines this for functions which it implements
20791 to always fail with ENOSYS. Some functions are actually named
20792 something starting with __ and the normal name is an alias. */
20793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20794 choke me
20795 #else
20796 char (*f) () = $ac_func;
20797 #endif
20798 #ifdef __cplusplus
20799 }
20800 #endif
20801
20802 int
20803 main ()
20804 {
20805 return f != $ac_func;
20806 ;
20807 return 0;
20808 }
20809 _ACEOF
20810 rm -f conftest.$ac_objext conftest$ac_exeext
20811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20812 (eval $ac_link) 2>&5
20813 ac_status=$?
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -s conftest$ac_exeext'
20817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20818 (eval $ac_try) 2>&5
20819 ac_status=$?
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); }; }; then
20822 eval "$as_ac_var=yes"
20823 else
20824 echo "$as_me: failed program was:" >&5
20825 sed 's/^/| /' conftest.$ac_ext >&5
20826
20827 eval "$as_ac_var=no"
20828 fi
20829 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20830 fi
20831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20833 if test `eval echo '${'$as_ac_var'}'` = yes; then
20834 cat >>confdefs.h <<_ACEOF
20835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20836 _ACEOF
20837
20838 fi
20839 done
20840
20841 fi
20842
20843 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20844 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20845
20846 AFMINSTALL=afminstall
20847 TOOLKIT=GTK
20848 GUIDIST=GTK_DIST
20849
20850 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20851 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20852 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20854 else
20855 ac_check_lib_save_LIBS=$LIBS
20856 LIBS="-lgdk $LIBS"
20857 cat >conftest.$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20859 /* confdefs.h. */
20860 _ACEOF
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864
20865 /* Override any gcc2 internal prototype to avoid an error. */
20866 #ifdef __cplusplus
20867 extern "C"
20868 #endif
20869 /* We use char because int might match the return type of a gcc2
20870 builtin and then its argument prototype would still apply. */
20871 char gdk_im_open ();
20872 int
20873 main ()
20874 {
20875 gdk_im_open ();
20876 ;
20877 return 0;
20878 }
20879 _ACEOF
20880 rm -f conftest.$ac_objext conftest$ac_exeext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20882 (eval $ac_link) 2>&5
20883 ac_status=$?
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -s conftest$ac_exeext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_cv_lib_gdk_gdk_im_open=yes
20893 else
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20896
20897 ac_cv_lib_gdk_gdk_im_open=no
20898 fi
20899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20900 LIBS=$ac_check_lib_save_LIBS
20901 fi
20902 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20903 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20904 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20905 cat >>confdefs.h <<\_ACEOF
20906 #define HAVE_XIM 1
20907 _ACEOF
20908
20909 fi
20910
20911 fi
20912
20913 if test "$wxUSE_MGL" = 1; then
20914 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20915 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20916 if test "x$MGL_ROOT" = x ; then
20917 echo "$as_me:$LINENO: result: not found" >&5
20918 echo "${ECHO_T}not found" >&6
20919 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20920 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20921 { (exit 1); exit 1; }; }
20922 else
20923 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20924 echo "${ECHO_T}$MGL_ROOT" >&6
20925 fi
20926
20927 echo "$as_me:$LINENO: checking for libmgl location" >&5
20928 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20929 case "${host}" in
20930 *-*-linux* )
20931 if test "x$wxUSE_SHARED" = xyes ; then
20932 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20933 else
20934 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20935 fi
20936 ;;
20937 *-pc-msdosdjgpp )
20938 mgl_os_candidates="dos32/dj2"
20939 ;;
20940 *)
20941 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20942 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20943 { (exit 1); exit 1; }; }
20944 esac
20945
20946 mgl_lib_type=""
20947 mgl_os=""
20948
20949 for mgl_os_i in $mgl_os_candidates ; do
20950 if test "x$mgl_os" = x ; then
20951 if test "$wxUSE_DEBUG_FLAG" = yes ; then
20952 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
20953 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
20954 mgl_lib_type=debug
20955 mgl_os=$mgl_os_i
20956 fi
20957 fi
20958 if test "x$mgl_lib_type" = x ; then
20959 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
20960 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
20961 mgl_lib_type=release
20962 mgl_os=$mgl_os_i
20963 fi
20964 fi
20965 fi
20966 done
20967
20968 if test "x$mgl_os" = x ; then
20969 echo "$as_me:$LINENO: result: not found" >&5
20970 echo "${ECHO_T}not found" >&6
20971 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
20972 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
20973 { (exit 1); exit 1; }; }
20974 fi
20975 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
20976 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
20977
20978 wxUSE_UNIVERSAL="yes"
20979
20980 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
20981 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
20982
20983 AFMINSTALL=afminstall
20984 TOOLKIT=MGL
20985 GUIDIST=MGL_DIST
20986 fi
20987
20988 if test "$wxUSE_MICROWIN" = 1; then
20989 echo "$as_me:$LINENO: checking for MicroWindows" >&5
20990 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
20991 if test "x$MICROWINDOWS" = x ; then
20992 echo "$as_me:$LINENO: result: not found" >&5
20993 echo "${ECHO_T}not found" >&6
20994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
20995 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
20996 { (exit 1); exit 1; }; }
20997 else
20998 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
20999 echo "${ECHO_T}$MICROWINDOWS" >&6
21000 fi
21001
21002 if test -f $MICROWINDOWS/lib/libmwin.a; then
21003 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21004 echo "${ECHO_T}MicroWindows' libraries found." >&6
21005 else
21006 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21007 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21008 { (exit 1); exit 1; }; }
21009 fi
21010
21011 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21012 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21013
21014 wxUSE_UNIVERSAL="yes"
21015
21016 AFMINSTALL=afminstall
21017 TOOLKIT=MICROWIN
21018 GUIDIST=MICROWIN_DIST
21019
21020 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21021 fi
21022
21023 if test "$wxUSE_X11" = 1; then
21024 echo "$as_me:$LINENO: checking for X" >&5
21025 echo $ECHO_N "checking for X... $ECHO_C" >&6
21026
21027
21028 # Check whether --with-x or --without-x was given.
21029 if test "${with_x+set}" = set; then
21030 withval="$with_x"
21031
21032 fi;
21033 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21034 if test "x$with_x" = xno; then
21035 # The user explicitly disabled X.
21036 have_x=disabled
21037 else
21038 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21039 # Both variables are already set.
21040 have_x=yes
21041 else
21042 if test "${ac_cv_have_x+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21044 else
21045 # One or both of the vars are not set, and there is no cached value.
21046 ac_x_includes=no ac_x_libraries=no
21047 rm -fr conftest.dir
21048 if mkdir conftest.dir; then
21049 cd conftest.dir
21050 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21051 cat >Imakefile <<'_ACEOF'
21052 acfindx:
21053 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21054 _ACEOF
21055 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21056 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21057 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21058 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21059 for ac_extension in a so sl; do
21060 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21061 test -f $ac_im_libdir/libX11.$ac_extension; then
21062 ac_im_usrlibdir=$ac_im_libdir; break
21063 fi
21064 done
21065 # Screen out bogus values from the imake configuration. They are
21066 # bogus both because they are the default anyway, and because
21067 # using them would break gcc on systems where it needs fixed includes.
21068 case $ac_im_incroot in
21069 /usr/include) ;;
21070 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21071 esac
21072 case $ac_im_usrlibdir in
21073 /usr/lib | /lib) ;;
21074 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21075 esac
21076 fi
21077 cd ..
21078 rm -fr conftest.dir
21079 fi
21080
21081 # Standard set of common directories for X headers.
21082 # Check X11 before X11Rn because it is often a symlink to the current release.
21083 ac_x_header_dirs='
21084 /usr/X11/include
21085 /usr/X11R6/include
21086 /usr/X11R5/include
21087 /usr/X11R4/include
21088
21089 /usr/include/X11
21090 /usr/include/X11R6
21091 /usr/include/X11R5
21092 /usr/include/X11R4
21093
21094 /usr/local/X11/include
21095 /usr/local/X11R6/include
21096 /usr/local/X11R5/include
21097 /usr/local/X11R4/include
21098
21099 /usr/local/include/X11
21100 /usr/local/include/X11R6
21101 /usr/local/include/X11R5
21102 /usr/local/include/X11R4
21103
21104 /usr/X386/include
21105 /usr/x386/include
21106 /usr/XFree86/include/X11
21107
21108 /usr/include
21109 /usr/local/include
21110 /usr/unsupported/include
21111 /usr/athena/include
21112 /usr/local/x11r5/include
21113 /usr/lpp/Xamples/include
21114
21115 /usr/openwin/include
21116 /usr/openwin/share/include'
21117
21118 if test "$ac_x_includes" = no; then
21119 # Guess where to find include files, by looking for Intrinsic.h.
21120 # First, try using that file with no special directory specified.
21121 cat >conftest.$ac_ext <<_ACEOF
21122 #line $LINENO "configure"
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 #include <X11/Intrinsic.h>
21129 _ACEOF
21130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21132 ac_status=$?
21133 grep -v '^ *+' conftest.er1 >conftest.err
21134 rm -f conftest.er1
21135 cat conftest.err >&5
21136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21137 (exit $ac_status); } >/dev/null; then
21138 if test -s conftest.err; then
21139 ac_cpp_err=$ac_c_preproc_warn_flag
21140 else
21141 ac_cpp_err=
21142 fi
21143 else
21144 ac_cpp_err=yes
21145 fi
21146 if test -z "$ac_cpp_err"; then
21147 # We can compile using X headers with no special include directory.
21148 ac_x_includes=
21149 else
21150 echo "$as_me: failed program was:" >&5
21151 sed 's/^/| /' conftest.$ac_ext >&5
21152
21153 for ac_dir in $ac_x_header_dirs; do
21154 if test -r "$ac_dir/X11/Intrinsic.h"; then
21155 ac_x_includes=$ac_dir
21156 break
21157 fi
21158 done
21159 fi
21160 rm -f conftest.err conftest.$ac_ext
21161 fi # $ac_x_includes = no
21162
21163 if test "$ac_x_libraries" = no; then
21164 # Check for the libraries.
21165 # See if we find them without any special options.
21166 # Don't add to $LIBS permanently.
21167 ac_save_LIBS=$LIBS
21168 LIBS="-lXt $LIBS"
21169 cat >conftest.$ac_ext <<_ACEOF
21170 #line $LINENO "configure"
21171 /* confdefs.h. */
21172 _ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21176 #include <X11/Intrinsic.h>
21177 int
21178 main ()
21179 {
21180 XtMalloc (0)
21181 ;
21182 return 0;
21183 }
21184 _ACEOF
21185 rm -f conftest.$ac_objext conftest$ac_exeext
21186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21187 (eval $ac_link) 2>&5
21188 ac_status=$?
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -s conftest$ac_exeext'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21194 ac_status=$?
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; }; then
21197 LIBS=$ac_save_LIBS
21198 # We can link X programs with no special library path.
21199 ac_x_libraries=
21200 else
21201 echo "$as_me: failed program was:" >&5
21202 sed 's/^/| /' conftest.$ac_ext >&5
21203
21204 LIBS=$ac_save_LIBS
21205 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21206 do
21207 # Don't even attempt the hair of trying to link an X program!
21208 for ac_extension in a so sl; do
21209 if test -r $ac_dir/libXt.$ac_extension; then
21210 ac_x_libraries=$ac_dir
21211 break 2
21212 fi
21213 done
21214 done
21215 fi
21216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21217 fi # $ac_x_libraries = no
21218
21219 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21220 # Didn't find X anywhere. Cache the known absence of X.
21221 ac_cv_have_x="have_x=no"
21222 else
21223 # Record where we found X for the cache.
21224 ac_cv_have_x="have_x=yes \
21225 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21226 fi
21227 fi
21228
21229 fi
21230 eval "$ac_cv_have_x"
21231 fi # $with_x != no
21232
21233 if test "$have_x" != yes; then
21234 echo "$as_me:$LINENO: result: $have_x" >&5
21235 echo "${ECHO_T}$have_x" >&6
21236 no_x=yes
21237 else
21238 # If each of the values was on the command line, it overrides each guess.
21239 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21240 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21241 # Update the cache value to reflect the command line values.
21242 ac_cv_have_x="have_x=yes \
21243 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21244 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21245 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21246 fi
21247
21248 if test "$no_x" = yes; then
21249 # Not all programs may use this symbol, but it does not hurt to define it.
21250
21251 cat >>confdefs.h <<\_ACEOF
21252 #define X_DISPLAY_MISSING 1
21253 _ACEOF
21254
21255 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21256 else
21257 if test -n "$x_includes"; then
21258 X_CFLAGS="$X_CFLAGS -I$x_includes"
21259 fi
21260
21261 # It would also be nice to do this for all -L options, not just this one.
21262 if test -n "$x_libraries"; then
21263 X_LIBS="$X_LIBS -L$x_libraries"
21264 # For Solaris; some versions of Sun CC require a space after -R and
21265 # others require no space. Words are not sufficient . . . .
21266 case `(uname -sr) 2>/dev/null` in
21267 "SunOS 5"*)
21268 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21269 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21270 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21271 cat >conftest.$ac_ext <<_ACEOF
21272 #line $LINENO "configure"
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278
21279 int
21280 main ()
21281 {
21282
21283 ;
21284 return 0;
21285 }
21286 _ACEOF
21287 rm -f conftest.$ac_objext conftest$ac_exeext
21288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21289 (eval $ac_link) 2>&5
21290 ac_status=$?
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } &&
21293 { ac_try='test -s conftest$ac_exeext'
21294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21295 (eval $ac_try) 2>&5
21296 ac_status=$?
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); }; }; then
21299 ac_R_nospace=yes
21300 else
21301 echo "$as_me: failed program was:" >&5
21302 sed 's/^/| /' conftest.$ac_ext >&5
21303
21304 ac_R_nospace=no
21305 fi
21306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21307 if test $ac_R_nospace = yes; then
21308 echo "$as_me:$LINENO: result: no" >&5
21309 echo "${ECHO_T}no" >&6
21310 X_LIBS="$X_LIBS -R$x_libraries"
21311 else
21312 LIBS="$ac_xsave_LIBS -R $x_libraries"
21313 cat >conftest.$ac_ext <<_ACEOF
21314 #line $LINENO "configure"
21315 /* confdefs.h. */
21316 _ACEOF
21317 cat confdefs.h >>conftest.$ac_ext
21318 cat >>conftest.$ac_ext <<_ACEOF
21319 /* end confdefs.h. */
21320
21321 int
21322 main ()
21323 {
21324
21325 ;
21326 return 0;
21327 }
21328 _ACEOF
21329 rm -f conftest.$ac_objext conftest$ac_exeext
21330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21331 (eval $ac_link) 2>&5
21332 ac_status=$?
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -s conftest$ac_exeext'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; }; then
21341 ac_R_space=yes
21342 else
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.$ac_ext >&5
21345
21346 ac_R_space=no
21347 fi
21348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21349 if test $ac_R_space = yes; then
21350 echo "$as_me:$LINENO: result: yes" >&5
21351 echo "${ECHO_T}yes" >&6
21352 X_LIBS="$X_LIBS -R $x_libraries"
21353 else
21354 echo "$as_me:$LINENO: result: neither works" >&5
21355 echo "${ECHO_T}neither works" >&6
21356 fi
21357 fi
21358 LIBS=$ac_xsave_LIBS
21359 esac
21360 fi
21361
21362 # Check for system-dependent libraries X programs must link with.
21363 # Do this before checking for the system-independent R6 libraries
21364 # (-lICE), since we may need -lsocket or whatever for X linking.
21365
21366 if test "$ISC" = yes; then
21367 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21368 else
21369 # Martyn Johnson says this is needed for Ultrix, if the X
21370 # libraries were built with DECnet support. And Karl Berry says
21371 # the Alpha needs dnet_stub (dnet does not exist).
21372 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21373 cat >conftest.$ac_ext <<_ACEOF
21374 #line $LINENO "configure"
21375 /* confdefs.h. */
21376 _ACEOF
21377 cat confdefs.h >>conftest.$ac_ext
21378 cat >>conftest.$ac_ext <<_ACEOF
21379 /* end confdefs.h. */
21380
21381 /* Override any gcc2 internal prototype to avoid an error. */
21382 #ifdef __cplusplus
21383 extern "C"
21384 #endif
21385 /* We use char because int might match the return type of a gcc2
21386 builtin and then its argument prototype would still apply. */
21387 char XOpenDisplay ();
21388 int
21389 main ()
21390 {
21391 XOpenDisplay ();
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest.$ac_objext conftest$ac_exeext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21398 (eval $ac_link) 2>&5
21399 ac_status=$?
21400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21401 (exit $ac_status); } &&
21402 { ac_try='test -s conftest$ac_exeext'
21403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21404 (eval $ac_try) 2>&5
21405 ac_status=$?
21406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21407 (exit $ac_status); }; }; then
21408 :
21409 else
21410 echo "$as_me: failed program was:" >&5
21411 sed 's/^/| /' conftest.$ac_ext >&5
21412
21413 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21414 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21415 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21416 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 else
21418 ac_check_lib_save_LIBS=$LIBS
21419 LIBS="-ldnet $LIBS"
21420 cat >conftest.$ac_ext <<_ACEOF
21421 #line $LINENO "configure"
21422 /* confdefs.h. */
21423 _ACEOF
21424 cat confdefs.h >>conftest.$ac_ext
21425 cat >>conftest.$ac_ext <<_ACEOF
21426 /* end confdefs.h. */
21427
21428 /* Override any gcc2 internal prototype to avoid an error. */
21429 #ifdef __cplusplus
21430 extern "C"
21431 #endif
21432 /* We use char because int might match the return type of a gcc2
21433 builtin and then its argument prototype would still apply. */
21434 char dnet_ntoa ();
21435 int
21436 main ()
21437 {
21438 dnet_ntoa ();
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 rm -f conftest.$ac_objext conftest$ac_exeext
21444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21445 (eval $ac_link) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); } &&
21449 { ac_try='test -s conftest$ac_exeext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_lib_dnet_dnet_ntoa=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 ac_cv_lib_dnet_dnet_ntoa=no
21461 fi
21462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21463 LIBS=$ac_check_lib_save_LIBS
21464 fi
21465 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21466 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21467 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21468 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21469 fi
21470
21471 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21472 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21473 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21474 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21475 echo $ECHO_N "(cached) $ECHO_C" >&6
21476 else
21477 ac_check_lib_save_LIBS=$LIBS
21478 LIBS="-ldnet_stub $LIBS"
21479 cat >conftest.$ac_ext <<_ACEOF
21480 #line $LINENO "configure"
21481 /* confdefs.h. */
21482 _ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21486
21487 /* Override any gcc2 internal prototype to avoid an error. */
21488 #ifdef __cplusplus
21489 extern "C"
21490 #endif
21491 /* We use char because int might match the return type of a gcc2
21492 builtin and then its argument prototype would still apply. */
21493 char dnet_ntoa ();
21494 int
21495 main ()
21496 {
21497 dnet_ntoa ();
21498 ;
21499 return 0;
21500 }
21501 _ACEOF
21502 rm -f conftest.$ac_objext conftest$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -s conftest$ac_exeext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21515 else
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21518
21519 ac_cv_lib_dnet_stub_dnet_ntoa=no
21520 fi
21521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21522 LIBS=$ac_check_lib_save_LIBS
21523 fi
21524 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21525 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21526 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21527 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21528 fi
21529
21530 fi
21531 fi
21532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21533 LIBS="$ac_xsave_LIBS"
21534
21535 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21536 # to get the SysV transport functions.
21537 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21538 # needs -lnsl.
21539 # The nsl library prevents programs from opening the X display
21540 # on Irix 5.2, according to T.E. Dickey.
21541 # The functions gethostbyname, getservbyname, and inet_addr are
21542 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21543 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21544 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21545 if test "${ac_cv_func_gethostbyname+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21547 else
21548 cat >conftest.$ac_ext <<_ACEOF
21549 #line $LINENO "configure"
21550 /* confdefs.h. */
21551 _ACEOF
21552 cat confdefs.h >>conftest.$ac_ext
21553 cat >>conftest.$ac_ext <<_ACEOF
21554 /* end confdefs.h. */
21555 /* System header to define __stub macros and hopefully few prototypes,
21556 which can conflict with char gethostbyname (); below.
21557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21558 <limits.h> exists even on freestanding compilers. */
21559 #ifdef __STDC__
21560 # include <limits.h>
21561 #else
21562 # include <assert.h>
21563 #endif
21564 /* Override any gcc2 internal prototype to avoid an error. */
21565 #ifdef __cplusplus
21566 extern "C"
21567 {
21568 #endif
21569 /* We use char because int might match the return type of a gcc2
21570 builtin and then its argument prototype would still apply. */
21571 char gethostbyname ();
21572 /* The GNU C library defines this for functions which it implements
21573 to always fail with ENOSYS. Some functions are actually named
21574 something starting with __ and the normal name is an alias. */
21575 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21576 choke me
21577 #else
21578 char (*f) () = gethostbyname;
21579 #endif
21580 #ifdef __cplusplus
21581 }
21582 #endif
21583
21584 int
21585 main ()
21586 {
21587 return f != gethostbyname;
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext conftest$ac_exeext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21594 (eval $ac_link) 2>&5
21595 ac_status=$?
21596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21597 (exit $ac_status); } &&
21598 { ac_try='test -s conftest$ac_exeext'
21599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21600 (eval $ac_try) 2>&5
21601 ac_status=$?
21602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21603 (exit $ac_status); }; }; then
21604 ac_cv_func_gethostbyname=yes
21605 else
21606 echo "$as_me: failed program was:" >&5
21607 sed 's/^/| /' conftest.$ac_ext >&5
21608
21609 ac_cv_func_gethostbyname=no
21610 fi
21611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21612 fi
21613 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21614 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21615
21616 if test $ac_cv_func_gethostbyname = no; then
21617 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21618 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21619 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21621 else
21622 ac_check_lib_save_LIBS=$LIBS
21623 LIBS="-lnsl $LIBS"
21624 cat >conftest.$ac_ext <<_ACEOF
21625 #line $LINENO "configure"
21626 /* confdefs.h. */
21627 _ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631
21632 /* Override any gcc2 internal prototype to avoid an error. */
21633 #ifdef __cplusplus
21634 extern "C"
21635 #endif
21636 /* We use char because int might match the return type of a gcc2
21637 builtin and then its argument prototype would still apply. */
21638 char gethostbyname ();
21639 int
21640 main ()
21641 {
21642 gethostbyname ();
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext conftest$ac_exeext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21649 (eval $ac_link) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); } &&
21653 { ac_try='test -s conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_lib_nsl_gethostbyname=yes
21660 else
21661 echo "$as_me: failed program was:" >&5
21662 sed 's/^/| /' conftest.$ac_ext >&5
21663
21664 ac_cv_lib_nsl_gethostbyname=no
21665 fi
21666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21667 LIBS=$ac_check_lib_save_LIBS
21668 fi
21669 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21670 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21671 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21672 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21673 fi
21674
21675 if test $ac_cv_lib_nsl_gethostbyname = no; then
21676 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21677 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21678 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21680 else
21681 ac_check_lib_save_LIBS=$LIBS
21682 LIBS="-lbsd $LIBS"
21683 cat >conftest.$ac_ext <<_ACEOF
21684 #line $LINENO "configure"
21685 /* confdefs.h. */
21686 _ACEOF
21687 cat confdefs.h >>conftest.$ac_ext
21688 cat >>conftest.$ac_ext <<_ACEOF
21689 /* end confdefs.h. */
21690
21691 /* Override any gcc2 internal prototype to avoid an error. */
21692 #ifdef __cplusplus
21693 extern "C"
21694 #endif
21695 /* We use char because int might match the return type of a gcc2
21696 builtin and then its argument prototype would still apply. */
21697 char gethostbyname ();
21698 int
21699 main ()
21700 {
21701 gethostbyname ();
21702 ;
21703 return 0;
21704 }
21705 _ACEOF
21706 rm -f conftest.$ac_objext conftest$ac_exeext
21707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21708 (eval $ac_link) 2>&5
21709 ac_status=$?
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -s conftest$ac_exeext'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; }; then
21718 ac_cv_lib_bsd_gethostbyname=yes
21719 else
21720 echo "$as_me: failed program was:" >&5
21721 sed 's/^/| /' conftest.$ac_ext >&5
21722
21723 ac_cv_lib_bsd_gethostbyname=no
21724 fi
21725 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21726 LIBS=$ac_check_lib_save_LIBS
21727 fi
21728 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21729 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21730 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21732 fi
21733
21734 fi
21735 fi
21736
21737 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21738 # socket/setsockopt and other routines are undefined under SCO ODT
21739 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21740 # on later versions), says Simon Leinen: it contains gethostby*
21741 # variants that don't use the name server (or something). -lsocket
21742 # must be given before -lnsl if both are needed. We assume that
21743 # if connect needs -lnsl, so does gethostbyname.
21744 echo "$as_me:$LINENO: checking for connect" >&5
21745 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21746 if test "${ac_cv_func_connect+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 else
21749 cat >conftest.$ac_ext <<_ACEOF
21750 #line $LINENO "configure"
21751 /* confdefs.h. */
21752 _ACEOF
21753 cat confdefs.h >>conftest.$ac_ext
21754 cat >>conftest.$ac_ext <<_ACEOF
21755 /* end confdefs.h. */
21756 /* System header to define __stub macros and hopefully few prototypes,
21757 which can conflict with char connect (); below.
21758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21759 <limits.h> exists even on freestanding compilers. */
21760 #ifdef __STDC__
21761 # include <limits.h>
21762 #else
21763 # include <assert.h>
21764 #endif
21765 /* Override any gcc2 internal prototype to avoid an error. */
21766 #ifdef __cplusplus
21767 extern "C"
21768 {
21769 #endif
21770 /* We use char because int might match the return type of a gcc2
21771 builtin and then its argument prototype would still apply. */
21772 char connect ();
21773 /* The GNU C library defines this for functions which it implements
21774 to always fail with ENOSYS. Some functions are actually named
21775 something starting with __ and the normal name is an alias. */
21776 #if defined (__stub_connect) || defined (__stub___connect)
21777 choke me
21778 #else
21779 char (*f) () = connect;
21780 #endif
21781 #ifdef __cplusplus
21782 }
21783 #endif
21784
21785 int
21786 main ()
21787 {
21788 return f != connect;
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext conftest$ac_exeext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21795 (eval $ac_link) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); } &&
21799 { ac_try='test -s conftest$ac_exeext'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; }; then
21805 ac_cv_func_connect=yes
21806 else
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21809
21810 ac_cv_func_connect=no
21811 fi
21812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21813 fi
21814 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21815 echo "${ECHO_T}$ac_cv_func_connect" >&6
21816
21817 if test $ac_cv_func_connect = no; then
21818 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21819 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21820 if test "${ac_cv_lib_socket_connect+set}" = set; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21822 else
21823 ac_check_lib_save_LIBS=$LIBS
21824 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21825 cat >conftest.$ac_ext <<_ACEOF
21826 #line $LINENO "configure"
21827 /* confdefs.h. */
21828 _ACEOF
21829 cat confdefs.h >>conftest.$ac_ext
21830 cat >>conftest.$ac_ext <<_ACEOF
21831 /* end confdefs.h. */
21832
21833 /* Override any gcc2 internal prototype to avoid an error. */
21834 #ifdef __cplusplus
21835 extern "C"
21836 #endif
21837 /* We use char because int might match the return type of a gcc2
21838 builtin and then its argument prototype would still apply. */
21839 char connect ();
21840 int
21841 main ()
21842 {
21843 connect ();
21844 ;
21845 return 0;
21846 }
21847 _ACEOF
21848 rm -f conftest.$ac_objext conftest$ac_exeext
21849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21850 (eval $ac_link) 2>&5
21851 ac_status=$?
21852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853 (exit $ac_status); } &&
21854 { ac_try='test -s conftest$ac_exeext'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21857 ac_status=$?
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; }; then
21860 ac_cv_lib_socket_connect=yes
21861 else
21862 echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21864
21865 ac_cv_lib_socket_connect=no
21866 fi
21867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21868 LIBS=$ac_check_lib_save_LIBS
21869 fi
21870 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21871 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21872 if test $ac_cv_lib_socket_connect = yes; then
21873 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21874 fi
21875
21876 fi
21877
21878 # Guillermo Gomez says -lposix is necessary on A/UX.
21879 echo "$as_me:$LINENO: checking for remove" >&5
21880 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21881 if test "${ac_cv_func_remove+set}" = set; then
21882 echo $ECHO_N "(cached) $ECHO_C" >&6
21883 else
21884 cat >conftest.$ac_ext <<_ACEOF
21885 #line $LINENO "configure"
21886 /* confdefs.h. */
21887 _ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 /* System header to define __stub macros and hopefully few prototypes,
21892 which can conflict with char remove (); below.
21893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21894 <limits.h> exists even on freestanding compilers. */
21895 #ifdef __STDC__
21896 # include <limits.h>
21897 #else
21898 # include <assert.h>
21899 #endif
21900 /* Override any gcc2 internal prototype to avoid an error. */
21901 #ifdef __cplusplus
21902 extern "C"
21903 {
21904 #endif
21905 /* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21907 char remove ();
21908 /* The GNU C library defines this for functions which it implements
21909 to always fail with ENOSYS. Some functions are actually named
21910 something starting with __ and the normal name is an alias. */
21911 #if defined (__stub_remove) || defined (__stub___remove)
21912 choke me
21913 #else
21914 char (*f) () = remove;
21915 #endif
21916 #ifdef __cplusplus
21917 }
21918 #endif
21919
21920 int
21921 main ()
21922 {
21923 return f != remove;
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); } &&
21934 { ac_try='test -s conftest$ac_exeext'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 ac_cv_func_remove=yes
21941 else
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21944
21945 ac_cv_func_remove=no
21946 fi
21947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21948 fi
21949 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21950 echo "${ECHO_T}$ac_cv_func_remove" >&6
21951
21952 if test $ac_cv_func_remove = no; then
21953 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
21954 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
21955 if test "${ac_cv_lib_posix_remove+set}" = set; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21957 else
21958 ac_check_lib_save_LIBS=$LIBS
21959 LIBS="-lposix $LIBS"
21960 cat >conftest.$ac_ext <<_ACEOF
21961 #line $LINENO "configure"
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967
21968 /* Override any gcc2 internal prototype to avoid an error. */
21969 #ifdef __cplusplus
21970 extern "C"
21971 #endif
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21974 char remove ();
21975 int
21976 main ()
21977 {
21978 remove ();
21979 ;
21980 return 0;
21981 }
21982 _ACEOF
21983 rm -f conftest.$ac_objext conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>&5
21986 ac_status=$?
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try='test -s conftest$ac_exeext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21992 ac_status=$?
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 ac_cv_lib_posix_remove=yes
21996 else
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
21999
22000 ac_cv_lib_posix_remove=no
22001 fi
22002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22003 LIBS=$ac_check_lib_save_LIBS
22004 fi
22005 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22006 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22007 if test $ac_cv_lib_posix_remove = yes; then
22008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22009 fi
22010
22011 fi
22012
22013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22014 echo "$as_me:$LINENO: checking for shmat" >&5
22015 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22016 if test "${ac_cv_func_shmat+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 else
22019 cat >conftest.$ac_ext <<_ACEOF
22020 #line $LINENO "configure"
22021 /* confdefs.h. */
22022 _ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 /* System header to define __stub macros and hopefully few prototypes,
22027 which can conflict with char shmat (); below.
22028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22029 <limits.h> exists even on freestanding compilers. */
22030 #ifdef __STDC__
22031 # include <limits.h>
22032 #else
22033 # include <assert.h>
22034 #endif
22035 /* Override any gcc2 internal prototype to avoid an error. */
22036 #ifdef __cplusplus
22037 extern "C"
22038 {
22039 #endif
22040 /* We use char because int might match the return type of a gcc2
22041 builtin and then its argument prototype would still apply. */
22042 char shmat ();
22043 /* The GNU C library defines this for functions which it implements
22044 to always fail with ENOSYS. Some functions are actually named
22045 something starting with __ and the normal name is an alias. */
22046 #if defined (__stub_shmat) || defined (__stub___shmat)
22047 choke me
22048 #else
22049 char (*f) () = shmat;
22050 #endif
22051 #ifdef __cplusplus
22052 }
22053 #endif
22054
22055 int
22056 main ()
22057 {
22058 return f != shmat;
22059 ;
22060 return 0;
22061 }
22062 _ACEOF
22063 rm -f conftest.$ac_objext conftest$ac_exeext
22064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22065 (eval $ac_link) 2>&5
22066 ac_status=$?
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -s conftest$ac_exeext'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; }; then
22075 ac_cv_func_shmat=yes
22076 else
22077 echo "$as_me: failed program was:" >&5
22078 sed 's/^/| /' conftest.$ac_ext >&5
22079
22080 ac_cv_func_shmat=no
22081 fi
22082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22083 fi
22084 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22085 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22086
22087 if test $ac_cv_func_shmat = no; then
22088 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22091 echo $ECHO_N "(cached) $ECHO_C" >&6
22092 else
22093 ac_check_lib_save_LIBS=$LIBS
22094 LIBS="-lipc $LIBS"
22095 cat >conftest.$ac_ext <<_ACEOF
22096 #line $LINENO "configure"
22097 /* confdefs.h. */
22098 _ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102
22103 /* Override any gcc2 internal prototype to avoid an error. */
22104 #ifdef __cplusplus
22105 extern "C"
22106 #endif
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22109 char shmat ();
22110 int
22111 main ()
22112 {
22113 shmat ();
22114 ;
22115 return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext conftest$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -s conftest$ac_exeext'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; }; then
22130 ac_cv_lib_ipc_shmat=yes
22131 else
22132 echo "$as_me: failed program was:" >&5
22133 sed 's/^/| /' conftest.$ac_ext >&5
22134
22135 ac_cv_lib_ipc_shmat=no
22136 fi
22137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22138 LIBS=$ac_check_lib_save_LIBS
22139 fi
22140 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22141 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22142 if test $ac_cv_lib_ipc_shmat = yes; then
22143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22144 fi
22145
22146 fi
22147 fi
22148
22149 # Check for libraries that X11R6 Xt/Xaw programs need.
22150 ac_save_LDFLAGS=$LDFLAGS
22151 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22152 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22153 # check for ICE first), but we must link in the order -lSM -lICE or
22154 # we get undefined symbols. So assume we have SM if we have ICE.
22155 # These have to be linked with before -lX11, unlike the other
22156 # libraries we check for below, so use a different variable.
22157 # John Interrante, Karl Berry
22158 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22159 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22160 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 ac_check_lib_save_LIBS=$LIBS
22164 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22165 cat >conftest.$ac_ext <<_ACEOF
22166 #line $LINENO "configure"
22167 /* confdefs.h. */
22168 _ACEOF
22169 cat confdefs.h >>conftest.$ac_ext
22170 cat >>conftest.$ac_ext <<_ACEOF
22171 /* end confdefs.h. */
22172
22173 /* Override any gcc2 internal prototype to avoid an error. */
22174 #ifdef __cplusplus
22175 extern "C"
22176 #endif
22177 /* We use char because int might match the return type of a gcc2
22178 builtin and then its argument prototype would still apply. */
22179 char IceConnectionNumber ();
22180 int
22181 main ()
22182 {
22183 IceConnectionNumber ();
22184 ;
22185 return 0;
22186 }
22187 _ACEOF
22188 rm -f conftest.$ac_objext conftest$ac_exeext
22189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22190 (eval $ac_link) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); } &&
22194 { ac_try='test -s conftest$ac_exeext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_cv_lib_ICE_IceConnectionNumber=yes
22201 else
22202 echo "$as_me: failed program was:" >&5
22203 sed 's/^/| /' conftest.$ac_ext >&5
22204
22205 ac_cv_lib_ICE_IceConnectionNumber=no
22206 fi
22207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22208 LIBS=$ac_check_lib_save_LIBS
22209 fi
22210 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22213 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22214 fi
22215
22216 LDFLAGS=$ac_save_LDFLAGS
22217
22218 fi
22219
22220
22221 if test "$no_x" = "yes"; then
22222 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22223 echo "$as_me: error: X11 not found" >&2;}
22224 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22225 fi
22226
22227 GUI_TK_LIBRARY="$X_LIBS"
22228 TOOLKIT_INCLUDE="$X_CFLAGS"
22229 AFMINSTALL=afminstall
22230 COMPILED_X_PROGRAM=0
22231
22232 if test "$wxUSE_NANOX" = "yes"; then
22233 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22234 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22235 if test "x$MICROWIN" = x ; then
22236 echo "$as_me:$LINENO: result: not found" >&5
22237 echo "${ECHO_T}not found" >&6
22238 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22239 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22240 { (exit 1); exit 1; }; }
22241 else
22242 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22243 echo "${ECHO_T}$MICROWIN" >&6
22244 cat >>confdefs.h <<\_ACEOF
22245 #define wxUSE_NANOX 1
22246 _ACEOF
22247
22248 fi
22249 fi
22250
22251 xpm_link=
22252 echo "$as_me:$LINENO: checking for Xpm library" >&5
22253 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22254
22255 ac_find_libraries=
22256 for ac_dir in $SEARCH_LIB /usr/lib;
22257 do
22258 for ac_extension in a so sl dylib; do
22259 if test -f "$ac_dir/libXpm.$ac_extension"; then
22260 ac_find_libraries=$ac_dir
22261 break 2
22262 fi
22263 done
22264 done
22265
22266 if test "$ac_find_libraries" != "" ; then
22267
22268 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22269 result=$?
22270 if test $result = 0; then
22271 ac_path_to_link=""
22272 else
22273 ac_path_to_link=" -L$ac_find_libraries"
22274 fi
22275
22276 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22277 xpm_link=" -lXpm"
22278 cat >>confdefs.h <<\_ACEOF
22279 #define wxHAVE_LIB_XPM 1
22280 _ACEOF
22281
22282 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22283 echo "${ECHO_T}found at $ac_find_libraries" >&6
22284 else
22285 cat >conftest.$ac_ext <<_ACEOF
22286 #line $LINENO "configure"
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292
22293 #include <X11/xpm.h>
22294
22295 int
22296 main ()
22297 {
22298
22299 int version;
22300 version = XpmLibraryVersion();
22301
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318
22319 xpm_link=" -lXpm"
22320 cat >>confdefs.h <<\_ACEOF
22321 #define wxHAVE_LIB_XPM 1
22322 _ACEOF
22323
22324 echo "$as_me:$LINENO: result: found in default search path" >&5
22325 echo "${ECHO_T}found in default search path" >&6
22326 COMPILED_X_PROGRAM=0
22327
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22331
22332
22333 echo "$as_me:$LINENO: result: no" >&5
22334 echo "${ECHO_T}no" >&6
22335 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22336 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22337
22338
22339 fi
22340 rm -f conftest.$ac_objext conftest.$ac_ext
22341 fi
22342
22343 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22344 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22345 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22346 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 else
22348 ac_check_lib_save_LIBS=$LIBS
22349 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22350 cat >conftest.$ac_ext <<_ACEOF
22351 #line $LINENO "configure"
22352 /* confdefs.h. */
22353 _ACEOF
22354 cat confdefs.h >>conftest.$ac_ext
22355 cat >>conftest.$ac_ext <<_ACEOF
22356 /* end confdefs.h. */
22357
22358 /* Override any gcc2 internal prototype to avoid an error. */
22359 #ifdef __cplusplus
22360 extern "C"
22361 #endif
22362 /* We use char because int might match the return type of a gcc2
22363 builtin and then its argument prototype would still apply. */
22364 char XShapeQueryExtension ();
22365 int
22366 main ()
22367 {
22368 XShapeQueryExtension ();
22369 ;
22370 return 0;
22371 }
22372 _ACEOF
22373 rm -f conftest.$ac_objext conftest$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } &&
22379 { ac_try='test -s conftest$ac_exeext'
22380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22381 (eval $ac_try) 2>&5
22382 ac_status=$?
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_lib_Xext_XShapeQueryExtension=yes
22386 else
22387 echo "$as_me: failed program was:" >&5
22388 sed 's/^/| /' conftest.$ac_ext >&5
22389
22390 ac_cv_lib_Xext_XShapeQueryExtension=no
22391 fi
22392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22393 LIBS=$ac_check_lib_save_LIBS
22394 fi
22395 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22396 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22397 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22398
22399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22400 wxHAVE_XEXT_LIB=1
22401
22402 fi
22403
22404
22405 if test "$wxUSE_UNICODE" = "yes"; then
22406
22407 succeeded=no
22408
22409 if test -z "$PKG_CONFIG"; then
22410 # Extract the first word of "pkg-config", so it can be a program name with args.
22411 set dummy pkg-config; ac_word=$2
22412 echo "$as_me:$LINENO: checking for $ac_word" >&5
22413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22414 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22415 echo $ECHO_N "(cached) $ECHO_C" >&6
22416 else
22417 case $PKG_CONFIG in
22418 [\\/]* | ?:[\\/]*)
22419 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22420 ;;
22421 *)
22422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22423 for as_dir in $PATH
22424 do
22425 IFS=$as_save_IFS
22426 test -z "$as_dir" && as_dir=.
22427 for ac_exec_ext in '' $ac_executable_extensions; do
22428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22429 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22431 break 2
22432 fi
22433 done
22434 done
22435
22436 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22437 ;;
22438 esac
22439 fi
22440 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22441
22442 if test -n "$PKG_CONFIG"; then
22443 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22444 echo "${ECHO_T}$PKG_CONFIG" >&6
22445 else
22446 echo "$as_me:$LINENO: result: no" >&5
22447 echo "${ECHO_T}no" >&6
22448 fi
22449
22450 fi
22451
22452 if test "$PKG_CONFIG" = "no" ; then
22453 echo "*** The pkg-config script could not be found. Make sure it is"
22454 echo "*** in your path, or set the PKG_CONFIG environment variable"
22455 echo "*** to the full path to pkg-config."
22456 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22457 else
22458 PKG_CONFIG_MIN_VERSION=0.9.0
22459 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22460 echo "$as_me:$LINENO: checking for pangox" >&5
22461 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22462
22463 if $PKG_CONFIG --exists "pangox" ; then
22464 echo "$as_me:$LINENO: result: yes" >&5
22465 echo "${ECHO_T}yes" >&6
22466 succeeded=yes
22467
22468 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22469 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22470 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22471 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22472 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22473
22474 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22475 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22476 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22477 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22478 echo "${ECHO_T}$PANGOX_LIBS" >&6
22479 else
22480 PANGOX_CFLAGS=""
22481 PANGOX_LIBS=""
22482 ## If we have a custom action on failure, don't print errors, but
22483 ## do set a variable so people can do so.
22484 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22485
22486 fi
22487
22488
22489
22490 else
22491 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22492 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22493 fi
22494 fi
22495
22496 if test $succeeded = yes; then
22497
22498 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22499 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22500
22501 else
22502
22503 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22504 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22505 { (exit 1); exit 1; }; }
22506
22507
22508 fi
22509
22510
22511 succeeded=no
22512
22513 if test -z "$PKG_CONFIG"; then
22514 # Extract the first word of "pkg-config", so it can be a program name with args.
22515 set dummy pkg-config; ac_word=$2
22516 echo "$as_me:$LINENO: checking for $ac_word" >&5
22517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22518 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22520 else
22521 case $PKG_CONFIG in
22522 [\\/]* | ?:[\\/]*)
22523 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22524 ;;
22525 *)
22526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22527 for as_dir in $PATH
22528 do
22529 IFS=$as_save_IFS
22530 test -z "$as_dir" && as_dir=.
22531 for ac_exec_ext in '' $ac_executable_extensions; do
22532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22533 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22535 break 2
22536 fi
22537 done
22538 done
22539
22540 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22541 ;;
22542 esac
22543 fi
22544 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22545
22546 if test -n "$PKG_CONFIG"; then
22547 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22548 echo "${ECHO_T}$PKG_CONFIG" >&6
22549 else
22550 echo "$as_me:$LINENO: result: no" >&5
22551 echo "${ECHO_T}no" >&6
22552 fi
22553
22554 fi
22555
22556 if test "$PKG_CONFIG" = "no" ; then
22557 echo "*** The pkg-config script could not be found. Make sure it is"
22558 echo "*** in your path, or set the PKG_CONFIG environment variable"
22559 echo "*** to the full path to pkg-config."
22560 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22561 else
22562 PKG_CONFIG_MIN_VERSION=0.9.0
22563 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22564 echo "$as_me:$LINENO: checking for pangoft2" >&5
22565 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22566
22567 if $PKG_CONFIG --exists "pangoft2" ; then
22568 echo "$as_me:$LINENO: result: yes" >&5
22569 echo "${ECHO_T}yes" >&6
22570 succeeded=yes
22571
22572 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22573 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22574 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22575 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22576 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22577
22578 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22579 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22580 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22581 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22582 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22583 else
22584 PANGOFT2_CFLAGS=""
22585 PANGOFT2_LIBS=""
22586 ## If we have a custom action on failure, don't print errors, but
22587 ## do set a variable so people can do so.
22588 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22589
22590 fi
22591
22592
22593
22594 else
22595 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22596 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22597 fi
22598 fi
22599
22600 if test $succeeded = yes; then
22601
22602 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22603 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22604
22605 else
22606
22607 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22608 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22609 wxUSE_PRINTING_ARCHITECTURE="no"
22610
22611
22612 fi
22613
22614
22615 succeeded=no
22616
22617 if test -z "$PKG_CONFIG"; then
22618 # Extract the first word of "pkg-config", so it can be a program name with args.
22619 set dummy pkg-config; ac_word=$2
22620 echo "$as_me:$LINENO: checking for $ac_word" >&5
22621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22622 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22624 else
22625 case $PKG_CONFIG in
22626 [\\/]* | ?:[\\/]*)
22627 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22628 ;;
22629 *)
22630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22631 for as_dir in $PATH
22632 do
22633 IFS=$as_save_IFS
22634 test -z "$as_dir" && as_dir=.
22635 for ac_exec_ext in '' $ac_executable_extensions; do
22636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22637 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22639 break 2
22640 fi
22641 done
22642 done
22643
22644 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22645 ;;
22646 esac
22647 fi
22648 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22649
22650 if test -n "$PKG_CONFIG"; then
22651 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22652 echo "${ECHO_T}$PKG_CONFIG" >&6
22653 else
22654 echo "$as_me:$LINENO: result: no" >&5
22655 echo "${ECHO_T}no" >&6
22656 fi
22657
22658 fi
22659
22660 if test "$PKG_CONFIG" = "no" ; then
22661 echo "*** The pkg-config script could not be found. Make sure it is"
22662 echo "*** in your path, or set the PKG_CONFIG environment variable"
22663 echo "*** to the full path to pkg-config."
22664 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22665 else
22666 PKG_CONFIG_MIN_VERSION=0.9.0
22667 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22668 echo "$as_me:$LINENO: checking for pangoxft" >&5
22669 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22670
22671 if $PKG_CONFIG --exists "pangoxft" ; then
22672 echo "$as_me:$LINENO: result: yes" >&5
22673 echo "${ECHO_T}yes" >&6
22674 succeeded=yes
22675
22676 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22677 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22678 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22679 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22680 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22681
22682 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22683 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22684 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22685 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22686 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22687 else
22688 PANGOXFT_CFLAGS=""
22689 PANGOXFT_LIBS=""
22690 ## If we have a custom action on failure, don't print errors, but
22691 ## do set a variable so people can do so.
22692 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22693
22694 fi
22695
22696
22697
22698 else
22699 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22700 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22701 fi
22702 fi
22703
22704 if test $succeeded = yes; then
22705
22706 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22707 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22708
22709 else
22710
22711 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22712 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22713
22714
22715 fi
22716
22717 fi
22718
22719 wxUSE_UNIVERSAL="yes"
22720
22721 if test "$wxUSE_NANOX" = "yes"; then
22722 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22723 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"
22724 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22725 else
22726 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22727 fi
22728
22729 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22730 TOOLKIT=X11
22731 GUIDIST=X11_DIST
22732 fi
22733
22734 if test "$wxUSE_MOTIF" = 1; then
22735 if test "$no_x" = yes; then
22736 # Not all programs may use this symbol, but it does not hurt to define it.
22737
22738 cat >>confdefs.h <<\_ACEOF
22739 #define X_DISPLAY_MISSING 1
22740 _ACEOF
22741
22742 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22743 else
22744 if test -n "$x_includes"; then
22745 X_CFLAGS="$X_CFLAGS -I$x_includes"
22746 fi
22747
22748 # It would also be nice to do this for all -L options, not just this one.
22749 if test -n "$x_libraries"; then
22750 X_LIBS="$X_LIBS -L$x_libraries"
22751 # For Solaris; some versions of Sun CC require a space after -R and
22752 # others require no space. Words are not sufficient . . . .
22753 case `(uname -sr) 2>/dev/null` in
22754 "SunOS 5"*)
22755 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22756 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22757 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22758 cat >conftest.$ac_ext <<_ACEOF
22759 #line $LINENO "configure"
22760 /* confdefs.h. */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h. */
22765
22766 int
22767 main ()
22768 {
22769
22770 ;
22771 return 0;
22772 }
22773 _ACEOF
22774 rm -f conftest.$ac_objext conftest$ac_exeext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22776 (eval $ac_link) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); } &&
22780 { ac_try='test -s conftest$ac_exeext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22783 ac_status=$?
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 ac_R_nospace=yes
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 ac_R_nospace=no
22792 fi
22793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22794 if test $ac_R_nospace = yes; then
22795 echo "$as_me:$LINENO: result: no" >&5
22796 echo "${ECHO_T}no" >&6
22797 X_LIBS="$X_LIBS -R$x_libraries"
22798 else
22799 LIBS="$ac_xsave_LIBS -R $x_libraries"
22800 cat >conftest.$ac_ext <<_ACEOF
22801 #line $LINENO "configure"
22802 /* confdefs.h. */
22803 _ACEOF
22804 cat confdefs.h >>conftest.$ac_ext
22805 cat >>conftest.$ac_ext <<_ACEOF
22806 /* end confdefs.h. */
22807
22808 int
22809 main ()
22810 {
22811
22812 ;
22813 return 0;
22814 }
22815 _ACEOF
22816 rm -f conftest.$ac_objext conftest$ac_exeext
22817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22818 (eval $ac_link) 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try='test -s conftest$ac_exeext'
22823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22824 (eval $ac_try) 2>&5
22825 ac_status=$?
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); }; }; then
22828 ac_R_space=yes
22829 else
22830 echo "$as_me: failed program was:" >&5
22831 sed 's/^/| /' conftest.$ac_ext >&5
22832
22833 ac_R_space=no
22834 fi
22835 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22836 if test $ac_R_space = yes; then
22837 echo "$as_me:$LINENO: result: yes" >&5
22838 echo "${ECHO_T}yes" >&6
22839 X_LIBS="$X_LIBS -R $x_libraries"
22840 else
22841 echo "$as_me:$LINENO: result: neither works" >&5
22842 echo "${ECHO_T}neither works" >&6
22843 fi
22844 fi
22845 LIBS=$ac_xsave_LIBS
22846 esac
22847 fi
22848
22849 # Check for system-dependent libraries X programs must link with.
22850 # Do this before checking for the system-independent R6 libraries
22851 # (-lICE), since we may need -lsocket or whatever for X linking.
22852
22853 if test "$ISC" = yes; then
22854 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22855 else
22856 # Martyn Johnson says this is needed for Ultrix, if the X
22857 # libraries were built with DECnet support. And Karl Berry says
22858 # the Alpha needs dnet_stub (dnet does not exist).
22859 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22860 cat >conftest.$ac_ext <<_ACEOF
22861 #line $LINENO "configure"
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867
22868 /* Override any gcc2 internal prototype to avoid an error. */
22869 #ifdef __cplusplus
22870 extern "C"
22871 #endif
22872 /* We use char because int might match the return type of a gcc2
22873 builtin and then its argument prototype would still apply. */
22874 char XOpenDisplay ();
22875 int
22876 main ()
22877 {
22878 XOpenDisplay ();
22879 ;
22880 return 0;
22881 }
22882 _ACEOF
22883 rm -f conftest.$ac_objext conftest$ac_exeext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885 (eval $ac_link) 2>&5
22886 ac_status=$?
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try='test -s conftest$ac_exeext'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22892 ac_status=$?
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; }; then
22895 :
22896 else
22897 echo "$as_me: failed program was:" >&5
22898 sed 's/^/| /' conftest.$ac_ext >&5
22899
22900 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22901 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22902 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22903 echo $ECHO_N "(cached) $ECHO_C" >&6
22904 else
22905 ac_check_lib_save_LIBS=$LIBS
22906 LIBS="-ldnet $LIBS"
22907 cat >conftest.$ac_ext <<_ACEOF
22908 #line $LINENO "configure"
22909 /* confdefs.h. */
22910 _ACEOF
22911 cat confdefs.h >>conftest.$ac_ext
22912 cat >>conftest.$ac_ext <<_ACEOF
22913 /* end confdefs.h. */
22914
22915 /* Override any gcc2 internal prototype to avoid an error. */
22916 #ifdef __cplusplus
22917 extern "C"
22918 #endif
22919 /* We use char because int might match the return type of a gcc2
22920 builtin and then its argument prototype would still apply. */
22921 char dnet_ntoa ();
22922 int
22923 main ()
22924 {
22925 dnet_ntoa ();
22926 ;
22927 return 0;
22928 }
22929 _ACEOF
22930 rm -f conftest.$ac_objext conftest$ac_exeext
22931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22932 (eval $ac_link) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); } &&
22936 { ac_try='test -s conftest$ac_exeext'
22937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22938 (eval $ac_try) 2>&5
22939 ac_status=$?
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); }; }; then
22942 ac_cv_lib_dnet_dnet_ntoa=yes
22943 else
22944 echo "$as_me: failed program was:" >&5
22945 sed 's/^/| /' conftest.$ac_ext >&5
22946
22947 ac_cv_lib_dnet_dnet_ntoa=no
22948 fi
22949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22950 LIBS=$ac_check_lib_save_LIBS
22951 fi
22952 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22953 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22954 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22956 fi
22957
22958 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22959 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22960 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22961 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22962 echo $ECHO_N "(cached) $ECHO_C" >&6
22963 else
22964 ac_check_lib_save_LIBS=$LIBS
22965 LIBS="-ldnet_stub $LIBS"
22966 cat >conftest.$ac_ext <<_ACEOF
22967 #line $LINENO "configure"
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973
22974 /* Override any gcc2 internal prototype to avoid an error. */
22975 #ifdef __cplusplus
22976 extern "C"
22977 #endif
22978 /* We use char because int might match the return type of a gcc2
22979 builtin and then its argument prototype would still apply. */
22980 char dnet_ntoa ();
22981 int
22982 main ()
22983 {
22984 dnet_ntoa ();
22985 ;
22986 return 0;
22987 }
22988 _ACEOF
22989 rm -f conftest.$ac_objext conftest$ac_exeext
22990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22991 (eval $ac_link) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } &&
22995 { ac_try='test -s conftest$ac_exeext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23005
23006 ac_cv_lib_dnet_stub_dnet_ntoa=no
23007 fi
23008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23009 LIBS=$ac_check_lib_save_LIBS
23010 fi
23011 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23012 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23013 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23014 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23015 fi
23016
23017 fi
23018 fi
23019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23020 LIBS="$ac_xsave_LIBS"
23021
23022 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23023 # to get the SysV transport functions.
23024 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23025 # needs -lnsl.
23026 # The nsl library prevents programs from opening the X display
23027 # on Irix 5.2, according to T.E. Dickey.
23028 # The functions gethostbyname, getservbyname, and inet_addr are
23029 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23030 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23031 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23032 if test "${ac_cv_func_gethostbyname+set}" = set; then
23033 echo $ECHO_N "(cached) $ECHO_C" >&6
23034 else
23035 cat >conftest.$ac_ext <<_ACEOF
23036 #line $LINENO "configure"
23037 /* confdefs.h. */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 /* System header to define __stub macros and hopefully few prototypes,
23043 which can conflict with char gethostbyname (); below.
23044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045 <limits.h> exists even on freestanding compilers. */
23046 #ifdef __STDC__
23047 # include <limits.h>
23048 #else
23049 # include <assert.h>
23050 #endif
23051 /* Override any gcc2 internal prototype to avoid an error. */
23052 #ifdef __cplusplus
23053 extern "C"
23054 {
23055 #endif
23056 /* We use char because int might match the return type of a gcc2
23057 builtin and then its argument prototype would still apply. */
23058 char gethostbyname ();
23059 /* The GNU C library defines this for functions which it implements
23060 to always fail with ENOSYS. Some functions are actually named
23061 something starting with __ and the normal name is an alias. */
23062 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23063 choke me
23064 #else
23065 char (*f) () = gethostbyname;
23066 #endif
23067 #ifdef __cplusplus
23068 }
23069 #endif
23070
23071 int
23072 main ()
23073 {
23074 return f != gethostbyname;
23075 ;
23076 return 0;
23077 }
23078 _ACEOF
23079 rm -f conftest.$ac_objext conftest$ac_exeext
23080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23081 (eval $ac_link) 2>&5
23082 ac_status=$?
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } &&
23085 { ac_try='test -s conftest$ac_exeext'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; }; then
23091 ac_cv_func_gethostbyname=yes
23092 else
23093 echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 ac_cv_func_gethostbyname=no
23097 fi
23098 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23099 fi
23100 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23101 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23102
23103 if test $ac_cv_func_gethostbyname = no; then
23104 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23105 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23106 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23108 else
23109 ac_check_lib_save_LIBS=$LIBS
23110 LIBS="-lnsl $LIBS"
23111 cat >conftest.$ac_ext <<_ACEOF
23112 #line $LINENO "configure"
23113 /* confdefs.h. */
23114 _ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118
23119 /* Override any gcc2 internal prototype to avoid an error. */
23120 #ifdef __cplusplus
23121 extern "C"
23122 #endif
23123 /* We use char because int might match the return type of a gcc2
23124 builtin and then its argument prototype would still apply. */
23125 char gethostbyname ();
23126 int
23127 main ()
23128 {
23129 gethostbyname ();
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext conftest$ac_exeext
23135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23136 (eval $ac_link) 2>&5
23137 ac_status=$?
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); } &&
23140 { ac_try='test -s conftest$ac_exeext'
23141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23142 (eval $ac_try) 2>&5
23143 ac_status=$?
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); }; }; then
23146 ac_cv_lib_nsl_gethostbyname=yes
23147 else
23148 echo "$as_me: failed program was:" >&5
23149 sed 's/^/| /' conftest.$ac_ext >&5
23150
23151 ac_cv_lib_nsl_gethostbyname=no
23152 fi
23153 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23154 LIBS=$ac_check_lib_save_LIBS
23155 fi
23156 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23157 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23158 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23159 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23160 fi
23161
23162 if test $ac_cv_lib_nsl_gethostbyname = no; then
23163 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23164 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23165 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23166 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 else
23168 ac_check_lib_save_LIBS=$LIBS
23169 LIBS="-lbsd $LIBS"
23170 cat >conftest.$ac_ext <<_ACEOF
23171 #line $LINENO "configure"
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177
23178 /* Override any gcc2 internal prototype to avoid an error. */
23179 #ifdef __cplusplus
23180 extern "C"
23181 #endif
23182 /* We use char because int might match the return type of a gcc2
23183 builtin and then its argument prototype would still apply. */
23184 char gethostbyname ();
23185 int
23186 main ()
23187 {
23188 gethostbyname ();
23189 ;
23190 return 0;
23191 }
23192 _ACEOF
23193 rm -f conftest.$ac_objext conftest$ac_exeext
23194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23195 (eval $ac_link) 2>&5
23196 ac_status=$?
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try='test -s conftest$ac_exeext'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23202 ac_status=$?
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_lib_bsd_gethostbyname=yes
23206 else
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23209
23210 ac_cv_lib_bsd_gethostbyname=no
23211 fi
23212 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23213 LIBS=$ac_check_lib_save_LIBS
23214 fi
23215 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23216 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23217 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23218 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23219 fi
23220
23221 fi
23222 fi
23223
23224 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23225 # socket/setsockopt and other routines are undefined under SCO ODT
23226 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23227 # on later versions), says Simon Leinen: it contains gethostby*
23228 # variants that don't use the name server (or something). -lsocket
23229 # must be given before -lnsl if both are needed. We assume that
23230 # if connect needs -lnsl, so does gethostbyname.
23231 echo "$as_me:$LINENO: checking for connect" >&5
23232 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23233 if test "${ac_cv_func_connect+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23235 else
23236 cat >conftest.$ac_ext <<_ACEOF
23237 #line $LINENO "configure"
23238 /* confdefs.h. */
23239 _ACEOF
23240 cat confdefs.h >>conftest.$ac_ext
23241 cat >>conftest.$ac_ext <<_ACEOF
23242 /* end confdefs.h. */
23243 /* System header to define __stub macros and hopefully few prototypes,
23244 which can conflict with char connect (); below.
23245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23246 <limits.h> exists even on freestanding compilers. */
23247 #ifdef __STDC__
23248 # include <limits.h>
23249 #else
23250 # include <assert.h>
23251 #endif
23252 /* Override any gcc2 internal prototype to avoid an error. */
23253 #ifdef __cplusplus
23254 extern "C"
23255 {
23256 #endif
23257 /* We use char because int might match the return type of a gcc2
23258 builtin and then its argument prototype would still apply. */
23259 char connect ();
23260 /* The GNU C library defines this for functions which it implements
23261 to always fail with ENOSYS. Some functions are actually named
23262 something starting with __ and the normal name is an alias. */
23263 #if defined (__stub_connect) || defined (__stub___connect)
23264 choke me
23265 #else
23266 char (*f) () = connect;
23267 #endif
23268 #ifdef __cplusplus
23269 }
23270 #endif
23271
23272 int
23273 main ()
23274 {
23275 return f != connect;
23276 ;
23277 return 0;
23278 }
23279 _ACEOF
23280 rm -f conftest.$ac_objext conftest$ac_exeext
23281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23282 (eval $ac_link) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); } &&
23286 { ac_try='test -s conftest$ac_exeext'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; }; then
23292 ac_cv_func_connect=yes
23293 else
23294 echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23296
23297 ac_cv_func_connect=no
23298 fi
23299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23300 fi
23301 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23302 echo "${ECHO_T}$ac_cv_func_connect" >&6
23303
23304 if test $ac_cv_func_connect = no; then
23305 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23306 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23307 if test "${ac_cv_lib_socket_connect+set}" = set; then
23308 echo $ECHO_N "(cached) $ECHO_C" >&6
23309 else
23310 ac_check_lib_save_LIBS=$LIBS
23311 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23312 cat >conftest.$ac_ext <<_ACEOF
23313 #line $LINENO "configure"
23314 /* confdefs.h. */
23315 _ACEOF
23316 cat confdefs.h >>conftest.$ac_ext
23317 cat >>conftest.$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23319
23320 /* Override any gcc2 internal prototype to avoid an error. */
23321 #ifdef __cplusplus
23322 extern "C"
23323 #endif
23324 /* We use char because int might match the return type of a gcc2
23325 builtin and then its argument prototype would still apply. */
23326 char connect ();
23327 int
23328 main ()
23329 {
23330 connect ();
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext conftest$ac_exeext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23337 (eval $ac_link) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } &&
23341 { ac_try='test -s conftest$ac_exeext'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; }; then
23347 ac_cv_lib_socket_connect=yes
23348 else
23349 echo "$as_me: failed program was:" >&5
23350 sed 's/^/| /' conftest.$ac_ext >&5
23351
23352 ac_cv_lib_socket_connect=no
23353 fi
23354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23355 LIBS=$ac_check_lib_save_LIBS
23356 fi
23357 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23358 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23359 if test $ac_cv_lib_socket_connect = yes; then
23360 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23361 fi
23362
23363 fi
23364
23365 # Guillermo Gomez says -lposix is necessary on A/UX.
23366 echo "$as_me:$LINENO: checking for remove" >&5
23367 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23368 if test "${ac_cv_func_remove+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23371 cat >conftest.$ac_ext <<_ACEOF
23372 #line $LINENO "configure"
23373 /* confdefs.h. */
23374 _ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 /* System header to define __stub macros and hopefully few prototypes,
23379 which can conflict with char remove (); below.
23380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23381 <limits.h> exists even on freestanding compilers. */
23382 #ifdef __STDC__
23383 # include <limits.h>
23384 #else
23385 # include <assert.h>
23386 #endif
23387 /* Override any gcc2 internal prototype to avoid an error. */
23388 #ifdef __cplusplus
23389 extern "C"
23390 {
23391 #endif
23392 /* We use char because int might match the return type of a gcc2
23393 builtin and then its argument prototype would still apply. */
23394 char remove ();
23395 /* The GNU C library defines this for functions which it implements
23396 to always fail with ENOSYS. Some functions are actually named
23397 something starting with __ and the normal name is an alias. */
23398 #if defined (__stub_remove) || defined (__stub___remove)
23399 choke me
23400 #else
23401 char (*f) () = remove;
23402 #endif
23403 #ifdef __cplusplus
23404 }
23405 #endif
23406
23407 int
23408 main ()
23409 {
23410 return f != remove;
23411 ;
23412 return 0;
23413 }
23414 _ACEOF
23415 rm -f conftest.$ac_objext conftest$ac_exeext
23416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23417 (eval $ac_link) 2>&5
23418 ac_status=$?
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } &&
23421 { ac_try='test -s conftest$ac_exeext'
23422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23423 (eval $ac_try) 2>&5
23424 ac_status=$?
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; }; then
23427 ac_cv_func_remove=yes
23428 else
23429 echo "$as_me: failed program was:" >&5
23430 sed 's/^/| /' conftest.$ac_ext >&5
23431
23432 ac_cv_func_remove=no
23433 fi
23434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23435 fi
23436 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23437 echo "${ECHO_T}$ac_cv_func_remove" >&6
23438
23439 if test $ac_cv_func_remove = no; then
23440 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23441 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23442 if test "${ac_cv_lib_posix_remove+set}" = set; then
23443 echo $ECHO_N "(cached) $ECHO_C" >&6
23444 else
23445 ac_check_lib_save_LIBS=$LIBS
23446 LIBS="-lposix $LIBS"
23447 cat >conftest.$ac_ext <<_ACEOF
23448 #line $LINENO "configure"
23449 /* confdefs.h. */
23450 _ACEOF
23451 cat confdefs.h >>conftest.$ac_ext
23452 cat >>conftest.$ac_ext <<_ACEOF
23453 /* end confdefs.h. */
23454
23455 /* Override any gcc2 internal prototype to avoid an error. */
23456 #ifdef __cplusplus
23457 extern "C"
23458 #endif
23459 /* We use char because int might match the return type of a gcc2
23460 builtin and then its argument prototype would still apply. */
23461 char remove ();
23462 int
23463 main ()
23464 {
23465 remove ();
23466 ;
23467 return 0;
23468 }
23469 _ACEOF
23470 rm -f conftest.$ac_objext conftest$ac_exeext
23471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23472 (eval $ac_link) 2>&5
23473 ac_status=$?
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try='test -s conftest$ac_exeext'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; }; then
23482 ac_cv_lib_posix_remove=yes
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 ac_cv_lib_posix_remove=no
23488 fi
23489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23490 LIBS=$ac_check_lib_save_LIBS
23491 fi
23492 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23493 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23494 if test $ac_cv_lib_posix_remove = yes; then
23495 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23496 fi
23497
23498 fi
23499
23500 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23501 echo "$as_me:$LINENO: checking for shmat" >&5
23502 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23503 if test "${ac_cv_func_shmat+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 else
23506 cat >conftest.$ac_ext <<_ACEOF
23507 #line $LINENO "configure"
23508 /* confdefs.h. */
23509 _ACEOF
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23513 /* System header to define __stub macros and hopefully few prototypes,
23514 which can conflict with char shmat (); below.
23515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23516 <limits.h> exists even on freestanding compilers. */
23517 #ifdef __STDC__
23518 # include <limits.h>
23519 #else
23520 # include <assert.h>
23521 #endif
23522 /* Override any gcc2 internal prototype to avoid an error. */
23523 #ifdef __cplusplus
23524 extern "C"
23525 {
23526 #endif
23527 /* We use char because int might match the return type of a gcc2
23528 builtin and then its argument prototype would still apply. */
23529 char shmat ();
23530 /* The GNU C library defines this for functions which it implements
23531 to always fail with ENOSYS. Some functions are actually named
23532 something starting with __ and the normal name is an alias. */
23533 #if defined (__stub_shmat) || defined (__stub___shmat)
23534 choke me
23535 #else
23536 char (*f) () = shmat;
23537 #endif
23538 #ifdef __cplusplus
23539 }
23540 #endif
23541
23542 int
23543 main ()
23544 {
23545 return f != shmat;
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 rm -f conftest.$ac_objext conftest$ac_exeext
23551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23552 (eval $ac_link) 2>&5
23553 ac_status=$?
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try='test -s conftest$ac_exeext'
23557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23558 (eval $ac_try) 2>&5
23559 ac_status=$?
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); }; }; then
23562 ac_cv_func_shmat=yes
23563 else
23564 echo "$as_me: failed program was:" >&5
23565 sed 's/^/| /' conftest.$ac_ext >&5
23566
23567 ac_cv_func_shmat=no
23568 fi
23569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23570 fi
23571 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23572 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23573
23574 if test $ac_cv_func_shmat = no; then
23575 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23576 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23577 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 else
23580 ac_check_lib_save_LIBS=$LIBS
23581 LIBS="-lipc $LIBS"
23582 cat >conftest.$ac_ext <<_ACEOF
23583 #line $LINENO "configure"
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589
23590 /* Override any gcc2 internal prototype to avoid an error. */
23591 #ifdef __cplusplus
23592 extern "C"
23593 #endif
23594 /* We use char because int might match the return type of a gcc2
23595 builtin and then its argument prototype would still apply. */
23596 char shmat ();
23597 int
23598 main ()
23599 {
23600 shmat ();
23601 ;
23602 return 0;
23603 }
23604 _ACEOF
23605 rm -f conftest.$ac_objext conftest$ac_exeext
23606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23607 (eval $ac_link) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); } &&
23611 { ac_try='test -s conftest$ac_exeext'
23612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23613 (eval $ac_try) 2>&5
23614 ac_status=$?
23615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23616 (exit $ac_status); }; }; then
23617 ac_cv_lib_ipc_shmat=yes
23618 else
23619 echo "$as_me: failed program was:" >&5
23620 sed 's/^/| /' conftest.$ac_ext >&5
23621
23622 ac_cv_lib_ipc_shmat=no
23623 fi
23624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23625 LIBS=$ac_check_lib_save_LIBS
23626 fi
23627 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23628 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23629 if test $ac_cv_lib_ipc_shmat = yes; then
23630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23631 fi
23632
23633 fi
23634 fi
23635
23636 # Check for libraries that X11R6 Xt/Xaw programs need.
23637 ac_save_LDFLAGS=$LDFLAGS
23638 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23640 # check for ICE first), but we must link in the order -lSM -lICE or
23641 # we get undefined symbols. So assume we have SM if we have ICE.
23642 # These have to be linked with before -lX11, unlike the other
23643 # libraries we check for below, so use a different variable.
23644 # John Interrante, Karl Berry
23645 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23646 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23647 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23648 echo $ECHO_N "(cached) $ECHO_C" >&6
23649 else
23650 ac_check_lib_save_LIBS=$LIBS
23651 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23652 cat >conftest.$ac_ext <<_ACEOF
23653 #line $LINENO "configure"
23654 /* confdefs.h. */
23655 _ACEOF
23656 cat confdefs.h >>conftest.$ac_ext
23657 cat >>conftest.$ac_ext <<_ACEOF
23658 /* end confdefs.h. */
23659
23660 /* Override any gcc2 internal prototype to avoid an error. */
23661 #ifdef __cplusplus
23662 extern "C"
23663 #endif
23664 /* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23666 char IceConnectionNumber ();
23667 int
23668 main ()
23669 {
23670 IceConnectionNumber ();
23671 ;
23672 return 0;
23673 }
23674 _ACEOF
23675 rm -f conftest.$ac_objext conftest$ac_exeext
23676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23677 (eval $ac_link) 2>&5
23678 ac_status=$?
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } &&
23681 { ac_try='test -s conftest$ac_exeext'
23682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23683 (eval $ac_try) 2>&5
23684 ac_status=$?
23685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23686 (exit $ac_status); }; }; then
23687 ac_cv_lib_ICE_IceConnectionNumber=yes
23688 else
23689 echo "$as_me: failed program was:" >&5
23690 sed 's/^/| /' conftest.$ac_ext >&5
23691
23692 ac_cv_lib_ICE_IceConnectionNumber=no
23693 fi
23694 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23695 LIBS=$ac_check_lib_save_LIBS
23696 fi
23697 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23698 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23699 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23700 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23701 fi
23702
23703 LDFLAGS=$ac_save_LDFLAGS
23704
23705 fi
23706
23707
23708 if test "$no_x" = "yes"; then
23709 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23710 echo "$as_me: error: X11 not found" >&2;}
23711 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23712 fi
23713
23714 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23715 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23716 AFMINSTALL=afminstall
23717 COMPILED_X_PROGRAM=0
23718
23719 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23720 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23721
23722 ac_find_includes=
23723 for ac_dir in $SEARCH_INCLUDE /usr/include;
23724 do
23725 if test -f "$ac_dir/Xm/Xm.h"; then
23726 ac_find_includes=$ac_dir
23727 break
23728 fi
23729 done
23730
23731 if test "$ac_find_includes" != "" ; then
23732 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23733 echo "${ECHO_T}found in $ac_find_includes" >&6
23734
23735 if test "x$ac_find_includes" = "x/usr/include"; then
23736 ac_path_to_include=""
23737 else
23738 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23739 result=$?
23740 if test $result = 0; then
23741 ac_path_to_include=""
23742 else
23743 ac_path_to_include=" -I$ac_find_includes"
23744 fi
23745 fi
23746
23747 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23748 else
23749 cat >conftest.$ac_ext <<_ACEOF
23750 #line $LINENO "configure"
23751 /* confdefs.h. */
23752 _ACEOF
23753 cat confdefs.h >>conftest.$ac_ext
23754 cat >>conftest.$ac_ext <<_ACEOF
23755 /* end confdefs.h. */
23756
23757 #include <Xm/Xm.h>
23758
23759 int
23760 main ()
23761 {
23762
23763 int version;
23764 version = xmUseVersion;
23765
23766 ;
23767 return 0;
23768 }
23769 _ACEOF
23770 rm -f conftest.$ac_objext
23771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23772 (eval $ac_compile) 2>&5
23773 ac_status=$?
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } &&
23776 { ac_try='test -s conftest.$ac_objext'
23777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23778 (eval $ac_try) 2>&5
23779 ac_status=$?
23780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23781 (exit $ac_status); }; }; then
23782
23783 echo "$as_me:$LINENO: result: found in default search path" >&5
23784 echo "${ECHO_T}found in default search path" >&6
23785 COMPILED_X_PROGRAM=1
23786
23787 else
23788 echo "$as_me: failed program was:" >&5
23789 sed 's/^/| /' conftest.$ac_ext >&5
23790
23791
23792 echo "$as_me:$LINENO: result: no" >&5
23793 echo "${ECHO_T}no" >&6
23794 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23795 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23796 { (exit 1); exit 1; }; }
23797
23798
23799 fi
23800 rm -f conftest.$ac_objext conftest.$ac_ext
23801 fi
23802
23803 if test "$COMPILED_X_PROGRAM" = 0; then
23804 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23805 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23806
23807 ac_find_libraries=
23808 for ac_dir in $SEARCH_LIB /usr/lib;
23809 do
23810 for ac_extension in a so sl dylib; do
23811 if test -f "$ac_dir/libXm.$ac_extension"; then
23812 ac_find_libraries=$ac_dir
23813 break 2
23814 fi
23815 done
23816 done
23817
23818 if test "$ac_find_libraries" != "" ; then
23819 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23820 echo "${ECHO_T}found at $ac_find_libraries" >&6
23821
23822
23823 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23824 result=$?
23825 if test $result = 0; then
23826 ac_path_to_link=""
23827 else
23828 ac_path_to_link=" -L$ac_find_libraries"
23829 fi
23830
23831 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23832 else
23833 save_CFLAGS=$CFLAGS
23834 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23835
23836 cat >conftest.$ac_ext <<_ACEOF
23837 #line $LINENO "configure"
23838 /* confdefs.h. */
23839 _ACEOF
23840 cat confdefs.h >>conftest.$ac_ext
23841 cat >>conftest.$ac_ext <<_ACEOF
23842 /* end confdefs.h. */
23843
23844 #include <Xm/Xm.h>
23845
23846 int
23847 main ()
23848 {
23849
23850 int version;
23851 version = xmUseVersion;
23852
23853 ;
23854 return 0;
23855 }
23856 _ACEOF
23857 rm -f conftest.$ac_objext
23858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23859 (eval $ac_compile) 2>&5
23860 ac_status=$?
23861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23862 (exit $ac_status); } &&
23863 { ac_try='test -s conftest.$ac_objext'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; }; then
23869
23870 echo "$as_me:$LINENO: result: found in default search path" >&5
23871 echo "${ECHO_T}found in default search path" >&6
23872 COMPILED_X_PROGRAM=1
23873
23874 else
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.$ac_ext >&5
23877
23878
23879 echo "$as_me:$LINENO: result: no" >&5
23880 echo "${ECHO_T}no" >&6
23881 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23882 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23883 { (exit 1); exit 1; }; }
23884
23885
23886 fi
23887 rm -f conftest.$ac_objext conftest.$ac_ext
23888
23889 CFLAGS=$save_CFLAGS
23890 fi
23891 fi
23892
23893 xpm_link=
23894 echo "$as_me:$LINENO: checking for Xpm library" >&5
23895 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23896
23897 ac_find_libraries=
23898 for ac_dir in $SEARCH_LIB /usr/lib;
23899 do
23900 for ac_extension in a so sl dylib; do
23901 if test -f "$ac_dir/libXpm.$ac_extension"; then
23902 ac_find_libraries=$ac_dir
23903 break 2
23904 fi
23905 done
23906 done
23907
23908 if test "$ac_find_libraries" != "" ; then
23909
23910 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23911 result=$?
23912 if test $result = 0; then
23913 ac_path_to_link=""
23914 else
23915 ac_path_to_link=" -L$ac_find_libraries"
23916 fi
23917
23918 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23919
23920 xpm_link=" -lXpm"
23921 cat >>confdefs.h <<\_ACEOF
23922 #define wxHAVE_LIB_XPM 1
23923 _ACEOF
23924
23925 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23926 echo "${ECHO_T}found at $ac_find_libraries" >&6
23927 else
23928 save_CFLAGS=$CFLAGS
23929 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23930
23931 cat >conftest.$ac_ext <<_ACEOF
23932 #line $LINENO "configure"
23933 /* confdefs.h. */
23934 _ACEOF
23935 cat confdefs.h >>conftest.$ac_ext
23936 cat >>conftest.$ac_ext <<_ACEOF
23937 /* end confdefs.h. */
23938
23939 #include <X11/xpm.h>
23940
23941 int
23942 main ()
23943 {
23944
23945 int version;
23946 version = XpmLibraryVersion();
23947
23948 ;
23949 return 0;
23950 }
23951 _ACEOF
23952 rm -f conftest.$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>&5
23955 ac_status=$?
23956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23957 (exit $ac_status); } &&
23958 { ac_try='test -s conftest.$ac_objext'
23959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23960 (eval $ac_try) 2>&5
23961 ac_status=$?
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); }; }; then
23964
23965 xpm_link=" -lXpm"
23966 cat >>confdefs.h <<\_ACEOF
23967 #define wxHAVE_LIB_XPM 1
23968 _ACEOF
23969
23970 echo "$as_me:$LINENO: result: found in default search path" >&5
23971 echo "${ECHO_T}found in default search path" >&6
23972 COMPILED_X_PROGRAM=0
23973
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978
23979 echo "$as_me:$LINENO: result: no" >&5
23980 echo "${ECHO_T}no" >&6
23981 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
23982 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
23983
23984
23985 fi
23986 rm -f conftest.$ac_objext conftest.$ac_ext
23987
23988 CFLAGS=$save_CFLAGS
23989 fi
23990
23991 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
23992 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
23993 libp_link=""
23994 libsm_ice_link=""
23995 libs_found=0
23996 for libp in "" " -lXp"; do
23997 if test "$libs_found" = "0"; then
23998 for libsm_ice in " -lSM -lICE"; do
23999 if test "$libs_found" = "0"; then
24000 save_LIBS="$LIBS"
24001 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24002 save_CFLAGS=$CFLAGS
24003 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24004
24005 cat >conftest.$ac_ext <<_ACEOF
24006 #line $LINENO "configure"
24007 /* confdefs.h. */
24008 _ACEOF
24009 cat confdefs.h >>conftest.$ac_ext
24010 cat >>conftest.$ac_ext <<_ACEOF
24011 /* end confdefs.h. */
24012
24013 #include <Xm/Xm.h>
24014 #include <Xm/List.h>
24015
24016 int
24017 main ()
24018 {
24019
24020 XmString string = NULL;
24021 Widget w = NULL;
24022 int position = 0;
24023 XmListAddItem(w, string, position);
24024
24025 ;
24026 return 0;
24027 }
24028 _ACEOF
24029 rm -f conftest.$ac_objext conftest$ac_exeext
24030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24031 (eval $ac_link) 2>&5
24032 ac_status=$?
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } &&
24035 { ac_try='test -s conftest$ac_exeext'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; }; then
24041
24042 libp_link="$libp"
24043 libsm_ice_link="$libsm_ice"
24044 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24045 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24046 libs_found=1
24047
24048 else
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24051
24052
24053
24054 fi
24055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24056
24057 LIBS="$save_LIBS"
24058 CFLAGS=$save_CFLAGS
24059 fi
24060 done
24061 fi
24062 done
24063
24064 if test "$libs_found" = "0"; then
24065 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24066 echo "${ECHO_T}can't find the right libraries" >&6
24067 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24068 echo "$as_me: error: can't link a simple motif program" >&2;}
24069 { (exit 1); exit 1; }; }
24070 fi
24071
24072 save_CFLAGS=$CFLAGS
24073 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24074 echo "$as_me:$LINENO: checking for Motif 2" >&5
24075 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24076 cat >conftest.$ac_ext <<_ACEOF
24077 #line $LINENO "configure"
24078 /* confdefs.h. */
24079 _ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083
24084 #include <Xm/Xm.h>
24085
24086 int
24087 main ()
24088 {
24089
24090 #if XmVersion < 2000
24091 #error "Not Motif 2"
24092 #endif
24093
24094 ;
24095 return 0;
24096 }
24097 _ACEOF
24098 rm -f conftest.$ac_objext
24099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24100 (eval $ac_compile) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); } &&
24104 { ac_try='test -s conftest.$ac_objext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110
24111 cat >>confdefs.h <<\_ACEOF
24112 #define __WXMOTIF20__ 1
24113 _ACEOF
24114
24115 echo "$as_me:$LINENO: result: found" >&5
24116 echo "${ECHO_T}found" >&6
24117
24118 else
24119 echo "$as_me: failed program was:" >&5
24120 sed 's/^/| /' conftest.$ac_ext >&5
24121
24122
24123 cat >>confdefs.h <<\_ACEOF
24124 #define __WXMOTIF20__ 0
24125 _ACEOF
24126
24127 echo "$as_me:$LINENO: result: not found" >&5
24128 echo "${ECHO_T}not found" >&6
24129
24130 fi
24131 rm -f conftest.$ac_objext conftest.$ac_ext
24132 CFLAGS=$save_CFLAGS
24133
24134 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24135 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24136 TOOLKIT=MOTIF
24137 GUIDIST=MOTIF_DIST
24138 wxHAVE_XEXT_LIB=1
24139 fi
24140
24141 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24142 test "$wxHAVE_XEXT_LIB" = 1; then
24143 save_CFLAGS="$CFLAGS"
24144 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24145
24146 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24147 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24148 cat >conftest.$ac_ext <<_ACEOF
24149 #line $LINENO "configure"
24150 /* confdefs.h. */
24151 _ACEOF
24152 cat confdefs.h >>conftest.$ac_ext
24153 cat >>conftest.$ac_ext <<_ACEOF
24154 /* end confdefs.h. */
24155
24156 #include <X11/Xlib.h>
24157 #include <X11/extensions/shape.h>
24158
24159 int
24160 main ()
24161 {
24162
24163 int dummy1, dummy2;
24164 XShapeQueryExtension((Display*)NULL,
24165 (int*)NULL, (int*)NULL);
24166
24167 ;
24168 return 0;
24169 }
24170 _ACEOF
24171 rm -f conftest.$ac_objext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24173 (eval $ac_compile) 2>&5
24174 ac_status=$?
24175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24176 (exit $ac_status); } &&
24177 { ac_try='test -s conftest.$ac_objext'
24178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24179 (eval $ac_try) 2>&5
24180 ac_status=$?
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); }; }; then
24183
24184 cat >>confdefs.h <<\_ACEOF
24185 #define HAVE_XSHAPE 1
24186 _ACEOF
24187
24188 echo "$as_me:$LINENO: result: found" >&5
24189 echo "${ECHO_T}found" >&6
24190
24191 else
24192 echo "$as_me: failed program was:" >&5
24193 sed 's/^/| /' conftest.$ac_ext >&5
24194
24195
24196 echo "$as_me:$LINENO: result: not found" >&5
24197 echo "${ECHO_T}not found" >&6
24198
24199 fi
24200 rm -f conftest.$ac_objext conftest.$ac_ext
24201 CFLAGS="$save_CFLAGS"
24202 fi
24203
24204 if test "$wxUSE_MAC" = 1; then
24205 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24206
24207 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24208 TOOLKIT=MAC
24209 GUIDIST=MACX_DIST
24210 WXBASEPORT="_carbon"
24211 fi
24212
24213 if test "$wxUSE_COCOA" = 1; then
24214 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24215 TOOLKIT=COCOA
24216 GUIDIST=COCOA_DIST
24217 fi
24218
24219 if test "$wxUSE_PM" = 1; then
24220 TOOLKIT=PM
24221 GUIDIST=GTK_DIST
24222 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24223 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24224 wxUSE_THREADS="no"
24225 fi
24226
24227 if test "$TOOLKIT" = "PM" ; then
24228 TOOLKIT_DIR="os2"
24229 else
24230 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24231 fi
24232
24233 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24234
24235 if test "$wxUSE_UNIVERSAL" = "yes"; then
24236 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24237
24238 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24239 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24240
24241 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24242 if test "$wxUSE_X11" = 1; then
24243 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24244 else
24245 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24246 fi
24247 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24248 WIDGET_SET=univ
24249 else
24250 ALL_OBJECTS="\$(GUIOBJS)"
24251 ALL_SOURCES="\$(ALL_SOURCES)"
24252 ALL_HEADERS="\$(ALL_HEADERS)"
24253 fi
24254
24255 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24256
24257 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24258 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24259 fi
24260
24261 if test "$wxUSE_HTML" = "yes"; then
24262 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24263 fi
24264
24265 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24266 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24267 fi
24268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24269 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24270 fi
24271 if test "$wxUSE_LIBPNG" = "builtin" ; then
24272 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24273 fi
24274
24275 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24276 DISTDIR="wx\$(TOOLKIT)"
24277 else
24278 USE_GUI=0
24279
24280 TOOLKIT_DIR="base"
24281
24282 if test "$USE_WIN32" = 1 ; then
24283 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24284 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24285
24286 TOOLKIT="MSW"
24287 else
24288 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24289 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24290 fi
24291
24292 ALL_SOURCES="\$(ALL_SOURCES)"
24293 ALL_HEADERS="\$(ALL_HEADERS)"
24294
24295 PORT_FILES="\${top_srcdir}/src/files.lst"
24296
24297 GUIDIST="BASE_DIST"
24298 DISTDIR="wxBase"
24299 fi
24300
24301
24302
24303
24304 IODBC_C_SRC=""
24305
24306
24307 if test "$TOOLKIT" != "MSW" ; then
24308
24309 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24310
24311 if test "${ac_cv_header_sql_h+set}" = set; then
24312 echo "$as_me:$LINENO: checking for sql.h" >&5
24313 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24314 if test "${ac_cv_header_sql_h+set}" = set; then
24315 echo $ECHO_N "(cached) $ECHO_C" >&6
24316 fi
24317 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24318 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24319 else
24320 # Is the header compilable?
24321 echo "$as_me:$LINENO: checking sql.h usability" >&5
24322 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24323 cat >conftest.$ac_ext <<_ACEOF
24324 #line $LINENO "configure"
24325 /* confdefs.h. */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h. */
24330 $ac_includes_default
24331 #include <sql.h>
24332 _ACEOF
24333 rm -f conftest.$ac_objext
24334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24335 (eval $ac_compile) 2>&5
24336 ac_status=$?
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } &&
24339 { ac_try='test -s conftest.$ac_objext'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; }; then
24345 ac_header_compiler=yes
24346 else
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24349
24350 ac_header_compiler=no
24351 fi
24352 rm -f conftest.$ac_objext conftest.$ac_ext
24353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24354 echo "${ECHO_T}$ac_header_compiler" >&6
24355
24356 # Is the header present?
24357 echo "$as_me:$LINENO: checking sql.h presence" >&5
24358 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24359 cat >conftest.$ac_ext <<_ACEOF
24360 #line $LINENO "configure"
24361 /* confdefs.h. */
24362 _ACEOF
24363 cat confdefs.h >>conftest.$ac_ext
24364 cat >>conftest.$ac_ext <<_ACEOF
24365 /* end confdefs.h. */
24366 #include <sql.h>
24367 _ACEOF
24368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24370 ac_status=$?
24371 grep -v '^ *+' conftest.er1 >conftest.err
24372 rm -f conftest.er1
24373 cat conftest.err >&5
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); } >/dev/null; then
24376 if test -s conftest.err; then
24377 ac_cpp_err=$ac_c_preproc_warn_flag
24378 else
24379 ac_cpp_err=
24380 fi
24381 else
24382 ac_cpp_err=yes
24383 fi
24384 if test -z "$ac_cpp_err"; then
24385 ac_header_preproc=yes
24386 else
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.$ac_ext >&5
24389
24390 ac_header_preproc=no
24391 fi
24392 rm -f conftest.err conftest.$ac_ext
24393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24394 echo "${ECHO_T}$ac_header_preproc" >&6
24395
24396 # So? What about this header?
24397 case $ac_header_compiler:$ac_header_preproc in
24398 yes:no )
24399 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24400 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24401 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24402 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24403 (
24404 cat <<\_ASBOX
24405 ## ------------------------------------ ##
24406 ## Report this to bug-autoconf@gnu.org. ##
24407 ## ------------------------------------ ##
24408 _ASBOX
24409 ) |
24410 sed "s/^/$as_me: WARNING: /" >&2
24411 ;;
24412 no:yes )
24413 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24414 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24415 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24416 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24417 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24418 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24419 (
24420 cat <<\_ASBOX
24421 ## ------------------------------------ ##
24422 ## Report this to bug-autoconf@gnu.org. ##
24423 ## ------------------------------------ ##
24424 _ASBOX
24425 ) |
24426 sed "s/^/$as_me: WARNING: /" >&2
24427 ;;
24428 esac
24429 echo "$as_me:$LINENO: checking for sql.h" >&5
24430 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24431 if test "${ac_cv_header_sql_h+set}" = set; then
24432 echo $ECHO_N "(cached) $ECHO_C" >&6
24433 else
24434 ac_cv_header_sql_h=$ac_header_preproc
24435 fi
24436 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24437 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24438
24439 fi
24440 if test $ac_cv_header_sql_h = yes; then
24441 found_sql_h=1
24442 fi
24443
24444
24445 if test "x$found_sql_h" = "x1" ; then
24446 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24447 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24448 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24449 echo $ECHO_N "(cached) $ECHO_C" >&6
24450 else
24451 ac_check_lib_save_LIBS=$LIBS
24452 LIBS="-lSQLAllocEnv $LIBS"
24453 cat >conftest.$ac_ext <<_ACEOF
24454 #line $LINENO "configure"
24455 /* confdefs.h. */
24456 _ACEOF
24457 cat confdefs.h >>conftest.$ac_ext
24458 cat >>conftest.$ac_ext <<_ACEOF
24459 /* end confdefs.h. */
24460
24461 /* Override any gcc2 internal prototype to avoid an error. */
24462 #ifdef __cplusplus
24463 extern "C"
24464 #endif
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24467 char iodbc ();
24468 int
24469 main ()
24470 {
24471 iodbc ();
24472 ;
24473 return 0;
24474 }
24475 _ACEOF
24476 rm -f conftest.$ac_objext conftest$ac_exeext
24477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24478 (eval $ac_link) 2>&5
24479 ac_status=$?
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); } &&
24482 { ac_try='test -s conftest$ac_exeext'
24483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24484 (eval $ac_try) 2>&5
24485 ac_status=$?
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); }; }; then
24488 ac_cv_lib_SQLAllocEnv_iodbc=yes
24489 else
24490 echo "$as_me: failed program was:" >&5
24491 sed 's/^/| /' conftest.$ac_ext >&5
24492
24493 ac_cv_lib_SQLAllocEnv_iodbc=no
24494 fi
24495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24496 LIBS=$ac_check_lib_save_LIBS
24497 fi
24498 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24499 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24500 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24501 ODBC_LINK=" -liodbc"
24502 else
24503
24504 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24505 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24506 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24507 echo $ECHO_N "(cached) $ECHO_C" >&6
24508 else
24509 ac_check_lib_save_LIBS=$LIBS
24510 LIBS="-lSQLAllocEnv $LIBS"
24511 cat >conftest.$ac_ext <<_ACEOF
24512 #line $LINENO "configure"
24513 /* confdefs.h. */
24514 _ACEOF
24515 cat confdefs.h >>conftest.$ac_ext
24516 cat >>conftest.$ac_ext <<_ACEOF
24517 /* end confdefs.h. */
24518
24519 /* Override any gcc2 internal prototype to avoid an error. */
24520 #ifdef __cplusplus
24521 extern "C"
24522 #endif
24523 /* We use char because int might match the return type of a gcc2
24524 builtin and then its argument prototype would still apply. */
24525 char unixodbc ();
24526 int
24527 main ()
24528 {
24529 unixodbc ();
24530 ;
24531 return 0;
24532 }
24533 _ACEOF
24534 rm -f conftest.$ac_objext conftest$ac_exeext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24536 (eval $ac_link) 2>&5
24537 ac_status=$?
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); } &&
24540 { ac_try='test -s conftest$ac_exeext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24543 ac_status=$?
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24547 else
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24550
24551 ac_cv_lib_SQLAllocEnv_unixodbc=no
24552 fi
24553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24554 LIBS=$ac_check_lib_save_LIBS
24555 fi
24556 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24557 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24558 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24559 ODBC_LINK=" -lunixodbc"
24560 else
24561
24562 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24563 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24564 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24565 echo $ECHO_N "(cached) $ECHO_C" >&6
24566 else
24567 ac_check_lib_save_LIBS=$LIBS
24568 LIBS="-lSQLAllocEnv $LIBS"
24569 cat >conftest.$ac_ext <<_ACEOF
24570 #line $LINENO "configure"
24571 /* confdefs.h. */
24572 _ACEOF
24573 cat confdefs.h >>conftest.$ac_ext
24574 cat >>conftest.$ac_ext <<_ACEOF
24575 /* end confdefs.h. */
24576
24577 /* Override any gcc2 internal prototype to avoid an error. */
24578 #ifdef __cplusplus
24579 extern "C"
24580 #endif
24581 /* We use char because int might match the return type of a gcc2
24582 builtin and then its argument prototype would still apply. */
24583 char odbc ();
24584 int
24585 main ()
24586 {
24587 odbc ();
24588 ;
24589 return 0;
24590 }
24591 _ACEOF
24592 rm -f conftest.$ac_objext conftest$ac_exeext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24594 (eval $ac_link) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -s conftest$ac_exeext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24601 ac_status=$?
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 ac_cv_lib_SQLAllocEnv_odbc=yes
24605 else
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24608
24609 ac_cv_lib_SQLAllocEnv_odbc=no
24610 fi
24611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24612 LIBS=$ac_check_lib_save_LIBS
24613 fi
24614 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24615 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24616 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24617 ODBC_LINK=" -lodbc"
24618 fi
24619
24620
24621 fi
24622
24623
24624 fi
24625
24626 fi
24627 if test "x$ODBC_LINK" = "x" ; then
24628 if test "$wxUSE_ODBC" = "sys" ; then
24629 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24630 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24631 { (exit 1); exit 1; }; }
24632 else
24633 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24634 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24635 wxUSE_ODBC=builtin
24636 fi
24637 else
24638 wxUSE_ODBC=sys
24639 fi
24640 fi
24641 if test "$wxUSE_ODBC" != "no" ; then
24642 cat >>confdefs.h <<\_ACEOF
24643 #define wxUSE_ODBC 1
24644 _ACEOF
24645
24646 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24647
24648 WXODBCFLAG="-D_IODBC_"
24649 fi
24650 fi
24651
24652 if test "$wxUSE_REGEX" = "builtin" ; then
24653 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24654 fi
24655 if test "$wxUSE_ZLIB" = "builtin" ; then
24656 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24657 fi
24658
24659
24660 USE_OPENGL=0
24661 if test "$wxUSE_OPENGL" = "yes"; then
24662 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24663 OPENGL_LIBS="-framework OpenGL -framework AGL"
24664 elif test "$wxUSE_MSW" = 1; then
24665 OPENGL_LIBS="-lopengl32 -lglu32"
24666 else
24667
24668
24669 ac_find_includes=
24670 for ac_dir in $SEARCH_INCLUDE /usr/include;
24671 do
24672 if test -f "$ac_dir/GL/gl.h"; then
24673 ac_find_includes=$ac_dir
24674 break
24675 fi
24676 done
24677
24678 if test "$ac_find_includes" != "" ; then
24679 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24680 echo "${ECHO_T}found in $ac_find_includes" >&6
24681
24682 if test "x$ac_find_includes" = "x/usr/include"; then
24683 ac_path_to_include=""
24684 else
24685 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24686 result=$?
24687 if test $result = 0; then
24688 ac_path_to_include=""
24689 else
24690 ac_path_to_include=" -I$ac_find_includes"
24691 fi
24692 fi
24693
24694 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24695 fi
24696
24697 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24698 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24699 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24700 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24701 echo $ECHO_N "(cached) $ECHO_C" >&6
24702 fi
24703 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24704 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24705 else
24706 # Is the header compilable?
24707 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24708 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24709 cat >conftest.$ac_ext <<_ACEOF
24710 #line $LINENO "configure"
24711 /* confdefs.h. */
24712 _ACEOF
24713 cat confdefs.h >>conftest.$ac_ext
24714 cat >>conftest.$ac_ext <<_ACEOF
24715 /* end confdefs.h. */
24716 $ac_includes_default
24717 #include <GL/gl.h>
24718 _ACEOF
24719 rm -f conftest.$ac_objext
24720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24721 (eval $ac_compile) 2>&5
24722 ac_status=$?
24723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24724 (exit $ac_status); } &&
24725 { ac_try='test -s conftest.$ac_objext'
24726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24727 (eval $ac_try) 2>&5
24728 ac_status=$?
24729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24730 (exit $ac_status); }; }; then
24731 ac_header_compiler=yes
24732 else
24733 echo "$as_me: failed program was:" >&5
24734 sed 's/^/| /' conftest.$ac_ext >&5
24735
24736 ac_header_compiler=no
24737 fi
24738 rm -f conftest.$ac_objext conftest.$ac_ext
24739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24740 echo "${ECHO_T}$ac_header_compiler" >&6
24741
24742 # Is the header present?
24743 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24744 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24745 cat >conftest.$ac_ext <<_ACEOF
24746 #line $LINENO "configure"
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752 #include <GL/gl.h>
24753 _ACEOF
24754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24756 ac_status=$?
24757 grep -v '^ *+' conftest.er1 >conftest.err
24758 rm -f conftest.er1
24759 cat conftest.err >&5
24760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24761 (exit $ac_status); } >/dev/null; then
24762 if test -s conftest.err; then
24763 ac_cpp_err=$ac_c_preproc_warn_flag
24764 else
24765 ac_cpp_err=
24766 fi
24767 else
24768 ac_cpp_err=yes
24769 fi
24770 if test -z "$ac_cpp_err"; then
24771 ac_header_preproc=yes
24772 else
24773 echo "$as_me: failed program was:" >&5
24774 sed 's/^/| /' conftest.$ac_ext >&5
24775
24776 ac_header_preproc=no
24777 fi
24778 rm -f conftest.err conftest.$ac_ext
24779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24780 echo "${ECHO_T}$ac_header_preproc" >&6
24781
24782 # So? What about this header?
24783 case $ac_header_compiler:$ac_header_preproc in
24784 yes:no )
24785 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24786 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24787 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24788 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24789 (
24790 cat <<\_ASBOX
24791 ## ------------------------------------ ##
24792 ## Report this to bug-autoconf@gnu.org. ##
24793 ## ------------------------------------ ##
24794 _ASBOX
24795 ) |
24796 sed "s/^/$as_me: WARNING: /" >&2
24797 ;;
24798 no:yes )
24799 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24800 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24801 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24802 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24803 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24804 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24805 (
24806 cat <<\_ASBOX
24807 ## ------------------------------------ ##
24808 ## Report this to bug-autoconf@gnu.org. ##
24809 ## ------------------------------------ ##
24810 _ASBOX
24811 ) |
24812 sed "s/^/$as_me: WARNING: /" >&2
24813 ;;
24814 esac
24815 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24816 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24817 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24818 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 else
24820 ac_cv_header_GL_gl_h=$ac_header_preproc
24821 fi
24822 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24823 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24824
24825 fi
24826 if test $ac_cv_header_GL_gl_h = yes; then
24827
24828 found_gl=0
24829
24830 echo "$as_me:$LINENO: checking for -lGL" >&5
24831 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24832
24833 ac_find_libraries=
24834 for ac_dir in $SEARCH_LIB /usr/lib;
24835 do
24836 for ac_extension in a so sl dylib; do
24837 if test -f "$ac_dir/libGL.$ac_extension"; then
24838 ac_find_libraries=$ac_dir
24839 break 2
24840 fi
24841 done
24842 done
24843
24844 if test "$ac_find_libraries" != "" ; then
24845
24846 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24847 result=$?
24848 if test $result = 0; then
24849 ac_path_to_link=""
24850 else
24851 ac_path_to_link=" -L$ac_find_libraries"
24852 fi
24853
24854 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24855 LDFLAGS_GL="$ac_path_to_link"
24856 fi
24857
24858
24859 ac_find_libraries=
24860 for ac_dir in $SEARCH_LIB /usr/lib;
24861 do
24862 for ac_extension in a so sl dylib; do
24863 if test -f "$ac_dir/libGLU.$ac_extension"; then
24864 ac_find_libraries=$ac_dir
24865 break 2
24866 fi
24867 done
24868 done
24869
24870 if test "$ac_find_libraries" != "" ; then
24871
24872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24873 result=$?
24874 if test $result = 0; then
24875 ac_path_to_link=""
24876 else
24877 ac_path_to_link=" -L$ac_find_libraries"
24878 fi
24879
24880 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24881 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24882 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24883 fi
24884
24885 found_gl=1
24886 OPENGL_LIBS="-lGL -lGLU"
24887 echo "$as_me:$LINENO: result: yes" >&5
24888 echo "${ECHO_T}yes" >&6
24889 fi
24890 fi
24891
24892 if test "$found_gl" != 1; then
24893 echo "$as_me:$LINENO: result: no" >&5
24894 echo "${ECHO_T}no" >&6
24895 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24896 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24897
24898 ac_find_libraries=
24899 for ac_dir in $SEARCH_LIB /usr/lib;
24900 do
24901 for ac_extension in a so sl dylib; do
24902 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24903 ac_find_libraries=$ac_dir
24904 break 2
24905 fi
24906 done
24907 done
24908
24909 if test "$ac_find_libraries" != "" ; then
24910
24911 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24912 result=$?
24913 if test $result = 0; then
24914 ac_path_to_link=""
24915 else
24916 ac_path_to_link=" -L$ac_find_libraries"
24917 fi
24918
24919 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24920 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24921 echo "$as_me:$LINENO: result: yes" >&5
24922 echo "${ECHO_T}yes" >&6
24923 else
24924 echo "$as_me:$LINENO: result: no" >&5
24925 echo "${ECHO_T}no" >&6
24926 fi
24927 fi
24928
24929 fi
24930
24931
24932
24933 if test "x$OPENGL_LIBS" = "x"; then
24934 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24935 echo "$as_me: error: OpenGL libraries not available" >&2;}
24936 { (exit 1); exit 1; }; }
24937 fi
24938 fi
24939
24940 if test "$wxUSE_OPENGL" = "yes"; then
24941 USE_OPENGL=1
24942 cat >>confdefs.h <<\_ACEOF
24943 #define wxUSE_OPENGL 1
24944 _ACEOF
24945
24946 cat >>confdefs.h <<\_ACEOF
24947 #define wxUSE_GLCANVAS 1
24948 _ACEOF
24949
24950 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
24951 fi
24952 fi
24953
24954 if test -z "$TOOLKIT_VPATH" ; then
24955 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
24956 fi
24957
24958 if test -n "$TOOLKIT" ; then
24959 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
24960 fi
24961
24962 UNICODE=0
24963 lib_unicode_suffix=
24964 if test "$wxUSE_UNICODE" = "yes"; then
24965 lib_unicode_suffix=u
24966 UNICODE=1
24967 fi
24968
24969 lib_debug_suffix=
24970 DEBUG_FLAG=0
24971 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
24972 lib_debug_suffix=d
24973 DEBUG_FLAG=1
24974 fi
24975
24976 DEBUG_INFO=0
24977 if test "$wxUSE_DEBUG_INFO" = "yes"; then
24978 DEBUG_INFO=1
24979 fi
24980
24981 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
24982
24983 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
24984 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
24985
24986 if test "$cross_compiling" = "yes"; then
24987 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
24988 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
24989 HOST_SUFFIX="-${host_alias}"
24990 fi
24991
24992 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
24993 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
24994 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
24995 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
24996
24997 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24998 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
24999
25000 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25001 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25002 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25003 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25004
25005 case "${host}" in
25006 *-*-cygwin* | *-*-mingw32* )
25007 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25008 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25009 ;;
25010
25011 *-*-darwin* )
25012
25013 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25014 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25015
25016 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25017 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25018 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25019 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25020
25021 if test "$wxUSE_MAC" = 1; then
25022 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25023 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25024 fi
25025 ;;
25026 esac
25027
25028 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25029 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25030
25031 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25032 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25033
25034 if test "$wxUSE_OPENGL" = "yes"; then
25035 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25036 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25037 fi
25038
25039
25040
25041 if test "$wxUSE_SHARED" = "yes"; then
25042 case "${host}" in
25043 *-pc-os2_emx | *-pc-os2-emx | \
25044 *-pc-msdosdjgpp )
25045 wxUSE_SHARED=no
25046 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25047 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25048 ;;
25049 esac
25050 fi
25051
25052 SHARED=0
25053 if test "$wxUSE_SHARED" = "yes"; then
25054 SHARED=1
25055
25056
25057 found_versioning=no
25058
25059
25060 if test $found_versioning = no ; then
25061 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25062 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25063 if test "${wx_cv_version_script+set}" = set; then
25064 echo $ECHO_N "(cached) $ECHO_C" >&6
25065 else
25066
25067 echo "VER_1 { *; };" >conftest.sym
25068 echo "int main() { return 0; }" >conftest.cpp
25069
25070 if { ac_try='
25071 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25072 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25075 ac_status=$?
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; } ; then
25078 if test -s conftest.stderr ; then
25079 wx_cv_version_script=no
25080 else
25081 wx_cv_version_script=yes
25082 fi
25083 else
25084 wx_cv_version_script=no
25085 fi
25086 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25087
25088 fi
25089 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25090 echo "${ECHO_T}$wx_cv_version_script" >&6
25091 if test $wx_cv_version_script = yes ; then
25092 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25093 fi
25094 fi
25095
25096
25097 case "${host}" in
25098 *-*-linux* | *-*-gnu* )
25099 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25100 ;;
25101
25102 *-*-solaris2* )
25103 if test "$GCC" = yes ; then
25104 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25105
25106 saveLdflags="$LDFLAGS"
25107 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25108 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25109 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25110 cat >conftest.$ac_ext <<_ACEOF
25111 #line $LINENO "configure"
25112 /* confdefs.h. */
25113 _ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117
25118 int
25119 main ()
25120 {
25121
25122 ;
25123 return 0;
25124 }
25125 _ACEOF
25126 rm -f conftest.$ac_objext conftest$ac_exeext
25127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25128 (eval $ac_link) 2>&5
25129 ac_status=$?
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -s conftest$ac_exeext'
25133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134 (eval $ac_try) 2>&5
25135 ac_status=$?
25136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137 (exit $ac_status); }; }; then
25138
25139 echo "$as_me:$LINENO: result: yes" >&5
25140 echo "${ECHO_T}yes" >&6
25141 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25142
25143 else
25144 echo "$as_me: failed program was:" >&5
25145 sed 's/^/| /' conftest.$ac_ext >&5
25146
25147
25148 echo "$as_me:$LINENO: result: no" >&5
25149 echo "${ECHO_T}no" >&6
25150 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25151 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25152 LDFLAGS="$saveLdflags -Wl,-R,/"
25153 cat >conftest.$ac_ext <<_ACEOF
25154 #line $LINENO "configure"
25155 /* confdefs.h. */
25156 _ACEOF
25157 cat confdefs.h >>conftest.$ac_ext
25158 cat >>conftest.$ac_ext <<_ACEOF
25159 /* end confdefs.h. */
25160
25161 int
25162 main ()
25163 {
25164
25165 ;
25166 return 0;
25167 }
25168 _ACEOF
25169 rm -f conftest.$ac_objext conftest$ac_exeext
25170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25171 (eval $ac_link) 2>&5
25172 ac_status=$?
25173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25174 (exit $ac_status); } &&
25175 { ac_try='test -s conftest$ac_exeext'
25176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25177 (eval $ac_try) 2>&5
25178 ac_status=$?
25179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25180 (exit $ac_status); }; }; then
25181
25182 echo "$as_me:$LINENO: result: yes" >&5
25183 echo "${ECHO_T}yes" >&6
25184 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25185 else
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189
25190 echo "$as_me:$LINENO: result: no" >&5
25191 echo "${ECHO_T}no" >&6
25192
25193 fi
25194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25195
25196 fi
25197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25198 LDFLAGS="$saveLdflags"
25199 else
25200 SHARED_LD="${CXX} -G -o"
25201 PIC_FLAG="-KPIC"
25202 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25203 fi
25204 ;;
25205
25206 powerpc-*-darwin* )
25207 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25208 cat <<EOF >change-install-names
25209 #!/bin/sh
25210 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25211 inst_cmd="install_name_tool "
25212 for i in \${libnames} ; do
25213 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25214 done
25215 \${inst_cmd} \${3}
25216 EOF
25217 chmod +x change-install-names
25218 ;;
25219
25220 esac
25221
25222 if test "x$WX_TARGET_LIBRARY" = "x"; then
25223 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25224 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25225 fi
25226
25227 WX_TARGET_LIBRARY_TYPE="so"
25228 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25229 fi
25230
25231 if test "$wxUSE_SHARED" = "no"; then
25232
25233 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25234 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25235 fi
25236
25237 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25238 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25239 fi
25240
25241 if test "$wxUSE_OPENGL" = "yes"; then
25242 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25243 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25244 else
25245 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25246 fi
25247
25248 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25249 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25250
25251 WX_TARGET_LIBRARY_TYPE="a"
25252 INSTALL_LIBRARY='$(INSTALL_DATA)'
25253
25254 STATIC_FLAG="yes"
25255 else
25256 STATIC_FLAG="no"
25257 fi
25258
25259 MACRESCOMP="@#"
25260 MACSETFILE="@#"
25261 MACRESWXCONFIG="#"
25262 if test "$wxUSE_MAC" = 1; then
25263 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25264 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25265 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25266 # Extract the first word of "Rez", so it can be a program name with args.
25267 set dummy Rez; ac_word=$2
25268 echo "$as_me:$LINENO: checking for $ac_word" >&5
25269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25270 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273 if test -n "$RESCOMP"; then
25274 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25275 else
25276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25277 for as_dir in $PATH
25278 do
25279 IFS=$as_save_IFS
25280 test -z "$as_dir" && as_dir=.
25281 for ac_exec_ext in '' $ac_executable_extensions; do
25282 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25283 ac_cv_prog_RESCOMP="Rez"
25284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25285 break 2
25286 fi
25287 done
25288 done
25289
25290 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25291 fi
25292 fi
25293 RESCOMP=$ac_cv_prog_RESCOMP
25294 if test -n "$RESCOMP"; then
25295 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25296 echo "${ECHO_T}$RESCOMP" >&6
25297 else
25298 echo "$as_me:$LINENO: result: no" >&5
25299 echo "${ECHO_T}no" >&6
25300 fi
25301
25302 # Extract the first word of "DeRez", so it can be a program name with args.
25303 set dummy DeRez; ac_word=$2
25304 echo "$as_me:$LINENO: checking for $ac_word" >&5
25305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25306 if test "${ac_cv_prog_DEREZ+set}" = set; then
25307 echo $ECHO_N "(cached) $ECHO_C" >&6
25308 else
25309 if test -n "$DEREZ"; then
25310 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25311 else
25312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25313 for as_dir in $PATH
25314 do
25315 IFS=$as_save_IFS
25316 test -z "$as_dir" && as_dir=.
25317 for ac_exec_ext in '' $ac_executable_extensions; do
25318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25319 ac_cv_prog_DEREZ="DeRez"
25320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25321 break 2
25322 fi
25323 done
25324 done
25325
25326 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25327 fi
25328 fi
25329 DEREZ=$ac_cv_prog_DEREZ
25330 if test -n "$DEREZ"; then
25331 echo "$as_me:$LINENO: result: $DEREZ" >&5
25332 echo "${ECHO_T}$DEREZ" >&6
25333 else
25334 echo "$as_me:$LINENO: result: no" >&5
25335 echo "${ECHO_T}no" >&6
25336 fi
25337
25338 # Extract the first word of "SetFile", so it can be a program name with args.
25339 set dummy SetFile; ac_word=$2
25340 echo "$as_me:$LINENO: checking for $ac_word" >&5
25341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25342 if test "${ac_cv_prog_SETFILE+set}" = set; then
25343 echo $ECHO_N "(cached) $ECHO_C" >&6
25344 else
25345 if test -n "$SETFILE"; then
25346 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25347 else
25348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25349 for as_dir in $PATH
25350 do
25351 IFS=$as_save_IFS
25352 test -z "$as_dir" && as_dir=.
25353 for ac_exec_ext in '' $ac_executable_extensions; do
25354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25355 ac_cv_prog_SETFILE="SetFile"
25356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25357 break 2
25358 fi
25359 done
25360 done
25361
25362 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25363 fi
25364 fi
25365 SETFILE=$ac_cv_prog_SETFILE
25366 if test -n "$SETFILE"; then
25367 echo "$as_me:$LINENO: result: $SETFILE" >&5
25368 echo "${ECHO_T}$SETFILE" >&6
25369 else
25370 echo "$as_me:$LINENO: result: no" >&5
25371 echo "${ECHO_T}no" >&6
25372 fi
25373
25374 MACOSX_BUNDLE="bundle"
25375 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25376 MACSETFILE="\$(SETFILE)"
25377 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25378 elif test "$wxUSE_COCOA" = 1; then
25379 # Extract the first word of "Rez", so it can be a program name with args.
25380 set dummy Rez; ac_word=$2
25381 echo "$as_me:$LINENO: checking for $ac_word" >&5
25382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25383 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25384 echo $ECHO_N "(cached) $ECHO_C" >&6
25385 else
25386 if test -n "$RESCOMP"; then
25387 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25388 else
25389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25390 for as_dir in $PATH
25391 do
25392 IFS=$as_save_IFS
25393 test -z "$as_dir" && as_dir=.
25394 for ac_exec_ext in '' $ac_executable_extensions; do
25395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25396 ac_cv_prog_RESCOMP="Rez"
25397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25398 break 2
25399 fi
25400 done
25401 done
25402
25403 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25404 fi
25405 fi
25406 RESCOMP=$ac_cv_prog_RESCOMP
25407 if test -n "$RESCOMP"; then
25408 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25409 echo "${ECHO_T}$RESCOMP" >&6
25410 else
25411 echo "$as_me:$LINENO: result: no" >&5
25412 echo "${ECHO_T}no" >&6
25413 fi
25414
25415 # Extract the first word of "DeRez", so it can be a program name with args.
25416 set dummy DeRez; ac_word=$2
25417 echo "$as_me:$LINENO: checking for $ac_word" >&5
25418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25419 if test "${ac_cv_prog_DEREZ+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25421 else
25422 if test -n "$DEREZ"; then
25423 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25424 else
25425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25426 for as_dir in $PATH
25427 do
25428 IFS=$as_save_IFS
25429 test -z "$as_dir" && as_dir=.
25430 for ac_exec_ext in '' $ac_executable_extensions; do
25431 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25432 ac_cv_prog_DEREZ="DeRez"
25433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25434 break 2
25435 fi
25436 done
25437 done
25438
25439 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25440 fi
25441 fi
25442 DEREZ=$ac_cv_prog_DEREZ
25443 if test -n "$DEREZ"; then
25444 echo "$as_me:$LINENO: result: $DEREZ" >&5
25445 echo "${ECHO_T}$DEREZ" >&6
25446 else
25447 echo "$as_me:$LINENO: result: no" >&5
25448 echo "${ECHO_T}no" >&6
25449 fi
25450
25451 # Extract the first word of "SetFile", so it can be a program name with args.
25452 set dummy SetFile; ac_word=$2
25453 echo "$as_me:$LINENO: checking for $ac_word" >&5
25454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25455 if test "${ac_cv_prog_SETFILE+set}" = set; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 else
25458 if test -n "$SETFILE"; then
25459 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25460 else
25461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25462 for as_dir in $PATH
25463 do
25464 IFS=$as_save_IFS
25465 test -z "$as_dir" && as_dir=.
25466 for ac_exec_ext in '' $ac_executable_extensions; do
25467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25468 ac_cv_prog_SETFILE="SetFile"
25469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25470 break 2
25471 fi
25472 done
25473 done
25474
25475 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25476 fi
25477 fi
25478 SETFILE=$ac_cv_prog_SETFILE
25479 if test -n "$SETFILE"; then
25480 echo "$as_me:$LINENO: result: $SETFILE" >&5
25481 echo "${ECHO_T}$SETFILE" >&6
25482 else
25483 echo "$as_me:$LINENO: result: no" >&5
25484 echo "${ECHO_T}no" >&6
25485 fi
25486
25487 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25488 MACSETFILE="\$(SETFILE)"
25489 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25490 else
25491 if test "$wxUSE_PM" = 1; then
25492 MACRESCOMP="emxbind -ep"
25493 fi
25494 fi
25495
25496
25497 echo "$as_me:$LINENO: checking for mode_t" >&5
25498 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25499 if test "${ac_cv_type_mode_t+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502 cat >conftest.$ac_ext <<_ACEOF
25503 #line $LINENO "configure"
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 $ac_includes_default
25510 int
25511 main ()
25512 {
25513 if ((mode_t *) 0)
25514 return 0;
25515 if (sizeof (mode_t))
25516 return 0;
25517 ;
25518 return 0;
25519 }
25520 _ACEOF
25521 rm -f conftest.$ac_objext
25522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25523 (eval $ac_compile) 2>&5
25524 ac_status=$?
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -s conftest.$ac_objext'
25528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25529 (eval $ac_try) 2>&5
25530 ac_status=$?
25531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25532 (exit $ac_status); }; }; then
25533 ac_cv_type_mode_t=yes
25534 else
25535 echo "$as_me: failed program was:" >&5
25536 sed 's/^/| /' conftest.$ac_ext >&5
25537
25538 ac_cv_type_mode_t=no
25539 fi
25540 rm -f conftest.$ac_objext conftest.$ac_ext
25541 fi
25542 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25543 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25544 if test $ac_cv_type_mode_t = yes; then
25545 :
25546 else
25547
25548 cat >>confdefs.h <<_ACEOF
25549 #define mode_t int
25550 _ACEOF
25551
25552 fi
25553
25554 echo "$as_me:$LINENO: checking for off_t" >&5
25555 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25556 if test "${ac_cv_type_off_t+set}" = set; then
25557 echo $ECHO_N "(cached) $ECHO_C" >&6
25558 else
25559 cat >conftest.$ac_ext <<_ACEOF
25560 #line $LINENO "configure"
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 $ac_includes_default
25567 int
25568 main ()
25569 {
25570 if ((off_t *) 0)
25571 return 0;
25572 if (sizeof (off_t))
25573 return 0;
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 rm -f conftest.$ac_objext
25579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25580 (eval $ac_compile) 2>&5
25581 ac_status=$?
25582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583 (exit $ac_status); } &&
25584 { ac_try='test -s conftest.$ac_objext'
25585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586 (eval $ac_try) 2>&5
25587 ac_status=$?
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); }; }; then
25590 ac_cv_type_off_t=yes
25591 else
25592 echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 ac_cv_type_off_t=no
25596 fi
25597 rm -f conftest.$ac_objext conftest.$ac_ext
25598 fi
25599 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25600 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25601 if test $ac_cv_type_off_t = yes; then
25602 :
25603 else
25604
25605 cat >>confdefs.h <<_ACEOF
25606 #define off_t long
25607 _ACEOF
25608
25609 fi
25610
25611 echo "$as_me:$LINENO: checking for pid_t" >&5
25612 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25613 if test "${ac_cv_type_pid_t+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25615 else
25616 cat >conftest.$ac_ext <<_ACEOF
25617 #line $LINENO "configure"
25618 /* confdefs.h. */
25619 _ACEOF
25620 cat confdefs.h >>conftest.$ac_ext
25621 cat >>conftest.$ac_ext <<_ACEOF
25622 /* end confdefs.h. */
25623 $ac_includes_default
25624 int
25625 main ()
25626 {
25627 if ((pid_t *) 0)
25628 return 0;
25629 if (sizeof (pid_t))
25630 return 0;
25631 ;
25632 return 0;
25633 }
25634 _ACEOF
25635 rm -f conftest.$ac_objext
25636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25637 (eval $ac_compile) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); } &&
25641 { ac_try='test -s conftest.$ac_objext'
25642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25643 (eval $ac_try) 2>&5
25644 ac_status=$?
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); }; }; then
25647 ac_cv_type_pid_t=yes
25648 else
25649 echo "$as_me: failed program was:" >&5
25650 sed 's/^/| /' conftest.$ac_ext >&5
25651
25652 ac_cv_type_pid_t=no
25653 fi
25654 rm -f conftest.$ac_objext conftest.$ac_ext
25655 fi
25656 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25657 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25658 if test $ac_cv_type_pid_t = yes; then
25659 :
25660 else
25661
25662 cat >>confdefs.h <<_ACEOF
25663 #define pid_t int
25664 _ACEOF
25665
25666 fi
25667
25668 echo "$as_me:$LINENO: checking for size_t" >&5
25669 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25670 if test "${ac_cv_type_size_t+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673 cat >conftest.$ac_ext <<_ACEOF
25674 #line $LINENO "configure"
25675 /* confdefs.h. */
25676 _ACEOF
25677 cat confdefs.h >>conftest.$ac_ext
25678 cat >>conftest.$ac_ext <<_ACEOF
25679 /* end confdefs.h. */
25680 $ac_includes_default
25681 int
25682 main ()
25683 {
25684 if ((size_t *) 0)
25685 return 0;
25686 if (sizeof (size_t))
25687 return 0;
25688 ;
25689 return 0;
25690 }
25691 _ACEOF
25692 rm -f conftest.$ac_objext
25693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25694 (eval $ac_compile) 2>&5
25695 ac_status=$?
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } &&
25698 { ac_try='test -s conftest.$ac_objext'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; }; then
25704 ac_cv_type_size_t=yes
25705 else
25706 echo "$as_me: failed program was:" >&5
25707 sed 's/^/| /' conftest.$ac_ext >&5
25708
25709 ac_cv_type_size_t=no
25710 fi
25711 rm -f conftest.$ac_objext conftest.$ac_ext
25712 fi
25713 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25714 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25715 if test $ac_cv_type_size_t = yes; then
25716 :
25717 else
25718
25719 cat >>confdefs.h <<_ACEOF
25720 #define size_t unsigned
25721 _ACEOF
25722
25723 fi
25724
25725 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25726 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25727 if test "${ac_cv_type_uid_t+set}" = set; then
25728 echo $ECHO_N "(cached) $ECHO_C" >&6
25729 else
25730 cat >conftest.$ac_ext <<_ACEOF
25731 #line $LINENO "configure"
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737 #include <sys/types.h>
25738
25739 _ACEOF
25740 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25741 $EGREP "uid_t" >/dev/null 2>&1; then
25742 ac_cv_type_uid_t=yes
25743 else
25744 ac_cv_type_uid_t=no
25745 fi
25746 rm -f conftest*
25747
25748 fi
25749 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25750 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25751 if test $ac_cv_type_uid_t = no; then
25752
25753 cat >>confdefs.h <<\_ACEOF
25754 #define uid_t int
25755 _ACEOF
25756
25757
25758 cat >>confdefs.h <<\_ACEOF
25759 #define gid_t int
25760 _ACEOF
25761
25762 fi
25763
25764
25765
25766
25767 ac_ext=cc
25768 ac_cpp='$CXXCPP $CPPFLAGS'
25769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25772
25773 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25774 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25775 if test "${wx_cv_size_t_is_uint+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778
25779 cat >conftest.$ac_ext <<_ACEOF
25780 #line $LINENO "configure"
25781 /* confdefs.h. */
25782 _ACEOF
25783 cat confdefs.h >>conftest.$ac_ext
25784 cat >>conftest.$ac_ext <<_ACEOF
25785 /* end confdefs.h. */
25786 #include <stddef.h>
25787 int
25788 main ()
25789 {
25790
25791 return 0; }
25792
25793 struct Foo { void foo(size_t); void foo(unsigned int); };
25794
25795 int bar() {
25796
25797 ;
25798 return 0;
25799 }
25800 _ACEOF
25801 rm -f conftest.$ac_objext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25803 (eval $ac_compile) 2>&5
25804 ac_status=$?
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } &&
25807 { ac_try='test -s conftest.$ac_objext'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25810 ac_status=$?
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; }; then
25813 wx_cv_size_t_is_uint=no
25814 else
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.$ac_ext >&5
25817
25818 wx_cv_size_t_is_uint=yes
25819
25820 fi
25821 rm -f conftest.$ac_objext conftest.$ac_ext
25822
25823
25824 fi
25825 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25826 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25827
25828 if test "$wx_cv_size_t_is_uint" = "yes"; then
25829 cat >>confdefs.h <<\_ACEOF
25830 #define wxSIZE_T_IS_UINT 1
25831 _ACEOF
25832
25833 else
25834 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25835 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25836 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25838 else
25839 cat >conftest.$ac_ext <<_ACEOF
25840 #line $LINENO "configure"
25841 /* confdefs.h. */
25842 _ACEOF
25843 cat confdefs.h >>conftest.$ac_ext
25844 cat >>conftest.$ac_ext <<_ACEOF
25845 /* end confdefs.h. */
25846 #include <stddef.h>
25847 int
25848 main ()
25849 {
25850
25851 return 0; }
25852
25853 struct Foo { void foo(size_t); void foo(unsigned long); };
25854
25855 int bar() {
25856
25857 ;
25858 return 0;
25859 }
25860 _ACEOF
25861 rm -f conftest.$ac_objext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863 (eval $ac_compile) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try='test -s conftest.$ac_objext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25870 ac_status=$?
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 wx_cv_size_t_is_ulong=no
25874 else
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25877
25878 wx_cv_size_t_is_ulong=yes
25879
25880 fi
25881 rm -f conftest.$ac_objext conftest.$ac_ext
25882
25883 fi
25884 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25885 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25886
25887 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25888 cat >>confdefs.h <<\_ACEOF
25889 #define wxSIZE_T_IS_ULONG 1
25890 _ACEOF
25891
25892 fi
25893 fi
25894
25895 ac_ext=c
25896 ac_cpp='$CPP $CPPFLAGS'
25897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25900
25901
25902
25903 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25904 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25905 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25906 echo $ECHO_N "(cached) $ECHO_C" >&6
25907 else
25908
25909 cat >conftest.$ac_ext <<_ACEOF
25910 #line $LINENO "configure"
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 #include <pwd.h>
25917 int
25918 main ()
25919 {
25920
25921 char *p;
25922 struct passwd *pw;
25923 p = pw->pw_gecos;
25924
25925 ;
25926 return 0;
25927 }
25928 _ACEOF
25929 rm -f conftest.$ac_objext
25930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25931 (eval $ac_compile) 2>&5
25932 ac_status=$?
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } &&
25935 { ac_try='test -s conftest.$ac_objext'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25938 ac_status=$?
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; }; then
25941
25942 wx_cv_struct_pw_gecos=yes
25943
25944 else
25945 echo "$as_me: failed program was:" >&5
25946 sed 's/^/| /' conftest.$ac_ext >&5
25947
25948
25949 wx_cv_struct_pw_gecos=no
25950
25951
25952 fi
25953 rm -f conftest.$ac_objext conftest.$ac_ext
25954
25955
25956 fi
25957 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
25958 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
25959
25960 if test "$wx_cv_struct_pw_gecos" = "yes"; then
25961 cat >>confdefs.h <<\_ACEOF
25962 #define HAVE_PW_GECOS 1
25963 _ACEOF
25964
25965 fi
25966
25967
25968 if test "$wx_cv_sizeof_wchar_t" != "0"; then
25969 cat >>confdefs.h <<\_ACEOF
25970 #define wxUSE_WCHAR_T 1
25971 _ACEOF
25972
25973
25974 WCSLEN_FOUND=0
25975 WCHAR_LINK=
25976
25977 for ac_func in wcslen
25978 do
25979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25980 echo "$as_me:$LINENO: checking for $ac_func" >&5
25981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25982 if eval "test \"\${$as_ac_var+set}\" = set"; then
25983 echo $ECHO_N "(cached) $ECHO_C" >&6
25984 else
25985 cat >conftest.$ac_ext <<_ACEOF
25986 #line $LINENO "configure"
25987 /* confdefs.h. */
25988 _ACEOF
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 /* System header to define __stub macros and hopefully few prototypes,
25993 which can conflict with char $ac_func (); below.
25994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25995 <limits.h> exists even on freestanding compilers. */
25996 #ifdef __STDC__
25997 # include <limits.h>
25998 #else
25999 # include <assert.h>
26000 #endif
26001 /* Override any gcc2 internal prototype to avoid an error. */
26002 #ifdef __cplusplus
26003 extern "C"
26004 {
26005 #endif
26006 /* We use char because int might match the return type of a gcc2
26007 builtin and then its argument prototype would still apply. */
26008 char $ac_func ();
26009 /* The GNU C library defines this for functions which it implements
26010 to always fail with ENOSYS. Some functions are actually named
26011 something starting with __ and the normal name is an alias. */
26012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26013 choke me
26014 #else
26015 char (*f) () = $ac_func;
26016 #endif
26017 #ifdef __cplusplus
26018 }
26019 #endif
26020
26021 int
26022 main ()
26023 {
26024 return f != $ac_func;
26025 ;
26026 return 0;
26027 }
26028 _ACEOF
26029 rm -f conftest.$ac_objext conftest$ac_exeext
26030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26031 (eval $ac_link) 2>&5
26032 ac_status=$?
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try='test -s conftest$ac_exeext'
26036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26037 (eval $ac_try) 2>&5
26038 ac_status=$?
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); }; }; then
26041 eval "$as_ac_var=yes"
26042 else
26043 echo "$as_me: failed program was:" >&5
26044 sed 's/^/| /' conftest.$ac_ext >&5
26045
26046 eval "$as_ac_var=no"
26047 fi
26048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26049 fi
26050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26052 if test `eval echo '${'$as_ac_var'}'` = yes; then
26053 cat >>confdefs.h <<_ACEOF
26054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26055 _ACEOF
26056 WCSLEN_FOUND=1
26057 fi
26058 done
26059
26060
26061 if test "$WCSLEN_FOUND" = 0; then
26062 if test "$TOOLKIT" = "MSW"; then
26063 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26064 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26065 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 else
26068 ac_check_lib_save_LIBS=$LIBS
26069 LIBS="-lmsvcrt $LIBS"
26070 cat >conftest.$ac_ext <<_ACEOF
26071 #line $LINENO "configure"
26072 /* confdefs.h. */
26073 _ACEOF
26074 cat confdefs.h >>conftest.$ac_ext
26075 cat >>conftest.$ac_ext <<_ACEOF
26076 /* end confdefs.h. */
26077
26078 /* Override any gcc2 internal prototype to avoid an error. */
26079 #ifdef __cplusplus
26080 extern "C"
26081 #endif
26082 /* We use char because int might match the return type of a gcc2
26083 builtin and then its argument prototype would still apply. */
26084 char wcslen ();
26085 int
26086 main ()
26087 {
26088 wcslen ();
26089 ;
26090 return 0;
26091 }
26092 _ACEOF
26093 rm -f conftest.$ac_objext conftest$ac_exeext
26094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26095 (eval $ac_link) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try='test -s conftest$ac_exeext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 ac_cv_lib_msvcrt_wcslen=yes
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 ac_cv_lib_msvcrt_wcslen=no
26111 fi
26112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26113 LIBS=$ac_check_lib_save_LIBS
26114 fi
26115 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26116 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26117 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26118 WCHAR_OK=1
26119 fi
26120
26121 else
26122 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26123 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26124 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26126 else
26127 ac_check_lib_save_LIBS=$LIBS
26128 LIBS="-lw $LIBS"
26129 cat >conftest.$ac_ext <<_ACEOF
26130 #line $LINENO "configure"
26131 /* confdefs.h. */
26132 _ACEOF
26133 cat confdefs.h >>conftest.$ac_ext
26134 cat >>conftest.$ac_ext <<_ACEOF
26135 /* end confdefs.h. */
26136
26137 /* Override any gcc2 internal prototype to avoid an error. */
26138 #ifdef __cplusplus
26139 extern "C"
26140 #endif
26141 /* We use char because int might match the return type of a gcc2
26142 builtin and then its argument prototype would still apply. */
26143 char wcslen ();
26144 int
26145 main ()
26146 {
26147 wcslen ();
26148 ;
26149 return 0;
26150 }
26151 _ACEOF
26152 rm -f conftest.$ac_objext conftest$ac_exeext
26153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26154 (eval $ac_link) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 ac_cv_lib_w_wcslen=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26168
26169 ac_cv_lib_w_wcslen=no
26170 fi
26171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26172 LIBS=$ac_check_lib_save_LIBS
26173 fi
26174 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26175 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26176 if test $ac_cv_lib_w_wcslen = yes; then
26177
26178 WCHAR_LINK=" -lw"
26179 WCSLEN_FOUND=1
26180
26181 fi
26182
26183 fi
26184 fi
26185
26186 if test "$WCSLEN_FOUND" = 1; then
26187 cat >>confdefs.h <<\_ACEOF
26188 #define HAVE_WCSLEN 1
26189 _ACEOF
26190
26191 fi
26192
26193
26194 for ac_func in wcsrtombs
26195 do
26196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26197 echo "$as_me:$LINENO: checking for $ac_func" >&5
26198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26199 if eval "test \"\${$as_ac_var+set}\" = set"; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 else
26202 cat >conftest.$ac_ext <<_ACEOF
26203 #line $LINENO "configure"
26204 /* confdefs.h. */
26205 _ACEOF
26206 cat confdefs.h >>conftest.$ac_ext
26207 cat >>conftest.$ac_ext <<_ACEOF
26208 /* end confdefs.h. */
26209 /* System header to define __stub macros and hopefully few prototypes,
26210 which can conflict with char $ac_func (); below.
26211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26212 <limits.h> exists even on freestanding compilers. */
26213 #ifdef __STDC__
26214 # include <limits.h>
26215 #else
26216 # include <assert.h>
26217 #endif
26218 /* Override any gcc2 internal prototype to avoid an error. */
26219 #ifdef __cplusplus
26220 extern "C"
26221 {
26222 #endif
26223 /* We use char because int might match the return type of a gcc2
26224 builtin and then its argument prototype would still apply. */
26225 char $ac_func ();
26226 /* The GNU C library defines this for functions which it implements
26227 to always fail with ENOSYS. Some functions are actually named
26228 something starting with __ and the normal name is an alias. */
26229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26230 choke me
26231 #else
26232 char (*f) () = $ac_func;
26233 #endif
26234 #ifdef __cplusplus
26235 }
26236 #endif
26237
26238 int
26239 main ()
26240 {
26241 return f != $ac_func;
26242 ;
26243 return 0;
26244 }
26245 _ACEOF
26246 rm -f conftest.$ac_objext conftest$ac_exeext
26247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26248 (eval $ac_link) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } &&
26252 { ac_try='test -s conftest$ac_exeext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 eval "$as_ac_var=yes"
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 eval "$as_ac_var=no"
26264 fi
26265 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26266 fi
26267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26269 if test `eval echo '${'$as_ac_var'}'` = yes; then
26270 cat >>confdefs.h <<_ACEOF
26271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26272 _ACEOF
26273
26274 fi
26275 done
26276
26277 else
26278 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26279 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26280 fi
26281
26282
26283
26284 ac_ext=cc
26285 ac_cpp='$CXXCPP $CPPFLAGS'
26286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26289
26290
26291
26292 for ac_func in vsnprintf
26293 do
26294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26295 echo "$as_me:$LINENO: checking for $ac_func" >&5
26296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26297 if eval "test \"\${$as_ac_var+set}\" = set"; then
26298 echo $ECHO_N "(cached) $ECHO_C" >&6
26299 else
26300 cat >conftest.$ac_ext <<_ACEOF
26301 #line $LINENO "configure"
26302 /* confdefs.h. */
26303 _ACEOF
26304 cat confdefs.h >>conftest.$ac_ext
26305 cat >>conftest.$ac_ext <<_ACEOF
26306 /* end confdefs.h. */
26307 /* System header to define __stub macros and hopefully few prototypes,
26308 which can conflict with char $ac_func (); below.
26309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26310 <limits.h> exists even on freestanding compilers. */
26311 #ifdef __STDC__
26312 # include <limits.h>
26313 #else
26314 # include <assert.h>
26315 #endif
26316 /* Override any gcc2 internal prototype to avoid an error. */
26317 #ifdef __cplusplus
26318 extern "C"
26319 {
26320 #endif
26321 /* We use char because int might match the return type of a gcc2
26322 builtin and then its argument prototype would still apply. */
26323 char $ac_func ();
26324 /* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26328 choke me
26329 #else
26330 char (*f) () = $ac_func;
26331 #endif
26332 #ifdef __cplusplus
26333 }
26334 #endif
26335
26336 int
26337 main ()
26338 {
26339 return f != $ac_func;
26340 ;
26341 return 0;
26342 }
26343 _ACEOF
26344 rm -f conftest.$ac_objext conftest$ac_exeext
26345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26346 (eval $ac_link) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); } &&
26350 { ac_try='test -s conftest$ac_exeext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 eval "$as_ac_var=yes"
26357 else
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26360
26361 eval "$as_ac_var=no"
26362 fi
26363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26364 fi
26365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26367 if test `eval echo '${'$as_ac_var'}'` = yes; then
26368 cat >>confdefs.h <<_ACEOF
26369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26370 _ACEOF
26371
26372 fi
26373 done
26374
26375
26376 if test "$ac_cv_func_vsnprintf" = "yes"; then
26377 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26378 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26379 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26380 echo $ECHO_N "(cached) $ECHO_C" >&6
26381 else
26382
26383 cat >conftest.$ac_ext <<_ACEOF
26384 #line $LINENO "configure"
26385 /* confdefs.h. */
26386 _ACEOF
26387 cat confdefs.h >>conftest.$ac_ext
26388 cat >>conftest.$ac_ext <<_ACEOF
26389 /* end confdefs.h. */
26390
26391 #include <stdio.h>
26392 #include <stdarg.h>
26393
26394 int
26395 main ()
26396 {
26397
26398 char *buf;
26399 va_list ap;
26400 vsnprintf(buf, 10u, "%s", ap);
26401
26402 ;
26403 return 0;
26404 }
26405 _ACEOF
26406 rm -f conftest.$ac_objext
26407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26408 (eval $ac_compile) 2>&5
26409 ac_status=$?
26410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26411 (exit $ac_status); } &&
26412 { ac_try='test -s conftest.$ac_objext'
26413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26414 (eval $ac_try) 2>&5
26415 ac_status=$?
26416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26417 (exit $ac_status); }; }; then
26418 wx_cv_func_vsnprintf_decl=yes
26419 else
26420 echo "$as_me: failed program was:" >&5
26421 sed 's/^/| /' conftest.$ac_ext >&5
26422
26423 wx_cv_func_vsnprintf_decl=no
26424
26425 fi
26426 rm -f conftest.$ac_objext conftest.$ac_ext
26427
26428
26429 fi
26430 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26431 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26432
26433 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26434 cat >>confdefs.h <<\_ACEOF
26435 #define HAVE_VSNPRINTF_DECL 1
26436 _ACEOF
26437
26438 fi
26439 fi
26440
26441 if test "$wxUSE_UNICODE" = yes; then
26442
26443
26444
26445 for ac_func in fputwc wprintf vswprintf
26446 do
26447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26448 echo "$as_me:$LINENO: checking for $ac_func" >&5
26449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26450 if eval "test \"\${$as_ac_var+set}\" = set"; then
26451 echo $ECHO_N "(cached) $ECHO_C" >&6
26452 else
26453 cat >conftest.$ac_ext <<_ACEOF
26454 #line $LINENO "configure"
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 /* System header to define __stub macros and hopefully few prototypes,
26461 which can conflict with char $ac_func (); below.
26462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26463 <limits.h> exists even on freestanding compilers. */
26464 #ifdef __STDC__
26465 # include <limits.h>
26466 #else
26467 # include <assert.h>
26468 #endif
26469 /* Override any gcc2 internal prototype to avoid an error. */
26470 #ifdef __cplusplus
26471 extern "C"
26472 {
26473 #endif
26474 /* We use char because int might match the return type of a gcc2
26475 builtin and then its argument prototype would still apply. */
26476 char $ac_func ();
26477 /* The GNU C library defines this for functions which it implements
26478 to always fail with ENOSYS. Some functions are actually named
26479 something starting with __ and the normal name is an alias. */
26480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26481 choke me
26482 #else
26483 char (*f) () = $ac_func;
26484 #endif
26485 #ifdef __cplusplus
26486 }
26487 #endif
26488
26489 int
26490 main ()
26491 {
26492 return f != $ac_func;
26493 ;
26494 return 0;
26495 }
26496 _ACEOF
26497 rm -f conftest.$ac_objext conftest$ac_exeext
26498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26499 (eval $ac_link) 2>&5
26500 ac_status=$?
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try='test -s conftest$ac_exeext'
26504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26505 (eval $ac_try) 2>&5
26506 ac_status=$?
26507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26508 (exit $ac_status); }; }; then
26509 eval "$as_ac_var=yes"
26510 else
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26513
26514 eval "$as_ac_var=no"
26515 fi
26516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26517 fi
26518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26520 if test `eval echo '${'$as_ac_var'}'` = yes; then
26521 cat >>confdefs.h <<_ACEOF
26522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26523 _ACEOF
26524
26525 fi
26526 done
26527
26528
26529 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26530 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26531 cat >conftest.$ac_ext <<_ACEOF
26532 #line $LINENO "configure"
26533 /* confdefs.h. */
26534 _ACEOF
26535 cat confdefs.h >>conftest.$ac_ext
26536 cat >>conftest.$ac_ext <<_ACEOF
26537 /* end confdefs.h. */
26538 #include <wchar.h>
26539 int
26540 main ()
26541 {
26542 &_vsnwprintf;
26543 ;
26544 return 0;
26545 }
26546 _ACEOF
26547 rm -f conftest.$ac_objext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26549 (eval $ac_compile) 2>&5
26550 ac_status=$?
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } &&
26553 { ac_try='test -s conftest.$ac_objext'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; }; then
26559 echo "$as_me:$LINENO: result: yes" >&5
26560 echo "${ECHO_T}yes" >&6
26561 cat >>confdefs.h <<\_ACEOF
26562 #define HAVE__VSNWPRINTF 1
26563 _ACEOF
26564
26565 else
26566 echo "$as_me: failed program was:" >&5
26567 sed 's/^/| /' conftest.$ac_ext >&5
26568
26569 echo "$as_me:$LINENO: result: no" >&5
26570 echo "${ECHO_T}no" >&6
26571 fi
26572 rm -f conftest.$ac_objext conftest.$ac_ext;
26573 fi
26574
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580
26581
26582
26583
26584 if test "$TOOLKIT" != "MSW"; then
26585
26586
26587
26588
26589 ac_ext=cc
26590 ac_cpp='$CXXCPP $CPPFLAGS'
26591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26594
26595
26596
26597
26598 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26599 if test "${with_libiconv_prefix+set}" = set; then
26600 withval="$with_libiconv_prefix"
26601
26602 for dir in `echo "$withval" | tr : ' '`; do
26603 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26604 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26605 done
26606
26607 fi;
26608
26609 echo "$as_me:$LINENO: checking for iconv" >&5
26610 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26611 if test "${am_cv_func_iconv+set}" = set; then
26612 echo $ECHO_N "(cached) $ECHO_C" >&6
26613 else
26614
26615 am_cv_func_iconv="no, consider installing GNU libiconv"
26616 am_cv_lib_iconv=no
26617 cat >conftest.$ac_ext <<_ACEOF
26618 #line $LINENO "configure"
26619 /* confdefs.h. */
26620 _ACEOF
26621 cat confdefs.h >>conftest.$ac_ext
26622 cat >>conftest.$ac_ext <<_ACEOF
26623 /* end confdefs.h. */
26624 #include <stdlib.h>
26625 #include <iconv.h>
26626 int
26627 main ()
26628 {
26629 iconv_t cd = iconv_open("","");
26630 iconv(cd,NULL,NULL,NULL,NULL);
26631 iconv_close(cd);
26632 ;
26633 return 0;
26634 }
26635 _ACEOF
26636 rm -f conftest.$ac_objext conftest$ac_exeext
26637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26638 (eval $ac_link) 2>&5
26639 ac_status=$?
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try='test -s conftest$ac_exeext'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; }; then
26648 am_cv_func_iconv=yes
26649 else
26650 echo "$as_me: failed program was:" >&5
26651 sed 's/^/| /' conftest.$ac_ext >&5
26652
26653 fi
26654 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26655 if test "$am_cv_func_iconv" != yes; then
26656 am_save_LIBS="$LIBS"
26657 LIBS="$LIBS -liconv"
26658 cat >conftest.$ac_ext <<_ACEOF
26659 #line $LINENO "configure"
26660 /* confdefs.h. */
26661 _ACEOF
26662 cat confdefs.h >>conftest.$ac_ext
26663 cat >>conftest.$ac_ext <<_ACEOF
26664 /* end confdefs.h. */
26665 #include <stdlib.h>
26666 #include <iconv.h>
26667 int
26668 main ()
26669 {
26670 iconv_t cd = iconv_open("","");
26671 iconv(cd,NULL,NULL,NULL,NULL);
26672 iconv_close(cd);
26673 ;
26674 return 0;
26675 }
26676 _ACEOF
26677 rm -f conftest.$ac_objext conftest$ac_exeext
26678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26679 (eval $ac_link) 2>&5
26680 ac_status=$?
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } &&
26683 { ac_try='test -s conftest$ac_exeext'
26684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26685 (eval $ac_try) 2>&5
26686 ac_status=$?
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 am_cv_lib_iconv=yes
26690 am_cv_func_iconv=yes
26691 else
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26694
26695 fi
26696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26697 LIBS="$am_save_LIBS"
26698 fi
26699
26700 fi
26701 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26702 echo "${ECHO_T}$am_cv_func_iconv" >&6
26703 if test "$am_cv_func_iconv" = yes; then
26704
26705 cat >>confdefs.h <<\_ACEOF
26706 #define HAVE_ICONV 1
26707 _ACEOF
26708
26709 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26710 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26711 if test "${wx_cv_func_iconv_const+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 else
26714 cat >conftest.$ac_ext <<_ACEOF
26715 #line $LINENO "configure"
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721
26722 #include <stdlib.h>
26723 #include <iconv.h>
26724 extern
26725 #ifdef __cplusplus
26726 "C"
26727 #endif
26728 #if defined(__STDC__) || defined(__cplusplus)
26729 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26730 #else
26731 size_t iconv();
26732 #endif
26733
26734 int
26735 main ()
26736 {
26737
26738 ;
26739 return 0;
26740 }
26741 _ACEOF
26742 rm -f conftest.$ac_objext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26744 (eval $ac_compile) 2>&5
26745 ac_status=$?
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try='test -s conftest.$ac_objext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26751 ac_status=$?
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26754 wx_cv_func_iconv_const="no"
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 wx_cv_func_iconv_const="yes"
26760
26761 fi
26762 rm -f conftest.$ac_objext conftest.$ac_ext
26763
26764 fi
26765 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26766 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26767
26768 iconv_const=
26769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26770 iconv_const="const"
26771 fi
26772
26773
26774 cat >>confdefs.h <<_ACEOF
26775 #define ICONV_CONST $iconv_const
26776 _ACEOF
26777
26778 fi
26779 LIBICONV=
26780 if test "$am_cv_lib_iconv" = yes; then
26781 LIBICONV="-liconv"
26782 fi
26783
26784
26785 LIBS="$LIBICONV $LIBS"
26786 ac_ext=c
26787 ac_cpp='$CPP $CPPFLAGS'
26788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26791
26792
26793 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26794
26795 for ac_func in sigaction
26796 do
26797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26798 echo "$as_me:$LINENO: checking for $ac_func" >&5
26799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26800 if eval "test \"\${$as_ac_var+set}\" = set"; then
26801 echo $ECHO_N "(cached) $ECHO_C" >&6
26802 else
26803 cat >conftest.$ac_ext <<_ACEOF
26804 #line $LINENO "configure"
26805 /* confdefs.h. */
26806 _ACEOF
26807 cat confdefs.h >>conftest.$ac_ext
26808 cat >>conftest.$ac_ext <<_ACEOF
26809 /* end confdefs.h. */
26810 /* System header to define __stub macros and hopefully few prototypes,
26811 which can conflict with char $ac_func (); below.
26812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26813 <limits.h> exists even on freestanding compilers. */
26814 #ifdef __STDC__
26815 # include <limits.h>
26816 #else
26817 # include <assert.h>
26818 #endif
26819 /* Override any gcc2 internal prototype to avoid an error. */
26820 #ifdef __cplusplus
26821 extern "C"
26822 {
26823 #endif
26824 /* We use char because int might match the return type of a gcc2
26825 builtin and then its argument prototype would still apply. */
26826 char $ac_func ();
26827 /* The GNU C library defines this for functions which it implements
26828 to always fail with ENOSYS. Some functions are actually named
26829 something starting with __ and the normal name is an alias. */
26830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26831 choke me
26832 #else
26833 char (*f) () = $ac_func;
26834 #endif
26835 #ifdef __cplusplus
26836 }
26837 #endif
26838
26839 int
26840 main ()
26841 {
26842 return f != $ac_func;
26843 ;
26844 return 0;
26845 }
26846 _ACEOF
26847 rm -f conftest.$ac_objext conftest$ac_exeext
26848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26849 (eval $ac_link) 2>&5
26850 ac_status=$?
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } &&
26853 { ac_try='test -s conftest$ac_exeext'
26854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26855 (eval $ac_try) 2>&5
26856 ac_status=$?
26857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26858 (exit $ac_status); }; }; then
26859 eval "$as_ac_var=yes"
26860 else
26861 echo "$as_me: failed program was:" >&5
26862 sed 's/^/| /' conftest.$ac_ext >&5
26863
26864 eval "$as_ac_var=no"
26865 fi
26866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26867 fi
26868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26870 if test `eval echo '${'$as_ac_var'}'` = yes; then
26871 cat >>confdefs.h <<_ACEOF
26872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26873 _ACEOF
26874
26875 fi
26876 done
26877
26878
26879 if test "$ac_cv_func_sigaction" = "no"; then
26880 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26881 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26882 wxUSE_ON_FATAL_EXCEPTION=no
26883 fi
26884
26885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26886
26887
26888 ac_ext=cc
26889 ac_cpp='$CXXCPP $CPPFLAGS'
26890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26893
26894
26895 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26896 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26897 if test "${wx_cv_type_sa_handler+set}" = set; then
26898 echo $ECHO_N "(cached) $ECHO_C" >&6
26899 else
26900
26901 cat >conftest.$ac_ext <<_ACEOF
26902 #line $LINENO "configure"
26903 /* confdefs.h. */
26904 _ACEOF
26905 cat confdefs.h >>conftest.$ac_ext
26906 cat >>conftest.$ac_ext <<_ACEOF
26907 /* end confdefs.h. */
26908 #include <signal.h>
26909 int
26910 main ()
26911 {
26912
26913 extern void testSigHandler(int);
26914
26915 struct sigaction sa;
26916 sa.sa_handler = testSigHandler;
26917
26918 ;
26919 return 0;
26920 }
26921 _ACEOF
26922 rm -f conftest.$ac_objext
26923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26924 (eval $ac_compile) 2>&5
26925 ac_status=$?
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -s conftest.$ac_objext'
26929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26930 (eval $ac_try) 2>&5
26931 ac_status=$?
26932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26933 (exit $ac_status); }; }; then
26934
26935 wx_cv_type_sa_handler=int
26936
26937 else
26938 echo "$as_me: failed program was:" >&5
26939 sed 's/^/| /' conftest.$ac_ext >&5
26940
26941
26942 wx_cv_type_sa_handler=void
26943
26944 fi
26945 rm -f conftest.$ac_objext conftest.$ac_ext
26946
26947 fi
26948 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
26949 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
26950
26951 ac_ext=c
26952 ac_cpp='$CPP $CPPFLAGS'
26953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26956
26957
26958 cat >>confdefs.h <<_ACEOF
26959 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
26960 _ACEOF
26961
26962 fi
26963 fi
26964
26965
26966
26967 for ac_func in mkstemp mktemp
26968 do
26969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26970 echo "$as_me:$LINENO: checking for $ac_func" >&5
26971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26972 if eval "test \"\${$as_ac_var+set}\" = set"; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26975 cat >conftest.$ac_ext <<_ACEOF
26976 #line $LINENO "configure"
26977 /* confdefs.h. */
26978 _ACEOF
26979 cat confdefs.h >>conftest.$ac_ext
26980 cat >>conftest.$ac_ext <<_ACEOF
26981 /* end confdefs.h. */
26982 /* System header to define __stub macros and hopefully few prototypes,
26983 which can conflict with char $ac_func (); below.
26984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26985 <limits.h> exists even on freestanding compilers. */
26986 #ifdef __STDC__
26987 # include <limits.h>
26988 #else
26989 # include <assert.h>
26990 #endif
26991 /* Override any gcc2 internal prototype to avoid an error. */
26992 #ifdef __cplusplus
26993 extern "C"
26994 {
26995 #endif
26996 /* We use char because int might match the return type of a gcc2
26997 builtin and then its argument prototype would still apply. */
26998 char $ac_func ();
26999 /* The GNU C library defines this for functions which it implements
27000 to always fail with ENOSYS. Some functions are actually named
27001 something starting with __ and the normal name is an alias. */
27002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27003 choke me
27004 #else
27005 char (*f) () = $ac_func;
27006 #endif
27007 #ifdef __cplusplus
27008 }
27009 #endif
27010
27011 int
27012 main ()
27013 {
27014 return f != $ac_func;
27015 ;
27016 return 0;
27017 }
27018 _ACEOF
27019 rm -f conftest.$ac_objext conftest$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021 (eval $ac_link) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); } &&
27025 { ac_try='test -s conftest$ac_exeext'
27026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27027 (eval $ac_try) 2>&5
27028 ac_status=$?
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); }; }; then
27031 eval "$as_ac_var=yes"
27032 else
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.$ac_ext >&5
27035
27036 eval "$as_ac_var=no"
27037 fi
27038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27039 fi
27040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27042 if test `eval echo '${'$as_ac_var'}'` = yes; then
27043 cat >>confdefs.h <<_ACEOF
27044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27045 _ACEOF
27046 break
27047 fi
27048 done
27049
27050
27051 echo "$as_me:$LINENO: checking for statfs" >&5
27052 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27053 if test "${wx_cv_func_statfs+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27055 else
27056 cat >conftest.$ac_ext <<_ACEOF
27057 #line $LINENO "configure"
27058 /* confdefs.h. */
27059 _ACEOF
27060 cat confdefs.h >>conftest.$ac_ext
27061 cat >>conftest.$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27063
27064 #if defined(__BSD__)
27065 #include <sys/param.h>
27066 #include <sys/mount.h>
27067 #else
27068 #include <sys/vfs.h>
27069 #endif
27070
27071 int
27072 main ()
27073 {
27074
27075 long l;
27076 struct statfs fs;
27077 statfs("/", &fs);
27078 l = fs.f_bsize;
27079 l += fs.f_blocks;
27080 l += fs.f_bavail;
27081
27082 ;
27083 return 0;
27084 }
27085 _ACEOF
27086 rm -f conftest.$ac_objext
27087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27088 (eval $ac_compile) 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } &&
27092 { ac_try='test -s conftest.$ac_objext'
27093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27094 (eval $ac_try) 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); }; }; then
27098
27099 wx_cv_func_statfs=yes
27100
27101 else
27102 echo "$as_me: failed program was:" >&5
27103 sed 's/^/| /' conftest.$ac_ext >&5
27104
27105
27106 wx_cv_func_statfs=no
27107
27108
27109 fi
27110 rm -f conftest.$ac_objext conftest.$ac_ext
27111
27112 fi
27113 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27114 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27115
27116 if test "$wx_cv_func_statfs" = "yes"; then
27117 wx_cv_type_statvfs_t="struct statfs"
27118 cat >>confdefs.h <<\_ACEOF
27119 #define HAVE_STATFS 1
27120 _ACEOF
27121
27122 else
27123 echo "$as_me:$LINENO: checking for statvfs" >&5
27124 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27125 if test "${wx_cv_func_statvfs+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27127 else
27128 cat >conftest.$ac_ext <<_ACEOF
27129 #line $LINENO "configure"
27130 /* confdefs.h. */
27131 _ACEOF
27132 cat confdefs.h >>conftest.$ac_ext
27133 cat >>conftest.$ac_ext <<_ACEOF
27134 /* end confdefs.h. */
27135
27136 #include <stddef.h>
27137 #include <sys/statvfs.h>
27138
27139 int
27140 main ()
27141 {
27142
27143 statvfs("/", NULL);
27144
27145 ;
27146 return 0;
27147 }
27148 _ACEOF
27149 rm -f conftest.$ac_objext
27150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27151 (eval $ac_compile) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); } &&
27155 { ac_try='test -s conftest.$ac_objext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 wx_cv_func_statvfs=yes
27162 else
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27165
27166 wx_cv_func_statvfs=no
27167
27168 fi
27169 rm -f conftest.$ac_objext conftest.$ac_ext
27170
27171 fi
27172 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27173 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27174
27175 if test "$wx_cv_func_statvfs" = "yes"; then
27176
27177
27178 ac_ext=cc
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184
27185 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27186 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27187 if test "${wx_cv_type_statvfs_t+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27189 else
27190 cat >conftest.$ac_ext <<_ACEOF
27191 #line $LINENO "configure"
27192 /* confdefs.h. */
27193 _ACEOF
27194 cat confdefs.h >>conftest.$ac_ext
27195 cat >>conftest.$ac_ext <<_ACEOF
27196 /* end confdefs.h. */
27197
27198 #include <sys/statvfs.h>
27199
27200 int
27201 main ()
27202 {
27203
27204 long l;
27205 statvfs_t fs;
27206 statvfs("/", &fs);
27207 l = fs.f_bsize;
27208 l += fs.f_blocks;
27209 l += fs.f_bavail;
27210
27211 ;
27212 return 0;
27213 }
27214 _ACEOF
27215 rm -f conftest.$ac_objext
27216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27217 (eval $ac_compile) 2>&5
27218 ac_status=$?
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -s conftest.$ac_objext'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; }; then
27227 wx_cv_type_statvfs_t=statvfs_t
27228 else
27229 echo "$as_me: failed program was:" >&5
27230 sed 's/^/| /' conftest.$ac_ext >&5
27231
27232
27233 cat >conftest.$ac_ext <<_ACEOF
27234 #line $LINENO "configure"
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240
27241 #include <sys/statvfs.h>
27242
27243 int
27244 main ()
27245 {
27246
27247 long l;
27248 struct statvfs fs;
27249 statvfs("/", &fs);
27250 l = fs.f_bsize;
27251 l += fs.f_blocks;
27252 l += fs.f_bavail;
27253
27254 ;
27255 return 0;
27256 }
27257 _ACEOF
27258 rm -f conftest.$ac_objext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27260 (eval $ac_compile) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); } &&
27264 { ac_try='test -s conftest.$ac_objext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 wx_cv_type_statvfs_t="struct statvfs"
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27274
27275 wx_cv_type_statvfs_t="unknown"
27276
27277 fi
27278 rm -f conftest.$ac_objext conftest.$ac_ext
27279
27280
27281 fi
27282 rm -f conftest.$ac_objext conftest.$ac_ext
27283
27284 fi
27285 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27286 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27287
27288 ac_ext=c
27289 ac_cpp='$CPP $CPPFLAGS'
27290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27293
27294
27295 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27296 cat >>confdefs.h <<\_ACEOF
27297 #define HAVE_STATVFS 1
27298 _ACEOF
27299
27300 fi
27301 else
27302 wx_cv_type_statvfs_t="unknown"
27303 fi
27304 fi
27305
27306 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27307 cat >>confdefs.h <<_ACEOF
27308 #define WX_STATFS_T $wx_cv_type_statvfs_t
27309 _ACEOF
27310
27311 else
27312 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27313 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27314 fi
27315
27316 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27317
27318
27319 for ac_func in fcntl flock
27320 do
27321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27322 echo "$as_me:$LINENO: checking for $ac_func" >&5
27323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27324 if eval "test \"\${$as_ac_var+set}\" = set"; then
27325 echo $ECHO_N "(cached) $ECHO_C" >&6
27326 else
27327 cat >conftest.$ac_ext <<_ACEOF
27328 #line $LINENO "configure"
27329 /* confdefs.h. */
27330 _ACEOF
27331 cat confdefs.h >>conftest.$ac_ext
27332 cat >>conftest.$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27334 /* System header to define __stub macros and hopefully few prototypes,
27335 which can conflict with char $ac_func (); below.
27336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27337 <limits.h> exists even on freestanding compilers. */
27338 #ifdef __STDC__
27339 # include <limits.h>
27340 #else
27341 # include <assert.h>
27342 #endif
27343 /* Override any gcc2 internal prototype to avoid an error. */
27344 #ifdef __cplusplus
27345 extern "C"
27346 {
27347 #endif
27348 /* We use char because int might match the return type of a gcc2
27349 builtin and then its argument prototype would still apply. */
27350 char $ac_func ();
27351 /* The GNU C library defines this for functions which it implements
27352 to always fail with ENOSYS. Some functions are actually named
27353 something starting with __ and the normal name is an alias. */
27354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27355 choke me
27356 #else
27357 char (*f) () = $ac_func;
27358 #endif
27359 #ifdef __cplusplus
27360 }
27361 #endif
27362
27363 int
27364 main ()
27365 {
27366 return f != $ac_func;
27367 ;
27368 return 0;
27369 }
27370 _ACEOF
27371 rm -f conftest.$ac_objext conftest$ac_exeext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27373 (eval $ac_link) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try='test -s conftest$ac_exeext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 eval "$as_ac_var=yes"
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 eval "$as_ac_var=no"
27389 fi
27390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27391 fi
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27394 if test `eval echo '${'$as_ac_var'}'` = yes; then
27395 cat >>confdefs.h <<_ACEOF
27396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27397 _ACEOF
27398 break
27399 fi
27400 done
27401
27402
27403 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27404 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27405 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27406 wxUSE_SNGLINST_CHECKER=no
27407 fi
27408 fi
27409
27410
27411 for ac_func in timegm
27412 do
27413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27414 echo "$as_me:$LINENO: checking for $ac_func" >&5
27415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27416 if eval "test \"\${$as_ac_var+set}\" = set"; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27418 else
27419 cat >conftest.$ac_ext <<_ACEOF
27420 #line $LINENO "configure"
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426 /* System header to define __stub macros and hopefully few prototypes,
27427 which can conflict with char $ac_func (); below.
27428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27429 <limits.h> exists even on freestanding compilers. */
27430 #ifdef __STDC__
27431 # include <limits.h>
27432 #else
27433 # include <assert.h>
27434 #endif
27435 /* Override any gcc2 internal prototype to avoid an error. */
27436 #ifdef __cplusplus
27437 extern "C"
27438 {
27439 #endif
27440 /* We use char because int might match the return type of a gcc2
27441 builtin and then its argument prototype would still apply. */
27442 char $ac_func ();
27443 /* The GNU C library defines this for functions which it implements
27444 to always fail with ENOSYS. Some functions are actually named
27445 something starting with __ and the normal name is an alias. */
27446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27447 choke me
27448 #else
27449 char (*f) () = $ac_func;
27450 #endif
27451 #ifdef __cplusplus
27452 }
27453 #endif
27454
27455 int
27456 main ()
27457 {
27458 return f != $ac_func;
27459 ;
27460 return 0;
27461 }
27462 _ACEOF
27463 rm -f conftest.$ac_objext conftest$ac_exeext
27464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27465 (eval $ac_link) 2>&5
27466 ac_status=$?
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try='test -s conftest$ac_exeext'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; }; then
27475 eval "$as_ac_var=yes"
27476 else
27477 echo "$as_me: failed program was:" >&5
27478 sed 's/^/| /' conftest.$ac_ext >&5
27479
27480 eval "$as_ac_var=no"
27481 fi
27482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27483 fi
27484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27486 if test `eval echo '${'$as_ac_var'}'` = yes; then
27487 cat >>confdefs.h <<_ACEOF
27488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27489 _ACEOF
27490
27491 fi
27492 done
27493
27494
27495
27496
27497 for ac_func in putenv setenv
27498 do
27499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27500 echo "$as_me:$LINENO: checking for $ac_func" >&5
27501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27502 if eval "test \"\${$as_ac_var+set}\" = set"; then
27503 echo $ECHO_N "(cached) $ECHO_C" >&6
27504 else
27505 cat >conftest.$ac_ext <<_ACEOF
27506 #line $LINENO "configure"
27507 /* confdefs.h. */
27508 _ACEOF
27509 cat confdefs.h >>conftest.$ac_ext
27510 cat >>conftest.$ac_ext <<_ACEOF
27511 /* end confdefs.h. */
27512 /* System header to define __stub macros and hopefully few prototypes,
27513 which can conflict with char $ac_func (); below.
27514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27515 <limits.h> exists even on freestanding compilers. */
27516 #ifdef __STDC__
27517 # include <limits.h>
27518 #else
27519 # include <assert.h>
27520 #endif
27521 /* Override any gcc2 internal prototype to avoid an error. */
27522 #ifdef __cplusplus
27523 extern "C"
27524 {
27525 #endif
27526 /* We use char because int might match the return type of a gcc2
27527 builtin and then its argument prototype would still apply. */
27528 char $ac_func ();
27529 /* The GNU C library defines this for functions which it implements
27530 to always fail with ENOSYS. Some functions are actually named
27531 something starting with __ and the normal name is an alias. */
27532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27533 choke me
27534 #else
27535 char (*f) () = $ac_func;
27536 #endif
27537 #ifdef __cplusplus
27538 }
27539 #endif
27540
27541 int
27542 main ()
27543 {
27544 return f != $ac_func;
27545 ;
27546 return 0;
27547 }
27548 _ACEOF
27549 rm -f conftest.$ac_objext conftest$ac_exeext
27550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27551 (eval $ac_link) 2>&5
27552 ac_status=$?
27553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27554 (exit $ac_status); } &&
27555 { ac_try='test -s conftest$ac_exeext'
27556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27557 (eval $ac_try) 2>&5
27558 ac_status=$?
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); }; }; then
27561 eval "$as_ac_var=yes"
27562 else
27563 echo "$as_me: failed program was:" >&5
27564 sed 's/^/| /' conftest.$ac_ext >&5
27565
27566 eval "$as_ac_var=no"
27567 fi
27568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27569 fi
27570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27572 if test `eval echo '${'$as_ac_var'}'` = yes; then
27573 cat >>confdefs.h <<_ACEOF
27574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27575 _ACEOF
27576 break
27577 fi
27578 done
27579
27580
27581 HAVE_SOME_SLEEP_FUNC=0
27582 if test "$USE_BEOS" = 1; then
27583 cat >>confdefs.h <<\_ACEOF
27584 #define HAVE_SLEEP 1
27585 _ACEOF
27586
27587 HAVE_SOME_SLEEP_FUNC=1
27588 fi
27589
27590 if test "$USE_DARWIN" = 1; then
27591 cat >>confdefs.h <<\_ACEOF
27592 #define HAVE_USLEEP 1
27593 _ACEOF
27594
27595 HAVE_SOME_SLEEP_FUNC=1
27596 fi
27597
27598 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27599 POSIX4_LINK=
27600
27601 for ac_func in nanosleep
27602 do
27603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27604 echo "$as_me:$LINENO: checking for $ac_func" >&5
27605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27606 if eval "test \"\${$as_ac_var+set}\" = set"; then
27607 echo $ECHO_N "(cached) $ECHO_C" >&6
27608 else
27609 cat >conftest.$ac_ext <<_ACEOF
27610 #line $LINENO "configure"
27611 /* confdefs.h. */
27612 _ACEOF
27613 cat confdefs.h >>conftest.$ac_ext
27614 cat >>conftest.$ac_ext <<_ACEOF
27615 /* end confdefs.h. */
27616 /* System header to define __stub macros and hopefully few prototypes,
27617 which can conflict with char $ac_func (); below.
27618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27619 <limits.h> exists even on freestanding compilers. */
27620 #ifdef __STDC__
27621 # include <limits.h>
27622 #else
27623 # include <assert.h>
27624 #endif
27625 /* Override any gcc2 internal prototype to avoid an error. */
27626 #ifdef __cplusplus
27627 extern "C"
27628 {
27629 #endif
27630 /* We use char because int might match the return type of a gcc2
27631 builtin and then its argument prototype would still apply. */
27632 char $ac_func ();
27633 /* The GNU C library defines this for functions which it implements
27634 to always fail with ENOSYS. Some functions are actually named
27635 something starting with __ and the normal name is an alias. */
27636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27637 choke me
27638 #else
27639 char (*f) () = $ac_func;
27640 #endif
27641 #ifdef __cplusplus
27642 }
27643 #endif
27644
27645 int
27646 main ()
27647 {
27648 return f != $ac_func;
27649 ;
27650 return 0;
27651 }
27652 _ACEOF
27653 rm -f conftest.$ac_objext conftest$ac_exeext
27654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } &&
27659 { ac_try='test -s conftest$ac_exeext'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27662 ac_status=$?
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; }; then
27665 eval "$as_ac_var=yes"
27666 else
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27669
27670 eval "$as_ac_var=no"
27671 fi
27672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27673 fi
27674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27676 if test `eval echo '${'$as_ac_var'}'` = yes; then
27677 cat >>confdefs.h <<_ACEOF
27678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27679 _ACEOF
27680 cat >>confdefs.h <<\_ACEOF
27681 #define HAVE_NANOSLEEP 1
27682 _ACEOF
27683
27684 else
27685
27686 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27687 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27688 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27689 echo $ECHO_N "(cached) $ECHO_C" >&6
27690 else
27691 ac_check_lib_save_LIBS=$LIBS
27692 LIBS="-lposix4 $LIBS"
27693 cat >conftest.$ac_ext <<_ACEOF
27694 #line $LINENO "configure"
27695 /* confdefs.h. */
27696 _ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700
27701 /* Override any gcc2 internal prototype to avoid an error. */
27702 #ifdef __cplusplus
27703 extern "C"
27704 #endif
27705 /* We use char because int might match the return type of a gcc2
27706 builtin and then its argument prototype would still apply. */
27707 char nanosleep ();
27708 int
27709 main ()
27710 {
27711 nanosleep ();
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>&5
27719 ac_status=$?
27720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27721 (exit $ac_status); } &&
27722 { ac_try='test -s conftest$ac_exeext'
27723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27724 (eval $ac_try) 2>&5
27725 ac_status=$?
27726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 (exit $ac_status); }; }; then
27728 ac_cv_lib_posix4_nanosleep=yes
27729 else
27730 echo "$as_me: failed program was:" >&5
27731 sed 's/^/| /' conftest.$ac_ext >&5
27732
27733 ac_cv_lib_posix4_nanosleep=no
27734 fi
27735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27736 LIBS=$ac_check_lib_save_LIBS
27737 fi
27738 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27739 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27740 if test $ac_cv_lib_posix4_nanosleep = yes; then
27741
27742 cat >>confdefs.h <<\_ACEOF
27743 #define HAVE_NANOSLEEP 1
27744 _ACEOF
27745
27746 POSIX4_LINK=" -lposix4"
27747
27748 else
27749
27750
27751 for ac_func in usleep
27752 do
27753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27754 echo "$as_me:$LINENO: checking for $ac_func" >&5
27755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27756 if eval "test \"\${$as_ac_var+set}\" = set"; then
27757 echo $ECHO_N "(cached) $ECHO_C" >&6
27758 else
27759 cat >conftest.$ac_ext <<_ACEOF
27760 #line $LINENO "configure"
27761 /* confdefs.h. */
27762 _ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* System header to define __stub macros and hopefully few prototypes,
27767 which can conflict with char $ac_func (); below.
27768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27769 <limits.h> exists even on freestanding compilers. */
27770 #ifdef __STDC__
27771 # include <limits.h>
27772 #else
27773 # include <assert.h>
27774 #endif
27775 /* Override any gcc2 internal prototype to avoid an error. */
27776 #ifdef __cplusplus
27777 extern "C"
27778 {
27779 #endif
27780 /* We use char because int might match the return type of a gcc2
27781 builtin and then its argument prototype would still apply. */
27782 char $ac_func ();
27783 /* The GNU C library defines this for functions which it implements
27784 to always fail with ENOSYS. Some functions are actually named
27785 something starting with __ and the normal name is an alias. */
27786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27787 choke me
27788 #else
27789 char (*f) () = $ac_func;
27790 #endif
27791 #ifdef __cplusplus
27792 }
27793 #endif
27794
27795 int
27796 main ()
27797 {
27798 return f != $ac_func;
27799 ;
27800 return 0;
27801 }
27802 _ACEOF
27803 rm -f conftest.$ac_objext conftest$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>&5
27806 ac_status=$?
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); } &&
27809 { ac_try='test -s conftest$ac_exeext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27812 ac_status=$?
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 eval "$as_ac_var=yes"
27816 else
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.$ac_ext >&5
27819
27820 eval "$as_ac_var=no"
27821 fi
27822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27823 fi
27824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27826 if test `eval echo '${'$as_ac_var'}'` = yes; then
27827 cat >>confdefs.h <<_ACEOF
27828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27829 _ACEOF
27830 cat >>confdefs.h <<\_ACEOF
27831 #define HAVE_USLEEP 1
27832 _ACEOF
27833
27834 else
27835 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27836 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27837
27838 fi
27839 done
27840
27841
27842
27843 fi
27844
27845
27846
27847 fi
27848 done
27849
27850 fi
27851
27852
27853
27854 for ac_func in uname gethostname
27855 do
27856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27857 echo "$as_me:$LINENO: checking for $ac_func" >&5
27858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27859 if eval "test \"\${$as_ac_var+set}\" = set"; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27861 else
27862 cat >conftest.$ac_ext <<_ACEOF
27863 #line $LINENO "configure"
27864 /* confdefs.h. */
27865 _ACEOF
27866 cat confdefs.h >>conftest.$ac_ext
27867 cat >>conftest.$ac_ext <<_ACEOF
27868 /* end confdefs.h. */
27869 /* System header to define __stub macros and hopefully few prototypes,
27870 which can conflict with char $ac_func (); below.
27871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27872 <limits.h> exists even on freestanding compilers. */
27873 #ifdef __STDC__
27874 # include <limits.h>
27875 #else
27876 # include <assert.h>
27877 #endif
27878 /* Override any gcc2 internal prototype to avoid an error. */
27879 #ifdef __cplusplus
27880 extern "C"
27881 {
27882 #endif
27883 /* We use char because int might match the return type of a gcc2
27884 builtin and then its argument prototype would still apply. */
27885 char $ac_func ();
27886 /* The GNU C library defines this for functions which it implements
27887 to always fail with ENOSYS. Some functions are actually named
27888 something starting with __ and the normal name is an alias. */
27889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27890 choke me
27891 #else
27892 char (*f) () = $ac_func;
27893 #endif
27894 #ifdef __cplusplus
27895 }
27896 #endif
27897
27898 int
27899 main ()
27900 {
27901 return f != $ac_func;
27902 ;
27903 return 0;
27904 }
27905 _ACEOF
27906 rm -f conftest.$ac_objext conftest$ac_exeext
27907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27908 (eval $ac_link) 2>&5
27909 ac_status=$?
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -s conftest$ac_exeext'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27915 ac_status=$?
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; }; then
27918 eval "$as_ac_var=yes"
27919 else
27920 echo "$as_me: failed program was:" >&5
27921 sed 's/^/| /' conftest.$ac_ext >&5
27922
27923 eval "$as_ac_var=no"
27924 fi
27925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27926 fi
27927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27929 if test `eval echo '${'$as_ac_var'}'` = yes; then
27930 cat >>confdefs.h <<_ACEOF
27931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27932 _ACEOF
27933 break
27934 fi
27935 done
27936
27937
27938
27939
27940 ac_ext=cc
27941 ac_cpp='$CXXCPP $CPPFLAGS'
27942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27945
27946
27947
27948 for ac_func in strtok_r
27949 do
27950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27951 echo "$as_me:$LINENO: checking for $ac_func" >&5
27952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27953 if eval "test \"\${$as_ac_var+set}\" = set"; then
27954 echo $ECHO_N "(cached) $ECHO_C" >&6
27955 else
27956 cat >conftest.$ac_ext <<_ACEOF
27957 #line $LINENO "configure"
27958 /* confdefs.h. */
27959 _ACEOF
27960 cat confdefs.h >>conftest.$ac_ext
27961 cat >>conftest.$ac_ext <<_ACEOF
27962 /* end confdefs.h. */
27963 /* System header to define __stub macros and hopefully few prototypes,
27964 which can conflict with char $ac_func (); below.
27965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27966 <limits.h> exists even on freestanding compilers. */
27967 #ifdef __STDC__
27968 # include <limits.h>
27969 #else
27970 # include <assert.h>
27971 #endif
27972 /* Override any gcc2 internal prototype to avoid an error. */
27973 #ifdef __cplusplus
27974 extern "C"
27975 {
27976 #endif
27977 /* We use char because int might match the return type of a gcc2
27978 builtin and then its argument prototype would still apply. */
27979 char $ac_func ();
27980 /* The GNU C library defines this for functions which it implements
27981 to always fail with ENOSYS. Some functions are actually named
27982 something starting with __ and the normal name is an alias. */
27983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27984 choke me
27985 #else
27986 char (*f) () = $ac_func;
27987 #endif
27988 #ifdef __cplusplus
27989 }
27990 #endif
27991
27992 int
27993 main ()
27994 {
27995 return f != $ac_func;
27996 ;
27997 return 0;
27998 }
27999 _ACEOF
28000 rm -f conftest.$ac_objext conftest$ac_exeext
28001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28002 (eval $ac_link) 2>&5
28003 ac_status=$?
28004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28005 (exit $ac_status); } &&
28006 { ac_try='test -s conftest$ac_exeext'
28007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28008 (eval $ac_try) 2>&5
28009 ac_status=$?
28010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28011 (exit $ac_status); }; }; then
28012 eval "$as_ac_var=yes"
28013 else
28014 echo "$as_me: failed program was:" >&5
28015 sed 's/^/| /' conftest.$ac_ext >&5
28016
28017 eval "$as_ac_var=no"
28018 fi
28019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28020 fi
28021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28023 if test `eval echo '${'$as_ac_var'}'` = yes; then
28024 cat >>confdefs.h <<_ACEOF
28025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28026 _ACEOF
28027
28028 fi
28029 done
28030
28031
28032 ac_ext=c
28033 ac_cpp='$CPP $CPPFLAGS'
28034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28037
28038
28039 INET_LINK=
28040
28041 for ac_func in inet_addr
28042 do
28043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28044 echo "$as_me:$LINENO: checking for $ac_func" >&5
28045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28046 if eval "test \"\${$as_ac_var+set}\" = set"; then
28047 echo $ECHO_N "(cached) $ECHO_C" >&6
28048 else
28049 cat >conftest.$ac_ext <<_ACEOF
28050 #line $LINENO "configure"
28051 /* confdefs.h. */
28052 _ACEOF
28053 cat confdefs.h >>conftest.$ac_ext
28054 cat >>conftest.$ac_ext <<_ACEOF
28055 /* end confdefs.h. */
28056 /* System header to define __stub macros and hopefully few prototypes,
28057 which can conflict with char $ac_func (); below.
28058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28059 <limits.h> exists even on freestanding compilers. */
28060 #ifdef __STDC__
28061 # include <limits.h>
28062 #else
28063 # include <assert.h>
28064 #endif
28065 /* Override any gcc2 internal prototype to avoid an error. */
28066 #ifdef __cplusplus
28067 extern "C"
28068 {
28069 #endif
28070 /* We use char because int might match the return type of a gcc2
28071 builtin and then its argument prototype would still apply. */
28072 char $ac_func ();
28073 /* The GNU C library defines this for functions which it implements
28074 to always fail with ENOSYS. Some functions are actually named
28075 something starting with __ and the normal name is an alias. */
28076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28077 choke me
28078 #else
28079 char (*f) () = $ac_func;
28080 #endif
28081 #ifdef __cplusplus
28082 }
28083 #endif
28084
28085 int
28086 main ()
28087 {
28088 return f != $ac_func;
28089 ;
28090 return 0;
28091 }
28092 _ACEOF
28093 rm -f conftest.$ac_objext conftest$ac_exeext
28094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28095 (eval $ac_link) 2>&5
28096 ac_status=$?
28097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28098 (exit $ac_status); } &&
28099 { ac_try='test -s conftest$ac_exeext'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; }; then
28105 eval "$as_ac_var=yes"
28106 else
28107 echo "$as_me: failed program was:" >&5
28108 sed 's/^/| /' conftest.$ac_ext >&5
28109
28110 eval "$as_ac_var=no"
28111 fi
28112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28113 fi
28114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28116 if test `eval echo '${'$as_ac_var'}'` = yes; then
28117 cat >>confdefs.h <<_ACEOF
28118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119 _ACEOF
28120 cat >>confdefs.h <<\_ACEOF
28121 #define HAVE_INET_ADDR 1
28122 _ACEOF
28123
28124 else
28125
28126 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28127 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28128 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28129 echo $ECHO_N "(cached) $ECHO_C" >&6
28130 else
28131 ac_check_lib_save_LIBS=$LIBS
28132 LIBS="-lnsl $LIBS"
28133 cat >conftest.$ac_ext <<_ACEOF
28134 #line $LINENO "configure"
28135 /* confdefs.h. */
28136 _ACEOF
28137 cat confdefs.h >>conftest.$ac_ext
28138 cat >>conftest.$ac_ext <<_ACEOF
28139 /* end confdefs.h. */
28140
28141 /* Override any gcc2 internal prototype to avoid an error. */
28142 #ifdef __cplusplus
28143 extern "C"
28144 #endif
28145 /* We use char because int might match the return type of a gcc2
28146 builtin and then its argument prototype would still apply. */
28147 char inet_addr ();
28148 int
28149 main ()
28150 {
28151 inet_addr ();
28152 ;
28153 return 0;
28154 }
28155 _ACEOF
28156 rm -f conftest.$ac_objext conftest$ac_exeext
28157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28158 (eval $ac_link) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } &&
28162 { ac_try='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28165 ac_status=$?
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 ac_cv_lib_nsl_inet_addr=yes
28169 else
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.$ac_ext >&5
28172
28173 ac_cv_lib_nsl_inet_addr=no
28174 fi
28175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28176 LIBS=$ac_check_lib_save_LIBS
28177 fi
28178 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28179 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28180 if test $ac_cv_lib_nsl_inet_addr = yes; then
28181 INET_LINK="nsl"
28182 else
28183 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28184 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28185 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28186 echo $ECHO_N "(cached) $ECHO_C" >&6
28187 else
28188 ac_check_lib_save_LIBS=$LIBS
28189 LIBS="-lresolv $LIBS"
28190 cat >conftest.$ac_ext <<_ACEOF
28191 #line $LINENO "configure"
28192 /* confdefs.h. */
28193 _ACEOF
28194 cat confdefs.h >>conftest.$ac_ext
28195 cat >>conftest.$ac_ext <<_ACEOF
28196 /* end confdefs.h. */
28197
28198 /* Override any gcc2 internal prototype to avoid an error. */
28199 #ifdef __cplusplus
28200 extern "C"
28201 #endif
28202 /* We use char because int might match the return type of a gcc2
28203 builtin and then its argument prototype would still apply. */
28204 char inet_addr ();
28205 int
28206 main ()
28207 {
28208 inet_addr ();
28209 ;
28210 return 0;
28211 }
28212 _ACEOF
28213 rm -f conftest.$ac_objext conftest$ac_exeext
28214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28215 (eval $ac_link) 2>&5
28216 ac_status=$?
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try='test -s conftest$ac_exeext'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; }; then
28225 ac_cv_lib_resolv_inet_addr=yes
28226 else
28227 echo "$as_me: failed program was:" >&5
28228 sed 's/^/| /' conftest.$ac_ext >&5
28229
28230 ac_cv_lib_resolv_inet_addr=no
28231 fi
28232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28233 LIBS=$ac_check_lib_save_LIBS
28234 fi
28235 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28236 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28237 if test $ac_cv_lib_resolv_inet_addr = yes; then
28238 INET_LINK="resolv"
28239 else
28240 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28241 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28242 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28243 echo $ECHO_N "(cached) $ECHO_C" >&6
28244 else
28245 ac_check_lib_save_LIBS=$LIBS
28246 LIBS="-lsocket $LIBS"
28247 cat >conftest.$ac_ext <<_ACEOF
28248 #line $LINENO "configure"
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254
28255 /* Override any gcc2 internal prototype to avoid an error. */
28256 #ifdef __cplusplus
28257 extern "C"
28258 #endif
28259 /* We use char because int might match the return type of a gcc2
28260 builtin and then its argument prototype would still apply. */
28261 char inet_addr ();
28262 int
28263 main ()
28264 {
28265 inet_addr ();
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 rm -f conftest.$ac_objext conftest$ac_exeext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28272 (eval $ac_link) 2>&5
28273 ac_status=$?
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try='test -s conftest$ac_exeext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28279 ac_status=$?
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 ac_cv_lib_socket_inet_addr=yes
28283 else
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.$ac_ext >&5
28286
28287 ac_cv_lib_socket_inet_addr=no
28288 fi
28289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28290 LIBS=$ac_check_lib_save_LIBS
28291 fi
28292 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28293 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28294 if test $ac_cv_lib_socket_inet_addr = yes; then
28295 INET_LINK="socket"
28296
28297 fi
28298
28299
28300 fi
28301
28302
28303 fi
28304
28305
28306
28307 fi
28308 done
28309
28310
28311
28312 for ac_func in inet_aton
28313 do
28314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28315 echo "$as_me:$LINENO: checking for $ac_func" >&5
28316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28317 if eval "test \"\${$as_ac_var+set}\" = set"; then
28318 echo $ECHO_N "(cached) $ECHO_C" >&6
28319 else
28320 cat >conftest.$ac_ext <<_ACEOF
28321 #line $LINENO "configure"
28322 /* confdefs.h. */
28323 _ACEOF
28324 cat confdefs.h >>conftest.$ac_ext
28325 cat >>conftest.$ac_ext <<_ACEOF
28326 /* end confdefs.h. */
28327 /* System header to define __stub macros and hopefully few prototypes,
28328 which can conflict with char $ac_func (); below.
28329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28330 <limits.h> exists even on freestanding compilers. */
28331 #ifdef __STDC__
28332 # include <limits.h>
28333 #else
28334 # include <assert.h>
28335 #endif
28336 /* Override any gcc2 internal prototype to avoid an error. */
28337 #ifdef __cplusplus
28338 extern "C"
28339 {
28340 #endif
28341 /* We use char because int might match the return type of a gcc2
28342 builtin and then its argument prototype would still apply. */
28343 char $ac_func ();
28344 /* The GNU C library defines this for functions which it implements
28345 to always fail with ENOSYS. Some functions are actually named
28346 something starting with __ and the normal name is an alias. */
28347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28348 choke me
28349 #else
28350 char (*f) () = $ac_func;
28351 #endif
28352 #ifdef __cplusplus
28353 }
28354 #endif
28355
28356 int
28357 main ()
28358 {
28359 return f != $ac_func;
28360 ;
28361 return 0;
28362 }
28363 _ACEOF
28364 rm -f conftest.$ac_objext conftest$ac_exeext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28366 (eval $ac_link) 2>&5
28367 ac_status=$?
28368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28369 (exit $ac_status); } &&
28370 { ac_try='test -s conftest$ac_exeext'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28373 ac_status=$?
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; }; then
28376 eval "$as_ac_var=yes"
28377 else
28378 echo "$as_me: failed program was:" >&5
28379 sed 's/^/| /' conftest.$ac_ext >&5
28380
28381 eval "$as_ac_var=no"
28382 fi
28383 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28384 fi
28385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28387 if test `eval echo '${'$as_ac_var'}'` = yes; then
28388 cat >>confdefs.h <<_ACEOF
28389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28390 _ACEOF
28391 cat >>confdefs.h <<\_ACEOF
28392 #define HAVE_INET_ATON 1
28393 _ACEOF
28394
28395 else
28396
28397 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28398 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28399 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28400 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28402 else
28403 ac_check_lib_save_LIBS=$LIBS
28404 LIBS="-l$INET_LINK $LIBS"
28405 cat >conftest.$ac_ext <<_ACEOF
28406 #line $LINENO "configure"
28407 /* confdefs.h. */
28408 _ACEOF
28409 cat confdefs.h >>conftest.$ac_ext
28410 cat >>conftest.$ac_ext <<_ACEOF
28411 /* end confdefs.h. */
28412
28413 /* Override any gcc2 internal prototype to avoid an error. */
28414 #ifdef __cplusplus
28415 extern "C"
28416 #endif
28417 /* We use char because int might match the return type of a gcc2
28418 builtin and then its argument prototype would still apply. */
28419 char inet_aton ();
28420 int
28421 main ()
28422 {
28423 inet_aton ();
28424 ;
28425 return 0;
28426 }
28427 _ACEOF
28428 rm -f conftest.$ac_objext conftest$ac_exeext
28429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28430 (eval $ac_link) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } &&
28434 { ac_try='test -s conftest$ac_exeext'
28435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28436 (eval $ac_try) 2>&5
28437 ac_status=$?
28438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28439 (exit $ac_status); }; }; then
28440 eval "$as_ac_Lib=yes"
28441 else
28442 echo "$as_me: failed program was:" >&5
28443 sed 's/^/| /' conftest.$ac_ext >&5
28444
28445 eval "$as_ac_Lib=no"
28446 fi
28447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28448 LIBS=$ac_check_lib_save_LIBS
28449 fi
28450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28451 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28452 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28453 cat >>confdefs.h <<\_ACEOF
28454 #define HAVE_INET_ATON 1
28455 _ACEOF
28456
28457 fi
28458
28459
28460 fi
28461 done
28462
28463
28464 if test "x$INET_LINK" != "x"; then
28465 cat >>confdefs.h <<\_ACEOF
28466 #define HAVE_INET_ADDR 1
28467 _ACEOF
28468
28469 INET_LINK=" -l$INET_LINK"
28470 fi
28471
28472 fi
28473
28474
28475
28476 EXTRALIBS_ESD=
28477 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28478 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28479 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28481 else
28482 ac_check_lib_save_LIBS=$LIBS
28483 LIBS="-lesd $LIBS"
28484 cat >conftest.$ac_ext <<_ACEOF
28485 #line $LINENO "configure"
28486 /* confdefs.h. */
28487 _ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28491
28492 /* Override any gcc2 internal prototype to avoid an error. */
28493 #ifdef __cplusplus
28494 extern "C"
28495 #endif
28496 /* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28498 char esd_close ();
28499 int
28500 main ()
28501 {
28502 esd_close ();
28503 ;
28504 return 0;
28505 }
28506 _ACEOF
28507 rm -f conftest.$ac_objext conftest$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>&5
28510 ac_status=$?
28511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512 (exit $ac_status); } &&
28513 { ac_try='test -s conftest$ac_exeext'
28514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28515 (eval $ac_try) 2>&5
28516 ac_status=$?
28517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28518 (exit $ac_status); }; }; then
28519 ac_cv_lib_esd_esd_close=yes
28520 else
28521 echo "$as_me: failed program was:" >&5
28522 sed 's/^/| /' conftest.$ac_ext >&5
28523
28524 ac_cv_lib_esd_esd_close=no
28525 fi
28526 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28527 LIBS=$ac_check_lib_save_LIBS
28528 fi
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28530 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28531 if test $ac_cv_lib_esd_esd_close = yes; then
28532
28533
28534 for ac_header in esd.h
28535 do
28536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28538 echo "$as_me:$LINENO: checking for $ac_header" >&5
28539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28541 echo $ECHO_N "(cached) $ECHO_C" >&6
28542 fi
28543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28545 else
28546 # Is the header compilable?
28547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28549 cat >conftest.$ac_ext <<_ACEOF
28550 #line $LINENO "configure"
28551 /* confdefs.h. */
28552 _ACEOF
28553 cat confdefs.h >>conftest.$ac_ext
28554 cat >>conftest.$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 $ac_includes_default
28557 #include <$ac_header>
28558 _ACEOF
28559 rm -f conftest.$ac_objext
28560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28561 (eval $ac_compile) 2>&5
28562 ac_status=$?
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); } &&
28565 { ac_try='test -s conftest.$ac_objext'
28566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28567 (eval $ac_try) 2>&5
28568 ac_status=$?
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); }; }; then
28571 ac_header_compiler=yes
28572 else
28573 echo "$as_me: failed program was:" >&5
28574 sed 's/^/| /' conftest.$ac_ext >&5
28575
28576 ac_header_compiler=no
28577 fi
28578 rm -f conftest.$ac_objext conftest.$ac_ext
28579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28580 echo "${ECHO_T}$ac_header_compiler" >&6
28581
28582 # Is the header present?
28583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28585 cat >conftest.$ac_ext <<_ACEOF
28586 #line $LINENO "configure"
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592 #include <$ac_header>
28593 _ACEOF
28594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28596 ac_status=$?
28597 grep -v '^ *+' conftest.er1 >conftest.err
28598 rm -f conftest.er1
28599 cat conftest.err >&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } >/dev/null; then
28602 if test -s conftest.err; then
28603 ac_cpp_err=$ac_c_preproc_warn_flag
28604 else
28605 ac_cpp_err=
28606 fi
28607 else
28608 ac_cpp_err=yes
28609 fi
28610 if test -z "$ac_cpp_err"; then
28611 ac_header_preproc=yes
28612 else
28613 echo "$as_me: failed program was:" >&5
28614 sed 's/^/| /' conftest.$ac_ext >&5
28615
28616 ac_header_preproc=no
28617 fi
28618 rm -f conftest.err conftest.$ac_ext
28619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28620 echo "${ECHO_T}$ac_header_preproc" >&6
28621
28622 # So? What about this header?
28623 case $ac_header_compiler:$ac_header_preproc in
28624 yes:no )
28625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28629 (
28630 cat <<\_ASBOX
28631 ## ------------------------------------ ##
28632 ## Report this to bug-autoconf@gnu.org. ##
28633 ## ------------------------------------ ##
28634 _ASBOX
28635 ) |
28636 sed "s/^/$as_me: WARNING: /" >&2
28637 ;;
28638 no:yes )
28639 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28640 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28641 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28642 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28643 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28644 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28645 (
28646 cat <<\_ASBOX
28647 ## ------------------------------------ ##
28648 ## Report this to bug-autoconf@gnu.org. ##
28649 ## ------------------------------------ ##
28650 _ASBOX
28651 ) |
28652 sed "s/^/$as_me: WARNING: /" >&2
28653 ;;
28654 esac
28655 echo "$as_me:$LINENO: checking for $ac_header" >&5
28656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28658 echo $ECHO_N "(cached) $ECHO_C" >&6
28659 else
28660 eval "$as_ac_Header=$ac_header_preproc"
28661 fi
28662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28664
28665 fi
28666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28667 cat >>confdefs.h <<_ACEOF
28668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28669 _ACEOF
28670
28671 EXTRALIBS_ESD="-lesd"
28672
28673 fi
28674
28675 done
28676
28677
28678 fi
28679
28680
28681
28682
28683
28684 cat >confcache <<\_ACEOF
28685 # This file is a shell script that caches the results of configure
28686 # tests run on this system so they can be shared between configure
28687 # scripts and configure runs, see configure's option --config-cache.
28688 # It is not useful on other systems. If it contains results you don't
28689 # want to keep, you may remove or edit it.
28690 #
28691 # config.status only pays attention to the cache file if you give it
28692 # the --recheck option to rerun configure.
28693 #
28694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28696 # following values.
28697
28698 _ACEOF
28699
28700 # The following way of writing the cache mishandles newlines in values,
28701 # but we know of no workaround that is simple, portable, and efficient.
28702 # So, don't put newlines in cache variables' values.
28703 # Ultrix sh set writes to stderr and can't be redirected directly,
28704 # and sets the high bit in the cache file unless we assign to the vars.
28705 {
28706 (set) 2>&1 |
28707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28708 *ac_space=\ *)
28709 # `set' does not quote correctly, so add quotes (double-quote
28710 # substitution turns \\\\ into \\, and sed turns \\ into \).
28711 sed -n \
28712 "s/'/'\\\\''/g;
28713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28714 ;;
28715 *)
28716 # `set' quotes correctly as required by POSIX, so do not add quotes.
28717 sed -n \
28718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28719 ;;
28720 esac;
28721 } |
28722 sed '
28723 t clear
28724 : clear
28725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28726 t end
28727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28728 : end' >>confcache
28729 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28730 if test -w $cache_file; then
28731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28732 cat confcache >$cache_file
28733 else
28734 echo "not updating unwritable cache $cache_file"
28735 fi
28736 fi
28737 rm -f confcache
28738
28739
28740 CPP_MT_FLAG=
28741 if test "$TOOLKIT" != "MSW"; then
28742
28743
28744 THREADS_LINK=
28745 THREADS_CFLAGS=
28746
28747 if test "$wxUSE_THREADS" = "yes" ; then
28748 if test "$USE_BEOS" = 1; then
28749 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28750 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28751 wxUSE_THREADS="no"
28752 fi
28753 fi
28754
28755 if test "$wxUSE_THREADS" = "yes" ; then
28756
28757
28758 THREAD_OPTS="-pthread"
28759 case "${host}" in
28760 *-*-solaris2* | *-*-sunos4* )
28761 if test "x$GCC" = "xyes"; then
28762 THREAD_OPTS="-pthreads $THREAD_OPTS"
28763 else
28764 THREAD_OPTS="-mt $THREAD_OPTS"
28765 fi
28766 ;;
28767 *-*-freebsd*)
28768 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28769 ;;
28770 *-*-darwin* | *-*-cygwin* )
28771 THREAD_OPTS=""
28772 ;;
28773 *-*-aix*)
28774 THREAD_OPTS="pthreads"
28775 ;;
28776 *-hp-hpux* )
28777 if test "x$GCC" != "xyes"; then
28778 THREAD_OPTS=""
28779 fi
28780 ;;
28781
28782 *-*-irix* )
28783 if test "x$GCC" = "xyes"; then
28784 THREAD_OPTS=""
28785 fi
28786 ;;
28787
28788 *-*-*UnixWare*)
28789 if test "x$GCC" != "xyes"; then
28790 THREAD_OPTS="-Ethread"
28791 fi
28792 ;;
28793 esac
28794
28795 THREAD_OPTS="$THREAD_OPTS pthread none"
28796
28797 THREADS_OK=no
28798 for flag in $THREAD_OPTS; do
28799 case $flag in
28800 none)
28801 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28802 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28803 ;;
28804
28805 -*)
28806 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28807 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28808 THREADS_CFLAGS="$flag"
28809 ;;
28810
28811 *)
28812 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28813 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28814 THREADS_LINK="-l$flag"
28815 ;;
28816 esac
28817
28818 save_LIBS="$LIBS"
28819 save_CFLAGS="$CFLAGS"
28820 LIBS="$THREADS_LINK $LIBS"
28821 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28822
28823 cat >conftest.$ac_ext <<_ACEOF
28824 #line $LINENO "configure"
28825 /* confdefs.h. */
28826 _ACEOF
28827 cat confdefs.h >>conftest.$ac_ext
28828 cat >>conftest.$ac_ext <<_ACEOF
28829 /* end confdefs.h. */
28830 #include <pthread.h>
28831 int
28832 main ()
28833 {
28834 pthread_create(0,0,0,0);
28835 ;
28836 return 0;
28837 }
28838 _ACEOF
28839 rm -f conftest.$ac_objext conftest$ac_exeext
28840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28841 (eval $ac_link) 2>&5
28842 ac_status=$?
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -s conftest$ac_exeext'
28846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28847 (eval $ac_try) 2>&5
28848 ac_status=$?
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); }; }; then
28851 THREADS_OK=yes
28852 else
28853 echo "$as_me: failed program was:" >&5
28854 sed 's/^/| /' conftest.$ac_ext >&5
28855
28856 fi
28857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28858
28859 LIBS="$save_LIBS"
28860 CFLAGS="$save_CFLAGS"
28861
28862 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28863 echo "${ECHO_T}$THREADS_OK" >&6
28864 if test "x$THREADS_OK" = "xyes"; then
28865 break;
28866 fi
28867
28868 THREADS_LINK=""
28869 THREADS_CFLAGS=""
28870 done
28871
28872 if test "x$THREADS_OK" != "xyes"; then
28873 wxUSE_THREADS=no
28874 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28875 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28876 else
28877 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28878 LIBS="$THREADS_LINK $LIBS"
28879
28880 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28881 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28882 flag=no
28883 case "${host}" in
28884 *-aix*)
28885 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28886 flag="-D_THREAD_SAFE"
28887 ;;
28888 *-freebsd*)
28889 flag="-D_THREAD_SAFE"
28890 ;;
28891 *-hp-hpux* )
28892 flag="-D_REENTRANT"
28893 if test "x$GCC" != "xyes"; then
28894 flag="$flag -D_RWSTD_MULTI_THREAD"
28895 fi
28896 ;;
28897 *solaris* | alpha*-osf*)
28898 flag="-D_REENTRANT"
28899 ;;
28900 esac
28901 echo "$as_me:$LINENO: result: ${flag}" >&5
28902 echo "${ECHO_T}${flag}" >&6
28903 if test "x$flag" != xno; then
28904 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28905 fi
28906
28907 if test "x$THREADS_CFLAGS" != "x"; then
28908 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28909 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28910 fi
28911 fi
28912 fi
28913
28914 if test "$wxUSE_THREADS" = "yes" ; then
28915
28916 for ac_func in thr_setconcurrency
28917 do
28918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28919 echo "$as_me:$LINENO: checking for $ac_func" >&5
28920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28921 if eval "test \"\${$as_ac_var+set}\" = set"; then
28922 echo $ECHO_N "(cached) $ECHO_C" >&6
28923 else
28924 cat >conftest.$ac_ext <<_ACEOF
28925 #line $LINENO "configure"
28926 /* confdefs.h. */
28927 _ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 /* System header to define __stub macros and hopefully few prototypes,
28932 which can conflict with char $ac_func (); below.
28933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28934 <limits.h> exists even on freestanding compilers. */
28935 #ifdef __STDC__
28936 # include <limits.h>
28937 #else
28938 # include <assert.h>
28939 #endif
28940 /* Override any gcc2 internal prototype to avoid an error. */
28941 #ifdef __cplusplus
28942 extern "C"
28943 {
28944 #endif
28945 /* We use char because int might match the return type of a gcc2
28946 builtin and then its argument prototype would still apply. */
28947 char $ac_func ();
28948 /* The GNU C library defines this for functions which it implements
28949 to always fail with ENOSYS. Some functions are actually named
28950 something starting with __ and the normal name is an alias. */
28951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28952 choke me
28953 #else
28954 char (*f) () = $ac_func;
28955 #endif
28956 #ifdef __cplusplus
28957 }
28958 #endif
28959
28960 int
28961 main ()
28962 {
28963 return f != $ac_func;
28964 ;
28965 return 0;
28966 }
28967 _ACEOF
28968 rm -f conftest.$ac_objext conftest$ac_exeext
28969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28970 (eval $ac_link) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } &&
28974 { ac_try='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 eval "$as_ac_var=yes"
28981 else
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28984
28985 eval "$as_ac_var=no"
28986 fi
28987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28988 fi
28989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28991 if test `eval echo '${'$as_ac_var'}'` = yes; then
28992 cat >>confdefs.h <<_ACEOF
28993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28994 _ACEOF
28995
28996 fi
28997 done
28998
28999
29000
29001 for ac_header in sched.h
29002 do
29003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29005 echo "$as_me:$LINENO: checking for $ac_header" >&5
29006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29009 fi
29010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29012 else
29013 # Is the header compilable?
29014 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29015 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
29024 #include <$ac_header>
29025 _ACEOF
29026 rm -f conftest.$ac_objext
29027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29028 (eval $ac_compile) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try='test -s conftest.$ac_objext'
29033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29034 (eval $ac_try) 2>&5
29035 ac_status=$?
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); }; }; then
29038 ac_header_compiler=yes
29039 else
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.$ac_ext >&5
29042
29043 ac_header_compiler=no
29044 fi
29045 rm -f conftest.$ac_objext conftest.$ac_ext
29046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29047 echo "${ECHO_T}$ac_header_compiler" >&6
29048
29049 # Is the header present?
29050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29052 cat >conftest.$ac_ext <<_ACEOF
29053 #line $LINENO "configure"
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059 #include <$ac_header>
29060 _ACEOF
29061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } >/dev/null; then
29069 if test -s conftest.err; then
29070 ac_cpp_err=$ac_c_preproc_warn_flag
29071 else
29072 ac_cpp_err=
29073 fi
29074 else
29075 ac_cpp_err=yes
29076 fi
29077 if test -z "$ac_cpp_err"; then
29078 ac_header_preproc=yes
29079 else
29080 echo "$as_me: failed program was:" >&5
29081 sed 's/^/| /' conftest.$ac_ext >&5
29082
29083 ac_header_preproc=no
29084 fi
29085 rm -f conftest.err conftest.$ac_ext
29086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29087 echo "${ECHO_T}$ac_header_preproc" >&6
29088
29089 # So? What about this header?
29090 case $ac_header_compiler:$ac_header_preproc in
29091 yes:no )
29092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29095 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29096 (
29097 cat <<\_ASBOX
29098 ## ------------------------------------ ##
29099 ## Report this to bug-autoconf@gnu.org. ##
29100 ## ------------------------------------ ##
29101 _ASBOX
29102 ) |
29103 sed "s/^/$as_me: WARNING: /" >&2
29104 ;;
29105 no:yes )
29106 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29108 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29109 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29111 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29112 (
29113 cat <<\_ASBOX
29114 ## ------------------------------------ ##
29115 ## Report this to bug-autoconf@gnu.org. ##
29116 ## ------------------------------------ ##
29117 _ASBOX
29118 ) |
29119 sed "s/^/$as_me: WARNING: /" >&2
29120 ;;
29121 esac
29122 echo "$as_me:$LINENO: checking for $ac_header" >&5
29123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29125 echo $ECHO_N "(cached) $ECHO_C" >&6
29126 else
29127 eval "$as_ac_Header=$ac_header_preproc"
29128 fi
29129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29131
29132 fi
29133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29134 cat >>confdefs.h <<_ACEOF
29135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29136 _ACEOF
29137
29138 fi
29139
29140 done
29141
29142 if test "$ac_cv_header_sched_h" = "yes"; then
29143 echo "$as_me:$LINENO: checking for sched_yield" >&5
29144 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29145 if test "${ac_cv_func_sched_yield+set}" = set; then
29146 echo $ECHO_N "(cached) $ECHO_C" >&6
29147 else
29148 cat >conftest.$ac_ext <<_ACEOF
29149 #line $LINENO "configure"
29150 /* confdefs.h. */
29151 _ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29155 /* System header to define __stub macros and hopefully few prototypes,
29156 which can conflict with char sched_yield (); below.
29157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29158 <limits.h> exists even on freestanding compilers. */
29159 #ifdef __STDC__
29160 # include <limits.h>
29161 #else
29162 # include <assert.h>
29163 #endif
29164 /* Override any gcc2 internal prototype to avoid an error. */
29165 #ifdef __cplusplus
29166 extern "C"
29167 {
29168 #endif
29169 /* We use char because int might match the return type of a gcc2
29170 builtin and then its argument prototype would still apply. */
29171 char sched_yield ();
29172 /* The GNU C library defines this for functions which it implements
29173 to always fail with ENOSYS. Some functions are actually named
29174 something starting with __ and the normal name is an alias. */
29175 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29176 choke me
29177 #else
29178 char (*f) () = sched_yield;
29179 #endif
29180 #ifdef __cplusplus
29181 }
29182 #endif
29183
29184 int
29185 main ()
29186 {
29187 return f != sched_yield;
29188 ;
29189 return 0;
29190 }
29191 _ACEOF
29192 rm -f conftest.$ac_objext conftest$ac_exeext
29193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29194 (eval $ac_link) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -s conftest$ac_exeext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 ac_cv_func_sched_yield=yes
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29208
29209 ac_cv_func_sched_yield=no
29210 fi
29211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29212 fi
29213 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29214 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29215 if test $ac_cv_func_sched_yield = yes; then
29216 cat >>confdefs.h <<\_ACEOF
29217 #define HAVE_SCHED_YIELD 1
29218 _ACEOF
29219
29220 else
29221
29222 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29223 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29224 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29226 else
29227 ac_check_lib_save_LIBS=$LIBS
29228 LIBS="-lposix4 $LIBS"
29229 cat >conftest.$ac_ext <<_ACEOF
29230 #line $LINENO "configure"
29231 /* confdefs.h. */
29232 _ACEOF
29233 cat confdefs.h >>conftest.$ac_ext
29234 cat >>conftest.$ac_ext <<_ACEOF
29235 /* end confdefs.h. */
29236
29237 /* Override any gcc2 internal prototype to avoid an error. */
29238 #ifdef __cplusplus
29239 extern "C"
29240 #endif
29241 /* We use char because int might match the return type of a gcc2
29242 builtin and then its argument prototype would still apply. */
29243 char sched_yield ();
29244 int
29245 main ()
29246 {
29247 sched_yield ();
29248 ;
29249 return 0;
29250 }
29251 _ACEOF
29252 rm -f conftest.$ac_objext conftest$ac_exeext
29253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29254 (eval $ac_link) 2>&5
29255 ac_status=$?
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); } &&
29258 { ac_try='test -s conftest$ac_exeext'
29259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29260 (eval $ac_try) 2>&5
29261 ac_status=$?
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); }; }; then
29264 ac_cv_lib_posix4_sched_yield=yes
29265 else
29266 echo "$as_me: failed program was:" >&5
29267 sed 's/^/| /' conftest.$ac_ext >&5
29268
29269 ac_cv_lib_posix4_sched_yield=no
29270 fi
29271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29272 LIBS=$ac_check_lib_save_LIBS
29273 fi
29274 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29275 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29276 if test $ac_cv_lib_posix4_sched_yield = yes; then
29277 cat >>confdefs.h <<\_ACEOF
29278 #define HAVE_SCHED_YIELD 1
29279 _ACEOF
29280 POSIX4_LINK=" -lposix4"
29281 else
29282 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29283 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29284
29285 fi
29286
29287
29288
29289 fi
29290
29291 fi
29292
29293 HAVE_PRIOR_FUNCS=0
29294 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29295 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29296 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29297 echo $ECHO_N "(cached) $ECHO_C" >&6
29298 else
29299 cat >conftest.$ac_ext <<_ACEOF
29300 #line $LINENO "configure"
29301 /* confdefs.h. */
29302 _ACEOF
29303 cat confdefs.h >>conftest.$ac_ext
29304 cat >>conftest.$ac_ext <<_ACEOF
29305 /* end confdefs.h. */
29306 /* System header to define __stub macros and hopefully few prototypes,
29307 which can conflict with char pthread_attr_getschedpolicy (); below.
29308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29309 <limits.h> exists even on freestanding compilers. */
29310 #ifdef __STDC__
29311 # include <limits.h>
29312 #else
29313 # include <assert.h>
29314 #endif
29315 /* Override any gcc2 internal prototype to avoid an error. */
29316 #ifdef __cplusplus
29317 extern "C"
29318 {
29319 #endif
29320 /* We use char because int might match the return type of a gcc2
29321 builtin and then its argument prototype would still apply. */
29322 char pthread_attr_getschedpolicy ();
29323 /* The GNU C library defines this for functions which it implements
29324 to always fail with ENOSYS. Some functions are actually named
29325 something starting with __ and the normal name is an alias. */
29326 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29327 choke me
29328 #else
29329 char (*f) () = pthread_attr_getschedpolicy;
29330 #endif
29331 #ifdef __cplusplus
29332 }
29333 #endif
29334
29335 int
29336 main ()
29337 {
29338 return f != pthread_attr_getschedpolicy;
29339 ;
29340 return 0;
29341 }
29342 _ACEOF
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>&5
29346 ac_status=$?
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); } &&
29349 { ac_try='test -s conftest$ac_exeext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29352 ac_status=$?
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 ac_cv_func_pthread_attr_getschedpolicy=yes
29356 else
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.$ac_ext >&5
29359
29360 ac_cv_func_pthread_attr_getschedpolicy=no
29361 fi
29362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29363 fi
29364 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29365 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29366 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29367 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29368 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29369 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29370 echo $ECHO_N "(cached) $ECHO_C" >&6
29371 else
29372 cat >conftest.$ac_ext <<_ACEOF
29373 #line $LINENO "configure"
29374 /* confdefs.h. */
29375 _ACEOF
29376 cat confdefs.h >>conftest.$ac_ext
29377 cat >>conftest.$ac_ext <<_ACEOF
29378 /* end confdefs.h. */
29379 /* System header to define __stub macros and hopefully few prototypes,
29380 which can conflict with char pthread_attr_setschedparam (); below.
29381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29382 <limits.h> exists even on freestanding compilers. */
29383 #ifdef __STDC__
29384 # include <limits.h>
29385 #else
29386 # include <assert.h>
29387 #endif
29388 /* Override any gcc2 internal prototype to avoid an error. */
29389 #ifdef __cplusplus
29390 extern "C"
29391 {
29392 #endif
29393 /* We use char because int might match the return type of a gcc2
29394 builtin and then its argument prototype would still apply. */
29395 char pthread_attr_setschedparam ();
29396 /* The GNU C library defines this for functions which it implements
29397 to always fail with ENOSYS. Some functions are actually named
29398 something starting with __ and the normal name is an alias. */
29399 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29400 choke me
29401 #else
29402 char (*f) () = pthread_attr_setschedparam;
29403 #endif
29404 #ifdef __cplusplus
29405 }
29406 #endif
29407
29408 int
29409 main ()
29410 {
29411 return f != pthread_attr_setschedparam;
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 rm -f conftest.$ac_objext conftest$ac_exeext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29418 (eval $ac_link) 2>&5
29419 ac_status=$?
29420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29421 (exit $ac_status); } &&
29422 { ac_try='test -s conftest$ac_exeext'
29423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29424 (eval $ac_try) 2>&5
29425 ac_status=$?
29426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29427 (exit $ac_status); }; }; then
29428 ac_cv_func_pthread_attr_setschedparam=yes
29429 else
29430 echo "$as_me: failed program was:" >&5
29431 sed 's/^/| /' conftest.$ac_ext >&5
29432
29433 ac_cv_func_pthread_attr_setschedparam=no
29434 fi
29435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29436 fi
29437 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29438 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29439 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29440 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29441 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29442 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29443 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 else
29445 cat >conftest.$ac_ext <<_ACEOF
29446 #line $LINENO "configure"
29447 /* confdefs.h. */
29448 _ACEOF
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452 /* System header to define __stub macros and hopefully few prototypes,
29453 which can conflict with char sched_get_priority_max (); below.
29454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29455 <limits.h> exists even on freestanding compilers. */
29456 #ifdef __STDC__
29457 # include <limits.h>
29458 #else
29459 # include <assert.h>
29460 #endif
29461 /* Override any gcc2 internal prototype to avoid an error. */
29462 #ifdef __cplusplus
29463 extern "C"
29464 {
29465 #endif
29466 /* We use char because int might match the return type of a gcc2
29467 builtin and then its argument prototype would still apply. */
29468 char sched_get_priority_max ();
29469 /* The GNU C library defines this for functions which it implements
29470 to always fail with ENOSYS. Some functions are actually named
29471 something starting with __ and the normal name is an alias. */
29472 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29473 choke me
29474 #else
29475 char (*f) () = sched_get_priority_max;
29476 #endif
29477 #ifdef __cplusplus
29478 }
29479 #endif
29480
29481 int
29482 main ()
29483 {
29484 return f != sched_get_priority_max;
29485 ;
29486 return 0;
29487 }
29488 _ACEOF
29489 rm -f conftest.$ac_objext conftest$ac_exeext
29490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29491 (eval $ac_link) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); } &&
29495 { ac_try='test -s conftest$ac_exeext'
29496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29497 (eval $ac_try) 2>&5
29498 ac_status=$?
29499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500 (exit $ac_status); }; }; then
29501 ac_cv_func_sched_get_priority_max=yes
29502 else
29503 echo "$as_me: failed program was:" >&5
29504 sed 's/^/| /' conftest.$ac_ext >&5
29505
29506 ac_cv_func_sched_get_priority_max=no
29507 fi
29508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29509 fi
29510 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29511 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29512 if test $ac_cv_func_sched_get_priority_max = yes; then
29513 HAVE_PRIOR_FUNCS=1
29514 else
29515 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29516 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29517 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29518 echo $ECHO_N "(cached) $ECHO_C" >&6
29519 else
29520 ac_check_lib_save_LIBS=$LIBS
29521 LIBS="-lposix4 $LIBS"
29522 cat >conftest.$ac_ext <<_ACEOF
29523 #line $LINENO "configure"
29524 /* confdefs.h. */
29525 _ACEOF
29526 cat confdefs.h >>conftest.$ac_ext
29527 cat >>conftest.$ac_ext <<_ACEOF
29528 /* end confdefs.h. */
29529
29530 /* Override any gcc2 internal prototype to avoid an error. */
29531 #ifdef __cplusplus
29532 extern "C"
29533 #endif
29534 /* We use char because int might match the return type of a gcc2
29535 builtin and then its argument prototype would still apply. */
29536 char sched_get_priority_max ();
29537 int
29538 main ()
29539 {
29540 sched_get_priority_max ();
29541 ;
29542 return 0;
29543 }
29544 _ACEOF
29545 rm -f conftest.$ac_objext conftest$ac_exeext
29546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 (eval $ac_link) 2>&5
29548 ac_status=$?
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } &&
29551 { ac_try='test -s conftest$ac_exeext'
29552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29553 (eval $ac_try) 2>&5
29554 ac_status=$?
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); }; }; then
29557 ac_cv_lib_posix4_sched_get_priority_max=yes
29558 else
29559 echo "$as_me: failed program was:" >&5
29560 sed 's/^/| /' conftest.$ac_ext >&5
29561
29562 ac_cv_lib_posix4_sched_get_priority_max=no
29563 fi
29564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29565 LIBS=$ac_check_lib_save_LIBS
29566 fi
29567 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29568 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29569 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29570
29571 HAVE_PRIOR_FUNCS=1
29572 POSIX4_LINK=" -lposix4"
29573
29574 fi
29575
29576
29577 fi
29578
29579
29580 fi
29581
29582
29583 fi
29584
29585
29586 if test "$HAVE_PRIOR_FUNCS" = 1; then
29587 cat >>confdefs.h <<\_ACEOF
29588 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29589 _ACEOF
29590
29591 else
29592 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29593 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29594 fi
29595
29596 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29597 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29598 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29599 echo $ECHO_N "(cached) $ECHO_C" >&6
29600 else
29601 cat >conftest.$ac_ext <<_ACEOF
29602 #line $LINENO "configure"
29603 /* confdefs.h. */
29604 _ACEOF
29605 cat confdefs.h >>conftest.$ac_ext
29606 cat >>conftest.$ac_ext <<_ACEOF
29607 /* end confdefs.h. */
29608 /* System header to define __stub macros and hopefully few prototypes,
29609 which can conflict with char pthread_cancel (); below.
29610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29611 <limits.h> exists even on freestanding compilers. */
29612 #ifdef __STDC__
29613 # include <limits.h>
29614 #else
29615 # include <assert.h>
29616 #endif
29617 /* Override any gcc2 internal prototype to avoid an error. */
29618 #ifdef __cplusplus
29619 extern "C"
29620 {
29621 #endif
29622 /* We use char because int might match the return type of a gcc2
29623 builtin and then its argument prototype would still apply. */
29624 char pthread_cancel ();
29625 /* The GNU C library defines this for functions which it implements
29626 to always fail with ENOSYS. Some functions are actually named
29627 something starting with __ and the normal name is an alias. */
29628 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29629 choke me
29630 #else
29631 char (*f) () = pthread_cancel;
29632 #endif
29633 #ifdef __cplusplus
29634 }
29635 #endif
29636
29637 int
29638 main ()
29639 {
29640 return f != pthread_cancel;
29641 ;
29642 return 0;
29643 }
29644 _ACEOF
29645 rm -f conftest.$ac_objext conftest$ac_exeext
29646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>&5
29648 ac_status=$?
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } &&
29651 { ac_try='test -s conftest$ac_exeext'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29654 ac_status=$?
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; }; then
29657 ac_cv_func_pthread_cancel=yes
29658 else
29659 echo "$as_me: failed program was:" >&5
29660 sed 's/^/| /' conftest.$ac_ext >&5
29661
29662 ac_cv_func_pthread_cancel=no
29663 fi
29664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29665 fi
29666 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29667 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29668 if test $ac_cv_func_pthread_cancel = yes; then
29669 cat >>confdefs.h <<\_ACEOF
29670 #define HAVE_PTHREAD_CANCEL 1
29671 _ACEOF
29672
29673 else
29674 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29675 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29676 fi
29677
29678
29679 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29680 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29681 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29682 echo $ECHO_N "(cached) $ECHO_C" >&6
29683 else
29684
29685 cat >conftest.$ac_ext <<_ACEOF
29686 #line $LINENO "configure"
29687 /* confdefs.h. */
29688 _ACEOF
29689 cat confdefs.h >>conftest.$ac_ext
29690 cat >>conftest.$ac_ext <<_ACEOF
29691 /* end confdefs.h. */
29692 #include <pthread.h>
29693 int
29694 main ()
29695 {
29696
29697 pthread_cleanup_push(NULL, NULL);
29698 pthread_cleanup_pop(0);
29699
29700 ;
29701 return 0;
29702 }
29703 _ACEOF
29704 rm -f conftest.$ac_objext
29705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29706 (eval $ac_compile) 2>&5
29707 ac_status=$?
29708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29709 (exit $ac_status); } &&
29710 { ac_try='test -s conftest.$ac_objext'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; }; then
29716
29717 wx_cv_func_pthread_cleanup_push=yes
29718
29719 else
29720 echo "$as_me: failed program was:" >&5
29721 sed 's/^/| /' conftest.$ac_ext >&5
29722
29723
29724 wx_cv_func_pthread_cleanup_push=no
29725
29726 fi
29727 rm -f conftest.$ac_objext conftest.$ac_ext
29728
29729 fi
29730 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29731 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29732
29733 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29734 cat >>confdefs.h <<\_ACEOF
29735 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29736 _ACEOF
29737
29738 fi
29739
29740
29741 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29742 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29743 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29745 else
29746
29747 cat >conftest.$ac_ext <<_ACEOF
29748 #line $LINENO "configure"
29749 /* confdefs.h. */
29750 _ACEOF
29751 cat confdefs.h >>conftest.$ac_ext
29752 cat >>conftest.$ac_ext <<_ACEOF
29753 /* end confdefs.h. */
29754 #include <pthread.h>
29755 int
29756 main ()
29757 {
29758
29759 pthread_mutexattr_t attr;
29760 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29761
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 rm -f conftest.$ac_objext
29767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29768 (eval $ac_compile) 2>&5
29769 ac_status=$?
29770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29771 (exit $ac_status); } &&
29772 { ac_try='test -s conftest.$ac_objext'
29773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29774 (eval $ac_try) 2>&5
29775 ac_status=$?
29776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29777 (exit $ac_status); }; }; then
29778
29779 wx_cv_type_pthread_mutexattr_t=yes
29780
29781 else
29782 echo "$as_me: failed program was:" >&5
29783 sed 's/^/| /' conftest.$ac_ext >&5
29784
29785
29786 wx_cv_type_pthread_mutexattr_t=no
29787
29788
29789 fi
29790 rm -f conftest.$ac_objext conftest.$ac_ext
29791
29792 fi
29793 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29794 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29795
29796 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29797 cat >>confdefs.h <<\_ACEOF
29798 #define HAVE_PTHREAD_MUTEXATTR_T 1
29799 _ACEOF
29800
29801 else
29802 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29803 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29804 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29805 echo $ECHO_N "(cached) $ECHO_C" >&6
29806 else
29807
29808 cat >conftest.$ac_ext <<_ACEOF
29809 #line $LINENO "configure"
29810 /* confdefs.h. */
29811 _ACEOF
29812 cat confdefs.h >>conftest.$ac_ext
29813 cat >>conftest.$ac_ext <<_ACEOF
29814 /* end confdefs.h. */
29815 #include <pthread.h>
29816 int
29817 main ()
29818 {
29819
29820 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29821
29822 ;
29823 return 0;
29824 }
29825 _ACEOF
29826 rm -f conftest.$ac_objext
29827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29828 (eval $ac_compile) 2>&5
29829 ac_status=$?
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); } &&
29832 { ac_try='test -s conftest.$ac_objext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29838
29839 wx_cv_type_pthread_rec_mutex_init=yes
29840
29841 else
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29844
29845
29846 wx_cv_type_pthread_rec_mutex_init=no
29847
29848
29849 fi
29850 rm -f conftest.$ac_objext conftest.$ac_ext
29851
29852 fi
29853 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29854 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29855 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29856 cat >>confdefs.h <<\_ACEOF
29857 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29858 _ACEOF
29859
29860 else
29861 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29862 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29863 fi
29864 fi
29865 fi
29866
29867 else
29868 if test "$wxUSE_THREADS" = "yes" ; then
29869 case "${host}" in
29870 *-*-mingw32* )
29871 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29872 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29873 if test "${wx_cv_cflags_mthread+set}" = set; then
29874 echo $ECHO_N "(cached) $ECHO_C" >&6
29875 else
29876
29877 CFLAGS_OLD="$CFLAGS"
29878 CFLAGS="$CFLAGS -mthreads"
29879 cat >conftest.$ac_ext <<_ACEOF
29880 #line $LINENO "configure"
29881 /* confdefs.h. */
29882 _ACEOF
29883 cat confdefs.h >>conftest.$ac_ext
29884 cat >>conftest.$ac_ext <<_ACEOF
29885 /* end confdefs.h. */
29886
29887 int
29888 main ()
29889 {
29890
29891 ;
29892 return 0;
29893 }
29894 _ACEOF
29895 rm -f conftest.$ac_objext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29897 (eval $ac_compile) 2>&5
29898 ac_status=$?
29899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29900 (exit $ac_status); } &&
29901 { ac_try='test -s conftest.$ac_objext'
29902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29903 (eval $ac_try) 2>&5
29904 ac_status=$?
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); }; }; then
29907 wx_cv_cflags_mthread=yes
29908 else
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912 wx_cv_cflags_mthread=no
29913
29914 fi
29915 rm -f conftest.$ac_objext conftest.$ac_ext
29916
29917
29918 fi
29919 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29920 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29921
29922 if test "$wx_cv_cflags_mthread" = "yes"; then
29923 CXXFLAGS="$CXXFLAGS -mthreads"
29924 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29925 LDFLAGS="$LDFLAGS -mthreads"
29926 else
29927 CFLAGS="$CFLAGS_OLD"
29928 fi
29929 ;;
29930 esac
29931 fi
29932 fi
29933
29934 if test "$wxUSE_THREADS" = "yes"; then
29935 cat >>confdefs.h <<\_ACEOF
29936 #define wxUSE_THREADS 1
29937 _ACEOF
29938
29939
29940 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29941 else
29942 if test "$ac_cv_func_strtok_r" = "yes"; then
29943 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
29944 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
29945 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
29946 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
29947 echo "$as_me:$LINENO: result: yes" >&5
29948 echo "${ECHO_T}yes" >&6
29949 else
29950 echo "$as_me:$LINENO: result: no" >&5
29951 echo "${ECHO_T}no" >&6
29952 fi
29953 fi
29954 fi
29955
29956 if test "$WXGTK20" = 1 ; then
29957 cat >>confdefs.h <<_ACEOF
29958 #define __WXGTK20__ $WXGTK20
29959 _ACEOF
29960
29961 WXGTK12=1
29962 fi
29963
29964 if test "$WXGTK12" = 1 ; then
29965 cat >>confdefs.h <<_ACEOF
29966 #define __WXGTK12__ $WXGTK12
29967 _ACEOF
29968
29969 fi
29970
29971 if test "$WXGTK127" = 1 ; then
29972 cat >>confdefs.h <<_ACEOF
29973 #define __WXGTK127__ $WXGTK127
29974 _ACEOF
29975
29976 fi
29977
29978 WXDEBUG=
29979
29980 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
29981 WXDEBUG="-g"
29982 wxUSE_OPTIMISE=no
29983 fi
29984
29985 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
29986 wxUSE_DEBUG_INFO=yes
29987 WXDEBUG="-ggdb"
29988 fi
29989
29990 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
29991 cat >>confdefs.h <<\_ACEOF
29992 #define WXDEBUG 1
29993 _ACEOF
29994
29995 WXDEBUG_DEFINE="-D__WXDEBUG__"
29996 else
29997 if test "$wxUSE_GTK" = 1 ; then
29998 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
29999 fi
30000 fi
30001
30002 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30003 cat >>confdefs.h <<\_ACEOF
30004 #define wxUSE_MEMORY_TRACING 1
30005 _ACEOF
30006
30007 cat >>confdefs.h <<\_ACEOF
30008 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30009 _ACEOF
30010
30011 cat >>confdefs.h <<\_ACEOF
30012 #define wxUSE_DEBUG_NEW_ALWAYS 1
30013 _ACEOF
30014
30015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30016 fi
30017
30018 if test "$wxUSE_DMALLOC" = "yes" ; then
30019 DMALLOC_LIBS="-ldmalloc"
30020 fi
30021
30022 PROFILE=
30023 if test "$wxUSE_PROFILE" = "yes" ; then
30024 PROFILE=" -pg"
30025 fi
30026
30027 CODE_GEN_FLAGS=
30028 CODE_GEN_FLAGS_CXX=
30029 if test "$GCC" = "yes" ; then
30030 if test "$wxUSE_NO_RTTI" = "yes" ; then
30031 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30032 fi
30033 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30034 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30035 fi
30036 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30037 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30038 fi
30039
30040 case "${host}" in
30041 powerpc*-*-aix* )
30042 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30043 ;;
30044 *-hppa* )
30045 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30046 ;;
30047 esac
30048 fi
30049
30050 OPTIMISE=
30051 if test "$wxUSE_OPTIMISE" = "no" ; then
30052 if test "$GCC" = yes ; then
30053 OPTIMISE="-O0"
30054 fi
30055 else
30056 if test "$GCC" = yes ; then
30057 OPTIMISE="-O2"
30058
30059 case "${host}" in
30060 i586-*-*|i686-*-* )
30061 OPTIMISE="${OPTIMISE} "
30062 ;;
30063 esac
30064 else
30065 OPTIMISE="-O"
30066 fi
30067 fi
30068
30069
30070 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30071 cat >>confdefs.h <<\_ACEOF
30072 #define WXWIN_COMPATIBILITY_2_2 1
30073 _ACEOF
30074
30075
30076 WXWIN_COMPATIBILITY_2_4="yes"
30077 fi
30078
30079 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30080 cat >>confdefs.h <<\_ACEOF
30081 #define WXWIN_COMPATIBILITY_2_4 1
30082 _ACEOF
30083
30084 fi
30085
30086
30087 if test "$wxUSE_GUI" = "yes"; then
30088 cat >>confdefs.h <<\_ACEOF
30089 #define wxUSE_GUI 1
30090 _ACEOF
30091
30092
30093 else
30094 cat >>confdefs.h <<\_ACEOF
30095 #define wxUSE_NOGUI 1
30096 _ACEOF
30097
30098 fi
30099
30100
30101 if test "$wxUSE_UNIX" = "yes"; then
30102 cat >>confdefs.h <<\_ACEOF
30103 #define wxUSE_UNIX 1
30104 _ACEOF
30105
30106 fi
30107
30108
30109 if test "$wxUSE_STL" = "yes"; then
30110 cat >>confdefs.h <<\_ACEOF
30111 #define wxUSE_STL 1
30112 _ACEOF
30113
30114 fi
30115
30116 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30117 cat >>confdefs.h <<\_ACEOF
30118 #define wxUSE_APPLE_IEEE 1
30119 _ACEOF
30120
30121 fi
30122
30123 if test "$wxUSE_TIMER" = "yes"; then
30124 cat >>confdefs.h <<\_ACEOF
30125 #define wxUSE_TIMER 1
30126 _ACEOF
30127
30128 fi
30129
30130 if test "$wxUSE_WAVE" = "yes"; then
30131 cat >>confdefs.h <<\_ACEOF
30132 #define wxUSE_WAVE 1
30133 _ACEOF
30134
30135 fi
30136
30137 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30138 cat >>confdefs.h <<\_ACEOF
30139 #define wxUSE_CMDLINE_PARSER 1
30140 _ACEOF
30141
30142 fi
30143
30144 if test "$wxUSE_STOPWATCH" = "yes"; then
30145 cat >>confdefs.h <<\_ACEOF
30146 #define wxUSE_STOPWATCH 1
30147 _ACEOF
30148
30149 fi
30150
30151 if test "$wxUSE_DATETIME" = "yes"; then
30152 cat >>confdefs.h <<\_ACEOF
30153 #define wxUSE_DATETIME 1
30154 _ACEOF
30155
30156 fi
30157
30158 if test "$wxUSE_FILE" = "yes"; then
30159 cat >>confdefs.h <<\_ACEOF
30160 #define wxUSE_FILE 1
30161 _ACEOF
30162
30163 fi
30164
30165 if test "$wxUSE_FFILE" = "yes"; then
30166 cat >>confdefs.h <<\_ACEOF
30167 #define wxUSE_FFILE 1
30168 _ACEOF
30169
30170 fi
30171
30172 if test "$wxUSE_FILESYSTEM" = "yes"; then
30173 cat >>confdefs.h <<\_ACEOF
30174 #define wxUSE_FILESYSTEM 1
30175 _ACEOF
30176
30177 fi
30178
30179 if test "$wxUSE_FS_ZIP" = "yes"; then
30180 cat >>confdefs.h <<\_ACEOF
30181 #define wxUSE_FS_ZIP 1
30182 _ACEOF
30183
30184 fi
30185
30186 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30187 cat >>confdefs.h <<\_ACEOF
30188 #define wxUSE_ZIPSTREAM 1
30189 _ACEOF
30190
30191 fi
30192
30193 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30194 cat >>confdefs.h <<\_ACEOF
30195 #define wxUSE_ON_FATAL_EXCEPTION 1
30196 _ACEOF
30197
30198 fi
30199
30200 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30201 cat >>confdefs.h <<\_ACEOF
30202 #define wxUSE_SNGLINST_CHECKER 1
30203 _ACEOF
30204
30205 fi
30206
30207 if test "$wxUSE_BUSYINFO" = "yes"; then
30208 cat >>confdefs.h <<\_ACEOF
30209 #define wxUSE_BUSYINFO 1
30210 _ACEOF
30211
30212 fi
30213
30214 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30215 cat >>confdefs.h <<\_ACEOF
30216 #define wxUSE_STD_IOSTREAM 1
30217 _ACEOF
30218
30219 fi
30220
30221 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30222 cat >>confdefs.h <<\_ACEOF
30223 #define wxUSE_TEXTBUFFER 1
30224 _ACEOF
30225
30226 fi
30227
30228 if test "$wxUSE_TEXTFILE" = "yes"; then
30229 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30230 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30231 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30232 else
30233 cat >>confdefs.h <<\_ACEOF
30234 #define wxUSE_TEXTFILE 1
30235 _ACEOF
30236
30237 fi
30238 fi
30239
30240 if test "$wxUSE_CONFIG" = "yes" ; then
30241 if test "$wxUSE_TEXTFILE" != "yes"; then
30242 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30243 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30244 else
30245 cat >>confdefs.h <<\_ACEOF
30246 #define wxUSE_CONFIG 1
30247 _ACEOF
30248
30249 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30250 fi
30251 fi
30252
30253 if test "$wxUSE_INTL" = "yes" ; then
30254 if test "$wxUSE_FILE" != "yes"; then
30255 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30256 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30257 else
30258 cat >>confdefs.h <<\_ACEOF
30259 #define wxUSE_INTL 1
30260 _ACEOF
30261
30262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30263 GUIDIST="$GUIDIST INTL_DIST"
30264 fi
30265 fi
30266
30267 if test "$wxUSE_LOG" = "yes"; then
30268 cat >>confdefs.h <<\_ACEOF
30269 #define wxUSE_LOG 1
30270 _ACEOF
30271
30272
30273 if test "$wxUSE_LOGGUI" = "yes"; then
30274 cat >>confdefs.h <<\_ACEOF
30275 #define wxUSE_LOGGUI 1
30276 _ACEOF
30277
30278 fi
30279
30280 if test "$wxUSE_LOGWINDOW" = "yes"; then
30281 cat >>confdefs.h <<\_ACEOF
30282 #define wxUSE_LOGWINDOW 1
30283 _ACEOF
30284
30285 fi
30286
30287 if test "$wxUSE_LOGDIALOG" = "yes"; then
30288 cat >>confdefs.h <<\_ACEOF
30289 #define wxUSE_LOG_DIALOG 1
30290 _ACEOF
30291
30292 fi
30293 fi
30294
30295 if test "$wxUSE_LONGLONG" = "yes"; then
30296 cat >>confdefs.h <<\_ACEOF
30297 #define wxUSE_LONGLONG 1
30298 _ACEOF
30299
30300 fi
30301
30302 if test "$wxUSE_GEOMETRY" = "yes"; then
30303 cat >>confdefs.h <<\_ACEOF
30304 #define wxUSE_GEOMETRY 1
30305 _ACEOF
30306
30307 fi
30308
30309 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30310 cat >>confdefs.h <<\_ACEOF
30311 #define wxUSE_DIALUP_MANAGER 1
30312 _ACEOF
30313
30314 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30315 fi
30316
30317 if test "$wxUSE_STREAMS" = "yes" ; then
30318 cat >>confdefs.h <<\_ACEOF
30319 #define wxUSE_STREAMS 1
30320 _ACEOF
30321
30322 fi
30323
30324
30325 if test "$wxUSE_DATETIME" = "yes"; then
30326
30327 for ac_func in strptime
30328 do
30329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30330 echo "$as_me:$LINENO: checking for $ac_func" >&5
30331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30332 if eval "test \"\${$as_ac_var+set}\" = set"; then
30333 echo $ECHO_N "(cached) $ECHO_C" >&6
30334 else
30335 cat >conftest.$ac_ext <<_ACEOF
30336 #line $LINENO "configure"
30337 /* confdefs.h. */
30338 _ACEOF
30339 cat confdefs.h >>conftest.$ac_ext
30340 cat >>conftest.$ac_ext <<_ACEOF
30341 /* end confdefs.h. */
30342 /* System header to define __stub macros and hopefully few prototypes,
30343 which can conflict with char $ac_func (); below.
30344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30345 <limits.h> exists even on freestanding compilers. */
30346 #ifdef __STDC__
30347 # include <limits.h>
30348 #else
30349 # include <assert.h>
30350 #endif
30351 /* Override any gcc2 internal prototype to avoid an error. */
30352 #ifdef __cplusplus
30353 extern "C"
30354 {
30355 #endif
30356 /* We use char because int might match the return type of a gcc2
30357 builtin and then its argument prototype would still apply. */
30358 char $ac_func ();
30359 /* The GNU C library defines this for functions which it implements
30360 to always fail with ENOSYS. Some functions are actually named
30361 something starting with __ and the normal name is an alias. */
30362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30363 choke me
30364 #else
30365 char (*f) () = $ac_func;
30366 #endif
30367 #ifdef __cplusplus
30368 }
30369 #endif
30370
30371 int
30372 main ()
30373 {
30374 return f != $ac_func;
30375 ;
30376 return 0;
30377 }
30378 _ACEOF
30379 rm -f conftest.$ac_objext conftest$ac_exeext
30380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30381 (eval $ac_link) 2>&5
30382 ac_status=$?
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -s conftest$ac_exeext'
30386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30387 (eval $ac_try) 2>&5
30388 ac_status=$?
30389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30390 (exit $ac_status); }; }; then
30391 eval "$as_ac_var=yes"
30392 else
30393 echo "$as_me: failed program was:" >&5
30394 sed 's/^/| /' conftest.$ac_ext >&5
30395
30396 eval "$as_ac_var=no"
30397 fi
30398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30399 fi
30400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30402 if test `eval echo '${'$as_ac_var'}'` = yes; then
30403 cat >>confdefs.h <<_ACEOF
30404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30405 _ACEOF
30406
30407 fi
30408 done
30409
30410
30411 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30412 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30413 if test "${wx_cv_var_timezone+set}" = set; then
30414 echo $ECHO_N "(cached) $ECHO_C" >&6
30415 else
30416
30417 cat >conftest.$ac_ext <<_ACEOF
30418 #line $LINENO "configure"
30419 /* confdefs.h. */
30420 _ACEOF
30421 cat confdefs.h >>conftest.$ac_ext
30422 cat >>conftest.$ac_ext <<_ACEOF
30423 /* end confdefs.h. */
30424
30425 #include <time.h>
30426
30427 int
30428 main ()
30429 {
30430
30431 int tz;
30432 tz = timezone;
30433
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 rm -f conftest.$ac_objext
30439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30440 (eval $ac_compile) 2>&5
30441 ac_status=$?
30442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30443 (exit $ac_status); } &&
30444 { ac_try='test -s conftest.$ac_objext'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30447 ac_status=$?
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; }; then
30450
30451 wx_cv_var_timezone=timezone
30452
30453 else
30454 echo "$as_me: failed program was:" >&5
30455 sed 's/^/| /' conftest.$ac_ext >&5
30456
30457
30458 cat >conftest.$ac_ext <<_ACEOF
30459 #line $LINENO "configure"
30460 /* confdefs.h. */
30461 _ACEOF
30462 cat confdefs.h >>conftest.$ac_ext
30463 cat >>conftest.$ac_ext <<_ACEOF
30464 /* end confdefs.h. */
30465
30466 #include <time.h>
30467
30468 int
30469 main ()
30470 {
30471
30472 int tz;
30473 tz = _timezone;
30474
30475 ;
30476 return 0;
30477 }
30478 _ACEOF
30479 rm -f conftest.$ac_objext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481 (eval $ac_compile) 2>&5
30482 ac_status=$?
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); } &&
30485 { ac_try='test -s conftest.$ac_objext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30488 ac_status=$?
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30491
30492 wx_cv_var_timezone=_timezone
30493
30494 else
30495 echo "$as_me: failed program was:" >&5
30496 sed 's/^/| /' conftest.$ac_ext >&5
30497
30498
30499 cat >conftest.$ac_ext <<_ACEOF
30500 #line $LINENO "configure"
30501 /* confdefs.h. */
30502 _ACEOF
30503 cat confdefs.h >>conftest.$ac_ext
30504 cat >>conftest.$ac_ext <<_ACEOF
30505 /* end confdefs.h. */
30506
30507 #include <time.h>
30508
30509 int
30510 main ()
30511 {
30512
30513 int tz;
30514 tz = __timezone;
30515
30516 ;
30517 return 0;
30518 }
30519 _ACEOF
30520 rm -f conftest.$ac_objext
30521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30522 (eval $ac_compile) 2>&5
30523 ac_status=$?
30524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30525 (exit $ac_status); } &&
30526 { ac_try='test -s conftest.$ac_objext'
30527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30528 (eval $ac_try) 2>&5
30529 ac_status=$?
30530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30531 (exit $ac_status); }; }; then
30532
30533 wx_cv_var_timezone=__timezone
30534
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539
30540 if test "$USE_DOS" = 0 ; then
30541 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30542 echo "$as_me: WARNING: no timezone variable" >&2;}
30543 fi
30544
30545
30546 fi
30547 rm -f conftest.$ac_objext conftest.$ac_ext
30548
30549
30550 fi
30551 rm -f conftest.$ac_objext conftest.$ac_ext
30552
30553
30554 fi
30555 rm -f conftest.$ac_objext conftest.$ac_ext
30556
30557
30558 fi
30559 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30560 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30561
30562 if test "x$wx_cv_var_timezone" != x ; then
30563 cat >>confdefs.h <<_ACEOF
30564 #define WX_TIMEZONE $wx_cv_var_timezone
30565 _ACEOF
30566
30567 fi
30568
30569
30570 for ac_func in localtime
30571 do
30572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30573 echo "$as_me:$LINENO: checking for $ac_func" >&5
30574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30575 if eval "test \"\${$as_ac_var+set}\" = set"; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 else
30578 cat >conftest.$ac_ext <<_ACEOF
30579 #line $LINENO "configure"
30580 /* confdefs.h. */
30581 _ACEOF
30582 cat confdefs.h >>conftest.$ac_ext
30583 cat >>conftest.$ac_ext <<_ACEOF
30584 /* end confdefs.h. */
30585 /* System header to define __stub macros and hopefully few prototypes,
30586 which can conflict with char $ac_func (); below.
30587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30588 <limits.h> exists even on freestanding compilers. */
30589 #ifdef __STDC__
30590 # include <limits.h>
30591 #else
30592 # include <assert.h>
30593 #endif
30594 /* Override any gcc2 internal prototype to avoid an error. */
30595 #ifdef __cplusplus
30596 extern "C"
30597 {
30598 #endif
30599 /* We use char because int might match the return type of a gcc2
30600 builtin and then its argument prototype would still apply. */
30601 char $ac_func ();
30602 /* The GNU C library defines this for functions which it implements
30603 to always fail with ENOSYS. Some functions are actually named
30604 something starting with __ and the normal name is an alias. */
30605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30606 choke me
30607 #else
30608 char (*f) () = $ac_func;
30609 #endif
30610 #ifdef __cplusplus
30611 }
30612 #endif
30613
30614 int
30615 main ()
30616 {
30617 return f != $ac_func;
30618 ;
30619 return 0;
30620 }
30621 _ACEOF
30622 rm -f conftest.$ac_objext conftest$ac_exeext
30623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>&5
30625 ac_status=$?
30626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30627 (exit $ac_status); } &&
30628 { ac_try='test -s conftest$ac_exeext'
30629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30630 (eval $ac_try) 2>&5
30631 ac_status=$?
30632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30633 (exit $ac_status); }; }; then
30634 eval "$as_ac_var=yes"
30635 else
30636 echo "$as_me: failed program was:" >&5
30637 sed 's/^/| /' conftest.$ac_ext >&5
30638
30639 eval "$as_ac_var=no"
30640 fi
30641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30642 fi
30643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30645 if test `eval echo '${'$as_ac_var'}'` = yes; then
30646 cat >>confdefs.h <<_ACEOF
30647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653
30654 if test "$ac_cv_func_localtime" = "yes"; then
30655 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30656 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30657 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30658 echo $ECHO_N "(cached) $ECHO_C" >&6
30659 else
30660
30661 cat >conftest.$ac_ext <<_ACEOF
30662 #line $LINENO "configure"
30663 /* confdefs.h. */
30664 _ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30668
30669 #include <time.h>
30670
30671 int
30672 main ()
30673 {
30674
30675 struct tm tm;
30676 tm.tm_gmtoff++;
30677
30678 ;
30679 return 0;
30680 }
30681 _ACEOF
30682 rm -f conftest.$ac_objext
30683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30684 (eval $ac_compile) 2>&5
30685 ac_status=$?
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try='test -s conftest.$ac_objext'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; }; then
30694
30695 wx_cv_struct_tm_has_gmtoff=yes
30696
30697 else
30698 echo "$as_me: failed program was:" >&5
30699 sed 's/^/| /' conftest.$ac_ext >&5
30700
30701 wx_cv_struct_tm_has_gmtoff=no
30702
30703 fi
30704 rm -f conftest.$ac_objext conftest.$ac_ext
30705
30706 fi
30707 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30708 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30709 fi
30710
30711 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30712 cat >>confdefs.h <<\_ACEOF
30713 #define WX_GMTOFF_IN_TM 1
30714 _ACEOF
30715
30716 fi
30717
30718
30719
30720 for ac_func in gettimeofday ftime
30721 do
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728 cat >conftest.$ac_ext <<_ACEOF
30729 #line $LINENO "configure"
30730 /* confdefs.h. */
30731 _ACEOF
30732 cat confdefs.h >>conftest.$ac_ext
30733 cat >>conftest.$ac_ext <<_ACEOF
30734 /* end confdefs.h. */
30735 /* System header to define __stub macros and hopefully few prototypes,
30736 which can conflict with char $ac_func (); below.
30737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30738 <limits.h> exists even on freestanding compilers. */
30739 #ifdef __STDC__
30740 # include <limits.h>
30741 #else
30742 # include <assert.h>
30743 #endif
30744 /* Override any gcc2 internal prototype to avoid an error. */
30745 #ifdef __cplusplus
30746 extern "C"
30747 {
30748 #endif
30749 /* We use char because int might match the return type of a gcc2
30750 builtin and then its argument prototype would still apply. */
30751 char $ac_func ();
30752 /* The GNU C library defines this for functions which it implements
30753 to always fail with ENOSYS. Some functions are actually named
30754 something starting with __ and the normal name is an alias. */
30755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30756 choke me
30757 #else
30758 char (*f) () = $ac_func;
30759 #endif
30760 #ifdef __cplusplus
30761 }
30762 #endif
30763
30764 int
30765 main ()
30766 {
30767 return f != $ac_func;
30768 ;
30769 return 0;
30770 }
30771 _ACEOF
30772 rm -f conftest.$ac_objext conftest$ac_exeext
30773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30774 (eval $ac_link) 2>&5
30775 ac_status=$?
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } &&
30778 { ac_try='test -s conftest$ac_exeext'
30779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30780 (eval $ac_try) 2>&5
30781 ac_status=$?
30782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30783 (exit $ac_status); }; }; then
30784 eval "$as_ac_var=yes"
30785 else
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.$ac_ext >&5
30788
30789 eval "$as_ac_var=no"
30790 fi
30791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30792 fi
30793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30795 if test `eval echo '${'$as_ac_var'}'` = yes; then
30796 cat >>confdefs.h <<_ACEOF
30797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30798 _ACEOF
30799 break
30800 fi
30801 done
30802
30803
30804 if test "$ac_cv_func_gettimeofday" = "yes"; then
30805 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30806 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30807 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30808 echo $ECHO_N "(cached) $ECHO_C" >&6
30809 else
30810
30811
30812
30813 ac_ext=cc
30814 ac_cpp='$CXXCPP $CPPFLAGS'
30815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30818
30819
30820 cat >conftest.$ac_ext <<_ACEOF
30821 #line $LINENO "configure"
30822 /* confdefs.h. */
30823 _ACEOF
30824 cat confdefs.h >>conftest.$ac_ext
30825 cat >>conftest.$ac_ext <<_ACEOF
30826 /* end confdefs.h. */
30827
30828 #include <sys/time.h>
30829 #include <unistd.h>
30830
30831 int
30832 main ()
30833 {
30834
30835 struct timeval tv;
30836 gettimeofday(&tv, NULL);
30837
30838 ;
30839 return 0;
30840 }
30841 _ACEOF
30842 rm -f conftest.$ac_objext
30843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30844 (eval $ac_compile) 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); } &&
30848 { ac_try='test -s conftest.$ac_objext'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30851 ac_status=$?
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; }; then
30854 wx_cv_func_gettimeofday_has_2_args=yes
30855 else
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.$ac_ext >&5
30858
30859 cat >conftest.$ac_ext <<_ACEOF
30860 #line $LINENO "configure"
30861 /* confdefs.h. */
30862 _ACEOF
30863 cat confdefs.h >>conftest.$ac_ext
30864 cat >>conftest.$ac_ext <<_ACEOF
30865 /* end confdefs.h. */
30866
30867 #include <sys/time.h>
30868 #include <unistd.h>
30869
30870 int
30871 main ()
30872 {
30873
30874 struct timeval tv;
30875 gettimeofday(&tv);
30876
30877 ;
30878 return 0;
30879 }
30880 _ACEOF
30881 rm -f conftest.$ac_objext
30882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30883 (eval $ac_compile) 2>&5
30884 ac_status=$?
30885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30886 (exit $ac_status); } &&
30887 { ac_try='test -s conftest.$ac_objext'
30888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30889 (eval $ac_try) 2>&5
30890 ac_status=$?
30891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30892 (exit $ac_status); }; }; then
30893 wx_cv_func_gettimeofday_has_2_args=no
30894 else
30895 echo "$as_me: failed program was:" >&5
30896 sed 's/^/| /' conftest.$ac_ext >&5
30897
30898
30899 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30900 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30901 wx_cv_func_gettimeofday_has_2_args=unknown
30902
30903
30904 fi
30905 rm -f conftest.$ac_objext conftest.$ac_ext
30906
30907 fi
30908 rm -f conftest.$ac_objext conftest.$ac_ext
30909 ac_ext=c
30910 ac_cpp='$CPP $CPPFLAGS'
30911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30914
30915
30916 fi
30917 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30918 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30919
30920 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30921 cat >>confdefs.h <<\_ACEOF
30922 #define WX_GETTIMEOFDAY_NO_TZ 1
30923 _ACEOF
30924
30925 fi
30926 fi
30927
30928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30929 fi
30930
30931
30932 if test "$wxUSE_SOCKETS" = "yes"; then
30933 if test "$wxUSE_MGL" = "1"; then
30934 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30935 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30936 wxUSE_SOCKETS="no"
30937 fi
30938 if test "$wxUSE_COCOA" = "1"; then
30939 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30940 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30941 wxUSE_SOCKETS="no"
30942 fi
30943 fi
30944
30945 if test "$wxUSE_SOCKETS" = "yes"; then
30946 if test "$TOOLKIT" != "MSW"; then
30947 echo "$as_me:$LINENO: checking for socket" >&5
30948 echo $ECHO_N "checking for socket... $ECHO_C" >&6
30949 if test "${ac_cv_func_socket+set}" = set; then
30950 echo $ECHO_N "(cached) $ECHO_C" >&6
30951 else
30952 cat >conftest.$ac_ext <<_ACEOF
30953 #line $LINENO "configure"
30954 /* confdefs.h. */
30955 _ACEOF
30956 cat confdefs.h >>conftest.$ac_ext
30957 cat >>conftest.$ac_ext <<_ACEOF
30958 /* end confdefs.h. */
30959 /* System header to define __stub macros and hopefully few prototypes,
30960 which can conflict with char socket (); below.
30961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30962 <limits.h> exists even on freestanding compilers. */
30963 #ifdef __STDC__
30964 # include <limits.h>
30965 #else
30966 # include <assert.h>
30967 #endif
30968 /* Override any gcc2 internal prototype to avoid an error. */
30969 #ifdef __cplusplus
30970 extern "C"
30971 {
30972 #endif
30973 /* We use char because int might match the return type of a gcc2
30974 builtin and then its argument prototype would still apply. */
30975 char socket ();
30976 /* The GNU C library defines this for functions which it implements
30977 to always fail with ENOSYS. Some functions are actually named
30978 something starting with __ and the normal name is an alias. */
30979 #if defined (__stub_socket) || defined (__stub___socket)
30980 choke me
30981 #else
30982 char (*f) () = socket;
30983 #endif
30984 #ifdef __cplusplus
30985 }
30986 #endif
30987
30988 int
30989 main ()
30990 {
30991 return f != socket;
30992 ;
30993 return 0;
30994 }
30995 _ACEOF
30996 rm -f conftest.$ac_objext conftest$ac_exeext
30997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30998 (eval $ac_link) 2>&5
30999 ac_status=$?
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); } &&
31002 { ac_try='test -s conftest$ac_exeext'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31005 ac_status=$?
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; }; then
31008 ac_cv_func_socket=yes
31009 else
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.$ac_ext >&5
31012
31013 ac_cv_func_socket=no
31014 fi
31015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31016 fi
31017 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31018 echo "${ECHO_T}$ac_cv_func_socket" >&6
31019 if test $ac_cv_func_socket = yes; then
31020 :
31021 else
31022 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31023 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31024 if test "${ac_cv_lib_socket_socket+set}" = set; then
31025 echo $ECHO_N "(cached) $ECHO_C" >&6
31026 else
31027 ac_check_lib_save_LIBS=$LIBS
31028 LIBS="-lsocket $LIBS"
31029 cat >conftest.$ac_ext <<_ACEOF
31030 #line $LINENO "configure"
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 /* Override any gcc2 internal prototype to avoid an error. */
31038 #ifdef __cplusplus
31039 extern "C"
31040 #endif
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char socket ();
31044 int
31045 main ()
31046 {
31047 socket ();
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>&5
31055 ac_status=$?
31056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31057 (exit $ac_status); } &&
31058 { ac_try='test -s conftest$ac_exeext'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31061 ac_status=$?
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; }; then
31064 ac_cv_lib_socket_socket=yes
31065 else
31066 echo "$as_me: failed program was:" >&5
31067 sed 's/^/| /' conftest.$ac_ext >&5
31068
31069 ac_cv_lib_socket_socket=no
31070 fi
31071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31072 LIBS=$ac_check_lib_save_LIBS
31073 fi
31074 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31075 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31076 if test $ac_cv_lib_socket_socket = yes; then
31077 if test "$INET_LINK" != " -lsocket"; then
31078 INET_LINK="$INET_LINK -lsocket"
31079 fi
31080 else
31081
31082 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31083 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31084 wxUSE_SOCKETS=no
31085
31086
31087 fi
31088
31089
31090 fi
31091
31092 fi
31093 fi
31094
31095 if test "$wxUSE_SOCKETS" = "yes" ; then
31096 if test "$TOOLKIT" != "MSW"; then
31097 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31098 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31099 if test "${wx_cv_type_getsockname3+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31101 else
31102
31103 cat >conftest.$ac_ext <<_ACEOF
31104 #line $LINENO "configure"
31105 /* confdefs.h. */
31106 _ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31110
31111 #include <sys/types.h>
31112 #include <sys/socket.h>
31113
31114 int
31115 main ()
31116 {
31117
31118 socklen_t len;
31119 getsockname(0, 0, &len);
31120
31121 ;
31122 return 0;
31123 }
31124 _ACEOF
31125 rm -f conftest.$ac_objext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31127 (eval $ac_compile) 2>&5
31128 ac_status=$?
31129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31130 (exit $ac_status); } &&
31131 { ac_try='test -s conftest.$ac_objext'
31132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31133 (eval $ac_try) 2>&5
31134 ac_status=$?
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); }; }; then
31137 wx_cv_type_getsockname3=socklen_t
31138 else
31139 echo "$as_me: failed program was:" >&5
31140 sed 's/^/| /' conftest.$ac_ext >&5
31141
31142
31143 CFLAGS_OLD="$CFLAGS"
31144 if test "$GCC" = yes ; then
31145 CFLAGS="$CFLAGS -Werror"
31146 fi
31147
31148 cat >conftest.$ac_ext <<_ACEOF
31149 #line $LINENO "configure"
31150 /* confdefs.h. */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31155
31156 #include <sys/types.h>
31157 #include <sys/socket.h>
31158
31159 int
31160 main ()
31161 {
31162
31163 size_t len;
31164 getsockname(0, 0, &len);
31165
31166 ;
31167 return 0;
31168 }
31169 _ACEOF
31170 rm -f conftest.$ac_objext
31171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31172 (eval $ac_compile) 2>&5
31173 ac_status=$?
31174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31175 (exit $ac_status); } &&
31176 { ac_try='test -s conftest.$ac_objext'
31177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31178 (eval $ac_try) 2>&5
31179 ac_status=$?
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); }; }; then
31182 wx_cv_type_getsockname3=size_t
31183 else
31184 echo "$as_me: failed program was:" >&5
31185 sed 's/^/| /' conftest.$ac_ext >&5
31186
31187 cat >conftest.$ac_ext <<_ACEOF
31188 #line $LINENO "configure"
31189 /* confdefs.h. */
31190 _ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194
31195 #include <sys/types.h>
31196 #include <sys/socket.h>
31197
31198 int
31199 main ()
31200 {
31201
31202 int len;
31203 getsockname(0, 0, &len);
31204
31205 ;
31206 return 0;
31207 }
31208 _ACEOF
31209 rm -f conftest.$ac_objext
31210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31211 (eval $ac_compile) 2>&5
31212 ac_status=$?
31213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31214 (exit $ac_status); } &&
31215 { ac_try='test -s conftest.$ac_objext'
31216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31217 (eval $ac_try) 2>&5
31218 ac_status=$?
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); }; }; then
31221 wx_cv_type_getsockname3=int
31222 else
31223 echo "$as_me: failed program was:" >&5
31224 sed 's/^/| /' conftest.$ac_ext >&5
31225
31226 wx_cv_type_getsockname3=unknown
31227
31228 fi
31229 rm -f conftest.$ac_objext conftest.$ac_ext
31230
31231 fi
31232 rm -f conftest.$ac_objext conftest.$ac_ext
31233
31234 CFLAGS="$CFLAGS_OLD"
31235
31236
31237 fi
31238 rm -f conftest.$ac_objext conftest.$ac_ext
31239
31240 fi
31241 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31242 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31243
31244 if test "$wx_cv_type_getsockname3" = "unknown"; then
31245 wxUSE_SOCKETS=no
31246 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31247 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31248 else
31249 cat >>confdefs.h <<_ACEOF
31250 #define SOCKLEN_T $wx_cv_type_getsockname3
31251 _ACEOF
31252
31253 fi
31254 fi
31255 fi
31256
31257 if test "$wxUSE_SOCKETS" = "yes" ; then
31258 cat >>confdefs.h <<\_ACEOF
31259 #define wxUSE_SOCKETS 1
31260 _ACEOF
31261
31262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31263 fi
31264
31265 if test "$wxUSE_PROTOCOL" = "yes"; then
31266 if test "$wxUSE_SOCKETS" != "yes"; then
31267 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31268 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31269 wxUSE_PROTOCOL=no
31270 fi
31271 fi
31272
31273 if test "$wxUSE_PROTOCOL" = "yes"; then
31274 cat >>confdefs.h <<\_ACEOF
31275 #define wxUSE_PROTOCOL 1
31276 _ACEOF
31277
31278
31279 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31280 cat >>confdefs.h <<\_ACEOF
31281 #define wxUSE_PROTOCOL_HTTP 1
31282 _ACEOF
31283
31284 fi
31285 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31286 cat >>confdefs.h <<\_ACEOF
31287 #define wxUSE_PROTOCOL_FTP 1
31288 _ACEOF
31289
31290 fi
31291 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31292 cat >>confdefs.h <<\_ACEOF
31293 #define wxUSE_PROTOCOL_FILE 1
31294 _ACEOF
31295
31296 fi
31297 else
31298 if test "$wxUSE_FS_INET" = "yes"; then
31299 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31300 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31301 wxUSE_FS_INET="no"
31302 fi
31303 fi
31304
31305 if test "$wxUSE_URL" = "yes"; then
31306 if test "$wxUSE_PROTOCOL" != "yes"; then
31307 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31308 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31309 wxUSE_URL=no
31310 fi
31311 if test "$wxUSE_URL" = "yes"; then
31312 cat >>confdefs.h <<\_ACEOF
31313 #define wxUSE_URL 1
31314 _ACEOF
31315
31316 fi
31317 fi
31318
31319 if test "$wxUSE_FS_INET" = "yes"; then
31320 cat >>confdefs.h <<\_ACEOF
31321 #define wxUSE_FS_INET 1
31322 _ACEOF
31323
31324 fi
31325
31326
31327 if test "$wxUSE_GUI" = "yes"; then
31328
31329 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31330 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31331 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31332 wxUSE_JOYSTICK=no
31333 fi
31334
31335 if test "$TOOLKIT" != "MSW"; then
31336 if test "$wxUSE_JOYSTICK" = "yes"; then
31337
31338 for ac_header in linux/joystick.h
31339 do
31340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31342 echo "$as_me:$LINENO: checking for $ac_header" >&5
31343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31345 echo $ECHO_N "(cached) $ECHO_C" >&6
31346 fi
31347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31349 else
31350 # Is the header compilable?
31351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31353 cat >conftest.$ac_ext <<_ACEOF
31354 #line $LINENO "configure"
31355 /* confdefs.h. */
31356 _ACEOF
31357 cat confdefs.h >>conftest.$ac_ext
31358 cat >>conftest.$ac_ext <<_ACEOF
31359 /* end confdefs.h. */
31360 $ac_includes_default
31361 #include <$ac_header>
31362 _ACEOF
31363 rm -f conftest.$ac_objext
31364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31365 (eval $ac_compile) 2>&5
31366 ac_status=$?
31367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31368 (exit $ac_status); } &&
31369 { ac_try='test -s conftest.$ac_objext'
31370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31371 (eval $ac_try) 2>&5
31372 ac_status=$?
31373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31374 (exit $ac_status); }; }; then
31375 ac_header_compiler=yes
31376 else
31377 echo "$as_me: failed program was:" >&5
31378 sed 's/^/| /' conftest.$ac_ext >&5
31379
31380 ac_header_compiler=no
31381 fi
31382 rm -f conftest.$ac_objext conftest.$ac_ext
31383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31384 echo "${ECHO_T}$ac_header_compiler" >&6
31385
31386 # Is the header present?
31387 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31388 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31389 cat >conftest.$ac_ext <<_ACEOF
31390 #line $LINENO "configure"
31391 /* confdefs.h. */
31392 _ACEOF
31393 cat confdefs.h >>conftest.$ac_ext
31394 cat >>conftest.$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31396 #include <$ac_header>
31397 _ACEOF
31398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31400 ac_status=$?
31401 grep -v '^ *+' conftest.er1 >conftest.err
31402 rm -f conftest.er1
31403 cat conftest.err >&5
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); } >/dev/null; then
31406 if test -s conftest.err; then
31407 ac_cpp_err=$ac_c_preproc_warn_flag
31408 else
31409 ac_cpp_err=
31410 fi
31411 else
31412 ac_cpp_err=yes
31413 fi
31414 if test -z "$ac_cpp_err"; then
31415 ac_header_preproc=yes
31416 else
31417 echo "$as_me: failed program was:" >&5
31418 sed 's/^/| /' conftest.$ac_ext >&5
31419
31420 ac_header_preproc=no
31421 fi
31422 rm -f conftest.err conftest.$ac_ext
31423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31424 echo "${ECHO_T}$ac_header_preproc" >&6
31425
31426 # So? What about this header?
31427 case $ac_header_compiler:$ac_header_preproc in
31428 yes:no )
31429 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31430 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31431 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31433 (
31434 cat <<\_ASBOX
31435 ## ------------------------------------ ##
31436 ## Report this to bug-autoconf@gnu.org. ##
31437 ## ------------------------------------ ##
31438 _ASBOX
31439 ) |
31440 sed "s/^/$as_me: WARNING: /" >&2
31441 ;;
31442 no:yes )
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31449 (
31450 cat <<\_ASBOX
31451 ## ------------------------------------ ##
31452 ## Report this to bug-autoconf@gnu.org. ##
31453 ## ------------------------------------ ##
31454 _ASBOX
31455 ) |
31456 sed "s/^/$as_me: WARNING: /" >&2
31457 ;;
31458 esac
31459 echo "$as_me:$LINENO: checking for $ac_header" >&5
31460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31462 echo $ECHO_N "(cached) $ECHO_C" >&6
31463 else
31464 eval "$as_ac_Header=$ac_header_preproc"
31465 fi
31466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31468
31469 fi
31470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31471 cat >>confdefs.h <<_ACEOF
31472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31473 _ACEOF
31474
31475 fi
31476
31477 done
31478
31479 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31480 wxUSE_JOYSTICK=no
31481 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31482 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31483 fi
31484 fi
31485 fi
31486
31487 if test "$wxUSE_JOYSTICK" = "yes"; then
31488 cat >>confdefs.h <<\_ACEOF
31489 #define wxUSE_JOYSTICK 1
31490 _ACEOF
31491
31492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31493 fi
31494 fi
31495
31496
31497 if test "$TOOLKIT" != "MSW"; then
31498
31499 HAVE_DL_FUNCS=0
31500 HAVE_SHL_FUNCS=0
31501 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31502 if test "$USE_DARWIN" = 1; then
31503 HAVE_DL_FUNCS=1
31504 else
31505
31506 for ac_func in dlopen
31507 do
31508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31509 echo "$as_me:$LINENO: checking for $ac_func" >&5
31510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31511 if eval "test \"\${$as_ac_var+set}\" = set"; then
31512 echo $ECHO_N "(cached) $ECHO_C" >&6
31513 else
31514 cat >conftest.$ac_ext <<_ACEOF
31515 #line $LINENO "configure"
31516 /* confdefs.h. */
31517 _ACEOF
31518 cat confdefs.h >>conftest.$ac_ext
31519 cat >>conftest.$ac_ext <<_ACEOF
31520 /* end confdefs.h. */
31521 /* System header to define __stub macros and hopefully few prototypes,
31522 which can conflict with char $ac_func (); below.
31523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31524 <limits.h> exists even on freestanding compilers. */
31525 #ifdef __STDC__
31526 # include <limits.h>
31527 #else
31528 # include <assert.h>
31529 #endif
31530 /* Override any gcc2 internal prototype to avoid an error. */
31531 #ifdef __cplusplus
31532 extern "C"
31533 {
31534 #endif
31535 /* We use char because int might match the return type of a gcc2
31536 builtin and then its argument prototype would still apply. */
31537 char $ac_func ();
31538 /* The GNU C library defines this for functions which it implements
31539 to always fail with ENOSYS. Some functions are actually named
31540 something starting with __ and the normal name is an alias. */
31541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31542 choke me
31543 #else
31544 char (*f) () = $ac_func;
31545 #endif
31546 #ifdef __cplusplus
31547 }
31548 #endif
31549
31550 int
31551 main ()
31552 {
31553 return f != $ac_func;
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 rm -f conftest.$ac_objext conftest$ac_exeext
31559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31560 (eval $ac_link) 2>&5
31561 ac_status=$?
31562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31563 (exit $ac_status); } &&
31564 { ac_try='test -s conftest$ac_exeext'
31565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31566 (eval $ac_try) 2>&5
31567 ac_status=$?
31568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31569 (exit $ac_status); }; }; then
31570 eval "$as_ac_var=yes"
31571 else
31572 echo "$as_me: failed program was:" >&5
31573 sed 's/^/| /' conftest.$ac_ext >&5
31574
31575 eval "$as_ac_var=no"
31576 fi
31577 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31578 fi
31579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31581 if test `eval echo '${'$as_ac_var'}'` = yes; then
31582 cat >>confdefs.h <<_ACEOF
31583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31584 _ACEOF
31585
31586 cat >>confdefs.h <<\_ACEOF
31587 #define HAVE_DLOPEN 1
31588 _ACEOF
31589
31590 HAVE_DL_FUNCS=1
31591
31592 else
31593
31594 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31595 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31596 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31597 echo $ECHO_N "(cached) $ECHO_C" >&6
31598 else
31599 ac_check_lib_save_LIBS=$LIBS
31600 LIBS="-ldl $LIBS"
31601 cat >conftest.$ac_ext <<_ACEOF
31602 #line $LINENO "configure"
31603 /* confdefs.h. */
31604 _ACEOF
31605 cat confdefs.h >>conftest.$ac_ext
31606 cat >>conftest.$ac_ext <<_ACEOF
31607 /* end confdefs.h. */
31608
31609 /* Override any gcc2 internal prototype to avoid an error. */
31610 #ifdef __cplusplus
31611 extern "C"
31612 #endif
31613 /* We use char because int might match the return type of a gcc2
31614 builtin and then its argument prototype would still apply. */
31615 char dlopen ();
31616 int
31617 main ()
31618 {
31619 dlopen ();
31620 ;
31621 return 0;
31622 }
31623 _ACEOF
31624 rm -f conftest.$ac_objext conftest$ac_exeext
31625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31626 (eval $ac_link) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); } &&
31630 { ac_try='test -s conftest$ac_exeext'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; }; then
31636 ac_cv_lib_dl_dlopen=yes
31637 else
31638 echo "$as_me: failed program was:" >&5
31639 sed 's/^/| /' conftest.$ac_ext >&5
31640
31641 ac_cv_lib_dl_dlopen=no
31642 fi
31643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31644 LIBS=$ac_check_lib_save_LIBS
31645 fi
31646 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31647 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31648 if test $ac_cv_lib_dl_dlopen = yes; then
31649
31650 cat >>confdefs.h <<\_ACEOF
31651 #define HAVE_DLOPEN 1
31652 _ACEOF
31653
31654 HAVE_DL_FUNCS=1
31655 DL_LINK=" -ldl$DL_LINK"
31656
31657 else
31658
31659
31660 for ac_func in shl_load
31661 do
31662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31663 echo "$as_me:$LINENO: checking for $ac_func" >&5
31664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31665 if eval "test \"\${$as_ac_var+set}\" = set"; then
31666 echo $ECHO_N "(cached) $ECHO_C" >&6
31667 else
31668 cat >conftest.$ac_ext <<_ACEOF
31669 #line $LINENO "configure"
31670 /* confdefs.h. */
31671 _ACEOF
31672 cat confdefs.h >>conftest.$ac_ext
31673 cat >>conftest.$ac_ext <<_ACEOF
31674 /* end confdefs.h. */
31675 /* System header to define __stub macros and hopefully few prototypes,
31676 which can conflict with char $ac_func (); below.
31677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31678 <limits.h> exists even on freestanding compilers. */
31679 #ifdef __STDC__
31680 # include <limits.h>
31681 #else
31682 # include <assert.h>
31683 #endif
31684 /* Override any gcc2 internal prototype to avoid an error. */
31685 #ifdef __cplusplus
31686 extern "C"
31687 {
31688 #endif
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31691 char $ac_func ();
31692 /* The GNU C library defines this for functions which it implements
31693 to always fail with ENOSYS. Some functions are actually named
31694 something starting with __ and the normal name is an alias. */
31695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31696 choke me
31697 #else
31698 char (*f) () = $ac_func;
31699 #endif
31700 #ifdef __cplusplus
31701 }
31702 #endif
31703
31704 int
31705 main ()
31706 {
31707 return f != $ac_func;
31708 ;
31709 return 0;
31710 }
31711 _ACEOF
31712 rm -f conftest.$ac_objext conftest$ac_exeext
31713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31714 (eval $ac_link) 2>&5
31715 ac_status=$?
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } &&
31718 { ac_try='test -s conftest$ac_exeext'
31719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31720 (eval $ac_try) 2>&5
31721 ac_status=$?
31722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31723 (exit $ac_status); }; }; then
31724 eval "$as_ac_var=yes"
31725 else
31726 echo "$as_me: failed program was:" >&5
31727 sed 's/^/| /' conftest.$ac_ext >&5
31728
31729 eval "$as_ac_var=no"
31730 fi
31731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31732 fi
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735 if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h <<_ACEOF
31737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31738 _ACEOF
31739
31740 cat >>confdefs.h <<\_ACEOF
31741 #define HAVE_SHL_LOAD 1
31742 _ACEOF
31743
31744 HAVE_SHL_FUNCS=1
31745
31746 else
31747
31748 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31749 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31750 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31751 echo $ECHO_N "(cached) $ECHO_C" >&6
31752 else
31753 ac_check_lib_save_LIBS=$LIBS
31754 LIBS="-lshl_load $LIBS"
31755 cat >conftest.$ac_ext <<_ACEOF
31756 #line $LINENO "configure"
31757 /* confdefs.h. */
31758 _ACEOF
31759 cat confdefs.h >>conftest.$ac_ext
31760 cat >>conftest.$ac_ext <<_ACEOF
31761 /* end confdefs.h. */
31762
31763 /* Override any gcc2 internal prototype to avoid an error. */
31764 #ifdef __cplusplus
31765 extern "C"
31766 #endif
31767 /* We use char because int might match the return type of a gcc2
31768 builtin and then its argument prototype would still apply. */
31769 char dld ();
31770 int
31771 main ()
31772 {
31773 dld ();
31774 ;
31775 return 0;
31776 }
31777 _ACEOF
31778 rm -f conftest.$ac_objext conftest$ac_exeext
31779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31780 (eval $ac_link) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); } &&
31784 { ac_try='test -s conftest$ac_exeext'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; }; then
31790 ac_cv_lib_shl_load_dld=yes
31791 else
31792 echo "$as_me: failed program was:" >&5
31793 sed 's/^/| /' conftest.$ac_ext >&5
31794
31795 ac_cv_lib_shl_load_dld=no
31796 fi
31797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31798 LIBS=$ac_check_lib_save_LIBS
31799 fi
31800 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31801 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31802 if test $ac_cv_lib_shl_load_dld = yes; then
31803
31804 HAVE_SHL_FUNCS=1
31805 DL_LINK=" -ldld$DL_LINK"
31806
31807 fi
31808
31809
31810 fi
31811 done
31812
31813
31814 fi
31815
31816
31817 fi
31818 done
31819
31820
31821 if test "$HAVE_DL_FUNCS" = 1; then
31822
31823 for ac_func in dlerror
31824 do
31825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31826 echo "$as_me:$LINENO: checking for $ac_func" >&5
31827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31828 if eval "test \"\${$as_ac_var+set}\" = set"; then
31829 echo $ECHO_N "(cached) $ECHO_C" >&6
31830 else
31831 cat >conftest.$ac_ext <<_ACEOF
31832 #line $LINENO "configure"
31833 /* confdefs.h. */
31834 _ACEOF
31835 cat confdefs.h >>conftest.$ac_ext
31836 cat >>conftest.$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31838 /* System header to define __stub macros and hopefully few prototypes,
31839 which can conflict with char $ac_func (); below.
31840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31841 <limits.h> exists even on freestanding compilers. */
31842 #ifdef __STDC__
31843 # include <limits.h>
31844 #else
31845 # include <assert.h>
31846 #endif
31847 /* Override any gcc2 internal prototype to avoid an error. */
31848 #ifdef __cplusplus
31849 extern "C"
31850 {
31851 #endif
31852 /* We use char because int might match the return type of a gcc2
31853 builtin and then its argument prototype would still apply. */
31854 char $ac_func ();
31855 /* The GNU C library defines this for functions which it implements
31856 to always fail with ENOSYS. Some functions are actually named
31857 something starting with __ and the normal name is an alias. */
31858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31859 choke me
31860 #else
31861 char (*f) () = $ac_func;
31862 #endif
31863 #ifdef __cplusplus
31864 }
31865 #endif
31866
31867 int
31868 main ()
31869 {
31870 return f != $ac_func;
31871 ;
31872 return 0;
31873 }
31874 _ACEOF
31875 rm -f conftest.$ac_objext conftest$ac_exeext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31877 (eval $ac_link) 2>&5
31878 ac_status=$?
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); } &&
31881 { ac_try='test -s conftest$ac_exeext'
31882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31883 (eval $ac_try) 2>&5
31884 ac_status=$?
31885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31886 (exit $ac_status); }; }; then
31887 eval "$as_ac_var=yes"
31888 else
31889 echo "$as_me: failed program was:" >&5
31890 sed 's/^/| /' conftest.$ac_ext >&5
31891
31892 eval "$as_ac_var=no"
31893 fi
31894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31895 fi
31896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31898 if test `eval echo '${'$as_ac_var'}'` = yes; then
31899 cat >>confdefs.h <<_ACEOF
31900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31901 _ACEOF
31902 cat >>confdefs.h <<\_ACEOF
31903 #define HAVE_DLERROR 1
31904 _ACEOF
31905
31906 else
31907 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31908 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31909 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31911 else
31912 ac_check_lib_save_LIBS=$LIBS
31913 LIBS="-ldl $LIBS"
31914 cat >conftest.$ac_ext <<_ACEOF
31915 #line $LINENO "configure"
31916 /* confdefs.h. */
31917 _ACEOF
31918 cat confdefs.h >>conftest.$ac_ext
31919 cat >>conftest.$ac_ext <<_ACEOF
31920 /* end confdefs.h. */
31921
31922 /* Override any gcc2 internal prototype to avoid an error. */
31923 #ifdef __cplusplus
31924 extern "C"
31925 #endif
31926 /* We use char because int might match the return type of a gcc2
31927 builtin and then its argument prototype would still apply. */
31928 char dlerror ();
31929 int
31930 main ()
31931 {
31932 dlerror ();
31933 ;
31934 return 0;
31935 }
31936 _ACEOF
31937 rm -f conftest.$ac_objext conftest$ac_exeext
31938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31939 (eval $ac_link) 2>&5
31940 ac_status=$?
31941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31942 (exit $ac_status); } &&
31943 { ac_try='test -s conftest$ac_exeext'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; }; then
31949 ac_cv_lib_dl_dlerror=yes
31950 else
31951 echo "$as_me: failed program was:" >&5
31952 sed 's/^/| /' conftest.$ac_ext >&5
31953
31954 ac_cv_lib_dl_dlerror=no
31955 fi
31956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31957 LIBS=$ac_check_lib_save_LIBS
31958 fi
31959 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
31960 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
31961 if test $ac_cv_lib_dl_dlerror = yes; then
31962 cat >>confdefs.h <<\_ACEOF
31963 #define HAVE_DLERROR 1
31964 _ACEOF
31965
31966 fi
31967
31968 fi
31969 done
31970
31971 fi
31972 fi
31973
31974 if test "$HAVE_DL_FUNCS" = 0; then
31975 if test "$HAVE_SHL_FUNCS" = 0; then
31976 if test "$USE_UNIX" = 1; then
31977 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
31978 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
31979 wxUSE_DYNAMIC_LOADER=no
31980 wxUSE_DYNLIB_CLASS=no
31981 else
31982 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
31983 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
31984 fi
31985 fi
31986 fi
31987 fi
31988 fi
31989
31990 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
31991 cat >>confdefs.h <<\_ACEOF
31992 #define wxUSE_DYNAMIC_LOADER 1
31993 _ACEOF
31994
31995 fi
31996 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31997 cat >>confdefs.h <<\_ACEOF
31998 #define wxUSE_DYNLIB_CLASS 1
31999 _ACEOF
32000
32001 fi
32002
32003
32004 if test "$wxUSE_FONTMAP" = "yes" ; then
32005 cat >>confdefs.h <<\_ACEOF
32006 #define wxUSE_FONTMAP 1
32007 _ACEOF
32008
32009 fi
32010
32011 if test "$wxUSE_UNICODE" = "yes" ; then
32012 cat >>confdefs.h <<\_ACEOF
32013 #define wxUSE_UNICODE 1
32014 _ACEOF
32015
32016
32017 if test "$USE_WIN32" != 1; then
32018 wxUSE_UNICODE_MSLU=no
32019 fi
32020
32021 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32022 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32023 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32024 if test "${ac_cv_lib_unicows_main+set}" = set; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32027 ac_check_lib_save_LIBS=$LIBS
32028 LIBS="-lunicows $LIBS"
32029 cat >conftest.$ac_ext <<_ACEOF
32030 #line $LINENO "configure"
32031 /* confdefs.h. */
32032 _ACEOF
32033 cat confdefs.h >>conftest.$ac_ext
32034 cat >>conftest.$ac_ext <<_ACEOF
32035 /* end confdefs.h. */
32036
32037
32038 int
32039 main ()
32040 {
32041 main ();
32042 ;
32043 return 0;
32044 }
32045 _ACEOF
32046 rm -f conftest.$ac_objext conftest$ac_exeext
32047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32048 (eval $ac_link) 2>&5
32049 ac_status=$?
32050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32051 (exit $ac_status); } &&
32052 { ac_try='test -s conftest$ac_exeext'
32053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32054 (eval $ac_try) 2>&5
32055 ac_status=$?
32056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32057 (exit $ac_status); }; }; then
32058 ac_cv_lib_unicows_main=yes
32059 else
32060 echo "$as_me: failed program was:" >&5
32061 sed 's/^/| /' conftest.$ac_ext >&5
32062
32063 ac_cv_lib_unicows_main=no
32064 fi
32065 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32066 LIBS=$ac_check_lib_save_LIBS
32067 fi
32068 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32069 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32070 if test $ac_cv_lib_unicows_main = yes; then
32071
32072 cat >>confdefs.h <<\_ACEOF
32073 #define wxUSE_UNICODE_MSLU 1
32074 _ACEOF
32075
32076
32077 else
32078
32079 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32080 Applications will only run on Windows NT/2000/XP!" >&5
32081 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32082 Applications will only run on Windows NT/2000/XP!" >&2;}
32083 wxUSE_UNICODE_MSLU=no
32084
32085 fi
32086
32087 fi
32088 fi
32089
32090 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32091 cat >>confdefs.h <<\_ACEOF
32092 #define wxUSE_EXPERIMENTAL_PRINTF 1
32093 _ACEOF
32094
32095 fi
32096
32097
32098 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32099 cat >>confdefs.h <<\_ACEOF
32100 #define wxUSE_POSTSCRIPT 1
32101 _ACEOF
32102
32103 fi
32104
32105 cat >>confdefs.h <<\_ACEOF
32106 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32107 _ACEOF
32108
32109
32110 cat >>confdefs.h <<\_ACEOF
32111 #define wxUSE_NORMALIZED_PS_FONTS 1
32112 _ACEOF
32113
32114
32115
32116 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32117 cat >>confdefs.h <<\_ACEOF
32118 #define wxUSE_CONSTRAINTS 1
32119 _ACEOF
32120
32121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32122 fi
32123
32124 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32125 cat >>confdefs.h <<\_ACEOF
32126 #define wxUSE_MDI_ARCHITECTURE 1
32127 _ACEOF
32128
32129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32130 fi
32131
32132 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32133 cat >>confdefs.h <<\_ACEOF
32134 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32135 _ACEOF
32136
32137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32138 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32140 fi
32141 fi
32142
32143 if test "$wxUSE_HELP" = "yes"; then
32144 cat >>confdefs.h <<\_ACEOF
32145 #define wxUSE_HELP 1
32146 _ACEOF
32147
32148 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32149
32150 if test "$wxUSE_MSW" = 1; then
32151 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32152 cat >>confdefs.h <<\_ACEOF
32153 #define wxUSE_MS_HTML_HELP 1
32154 _ACEOF
32155
32156 fi
32157 fi
32158
32159 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32160 if test "$wxUSE_HTML" = "yes"; then
32161 cat >>confdefs.h <<\_ACEOF
32162 #define wxUSE_WXHTML_HELP 1
32163 _ACEOF
32164
32165 else
32166 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32167 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32168 wxUSE_WXHTML_HELP=no
32169 fi
32170 fi
32171 fi
32172
32173 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32174 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32175 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32176 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32177 else
32178 cat >>confdefs.h <<\_ACEOF
32179 #define wxUSE_PRINTING_ARCHITECTURE 1
32180 _ACEOF
32181
32182 fi
32183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32184 fi
32185
32186 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32187 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32188 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32189 { (exit 1); exit 1; }; }
32190 fi
32191
32192
32193 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32194 -o "$wxUSE_CLIPBOARD" = "yes" \
32195 -o "$wxUSE_OLE" = "yes" \
32196 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32197
32198 for ac_header in ole2.h
32199 do
32200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32202 echo "$as_me:$LINENO: checking for $ac_header" >&5
32203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 fi
32207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32208 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32209 else
32210 # Is the header compilable?
32211 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32212 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32213 cat >conftest.$ac_ext <<_ACEOF
32214 #line $LINENO "configure"
32215 /* confdefs.h. */
32216 _ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 $ac_includes_default
32221 #include <$ac_header>
32222 _ACEOF
32223 rm -f conftest.$ac_objext
32224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32225 (eval $ac_compile) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); } &&
32229 { ac_try='test -s conftest.$ac_objext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_header_compiler=yes
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32239
32240 ac_header_compiler=no
32241 fi
32242 rm -f conftest.$ac_objext conftest.$ac_ext
32243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32244 echo "${ECHO_T}$ac_header_compiler" >&6
32245
32246 # Is the header present?
32247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32249 cat >conftest.$ac_ext <<_ACEOF
32250 #line $LINENO "configure"
32251 /* confdefs.h. */
32252 _ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #include <$ac_header>
32257 _ACEOF
32258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32260 ac_status=$?
32261 grep -v '^ *+' conftest.er1 >conftest.err
32262 rm -f conftest.er1
32263 cat conftest.err >&5
32264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32265 (exit $ac_status); } >/dev/null; then
32266 if test -s conftest.err; then
32267 ac_cpp_err=$ac_c_preproc_warn_flag
32268 else
32269 ac_cpp_err=
32270 fi
32271 else
32272 ac_cpp_err=yes
32273 fi
32274 if test -z "$ac_cpp_err"; then
32275 ac_header_preproc=yes
32276 else
32277 echo "$as_me: failed program was:" >&5
32278 sed 's/^/| /' conftest.$ac_ext >&5
32279
32280 ac_header_preproc=no
32281 fi
32282 rm -f conftest.err conftest.$ac_ext
32283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32284 echo "${ECHO_T}$ac_header_preproc" >&6
32285
32286 # So? What about this header?
32287 case $ac_header_compiler:$ac_header_preproc in
32288 yes:no )
32289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32293 (
32294 cat <<\_ASBOX
32295 ## ------------------------------------ ##
32296 ## Report this to bug-autoconf@gnu.org. ##
32297 ## ------------------------------------ ##
32298 _ASBOX
32299 ) |
32300 sed "s/^/$as_me: WARNING: /" >&2
32301 ;;
32302 no:yes )
32303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32309 (
32310 cat <<\_ASBOX
32311 ## ------------------------------------ ##
32312 ## Report this to bug-autoconf@gnu.org. ##
32313 ## ------------------------------------ ##
32314 _ASBOX
32315 ) |
32316 sed "s/^/$as_me: WARNING: /" >&2
32317 ;;
32318 esac
32319 echo "$as_me:$LINENO: checking for $ac_header" >&5
32320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32322 echo $ECHO_N "(cached) $ECHO_C" >&6
32323 else
32324 eval "$as_ac_Header=$ac_header_preproc"
32325 fi
32326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32328
32329 fi
32330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32331 cat >>confdefs.h <<_ACEOF
32332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32333 _ACEOF
32334
32335 fi
32336
32337 done
32338
32339
32340 if test "$ac_cv_header_ole2_h" = "yes" ; then
32341 if test "$GCC" = yes ; then
32342
32343
32344 ac_ext=cc
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32349
32350
32351 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32352 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32353 cat >conftest.$ac_ext <<_ACEOF
32354 #line $LINENO "configure"
32355 /* confdefs.h. */
32356 _ACEOF
32357 cat confdefs.h >>conftest.$ac_ext
32358 cat >>conftest.$ac_ext <<_ACEOF
32359 /* end confdefs.h. */
32360 #include <windows.h>
32361 #include <ole2.h>
32362 int
32363 main ()
32364 {
32365
32366 ;
32367 return 0;
32368 }
32369 _ACEOF
32370 rm -f conftest.$ac_objext
32371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32372 (eval $ac_compile) 2>&5
32373 ac_status=$?
32374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32375 (exit $ac_status); } &&
32376 { ac_try='test -s conftest.$ac_objext'
32377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32378 (eval $ac_try) 2>&5
32379 ac_status=$?
32380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32381 (exit $ac_status); }; }; then
32382 echo "$as_me:$LINENO: result: no" >&5
32383 echo "${ECHO_T}no" >&6
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32387
32388 echo "$as_me:$LINENO: result: yes" >&5
32389 echo "${ECHO_T}yes" >&6
32390 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32391 fi
32392 rm -f conftest.$ac_objext conftest.$ac_ext
32393 ac_ext=c
32394 ac_cpp='$CPP $CPPFLAGS'
32395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32398
32399 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32400 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32401 cat >>confdefs.h <<\_ACEOF
32402 #define wxUSE_OLE 1
32403 _ACEOF
32404
32405
32406 fi
32407
32408 cat >>confdefs.h <<\_ACEOF
32409 #define wxUSE_DATAOBJ 1
32410 _ACEOF
32411
32412 else
32413 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32414 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32415
32416 wxUSE_CLIPBOARD=no
32417 wxUSE_DRAG_AND_DROP=no
32418 wxUSE_DATAOBJ=no
32419 wxUSE_OLE=no
32420 fi
32421
32422 if test "$wxUSE_METAFILE" = "yes"; then
32423 cat >>confdefs.h <<\_ACEOF
32424 #define wxUSE_METAFILE 1
32425 _ACEOF
32426
32427
32428 cat >>confdefs.h <<\_ACEOF
32429 #define wxUSE_ENH_METAFILE 1
32430 _ACEOF
32431
32432 fi
32433 fi
32434
32435 if test "$wxUSE_IPC" = "yes"; then
32436 if test "$wxUSE_SOCKETS" != "yes"; then
32437 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32438 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32439 fi
32440
32441 cat >>confdefs.h <<\_ACEOF
32442 #define wxUSE_IPC 1
32443 _ACEOF
32444
32445 fi
32446
32447 if test "$wxUSE_CLIPBOARD" = "yes"; then
32448 if test "$wxUSE_MGL" = 1; then
32449 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32450 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32451 wxUSE_CLIPBOARD=no
32452 fi
32453
32454 if test "$wxUSE_CLIPBOARD" = "yes"; then
32455 cat >>confdefs.h <<\_ACEOF
32456 #define wxUSE_CLIPBOARD 1
32457 _ACEOF
32458
32459
32460 cat >>confdefs.h <<\_ACEOF
32461 #define wxUSE_DATAOBJ 1
32462 _ACEOF
32463
32464 fi
32465 fi
32466
32467 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32468 if test "$wxUSE_GTK" = 1; then
32469 if test "$WXGTK12" != 1; then
32470 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32471 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32472 wxUSE_DRAG_AND_DROP=no
32473 fi
32474 fi
32475
32476 if test "$wxUSE_MOTIF" = 1; then
32477 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32478 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32479 wxUSE_DRAG_AND_DROP=no
32480 fi
32481
32482 if test "$wxUSE_X11" = 1; then
32483 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32484 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32485 wxUSE_DRAG_AND_DROP=no
32486 fi
32487
32488 if test "$wxUSE_MGL" = 1; then
32489 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32490 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32491 wxUSE_DRAG_AND_DROP=no
32492 fi
32493
32494 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32495 cat >>confdefs.h <<\_ACEOF
32496 #define wxUSE_DRAG_AND_DROP 1
32497 _ACEOF
32498
32499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32500 fi
32501
32502 fi
32503
32504 if test "$wxUSE_SPLINES" = "yes" ; then
32505 cat >>confdefs.h <<\_ACEOF
32506 #define wxUSE_SPLINES 1
32507 _ACEOF
32508
32509 fi
32510
32511
32512 USES_CONTROLS=0
32513 if test "$wxUSE_CONTROLS" = "yes"; then
32514 USES_CONTROLS=1
32515 fi
32516
32517 if test "$wxUSE_ACCEL" = "yes"; then
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_ACCEL 1
32520 _ACEOF
32521
32522 USES_CONTROLS=1
32523 fi
32524
32525 if test "$wxUSE_BUTTON" = "yes"; then
32526 cat >>confdefs.h <<\_ACEOF
32527 #define wxUSE_BUTTON 1
32528 _ACEOF
32529
32530 USES_CONTROLS=1
32531 fi
32532
32533 if test "$wxUSE_BMPBUTTON" = "yes"; then
32534 cat >>confdefs.h <<\_ACEOF
32535 #define wxUSE_BMPBUTTON 1
32536 _ACEOF
32537
32538 USES_CONTROLS=1
32539 fi
32540
32541 if test "$wxUSE_CALCTRL" = "yes"; then
32542 cat >>confdefs.h <<\_ACEOF
32543 #define wxUSE_CALENDARCTRL 1
32544 _ACEOF
32545
32546 USES_CONTROLS=1
32547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32548 fi
32549
32550 if test "$wxUSE_CARET" = "yes"; then
32551 cat >>confdefs.h <<\_ACEOF
32552 #define wxUSE_CARET 1
32553 _ACEOF
32554
32555 USES_CONTROLS=1
32556 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32557 fi
32558
32559 if test "$wxUSE_COMBOBOX" = "yes"; then
32560 cat >>confdefs.h <<\_ACEOF
32561 #define wxUSE_COMBOBOX 1
32562 _ACEOF
32563
32564 USES_CONTROLS=1
32565 fi
32566
32567 if test "$wxUSE_CHOICE" = "yes"; then
32568 cat >>confdefs.h <<\_ACEOF
32569 #define wxUSE_CHOICE 1
32570 _ACEOF
32571
32572 USES_CONTROLS=1
32573 fi
32574
32575 if test "$wxUSE_CHECKBOX" = "yes"; then
32576 cat >>confdefs.h <<\_ACEOF
32577 #define wxUSE_CHECKBOX 1
32578 _ACEOF
32579
32580 USES_CONTROLS=1
32581 fi
32582
32583 if test "$wxUSE_CHECKLST" = "yes"; then
32584 cat >>confdefs.h <<\_ACEOF
32585 #define wxUSE_CHECKLISTBOX 1
32586 _ACEOF
32587
32588 USES_CONTROLS=1
32589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32590 fi
32591
32592 if test "$wxUSE_DISPLAY" = "yes"; then
32593 cat >>confdefs.h <<\_ACEOF
32594 #define wxUSE_DISPLAY 1
32595 _ACEOF
32596
32597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32598 fi
32599
32600 if test "$wxUSE_GAUGE" = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602 #define wxUSE_GAUGE 1
32603 _ACEOF
32604
32605 USES_CONTROLS=1
32606 fi
32607
32608 if test "$wxUSE_GRID" = "yes"; then
32609 cat >>confdefs.h <<\_ACEOF
32610 #define wxUSE_GRID 1
32611 _ACEOF
32612
32613 USES_CONTROLS=1
32614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32615 fi
32616
32617 if test "$wxUSE_IMAGLIST" = "yes"; then
32618 cat >>confdefs.h <<\_ACEOF
32619 #define wxUSE_IMAGLIST 1
32620 _ACEOF
32621
32622 fi
32623
32624 if test "$wxUSE_LISTBOX" = "yes"; then
32625 cat >>confdefs.h <<\_ACEOF
32626 #define wxUSE_LISTBOX 1
32627 _ACEOF
32628
32629 USES_CONTROLS=1
32630 fi
32631
32632 if test "$wxUSE_LISTCTRL" = "yes"; then
32633 if test "$wxUSE_IMAGLIST" = "yes"; then
32634 cat >>confdefs.h <<\_ACEOF
32635 #define wxUSE_LISTCTRL 1
32636 _ACEOF
32637
32638 USES_CONTROLS=1
32639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32640 else
32641 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32642 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32643 fi
32644 fi
32645
32646 if test "$wxUSE_NOTEBOOK" = "yes"; then
32647 cat >>confdefs.h <<\_ACEOF
32648 #define wxUSE_NOTEBOOK 1
32649 _ACEOF
32650
32651 USES_CONTROLS=1
32652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32653 fi
32654
32655
32656 if test "$wxUSE_RADIOBOX" = "yes"; then
32657 cat >>confdefs.h <<\_ACEOF
32658 #define wxUSE_RADIOBOX 1
32659 _ACEOF
32660
32661 USES_CONTROLS=1
32662 fi
32663
32664 if test "$wxUSE_RADIOBTN" = "yes"; then
32665 cat >>confdefs.h <<\_ACEOF
32666 #define wxUSE_RADIOBTN 1
32667 _ACEOF
32668
32669 USES_CONTROLS=1
32670 fi
32671
32672 if test "$wxUSE_SASH" = "yes"; then
32673 cat >>confdefs.h <<\_ACEOF
32674 #define wxUSE_SASH 1
32675 _ACEOF
32676
32677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32678 fi
32679
32680 if test "$wxUSE_SCROLLBAR" = "yes"; then
32681 cat >>confdefs.h <<\_ACEOF
32682 #define wxUSE_SCROLLBAR 1
32683 _ACEOF
32684
32685 USES_CONTROLS=1
32686 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32687 fi
32688
32689 if test "$wxUSE_SLIDER" = "yes"; then
32690 cat >>confdefs.h <<\_ACEOF
32691 #define wxUSE_SLIDER 1
32692 _ACEOF
32693
32694 USES_CONTROLS=1
32695 fi
32696
32697 if test "$wxUSE_SPINBTN" = "yes"; then
32698 cat >>confdefs.h <<\_ACEOF
32699 #define wxUSE_SPINBTN 1
32700 _ACEOF
32701
32702 USES_CONTROLS=1
32703 fi
32704
32705 if test "$wxUSE_SPINCTRL" = "yes"; then
32706 cat >>confdefs.h <<\_ACEOF
32707 #define wxUSE_SPINCTRL 1
32708 _ACEOF
32709
32710 USES_CONTROLS=1
32711 fi
32712
32713 if test "$wxUSE_SPLITTER" = "yes"; then
32714 cat >>confdefs.h <<\_ACEOF
32715 #define wxUSE_SPLITTER 1
32716 _ACEOF
32717
32718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32719 fi
32720
32721 if test "$wxUSE_STATBMP" = "yes"; then
32722 cat >>confdefs.h <<\_ACEOF
32723 #define wxUSE_STATBMP 1
32724 _ACEOF
32725
32726 USES_CONTROLS=1
32727 fi
32728
32729 if test "$wxUSE_STATBOX" = "yes"; then
32730 cat >>confdefs.h <<\_ACEOF
32731 #define wxUSE_STATBOX 1
32732 _ACEOF
32733
32734 USES_CONTROLS=1
32735 fi
32736
32737 if test "$wxUSE_STATTEXT" = "yes"; then
32738 cat >>confdefs.h <<\_ACEOF
32739 #define wxUSE_STATTEXT 1
32740 _ACEOF
32741
32742 USES_CONTROLS=1
32743 fi
32744
32745 if test "$wxUSE_STATLINE" = "yes"; then
32746 cat >>confdefs.h <<\_ACEOF
32747 #define wxUSE_STATLINE 1
32748 _ACEOF
32749
32750 USES_CONTROLS=1
32751 fi
32752
32753 if test "$wxUSE_STATUSBAR" = "yes"; then
32754 cat >>confdefs.h <<\_ACEOF
32755 #define wxUSE_STATUSBAR 1
32756 _ACEOF
32757
32758 USES_CONTROLS=1
32759
32760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32761 fi
32762
32763 if test "$wxUSE_TABDIALOG" = "yes"; then
32764 cat >>confdefs.h <<\_ACEOF
32765 #define wxUSE_TAB_DIALOG 1
32766 _ACEOF
32767
32768 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32769 fi
32770
32771 if test "$wxUSE_TEXTCTRL" = "yes"; then
32772 cat >>confdefs.h <<\_ACEOF
32773 #define wxUSE_TEXTCTRL 1
32774 _ACEOF
32775
32776 USES_CONTROLS=1
32777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32778 fi
32779
32780 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32782 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32783 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32784 wxUSE_TOGGLEBTN=no
32785 fi
32786 if test "$wxUSE_UNIVERSAL" = "yes"; then
32787 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32788 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32789 wxUSE_TOGGLEBTN=no
32790 fi
32791
32792 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32793 cat >>confdefs.h <<\_ACEOF
32794 #define wxUSE_TOGGLEBTN 1
32795 _ACEOF
32796
32797 USES_CONTROLS=1
32798 fi
32799 fi
32800
32801 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32802 cat >>confdefs.h <<\_ACEOF
32803 #define wxUSE_TOOLBAR_SIMPLE 1
32804 _ACEOF
32805
32806 wxUSE_TOOLBAR="yes"
32807 USES_CONTROLS=1
32808 fi
32809
32810 if test "$wxUSE_TOOLBAR" = "yes"; then
32811 cat >>confdefs.h <<\_ACEOF
32812 #define wxUSE_TOOLBAR 1
32813 _ACEOF
32814
32815 USES_CONTROLS=1
32816
32817 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32818 wxUSE_TOOLBAR_NATIVE="yes"
32819 fi
32820
32821 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32822 cat >>confdefs.h <<\_ACEOF
32823 #define wxUSE_TOOLBAR_NATIVE 1
32824 _ACEOF
32825
32826 USES_CONTROLS=1
32827 fi
32828
32829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32830 fi
32831
32832 if test "$wxUSE_TOOLTIPS" = "yes"; then
32833 if test "$wxUSE_MOTIF" = 1; then
32834 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32835 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32836 else
32837 if test "$wxUSE_UNIVERSAL" = "yes"; then
32838 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32839 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32840 else
32841 cat >>confdefs.h <<\_ACEOF
32842 #define wxUSE_TOOLTIPS 1
32843 _ACEOF
32844
32845 fi
32846 fi
32847 fi
32848
32849 if test "$wxUSE_TREECTRL" = "yes"; then
32850 if test "$wxUSE_IMAGLIST" = "yes"; then
32851 cat >>confdefs.h <<\_ACEOF
32852 #define wxUSE_TREECTRL 1
32853 _ACEOF
32854
32855 USES_CONTROLS=1
32856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32857 else
32858 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32859 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32860 fi
32861 fi
32862
32863 if test "$wxUSE_POPUPWIN" = "yes"; then
32864 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32865 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32866 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32867 else
32868 if test "$wxUSE_MOTIF" = 1; then
32869 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32870 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32871 else
32872 if test "$wxUSE_PM" = 1; then
32873 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32874 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32875 else
32876 cat >>confdefs.h <<\_ACEOF
32877 #define wxUSE_POPUPWIN 1
32878 _ACEOF
32879
32880
32881 USES_CONTROLS=1
32882 fi
32883 fi
32884 fi
32885 fi
32886
32887 if test "$wxUSE_TIPWINDOW" = "yes"; then
32888 if test "$wxUSE_PM" = 1; then
32889 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32890 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32891 else
32892 cat >>confdefs.h <<\_ACEOF
32893 #define wxUSE_TIPWINDOW 1
32894 _ACEOF
32895
32896 fi
32897 fi
32898
32899 if test "$USES_CONTROLS" = 1; then
32900 cat >>confdefs.h <<\_ACEOF
32901 #define wxUSE_CONTROLS 1
32902 _ACEOF
32903
32904 fi
32905
32906
32907
32908 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32909 cat >>confdefs.h <<\_ACEOF
32910 #define wxUSE_DRAGIMAGE 1
32911 _ACEOF
32912
32913 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32914 fi
32915
32916 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32917 cat >>confdefs.h <<\_ACEOF
32918 #define wxUSE_ACCESSIBILITY 1
32919 _ACEOF
32920
32921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32922 fi
32923
32924 if test "$wxUSE_MENUS" = "yes"; then
32925 cat >>confdefs.h <<\_ACEOF
32926 #define wxUSE_MENUS 1
32927 _ACEOF
32928
32929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
32930 fi
32931
32932 if test "$wxUSE_METAFILE" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934 #define wxUSE_METAFILE 1
32935 _ACEOF
32936
32937 fi
32938
32939 if test "$wxUSE_MIMETYPE" = "yes"; then
32940 cat >>confdefs.h <<\_ACEOF
32941 #define wxUSE_MIMETYPE 1
32942 _ACEOF
32943
32944 fi
32945
32946 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
32947 cat >>confdefs.h <<\_ACEOF
32948 #define wxUSE_SYSTEM_OPTIONS 1
32949 _ACEOF
32950
32951 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
32952 "$TOOLKIT" = "MOTIF"; then
32953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
32954 fi
32955
32956 fi
32957
32958 if test "$wxUSE_MINIFRAME" = "yes"; then
32959 cat >>confdefs.h <<\_ACEOF
32960 #define wxUSE_MINIFRAME 1
32961 _ACEOF
32962
32963 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
32964 fi
32965
32966 USE_HTML=0
32967 if test "$wxUSE_HTML" = "yes"; then
32968 cat >>confdefs.h <<\_ACEOF
32969 #define wxUSE_HTML 1
32970 _ACEOF
32971
32972 USE_HTML=1
32973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
32974 fi
32975
32976 if test "$wxUSE_VALIDATORS" = "yes"; then
32977 cat >>confdefs.h <<\_ACEOF
32978 #define wxUSE_VALIDATORS 1
32979 _ACEOF
32980
32981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
32982 fi
32983
32984 if test "$wxUSE_PALETTE" = "yes" ; then
32985 cat >>confdefs.h <<\_ACEOF
32986 #define wxUSE_PALETTE 1
32987 _ACEOF
32988
32989 fi
32990
32991 if test "$wxUSE_IMAGE" = "yes" ; then
32992 cat >>confdefs.h <<\_ACEOF
32993 #define wxUSE_IMAGE 1
32994 _ACEOF
32995
32996 fi
32997
32998 if test "$wxUSE_GIF" = "yes" ; then
32999 cat >>confdefs.h <<\_ACEOF
33000 #define wxUSE_GIF 1
33001 _ACEOF
33002
33003 fi
33004
33005 if test "$wxUSE_PCX" = "yes" ; then
33006 cat >>confdefs.h <<\_ACEOF
33007 #define wxUSE_PCX 1
33008 _ACEOF
33009
33010 fi
33011
33012 if test "$wxUSE_IFF" = "yes" ; then
33013 cat >>confdefs.h <<\_ACEOF
33014 #define wxUSE_IFF 1
33015 _ACEOF
33016
33017 fi
33018
33019 if test "$wxUSE_PNM" = "yes" ; then
33020 cat >>confdefs.h <<\_ACEOF
33021 #define wxUSE_PNM 1
33022 _ACEOF
33023
33024 fi
33025
33026 if test "$wxUSE_XPM" = "yes" ; then
33027 cat >>confdefs.h <<\_ACEOF
33028 #define wxUSE_XPM 1
33029 _ACEOF
33030
33031 fi
33032
33033 if test "$wxUSE_ICO_CUR" = "yes" ; then
33034 cat >>confdefs.h <<\_ACEOF
33035 #define wxUSE_ICO_CUR 1
33036 _ACEOF
33037
33038 fi
33039
33040 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33041 LIBS=" -lunicows $LIBS"
33042 fi
33043
33044
33045 if test "$wxUSE_CHOICEDLG" = "yes"; then
33046 cat >>confdefs.h <<\_ACEOF
33047 #define wxUSE_CHOICEDLG 1
33048 _ACEOF
33049
33050 fi
33051
33052 if test "$wxUSE_COLOURDLG" = "yes"; then
33053 cat >>confdefs.h <<\_ACEOF
33054 #define wxUSE_COLOURDLG 1
33055 _ACEOF
33056
33057 fi
33058
33059 if test "$wxUSE_FILEDLG" = "yes"; then
33060 cat >>confdefs.h <<\_ACEOF
33061 #define wxUSE_FILEDLG 1
33062 _ACEOF
33063
33064 fi
33065
33066 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33067 cat >>confdefs.h <<\_ACEOF
33068 #define wxUSE_FINDREPLDLG 1
33069 _ACEOF
33070
33071 fi
33072
33073 if test "$wxUSE_FONTDLG" = "yes"; then
33074 cat >>confdefs.h <<\_ACEOF
33075 #define wxUSE_FONTDLG 1
33076 _ACEOF
33077
33078 fi
33079
33080 if test "$wxUSE_DIRDLG" = "yes"; then
33081 if test "$wxUSE_TREECTRL" != "yes"; then
33082 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33083 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33084 else
33085 cat >>confdefs.h <<\_ACEOF
33086 #define wxUSE_DIRDLG 1
33087 _ACEOF
33088
33089 fi
33090 fi
33091
33092 if test "$wxUSE_MSGDLG" = "yes"; then
33093 cat >>confdefs.h <<\_ACEOF
33094 #define wxUSE_MSGDLG 1
33095 _ACEOF
33096
33097 fi
33098
33099 if test "$wxUSE_NUMBERDLG" = "yes"; then
33100 cat >>confdefs.h <<\_ACEOF
33101 #define wxUSE_NUMBERDLG 1
33102 _ACEOF
33103
33104 fi
33105
33106 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33107 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33108 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33109 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33110 else
33111 cat >>confdefs.h <<\_ACEOF
33112 #define wxUSE_PROGRESSDLG 1
33113 _ACEOF
33114
33115 fi
33116 fi
33117
33118 if test "$wxUSE_SPLASH" = "yes"; then
33119 cat >>confdefs.h <<\_ACEOF
33120 #define wxUSE_SPLASH 1
33121 _ACEOF
33122
33123 fi
33124
33125 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33126 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33127 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33128 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33129 else
33130 cat >>confdefs.h <<\_ACEOF
33131 #define wxUSE_STARTUP_TIPS 1
33132 _ACEOF
33133
33134 fi
33135 fi
33136
33137 if test "$wxUSE_TEXTDLG" = "yes"; then
33138 cat >>confdefs.h <<\_ACEOF
33139 #define wxUSE_TEXTDLG 1
33140 _ACEOF
33141
33142 fi
33143
33144 if test "$wxUSE_WIZARDDLG" = "yes"; then
33145 cat >>confdefs.h <<\_ACEOF
33146 #define wxUSE_WIZARDDLG 1
33147 _ACEOF
33148
33149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33150 fi
33151
33152
33153 if test "$cross_compiling" = "yes"; then
33154 OSINFO="\"$host\""
33155 else
33156 OSINFO=`uname -s -r -m`
33157 OSINFO="\"$OSINFO\""
33158 fi
33159
33160 cat >>confdefs.h <<_ACEOF
33161 #define WXWIN_OS_DESCRIPTION $OSINFO
33162 _ACEOF
33163
33164
33165
33166 if test "x$prefix" != "xNONE"; then
33167 wxPREFIX=$prefix
33168 else
33169 wxPREFIX=$ac_default_prefix
33170 fi
33171
33172 cat >>confdefs.h <<_ACEOF
33173 #define wxINSTALL_PREFIX "$wxPREFIX"
33174 _ACEOF
33175
33176
33177 top_builddir_wxconfig=`pwd`
33178
33179
33180
33181 CORE_BASE_LIBS="net base"
33182 CORE_GUI_LIBS="adv core"
33183
33184 if test "$wxUSE_XML" = "yes" ; then
33185 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33186 fi
33187 if test "$wxUSE_ODBC" != "no" ; then
33188 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33189 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33190 fi
33191 if test "$wxUSE_HTML" = "yes" ; then
33192 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33193 fi
33194
33195
33196
33197
33198
33199
33200
33201
33202 if test "$wxUSE_MAC" = 1 ; then
33203 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33204 fi
33205 if test "$wxUSE_COCOA" = 1 ; then
33206 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33207 fi
33208
33209
33210 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33211
33212 have_cos=0
33213 have_floor=0
33214
33215 for ac_func in cos
33216 do
33217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33218 echo "$as_me:$LINENO: checking for $ac_func" >&5
33219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33220 if eval "test \"\${$as_ac_var+set}\" = set"; then
33221 echo $ECHO_N "(cached) $ECHO_C" >&6
33222 else
33223 cat >conftest.$ac_ext <<_ACEOF
33224 #line $LINENO "configure"
33225 /* confdefs.h. */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230 /* System header to define __stub macros and hopefully few prototypes,
33231 which can conflict with char $ac_func (); below.
33232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33233 <limits.h> exists even on freestanding compilers. */
33234 #ifdef __STDC__
33235 # include <limits.h>
33236 #else
33237 # include <assert.h>
33238 #endif
33239 /* Override any gcc2 internal prototype to avoid an error. */
33240 #ifdef __cplusplus
33241 extern "C"
33242 {
33243 #endif
33244 /* We use char because int might match the return type of a gcc2
33245 builtin and then its argument prototype would still apply. */
33246 char $ac_func ();
33247 /* The GNU C library defines this for functions which it implements
33248 to always fail with ENOSYS. Some functions are actually named
33249 something starting with __ and the normal name is an alias. */
33250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33251 choke me
33252 #else
33253 char (*f) () = $ac_func;
33254 #endif
33255 #ifdef __cplusplus
33256 }
33257 #endif
33258
33259 int
33260 main ()
33261 {
33262 return f != $ac_func;
33263 ;
33264 return 0;
33265 }
33266 _ACEOF
33267 rm -f conftest.$ac_objext conftest$ac_exeext
33268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33269 (eval $ac_link) 2>&5
33270 ac_status=$?
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); } &&
33273 { ac_try='test -s conftest$ac_exeext'
33274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33275 (eval $ac_try) 2>&5
33276 ac_status=$?
33277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33278 (exit $ac_status); }; }; then
33279 eval "$as_ac_var=yes"
33280 else
33281 echo "$as_me: failed program was:" >&5
33282 sed 's/^/| /' conftest.$ac_ext >&5
33283
33284 eval "$as_ac_var=no"
33285 fi
33286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33287 fi
33288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33290 if test `eval echo '${'$as_ac_var'}'` = yes; then
33291 cat >>confdefs.h <<_ACEOF
33292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 _ACEOF
33294 have_cos=1
33295 fi
33296 done
33297
33298
33299 for ac_func in floor
33300 do
33301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33302 echo "$as_me:$LINENO: checking for $ac_func" >&5
33303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33304 if eval "test \"\${$as_ac_var+set}\" = set"; then
33305 echo $ECHO_N "(cached) $ECHO_C" >&6
33306 else
33307 cat >conftest.$ac_ext <<_ACEOF
33308 #line $LINENO "configure"
33309 /* confdefs.h. */
33310 _ACEOF
33311 cat confdefs.h >>conftest.$ac_ext
33312 cat >>conftest.$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33314 /* System header to define __stub macros and hopefully few prototypes,
33315 which can conflict with char $ac_func (); below.
33316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33317 <limits.h> exists even on freestanding compilers. */
33318 #ifdef __STDC__
33319 # include <limits.h>
33320 #else
33321 # include <assert.h>
33322 #endif
33323 /* Override any gcc2 internal prototype to avoid an error. */
33324 #ifdef __cplusplus
33325 extern "C"
33326 {
33327 #endif
33328 /* We use char because int might match the return type of a gcc2
33329 builtin and then its argument prototype would still apply. */
33330 char $ac_func ();
33331 /* The GNU C library defines this for functions which it implements
33332 to always fail with ENOSYS. Some functions are actually named
33333 something starting with __ and the normal name is an alias. */
33334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33335 choke me
33336 #else
33337 char (*f) () = $ac_func;
33338 #endif
33339 #ifdef __cplusplus
33340 }
33341 #endif
33342
33343 int
33344 main ()
33345 {
33346 return f != $ac_func;
33347 ;
33348 return 0;
33349 }
33350 _ACEOF
33351 rm -f conftest.$ac_objext conftest$ac_exeext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33353 (eval $ac_link) 2>&5
33354 ac_status=$?
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -s conftest$ac_exeext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363 eval "$as_ac_var=yes"
33364 else
33365 echo "$as_me: failed program was:" >&5
33366 sed 's/^/| /' conftest.$ac_ext >&5
33367
33368 eval "$as_ac_var=no"
33369 fi
33370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33371 fi
33372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33374 if test `eval echo '${'$as_ac_var'}'` = yes; then
33375 cat >>confdefs.h <<_ACEOF
33376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33377 _ACEOF
33378 have_floor=1
33379 fi
33380 done
33381
33382 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33383 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33384 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33385 echo "$as_me:$LINENO: result: yes" >&5
33386 echo "${ECHO_T}yes" >&6
33387 else
33388 echo "$as_me:$LINENO: result: no" >&5
33389 echo "${ECHO_T}no" >&6
33390 LIBS="$LIBS -lm"
33391 # use different functions to avoid configure caching
33392 have_sin=0
33393 have_ceil=0
33394
33395 for ac_func in sin
33396 do
33397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33398 echo "$as_me:$LINENO: checking for $ac_func" >&5
33399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33400 if eval "test \"\${$as_ac_var+set}\" = set"; then
33401 echo $ECHO_N "(cached) $ECHO_C" >&6
33402 else
33403 cat >conftest.$ac_ext <<_ACEOF
33404 #line $LINENO "configure"
33405 /* confdefs.h. */
33406 _ACEOF
33407 cat confdefs.h >>conftest.$ac_ext
33408 cat >>conftest.$ac_ext <<_ACEOF
33409 /* end confdefs.h. */
33410 /* System header to define __stub macros and hopefully few prototypes,
33411 which can conflict with char $ac_func (); below.
33412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33413 <limits.h> exists even on freestanding compilers. */
33414 #ifdef __STDC__
33415 # include <limits.h>
33416 #else
33417 # include <assert.h>
33418 #endif
33419 /* Override any gcc2 internal prototype to avoid an error. */
33420 #ifdef __cplusplus
33421 extern "C"
33422 {
33423 #endif
33424 /* We use char because int might match the return type of a gcc2
33425 builtin and then its argument prototype would still apply. */
33426 char $ac_func ();
33427 /* The GNU C library defines this for functions which it implements
33428 to always fail with ENOSYS. Some functions are actually named
33429 something starting with __ and the normal name is an alias. */
33430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33431 choke me
33432 #else
33433 char (*f) () = $ac_func;
33434 #endif
33435 #ifdef __cplusplus
33436 }
33437 #endif
33438
33439 int
33440 main ()
33441 {
33442 return f != $ac_func;
33443 ;
33444 return 0;
33445 }
33446 _ACEOF
33447 rm -f conftest.$ac_objext conftest$ac_exeext
33448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33449 (eval $ac_link) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); } &&
33453 { ac_try='test -s conftest$ac_exeext'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33456 ac_status=$?
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; }; then
33459 eval "$as_ac_var=yes"
33460 else
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33463
33464 eval "$as_ac_var=no"
33465 fi
33466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33467 fi
33468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33470 if test `eval echo '${'$as_ac_var'}'` = yes; then
33471 cat >>confdefs.h <<_ACEOF
33472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33473 _ACEOF
33474 have_sin=1
33475 fi
33476 done
33477
33478
33479 for ac_func in ceil
33480 do
33481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33482 echo "$as_me:$LINENO: checking for $ac_func" >&5
33483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33484 if eval "test \"\${$as_ac_var+set}\" = set"; then
33485 echo $ECHO_N "(cached) $ECHO_C" >&6
33486 else
33487 cat >conftest.$ac_ext <<_ACEOF
33488 #line $LINENO "configure"
33489 /* confdefs.h. */
33490 _ACEOF
33491 cat confdefs.h >>conftest.$ac_ext
33492 cat >>conftest.$ac_ext <<_ACEOF
33493 /* end confdefs.h. */
33494 /* System header to define __stub macros and hopefully few prototypes,
33495 which can conflict with char $ac_func (); below.
33496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33497 <limits.h> exists even on freestanding compilers. */
33498 #ifdef __STDC__
33499 # include <limits.h>
33500 #else
33501 # include <assert.h>
33502 #endif
33503 /* Override any gcc2 internal prototype to avoid an error. */
33504 #ifdef __cplusplus
33505 extern "C"
33506 {
33507 #endif
33508 /* We use char because int might match the return type of a gcc2
33509 builtin and then its argument prototype would still apply. */
33510 char $ac_func ();
33511 /* The GNU C library defines this for functions which it implements
33512 to always fail with ENOSYS. Some functions are actually named
33513 something starting with __ and the normal name is an alias. */
33514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33515 choke me
33516 #else
33517 char (*f) () = $ac_func;
33518 #endif
33519 #ifdef __cplusplus
33520 }
33521 #endif
33522
33523 int
33524 main ()
33525 {
33526 return f != $ac_func;
33527 ;
33528 return 0;
33529 }
33530 _ACEOF
33531 rm -f conftest.$ac_objext conftest$ac_exeext
33532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33533 (eval $ac_link) 2>&5
33534 ac_status=$?
33535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33536 (exit $ac_status); } &&
33537 { ac_try='test -s conftest$ac_exeext'
33538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33539 (eval $ac_try) 2>&5
33540 ac_status=$?
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); }; }; then
33543 eval "$as_ac_var=yes"
33544 else
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.$ac_ext >&5
33547
33548 eval "$as_ac_var=no"
33549 fi
33550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33551 fi
33552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33554 if test `eval echo '${'$as_ac_var'}'` = yes; then
33555 cat >>confdefs.h <<_ACEOF
33556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33557 _ACEOF
33558 have_ceil=1
33559 fi
33560 done
33561
33562 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33563 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33564 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33565 echo "$as_me:$LINENO: result: yes" >&5
33566 echo "${ECHO_T}yes" >&6
33567 else
33568 echo "$as_me:$LINENO: result: no" >&5
33569 echo "${ECHO_T}no" >&6
33570 # not sure we should warn the user, crash, etc.
33571 fi
33572 fi
33573
33574 if test "$wxUSE_GUI" = "yes"; then
33575
33576
33577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33578 drawing dynamic erase event exec font image \
33579 minimal propsize rotate shaped widgets render"
33580
33581 if test "$wxUSE_MONOLITHIC" != "yes"; then
33582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33583 fi
33584 else
33585 SAMPLES_SUBDIRS="console"
33586 fi
33587
33588
33589 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33590 -I\${top_srcdir}/include \
33591 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33592 $TOOLKIT_INCLUDE"
33593
33594 if test "$GXX" = yes ; then
33595 CXXWARNINGS="-Wall"
33596 fi
33597
33598 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33599
33600 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33601 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33602 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33603
33604
33605 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33606 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33607 EXTRALIBS_XML="$EXPAT_LINK"
33608 EXTRALIBS_ODBC="$ODBC_LINK"
33609 if test "$wxUSE_GUI" = "yes"; then
33610 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33611 fi
33612 if test "$wxUSE_OPENGL" = "yes"; then
33613 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33614 fi
33615
33616 LDFLAGS="$LDFLAGS $PROFILE"
33617
33618 if test "$wxUSE_GTK" = 1; then
33619 WXCONFIG_INCLUDE=
33620 else
33621 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33622 fi
33623
33624 WXCONFIG_EXTRALIBS="$LIBS"
33625
33626 if test "$wxUSE_REGEX" = "builtin" ; then
33627 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33628 fi
33629 if test "$wxUSE_EXPAT" = "builtin" ; then
33630 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33631 fi
33632 if test "$wxUSE_ODBC" = "builtin" ; then
33633 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33634 fi
33635 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33636 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33637 fi
33638 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33639 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33640 fi
33641 if test "$wxUSE_LIBPNG" = "builtin" ; then
33642 wxconfig_3rdparty="$wxconfig_3rdparty png"
33643 fi
33644 if test "$wxUSE_ZLIB" = "builtin" ; then
33645 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33646 fi
33647 if test "$wxUSE_ODBC" = "builtin" ; then
33648 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33649 fi
33650
33651 for i in $wxconfig_3rdparty ; do
33652 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33653 done
33654
33655
33656 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33657 WXUNIV=1
33658 else
33659 WXUNIV=0
33660 fi
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670 if test $wxUSE_MONOLITHIC = "yes" ; then
33671 MONOLITHIC=1
33672 else
33673 MONOLITHIC=0
33674 fi
33675
33676 if test $wxUSE_ODBC != "no" ; then
33677 USE_ODBC=1
33678 else
33679 USE_ODBC=0
33680 fi
33681
33682 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33683 OFFICIAL_BUILD=1
33684 else
33685 OFFICIAL_BUILD=0
33686 fi
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33705
33706
33707
33708
33709
33710
33711
33712 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33713
33714 if test -n "$ac_tool_prefix"; then
33715 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33716 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33717 echo "$as_me:$LINENO: checking for $ac_word" >&5
33718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33719 if test "${ac_cv_prog_RANLIB+set}" = set; then
33720 echo $ECHO_N "(cached) $ECHO_C" >&6
33721 else
33722 if test -n "$RANLIB"; then
33723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33724 else
33725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33726 for as_dir in $PATH
33727 do
33728 IFS=$as_save_IFS
33729 test -z "$as_dir" && as_dir=.
33730 for ac_exec_ext in '' $ac_executable_extensions; do
33731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33732 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33734 break 2
33735 fi
33736 done
33737 done
33738
33739 fi
33740 fi
33741 RANLIB=$ac_cv_prog_RANLIB
33742 if test -n "$RANLIB"; then
33743 echo "$as_me:$LINENO: result: $RANLIB" >&5
33744 echo "${ECHO_T}$RANLIB" >&6
33745 else
33746 echo "$as_me:$LINENO: result: no" >&5
33747 echo "${ECHO_T}no" >&6
33748 fi
33749
33750 fi
33751 if test -z "$ac_cv_prog_RANLIB"; then
33752 ac_ct_RANLIB=$RANLIB
33753 # Extract the first word of "ranlib", so it can be a program name with args.
33754 set dummy ranlib; ac_word=$2
33755 echo "$as_me:$LINENO: checking for $ac_word" >&5
33756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33757 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33759 else
33760 if test -n "$ac_ct_RANLIB"; then
33761 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33762 else
33763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33764 for as_dir in $PATH
33765 do
33766 IFS=$as_save_IFS
33767 test -z "$as_dir" && as_dir=.
33768 for ac_exec_ext in '' $ac_executable_extensions; do
33769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33770 ac_cv_prog_ac_ct_RANLIB="ranlib"
33771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33772 break 2
33773 fi
33774 done
33775 done
33776
33777 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33778 fi
33779 fi
33780 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33781 if test -n "$ac_ct_RANLIB"; then
33782 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33783 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33784 else
33785 echo "$as_me:$LINENO: result: no" >&5
33786 echo "${ECHO_T}no" >&6
33787 fi
33788
33789 RANLIB=$ac_ct_RANLIB
33790 else
33791 RANLIB="$ac_cv_prog_RANLIB"
33792 fi
33793
33794 # Find a good install program. We prefer a C program (faster),
33795 # so one script is as good as another. But avoid the broken or
33796 # incompatible versions:
33797 # SysV /etc/install, /usr/sbin/install
33798 # SunOS /usr/etc/install
33799 # IRIX /sbin/install
33800 # AIX /bin/install
33801 # AmigaOS /C/install, which installs bootblocks on floppy discs
33802 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33803 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33804 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33805 # ./install, which can be erroneously created by make from ./install.sh.
33806 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33807 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33808 if test -z "$INSTALL"; then
33809 if test "${ac_cv_path_install+set}" = set; then
33810 echo $ECHO_N "(cached) $ECHO_C" >&6
33811 else
33812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33813 for as_dir in $PATH
33814 do
33815 IFS=$as_save_IFS
33816 test -z "$as_dir" && as_dir=.
33817 # Account for people who put trailing slashes in PATH elements.
33818 case $as_dir/ in
33819 ./ | .// | /cC/* | \
33820 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33821 /usr/ucb/* ) ;;
33822 *)
33823 # OSF1 and SCO ODT 3.0 have their own names for install.
33824 # Don't use installbsd from OSF since it installs stuff as root
33825 # by default.
33826 for ac_prog in ginstall scoinst install; do
33827 for ac_exec_ext in '' $ac_executable_extensions; do
33828 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33829 if test $ac_prog = install &&
33830 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33831 # AIX install. It has an incompatible calling convention.
33832 :
33833 elif test $ac_prog = install &&
33834 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33835 # program-specific install script used by HP pwplus--don't use.
33836 :
33837 else
33838 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33839 break 3
33840 fi
33841 fi
33842 done
33843 done
33844 ;;
33845 esac
33846 done
33847
33848
33849 fi
33850 if test "${ac_cv_path_install+set}" = set; then
33851 INSTALL=$ac_cv_path_install
33852 else
33853 # As a last resort, use the slow shell script. We don't cache a
33854 # path for INSTALL within a source directory, because that will
33855 # break other packages using the cache if that directory is
33856 # removed, or if the path is relative.
33857 INSTALL=$ac_install_sh
33858 fi
33859 fi
33860 echo "$as_me:$LINENO: result: $INSTALL" >&5
33861 echo "${ECHO_T}$INSTALL" >&6
33862
33863 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33864 # It thinks the first close brace ends the variable substitution.
33865 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33866
33867 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33868
33869 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33870
33871 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33872 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33873 LN_S=$as_ln_s
33874 if test "$LN_S" = "ln -s"; then
33875 echo "$as_me:$LINENO: result: yes" >&5
33876 echo "${ECHO_T}yes" >&6
33877 else
33878 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33879 echo "${ECHO_T}no, using $LN_S" >&6
33880 fi
33881
33882
33883 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33884 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33885 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33886 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33887 echo $ECHO_N "(cached) $ECHO_C" >&6
33888 else
33889 cat >conftest.make <<\_ACEOF
33890 all:
33891 @echo 'ac_maketemp="$(MAKE)"'
33892 _ACEOF
33893 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33894 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33895 if test -n "$ac_maketemp"; then
33896 eval ac_cv_prog_make_${ac_make}_set=yes
33897 else
33898 eval ac_cv_prog_make_${ac_make}_set=no
33899 fi
33900 rm -f conftest.make
33901 fi
33902 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33903 echo "$as_me:$LINENO: result: yes" >&5
33904 echo "${ECHO_T}yes" >&6
33905 SET_MAKE=
33906 else
33907 echo "$as_me:$LINENO: result: no" >&5
33908 echo "${ECHO_T}no" >&6
33909 SET_MAKE="MAKE=${MAKE-make}"
33910 fi
33911
33912
33913
33914 if test "$build" != "$host" ; then
33915 AR=$host_alias-ar
33916 STRIP=$host_alias-strip
33917 else
33918 # Extract the first word of "ar", so it can be a program name with args.
33919 set dummy ar; ac_word=$2
33920 echo "$as_me:$LINENO: checking for $ac_word" >&5
33921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33922 if test "${ac_cv_prog_AR+set}" = set; then
33923 echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33925 if test -n "$AR"; then
33926 ac_cv_prog_AR="$AR" # Let the user override the test.
33927 else
33928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33929 for as_dir in $PATH
33930 do
33931 IFS=$as_save_IFS
33932 test -z "$as_dir" && as_dir=.
33933 for ac_exec_ext in '' $ac_executable_extensions; do
33934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33935 ac_cv_prog_AR="ar"
33936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33937 break 2
33938 fi
33939 done
33940 done
33941
33942 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
33943 fi
33944 fi
33945 AR=$ac_cv_prog_AR
33946 if test -n "$AR"; then
33947 echo "$as_me:$LINENO: result: $AR" >&5
33948 echo "${ECHO_T}$AR" >&6
33949 else
33950 echo "$as_me:$LINENO: result: no" >&5
33951 echo "${ECHO_T}no" >&6
33952 fi
33953
33954 # Extract the first word of "strip", so it can be a program name with args.
33955 set dummy strip; ac_word=$2
33956 echo "$as_me:$LINENO: checking for $ac_word" >&5
33957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33958 if test "${ac_cv_prog_STRIP+set}" = set; then
33959 echo $ECHO_N "(cached) $ECHO_C" >&6
33960 else
33961 if test -n "$STRIP"; then
33962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
33963 else
33964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33965 for as_dir in $PATH
33966 do
33967 IFS=$as_save_IFS
33968 test -z "$as_dir" && as_dir=.
33969 for ac_exec_ext in '' $ac_executable_extensions; do
33970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33971 ac_cv_prog_STRIP="strip"
33972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33973 break 2
33974 fi
33975 done
33976 done
33977
33978 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
33979 fi
33980 fi
33981 STRIP=$ac_cv_prog_STRIP
33982 if test -n "$STRIP"; then
33983 echo "$as_me:$LINENO: result: $STRIP" >&5
33984 echo "${ECHO_T}$STRIP" >&6
33985 else
33986 echo "$as_me:$LINENO: result: no" >&5
33987 echo "${ECHO_T}no" >&6
33988 fi
33989
33990 fi
33991
33992 case ${host} in
33993 *-hp-hpux* )
33994 INSTALL_DIR="mkdir"
33995 ;;
33996 *) INSTALL_DIR="$INSTALL -d"
33997 ;;
33998 esac
33999
34000
34001 LDFLAGS_GUI=
34002 case ${host} in
34003 *-*-cygwin* | *-*-mingw32* )
34004 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34005 esac
34006
34007
34008 fi
34009
34010 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34011 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34012 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34013 echo $ECHO_N "(cached) $ECHO_C" >&6
34014 else
34015
34016 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34017 egrep -s GNU > /dev/null); then
34018 bakefile_cv_prog_makeisgnu="yes"
34019 else
34020 bakefile_cv_prog_makeisgnu="no"
34021 fi
34022
34023 fi
34024 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34025 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34026
34027 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34028 IF_GNU_MAKE=""
34029 else
34030 IF_GNU_MAKE="#"
34031 fi
34032
34033
34034
34035 PLATFORM_UNIX=0
34036 PLATFORM_WIN32=0
34037 PLATFORM_MSDOS=0
34038 PLATFORM_MAC=0
34039 PLATFORM_MACOSX=0
34040
34041 case "${host}" in
34042 *-*-cygwin* | *-*-mingw32* )
34043 PLATFORM_WIN32=1
34044 ;;
34045 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34046 PLATFORM_MSDOS=1
34047 ;;
34048 powerpc-*-darwin* )
34049 PLATFORM_MAC=1
34050 PLATFORM_MACOSX=1
34051 ;;
34052 * )
34053 PLATFORM_UNIX=1
34054 ;;
34055 esac
34056
34057
34058
34059
34060
34061
34062
34063
34064 SO_SUFFIX="so"
34065 SO_SUFFIX_MODULE="so"
34066 EXEEXT=""
34067 DLLPREFIX=lib
34068 DLLPREFIX_MODULE=
34069
34070 case "${host}" in
34071 *-hp-hpux* )
34072 SO_SUFFIX="sl"
34073 SO_SUFFIX_MODULE="sl"
34074 ;;
34075 *-*-aix* )
34076 SO_SUFFIX="a"
34077 SO_SUFFIX_MODULE="a"
34078 ;;
34079 *-*-cygwin* | *-*-mingw32* )
34080 SO_SUFFIX="dll"
34081 SO_SUFFIX_MODULE="dll"
34082 EXEEXT=".exe"
34083 DLLPREFIX=""
34084 ;;
34085 *-pc-msdosdjgpp | *-pc-os2_emx | *-pc-os2-emx )
34086 EXEEXT=".exe"
34087 DLLPREFIX=""
34088 ;;
34089 powerpc-*-darwin* )
34090 SO_SUFFIX="dylib"
34091 SO_SUFFIX_MODULE="bundle"
34092 ;;
34093 esac
34094
34095
34096
34097
34098
34099
34100
34101
34102 SHARED_LD_CC="\$(CC) -shared -o"
34103 SHARED_LD_CXX="\$(CXX) -shared -o"
34104
34105 if test "x$GCC" = "xyes"; then
34106 PIC_FLAG="-fPIC"
34107 fi
34108
34109 case "${host}" in
34110 *-hp-hpux* )
34111 if test "x$GCC" = "xyes"; then
34112 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34113 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34114 else
34115 LDFLAGS="$LDFLAGS -L/usr/lib"
34116
34117 SHARED_LD_CC="${CC} -b -o"
34118 SHARED_LD_CXX="${CXX} -b -o"
34119 PIC_FLAG="+Z"
34120 fi
34121 ;;
34122
34123 *-*-linux* )
34124 if test "x$GCC" != "xyes"; then
34125 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34126 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34127 if test "${bakefile_cv_prog_icc+set}" = set; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130
34131 cat >conftest.$ac_ext <<_ACEOF
34132 #line $LINENO "configure"
34133 /* confdefs.h. */
34134 _ACEOF
34135 cat confdefs.h >>conftest.$ac_ext
34136 cat >>conftest.$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34138
34139 int
34140 main ()
34141 {
34142
34143 #ifndef __INTEL_COMPILER
34144 #error Not icc
34145 #endif
34146
34147 ;
34148 return 0;
34149 }
34150 _ACEOF
34151 rm -f conftest.$ac_objext
34152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34153 (eval $ac_compile) 2>&5
34154 ac_status=$?
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); } &&
34157 { ac_try='test -s conftest.$ac_objext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 bakefile_cv_prog_icc=yes
34164 else
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.$ac_ext >&5
34167
34168 bakefile_cv_prog_icc=no
34169
34170 fi
34171 rm -f conftest.$ac_objext conftest.$ac_ext
34172
34173 fi
34174 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34175 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34176 if test "$bakefile_cv_prog_icc" = "yes"; then
34177 PIC_FLAG="-KPIC"
34178 fi
34179 fi
34180 ;;
34181
34182 *-*-solaris2* )
34183 if test "x$GCC" != xyes ; then
34184 SHARED_LD_CC="${CC} -G -o"
34185 SHARED_LD_CXX="${CXX} -G -o"
34186 PIC_FLAG="-KPIC"
34187 fi
34188 ;;
34189
34190 *-*-darwin* )
34191 CFLAGS="$CFLAGS -fno-common"
34192 CXXFLAGS="$CXXFLAGS -fno-common"
34193
34194
34195 cat <<EOF >shared-ld-sh
34196 #!/bin/sh
34197 #-----------------------------------------------------------------------------
34198 #-- Name: distrib/mac/shared-ld-sh
34199 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34200 #-- Author: Gilles Depeyrot
34201 #-- Copyright: (c) 2002 Gilles Depeyrot
34202 #-- Licence: any use permitted
34203 #-----------------------------------------------------------------------------
34204
34205 verbose=0
34206 args=""
34207 objects=""
34208 linking_flag="-dynamiclib"
34209
34210 while test \${#} -gt 0; do
34211 case \${1} in
34212
34213 -v)
34214 verbose=1
34215 ;;
34216
34217 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34218 # collect these options and values
34219 args="\${args} \${1} \${2}"
34220 shift
34221 ;;
34222
34223 -l*|-L*|-flat_namespace)
34224 # collect these options
34225 args="\${args} \${1}"
34226 ;;
34227
34228 -dynamiclib|-bundle)
34229 linking_flag="\${1}"
34230 ;;
34231
34232 -*)
34233 echo "shared-ld: unhandled option '\${1}'"
34234 exit 1
34235 ;;
34236
34237 *.o | *.a | *.dylib)
34238 # collect object files
34239 objects="\${objects} \${1}"
34240 ;;
34241
34242 *)
34243 echo "shared-ld: unhandled argument '\${1}'"
34244 exit 1
34245 ;;
34246
34247 esac
34248 shift
34249 done
34250
34251 #
34252 # Link one module containing all the others
34253 #
34254 if test \${verbose} = 1; then
34255 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34256 fi
34257 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34258 status=\$?
34259 if test \${status} != 0; then
34260 exit \${status}
34261 fi
34262
34263 #
34264 # Link the shared library from the single module created
34265 #
34266 if test \${verbose} = 1; then
34267 echo "cc \${linking_flag} master.\$\$.o \${args}"
34268 fi
34269 c++ \${linking_flag} master.\$\$.o \${args}
34270 status=\$?
34271 if test \${status} != 0; then
34272 exit \${status}
34273 fi
34274
34275 #
34276 # Remove intermediate module
34277 #
34278 rm -f master.\$\$.o
34279
34280 exit 0
34281 EOF
34282 chmod +x shared-ld-sh
34283
34284 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34285 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34286 SHARED_LD_CXX="$SHARED_LD_CC"
34287 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34288 PIC_FLAG="-dynamic -fPIC"
34289 ;;
34290
34291 *-*-aix* )
34292 if test "x$GCC" != "xyes"; then
34293 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34294 set dummy makeC++SharedLib; ac_word=$2
34295 echo "$as_me:$LINENO: checking for $ac_word" >&5
34296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34297 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 else
34300 if test -n "$AIX_CXX_LD"; then
34301 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34302 else
34303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34304 for as_dir in $PATH
34305 do
34306 IFS=$as_save_IFS
34307 test -z "$as_dir" && as_dir=.
34308 for ac_exec_ext in '' $ac_executable_extensions; do
34309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34310 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34312 break 2
34313 fi
34314 done
34315 done
34316
34317 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34318 fi
34319 fi
34320 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34321 if test -n "$AIX_CXX_LD"; then
34322 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34323 echo "${ECHO_T}$AIX_CXX_LD" >&6
34324 else
34325 echo "$as_me:$LINENO: result: no" >&5
34326 echo "${ECHO_T}no" >&6
34327 fi
34328
34329 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34330 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34331 fi
34332 ;;
34333
34334 *-*-beos* )
34335 SHARED_LD_CC="${LD} -shared -o"
34336 SHARED_LD_CXX="${LD} -shared -o"
34337 ;;
34338
34339 *-*-irix* )
34340 if test "x$GCC" != "xyes"; then
34341 PIC_FLAG="-KPIC"
34342 fi
34343 ;;
34344
34345 *-*-cygwin* | *-*-mingw32* )
34346 PIC_FLAG=""
34347 ;;
34348
34349 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34350 *-*-sunos4* | \
34351 *-*-osf* | \
34352 *-*-dgux5* | \
34353 *-pc-os2-emx | \
34354 *-*-sysv5* )
34355 ;;
34356
34357 *)
34358 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34359 echo "$as_me: error: unknown system type $host." >&2;}
34360 { (exit 1); exit 1; }; }
34361 esac
34362
34363 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34364 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34365 fi
34366 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34367 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34368 fi
34369
34370
34371
34372
34373
34374
34375
34376
34377 USE_SOVERSION=0
34378 USE_SOVERLINUX=0
34379 USE_SOVERSOLARIS=0
34380 USE_SOSYMLINKS=0
34381 USE_MACVERSION=0
34382 SONAME_FLAG=
34383
34384 case "${host}" in
34385 *-*-linux* )
34386 SONAME_FLAG="-Wl,-soname,"
34387 USE_SOVERSION=1
34388 USE_SOVERLINUX=1
34389 USE_SOSYMLINKS=1
34390 ;;
34391
34392 *-*-solaris2* )
34393 SONAME_FLAG="-h "
34394 USE_SOVERSION=1
34395 USE_SOVERSOLARIS=1
34396 USE_SOSYMLINKS=1
34397 ;;
34398
34399 *-*-darwin* )
34400 USE_MACVERSION=1
34401 USE_SOVERSION=1
34402 USE_SOSYMLINKS=1
34403 ;;
34404 esac
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34415 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34416 DEPS_TRACKING=0
34417
34418 if test "x$GCC" = "xyes"; then
34419 DEPSMODE=gcc
34420 DEPS_TRACKING=1
34421 case "${host}" in
34422 powerpc-*-darwin* )
34423 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34424 ;;
34425 * )
34426 DEPSFLAG_GCC="-MMD"
34427 ;;
34428 esac
34429 echo "$as_me:$LINENO: result: gcc" >&5
34430 echo "${ECHO_T}gcc" >&6
34431 else
34432 echo "$as_me:$LINENO: result: none" >&5
34433 echo "${ECHO_T}none" >&6
34434 fi
34435
34436 if test $DEPS_TRACKING = 1 ; then
34437 cat <<EOF >bk-deps
34438 #!/bin/sh
34439
34440 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34441 # script. It is used to track C/C++ files dependencies in portable way.
34442 #
34443 # Permission is given to use this file in any way.
34444
34445 DEPSMODE=$DEPSMODE
34446 DEPSDIR=.deps
34447 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34448
34449 mkdir -p \$DEPSDIR
34450
34451 if test \$DEPSMODE = gcc ; then
34452 \${*} \${DEPSFLAG_GCC}
34453 status=\${?}
34454 if test \${status} != 0 ; then
34455 exit \${status}
34456 fi
34457 # move created file to the location we want it in:
34458 while test \${#} -gt 0; do
34459 case "\${1}" in
34460 -o )
34461 shift
34462 objfile=\${1}
34463 ;;
34464 -* )
34465 ;;
34466 * )
34467 srcfile=\${1}
34468 ;;
34469 esac
34470 shift
34471 done
34472 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34473 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34474 if test -f \$depfile ; then
34475 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34476 rm -f \$depfile
34477 else
34478 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34479 if test -f \$depfile ; then
34480 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34481 rm -f \$depfile
34482 fi
34483 fi
34484 exit 0
34485 else
34486 \${*}
34487 exit \${?}
34488 fi
34489 EOF
34490 chmod +x bk-deps
34491 fi
34492
34493
34494
34495
34496 RESCOMP=
34497 SETFILE=
34498
34499 case ${host} in
34500 *-*-cygwin* | *-*-mingw32* )
34501 if test "$build" != "$host" ; then
34502 RESCOMP=$host_alias-windres
34503 else
34504 # Extract the first word of "windres", so it can be a program name with args.
34505 set dummy windres; ac_word=$2
34506 echo "$as_me:$LINENO: checking for $ac_word" >&5
34507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34508 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34509 echo $ECHO_N "(cached) $ECHO_C" >&6
34510 else
34511 if test -n "$RESCOMP"; then
34512 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34513 else
34514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34515 for as_dir in $PATH
34516 do
34517 IFS=$as_save_IFS
34518 test -z "$as_dir" && as_dir=.
34519 for ac_exec_ext in '' $ac_executable_extensions; do
34520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34521 ac_cv_prog_RESCOMP="windres"
34522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34523 break 2
34524 fi
34525 done
34526 done
34527
34528 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34529 fi
34530 fi
34531 RESCOMP=$ac_cv_prog_RESCOMP
34532 if test -n "$RESCOMP"; then
34533 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34534 echo "${ECHO_T}$RESCOMP" >&6
34535 else
34536 echo "$as_me:$LINENO: result: no" >&5
34537 echo "${ECHO_T}no" >&6
34538 fi
34539
34540 fi
34541 ;;
34542
34543 *-*-darwin* )
34544 # Extract the first word of "Rez", so it can be a program name with args.
34545 set dummy Rez; ac_word=$2
34546 echo "$as_me:$LINENO: checking for $ac_word" >&5
34547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34548 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551 if test -n "$RESCOMP"; then
34552 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34553 else
34554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34555 for as_dir in $PATH
34556 do
34557 IFS=$as_save_IFS
34558 test -z "$as_dir" && as_dir=.
34559 for ac_exec_ext in '' $ac_executable_extensions; do
34560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34561 ac_cv_prog_RESCOMP="Rez"
34562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34563 break 2
34564 fi
34565 done
34566 done
34567
34568 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34569 fi
34570 fi
34571 RESCOMP=$ac_cv_prog_RESCOMP
34572 if test -n "$RESCOMP"; then
34573 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34574 echo "${ECHO_T}$RESCOMP" >&6
34575 else
34576 echo "$as_me:$LINENO: result: no" >&5
34577 echo "${ECHO_T}no" >&6
34578 fi
34579
34580 # Extract the first word of "SetFile", so it can be a program name with args.
34581 set dummy SetFile; ac_word=$2
34582 echo "$as_me:$LINENO: checking for $ac_word" >&5
34583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34584 if test "${ac_cv_prog_SETFILE+set}" = set; then
34585 echo $ECHO_N "(cached) $ECHO_C" >&6
34586 else
34587 if test -n "$SETFILE"; then
34588 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34589 else
34590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34591 for as_dir in $PATH
34592 do
34593 IFS=$as_save_IFS
34594 test -z "$as_dir" && as_dir=.
34595 for ac_exec_ext in '' $ac_executable_extensions; do
34596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34597 ac_cv_prog_SETFILE="SetFile"
34598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34599 break 2
34600 fi
34601 done
34602 done
34603
34604 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34605 fi
34606 fi
34607 SETFILE=$ac_cv_prog_SETFILE
34608 if test -n "$SETFILE"; then
34609 echo "$as_me:$LINENO: result: $SETFILE" >&5
34610 echo "${ECHO_T}$SETFILE" >&6
34611 else
34612 echo "$as_me:$LINENO: result: no" >&5
34613 echo "${ECHO_T}no" >&6
34614 fi
34615
34616 ;;
34617 esac
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34629 if test "${enable_precomp_headers+set}" = set; then
34630 enableval="$enable_precomp_headers"
34631 bk_use_pch="$enableval"
34632 fi;
34633
34634 GCC_PCH=0
34635
34636 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34637 if test "x$GCC" = "xyes"; then
34638 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34639 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34640 cat >conftest.$ac_ext <<_ACEOF
34641 #line $LINENO "configure"
34642 /* confdefs.h. */
34643 _ACEOF
34644 cat confdefs.h >>conftest.$ac_ext
34645 cat >>conftest.$ac_ext <<_ACEOF
34646 /* end confdefs.h. */
34647
34648 int
34649 main ()
34650 {
34651
34652 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34653 #error "no pch support"
34654 #endif
34655 #if (__GNUC__ < 3)
34656 #error "no pch support"
34657 #endif
34658 #if (__GNUC__ == 3) && \
34659 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34660 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34661 #error "no pch support"
34662 #endif
34663
34664 ;
34665 return 0;
34666 }
34667 _ACEOF
34668 rm -f conftest.$ac_objext
34669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34670 (eval $ac_compile) 2>&5
34671 ac_status=$?
34672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34673 (exit $ac_status); } &&
34674 { ac_try='test -s conftest.$ac_objext'
34675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34676 (eval $ac_try) 2>&5
34677 ac_status=$?
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); }; }; then
34680
34681 echo "$as_me:$LINENO: result: yes" >&5
34682 echo "${ECHO_T}yes" >&6
34683 CPPFLAGS="-fpch-deps $CPPFLAGS"
34684 GCC_PCH=1
34685
34686 else
34687 echo "$as_me: failed program was:" >&5
34688 sed 's/^/| /' conftest.$ac_ext >&5
34689
34690
34691 echo "$as_me:$LINENO: result: no" >&5
34692 echo "${ECHO_T}no" >&6
34693
34694 fi
34695 rm -f conftest.$ac_objext conftest.$ac_ext
34696 if test $GCC_PCH = 1 ; then
34697 cat <<EOF >bk-make-pch
34698 #!/bin/sh
34699
34700 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34701 # script. It is used to generated precompiled headers.
34702 #
34703 # Permission is given to use this file in any way.
34704
34705 outfile="\${1}"
34706 header="\${2}"
34707 shift
34708 shift
34709
34710 compiler=
34711 headerfile=
34712 while test \${#} -gt 0; do
34713 case "\${1}" in
34714 -I* )
34715 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34716 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34717 headerfile="\${incdir}/\${header}"
34718 fi
34719 ;;
34720 esac
34721 compiler="\${compiler} \${1}"
34722 shift
34723 done
34724
34725 if test "x\${headerfile}" = "x" ; then
34726 echo "error: can't find header \${header} in include paths" >2
34727 else
34728 if test -f \${outfile} ; then
34729 rm -f \${outfile}
34730 else
34731 mkdir -p \`dirname \${outfile}\`
34732 fi
34733 depsfile=".deps/\`basename \${outfile}\`.d"
34734 mkdir -p .deps
34735 # can do this because gcc is >= 3.4:
34736 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34737 exit \${?}
34738 fi
34739 EOF
34740 chmod +x bk-make-pch
34741 fi
34742 fi
34743 fi
34744
34745
34746
34747
34748
34749 COND_BUILD_DEBUG="#"
34750 if test "x$BUILD" = "xdebug" ; then
34751 COND_BUILD_DEBUG=""
34752 fi
34753
34754 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34755 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34756 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34757 fi
34758
34759 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34760 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34761 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34762 fi
34763
34764 COND_BUILD_RELEASE="#"
34765 if test "x$BUILD" = "xrelease" ; then
34766 COND_BUILD_RELEASE=""
34767 fi
34768
34769 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34770 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34771 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34772 fi
34773
34774 COND_DEBUG_FLAG_1="#"
34775 if test "x$DEBUG_FLAG" = "x1" ; then
34776 COND_DEBUG_FLAG_1=""
34777 fi
34778
34779 COND_DEBUG_INFO_0="#"
34780 if test "x$DEBUG_INFO" = "x0" ; then
34781 COND_DEBUG_INFO_0=""
34782 fi
34783
34784 COND_DEBUG_INFO_1="#"
34785 if test "x$DEBUG_INFO" = "x1" ; then
34786 COND_DEBUG_INFO_1=""
34787 fi
34788
34789 COND_DEPS_TRACKING_0="#"
34790 if test "x$DEPS_TRACKING" = "x0" ; then
34791 COND_DEPS_TRACKING_0=""
34792 fi
34793
34794 COND_DEPS_TRACKING_1="#"
34795 if test "x$DEPS_TRACKING" = "x1" ; then
34796 COND_DEPS_TRACKING_1=""
34797 fi
34798
34799 COND_GCC_PCH_1="#"
34800 if test "x$GCC_PCH" = "x1" ; then
34801 COND_GCC_PCH_1=""
34802 fi
34803
34804 COND_MONOLITHIC_0="#"
34805 if test "x$MONOLITHIC" = "x0" ; then
34806 COND_MONOLITHIC_0=""
34807 fi
34808
34809 COND_MONOLITHIC_0_SHARED_0="#"
34810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34811 COND_MONOLITHIC_0_SHARED_0=""
34812 fi
34813
34814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34817 fi
34818
34819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34822 fi
34823
34824 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34826 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34827 fi
34828
34829 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34832 fi
34833
34834 COND_MONOLITHIC_0_SHARED_1="#"
34835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34836 COND_MONOLITHIC_0_SHARED_1=""
34837 fi
34838
34839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34842 fi
34843
34844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34846 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34847 fi
34848
34849 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34851 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34852 fi
34853
34854 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34856 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34857 fi
34858
34859 COND_MONOLITHIC_1="#"
34860 if test "x$MONOLITHIC" = "x1" ; then
34861 COND_MONOLITHIC_1=""
34862 fi
34863
34864 COND_MONOLITHIC_1_SHARED_0="#"
34865 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34866 COND_MONOLITHIC_1_SHARED_0=""
34867 fi
34868
34869 COND_MONOLITHIC_1_SHARED_1="#"
34870 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34871 COND_MONOLITHIC_1_SHARED_1=""
34872 fi
34873
34874 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34875 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34876 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34877 fi
34878
34879 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34880 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34882 fi
34883
34884 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34885 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34886 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34887 fi
34888
34889 COND_PLATFORM_MACOSX_1="#"
34890 if test "x$PLATFORM_MACOSX" = "x1" ; then
34891 COND_PLATFORM_MACOSX_1=""
34892 fi
34893
34894 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34895 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34896 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34897 fi
34898
34899 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34900 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34901 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34902 fi
34903
34904 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34905 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34906 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34907 fi
34908
34909 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34910 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34911 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34912 fi
34913
34914 COND_PLATFORM_MAC_1="#"
34915 if test "x$PLATFORM_MAC" = "x1" ; then
34916 COND_PLATFORM_MAC_1=""
34917 fi
34918
34919 COND_PLATFORM_UNIX_0="#"
34920 if test "x$PLATFORM_UNIX" = "x0" ; then
34921 COND_PLATFORM_UNIX_0=""
34922 fi
34923
34924 COND_PLATFORM_UNIX_1="#"
34925 if test "x$PLATFORM_UNIX" = "x1" ; then
34926 COND_PLATFORM_UNIX_1=""
34927 fi
34928
34929 COND_PLATFORM_WIN32_0="#"
34930 if test "x$PLATFORM_WIN32" = "x0" ; then
34931 COND_PLATFORM_WIN32_0=""
34932 fi
34933
34934 COND_PLATFORM_WIN32_1="#"
34935 if test "x$PLATFORM_WIN32" = "x1" ; then
34936 COND_PLATFORM_WIN32_1=""
34937 fi
34938
34939 COND_SHARED_0="#"
34940 if test "x$SHARED" = "x0" ; then
34941 COND_SHARED_0=""
34942 fi
34943
34944 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
34945 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34946 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
34947 fi
34948
34949 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
34950 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
34951 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
34952 fi
34953
34954 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
34955 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
34956 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
34957 fi
34958
34959 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
34960 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
34961 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
34962 fi
34963
34964 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
34965 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
34966 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
34967 fi
34968
34969 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
34970 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
34971 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
34972 fi
34973
34974 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
34975 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
34976 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
34977 fi
34978
34979 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
34980 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
34981 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
34982 fi
34983
34984 COND_SHARED_1="#"
34985 if test "x$SHARED" = "x1" ; then
34986 COND_SHARED_1=""
34987 fi
34988
34989 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
34990 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
34991 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
34992 fi
34993
34994 COND_TOOLKIT_COCOA="#"
34995 if test "x$TOOLKIT" = "xCOCOA" ; then
34996 COND_TOOLKIT_COCOA=""
34997 fi
34998
34999 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35000 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35001 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35002 fi
35003
35004 COND_TOOLKIT_GTK="#"
35005 if test "x$TOOLKIT" = "xGTK" ; then
35006 COND_TOOLKIT_GTK=""
35007 fi
35008
35009 COND_TOOLKIT_GTK_USE_GUI_1="#"
35010 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35011 COND_TOOLKIT_GTK_USE_GUI_1=""
35012 fi
35013
35014 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35015 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35016 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35017 fi
35018
35019 COND_TOOLKIT_MAC="#"
35020 if test "x$TOOLKIT" = "xMAC" ; then
35021 COND_TOOLKIT_MAC=""
35022 fi
35023
35024 COND_TOOLKIT_MAC_USE_GUI_1="#"
35025 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35026 COND_TOOLKIT_MAC_USE_GUI_1=""
35027 fi
35028
35029 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35030 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35031 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35032 fi
35033
35034 COND_TOOLKIT_MGL="#"
35035 if test "x$TOOLKIT" = "xMGL" ; then
35036 COND_TOOLKIT_MGL=""
35037 fi
35038
35039 COND_TOOLKIT_MGL_USE_GUI_1="#"
35040 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35041 COND_TOOLKIT_MGL_USE_GUI_1=""
35042 fi
35043
35044 COND_TOOLKIT_MOTIF="#"
35045 if test "x$TOOLKIT" = "xMOTIF" ; then
35046 COND_TOOLKIT_MOTIF=""
35047 fi
35048
35049 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35050 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35051 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35052 fi
35053
35054 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35055 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35056 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35057 fi
35058
35059 COND_TOOLKIT_MSW="#"
35060 if test "x$TOOLKIT" = "xMSW" ; then
35061 COND_TOOLKIT_MSW=""
35062 fi
35063
35064 COND_TOOLKIT_MSW_USE_GUI_1="#"
35065 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35066 COND_TOOLKIT_MSW_USE_GUI_1=""
35067 fi
35068
35069 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35070 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35071 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35072 fi
35073
35074 COND_TOOLKIT_OS2="#"
35075 if test "x$TOOLKIT" = "xOS2" ; then
35076 COND_TOOLKIT_OS2=""
35077 fi
35078
35079 COND_TOOLKIT_OS2_USE_GUI_1="#"
35080 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" ; then
35081 COND_TOOLKIT_OS2_USE_GUI_1=""
35082 fi
35083
35084 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0="#"
35085 if test "x$TOOLKIT" = "xOS2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35086 COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0=""
35087 fi
35088
35089 COND_TOOLKIT_X11="#"
35090 if test "x$TOOLKIT" = "xX11" ; then
35091 COND_TOOLKIT_X11=""
35092 fi
35093
35094 COND_TOOLKIT_X11_USE_GUI_1="#"
35095 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35096 COND_TOOLKIT_X11_USE_GUI_1=""
35097 fi
35098
35099 COND_UNICODE_1="#"
35100 if test "x$UNICODE" = "x1" ; then
35101 COND_UNICODE_1=""
35102 fi
35103
35104 COND_USE_GUI_0="#"
35105 if test "x$USE_GUI" = "x0" ; then
35106 COND_USE_GUI_0=""
35107 fi
35108
35109 COND_USE_GUI_1="#"
35110 if test "x$USE_GUI" = "x1" ; then
35111 COND_USE_GUI_1=""
35112 fi
35113
35114 COND_USE_GUI_1_WXUNIV_0="#"
35115 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35116 COND_USE_GUI_1_WXUNIV_0=""
35117 fi
35118
35119 COND_USE_GUI_1_WXUNIV_1="#"
35120 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35121 COND_USE_GUI_1_WXUNIV_1=""
35122 fi
35123
35124 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35125 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35126 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35127 fi
35128
35129 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35130 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35131 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35132 fi
35133
35134 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35135 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35136 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35137 fi
35138
35139 COND_USE_SOSYMLINKS_1="#"
35140 if test "x$USE_SOSYMLINKS" = "x1" ; then
35141 COND_USE_SOSYMLINKS_1=""
35142 fi
35143
35144 COND_USE_SOVERLINUX_1="#"
35145 if test "x$USE_SOVERLINUX" = "x1" ; then
35146 COND_USE_SOVERLINUX_1=""
35147 fi
35148
35149 COND_USE_SOVERSION_0="#"
35150 if test "x$USE_SOVERSION" = "x0" ; then
35151 COND_USE_SOVERSION_0=""
35152 fi
35153
35154 COND_USE_SOVERSOLARIS_1="#"
35155 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35156 COND_USE_SOVERSOLARIS_1=""
35157 fi
35158
35159 COND_WXUNIV_1="#"
35160 if test "x$WXUNIV" = "x1" ; then
35161 COND_WXUNIV_1=""
35162 fi
35163
35164 COND_WXUSE_EXPAT_BUILTIN="#"
35165 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35166 COND_WXUSE_EXPAT_BUILTIN=""
35167 fi
35168
35169 COND_WXUSE_LIBJPEG_BUILTIN="#"
35170 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35171 COND_WXUSE_LIBJPEG_BUILTIN=""
35172 fi
35173
35174 COND_WXUSE_LIBPNG_BUILTIN="#"
35175 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35176 COND_WXUSE_LIBPNG_BUILTIN=""
35177 fi
35178
35179 COND_WXUSE_LIBTIFF_BUILTIN="#"
35180 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35181 COND_WXUSE_LIBTIFF_BUILTIN=""
35182 fi
35183
35184 COND_WXUSE_ODBC_BUILTIN="#"
35185 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35186 COND_WXUSE_ODBC_BUILTIN=""
35187 fi
35188
35189 COND_WXUSE_REGEX_BUILTIN="#"
35190 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35191 COND_WXUSE_REGEX_BUILTIN=""
35192 fi
35193
35194 COND_WXUSE_ZLIB_BUILTIN="#"
35195 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35196 COND_WXUSE_ZLIB_BUILTIN=""
35197 fi
35198
35199
35200
35201
35202
35203 if test $GCC_PCH = 1 ; then
35204 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35205 else
35206 case "${host}" in
35207 powerpc-*-darwin* )
35208 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35209 ;;
35210 esac
35211 fi
35212 case "${host}" in
35213 powerpc-*-darwin* )
35214 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35215 ;;
35216 esac
35217
35218
35219 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35321 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35322 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35323 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35324 echo $ECHO_N "(cached) $ECHO_C" >&6
35325 else
35326 cat >conftest.make <<\_ACEOF
35327 all:
35328 @echo 'ac_maketemp="$(MAKE)"'
35329 _ACEOF
35330 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35331 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35332 if test -n "$ac_maketemp"; then
35333 eval ac_cv_prog_make_${ac_make}_set=yes
35334 else
35335 eval ac_cv_prog_make_${ac_make}_set=no
35336 fi
35337 rm -f conftest.make
35338 fi
35339 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35340 echo "$as_me:$LINENO: result: yes" >&5
35341 echo "${ECHO_T}yes" >&6
35342 SET_MAKE=
35343 else
35344 echo "$as_me:$LINENO: result: no" >&5
35345 echo "${ECHO_T}no" >&6
35346 SET_MAKE="MAKE=${MAKE-make}"
35347 fi
35348
35349
35350 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35351 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35352 fi
35353
35354 ac_config_headers="$ac_config_headers setup.h"
35355
35356
35357 ac_config_files="$ac_config_files wx-config version-script Makefile"
35358
35359
35360 ac_config_commands="$ac_config_commands default"
35361
35362
35363
35364 if test "$wxUSE_GUI" = "yes"; then
35365 SUBDIRS="samples demos utils contrib"
35366 else SUBDIRS="samples utils"
35367 fi
35368
35369 for subdir in `echo $SUBDIRS`; do
35370 if test -d ${srcdir}/${subdir} ; then
35371 if test "$wxUSE_GUI" = "yes"; then
35372 if test ${subdir} = "samples"; then
35373 makefiles="samples/Makefile.in $makefiles"
35374 for sample in `echo $SAMPLES_SUBDIRS`; do
35375 if test -d $srcdir/samples/$sample; then
35376 makefiles="samples/$sample/Makefile.in $makefiles"
35377 fi
35378 done
35379 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35380 fi
35381 else if test ${subdir} = "samples"; then
35382 makefiles="samples/Makefile.in samples/console/Makefile.in"
35383 else makefiles="utils/HelpGen/Makefile.in \
35384 utils/HelpGen/src/Makefile.in \
35385 utils/makegen/Makefile.in"
35386 fi
35387 fi
35388
35389 for mkin in $makefiles ; do
35390 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35391 ac_config_files="$ac_config_files $mk"
35392
35393 done
35394 fi
35395 done
35396
35397
35398 cat >confcache <<\_ACEOF
35399 # This file is a shell script that caches the results of configure
35400 # tests run on this system so they can be shared between configure
35401 # scripts and configure runs, see configure's option --config-cache.
35402 # It is not useful on other systems. If it contains results you don't
35403 # want to keep, you may remove or edit it.
35404 #
35405 # config.status only pays attention to the cache file if you give it
35406 # the --recheck option to rerun configure.
35407 #
35408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35410 # following values.
35411
35412 _ACEOF
35413
35414 # The following way of writing the cache mishandles newlines in values,
35415 # but we know of no workaround that is simple, portable, and efficient.
35416 # So, don't put newlines in cache variables' values.
35417 # Ultrix sh set writes to stderr and can't be redirected directly,
35418 # and sets the high bit in the cache file unless we assign to the vars.
35419 {
35420 (set) 2>&1 |
35421 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35422 *ac_space=\ *)
35423 # `set' does not quote correctly, so add quotes (double-quote
35424 # substitution turns \\\\ into \\, and sed turns \\ into \).
35425 sed -n \
35426 "s/'/'\\\\''/g;
35427 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35428 ;;
35429 *)
35430 # `set' quotes correctly as required by POSIX, so do not add quotes.
35431 sed -n \
35432 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35433 ;;
35434 esac;
35435 } |
35436 sed '
35437 t clear
35438 : clear
35439 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35440 t end
35441 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35442 : end' >>confcache
35443 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35444 if test -w $cache_file; then
35445 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35446 cat confcache >$cache_file
35447 else
35448 echo "not updating unwritable cache $cache_file"
35449 fi
35450 fi
35451 rm -f confcache
35452
35453 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35454 # Let make expand exec_prefix.
35455 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35456
35457 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35458 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35459 # trailing colons and then remove the whole line if VPATH becomes empty
35460 # (actually we leave an empty line to preserve line numbers).
35461 if test "x$srcdir" = x.; then
35462 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35463 s/:*\$(srcdir):*/:/;
35464 s/:*\${srcdir}:*/:/;
35465 s/:*@srcdir@:*/:/;
35466 s/^\([^=]*=[ ]*\):*/\1/;
35467 s/:*$//;
35468 s/^[^=]*=[ ]*$//;
35469 }'
35470 fi
35471
35472 DEFS=-DHAVE_CONFIG_H
35473
35474 ac_libobjs=
35475 ac_ltlibobjs=
35476 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35477 # 1. Remove the extension, and $U if already installed.
35478 ac_i=`echo "$ac_i" |
35479 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35480 # 2. Add them.
35481 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35482 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35483 done
35484 LIBOBJS=$ac_libobjs
35485
35486 LTLIBOBJS=$ac_ltlibobjs
35487
35488
35489
35490 : ${CONFIG_STATUS=./config.status}
35491 ac_clean_files_save=$ac_clean_files
35492 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35493 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35494 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35495 cat >$CONFIG_STATUS <<_ACEOF
35496 #! $SHELL
35497 # Generated by $as_me.
35498 # Run this file to recreate the current configuration.
35499 # Compiler output produced by configure, useful for debugging
35500 # configure, is in config.log if it exists.
35501
35502 debug=false
35503 ac_cs_recheck=false
35504 ac_cs_silent=false
35505 SHELL=\${CONFIG_SHELL-$SHELL}
35506 _ACEOF
35507
35508 cat >>$CONFIG_STATUS <<\_ACEOF
35509 ## --------------------- ##
35510 ## M4sh Initialization. ##
35511 ## --------------------- ##
35512
35513 # Be Bourne compatible
35514 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35515 emulate sh
35516 NULLCMD=:
35517 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35518 # is contrary to our usage. Disable this feature.
35519 alias -g '${1+"$@"}'='"$@"'
35520 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35521 set -o posix
35522 fi
35523
35524 # Support unset when possible.
35525 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35526 as_unset=unset
35527 else
35528 as_unset=false
35529 fi
35530
35531
35532 # Work around bugs in pre-3.0 UWIN ksh.
35533 $as_unset ENV MAIL MAILPATH
35534 PS1='$ '
35535 PS2='> '
35536 PS4='+ '
35537
35538 # NLS nuisances.
35539 for as_var in \
35540 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35541 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35542 LC_TELEPHONE LC_TIME
35543 do
35544 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35545 eval $as_var=C; export $as_var
35546 else
35547 $as_unset $as_var
35548 fi
35549 done
35550
35551 # Required to use basename.
35552 if expr a : '\(a\)' >/dev/null 2>&1; then
35553 as_expr=expr
35554 else
35555 as_expr=false
35556 fi
35557
35558 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35559 as_basename=basename
35560 else
35561 as_basename=false
35562 fi
35563
35564
35565 # Name of the executable.
35566 as_me=`$as_basename "$0" ||
35567 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35568 X"$0" : 'X\(//\)$' \| \
35569 X"$0" : 'X\(/\)$' \| \
35570 . : '\(.\)' 2>/dev/null ||
35571 echo X/"$0" |
35572 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35573 /^X\/\(\/\/\)$/{ s//\1/; q; }
35574 /^X\/\(\/\).*/{ s//\1/; q; }
35575 s/.*/./; q'`
35576
35577
35578 # PATH needs CR, and LINENO needs CR and PATH.
35579 # Avoid depending upon Character Ranges.
35580 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35581 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35582 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35583 as_cr_digits='0123456789'
35584 as_cr_alnum=$as_cr_Letters$as_cr_digits
35585
35586 # The user is always right.
35587 if test "${PATH_SEPARATOR+set}" != set; then
35588 echo "#! /bin/sh" >conf$$.sh
35589 echo "exit 0" >>conf$$.sh
35590 chmod +x conf$$.sh
35591 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35592 PATH_SEPARATOR=';'
35593 else
35594 PATH_SEPARATOR=:
35595 fi
35596 rm -f conf$$.sh
35597 fi
35598
35599
35600 as_lineno_1=$LINENO
35601 as_lineno_2=$LINENO
35602 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35603 test "x$as_lineno_1" != "x$as_lineno_2" &&
35604 test "x$as_lineno_3" = "x$as_lineno_2" || {
35605 # Find who we are. Look in the path if we contain no path at all
35606 # relative or not.
35607 case $0 in
35608 *[\\/]* ) as_myself=$0 ;;
35609 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35610 for as_dir in $PATH
35611 do
35612 IFS=$as_save_IFS
35613 test -z "$as_dir" && as_dir=.
35614 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35615 done
35616
35617 ;;
35618 esac
35619 # We did not find ourselves, most probably we were run as `sh COMMAND'
35620 # in which case we are not to be found in the path.
35621 if test "x$as_myself" = x; then
35622 as_myself=$0
35623 fi
35624 if test ! -f "$as_myself"; then
35625 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35626 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35627 { (exit 1); exit 1; }; }
35628 fi
35629 case $CONFIG_SHELL in
35630 '')
35631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35632 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35633 do
35634 IFS=$as_save_IFS
35635 test -z "$as_dir" && as_dir=.
35636 for as_base in sh bash ksh sh5; do
35637 case $as_dir in
35638 /*)
35639 if ("$as_dir/$as_base" -c '
35640 as_lineno_1=$LINENO
35641 as_lineno_2=$LINENO
35642 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35643 test "x$as_lineno_1" != "x$as_lineno_2" &&
35644 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35645 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35646 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35647 CONFIG_SHELL=$as_dir/$as_base
35648 export CONFIG_SHELL
35649 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35650 fi;;
35651 esac
35652 done
35653 done
35654 ;;
35655 esac
35656
35657 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35658 # uniformly replaced by the line number. The first 'sed' inserts a
35659 # line-number line before each line; the second 'sed' does the real
35660 # work. The second script uses 'N' to pair each line-number line
35661 # with the numbered line, and appends trailing '-' during
35662 # substitution so that $LINENO is not a special case at line end.
35663 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35664 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35665 sed '=' <$as_myself |
35666 sed '
35667 N
35668 s,$,-,
35669 : loop
35670 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35671 t loop
35672 s,-$,,
35673 s,^['$as_cr_digits']*\n,,
35674 ' >$as_me.lineno &&
35675 chmod +x $as_me.lineno ||
35676 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35677 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35678 { (exit 1); exit 1; }; }
35679
35680 # Don't try to exec as it changes $[0], causing all sort of problems
35681 # (the dirname of $[0] is not the place where we might find the
35682 # original and so on. Autoconf is especially sensible to this).
35683 . ./$as_me.lineno
35684 # Exit status is that of the last command.
35685 exit
35686 }
35687
35688
35689 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35690 *c*,-n*) ECHO_N= ECHO_C='
35691 ' ECHO_T=' ' ;;
35692 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35693 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35694 esac
35695
35696 if expr a : '\(a\)' >/dev/null 2>&1; then
35697 as_expr=expr
35698 else
35699 as_expr=false
35700 fi
35701
35702 rm -f conf$$ conf$$.exe conf$$.file
35703 echo >conf$$.file
35704 if ln -s conf$$.file conf$$ 2>/dev/null; then
35705 # We could just check for DJGPP; but this test a) works b) is more generic
35706 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35707 if test -f conf$$.exe; then
35708 # Don't use ln at all; we don't have any links
35709 as_ln_s='cp -p'
35710 else
35711 as_ln_s='ln -s'
35712 fi
35713 elif ln conf$$.file conf$$ 2>/dev/null; then
35714 as_ln_s=ln
35715 else
35716 as_ln_s='cp -p'
35717 fi
35718 rm -f conf$$ conf$$.exe conf$$.file
35719
35720 if mkdir -p . 2>/dev/null; then
35721 as_mkdir_p=:
35722 else
35723 as_mkdir_p=false
35724 fi
35725
35726 as_executable_p="test -f"
35727
35728 # Sed expression to map a string onto a valid CPP name.
35729 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35730
35731 # Sed expression to map a string onto a valid variable name.
35732 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35733
35734
35735 # IFS
35736 # We need space, tab and new line, in precisely that order.
35737 as_nl='
35738 '
35739 IFS=" $as_nl"
35740
35741 # CDPATH.
35742 $as_unset CDPATH
35743
35744 exec 6>&1
35745
35746 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35747 # report actual input values of CONFIG_FILES etc. instead of their
35748 # values after options handling. Logging --version etc. is OK.
35749 exec 5>>config.log
35750 {
35751 echo
35752 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35753 ## Running $as_me. ##
35754 _ASBOX
35755 } >&5
35756 cat >&5 <<_CSEOF
35757
35758 This file was extended by wxWindows $as_me 2.5.0, which was
35759 generated by GNU Autoconf 2.57. Invocation command line was
35760
35761 CONFIG_FILES = $CONFIG_FILES
35762 CONFIG_HEADERS = $CONFIG_HEADERS
35763 CONFIG_LINKS = $CONFIG_LINKS
35764 CONFIG_COMMANDS = $CONFIG_COMMANDS
35765 $ $0 $@
35766
35767 _CSEOF
35768 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35769 echo >&5
35770 _ACEOF
35771
35772 # Files that config.status was made for.
35773 if test -n "$ac_config_files"; then
35774 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35775 fi
35776
35777 if test -n "$ac_config_headers"; then
35778 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35779 fi
35780
35781 if test -n "$ac_config_links"; then
35782 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35783 fi
35784
35785 if test -n "$ac_config_commands"; then
35786 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35787 fi
35788
35789 cat >>$CONFIG_STATUS <<\_ACEOF
35790
35791 ac_cs_usage="\
35792 \`$as_me' instantiates files from templates according to the
35793 current configuration.
35794
35795 Usage: $0 [OPTIONS] [FILE]...
35796
35797 -h, --help print this help, then exit
35798 -V, --version print version number, then exit
35799 -q, --quiet do not print progress messages
35800 -d, --debug don't remove temporary files
35801 --recheck update $as_me by reconfiguring in the same conditions
35802 --file=FILE[:TEMPLATE]
35803 instantiate the configuration file FILE
35804 --header=FILE[:TEMPLATE]
35805 instantiate the configuration header FILE
35806
35807 Configuration files:
35808 $config_files
35809
35810 Configuration headers:
35811 $config_headers
35812
35813 Configuration commands:
35814 $config_commands
35815
35816 Report bugs to <bug-autoconf@gnu.org>."
35817 _ACEOF
35818
35819 cat >>$CONFIG_STATUS <<_ACEOF
35820 ac_cs_version="\\
35821 wxWindows config.status 2.5.0
35822 configured by $0, generated by GNU Autoconf 2.57,
35823 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35824
35825 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35826 Free Software Foundation, Inc.
35827 This config.status script is free software; the Free Software Foundation
35828 gives unlimited permission to copy, distribute and modify it."
35829 srcdir=$srcdir
35830 INSTALL="$INSTALL"
35831 _ACEOF
35832
35833 cat >>$CONFIG_STATUS <<\_ACEOF
35834 # If no file are specified by the user, then we need to provide default
35835 # value. By we need to know if files were specified by the user.
35836 ac_need_defaults=:
35837 while test $# != 0
35838 do
35839 case $1 in
35840 --*=*)
35841 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35842 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35843 ac_shift=:
35844 ;;
35845 -*)
35846 ac_option=$1
35847 ac_optarg=$2
35848 ac_shift=shift
35849 ;;
35850 *) # This is not an option, so the user has probably given explicit
35851 # arguments.
35852 ac_option=$1
35853 ac_need_defaults=false;;
35854 esac
35855
35856 case $ac_option in
35857 # Handling of the options.
35858 _ACEOF
35859 cat >>$CONFIG_STATUS <<\_ACEOF
35860 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35861 ac_cs_recheck=: ;;
35862 --version | --vers* | -V )
35863 echo "$ac_cs_version"; exit 0 ;;
35864 --he | --h)
35865 # Conflict between --help and --header
35866 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35867 Try \`$0 --help' for more information." >&5
35868 echo "$as_me: error: ambiguous option: $1
35869 Try \`$0 --help' for more information." >&2;}
35870 { (exit 1); exit 1; }; };;
35871 --help | --hel | -h )
35872 echo "$ac_cs_usage"; exit 0 ;;
35873 --debug | --d* | -d )
35874 debug=: ;;
35875 --file | --fil | --fi | --f )
35876 $ac_shift
35877 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35878 ac_need_defaults=false;;
35879 --header | --heade | --head | --hea )
35880 $ac_shift
35881 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35882 ac_need_defaults=false;;
35883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35884 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35885 ac_cs_silent=: ;;
35886
35887 # This is an error.
35888 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35889 Try \`$0 --help' for more information." >&5
35890 echo "$as_me: error: unrecognized option: $1
35891 Try \`$0 --help' for more information." >&2;}
35892 { (exit 1); exit 1; }; } ;;
35893
35894 *) ac_config_targets="$ac_config_targets $1" ;;
35895
35896 esac
35897 shift
35898 done
35899
35900 ac_configure_extra_args=
35901
35902 if $ac_cs_silent; then
35903 exec 6>/dev/null
35904 ac_configure_extra_args="$ac_configure_extra_args --silent"
35905 fi
35906
35907 _ACEOF
35908 cat >>$CONFIG_STATUS <<_ACEOF
35909 if \$ac_cs_recheck; then
35910 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35911 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
35912 fi
35913
35914 _ACEOF
35915
35916 cat >>$CONFIG_STATUS <<_ACEOF
35917 #
35918 # INIT-COMMANDS section.
35919 #
35920
35921
35922 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
35923 LN_S="${LN_S}"
35924
35925
35926
35927 _ACEOF
35928
35929
35930
35931 cat >>$CONFIG_STATUS <<\_ACEOF
35932 for ac_config_target in $ac_config_targets
35933 do
35934 case "$ac_config_target" in
35935 # Handling of arguments.
35936 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
35937 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
35938 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35939 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
35940 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
35941 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
35942 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35943 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35944 { (exit 1); exit 1; }; };;
35945 esac
35946 done
35947
35948 # If the user did not use the arguments to specify the items to instantiate,
35949 # then the envvar interface is used. Set only those that are not.
35950 # We use the long form for the default assignment because of an extremely
35951 # bizarre bug on SunOS 4.1.3.
35952 if $ac_need_defaults; then
35953 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35954 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35955 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35956 fi
35957
35958 # Have a temporary directory for convenience. Make it in the build tree
35959 # simply because there is no reason to put it here, and in addition,
35960 # creating and moving files from /tmp can sometimes cause problems.
35961 # Create a temporary directory, and hook for its removal unless debugging.
35962 $debug ||
35963 {
35964 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35965 trap '{ (exit 1); exit 1; }' 1 2 13 15
35966 }
35967
35968 # Create a (secure) tmp directory for tmp files.
35969
35970 {
35971 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35972 test -n "$tmp" && test -d "$tmp"
35973 } ||
35974 {
35975 tmp=./confstat$$-$RANDOM
35976 (umask 077 && mkdir $tmp)
35977 } ||
35978 {
35979 echo "$me: cannot create a temporary directory in ." >&2
35980 { (exit 1); exit 1; }
35981 }
35982
35983 _ACEOF
35984
35985 cat >>$CONFIG_STATUS <<_ACEOF
35986
35987 #
35988 # CONFIG_FILES section.
35989 #
35990
35991 # No need to generate the scripts if there are no CONFIG_FILES.
35992 # This happens for instance when ./config.status config.h
35993 if test -n "\$CONFIG_FILES"; then
35994 # Protect against being on the right side of a sed subst in config.status.
35995 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35996 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35997 s,@SHELL@,$SHELL,;t t
35998 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35999 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36000 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36001 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36002 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36003 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36004 s,@exec_prefix@,$exec_prefix,;t t
36005 s,@prefix@,$prefix,;t t
36006 s,@program_transform_name@,$program_transform_name,;t t
36007 s,@bindir@,$bindir,;t t
36008 s,@sbindir@,$sbindir,;t t
36009 s,@libexecdir@,$libexecdir,;t t
36010 s,@datadir@,$datadir,;t t
36011 s,@sysconfdir@,$sysconfdir,;t t
36012 s,@sharedstatedir@,$sharedstatedir,;t t
36013 s,@localstatedir@,$localstatedir,;t t
36014 s,@libdir@,$libdir,;t t
36015 s,@includedir@,$includedir,;t t
36016 s,@oldincludedir@,$oldincludedir,;t t
36017 s,@infodir@,$infodir,;t t
36018 s,@mandir@,$mandir,;t t
36019 s,@build_alias@,$build_alias,;t t
36020 s,@host_alias@,$host_alias,;t t
36021 s,@target_alias@,$target_alias,;t t
36022 s,@DEFS@,$DEFS,;t t
36023 s,@ECHO_C@,$ECHO_C,;t t
36024 s,@ECHO_N@,$ECHO_N,;t t
36025 s,@ECHO_T@,$ECHO_T,;t t
36026 s,@LIBS@,$LIBS,;t t
36027 s,@build@,$build,;t t
36028 s,@build_cpu@,$build_cpu,;t t
36029 s,@build_vendor@,$build_vendor,;t t
36030 s,@build_os@,$build_os,;t t
36031 s,@host@,$host,;t t
36032 s,@host_cpu@,$host_cpu,;t t
36033 s,@host_vendor@,$host_vendor,;t t
36034 s,@host_os@,$host_os,;t t
36035 s,@target@,$target,;t t
36036 s,@target_cpu@,$target_cpu,;t t
36037 s,@target_vendor@,$target_vendor,;t t
36038 s,@target_os@,$target_os,;t t
36039 s,@CC@,$CC,;t t
36040 s,@CFLAGS@,$CFLAGS,;t t
36041 s,@LDFLAGS@,$LDFLAGS,;t t
36042 s,@CPPFLAGS@,$CPPFLAGS,;t t
36043 s,@ac_ct_CC@,$ac_ct_CC,;t t
36044 s,@EXEEXT@,$EXEEXT,;t t
36045 s,@OBJEXT@,$OBJEXT,;t t
36046 s,@CPP@,$CPP,;t t
36047 s,@EGREP@,$EGREP,;t t
36048 s,@CXX@,$CXX,;t t
36049 s,@CXXFLAGS@,$CXXFLAGS,;t t
36050 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36051 s,@RANLIB@,$RANLIB,;t t
36052 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36053 s,@AR@,$AR,;t t
36054 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36055 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36056 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36057 s,@STRIP@,$STRIP,;t t
36058 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36059 s,@LN_S@,$LN_S,;t t
36060 s,@CXXCPP@,$CXXCPP,;t t
36061 s,@subdirs@,$subdirs,;t t
36062 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36063 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36064 s,@GTK_LIBS@,$GTK_LIBS,;t t
36065 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36066 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36067 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36068 s,@X_CFLAGS@,$X_CFLAGS,;t t
36069 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36070 s,@X_LIBS@,$X_LIBS,;t t
36071 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36072 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36073 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36074 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36075 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36076 s,@RESCOMP@,$RESCOMP,;t t
36077 s,@DEREZ@,$DEREZ,;t t
36078 s,@SETFILE@,$SETFILE,;t t
36079 s,@LIBICONV@,$LIBICONV,;t t
36080 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36081 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36082 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36083 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36084 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36085 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36086 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36087 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36088 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36089 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36090 s,@VENDOR@,$VENDOR,;t t
36091 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36092 s,@WXUNIV@,$WXUNIV,;t t
36093 s,@MONOLITHIC@,$MONOLITHIC,;t t
36094 s,@EXTRALIBS@,$EXTRALIBS,;t t
36095 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36096 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36097 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36098 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36099 s,@UNICODE@,$UNICODE,;t t
36100 s,@BUILD@,$BUILD,;t t
36101 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36102 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36103 s,@SHARED@,$SHARED,;t t
36104 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36105 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36106 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36107 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36108 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36109 s,@SET_MAKE@,$SET_MAKE,;t t
36110 s,@MAKE_SET@,$MAKE_SET,;t t
36111 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36112 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36113 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36114 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36115 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36116 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36117 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36118 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36119 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36120 s,@DLLPREFIX@,$DLLPREFIX,;t t
36121 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36122 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36123 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36124 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36125 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36126 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36127 s,@PIC_FLAG@,$PIC_FLAG,;t t
36128 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36129 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36130 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36131 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36132 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36133 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36134 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36135 s,@GCC_PCH@,$GCC_PCH,;t t
36136 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36137 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36138 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36139 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36140 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36141 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36142 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36143 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36144 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36145 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36146 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36147 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36148 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36149 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36150 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
36151 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36152 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36153 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36154 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36155 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
36156 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36157 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36158 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36159 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36160 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36161 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36162 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36163 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36164 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36165 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36166 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36167 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36168 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36169 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36170 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36171 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36172 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36173 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36174 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36175 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36176 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36177 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36178 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36179 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36180 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36181 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36182 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36183 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36184 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36185 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36186 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36187 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36188 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36189 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36190 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36191 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36192 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36193 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36194 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36195 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36196 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36197 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36198 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36199 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36200 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36201 s,@COND_TOOLKIT_OS2@,$COND_TOOLKIT_OS2,;t t
36202 s,@COND_TOOLKIT_OS2_USE_GUI_1@,$COND_TOOLKIT_OS2_USE_GUI_1,;t t
36203 s,@COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_OS2_USE_GUI_1_WXUNIV_0,;t t
36204 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36205 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36206 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36207 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36208 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36209 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36210 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36211 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36212 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36213 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36214 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36215 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36216 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36217 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36218 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36219 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36220 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36221 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36222 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36223 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36224 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36225 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36226 s,@PATH_IFS@,$PATH_IFS,;t t
36227 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36228 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36229 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36230 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36231 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36232 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36233 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36234 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36235 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36236 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36237 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36238 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36239 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36240 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36241 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36242 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36243 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36244 s,@WX_ALL@,$WX_ALL,;t t
36245 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36246 s,@SHARED_LD@,$SHARED_LD,;t t
36247 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36248 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36249 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36250 s,@USE_GUI@,$USE_GUI,;t t
36251 s,@AFMINSTALL@,$AFMINSTALL,;t t
36252 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36253 s,@TOOLKIT@,$TOOLKIT,;t t
36254 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36255 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36256 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36257 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36258 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36259 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36260 s,@cross_compiling@,$cross_compiling,;t t
36261 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36262 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36263 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36264 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36265 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36266 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36267 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36268 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36269 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36270 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36271 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36272 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36273 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36274 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36275 s,@GUIDIST@,$GUIDIST,;t t
36276 s,@PORT_FILES@,$PORT_FILES,;t t
36277 s,@DISTDIR@,$DISTDIR,;t t
36278 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36279 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36280 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36281 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36282 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36283 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36284 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36285 s,@RESFLAGS@,$RESFLAGS,;t t
36286 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36287 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36288 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36289 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36290 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36291 s,@MACRESCOMP@,$MACRESCOMP,;t t
36292 s,@MACSETFILE@,$MACSETFILE,;t t
36293 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36294 s,@GCC@,$GCC,;t t
36295 s,@DLLTOOL@,$DLLTOOL,;t t
36296 s,@AS@,$AS,;t t
36297 s,@NM@,$NM,;t t
36298 s,@LD@,$LD,;t t
36299 s,@MAKEINFO@,$MAKEINFO,;t t
36300 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36301 s,@LIBOBJS@,$LIBOBJS,;t t
36302 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36303 CEOF
36304
36305 _ACEOF
36306
36307 cat >>$CONFIG_STATUS <<\_ACEOF
36308 # Split the substitutions into bite-sized pieces for seds with
36309 # small command number limits, like on Digital OSF/1 and HP-UX.
36310 ac_max_sed_lines=48
36311 ac_sed_frag=1 # Number of current file.
36312 ac_beg=1 # First line for current file.
36313 ac_end=$ac_max_sed_lines # Line after last line for current file.
36314 ac_more_lines=:
36315 ac_sed_cmds=
36316 while $ac_more_lines; do
36317 if test $ac_beg -gt 1; then
36318 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36319 else
36320 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36321 fi
36322 if test ! -s $tmp/subs.frag; then
36323 ac_more_lines=false
36324 else
36325 # The purpose of the label and of the branching condition is to
36326 # speed up the sed processing (if there are no `@' at all, there
36327 # is no need to browse any of the substitutions).
36328 # These are the two extra sed commands mentioned above.
36329 (echo ':t
36330 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36331 if test -z "$ac_sed_cmds"; then
36332 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36333 else
36334 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36335 fi
36336 ac_sed_frag=`expr $ac_sed_frag + 1`
36337 ac_beg=$ac_end
36338 ac_end=`expr $ac_end + $ac_max_sed_lines`
36339 fi
36340 done
36341 if test -z "$ac_sed_cmds"; then
36342 ac_sed_cmds=cat
36343 fi
36344 fi # test -n "$CONFIG_FILES"
36345
36346 _ACEOF
36347 cat >>$CONFIG_STATUS <<\_ACEOF
36348 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36349 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36350 case $ac_file in
36351 - | *:- | *:-:* ) # input from stdin
36352 cat >$tmp/stdin
36353 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36354 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36355 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36356 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36357 * ) ac_file_in=$ac_file.in ;;
36358 esac
36359
36360 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36361 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36362 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36363 X"$ac_file" : 'X\(//\)[^/]' \| \
36364 X"$ac_file" : 'X\(//\)$' \| \
36365 X"$ac_file" : 'X\(/\)' \| \
36366 . : '\(.\)' 2>/dev/null ||
36367 echo X"$ac_file" |
36368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36370 /^X\(\/\/\)$/{ s//\1/; q; }
36371 /^X\(\/\).*/{ s//\1/; q; }
36372 s/.*/./; q'`
36373 { if $as_mkdir_p; then
36374 mkdir -p "$ac_dir"
36375 else
36376 as_dir="$ac_dir"
36377 as_dirs=
36378 while test ! -d "$as_dir"; do
36379 as_dirs="$as_dir $as_dirs"
36380 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36382 X"$as_dir" : 'X\(//\)[^/]' \| \
36383 X"$as_dir" : 'X\(//\)$' \| \
36384 X"$as_dir" : 'X\(/\)' \| \
36385 . : '\(.\)' 2>/dev/null ||
36386 echo X"$as_dir" |
36387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36389 /^X\(\/\/\)$/{ s//\1/; q; }
36390 /^X\(\/\).*/{ s//\1/; q; }
36391 s/.*/./; q'`
36392 done
36393 test ! -n "$as_dirs" || mkdir $as_dirs
36394 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36395 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36396 { (exit 1); exit 1; }; }; }
36397
36398 ac_builddir=.
36399
36400 if test "$ac_dir" != .; then
36401 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36402 # A "../" for each directory in $ac_dir_suffix.
36403 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36404 else
36405 ac_dir_suffix= ac_top_builddir=
36406 fi
36407
36408 case $srcdir in
36409 .) # No --srcdir option. We are building in place.
36410 ac_srcdir=.
36411 if test -z "$ac_top_builddir"; then
36412 ac_top_srcdir=.
36413 else
36414 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36415 fi ;;
36416 [\\/]* | ?:[\\/]* ) # Absolute path.
36417 ac_srcdir=$srcdir$ac_dir_suffix;
36418 ac_top_srcdir=$srcdir ;;
36419 *) # Relative path.
36420 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36421 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36422 esac
36423 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36424 # absolute.
36425 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36426 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36427 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36428 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36429
36430
36431 case $INSTALL in
36432 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36433 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36434 esac
36435
36436 if test x"$ac_file" != x-; then
36437 { echo "$as_me:$LINENO: creating $ac_file" >&5
36438 echo "$as_me: creating $ac_file" >&6;}
36439 rm -f "$ac_file"
36440 fi
36441 # Let's still pretend it is `configure' which instantiates (i.e., don't
36442 # use $as_me), people would be surprised to read:
36443 # /* config.h. Generated by config.status. */
36444 if test x"$ac_file" = x-; then
36445 configure_input=
36446 else
36447 configure_input="$ac_file. "
36448 fi
36449 configure_input=$configure_input"Generated from `echo $ac_file_in |
36450 sed 's,.*/,,'` by configure."
36451
36452 # First look for the input files in the build tree, otherwise in the
36453 # src tree.
36454 ac_file_inputs=`IFS=:
36455 for f in $ac_file_in; do
36456 case $f in
36457 -) echo $tmp/stdin ;;
36458 [\\/$]*)
36459 # Absolute (can't be DOS-style, as IFS=:)
36460 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36461 echo "$as_me: error: cannot find input file: $f" >&2;}
36462 { (exit 1); exit 1; }; }
36463 echo $f;;
36464 *) # Relative
36465 if test -f "$f"; then
36466 # Build tree
36467 echo $f
36468 elif test -f "$srcdir/$f"; then
36469 # Source tree
36470 echo $srcdir/$f
36471 else
36472 # /dev/null tree
36473 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36474 echo "$as_me: error: cannot find input file: $f" >&2;}
36475 { (exit 1); exit 1; }; }
36476 fi;;
36477 esac
36478 done` || { (exit 1); exit 1; }
36479 _ACEOF
36480 cat >>$CONFIG_STATUS <<_ACEOF
36481 sed "$ac_vpsub
36482 $extrasub
36483 _ACEOF
36484 cat >>$CONFIG_STATUS <<\_ACEOF
36485 :t
36486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36487 s,@configure_input@,$configure_input,;t t
36488 s,@srcdir@,$ac_srcdir,;t t
36489 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36490 s,@top_srcdir@,$ac_top_srcdir,;t t
36491 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36492 s,@builddir@,$ac_builddir,;t t
36493 s,@abs_builddir@,$ac_abs_builddir,;t t
36494 s,@top_builddir@,$ac_top_builddir,;t t
36495 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36496 s,@INSTALL@,$ac_INSTALL,;t t
36497 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36498 rm -f $tmp/stdin
36499 if test x"$ac_file" != x-; then
36500 mv $tmp/out $ac_file
36501 else
36502 cat $tmp/out
36503 rm -f $tmp/out
36504 fi
36505
36506 done
36507 _ACEOF
36508 cat >>$CONFIG_STATUS <<\_ACEOF
36509
36510 #
36511 # CONFIG_HEADER section.
36512 #
36513
36514 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36515 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36516 #
36517 # ac_d sets the value in "#define NAME VALUE" lines.
36518 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36519 ac_dB='[ ].*$,\1#\2'
36520 ac_dC=' '
36521 ac_dD=',;t'
36522 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36523 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36524 ac_uB='$,\1#\2define\3'
36525 ac_uC=' '
36526 ac_uD=',;t'
36527
36528 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36529 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36530 case $ac_file in
36531 - | *:- | *:-:* ) # input from stdin
36532 cat >$tmp/stdin
36533 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36534 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36535 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36536 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36537 * ) ac_file_in=$ac_file.in ;;
36538 esac
36539
36540 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36541 echo "$as_me: creating $ac_file" >&6;}
36542
36543 # First look for the input files in the build tree, otherwise in the
36544 # src tree.
36545 ac_file_inputs=`IFS=:
36546 for f in $ac_file_in; do
36547 case $f in
36548 -) echo $tmp/stdin ;;
36549 [\\/$]*)
36550 # Absolute (can't be DOS-style, as IFS=:)
36551 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36552 echo "$as_me: error: cannot find input file: $f" >&2;}
36553 { (exit 1); exit 1; }; }
36554 echo $f;;
36555 *) # Relative
36556 if test -f "$f"; then
36557 # Build tree
36558 echo $f
36559 elif test -f "$srcdir/$f"; then
36560 # Source tree
36561 echo $srcdir/$f
36562 else
36563 # /dev/null tree
36564 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36565 echo "$as_me: error: cannot find input file: $f" >&2;}
36566 { (exit 1); exit 1; }; }
36567 fi;;
36568 esac
36569 done` || { (exit 1); exit 1; }
36570 # Remove the trailing spaces.
36571 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36572
36573 _ACEOF
36574
36575 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36576 # `conftest.undefs', that substitutes the proper values into
36577 # config.h.in to produce config.h. The first handles `#define'
36578 # templates, and the second `#undef' templates.
36579 # And first: Protect against being on the right side of a sed subst in
36580 # config.status. Protect against being in an unquoted here document
36581 # in config.status.
36582 rm -f conftest.defines conftest.undefs
36583 # Using a here document instead of a string reduces the quoting nightmare.
36584 # Putting comments in sed scripts is not portable.
36585 #
36586 # `end' is used to avoid that the second main sed command (meant for
36587 # 0-ary CPP macros) applies to n-ary macro definitions.
36588 # See the Autoconf documentation for `clear'.
36589 cat >confdef2sed.sed <<\_ACEOF
36590 s/[\\&,]/\\&/g
36591 s,[\\$`],\\&,g
36592 t clear
36593 : clear
36594 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36595 t end
36596 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36597 : end
36598 _ACEOF
36599 # If some macros were called several times there might be several times
36600 # the same #defines, which is useless. Nevertheless, we may not want to
36601 # sort them, since we want the *last* AC-DEFINE to be honored.
36602 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36603 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36604 rm -f confdef2sed.sed
36605
36606 # This sed command replaces #undef with comments. This is necessary, for
36607 # example, in the case of _POSIX_SOURCE, which is predefined and required
36608 # on some systems where configure will not decide to define it.
36609 cat >>conftest.undefs <<\_ACEOF
36610 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36611 _ACEOF
36612
36613 # Break up conftest.defines because some shells have a limit on the size
36614 # of here documents, and old seds have small limits too (100 cmds).
36615 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36616 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36617 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36618 echo ' :' >>$CONFIG_STATUS
36619 rm -f conftest.tail
36620 while grep . conftest.defines >/dev/null
36621 do
36622 # Write a limited-size here document to $tmp/defines.sed.
36623 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36624 # Speed up: don't consider the non `#define' lines.
36625 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36626 # Work around the forget-to-reset-the-flag bug.
36627 echo 't clr' >>$CONFIG_STATUS
36628 echo ': clr' >>$CONFIG_STATUS
36629 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36630 echo 'CEOF
36631 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36632 rm -f $tmp/in
36633 mv $tmp/out $tmp/in
36634 ' >>$CONFIG_STATUS
36635 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36636 rm -f conftest.defines
36637 mv conftest.tail conftest.defines
36638 done
36639 rm -f conftest.defines
36640 echo ' fi # grep' >>$CONFIG_STATUS
36641 echo >>$CONFIG_STATUS
36642
36643 # Break up conftest.undefs because some shells have a limit on the size
36644 # of here documents, and old seds have small limits too (100 cmds).
36645 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36646 rm -f conftest.tail
36647 while grep . conftest.undefs >/dev/null
36648 do
36649 # Write a limited-size here document to $tmp/undefs.sed.
36650 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36651 # Speed up: don't consider the non `#undef'
36652 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36653 # Work around the forget-to-reset-the-flag bug.
36654 echo 't clr' >>$CONFIG_STATUS
36655 echo ': clr' >>$CONFIG_STATUS
36656 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36657 echo 'CEOF
36658 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36659 rm -f $tmp/in
36660 mv $tmp/out $tmp/in
36661 ' >>$CONFIG_STATUS
36662 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36663 rm -f conftest.undefs
36664 mv conftest.tail conftest.undefs
36665 done
36666 rm -f conftest.undefs
36667
36668 cat >>$CONFIG_STATUS <<\_ACEOF
36669 # Let's still pretend it is `configure' which instantiates (i.e., don't
36670 # use $as_me), people would be surprised to read:
36671 # /* config.h. Generated by config.status. */
36672 if test x"$ac_file" = x-; then
36673 echo "/* Generated by configure. */" >$tmp/config.h
36674 else
36675 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36676 fi
36677 cat $tmp/in >>$tmp/config.h
36678 rm -f $tmp/in
36679 if test x"$ac_file" != x-; then
36680 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36681 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36682 echo "$as_me: $ac_file is unchanged" >&6;}
36683 else
36684 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36686 X"$ac_file" : 'X\(//\)[^/]' \| \
36687 X"$ac_file" : 'X\(//\)$' \| \
36688 X"$ac_file" : 'X\(/\)' \| \
36689 . : '\(.\)' 2>/dev/null ||
36690 echo X"$ac_file" |
36691 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36692 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36693 /^X\(\/\/\)$/{ s//\1/; q; }
36694 /^X\(\/\).*/{ s//\1/; q; }
36695 s/.*/./; q'`
36696 { if $as_mkdir_p; then
36697 mkdir -p "$ac_dir"
36698 else
36699 as_dir="$ac_dir"
36700 as_dirs=
36701 while test ! -d "$as_dir"; do
36702 as_dirs="$as_dir $as_dirs"
36703 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36705 X"$as_dir" : 'X\(//\)[^/]' \| \
36706 X"$as_dir" : 'X\(//\)$' \| \
36707 X"$as_dir" : 'X\(/\)' \| \
36708 . : '\(.\)' 2>/dev/null ||
36709 echo X"$as_dir" |
36710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36711 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36712 /^X\(\/\/\)$/{ s//\1/; q; }
36713 /^X\(\/\).*/{ s//\1/; q; }
36714 s/.*/./; q'`
36715 done
36716 test ! -n "$as_dirs" || mkdir $as_dirs
36717 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36718 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36719 { (exit 1); exit 1; }; }; }
36720
36721 rm -f $ac_file
36722 mv $tmp/config.h $ac_file
36723 fi
36724 else
36725 cat $tmp/config.h
36726 rm -f $tmp/config.h
36727 fi
36728 done
36729 _ACEOF
36730 cat >>$CONFIG_STATUS <<\_ACEOF
36731
36732 #
36733 # CONFIG_COMMANDS section.
36734 #
36735 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36736 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36737 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36738 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36739 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36740 X"$ac_dest" : 'X\(//\)[^/]' \| \
36741 X"$ac_dest" : 'X\(//\)$' \| \
36742 X"$ac_dest" : 'X\(/\)' \| \
36743 . : '\(.\)' 2>/dev/null ||
36744 echo X"$ac_dest" |
36745 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36746 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36747 /^X\(\/\/\)$/{ s//\1/; q; }
36748 /^X\(\/\).*/{ s//\1/; q; }
36749 s/.*/./; q'`
36750 ac_builddir=.
36751
36752 if test "$ac_dir" != .; then
36753 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36754 # A "../" for each directory in $ac_dir_suffix.
36755 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36756 else
36757 ac_dir_suffix= ac_top_builddir=
36758 fi
36759
36760 case $srcdir in
36761 .) # No --srcdir option. We are building in place.
36762 ac_srcdir=.
36763 if test -z "$ac_top_builddir"; then
36764 ac_top_srcdir=.
36765 else
36766 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36767 fi ;;
36768 [\\/]* | ?:[\\/]* ) # Absolute path.
36769 ac_srcdir=$srcdir$ac_dir_suffix;
36770 ac_top_srcdir=$srcdir ;;
36771 *) # Relative path.
36772 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36773 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36774 esac
36775 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36776 # absolute.
36777 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36778 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36779 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36780 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36781
36782
36783 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36784 echo "$as_me: executing $ac_dest commands" >&6;}
36785 case $ac_dest in
36786 default )
36787 if test ! -h wx-config; then
36788 chmod +x wx-config
36789 mv wx-config wx${TOOLCHAIN_NAME}-config
36790 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36791 fi
36792
36793 if test ! -d lib; then
36794 mkdir lib
36795 fi
36796 if test ! -d lib/wx; then
36797 mkdir lib/wx
36798 fi
36799 if test ! -d lib/wx/include; then
36800 mkdir lib/wx/include
36801 fi
36802 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36803 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36804 fi
36805 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36806 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36807 fi
36808 if test -f setup.h; then
36809 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36810 fi
36811 ;;
36812 esac
36813 done
36814 _ACEOF
36815
36816 cat >>$CONFIG_STATUS <<\_ACEOF
36817
36818 { (exit 0); exit 0; }
36819 _ACEOF
36820 chmod +x $CONFIG_STATUS
36821 ac_clean_files=$ac_clean_files_save
36822
36823
36824 # configure is writing to config.log, and then calls config.status.
36825 # config.status does its own redirection, appending to config.log.
36826 # Unfortunately, on DOS this fails, as config.log is still kept open
36827 # by configure, so config.status won't be able to write to it; its
36828 # output is simply discarded. So we exec the FD to /dev/null,
36829 # effectively closing config.log, so it can be properly (re)opened and
36830 # appended to by config.status. When coming back to configure, we
36831 # need to make the FD available again.
36832 if test "$no_create" != yes; then
36833 ac_cs_success=:
36834 ac_config_status_args=
36835 test "$silent" = yes &&
36836 ac_config_status_args="$ac_config_status_args --quiet"
36837 exec 5>/dev/null
36838 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36839 exec 5>>config.log
36840 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36841 # would make configure fail if this is the last instruction.
36842 $ac_cs_success || { (exit 1); exit 1; }
36843 fi
36844
36845 #
36846 # CONFIG_SUBDIRS section.
36847 #
36848 if test "$no_recursion" != yes; then
36849
36850 # Remove --cache-file and --srcdir arguments so they do not pile up.
36851 ac_sub_configure_args=
36852 ac_prev=
36853 for ac_arg in $ac_configure_args; do
36854 if test -n "$ac_prev"; then
36855 ac_prev=
36856 continue
36857 fi
36858 case $ac_arg in
36859 -cache-file | --cache-file | --cache-fil | --cache-fi \
36860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36861 ac_prev=cache_file ;;
36862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36864 | --c=*)
36865 ;;
36866 --config-cache | -C)
36867 ;;
36868 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36869 ac_prev=srcdir ;;
36870 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36871 ;;
36872 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36873 ac_prev=prefix ;;
36874 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36875 ;;
36876 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36877 esac
36878 done
36879
36880 # Always prepend --prefix to ensure using the same prefix
36881 # in subdir configurations.
36882 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36883
36884 ac_popdir=`pwd`
36885 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36886
36887 # Do not complain, so a configure script can configure whichever
36888 # parts of a large source tree are present.
36889 test -d $srcdir/$ac_dir || continue
36890
36891 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36892 echo "$as_me: configuring in $ac_dir" >&6;}
36893 { if $as_mkdir_p; then
36894 mkdir -p "$ac_dir"
36895 else
36896 as_dir="$ac_dir"
36897 as_dirs=
36898 while test ! -d "$as_dir"; do
36899 as_dirs="$as_dir $as_dirs"
36900 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36901 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36902 X"$as_dir" : 'X\(//\)[^/]' \| \
36903 X"$as_dir" : 'X\(//\)$' \| \
36904 X"$as_dir" : 'X\(/\)' \| \
36905 . : '\(.\)' 2>/dev/null ||
36906 echo X"$as_dir" |
36907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36908 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36909 /^X\(\/\/\)$/{ s//\1/; q; }
36910 /^X\(\/\).*/{ s//\1/; q; }
36911 s/.*/./; q'`
36912 done
36913 test ! -n "$as_dirs" || mkdir $as_dirs
36914 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36915 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36916 { (exit 1); exit 1; }; }; }
36917
36918 ac_builddir=.
36919
36920 if test "$ac_dir" != .; then
36921 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36922 # A "../" for each directory in $ac_dir_suffix.
36923 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36924 else
36925 ac_dir_suffix= ac_top_builddir=
36926 fi
36927
36928 case $srcdir in
36929 .) # No --srcdir option. We are building in place.
36930 ac_srcdir=.
36931 if test -z "$ac_top_builddir"; then
36932 ac_top_srcdir=.
36933 else
36934 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36935 fi ;;
36936 [\\/]* | ?:[\\/]* ) # Absolute path.
36937 ac_srcdir=$srcdir$ac_dir_suffix;
36938 ac_top_srcdir=$srcdir ;;
36939 *) # Relative path.
36940 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36941 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36942 esac
36943 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36944 # absolute.
36945 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36946 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36947 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36948 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36949
36950
36951 cd $ac_dir
36952
36953 # Check for guested configure; otherwise get Cygnus style configure.
36954 if test -f $ac_srcdir/configure.gnu; then
36955 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
36956 elif test -f $ac_srcdir/configure; then
36957 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
36958 elif test -f $ac_srcdir/configure.in; then
36959 ac_sub_configure=$ac_configure
36960 else
36961 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
36962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
36963 ac_sub_configure=
36964 fi
36965
36966 # The recursion is here.
36967 if test -n "$ac_sub_configure"; then
36968 # Make the cache file name correct relative to the subdirectory.
36969 case $cache_file in
36970 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
36971 *) # Relative path.
36972 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
36973 esac
36974
36975 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
36976 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
36977 # The eval makes quoting arguments work.
36978 eval $ac_sub_configure $ac_sub_configure_args \
36979 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
36980 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
36981 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
36982 { (exit 1); exit 1; }; }
36983 fi
36984
36985 cd $ac_popdir
36986 done
36987 fi
36988
36989
36990 echo
36991 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
36992 echo ""
36993 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
36994 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
36995
36996 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
36997 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
36998 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
36999
37000 echo " What level of wxWindows compatibility should be enabled?"
37001 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37002 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37003
37004 echo " Which libraries should wxWindows use?"
37005 echo " jpeg ${wxUSE_LIBJPEG-none}"
37006 echo " png ${wxUSE_LIBPNG-none}"
37007 echo " regex ${wxUSE_REGEX}"
37008 echo " tiff ${wxUSE_LIBTIFF-none}"
37009 echo " zlib ${wxUSE_ZLIB}"
37010 echo " odbc ${wxUSE_ODBC}"
37011 echo " expat ${wxUSE_EXPAT}"
37012
37013 echo ""
37014