]> git.saurik.com Git - wxWidgets.git/blob - configure
Oops. Check in the correct Makefile.in.
[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 PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE LIBPREFIX DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_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_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_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-listbook use wxListbook class
970 --enable-listbox use wxListBox class
971 --enable-listctrl use wxListCtrl class
972 --enable-notebook use wxNotebook class
973 --enable-radiobox use wxRadioBox class
974 --enable-radiobtn use wxRadioButton class
975 --enable-sash use wxSashWindow class
976 --enable-scrollbar use wxScrollBar class and scrollable windows
977 --enable-slider use wxSlider class
978 --enable-spinbtn use wxSpinButton class
979 --enable-spinctrl use wxSpinCtrl class
980 --enable-splitter use wxSplitterWindow class
981 --enable-statbmp use wxStaticBitmap class
982 --enable-statbox use wxStaticBox class
983 --enable-statline use wxStaticLine class
984 --enable-stattext use wxStaticText class
985 --enable-statusbar use wxStatusBar class
986 --enable-tabdialog use wxTabControl class
987 --enable-textctrl use wxTextCtrl class
988 --enable-togglebtn use wxToggleButton class
989 --enable-toolbar use wxToolBar class
990 --enable-tbarnative use native wxToolBar class
991 --enable-tbarsmpl use wxToolBarSimple class
992 --enable-treectrl use wxTreeCtrl class
993 --enable-tipwindow use wxTipWindow class
994 --enable-popupwin use wxPopUpWindow class
995 --enable-commondlg use all common dialogs
996 --enable-choicedlg use wxChoiceDialog
997 --enable-coldlg use wxColourDialog
998 --enable-filedlg use wxFileDialog
999 --enable-finddlg use wxFindReplaceDialog
1000 --enable-fontdlg use wxFontDialog
1001 --enable-dirdlg use wxDirDialog
1002 --enable-msgdlg use wxMessageDialog
1003 --enable-numberdlg use wxNumberEntryDialog
1004 --enable-splash use wxSplashScreen
1005 --enable-textdlg use wxTextDialog
1006 --enable-tipdlg use startup tips
1007 --enable-progressdlg use wxProgressDialog
1008 --enable-wizarddlg use wxWizard
1009 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1010 --enable-miniframe use wxMiniFrame class
1011 --enable-tooltips use wxToolTip class
1012 --enable-splines use spline drawing code
1013 --enable-validators use wxValidator and derived classes
1014 --enable-busyinfo use wxBusyInfo
1015 --enable-joystick use wxJoystick (Linux only)
1016 --enable-metafiles use wxMetaFile (Windows only)
1017 --enable-dragimage use wxDragImage
1018 --enable-accessibility enable accessibility support
1019 --enable-palette use wxPalette class
1020 --enable-image use wxImage class
1021 --enable-gif use gif images (GIF file format)
1022 --enable-pcx use pcx images (PCX file format)
1023 --enable-iff use iff images (IFF file format)
1024 --enable-pnm use pnm images (PNM file format)
1025 --enable-xpm use xpm images (XPM file format)
1026 --enable-icocur use Windows ICO and CUR formats
1027 --enable-official_build official build of wxWindows (win32 DLL only)
1028 --enable-vendor=VENDOR vendor name (win32 DLL only)
1029 --disable-largefile omit support for large files
1030 --disable-gtktest do not try to compile and run a test GTK+ program
1031 --disable-gtktest Do not try to compile and run a test GTK program
1032 --disable-precomp-headers don't use precompiled headers even if compiler can
1033
1034 Optional Packages:
1035 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1036 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1037 --with-gtk use GTK+
1038 --with-motif use Motif/Lesstif
1039 --with-mac use Mac OS X
1040 --with-cocoa use Cocoa
1041 --with-wine use Wine
1042 --with-msw use MS-Windows
1043 --with-pm use OS/2 Presentation Manager
1044 --with-mgl use SciTech MGL
1045 --with-microwin use MicroWindows
1046 --with-x11 use X11
1047 --with-libpng use libpng (PNG image format)
1048 --with-libjpeg use libjpeg (JPEG file format)
1049 --with-libtiff use libtiff (TIFF file format)
1050 --with-opengl use OpenGL (or Mesa)
1051 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1052 --with-regex enable support for wxRegEx class
1053 --with-zlib use zlib for LZW compression
1054 --with-odbc use the IODBC and wxODBC classes
1055 --with-expat enable XML support using expat parser
1056 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1057 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1058 --with-x use the X Window System
1059 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1060
1061 Some influential environment variables:
1062 CC C compiler command
1063 CFLAGS C compiler flags
1064 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1065 nonstandard directory <lib dir>
1066 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1067 headers in a nonstandard directory <include dir>
1068 CPP C preprocessor
1069 CXX C++ compiler command
1070 CXXFLAGS C++ compiler flags
1071 CXXCPP C++ preprocessor
1072
1073 Use these variables to override the choices made by `configure' or to help
1074 it to find libraries and programs with nonstandard names/locations.
1075
1076 Report bugs to <wx-dev@lists.wxwindows.org>.
1077 _ACEOF
1078 fi
1079
1080 if test "$ac_init_help" = "recursive"; then
1081 # If there are subdirs, report their specific --help.
1082 ac_popdir=`pwd`
1083 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1084 test -d $ac_dir || continue
1085 ac_builddir=.
1086
1087 if test "$ac_dir" != .; then
1088 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1089 # A "../" for each directory in $ac_dir_suffix.
1090 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091 else
1092 ac_dir_suffix= ac_top_builddir=
1093 fi
1094
1095 case $srcdir in
1096 .) # No --srcdir option. We are building in place.
1097 ac_srcdir=.
1098 if test -z "$ac_top_builddir"; then
1099 ac_top_srcdir=.
1100 else
1101 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102 fi ;;
1103 [\\/]* | ?:[\\/]* ) # Absolute path.
1104 ac_srcdir=$srcdir$ac_dir_suffix;
1105 ac_top_srcdir=$srcdir ;;
1106 *) # Relative path.
1107 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1108 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1109 esac
1110 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1111 # absolute.
1112 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1113 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1114 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1115 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1116
1117 cd $ac_dir
1118 # Check for guested configure; otherwise get Cygnus style configure.
1119 if test -f $ac_srcdir/configure.gnu; then
1120 echo
1121 $SHELL $ac_srcdir/configure.gnu --help=recursive
1122 elif test -f $ac_srcdir/configure; then
1123 echo
1124 $SHELL $ac_srcdir/configure --help=recursive
1125 elif test -f $ac_srcdir/configure.ac ||
1126 test -f $ac_srcdir/configure.in; then
1127 echo
1128 $ac_configure --help
1129 else
1130 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 fi
1132 cd $ac_popdir
1133 done
1134 fi
1135
1136 test -n "$ac_init_help" && exit 0
1137 if $ac_init_version; then
1138 cat <<\_ACEOF
1139 wxWindows configure 2.5.0
1140 generated by GNU Autoconf 2.57
1141
1142 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1143 Free Software Foundation, Inc.
1144 This configure script is free software; the Free Software Foundation
1145 gives unlimited permission to copy, distribute and modify it.
1146 _ACEOF
1147 exit 0
1148 fi
1149 exec 5>config.log
1150 cat >&5 <<_ACEOF
1151 This file contains any messages produced by compilers while
1152 running configure, to aid debugging if configure makes a mistake.
1153
1154 It was created by wxWindows $as_me 2.5.0, which was
1155 generated by GNU Autoconf 2.57. Invocation command line was
1156
1157 $ $0 $@
1158
1159 _ACEOF
1160 {
1161 cat <<_ASUNAME
1162 ## --------- ##
1163 ## Platform. ##
1164 ## --------- ##
1165
1166 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1167 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1168 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1169 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1170 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1171
1172 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1173 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1174
1175 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1176 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1177 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1178 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1179 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1180 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1181 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182
1183 _ASUNAME
1184
1185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 for as_dir in $PATH
1187 do
1188 IFS=$as_save_IFS
1189 test -z "$as_dir" && as_dir=.
1190 echo "PATH: $as_dir"
1191 done
1192
1193 } >&5
1194
1195 cat >&5 <<_ACEOF
1196
1197
1198 ## ----------- ##
1199 ## Core tests. ##
1200 ## ----------- ##
1201
1202 _ACEOF
1203
1204
1205 # Keep a trace of the command line.
1206 # Strip out --no-create and --no-recursion so they do not pile up.
1207 # Strip out --silent because we don't want to record it for future runs.
1208 # Also quote any args containing shell meta-characters.
1209 # Make two passes to allow for proper duplicate-argument suppression.
1210 ac_configure_args=
1211 ac_configure_args0=
1212 ac_configure_args1=
1213 ac_sep=
1214 ac_must_keep_next=false
1215 for ac_pass in 1 2
1216 do
1217 for ac_arg
1218 do
1219 case $ac_arg in
1220 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1221 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1222 | -silent | --silent | --silen | --sile | --sil)
1223 continue ;;
1224 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1225 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1226 esac
1227 case $ac_pass in
1228 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1229 2)
1230 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1231 if test $ac_must_keep_next = true; then
1232 ac_must_keep_next=false # Got value, back to normal.
1233 else
1234 case $ac_arg in
1235 *=* | --config-cache | -C | -disable-* | --disable-* \
1236 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1237 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1238 | -with-* | --with-* | -without-* | --without-* | --x)
1239 case "$ac_configure_args0 " in
1240 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1241 esac
1242 ;;
1243 -* ) ac_must_keep_next=true ;;
1244 esac
1245 fi
1246 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1247 # Get rid of the leading space.
1248 ac_sep=" "
1249 ;;
1250 esac
1251 done
1252 done
1253 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1254 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1255
1256 # When interrupted or exit'd, cleanup temporary files, and complete
1257 # config.log. We remove comments because anyway the quotes in there
1258 # would cause problems or look ugly.
1259 # WARNING: Be sure not to use single quotes in there, as some shells,
1260 # such as our DU 5.0 friend, will then `close' the trap.
1261 trap 'exit_status=$?
1262 # Save into config.log some information that might help in debugging.
1263 {
1264 echo
1265
1266 cat <<\_ASBOX
1267 ## ---------------- ##
1268 ## Cache variables. ##
1269 ## ---------------- ##
1270 _ASBOX
1271 echo
1272 # The following way of writing the cache mishandles newlines in values,
1273 {
1274 (set) 2>&1 |
1275 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1276 *ac_space=\ *)
1277 sed -n \
1278 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 ;;
1281 *)
1282 sed -n \
1283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1284 ;;
1285 esac;
1286 }
1287 echo
1288
1289 cat <<\_ASBOX
1290 ## ----------------- ##
1291 ## Output variables. ##
1292 ## ----------------- ##
1293 _ASBOX
1294 echo
1295 for ac_var in $ac_subst_vars
1296 do
1297 eval ac_val=$`echo $ac_var`
1298 echo "$ac_var='"'"'$ac_val'"'"'"
1299 done | sort
1300 echo
1301
1302 if test -n "$ac_subst_files"; then
1303 cat <<\_ASBOX
1304 ## ------------- ##
1305 ## Output files. ##
1306 ## ------------- ##
1307 _ASBOX
1308 echo
1309 for ac_var in $ac_subst_files
1310 do
1311 eval ac_val=$`echo $ac_var`
1312 echo "$ac_var='"'"'$ac_val'"'"'"
1313 done | sort
1314 echo
1315 fi
1316
1317 if test -s confdefs.h; then
1318 cat <<\_ASBOX
1319 ## ----------- ##
1320 ## confdefs.h. ##
1321 ## ----------- ##
1322 _ASBOX
1323 echo
1324 sed "/^$/d" confdefs.h | sort
1325 echo
1326 fi
1327 test "$ac_signal" != 0 &&
1328 echo "$as_me: caught signal $ac_signal"
1329 echo "$as_me: exit $exit_status"
1330 } >&5
1331 rm -f core core.* *.core &&
1332 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1333 exit $exit_status
1334 ' 0
1335 for ac_signal in 1 2 13 15; do
1336 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 done
1338 ac_signal=0
1339
1340 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1341 rm -rf conftest* confdefs.h
1342 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1343 echo >confdefs.h
1344
1345 # Predefined preprocessor variables.
1346
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 _ACEOF
1350
1351
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 _ACEOF
1355
1356
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 _ACEOF
1360
1361
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 _ACEOF
1365
1366
1367 cat >>confdefs.h <<_ACEOF
1368 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 _ACEOF
1370
1371
1372 # Let the site file select an alternate cache file if it wants to.
1373 # Prefer explicitly selected file to automatically selected ones.
1374 if test -z "$CONFIG_SITE"; then
1375 if test "x$prefix" != xNONE; then
1376 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1377 else
1378 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1379 fi
1380 fi
1381 for ac_site_file in $CONFIG_SITE; do
1382 if test -r "$ac_site_file"; then
1383 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1384 echo "$as_me: loading site script $ac_site_file" >&6;}
1385 sed 's/^/| /' "$ac_site_file" >&5
1386 . "$ac_site_file"
1387 fi
1388 done
1389
1390 if test -r "$cache_file"; then
1391 # Some versions of bash will fail to source /dev/null (special
1392 # files actually), so we avoid doing that.
1393 if test -f "$cache_file"; then
1394 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1395 echo "$as_me: loading cache $cache_file" >&6;}
1396 case $cache_file in
1397 [\\/]* | ?:[\\/]* ) . $cache_file;;
1398 *) . ./$cache_file;;
1399 esac
1400 fi
1401 else
1402 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1403 echo "$as_me: creating cache $cache_file" >&6;}
1404 >$cache_file
1405 fi
1406
1407 # Check that the precious variables saved in the cache have kept the same
1408 # value.
1409 ac_cache_corrupted=false
1410 for ac_var in `(set) 2>&1 |
1411 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1412 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1413 eval ac_new_set=\$ac_env_${ac_var}_set
1414 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1415 eval ac_new_val="\$ac_env_${ac_var}_value"
1416 case $ac_old_set,$ac_new_set in
1417 set,)
1418 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1419 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1420 ac_cache_corrupted=: ;;
1421 ,set)
1422 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1423 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1424 ac_cache_corrupted=: ;;
1425 ,);;
1426 *)
1427 if test "x$ac_old_val" != "x$ac_new_val"; then
1428 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1430 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1431 echo "$as_me: former value: $ac_old_val" >&2;}
1432 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1433 echo "$as_me: current value: $ac_new_val" >&2;}
1434 ac_cache_corrupted=:
1435 fi;;
1436 esac
1437 # Pass precious variables to config.status.
1438 if test "$ac_new_set" = set; then
1439 case $ac_new_val in
1440 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1441 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1442 *) ac_arg=$ac_var=$ac_new_val ;;
1443 esac
1444 case " $ac_configure_args " in
1445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1446 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 esac
1448 fi
1449 done
1450 if $ac_cache_corrupted; then
1451 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1452 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1453 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1454 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1455 { (exit 1); exit 1; }; }
1456 fi
1457
1458 ac_ext=c
1459 ac_cpp='$CPP $CPPFLAGS'
1460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1493 ac_aux_dir=
1494 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1495 if test -f $ac_dir/install-sh; then
1496 ac_aux_dir=$ac_dir
1497 ac_install_sh="$ac_aux_dir/install-sh -c"
1498 break
1499 elif test -f $ac_dir/install.sh; then
1500 ac_aux_dir=$ac_dir
1501 ac_install_sh="$ac_aux_dir/install.sh -c"
1502 break
1503 elif test -f $ac_dir/shtool; then
1504 ac_aux_dir=$ac_dir
1505 ac_install_sh="$ac_aux_dir/shtool install -c"
1506 break
1507 fi
1508 done
1509 if test -z "$ac_aux_dir"; then
1510 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1511 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1512 { (exit 1); exit 1; }; }
1513 fi
1514 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1515 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1516 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1517
1518 # Make sure we can run config.sub.
1519 $ac_config_sub sun4 >/dev/null 2>&1 ||
1520 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1521 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524 echo "$as_me:$LINENO: checking build system type" >&5
1525 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1526 if test "${ac_cv_build+set}" = set; then
1527 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 else
1529 ac_cv_build_alias=$build_alias
1530 test -z "$ac_cv_build_alias" &&
1531 ac_cv_build_alias=`$ac_config_guess`
1532 test -z "$ac_cv_build_alias" &&
1533 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1534 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1535 { (exit 1); exit 1; }; }
1536 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1537 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1538 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1539 { (exit 1); exit 1; }; }
1540
1541 fi
1542 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1543 echo "${ECHO_T}$ac_cv_build" >&6
1544 build=$ac_cv_build
1545 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1546 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1547 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1548
1549
1550 echo "$as_me:$LINENO: checking host system type" >&5
1551 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1552 if test "${ac_cv_host+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 else
1555 ac_cv_host_alias=$host_alias
1556 test -z "$ac_cv_host_alias" &&
1557 ac_cv_host_alias=$ac_cv_build_alias
1558 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1559 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1560 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1561 { (exit 1); exit 1; }; }
1562
1563 fi
1564 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1565 echo "${ECHO_T}$ac_cv_host" >&6
1566 host=$ac_cv_host
1567 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1568 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1569 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1570
1571
1572 echo "$as_me:$LINENO: checking target system type" >&5
1573 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1574 if test "${ac_cv_target+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1576 else
1577 ac_cv_target_alias=$target_alias
1578 test "x$ac_cv_target_alias" = "x" &&
1579 ac_cv_target_alias=$ac_cv_host_alias
1580 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1581 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1582 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1583 { (exit 1); exit 1; }; }
1584
1585 fi
1586 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1587 echo "${ECHO_T}$ac_cv_target" >&6
1588 target=$ac_cv_target
1589 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1590 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1591 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1592
1593
1594 # The aliases save the names the user supplied, while $host etc.
1595 # will get canonicalized.
1596 test -n "$target_alias" &&
1597 test "$program_prefix$program_suffix$program_transform_name" = \
1598 NONENONEs,x,x, &&
1599 program_prefix=${target_alias}-
1600
1601
1602
1603 WX_MAJOR_VERSION_NUMBER=2
1604 WX_MINOR_VERSION_NUMBER=5
1605 WX_RELEASE_NUMBER=0
1606
1607 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1608 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1609
1610 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1611
1612 WX_CURRENT=0
1613 WX_REVISION=0
1614 WX_AGE=0
1615
1616
1617
1618 USE_UNIX=1
1619 USE_WIN32=0
1620 USE_DOS=0
1621 USE_BEOS=0
1622 USE_MAC=0
1623
1624 USE_AIX=
1625 USE_BSD= USE_DARWIN= USE_FREEBSD=
1626 USE_GNU= USE_HPUX=
1627 USE_LINUX=
1628 USE_NETBSD=
1629 USE_OPENBSD=
1630 USE_OSF= USE_SGI=
1631 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1632 USE_ULTRIX=
1633 USE_UNIXWARE=
1634
1635 USE_ALPHA=
1636
1637 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1638
1639 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1640
1641 DEFAULT_wxUSE_COCOA=0
1642 DEFAULT_wxUSE_GTK=0
1643 DEFAULT_wxUSE_MAC=0
1644 DEFAULT_wxUSE_MGL=0
1645 DEFAULT_wxUSE_MICROWIN=0
1646 DEFAULT_wxUSE_MOTIF=0
1647 DEFAULT_wxUSE_MSW=0
1648 DEFAULT_wxUSE_PM=0
1649 DEFAULT_wxUSE_X11=0
1650
1651 DEFAULT_DEFAULT_wxUSE_COCOA=0
1652 DEFAULT_DEFAULT_wxUSE_GTK=0
1653 DEFAULT_DEFAULT_wxUSE_MAC=0
1654 DEFAULT_DEFAULT_wxUSE_MGL=0
1655 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1656 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1657 DEFAULT_DEFAULT_wxUSE_MSW=0
1658 DEFAULT_DEFAULT_wxUSE_PM=0
1659 DEFAULT_DEFAULT_wxUSE_X11=0
1660
1661 PROGRAM_EXT=
1662 SO_SUFFIX=so
1663 SAMPLES_RPATH_FLAG=
1664 SAMPLES_RPATH_POSTLINK=
1665
1666 case "${host}" in
1667 *-hp-hpux* )
1668 USE_HPUX=1
1669 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1670 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1671 SO_SUFFIX=sl
1672 cat >>confdefs.h <<\_ACEOF
1673 #define __HPUX__ 1
1674 _ACEOF
1675
1676 ;;
1677 *-*-linux* )
1678 USE_LINUX=1
1679 cat >>confdefs.h <<\_ACEOF
1680 #define __LINUX__ 1
1681 _ACEOF
1682
1683 TMP=`uname -m`
1684 if test "x$TMP" = "xalpha"; then
1685 USE_ALPHA=1
1686 cat >>confdefs.h <<\_ACEOF
1687 #define __ALPHA__ 1
1688 _ACEOF
1689
1690 fi
1691 DEFAULT_DEFAULT_wxUSE_GTK=1
1692 ;;
1693 *-*-gnu* )
1694 USE_GNU=1
1695 cat >>confdefs.h <<\_ACEOF
1696 #define __GNU__ 1
1697 _ACEOF
1698
1699 TMP=`uname -m`
1700 if test "x$TMP" = "xalpha"; then
1701 USE_ALPHA=1
1702 cat >>confdefs.h <<\_ACEOF
1703 #define __ALPHA__ 1
1704 _ACEOF
1705
1706 fi
1707 DEFAULT_DEFAULT_wxUSE_GTK=1
1708 ;;
1709 *-*-irix5* | *-*-irix6* )
1710 USE_SGI=1
1711 USE_SVR4=1
1712 cat >>confdefs.h <<\_ACEOF
1713 #define __SGI__ 1
1714 _ACEOF
1715
1716 cat >>confdefs.h <<\_ACEOF
1717 #define __SVR4__ 1
1718 _ACEOF
1719
1720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1721 ;;
1722 *-*-solaris2* )
1723 USE_SUN=1
1724 USE_SOLARIS=1
1725 USE_SVR4=1
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __SUN__ 1
1728 _ACEOF
1729
1730 cat >>confdefs.h <<\_ACEOF
1731 #define __SOLARIS__ 1
1732 _ACEOF
1733
1734 cat >>confdefs.h <<\_ACEOF
1735 #define __SVR4__ 1
1736 _ACEOF
1737
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 ;;
1741 *-*-sunos4* )
1742 USE_SUN=1
1743 USE_SUNOS=1
1744 USE_BSD=1
1745 cat >>confdefs.h <<\_ACEOF
1746 #define __SUN__ 1
1747 _ACEOF
1748
1749 cat >>confdefs.h <<\_ACEOF
1750 #define __SUNOS__ 1
1751 _ACEOF
1752
1753 cat >>confdefs.h <<\_ACEOF
1754 #define __BSD__ 1
1755 _ACEOF
1756
1757 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1758 ;;
1759 *-*-freebsd*)
1760 USE_BSD=1
1761 USE_FREEBSD=1
1762 cat >>confdefs.h <<\_ACEOF
1763 #define __FREEBSD__ 1
1764 _ACEOF
1765
1766 cat >>confdefs.h <<\_ACEOF
1767 #define __BSD__ 1
1768 _ACEOF
1769
1770 DEFAULT_DEFAULT_wxUSE_GTK=1
1771 ;;
1772 *-*-openbsd*)
1773 USE_BSD=1
1774 USE_OPENBSD=1
1775 cat >>confdefs.h <<\_ACEOF
1776 #define __OPENBSD__ 1
1777 _ACEOF
1778
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __BSD__ 1
1781 _ACEOF
1782
1783 DEFAULT_DEFAULT_wxUSE_GTK=1
1784 ;;
1785 *-*-netbsd*)
1786 USE_BSD=1
1787 USE_NETBSD=1
1788 cat >>confdefs.h <<\_ACEOF
1789 #define __NETBSD__ 1
1790 _ACEOF
1791
1792 cat >>confdefs.h <<\_ACEOF
1793 #define __BSD__ 1
1794 _ACEOF
1795
1796 DEFAULT_DEFAULT_wxUSE_GTK=1
1797 ;;
1798 *-*-osf* )
1799 USE_ALPHA=1
1800 USE_OSF=1
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __ALPHA__ 1
1803 _ACEOF
1804
1805 cat >>confdefs.h <<\_ACEOF
1806 #define __OSF__ 1
1807 _ACEOF
1808
1809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1810 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1811 ;;
1812 *-*-dgux5* )
1813 USE_ALPHA=1
1814 USE_SVR4=1
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __ALPHA__ 1
1817 _ACEOF
1818
1819 cat >>confdefs.h <<\_ACEOF
1820 #define __SVR4__ 1
1821 _ACEOF
1822
1823 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1824 ;;
1825 *-*-sysv5* )
1826 USE_SYSV=1
1827 USE_SVR4=1
1828 cat >>confdefs.h <<\_ACEOF
1829 #define __SYSV__ 1
1830 _ACEOF
1831
1832 cat >>confdefs.h <<\_ACEOF
1833 #define __SVR4__ 1
1834 _ACEOF
1835
1836 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1837 ;;
1838 *-*-aix* )
1839 USE_AIX=1
1840 USE_SYSV=1
1841 USE_SVR4=1
1842 SO_SUFFIX=a
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __AIX__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __SYSV__ 1
1849 _ACEOF
1850
1851 cat >>confdefs.h <<\_ACEOF
1852 #define __SVR4__ 1
1853 _ACEOF
1854
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1856 ;;
1857
1858 *-*-*UnixWare*)
1859 USE_SYSV=1
1860 USE_SVR4=1
1861 USE_UNIXWARE=1
1862 cat >>confdefs.h <<\_ACEOF
1863 #define __UNIXWARE__ 1
1864 _ACEOF
1865
1866 ;;
1867
1868 *-*-cygwin* | *-*-mingw32* )
1869 SO_SUFFIX=dll
1870 PROGRAM_EXT=".exe"
1871 RESCOMP=windres
1872 DEFAULT_DEFAULT_wxUSE_MSW=1
1873 ;;
1874
1875 *-pc-msdosdjgpp )
1876 USE_UNIX=0
1877 USE_DOS=1
1878 cat >>confdefs.h <<\_ACEOF
1879 #define __DOS__ 1
1880 _ACEOF
1881
1882 PROGRAM_EXT=".exe"
1883 DEFAULT_DEFAULT_wxUSE_MGL=1
1884 LIBS="$LIBS -lstdc++"
1885 ;;
1886
1887 *-pc-os2_emx | *-pc-os2-emx )
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __EMX__ 1
1890 _ACEOF
1891
1892 PROGRAM_EXT=".exe"
1893 DEFAULT_DEFAULT_wxUSE_PM=1
1894 CXX=gcc
1895 LIBS="$LIBS -lstdcpp"
1896 ac_executable_extensions=".exe"
1897 export ac_executable_extensions
1898 ac_save_IFS="$IFS"
1899 IFS="\\"
1900 ac_TEMP_PATH=
1901 for ac_dir in $PATH; do
1902 IFS=$ac_save_IFS
1903 if test -z "$ac_TEMP_PATH"; then
1904 ac_TEMP_PATH="$ac_dir"
1905 else
1906 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1907 fi
1908 done
1909 export PATH="$ac_TEMP_PATH"
1910 unset ac_TEMP_PATH
1911 ;;
1912
1913 powerpc-*-darwin* )
1914 USE_BSD=1
1915 USE_DARWIN=1
1916 SO_SUFFIX=dylib
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __BSD__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __DARWIN__ 1
1923 _ACEOF
1924
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __POWERPC__ 1
1927 _ACEOF
1928
1929 cat >>confdefs.h <<\_ACEOF
1930 #define TARGET_CARBON 1
1931 _ACEOF
1932
1933 DEFAULT_DEFAULT_wxUSE_MAC=1
1934 ;;
1935
1936 *-*-beos* )
1937 USE_BEOS=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __BEOS__ 1
1940 _ACEOF
1941
1942 ;;
1943
1944 *)
1945 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1946 echo "$as_me: error: unknown system type ${host}." >&2;}
1947 { (exit 1); exit 1; }; }
1948 esac
1949
1950
1951
1952
1953 wx_arg_cache_file="configarg.cache"
1954 echo "loading argument cache $wx_arg_cache_file"
1955 rm -f ${wx_arg_cache_file}.tmp
1956 touch ${wx_arg_cache_file}.tmp
1957 touch ${wx_arg_cache_file}
1958
1959
1960 DEBUG_CONFIGURE=0
1961 if test $DEBUG_CONFIGURE = 1; then
1962 DEFAULT_wxUSE_UNIVERSAL=no
1963 DEFAULT_wxUSE_STL=no
1964
1965 DEFAULT_wxUSE_NANOX=no
1966
1967 DEFAULT_wxUSE_THREADS=yes
1968
1969 DEFAULT_wxUSE_SHARED=yes
1970 DEFAULT_wxUSE_OPTIMISE=no
1971 DEFAULT_wxUSE_PROFILE=no
1972 DEFAULT_wxUSE_NO_DEPS=no
1973 DEFAULT_wxUSE_NO_RTTI=no
1974 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1975 DEFAULT_wxUSE_PERMISSIVE=no
1976 DEFAULT_wxUSE_DEBUG_FLAG=yes
1977 DEFAULT_wxUSE_DEBUG_INFO=yes
1978 DEFAULT_wxUSE_DEBUG_GDB=yes
1979 DEFAULT_wxUSE_MEM_TRACING=no
1980 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1981 DEFAULT_wxUSE_DMALLOC=no
1982 DEFAULT_wxUSE_APPLE_IEEE=no
1983
1984 DEFAULT_wxUSE_LOG=yes
1985 DEFAULT_wxUSE_LOGWINDOW=no
1986 DEFAULT_wxUSE_LOGGUI=no
1987 DEFAULT_wxUSE_LOGDIALOG=no
1988
1989 DEFAULT_wxUSE_GUI=yes
1990 DEFAULT_wxUSE_CONTROLS=no
1991
1992 DEFAULT_wxUSE_REGEX=no
1993 DEFAULT_wxUSE_XML=no
1994 DEFAULT_wxUSE_EXPAT=no
1995 DEFAULT_wxUSE_ZLIB=no
1996 DEFAULT_wxUSE_LIBPNG=no
1997 DEFAULT_wxUSE_LIBJPEG=no
1998 DEFAULT_wxUSE_LIBTIFF=no
1999 DEFAULT_wxUSE_ODBC=no
2000 DEFAULT_wxUSE_OPENGL=no
2001
2002 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2003 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2004 DEFAULT_wxUSE_STD_IOSTREAM=no
2005 DEFAULT_wxUSE_CMDLINE_PARSER=no
2006 DEFAULT_wxUSE_DATETIME=no
2007 DEFAULT_wxUSE_TIMER=no
2008 DEFAULT_wxUSE_STOPWATCH=no
2009 DEFAULT_wxUSE_FILE=no
2010 DEFAULT_wxUSE_FFILE=no
2011 DEFAULT_wxUSE_TEXTBUFFER=no
2012 DEFAULT_wxUSE_TEXTFILE=no
2013 DEFAULT_wxUSE_WAVE=no
2014 DEFAULT_wxUSE_INTL=no
2015 DEFAULT_wxUSE_CONFIG=no
2016 DEFAULT_wxUSE_FONTMAP=no
2017 DEFAULT_wxUSE_STREAMS=no
2018 DEFAULT_wxUSE_SOCKETS=no
2019 DEFAULT_wxUSE_OLE=no
2020 DEFAULT_wxUSE_DATAOBJ=no
2021 DEFAULT_wxUSE_DIALUP_MANAGER=no
2022 DEFAULT_wxUSE_JOYSTICK=no
2023 DEFAULT_wxUSE_DYNLIB_CLASS=no
2024 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2025 DEFAULT_wxUSE_LONGLONG=no
2026 DEFAULT_wxUSE_GEOMETRY=no
2027
2028 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2029 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2030 DEFAULT_wxUSE_POSTSCRIPT=no
2031
2032 DEFAULT_wxUSE_CLIPBOARD=no
2033 DEFAULT_wxUSE_TOOLTIPS=no
2034 DEFAULT_wxUSE_DRAG_AND_DROP=no
2035 DEFAULT_wxUSE_DRAGIMAGE=no
2036 DEFAULT_wxUSE_SPLINES=no
2037
2038 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2039 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2040 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2041
2042 DEFAULT_wxUSE_RESOURCES=no
2043 DEFAULT_wxUSE_CONSTRAINTS=no
2044 DEFAULT_wxUSE_IPC=no
2045 DEFAULT_wxUSE_HELP=no
2046 DEFAULT_wxUSE_MS_HTML_HELP=no
2047 DEFAULT_wxUSE_WXHTML_HELP=no
2048 DEFAULT_wxUSE_TREELAYOUT=no
2049 DEFAULT_wxUSE_METAFILE=no
2050 DEFAULT_wxUSE_MIMETYPE=no
2051 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2052 DEFAULT_wxUSE_PROTOCOL=no
2053 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2054 DEFAULT_wxUSE_PROTOCOL_FTP=no
2055 DEFAULT_wxUSE_PROTOCOL_FILE=no
2056 DEFAULT_wxUSE_URL=no
2057
2058 DEFAULT_wxUSE_COMMONDLGS=no
2059 DEFAULT_wxUSE_CHOICEDLG=no
2060 DEFAULT_wxUSE_COLOURDLG=no
2061 DEFAULT_wxUSE_DIRDLG=no
2062 DEFAULT_wxUSE_FILEDLG=no
2063 DEFAULT_wxUSE_FINDREPLDLG=no
2064 DEFAULT_wxUSE_FONTDLG=no
2065 DEFAULT_wxUSE_MSGDLG=no
2066 DEFAULT_wxUSE_NUMBERDLG=no
2067 DEFAULT_wxUSE_TEXTDLG=no
2068 DEFAULT_wxUSE_SPLASH=no
2069 DEFAULT_wxUSE_STARTUP_TIPS=no
2070 DEFAULT_wxUSE_PROGRESSDLG=no
2071 DEFAULT_wxUSE_WIZARDDLG=no
2072
2073 DEFAULT_wxUSE_MENUS=no
2074 DEFAULT_wxUSE_MINIFRAME=no
2075 DEFAULT_wxUSE_HTML=no
2076 DEFAULT_wxUSE_FILESYSTEM=no
2077 DEFAULT_wxUSE_FS_INET=no
2078 DEFAULT_wxUSE_FS_ZIP=no
2079 DEFAULT_wxUSE_BUSYINFO=no
2080 DEFAULT_wxUSE_ZIPSTREAM=no
2081 DEFAULT_wxUSE_VALIDATORS=no
2082
2083 DEFAULT_wxUSE_ACCEL=no
2084 DEFAULT_wxUSE_BUTTON=no
2085 DEFAULT_wxUSE_BMPBUTTON=no
2086 DEFAULT_wxUSE_CALCTRL=no
2087 DEFAULT_wxUSE_CARET=no
2088 DEFAULT_wxUSE_CHECKBOX=no
2089 DEFAULT_wxUSE_CHECKLST=no
2090 DEFAULT_wxUSE_CHOICE=no
2091 DEFAULT_wxUSE_COMBOBOX=no
2092 DEFAULT_wxUSE_DISPLAY=no
2093 DEFAULT_wxUSE_GAUGE=no
2094 DEFAULT_wxUSE_GRID=no
2095 DEFAULT_wxUSE_IMAGLIST=no
2096 DEFAULT_wxUSE_LISTBOOK=no
2097 DEFAULT_wxUSE_LISTBOX=no
2098 DEFAULT_wxUSE_LISTCTRL=no
2099 DEFAULT_wxUSE_NOTEBOOK=no
2100 DEFAULT_wxUSE_RADIOBOX=no
2101 DEFAULT_wxUSE_RADIOBTN=no
2102 DEFAULT_wxUSE_SASH=no
2103 DEFAULT_wxUSE_SCROLLBAR=no
2104 DEFAULT_wxUSE_SLIDER=no
2105 DEFAULT_wxUSE_SPINBTN=no
2106 DEFAULT_wxUSE_SPINCTRL=no
2107 DEFAULT_wxUSE_SPLITTER=no
2108 DEFAULT_wxUSE_STATBMP=no
2109 DEFAULT_wxUSE_STATBOX=no
2110 DEFAULT_wxUSE_STATLINE=no
2111 DEFAULT_wxUSE_STATTEXT=no
2112 DEFAULT_wxUSE_STATUSBAR=yes
2113 DEFAULT_wxUSE_TABDIALOG=no
2114 DEFAULT_wxUSE_TEXTCTRL=no
2115 DEFAULT_wxUSE_TOGGLEBTN=no
2116 DEFAULT_wxUSE_TOOLBAR=no
2117 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2118 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2119 DEFAULT_wxUSE_TREECTRL=no
2120 DEFAULT_wxUSE_POPUPWIN=no
2121 DEFAULT_wxUSE_TIPWINDOW=no
2122
2123 DEFAULT_wxUSE_UNICODE=no
2124 DEFAULT_wxUSE_UNICODE_MSLU=no
2125 DEFAULT_wxUSE_WCSRTOMBS=no
2126
2127 DEFAULT_wxUSE_PALETTE=no
2128 DEFAULT_wxUSE_IMAGE=no
2129 DEFAULT_wxUSE_GIF=no
2130 DEFAULT_wxUSE_PCX=no
2131 DEFAULT_wxUSE_PNM=no
2132 DEFAULT_wxUSE_IFF=no
2133 DEFAULT_wxUSE_XPM=no
2134 DEFAULT_wxUSE_ICO_CUR=no
2135 DEFAULT_wxUSE_ACCESSIBILITY=no
2136
2137 DEFAULT_wxUSE_MONOLITHIC=no
2138 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2139 else
2140 DEFAULT_wxUSE_UNIVERSAL=no
2141 DEFAULT_wxUSE_STL=no
2142
2143 DEFAULT_wxUSE_NANOX=no
2144
2145 DEFAULT_wxUSE_THREADS=yes
2146
2147 DEFAULT_wxUSE_SHARED=yes
2148 DEFAULT_wxUSE_OPTIMISE=yes
2149 DEFAULT_wxUSE_PROFILE=no
2150 DEFAULT_wxUSE_NO_DEPS=no
2151 DEFAULT_wxUSE_NO_RTTI=no
2152 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2153 DEFAULT_wxUSE_PERMISSIVE=no
2154 DEFAULT_wxUSE_DEBUG_FLAG=no
2155 DEFAULT_wxUSE_DEBUG_INFO=no
2156 DEFAULT_wxUSE_DEBUG_GDB=no
2157 DEFAULT_wxUSE_MEM_TRACING=no
2158 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2159 DEFAULT_wxUSE_DMALLOC=no
2160 DEFAULT_wxUSE_APPLE_IEEE=yes
2161
2162 DEFAULT_wxUSE_LOG=yes
2163 DEFAULT_wxUSE_LOGWINDOW=yes
2164 DEFAULT_wxUSE_LOGGUI=yes
2165 DEFAULT_wxUSE_LOGDIALOG=yes
2166
2167 DEFAULT_wxUSE_GUI=yes
2168
2169 DEFAULT_wxUSE_REGEX=yes
2170 DEFAULT_wxUSE_XML=yes
2171 DEFAULT_wxUSE_EXPAT=yes
2172 DEFAULT_wxUSE_ZLIB=yes
2173 DEFAULT_wxUSE_LIBPNG=yes
2174 DEFAULT_wxUSE_LIBJPEG=yes
2175 DEFAULT_wxUSE_LIBTIFF=yes
2176 DEFAULT_wxUSE_ODBC=no
2177 DEFAULT_wxUSE_OPENGL=no
2178
2179 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2180 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2181 DEFAULT_wxUSE_STD_IOSTREAM=no
2182 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2183 DEFAULT_wxUSE_DATETIME=yes
2184 DEFAULT_wxUSE_TIMER=yes
2185 DEFAULT_wxUSE_STOPWATCH=yes
2186 DEFAULT_wxUSE_FILE=yes
2187 DEFAULT_wxUSE_FFILE=yes
2188 DEFAULT_wxUSE_TEXTBUFFER=yes
2189 DEFAULT_wxUSE_TEXTFILE=yes
2190 DEFAULT_wxUSE_WAVE=no
2191 DEFAULT_wxUSE_INTL=yes
2192 DEFAULT_wxUSE_CONFIG=yes
2193 DEFAULT_wxUSE_FONTMAP=yes
2194 DEFAULT_wxUSE_STREAMS=yes
2195 DEFAULT_wxUSE_SOCKETS=yes
2196 DEFAULT_wxUSE_OLE=yes
2197 DEFAULT_wxUSE_DATAOBJ=yes
2198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2199 DEFAULT_wxUSE_JOYSTICK=yes
2200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2202 DEFAULT_wxUSE_LONGLONG=yes
2203 DEFAULT_wxUSE_GEOMETRY=yes
2204
2205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2207 DEFAULT_wxUSE_POSTSCRIPT=yes
2208
2209 DEFAULT_wxUSE_CLIPBOARD=yes
2210 DEFAULT_wxUSE_TOOLTIPS=yes
2211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2212 DEFAULT_wxUSE_DRAGIMAGE=yes
2213 DEFAULT_wxUSE_SPLINES=yes
2214
2215 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2216 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2217 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2218
2219 DEFAULT_wxUSE_RESOURCES=no
2220 DEFAULT_wxUSE_CONSTRAINTS=yes
2221 DEFAULT_wxUSE_IPC=yes
2222 DEFAULT_wxUSE_HELP=yes
2223 DEFAULT_wxUSE_MS_HTML_HELP=yes
2224 DEFAULT_wxUSE_WXHTML_HELP=yes
2225 DEFAULT_wxUSE_TREELAYOUT=yes
2226 DEFAULT_wxUSE_METAFILE=yes
2227 DEFAULT_wxUSE_MIMETYPE=yes
2228 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2229 DEFAULT_wxUSE_PROTOCOL=yes
2230 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2231 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2232 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2233 DEFAULT_wxUSE_URL=yes
2234
2235 DEFAULT_wxUSE_COMMONDLGS=yes
2236 DEFAULT_wxUSE_CHOICEDLG=yes
2237 DEFAULT_wxUSE_COLOURDLG=yes
2238 DEFAULT_wxUSE_DIRDLG=yes
2239 DEFAULT_wxUSE_FILEDLG=yes
2240 DEFAULT_wxUSE_FINDREPLDLG=yes
2241 DEFAULT_wxUSE_FONTDLG=yes
2242 DEFAULT_wxUSE_MSGDLG=yes
2243 DEFAULT_wxUSE_NUMBERDLG=yes
2244 DEFAULT_wxUSE_TEXTDLG=yes
2245 DEFAULT_wxUSE_SPLASH=yes
2246 DEFAULT_wxUSE_STARTUP_TIPS=yes
2247 DEFAULT_wxUSE_PROGRESSDLG=yes
2248 DEFAULT_wxUSE_WIZARDDLG=yes
2249
2250 DEFAULT_wxUSE_MENUS=yes
2251 DEFAULT_wxUSE_MINIFRAME=yes
2252 DEFAULT_wxUSE_HTML=yes
2253 DEFAULT_wxUSE_FILESYSTEM=yes
2254 DEFAULT_wxUSE_FS_INET=yes
2255 DEFAULT_wxUSE_FS_ZIP=yes
2256 DEFAULT_wxUSE_BUSYINFO=yes
2257 DEFAULT_wxUSE_ZIPSTREAM=yes
2258 DEFAULT_wxUSE_VALIDATORS=yes
2259
2260 DEFAULT_wxUSE_ACCEL=yes
2261 DEFAULT_wxUSE_BUTTON=yes
2262 DEFAULT_wxUSE_BMPBUTTON=yes
2263 DEFAULT_wxUSE_CALCTRL=yes
2264 DEFAULT_wxUSE_CARET=yes
2265 DEFAULT_wxUSE_CHECKBOX=yes
2266 DEFAULT_wxUSE_CHECKLST=yes
2267 DEFAULT_wxUSE_CHOICE=yes
2268 DEFAULT_wxUSE_COMBOBOX=yes
2269 DEFAULT_wxUSE_DISPLAY=no
2270 DEFAULT_wxUSE_GAUGE=yes
2271 DEFAULT_wxUSE_GRID=yes
2272 DEFAULT_wxUSE_IMAGLIST=yes
2273 DEFAULT_wxUSE_LISTBOOK=yes
2274 DEFAULT_wxUSE_LISTBOX=yes
2275 DEFAULT_wxUSE_LISTCTRL=yes
2276 DEFAULT_wxUSE_NOTEBOOK=yes
2277 DEFAULT_wxUSE_RADIOBOX=yes
2278 DEFAULT_wxUSE_RADIOBTN=yes
2279 DEFAULT_wxUSE_SASH=yes
2280 DEFAULT_wxUSE_SCROLLBAR=yes
2281 DEFAULT_wxUSE_SLIDER=yes
2282 DEFAULT_wxUSE_SPINBTN=yes
2283 DEFAULT_wxUSE_SPINCTRL=yes
2284 DEFAULT_wxUSE_SPLITTER=yes
2285 DEFAULT_wxUSE_STATBMP=yes
2286 DEFAULT_wxUSE_STATBOX=yes
2287 DEFAULT_wxUSE_STATLINE=yes
2288 DEFAULT_wxUSE_STATTEXT=yes
2289 DEFAULT_wxUSE_STATUSBAR=yes
2290 DEFAULT_wxUSE_TABDIALOG=no
2291 DEFAULT_wxUSE_TEXTCTRL=yes
2292 DEFAULT_wxUSE_TOGGLEBTN=yes
2293 DEFAULT_wxUSE_TOOLBAR=yes
2294 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2295 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2296 DEFAULT_wxUSE_TREECTRL=yes
2297 DEFAULT_wxUSE_POPUPWIN=yes
2298 DEFAULT_wxUSE_TIPWINDOW=yes
2299
2300 DEFAULT_wxUSE_UNICODE=no
2301 DEFAULT_wxUSE_UNICODE_MSLU=yes
2302 DEFAULT_wxUSE_WCSRTOMBS=no
2303
2304 DEFAULT_wxUSE_PALETTE=yes
2305 DEFAULT_wxUSE_IMAGE=yes
2306 DEFAULT_wxUSE_GIF=yes
2307 DEFAULT_wxUSE_PCX=yes
2308 DEFAULT_wxUSE_IFF=no
2309 DEFAULT_wxUSE_PNM=yes
2310 DEFAULT_wxUSE_XPM=yes
2311 DEFAULT_wxUSE_ICO_CUR=yes
2312 DEFAULT_wxUSE_ACCESSIBILITY=no
2313
2314 DEFAULT_wxUSE_MONOLITHIC=no
2315 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2316 fi
2317
2318
2319
2320 for toolkit in `echo $ALL_TOOLKITS`; do
2321 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2322 if test "x$LINE" != "x" ; then
2323 has_toolkit_in_cache=1
2324 eval "DEFAULT_$LINE"
2325 eval "CACHE_$toolkit=1"
2326 fi
2327 done
2328
2329
2330
2331 enablestring=
2332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2333 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2334 no_cache=0
2335 # Check whether --enable-gui or --disable-gui was given.
2336 if test "${enable_gui+set}" = set; then
2337 enableval="$enable_gui"
2338
2339 if test "$enableval" = yes; then
2340 ac_cv_use_gui='wxUSE_GUI=yes'
2341 else
2342 ac_cv_use_gui='wxUSE_GUI=no'
2343 fi
2344
2345 else
2346
2347 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x ; then
2349 eval "DEFAULT_$LINE"
2350 else
2351 no_cache=1
2352 fi
2353
2354 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2355
2356 fi;
2357
2358 eval "$ac_cv_use_gui"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2361 fi
2362
2363 if test "$wxUSE_GUI" = yes; then
2364 echo "$as_me:$LINENO: result: yes" >&5
2365 echo "${ECHO_T}yes" >&6
2366 else
2367 echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6
2369 fi
2370
2371
2372 enablestring=
2373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2374 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2375 no_cache=0
2376 # Check whether --enable-monolithic or --disable-monolithic was given.
2377 if test "${enable_monolithic+set}" = set; then
2378 enableval="$enable_monolithic"
2379
2380 if test "$enableval" = yes; then
2381 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2382 else
2383 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2384 fi
2385
2386 else
2387
2388 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x ; then
2390 eval "DEFAULT_$LINE"
2391 else
2392 no_cache=1
2393 fi
2394
2395 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2396
2397 fi;
2398
2399 eval "$ac_cv_use_monolithic"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2402 fi
2403
2404 if test "$wxUSE_MONOLITHIC" = yes; then
2405 echo "$as_me:$LINENO: result: yes" >&5
2406 echo "${ECHO_T}yes" >&6
2407 else
2408 echo "$as_me:$LINENO: result: no" >&5
2409 echo "${ECHO_T}no" >&6
2410 fi
2411
2412
2413 if test "$wxUSE_GUI" = "yes"; then
2414
2415
2416 enablestring=
2417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2418 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2419 no_cache=0
2420 # Check whether --enable-universal or --disable-universal was given.
2421 if test "${enable_universal+set}" = set; then
2422 enableval="$enable_universal"
2423
2424 if test "$enableval" = yes; then
2425 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2426 else
2427 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2428 fi
2429
2430 else
2431
2432 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x ; then
2434 eval "DEFAULT_$LINE"
2435 else
2436 no_cache=1
2437 fi
2438
2439 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2440
2441 fi;
2442
2443 eval "$ac_cv_use_universal"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2446 fi
2447
2448 if test "$wxUSE_UNIVERSAL" = yes; then
2449 echo "$as_me:$LINENO: result: yes" >&5
2450 echo "${ECHO_T}yes" >&6
2451 else
2452 echo "$as_me:$LINENO: result: no" >&5
2453 echo "${ECHO_T}no" >&6
2454 fi
2455
2456
2457 # Check whether --with-gtk or --without-gtk was given.
2458 if test "${with_gtk+set}" = set; then
2459 withval="$with_gtk"
2460 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2461 fi;
2462
2463 # Check whether --with-motif or --without-motif was given.
2464 if test "${with_motif+set}" = set; then
2465 withval="$with_motif"
2466 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2467 fi;
2468
2469 # Check whether --with-mac or --without-mac was given.
2470 if test "${with_mac+set}" = set; then
2471 withval="$with_mac"
2472 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2473 fi;
2474
2475 # Check whether --with-cocoa or --without-cocoa was given.
2476 if test "${with_cocoa+set}" = set; then
2477 withval="$with_cocoa"
2478 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2479 fi;
2480
2481 # Check whether --with-wine or --without-wine was given.
2482 if test "${with_wine+set}" = set; then
2483 withval="$with_wine"
2484 wxUSE_WINE="$withval" CACHE_WINE=1
2485 fi;
2486
2487 # Check whether --with-msw or --without-msw was given.
2488 if test "${with_msw+set}" = set; then
2489 withval="$with_msw"
2490 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2491 fi;
2492
2493 # Check whether --with-pm or --without-pm was given.
2494 if test "${with_pm+set}" = set; then
2495 withval="$with_pm"
2496 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2497 fi;
2498
2499 # Check whether --with-mgl or --without-mgl was given.
2500 if test "${with_mgl+set}" = set; then
2501 withval="$with_mgl"
2502 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2503 fi;
2504
2505 # Check whether --with-microwin or --without-microwin was given.
2506 if test "${with_microwin+set}" = set; then
2507 withval="$with_microwin"
2508 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2509 fi;
2510
2511 # Check whether --with-x11 or --without-x11 was given.
2512 if test "${with_x11+set}" = set; then
2513 withval="$with_x11"
2514 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2515 fi;
2516
2517 enablestring=
2518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2520 no_cache=0
2521 # Check whether --enable-nanox or --disable-nanox was given.
2522 if test "${enable_nanox+set}" = set; then
2523 enableval="$enable_nanox"
2524
2525 if test "$enableval" = yes; then
2526 ac_cv_use_nanox='wxUSE_NANOX=yes'
2527 else
2528 ac_cv_use_nanox='wxUSE_NANOX=no'
2529 fi
2530
2531 else
2532
2533 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x ; then
2535 eval "DEFAULT_$LINE"
2536 else
2537 no_cache=1
2538 fi
2539
2540 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2541
2542 fi;
2543
2544 eval "$ac_cv_use_nanox"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2547 fi
2548
2549 if test "$wxUSE_NANOX" = yes; then
2550 echo "$as_me:$LINENO: result: yes" >&5
2551 echo "${ECHO_T}yes" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2555 fi
2556
2557
2558
2559 enablestring=
2560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2561 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2562 no_cache=0
2563 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2564 if test "${enable_gtk2+set}" = set; then
2565 enableval="$enable_gtk2"
2566
2567 if test "$enableval" = yes; then
2568 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2569 else
2570 ac_cv_use_gtk2='wxUSE_GTK2=no'
2571 fi
2572
2573 else
2574
2575 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2576 if test "x$LINE" != x ; then
2577 eval "DEFAULT_$LINE"
2578 else
2579 no_cache=1
2580 fi
2581
2582 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2583
2584 fi;
2585
2586 eval "$ac_cv_use_gtk2"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2589 fi
2590
2591 if test "$wxUSE_GTK2" = yes; then
2592 echo "$as_me:$LINENO: result: yes" >&5
2593 echo "${ECHO_T}yes" >&6
2594 else
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2597 fi
2598
2599
2600
2601 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2602 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2603 no_cache=0
2604
2605 # Check whether --with-libpng or --without-libpng was given.
2606 if test "${with_libpng+set}" = set; then
2607 withval="$with_libpng"
2608
2609 if test "$withval" = yes; then
2610 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2611 elif test "$withval" = no; then
2612 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2613 elif test "$withval" = sys; then
2614 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2615 elif test "$withval" = builtin; then
2616 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2617 else
2618 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2619 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2620 { (exit 1); exit 1; }; }
2621 fi
2622
2623 else
2624
2625 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x ; then
2627 eval "DEFAULT_$LINE"
2628 else
2629 no_cache=1
2630 fi
2631
2632 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2633
2634 fi;
2635
2636 eval "$ac_cv_use_libpng"
2637 if test "$no_cache" != 1; then
2638 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2639 fi
2640
2641 if test "$wxUSE_LIBPNG" = yes; then
2642 echo "$as_me:$LINENO: result: yes" >&5
2643 echo "${ECHO_T}yes" >&6
2644 elif test "$wxUSE_LIBPNG" = no; then
2645 echo "$as_me:$LINENO: result: no" >&5
2646 echo "${ECHO_T}no" >&6
2647 elif test "$wxUSE_LIBPNG" = sys; then
2648 echo "$as_me:$LINENO: result: system version" >&5
2649 echo "${ECHO_T}system version" >&6
2650 elif test "$wxUSE_LIBPNG" = builtin; then
2651 echo "$as_me:$LINENO: result: builtin version" >&5
2652 echo "${ECHO_T}builtin version" >&6
2653 else
2654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2655 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2656 { (exit 1); exit 1; }; }
2657 fi
2658
2659
2660 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2661 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2662 no_cache=0
2663
2664 # Check whether --with-libjpeg or --without-libjpeg was given.
2665 if test "${with_libjpeg+set}" = set; then
2666 withval="$with_libjpeg"
2667
2668 if test "$withval" = yes; then
2669 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2670 elif test "$withval" = no; then
2671 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2672 elif test "$withval" = sys; then
2673 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2674 elif test "$withval" = builtin; then
2675 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2676 else
2677 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2678 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2679 { (exit 1); exit 1; }; }
2680 fi
2681
2682 else
2683
2684 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x ; then
2686 eval "DEFAULT_$LINE"
2687 else
2688 no_cache=1
2689 fi
2690
2691 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2692
2693 fi;
2694
2695 eval "$ac_cv_use_libjpeg"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2698 fi
2699
2700 if test "$wxUSE_LIBJPEG" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2703 elif test "$wxUSE_LIBJPEG" = no; then
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2706 elif test "$wxUSE_LIBJPEG" = sys; then
2707 echo "$as_me:$LINENO: result: system version" >&5
2708 echo "${ECHO_T}system version" >&6
2709 elif test "$wxUSE_LIBJPEG" = builtin; then
2710 echo "$as_me:$LINENO: result: builtin version" >&5
2711 echo "${ECHO_T}builtin version" >&6
2712 else
2713 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2714 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2715 { (exit 1); exit 1; }; }
2716 fi
2717
2718
2719 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2720 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2721 no_cache=0
2722
2723 # Check whether --with-libtiff or --without-libtiff was given.
2724 if test "${with_libtiff+set}" = set; then
2725 withval="$with_libtiff"
2726
2727 if test "$withval" = yes; then
2728 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2729 elif test "$withval" = no; then
2730 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2731 elif test "$withval" = sys; then
2732 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2733 elif test "$withval" = builtin; then
2734 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2735 else
2736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2737 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2738 { (exit 1); exit 1; }; }
2739 fi
2740
2741 else
2742
2743 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x ; then
2745 eval "DEFAULT_$LINE"
2746 else
2747 no_cache=1
2748 fi
2749
2750 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2751
2752 fi;
2753
2754 eval "$ac_cv_use_libtiff"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2757 fi
2758
2759 if test "$wxUSE_LIBTIFF" = yes; then
2760 echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6
2762 elif test "$wxUSE_LIBTIFF" = no; then
2763 echo "$as_me:$LINENO: result: no" >&5
2764 echo "${ECHO_T}no" >&6
2765 elif test "$wxUSE_LIBTIFF" = sys; then
2766 echo "$as_me:$LINENO: result: system version" >&5
2767 echo "${ECHO_T}system version" >&6
2768 elif test "$wxUSE_LIBTIFF" = builtin; then
2769 echo "$as_me:$LINENO: result: builtin version" >&5
2770 echo "${ECHO_T}builtin version" >&6
2771 else
2772 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2773 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2774 { (exit 1); exit 1; }; }
2775 fi
2776
2777
2778 echo "$as_me:$LINENO: checking for --with-opengl" >&5
2779 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
2780 no_cache=0
2781
2782 # Check whether --with-opengl or --without-opengl was given.
2783 if test "${with_opengl+set}" = set; then
2784 withval="$with_opengl"
2785
2786 if test "$withval" = yes; then
2787 ac_cv_use_opengl='wxUSE_OPENGL=yes'
2788 else
2789 ac_cv_use_opengl='wxUSE_OPENGL=no'
2790 fi
2791
2792 else
2793
2794 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x ; then
2796 eval "DEFAULT_$LINE"
2797 else
2798 no_cache=1
2799 fi
2800
2801 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2802
2803 fi;
2804
2805 eval "$ac_cv_use_opengl"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2808 fi
2809
2810 if test "$wxUSE_OPENGL" = yes; then
2811 echo "$as_me:$LINENO: result: yes" >&5
2812 echo "${ECHO_T}yes" >&6
2813 else
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2816 fi
2817
2818
2819 fi
2820
2821
2822 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
2823 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
2824 no_cache=0
2825
2826 # Check whether --with-dmalloc or --without-dmalloc was given.
2827 if test "${with_dmalloc+set}" = set; then
2828 withval="$with_dmalloc"
2829
2830 if test "$withval" = yes; then
2831 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
2832 else
2833 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
2834 fi
2835
2836 else
2837
2838 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x ; then
2840 eval "DEFAULT_$LINE"
2841 else
2842 no_cache=1
2843 fi
2844
2845 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2846
2847 fi;
2848
2849 eval "$ac_cv_use_dmalloc"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2852 fi
2853
2854 if test "$wxUSE_DMALLOC" = yes; then
2855 echo "$as_me:$LINENO: result: yes" >&5
2856 echo "${ECHO_T}yes" >&6
2857 else
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2860 fi
2861
2862
2863 echo "$as_me:$LINENO: checking for --with-regex" >&5
2864 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
2865 no_cache=0
2866
2867 # Check whether --with-regex or --without-regex was given.
2868 if test "${with_regex+set}" = set; then
2869 withval="$with_regex"
2870
2871 if test "$withval" = yes; then
2872 ac_cv_use_regex='wxUSE_REGEX=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_regex='wxUSE_REGEX=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_regex='wxUSE_REGEX=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_regex='wxUSE_REGEX=builtin'
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885 else
2886
2887 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2890 else
2891 no_cache=1
2892 fi
2893
2894 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2895
2896 fi;
2897
2898 eval "$ac_cv_use_regex"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2901 fi
2902
2903 if test "$wxUSE_REGEX" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_REGEX" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_REGEX" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_REGEX" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2915 else
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921
2922 echo "$as_me:$LINENO: checking for --with-zlib" >&5
2923 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
2924 no_cache=0
2925
2926 # Check whether --with-zlib or --without-zlib was given.
2927 if test "${with_zlib+set}" = set; then
2928 withval="$with_zlib"
2929
2930 if test "$withval" = yes; then
2931 ac_cv_use_zlib='wxUSE_ZLIB=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_zlib='wxUSE_ZLIB=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_zlib='wxUSE_ZLIB=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944 else
2945
2946 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2954
2955 fi;
2956
2957 eval "$ac_cv_use_zlib"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_ZLIB" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_ZLIB" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_ZLIB" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_ZLIB" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2974 else
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2978 fi
2979
2980
2981 echo "$as_me:$LINENO: checking for --with-odbc" >&5
2982 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
2983 no_cache=0
2984
2985 # Check whether --with-odbc or --without-odbc was given.
2986 if test "${with_odbc+set}" = set; then
2987 withval="$with_odbc"
2988
2989 if test "$withval" = yes; then
2990 ac_cv_use_odbc='wxUSE_ODBC=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_odbc='wxUSE_ODBC=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_odbc='wxUSE_ODBC=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_odbc='wxUSE_ODBC=builtin'
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003 else
3004
3005 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3008 else
3009 no_cache=1
3010 fi
3011
3012 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3013
3014 fi;
3015
3016 eval "$ac_cv_use_odbc"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3019 fi
3020
3021 if test "$wxUSE_ODBC" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_ODBC" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_ODBC" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_ODBC" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3033 else
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3037 fi
3038
3039
3040 echo "$as_me:$LINENO: checking for --with-expat" >&5
3041 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3042 no_cache=0
3043
3044 # Check whether --with-expat or --without-expat was given.
3045 if test "${with_expat+set}" = set; then
3046 withval="$with_expat"
3047
3048 if test "$withval" = yes; then
3049 ac_cv_use_expat='wxUSE_EXPAT=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_expat='wxUSE_EXPAT=no'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_expat='wxUSE_EXPAT=sys'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3056 else
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3060 fi
3061
3062 else
3063
3064 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3067 else
3068 no_cache=1
3069 fi
3070
3071 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3072
3073 fi;
3074
3075 eval "$ac_cv_use_expat"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3078 fi
3079
3080 if test "$wxUSE_EXPAT" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_EXPAT" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_EXPAT" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_EXPAT" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3092 else
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3096 fi
3097
3098
3099
3100
3101 enablestring=
3102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3103 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3104 no_cache=0
3105 # Check whether --enable-shared or --disable-shared was given.
3106 if test "${enable_shared+set}" = set; then
3107 enableval="$enable_shared"
3108
3109 if test "$enableval" = yes; then
3110 ac_cv_use_shared='wxUSE_SHARED=yes'
3111 else
3112 ac_cv_use_shared='wxUSE_SHARED=no'
3113 fi
3114
3115 else
3116
3117 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3120 else
3121 no_cache=1
3122 fi
3123
3124 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3125
3126 fi;
3127
3128 eval "$ac_cv_use_shared"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3131 fi
3132
3133 if test "$wxUSE_SHARED" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3136 else
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3139 fi
3140
3141
3142 enablestring=
3143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3144 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3145 no_cache=0
3146 # Check whether --enable-optimise or --disable-optimise was given.
3147 if test "${enable_optimise+set}" = set; then
3148 enableval="$enable_optimise"
3149
3150 if test "$enableval" = yes; then
3151 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3152 else
3153 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3154 fi
3155
3156 else
3157
3158 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3161 else
3162 no_cache=1
3163 fi
3164
3165 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3166
3167 fi;
3168
3169 eval "$ac_cv_use_optimise"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test "$wxUSE_OPTIMISE" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3177 else
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3180 fi
3181
3182
3183 enablestring=
3184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3186 no_cache=0
3187 # Check whether --enable-debug or --disable-debug was given.
3188 if test "${enable_debug+set}" = set; then
3189 enableval="$enable_debug"
3190
3191 if test "$enableval" = yes; then
3192 ac_cv_use_debug='wxUSE_DEBUG=yes'
3193 else
3194 ac_cv_use_debug='wxUSE_DEBUG=no'
3195 fi
3196
3197 else
3198
3199 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3200 if test "x$LINE" != x ; then
3201 eval "DEFAULT_$LINE"
3202 else
3203 no_cache=1
3204 fi
3205
3206 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3207
3208 fi;
3209
3210 eval "$ac_cv_use_debug"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3213 fi
3214
3215 if test "$wxUSE_DEBUG" = yes; then
3216 echo "$as_me:$LINENO: result: yes" >&5
3217 echo "${ECHO_T}yes" >&6
3218 else
3219 echo "$as_me:$LINENO: result: no" >&5
3220 echo "${ECHO_T}no" >&6
3221 fi
3222
3223
3224 enablestring=
3225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3226 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3227 no_cache=0
3228 # Check whether --enable-stl or --disable-stl was given.
3229 if test "${enable_stl+set}" = set; then
3230 enableval="$enable_stl"
3231
3232 if test "$enableval" = yes; then
3233 ac_cv_use_stl='wxUSE_STL=yes'
3234 else
3235 ac_cv_use_stl='wxUSE_STL=no'
3236 fi
3237
3238 else
3239
3240 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x ; then
3242 eval "DEFAULT_$LINE"
3243 else
3244 no_cache=1
3245 fi
3246
3247 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3248
3249 fi;
3250
3251 eval "$ac_cv_use_stl"
3252 if test "$no_cache" != 1; then
3253 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3254 fi
3255
3256 if test "$wxUSE_STL" = yes; then
3257 echo "$as_me:$LINENO: result: yes" >&5
3258 echo "${ECHO_T}yes" >&6
3259 else
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3262 fi
3263
3264
3265 if test "$wxUSE_DEBUG" = "yes"; then
3266 DEFAULT_wxUSE_DEBUG_FLAG=yes
3267 DEFAULT_wxUSE_DEBUG_INFO=yes
3268 BUILD=debug
3269 elif test "$wxUSE_DEBUG" = "no"; then
3270 DEFAULT_wxUSE_DEBUG_FLAG=no
3271 DEFAULT_wxUSE_DEBUG_INFO=no
3272 BUILD=release
3273 fi
3274
3275
3276 enablestring=
3277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3279 no_cache=0
3280 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3281 if test "${enable_debug_flag+set}" = set; then
3282 enableval="$enable_debug_flag"
3283
3284 if test "$enableval" = yes; then
3285 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3286 else
3287 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3288 fi
3289
3290 else
3291
3292 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x ; then
3294 eval "DEFAULT_$LINE"
3295 else
3296 no_cache=1
3297 fi
3298
3299 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3300
3301 fi;
3302
3303 eval "$ac_cv_use_debug_flag"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3306 fi
3307
3308 if test "$wxUSE_DEBUG_FLAG" = yes; then
3309 echo "$as_me:$LINENO: result: yes" >&5
3310 echo "${ECHO_T}yes" >&6
3311 else
3312 echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6
3314 fi
3315
3316
3317 enablestring=
3318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3319 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3320 no_cache=0
3321 # Check whether --enable-debug_info or --disable-debug_info was given.
3322 if test "${enable_debug_info+set}" = set; then
3323 enableval="$enable_debug_info"
3324
3325 if test "$enableval" = yes; then
3326 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3327 else
3328 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3329 fi
3330
3331 else
3332
3333 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x ; then
3335 eval "DEFAULT_$LINE"
3336 else
3337 no_cache=1
3338 fi
3339
3340 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3341
3342 fi;
3343
3344 eval "$ac_cv_use_debug_info"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3347 fi
3348
3349 if test "$wxUSE_DEBUG_INFO" = yes; then
3350 echo "$as_me:$LINENO: result: yes" >&5
3351 echo "${ECHO_T}yes" >&6
3352 else
3353 echo "$as_me:$LINENO: result: no" >&5
3354 echo "${ECHO_T}no" >&6
3355 fi
3356
3357
3358 enablestring=
3359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3360 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3361 no_cache=0
3362 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3363 if test "${enable_debug_gdb+set}" = set; then
3364 enableval="$enable_debug_gdb"
3365
3366 if test "$enableval" = yes; then
3367 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3368 else
3369 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3370 fi
3371
3372 else
3373
3374 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x ; then
3376 eval "DEFAULT_$LINE"
3377 else
3378 no_cache=1
3379 fi
3380
3381 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3382
3383 fi;
3384
3385 eval "$ac_cv_use_debug_gdb"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3388 fi
3389
3390 if test "$wxUSE_DEBUG_GDB" = yes; then
3391 echo "$as_me:$LINENO: result: yes" >&5
3392 echo "${ECHO_T}yes" >&6
3393 else
3394 echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6
3396 fi
3397
3398
3399 enablestring=
3400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3401 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3402 no_cache=0
3403 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3404 if test "${enable_debug_cntxt+set}" = set; then
3405 enableval="$enable_debug_cntxt"
3406
3407 if test "$enableval" = yes; then
3408 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3409 else
3410 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3411 fi
3412
3413 else
3414
3415 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x ; then
3417 eval "DEFAULT_$LINE"
3418 else
3419 no_cache=1
3420 fi
3421
3422 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3423
3424 fi;
3425
3426 eval "$ac_cv_use_debug_cntxt"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3429 fi
3430
3431 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3432 echo "$as_me:$LINENO: result: yes" >&5
3433 echo "${ECHO_T}yes" >&6
3434 else
3435 echo "$as_me:$LINENO: result: no" >&5
3436 echo "${ECHO_T}no" >&6
3437 fi
3438
3439
3440 enablestring=
3441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3442 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3443 no_cache=0
3444 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3445 if test "${enable_mem_tracing+set}" = set; then
3446 enableval="$enable_mem_tracing"
3447
3448 if test "$enableval" = yes; then
3449 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3450 else
3451 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3452 fi
3453
3454 else
3455
3456 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x ; then
3458 eval "DEFAULT_$LINE"
3459 else
3460 no_cache=1
3461 fi
3462
3463 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3464
3465 fi;
3466
3467 eval "$ac_cv_use_mem_tracing"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3470 fi
3471
3472 if test "$wxUSE_MEM_TRACING" = yes; then
3473 echo "$as_me:$LINENO: result: yes" >&5
3474 echo "${ECHO_T}yes" >&6
3475 else
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3478 fi
3479
3480
3481 enablestring=
3482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3483 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3484 no_cache=0
3485 # Check whether --enable-profile or --disable-profile was given.
3486 if test "${enable_profile+set}" = set; then
3487 enableval="$enable_profile"
3488
3489 if test "$enableval" = yes; then
3490 ac_cv_use_profile='wxUSE_PROFILE=yes'
3491 else
3492 ac_cv_use_profile='wxUSE_PROFILE=no'
3493 fi
3494
3495 else
3496
3497 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x ; then
3499 eval "DEFAULT_$LINE"
3500 else
3501 no_cache=1
3502 fi
3503
3504 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3505
3506 fi;
3507
3508 eval "$ac_cv_use_profile"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3511 fi
3512
3513 if test "$wxUSE_PROFILE" = yes; then
3514 echo "$as_me:$LINENO: result: yes" >&5
3515 echo "${ECHO_T}yes" >&6
3516 else
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3519 fi
3520
3521
3522 enablestring=
3523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3524 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3525 no_cache=0
3526 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3527 if test "${enable_no_rtti+set}" = set; then
3528 enableval="$enable_no_rtti"
3529
3530 if test "$enableval" = yes; then
3531 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3532 else
3533 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3546
3547 fi;
3548
3549 eval "$ac_cv_use_no_rtti"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_NO_RTTI" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 else
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 fi
3561
3562
3563 enablestring=
3564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3565 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3566 no_cache=0
3567 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3568 if test "${enable_no_exceptions+set}" = set; then
3569 enableval="$enable_no_exceptions"
3570
3571 if test "$enableval" = yes; then
3572 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3573 else
3574 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3575 fi
3576
3577 else
3578
3579 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x ; then
3581 eval "DEFAULT_$LINE"
3582 else
3583 no_cache=1
3584 fi
3585
3586 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3587
3588 fi;
3589
3590 eval "$ac_cv_use_no_exceptions"
3591 if test "$no_cache" != 1; then
3592 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3593 fi
3594
3595 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3596 echo "$as_me:$LINENO: result: yes" >&5
3597 echo "${ECHO_T}yes" >&6
3598 else
3599 echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6
3601 fi
3602
3603
3604 enablestring=
3605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3606 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3607 no_cache=0
3608 # Check whether --enable-permissive or --disable-permissive was given.
3609 if test "${enable_permissive+set}" = set; then
3610 enableval="$enable_permissive"
3611
3612 if test "$enableval" = yes; then
3613 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3614 else
3615 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3616 fi
3617
3618 else
3619
3620 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x ; then
3622 eval "DEFAULT_$LINE"
3623 else
3624 no_cache=1
3625 fi
3626
3627 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3628
3629 fi;
3630
3631 eval "$ac_cv_use_permissive"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3634 fi
3635
3636 if test "$wxUSE_PERMISSIVE" = yes; then
3637 echo "$as_me:$LINENO: result: yes" >&5
3638 echo "${ECHO_T}yes" >&6
3639 else
3640 echo "$as_me:$LINENO: result: no" >&5
3641 echo "${ECHO_T}no" >&6
3642 fi
3643
3644
3645 enablestring=
3646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3647 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3648 no_cache=0
3649 # Check whether --enable-no_deps or --disable-no_deps was given.
3650 if test "${enable_no_deps+set}" = set; then
3651 enableval="$enable_no_deps"
3652
3653 if test "$enableval" = yes; then
3654 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3655 else
3656 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3657 fi
3658
3659 else
3660
3661 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3664 else
3665 no_cache=1
3666 fi
3667
3668 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3669
3670 fi;
3671
3672 eval "$ac_cv_use_no_deps"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3675 fi
3676
3677 if test "$wxUSE_NO_DEPS" = yes; then
3678 echo "$as_me:$LINENO: result: yes" >&5
3679 echo "${ECHO_T}yes" >&6
3680 else
3681 echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6
3683 fi
3684
3685
3686
3687 enablestring=
3688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3689 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3690 no_cache=0
3691 # Check whether --enable-compat22 or --disable-compat22 was given.
3692 if test "${enable_compat22+set}" = set; then
3693 enableval="$enable_compat22"
3694
3695 if test "$enableval" = yes; then
3696 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3697 else
3698 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3699 fi
3700
3701 else
3702
3703 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3711
3712 fi;
3713
3714 eval "$ac_cv_use_compat22"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3717 fi
3718
3719 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3720 echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6
3722 else
3723 echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6
3725 fi
3726
3727
3728 enablestring=disable
3729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
3730 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
3731 no_cache=0
3732 # Check whether --enable-compat24 or --disable-compat24 was given.
3733 if test "${enable_compat24+set}" = set; then
3734 enableval="$enable_compat24"
3735
3736 if test "$enableval" = yes; then
3737 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
3738 else
3739 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
3740 fi
3741
3742 else
3743
3744 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x ; then
3746 eval "DEFAULT_$LINE"
3747 else
3748 no_cache=1
3749 fi
3750
3751 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3752
3753 fi;
3754
3755 eval "$ac_cv_use_compat24"
3756 if test "$no_cache" != 1; then
3757 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3758 fi
3759
3760 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3761 echo "$as_me:$LINENO: result: yes" >&5
3762 echo "${ECHO_T}yes" >&6
3763 else
3764 echo "$as_me:$LINENO: result: no" >&5
3765 echo "${ECHO_T}no" >&6
3766 fi
3767
3768
3769 # Check whether --enable-rpath or --disable-rpath was given.
3770 if test "${enable_rpath+set}" = set; then
3771 enableval="$enable_rpath"
3772 wxRPATH_DIR="$enableval"
3773 fi;
3774
3775 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3776 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
3777 fi
3778
3779
3780
3781
3782 enablestring=
3783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
3784 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
3785 no_cache=0
3786 # Check whether --enable-intl or --disable-intl was given.
3787 if test "${enable_intl+set}" = set; then
3788 enableval="$enable_intl"
3789
3790 if test "$enableval" = yes; then
3791 ac_cv_use_intl='wxUSE_INTL=yes'
3792 else
3793 ac_cv_use_intl='wxUSE_INTL=no'
3794 fi
3795
3796 else
3797
3798 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x ; then
3800 eval "DEFAULT_$LINE"
3801 else
3802 no_cache=1
3803 fi
3804
3805 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3806
3807 fi;
3808
3809 eval "$ac_cv_use_intl"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3812 fi
3813
3814 if test "$wxUSE_INTL" = yes; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3817 else
3818 echo "$as_me:$LINENO: result: no" >&5
3819 echo "${ECHO_T}no" >&6
3820 fi
3821
3822
3823 enablestring=
3824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
3825 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
3826 no_cache=0
3827 # Check whether --enable-config or --disable-config was given.
3828 if test "${enable_config+set}" = set; then
3829 enableval="$enable_config"
3830
3831 if test "$enableval" = yes; then
3832 ac_cv_use_config='wxUSE_CONFIG=yes'
3833 else
3834 ac_cv_use_config='wxUSE_CONFIG=no'
3835 fi
3836
3837 else
3838
3839 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3840 if test "x$LINE" != x ; then
3841 eval "DEFAULT_$LINE"
3842 else
3843 no_cache=1
3844 fi
3845
3846 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3847
3848 fi;
3849
3850 eval "$ac_cv_use_config"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3853 fi
3854
3855 if test "$wxUSE_CONFIG" = yes; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6
3861 fi
3862
3863
3864
3865 enablestring=
3866 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
3867 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
3868 no_cache=0
3869 # Check whether --enable-protocols or --disable-protocols was given.
3870 if test "${enable_protocols+set}" = set; then
3871 enableval="$enable_protocols"
3872
3873 if test "$enableval" = yes; then
3874 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
3875 else
3876 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
3877 fi
3878
3879 else
3880
3881 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x ; then
3883 eval "DEFAULT_$LINE"
3884 else
3885 no_cache=1
3886 fi
3887
3888 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3889
3890 fi;
3891
3892 eval "$ac_cv_use_protocols"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3895 fi
3896
3897 if test "$wxUSE_PROTOCOL" = yes; then
3898 echo "$as_me:$LINENO: result: yes" >&5
3899 echo "${ECHO_T}yes" >&6
3900 else
3901 echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6
3903 fi
3904
3905
3906 enablestring=
3907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
3908 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
3909 no_cache=0
3910 # Check whether --enable-ftp or --disable-ftp was given.
3911 if test "${enable_ftp+set}" = set; then
3912 enableval="$enable_ftp"
3913
3914 if test "$enableval" = yes; then
3915 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
3916 else
3917 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
3918 fi
3919
3920 else
3921
3922 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x ; then
3924 eval "DEFAULT_$LINE"
3925 else
3926 no_cache=1
3927 fi
3928
3929 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3930
3931 fi;
3932
3933 eval "$ac_cv_use_ftp"
3934 if test "$no_cache" != 1; then
3935 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3936 fi
3937
3938 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3941 else
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 fi
3945
3946
3947 enablestring=
3948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
3949 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
3950 no_cache=0
3951 # Check whether --enable-http or --disable-http was given.
3952 if test "${enable_http+set}" = set; then
3953 enableval="$enable_http"
3954
3955 if test "$enableval" = yes; then
3956 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
3957 else
3958 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
3959 fi
3960
3961 else
3962
3963 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x ; then
3965 eval "DEFAULT_$LINE"
3966 else
3967 no_cache=1
3968 fi
3969
3970 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3971
3972 fi;
3973
3974 eval "$ac_cv_use_http"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3977 fi
3978
3979 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3980 echo "$as_me:$LINENO: result: yes" >&5
3981 echo "${ECHO_T}yes" >&6
3982 else
3983 echo "$as_me:$LINENO: result: no" >&5
3984 echo "${ECHO_T}no" >&6
3985 fi
3986
3987
3988 enablestring=
3989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
3990 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
3991 no_cache=0
3992 # Check whether --enable-fileproto or --disable-fileproto was given.
3993 if test "${enable_fileproto+set}" = set; then
3994 enableval="$enable_fileproto"
3995
3996 if test "$enableval" = yes; then
3997 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
3998 else
3999 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4000 fi
4001
4002 else
4003
4004 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4005 if test "x$LINE" != x ; then
4006 eval "DEFAULT_$LINE"
4007 else
4008 no_cache=1
4009 fi
4010
4011 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4012
4013 fi;
4014
4015 eval "$ac_cv_use_fileproto"
4016 if test "$no_cache" != 1; then
4017 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4018 fi
4019
4020 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4021 echo "$as_me:$LINENO: result: yes" >&5
4022 echo "${ECHO_T}yes" >&6
4023 else
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4026 fi
4027
4028
4029 enablestring=
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4031 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4032 no_cache=0
4033 # Check whether --enable-sockets or --disable-sockets was given.
4034 if test "${enable_sockets+set}" = set; then
4035 enableval="$enable_sockets"
4036
4037 if test "$enableval" = yes; then
4038 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4039 else
4040 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4041 fi
4042
4043 else
4044
4045 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 else
4049 no_cache=1
4050 fi
4051
4052 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4053
4054 fi;
4055
4056 eval "$ac_cv_use_sockets"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4059 fi
4060
4061 if test "$wxUSE_SOCKETS" = yes; then
4062 echo "$as_me:$LINENO: result: yes" >&5
4063 echo "${ECHO_T}yes" >&6
4064 else
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4067 fi
4068
4069
4070 enablestring=
4071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4072 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4073 no_cache=0
4074 # Check whether --enable-ole or --disable-ole was given.
4075 if test "${enable_ole+set}" = set; then
4076 enableval="$enable_ole"
4077
4078 if test "$enableval" = yes; then
4079 ac_cv_use_ole='wxUSE_OLE=yes'
4080 else
4081 ac_cv_use_ole='wxUSE_OLE=no'
4082 fi
4083
4084 else
4085
4086 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x ; then
4088 eval "DEFAULT_$LINE"
4089 else
4090 no_cache=1
4091 fi
4092
4093 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4094
4095 fi;
4096
4097 eval "$ac_cv_use_ole"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4100 fi
4101
4102 if test "$wxUSE_OLE" = yes; then
4103 echo "$as_me:$LINENO: result: yes" >&5
4104 echo "${ECHO_T}yes" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4108 fi
4109
4110
4111 enablestring=
4112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4113 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4114 no_cache=0
4115 # Check whether --enable-dataobj or --disable-dataobj was given.
4116 if test "${enable_dataobj+set}" = set; then
4117 enableval="$enable_dataobj"
4118
4119 if test "$enableval" = yes; then
4120 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4121 else
4122 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4123 fi
4124
4125 else
4126
4127 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x ; then
4129 eval "DEFAULT_$LINE"
4130 else
4131 no_cache=1
4132 fi
4133
4134 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4135
4136 fi;
4137
4138 eval "$ac_cv_use_dataobj"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_DATAOBJ" = yes; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4146 else
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4149 fi
4150
4151
4152
4153 enablestring=
4154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4155 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4156 no_cache=0
4157 # Check whether --enable-ipc or --disable-ipc was given.
4158 if test "${enable_ipc+set}" = set; then
4159 enableval="$enable_ipc"
4160
4161 if test "$enableval" = yes; then
4162 ac_cv_use_ipc='wxUSE_IPC=yes'
4163 else
4164 ac_cv_use_ipc='wxUSE_IPC=no'
4165 fi
4166
4167 else
4168
4169 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4170 if test "x$LINE" != x ; then
4171 eval "DEFAULT_$LINE"
4172 else
4173 no_cache=1
4174 fi
4175
4176 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4177
4178 fi;
4179
4180 eval "$ac_cv_use_ipc"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_IPC" = yes; then
4186 echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6
4188 else
4189 echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6
4191 fi
4192
4193
4194
4195 enablestring=
4196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4197 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4198 no_cache=0
4199 # Check whether --enable-cmdline or --disable-cmdline was given.
4200 if test "${enable_cmdline+set}" = set; then
4201 enableval="$enable_cmdline"
4202
4203 if test "$enableval" = yes; then
4204 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4205 else
4206 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4207 fi
4208
4209 else
4210
4211 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x ; then
4213 eval "DEFAULT_$LINE"
4214 else
4215 no_cache=1
4216 fi
4217
4218 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4219
4220 fi;
4221
4222 eval "$ac_cv_use_cmdline"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4228 echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6
4230 else
4231 echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6
4233 fi
4234
4235
4236 enablestring=
4237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4238 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4239 no_cache=0
4240 # Check whether --enable-datetime or --disable-datetime was given.
4241 if test "${enable_datetime+set}" = set; then
4242 enableval="$enable_datetime"
4243
4244 if test "$enableval" = yes; then
4245 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4246 else
4247 ac_cv_use_datetime='wxUSE_DATETIME=no'
4248 fi
4249
4250 else
4251
4252 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x ; then
4254 eval "DEFAULT_$LINE"
4255 else
4256 no_cache=1
4257 fi
4258
4259 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4260
4261 fi;
4262
4263 eval "$ac_cv_use_datetime"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_DATETIME" = yes; then
4269 echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6
4271 else
4272 echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6
4274 fi
4275
4276
4277 enablestring=
4278 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
4279 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
4280 no_cache=0
4281 # Check whether --enable-stopwatch or --disable-stopwatch was given.
4282 if test "${enable_stopwatch+set}" = set; then
4283 enableval="$enable_stopwatch"
4284
4285 if test "$enableval" = yes; then
4286 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
4287 else
4288 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
4289 fi
4290
4291 else
4292
4293 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x ; then
4295 eval "DEFAULT_$LINE"
4296 else
4297 no_cache=1
4298 fi
4299
4300 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
4301
4302 fi;
4303
4304 eval "$ac_cv_use_stopwatch"
4305 if test "$no_cache" != 1; then
4306 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
4307 fi
4308
4309 if test "$wxUSE_STOPWATCH" = yes; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4312 else
4313 echo "$as_me:$LINENO: result: no" >&5
4314 echo "${ECHO_T}no" >&6
4315 fi
4316
4317
4318 enablestring=
4319 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4320 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4321 no_cache=0
4322 # Check whether --enable-dialupman or --disable-dialupman was given.
4323 if test "${enable_dialupman+set}" = set; then
4324 enableval="$enable_dialupman"
4325
4326 if test "$enableval" = yes; then
4327 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4328 else
4329 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4330 fi
4331
4332 else
4333
4334 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x ; then
4336 eval "DEFAULT_$LINE"
4337 else
4338 no_cache=1
4339 fi
4340
4341 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4342
4343 fi;
4344
4345 eval "$ac_cv_use_dialupman"
4346 if test "$no_cache" != 1; then
4347 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4348 fi
4349
4350 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4351 echo "$as_me:$LINENO: result: yes" >&5
4352 echo "${ECHO_T}yes" >&6
4353 else
4354 echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6
4356 fi
4357
4358
4359 enablestring=
4360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4361 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4362 no_cache=0
4363 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4364 if test "${enable_apple_ieee+set}" = set; then
4365 enableval="$enable_apple_ieee"
4366
4367 if test "$enableval" = yes; then
4368 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4369 else
4370 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4371 fi
4372
4373 else
4374
4375 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x ; then
4377 eval "DEFAULT_$LINE"
4378 else
4379 no_cache=1
4380 fi
4381
4382 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4383
4384 fi;
4385
4386 eval "$ac_cv_use_apple_ieee"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4389 fi
4390
4391 if test "$wxUSE_APPLE_IEEE" = yes; then
4392 echo "$as_me:$LINENO: result: yes" >&5
4393 echo "${ECHO_T}yes" >&6
4394 else
4395 echo "$as_me:$LINENO: result: no" >&5
4396 echo "${ECHO_T}no" >&6
4397 fi
4398
4399
4400 enablestring=
4401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
4402 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
4403 no_cache=0
4404 # Check whether --enable-timer or --disable-timer was given.
4405 if test "${enable_timer+set}" = set; then
4406 enableval="$enable_timer"
4407
4408 if test "$enableval" = yes; then
4409 ac_cv_use_timer='wxUSE_TIMER=yes'
4410 else
4411 ac_cv_use_timer='wxUSE_TIMER=no'
4412 fi
4413
4414 else
4415
4416 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x ; then
4418 eval "DEFAULT_$LINE"
4419 else
4420 no_cache=1
4421 fi
4422
4423 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
4424
4425 fi;
4426
4427 eval "$ac_cv_use_timer"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
4430 fi
4431
4432 if test "$wxUSE_TIMER" = yes; then
4433 echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6
4435 else
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4438 fi
4439
4440
4441 enablestring=
4442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wave" >&5
4443 echo $ECHO_N "checking for --${enablestring:-enable}-wave... $ECHO_C" >&6
4444 no_cache=0
4445 # Check whether --enable-wave or --disable-wave was given.
4446 if test "${enable_wave+set}" = set; then
4447 enableval="$enable_wave"
4448
4449 if test "$enableval" = yes; then
4450 ac_cv_use_wave='wxUSE_WAVE=yes'
4451 else
4452 ac_cv_use_wave='wxUSE_WAVE=no'
4453 fi
4454
4455 else
4456
4457 LINE=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x ; then
4459 eval "DEFAULT_$LINE"
4460 else
4461 no_cache=1
4462 fi
4463
4464 ac_cv_use_wave='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
4465
4466 fi;
4467
4468 eval "$ac_cv_use_wave"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
4471 fi
4472
4473 if test "$wxUSE_WAVE" = yes; then
4474 echo "$as_me:$LINENO: result: yes" >&5
4475 echo "${ECHO_T}yes" >&6
4476 else
4477 echo "$as_me:$LINENO: result: no" >&5
4478 echo "${ECHO_T}no" >&6
4479 fi
4480
4481
4482 enablestring=
4483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fraction" >&5
4484 echo $ECHO_N "checking for --${enablestring:-enable}-fraction... $ECHO_C" >&6
4485 no_cache=0
4486 # Check whether --enable-fraction or --disable-fraction was given.
4487 if test "${enable_fraction+set}" = set; then
4488 enableval="$enable_fraction"
4489
4490 if test "$enableval" = yes; then
4491 ac_cv_use_fraction='wxUSE_FRACTION=yes'
4492 else
4493 ac_cv_use_fraction='wxUSE_FRACTION=no'
4494 fi
4495
4496 else
4497
4498 LINE=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x ; then
4500 eval "DEFAULT_$LINE"
4501 else
4502 no_cache=1
4503 fi
4504
4505 ac_cv_use_fraction='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
4506
4507 fi;
4508
4509 eval "$ac_cv_use_fraction"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
4512 fi
4513
4514 if test "$wxUSE_FRACTION" = yes; then
4515 echo "$as_me:$LINENO: result: yes" >&5
4516 echo "${ECHO_T}yes" >&6
4517 else
4518 echo "$as_me:$LINENO: result: no" >&5
4519 echo "${ECHO_T}no" >&6
4520 fi
4521
4522
4523 enablestring=
4524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4525 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4526 no_cache=0
4527 # Check whether --enable-dynlib or --disable-dynlib was given.
4528 if test "${enable_dynlib+set}" = set; then
4529 enableval="$enable_dynlib"
4530
4531 if test "$enableval" = yes; then
4532 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4533 else
4534 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4535 fi
4536
4537 else
4538
4539 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x ; then
4541 eval "DEFAULT_$LINE"
4542 else
4543 no_cache=1
4544 fi
4545
4546 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4547
4548 fi;
4549
4550 eval "$ac_cv_use_dynlib"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4553 fi
4554
4555 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4556 echo "$as_me:$LINENO: result: yes" >&5
4557 echo "${ECHO_T}yes" >&6
4558 else
4559 echo "$as_me:$LINENO: result: no" >&5
4560 echo "${ECHO_T}no" >&6
4561 fi
4562
4563
4564 enablestring=
4565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4566 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4567 no_cache=0
4568 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4569 if test "${enable_dynamicloader+set}" = set; then
4570 enableval="$enable_dynamicloader"
4571
4572 if test "$enableval" = yes; then
4573 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4574 else
4575 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4576 fi
4577
4578 else
4579
4580 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x ; then
4582 eval "DEFAULT_$LINE"
4583 else
4584 no_cache=1
4585 fi
4586
4587 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4588
4589 fi;
4590
4591 eval "$ac_cv_use_dynamicloader"
4592 if test "$no_cache" != 1; then
4593 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4594 fi
4595
4596 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4597 echo "$as_me:$LINENO: result: yes" >&5
4598 echo "${ECHO_T}yes" >&6
4599 else
4600 echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6
4602 fi
4603
4604
4605 enablestring=
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
4608 no_cache=0
4609 # Check whether --enable-longlong or --disable-longlong was given.
4610 if test "${enable_longlong+set}" = set; then
4611 enableval="$enable_longlong"
4612
4613 if test "$enableval" = yes; then
4614 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
4615 else
4616 ac_cv_use_longlong='wxUSE_LONGLONG=no'
4617 fi
4618
4619 else
4620
4621 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4624 else
4625 no_cache=1
4626 fi
4627
4628 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
4629
4630 fi;
4631
4632 eval "$ac_cv_use_longlong"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4635 fi
4636
4637 if test "$wxUSE_LONGLONG" = yes; then
4638 echo "$as_me:$LINENO: result: yes" >&5
4639 echo "${ECHO_T}yes" >&6
4640 else
4641 echo "$as_me:$LINENO: result: no" >&5
4642 echo "${ECHO_T}no" >&6
4643 fi
4644
4645
4646 enablestring=
4647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
4648 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
4649 no_cache=0
4650 # Check whether --enable-geometry or --disable-geometry was given.
4651 if test "${enable_geometry+set}" = set; then
4652 enableval="$enable_geometry"
4653
4654 if test "$enableval" = yes; then
4655 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
4656 else
4657 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
4658 fi
4659
4660 else
4661
4662 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x ; then
4664 eval "DEFAULT_$LINE"
4665 else
4666 no_cache=1
4667 fi
4668
4669 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4670
4671 fi;
4672
4673 eval "$ac_cv_use_geometry"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4676 fi
4677
4678 if test "$wxUSE_GEOMETRY" = yes; then
4679 echo "$as_me:$LINENO: result: yes" >&5
4680 echo "${ECHO_T}yes" >&6
4681 else
4682 echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6
4684 fi
4685
4686
4687 enablestring=
4688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
4689 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
4690 no_cache=0
4691 # Check whether --enable-log or --disable-log was given.
4692 if test "${enable_log+set}" = set; then
4693 enableval="$enable_log"
4694
4695 if test "$enableval" = yes; then
4696 ac_cv_use_log='wxUSE_LOG=yes'
4697 else
4698 ac_cv_use_log='wxUSE_LOG=no'
4699 fi
4700
4701 else
4702
4703 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x ; then
4705 eval "DEFAULT_$LINE"
4706 else
4707 no_cache=1
4708 fi
4709
4710 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4711
4712 fi;
4713
4714 eval "$ac_cv_use_log"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4717 fi
4718
4719 if test "$wxUSE_LOG" = yes; then
4720 echo "$as_me:$LINENO: result: yes" >&5
4721 echo "${ECHO_T}yes" >&6
4722 else
4723 echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6
4725 fi
4726
4727
4728 enablestring=
4729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
4730 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
4731 no_cache=0
4732 # Check whether --enable-streams or --disable-streams was given.
4733 if test "${enable_streams+set}" = set; then
4734 enableval="$enable_streams"
4735
4736 if test "$enableval" = yes; then
4737 ac_cv_use_streams='wxUSE_STREAMS=yes'
4738 else
4739 ac_cv_use_streams='wxUSE_STREAMS=no'
4740 fi
4741
4742 else
4743
4744 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4745 if test "x$LINE" != x ; then
4746 eval "DEFAULT_$LINE"
4747 else
4748 no_cache=1
4749 fi
4750
4751 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4752
4753 fi;
4754
4755 eval "$ac_cv_use_streams"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4758 fi
4759
4760 if test "$wxUSE_STREAMS" = yes; then
4761 echo "$as_me:$LINENO: result: yes" >&5
4762 echo "${ECHO_T}yes" >&6
4763 else
4764 echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6
4766 fi
4767
4768
4769 enablestring=
4770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4771 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4772 no_cache=0
4773 # Check whether --enable-file or --disable-file was given.
4774 if test "${enable_file+set}" = set; then
4775 enableval="$enable_file"
4776
4777 if test "$enableval" = yes; then
4778 ac_cv_use_file='wxUSE_FILE=yes'
4779 else
4780 ac_cv_use_file='wxUSE_FILE=no'
4781 fi
4782
4783 else
4784
4785 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x ; then
4787 eval "DEFAULT_$LINE"
4788 else
4789 no_cache=1
4790 fi
4791
4792 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4793
4794 fi;
4795
4796 eval "$ac_cv_use_file"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4799 fi
4800
4801 if test "$wxUSE_FILE" = yes; then
4802 echo "$as_me:$LINENO: result: yes" >&5
4803 echo "${ECHO_T}yes" >&6
4804 else
4805 echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6
4807 fi
4808
4809
4810 enablestring=
4811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4812 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4813 no_cache=0
4814 # Check whether --enable-ffile or --disable-ffile was given.
4815 if test "${enable_ffile+set}" = set; then
4816 enableval="$enable_ffile"
4817
4818 if test "$enableval" = yes; then
4819 ac_cv_use_ffile='wxUSE_FFILE=yes'
4820 else
4821 ac_cv_use_ffile='wxUSE_FFILE=no'
4822 fi
4823
4824 else
4825
4826 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x ; then
4828 eval "DEFAULT_$LINE"
4829 else
4830 no_cache=1
4831 fi
4832
4833 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4834
4835 fi;
4836
4837 eval "$ac_cv_use_ffile"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4840 fi
4841
4842 if test "$wxUSE_FFILE" = yes; then
4843 echo "$as_me:$LINENO: result: yes" >&5
4844 echo "${ECHO_T}yes" >&6
4845 else
4846 echo "$as_me:$LINENO: result: no" >&5
4847 echo "${ECHO_T}no" >&6
4848 fi
4849
4850
4851 enablestring=
4852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
4854 no_cache=0
4855 # Check whether --enable-textbuf or --disable-textbuf was given.
4856 if test "${enable_textbuf+set}" = set; then
4857 enableval="$enable_textbuf"
4858
4859 if test "$enableval" = yes; then
4860 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
4861 else
4862 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
4863 fi
4864
4865 else
4866
4867 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x ; then
4869 eval "DEFAULT_$LINE"
4870 else
4871 no_cache=1
4872 fi
4873
4874 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4875
4876 fi;
4877
4878 eval "$ac_cv_use_textbuf"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4881 fi
4882
4883 if test "$wxUSE_TEXTBUFFER" = yes; then
4884 echo "$as_me:$LINENO: result: yes" >&5
4885 echo "${ECHO_T}yes" >&6
4886 else
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4889 fi
4890
4891
4892 enablestring=
4893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
4894 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
4895 no_cache=0
4896 # Check whether --enable-textfile or --disable-textfile was given.
4897 if test "${enable_textfile+set}" = set; then
4898 enableval="$enable_textfile"
4899
4900 if test "$enableval" = yes; then
4901 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
4902 else
4903 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
4904 fi
4905
4906 else
4907
4908 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x ; then
4910 eval "DEFAULT_$LINE"
4911 else
4912 no_cache=1
4913 fi
4914
4915 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4916
4917 fi;
4918
4919 eval "$ac_cv_use_textfile"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4922 fi
4923
4924 if test "$wxUSE_TEXTFILE" = yes; then
4925 echo "$as_me:$LINENO: result: yes" >&5
4926 echo "${ECHO_T}yes" >&6
4927 else
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4930 fi
4931
4932
4933 enablestring=
4934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4935 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4936 no_cache=0
4937 # Check whether --enable-fontmap or --disable-fontmap was given.
4938 if test "${enable_fontmap+set}" = set; then
4939 enableval="$enable_fontmap"
4940
4941 if test "$enableval" = yes; then
4942 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4943 else
4944 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4945 fi
4946
4947 else
4948
4949 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x ; then
4951 eval "DEFAULT_$LINE"
4952 else
4953 no_cache=1
4954 fi
4955
4956 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4957
4958 fi;
4959
4960 eval "$ac_cv_use_fontmap"
4961 if test "$no_cache" != 1; then
4962 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4963 fi
4964
4965 if test "$wxUSE_FONTMAP" = yes; then
4966 echo "$as_me:$LINENO: result: yes" >&5
4967 echo "${ECHO_T}yes" >&6
4968 else
4969 echo "$as_me:$LINENO: result: no" >&5
4970 echo "${ECHO_T}no" >&6
4971 fi
4972
4973
4974 enablestring=
4975 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4976 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4977 no_cache=0
4978 # Check whether --enable-unicode or --disable-unicode was given.
4979 if test "${enable_unicode+set}" = set; then
4980 enableval="$enable_unicode"
4981
4982 if test "$enableval" = yes; then
4983 ac_cv_use_unicode='wxUSE_UNICODE=yes'
4984 else
4985 ac_cv_use_unicode='wxUSE_UNICODE=no'
4986 fi
4987
4988 else
4989
4990 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x ; then
4992 eval "DEFAULT_$LINE"
4993 else
4994 no_cache=1
4995 fi
4996
4997 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4998
4999 fi;
5000
5001 eval "$ac_cv_use_unicode"
5002 if test "$no_cache" != 1; then
5003 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5004 fi
5005
5006 if test "$wxUSE_UNICODE" = yes; then
5007 echo "$as_me:$LINENO: result: yes" >&5
5008 echo "${ECHO_T}yes" >&6
5009 else
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5012 fi
5013
5014
5015 enablestring=
5016 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5017 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5018 no_cache=0
5019 # Check whether --enable-mslu or --disable-mslu was given.
5020 if test "${enable_mslu+set}" = set; then
5021 enableval="$enable_mslu"
5022
5023 if test "$enableval" = yes; then
5024 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5025 else
5026 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5027 fi
5028
5029 else
5030
5031 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x ; then
5033 eval "DEFAULT_$LINE"
5034 else
5035 no_cache=1
5036 fi
5037
5038 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5039
5040 fi;
5041
5042 eval "$ac_cv_use_mslu"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5045 fi
5046
5047 if test "$wxUSE_UNICODE_MSLU" = yes; then
5048 echo "$as_me:$LINENO: result: yes" >&5
5049 echo "${ECHO_T}yes" >&6
5050 else
5051 echo "$as_me:$LINENO: result: no" >&5
5052 echo "${ECHO_T}no" >&6
5053 fi
5054
5055
5056 enablestring=
5057 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5058 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5059 no_cache=0
5060 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5061 if test "${enable_wxprintfv+set}" = set; then
5062 enableval="$enable_wxprintfv"
5063
5064 if test "$enableval" = yes; then
5065 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5066 else
5067 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5068 fi
5069
5070 else
5071
5072 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x ; then
5074 eval "DEFAULT_$LINE"
5075 else
5076 no_cache=1
5077 fi
5078
5079 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5080
5081 fi;
5082
5083 eval "$ac_cv_use_wxprintfv"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5086 fi
5087
5088 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
5089 echo "$as_me:$LINENO: result: yes" >&5
5090 echo "${ECHO_T}yes" >&6
5091 else
5092 echo "$as_me:$LINENO: result: no" >&5
5093 echo "${ECHO_T}no" >&6
5094 fi
5095
5096
5097 enablestring=
5098 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5099 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5100 no_cache=0
5101 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5102 if test "${enable_std_iostreams+set}" = set; then
5103 enableval="$enable_std_iostreams"
5104
5105 if test "$enableval" = yes; then
5106 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5107 else
5108 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5109 fi
5110
5111 else
5112
5113 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x ; then
5115 eval "DEFAULT_$LINE"
5116 else
5117 no_cache=1
5118 fi
5119
5120 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5121
5122 fi;
5123
5124 eval "$ac_cv_use_std_iostreams"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5127 fi
5128
5129 if test "$wxUSE_STD_IOSTREAM" = yes; then
5130 echo "$as_me:$LINENO: result: yes" >&5
5131 echo "${ECHO_T}yes" >&6
5132 else
5133 echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6
5135 fi
5136
5137
5138 enablestring=
5139 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5140 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5141 no_cache=0
5142 # Check whether --enable-filesystem or --disable-filesystem was given.
5143 if test "${enable_filesystem+set}" = set; then
5144 enableval="$enable_filesystem"
5145
5146 if test "$enableval" = yes; then
5147 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5148 else
5149 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5150 fi
5151
5152 else
5153
5154 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5157 else
5158 no_cache=1
5159 fi
5160
5161 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5162
5163 fi;
5164
5165 eval "$ac_cv_use_filesystem"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5168 fi
5169
5170 if test "$wxUSE_FILESYSTEM" = yes; then
5171 echo "$as_me:$LINENO: result: yes" >&5
5172 echo "${ECHO_T}yes" >&6
5173 else
5174 echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6
5176 fi
5177
5178
5179 enablestring=
5180 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5181 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5182 no_cache=0
5183 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5184 if test "${enable_fs_inet+set}" = set; then
5185 enableval="$enable_fs_inet"
5186
5187 if test "$enableval" = yes; then
5188 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5189 else
5190 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5191 fi
5192
5193 else
5194
5195 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x ; then
5197 eval "DEFAULT_$LINE"
5198 else
5199 no_cache=1
5200 fi
5201
5202 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5203
5204 fi;
5205
5206 eval "$ac_cv_use_fs_inet"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5209 fi
5210
5211 if test "$wxUSE_FS_INET" = yes; then
5212 echo "$as_me:$LINENO: result: yes" >&5
5213 echo "${ECHO_T}yes" >&6
5214 else
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5217 fi
5218
5219
5220 enablestring=
5221 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5222 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5223 no_cache=0
5224 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5225 if test "${enable_fs_zip+set}" = set; then
5226 enableval="$enable_fs_zip"
5227
5228 if test "$enableval" = yes; then
5229 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5230 else
5231 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5232 fi
5233
5234 else
5235
5236 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x ; then
5238 eval "DEFAULT_$LINE"
5239 else
5240 no_cache=1
5241 fi
5242
5243 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5244
5245 fi;
5246
5247 eval "$ac_cv_use_fs_zip"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5250 fi
5251
5252 if test "$wxUSE_FS_ZIP" = yes; then
5253 echo "$as_me:$LINENO: result: yes" >&5
5254 echo "${ECHO_T}yes" >&6
5255 else
5256 echo "$as_me:$LINENO: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5258 fi
5259
5260
5261 enablestring=
5262 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5263 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5264 no_cache=0
5265 # Check whether --enable-zipstream or --disable-zipstream was given.
5266 if test "${enable_zipstream+set}" = set; then
5267 enableval="$enable_zipstream"
5268
5269 if test "$enableval" = yes; then
5270 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5271 else
5272 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5273 fi
5274
5275 else
5276
5277 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x ; then
5279 eval "DEFAULT_$LINE"
5280 else
5281 no_cache=1
5282 fi
5283
5284 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5285
5286 fi;
5287
5288 eval "$ac_cv_use_zipstream"
5289 if test "$no_cache" != 1; then
5290 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5291 fi
5292
5293 if test "$wxUSE_ZIPSTREAM" = yes; then
5294 echo "$as_me:$LINENO: result: yes" >&5
5295 echo "${ECHO_T}yes" >&6
5296 else
5297 echo "$as_me:$LINENO: result: no" >&5
5298 echo "${ECHO_T}no" >&6
5299 fi
5300
5301
5302
5303 enablestring=
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5306 no_cache=0
5307 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5308 if test "${enable_catch_segvs+set}" = set; then
5309 enableval="$enable_catch_segvs"
5310
5311 if test "$enableval" = yes; then
5312 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5313 else
5314 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5315 fi
5316
5317 else
5318
5319 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5327
5328 fi;
5329
5330 eval "$ac_cv_use_catch_segvs"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5333 fi
5334
5335 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5336 echo "$as_me:$LINENO: result: yes" >&5
5337 echo "${ECHO_T}yes" >&6
5338 else
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5341 fi
5342
5343
5344 enablestring=
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5347 no_cache=0
5348 # Check whether --enable-snglinst or --disable-snglinst was given.
5349 if test "${enable_snglinst+set}" = set; then
5350 enableval="$enable_snglinst"
5351
5352 if test "$enableval" = yes; then
5353 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5354 else
5355 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5368
5369 fi;
5370
5371 eval "$ac_cv_use_snglinst"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5374 fi
5375
5376 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5377 echo "$as_me:$LINENO: result: yes" >&5
5378 echo "${ECHO_T}yes" >&6
5379 else
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5382 fi
5383
5384
5385
5386 enablestring=
5387 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5389 no_cache=0
5390 # Check whether --enable-mimetype or --disable-mimetype was given.
5391 if test "${enable_mimetype+set}" = set; then
5392 enableval="$enable_mimetype"
5393
5394 if test "$enableval" = yes; then
5395 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5396 else
5397 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5398 fi
5399
5400 else
5401
5402 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5403 if test "x$LINE" != x ; then
5404 eval "DEFAULT_$LINE"
5405 else
5406 no_cache=1
5407 fi
5408
5409 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5410
5411 fi;
5412
5413 eval "$ac_cv_use_mimetype"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test "$wxUSE_MIMETYPE" = yes; then
5419 echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6
5421 else
5422 echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6
5424 fi
5425
5426
5427 enablestring=
5428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5429 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5430 no_cache=0
5431 # Check whether --enable-system_options or --disable-system_options was given.
5432 if test "${enable_system_options+set}" = set; then
5433 enableval="$enable_system_options"
5434
5435 if test "$enableval" = yes; then
5436 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5437 else
5438 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5439 fi
5440
5441 else
5442
5443 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5446 else
5447 no_cache=1
5448 fi
5449
5450 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5451
5452 fi;
5453
5454 eval "$ac_cv_use_system_options"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5457 fi
5458
5459 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5460 echo "$as_me:$LINENO: result: yes" >&5
5461 echo "${ECHO_T}yes" >&6
5462 else
5463 echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6
5465 fi
5466
5467
5468
5469 enablestring=
5470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5472 no_cache=0
5473 # Check whether --enable-url or --disable-url was given.
5474 if test "${enable_url+set}" = set; then
5475 enableval="$enable_url"
5476
5477 if test "$enableval" = yes; then
5478 ac_cv_use_url='wxUSE_URL=yes'
5479 else
5480 ac_cv_use_url='wxUSE_URL=no'
5481 fi
5482
5483 else
5484
5485 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x ; then
5487 eval "DEFAULT_$LINE"
5488 else
5489 no_cache=1
5490 fi
5491
5492 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5493
5494 fi;
5495
5496 eval "$ac_cv_use_url"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_URL" = yes; then
5502 echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6
5504 else
5505 echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6
5507 fi
5508
5509
5510 enablestring=
5511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5513 no_cache=0
5514 # Check whether --enable-protocol or --disable-protocol was given.
5515 if test "${enable_protocol+set}" = set; then
5516 enableval="$enable_protocol"
5517
5518 if test "$enableval" = yes; then
5519 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5520 else
5521 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5522 fi
5523
5524 else
5525
5526 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x ; then
5528 eval "DEFAULT_$LINE"
5529 else
5530 no_cache=1
5531 fi
5532
5533 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5534
5535 fi;
5536
5537 eval "$ac_cv_use_protocol"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_PROTOCOL" = yes; then
5543 echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6
5545 else
5546 echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6
5548 fi
5549
5550
5551 enablestring=
5552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5554 no_cache=0
5555 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5556 if test "${enable_protocol_http+set}" = set; then
5557 enableval="$enable_protocol_http"
5558
5559 if test "$enableval" = yes; then
5560 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5561 else
5562 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5563 fi
5564
5565 else
5566
5567 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x ; then
5569 eval "DEFAULT_$LINE"
5570 else
5571 no_cache=1
5572 fi
5573
5574 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5575
5576 fi;
5577
5578 eval "$ac_cv_use_protocol_http"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5584 echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6
5586 else
5587 echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6
5589 fi
5590
5591
5592 enablestring=
5593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5595 no_cache=0
5596 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5597 if test "${enable_protocol_ftp+set}" = set; then
5598 enableval="$enable_protocol_ftp"
5599
5600 if test "$enableval" = yes; then
5601 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5602 else
5603 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5604 fi
5605
5606 else
5607
5608 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x ; then
5610 eval "DEFAULT_$LINE"
5611 else
5612 no_cache=1
5613 fi
5614
5615 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5616
5617 fi;
5618
5619 eval "$ac_cv_use_protocol_ftp"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5625 echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6
5627 else
5628 echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6
5630 fi
5631
5632
5633 enablestring=
5634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5636 no_cache=0
5637 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5638 if test "${enable_protocol_file+set}" = set; then
5639 enableval="$enable_protocol_file"
5640
5641 if test "$enableval" = yes; then
5642 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5643 else
5644 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5645 fi
5646
5647 else
5648
5649 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5657
5658 fi;
5659
5660 eval "$ac_cv_use_protocol_file"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5666 echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6
5668 else
5669 echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6
5671 fi
5672
5673
5674
5675
5676
5677 enablestring=
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5680 no_cache=0
5681 # Check whether --enable-threads or --disable-threads was given.
5682 if test "${enable_threads+set}" = set; then
5683 enableval="$enable_threads"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_threads='wxUSE_THREADS=yes'
5687 else
5688 ac_cv_use_threads='wxUSE_THREADS=no'
5689 fi
5690
5691 else
5692
5693 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5694 if test "x$LINE" != x ; then
5695 eval "DEFAULT_$LINE"
5696 else
5697 no_cache=1
5698 fi
5699
5700 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5701
5702 fi;
5703
5704 eval "$ac_cv_use_threads"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 if test "$wxUSE_THREADS" = yes; then
5710 echo "$as_me:$LINENO: result: yes" >&5
5711 echo "${ECHO_T}yes" >&6
5712 else
5713 echo "$as_me:$LINENO: result: no" >&5
5714 echo "${ECHO_T}no" >&6
5715 fi
5716
5717
5718 if test "$wxUSE_GUI" = "yes"; then
5719
5720
5721
5722 enablestring=
5723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
5725 no_cache=0
5726 # Check whether --enable-docview or --disable-docview was given.
5727 if test "${enable_docview+set}" = set; then
5728 enableval="$enable_docview"
5729
5730 if test "$enableval" = yes; then
5731 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5732 else
5733 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5734 fi
5735
5736 else
5737
5738 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5739 if test "x$LINE" != x ; then
5740 eval "DEFAULT_$LINE"
5741 else
5742 no_cache=1
5743 fi
5744
5745 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5746
5747 fi;
5748
5749 eval "$ac_cv_use_docview"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5752 fi
5753
5754 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5755 echo "$as_me:$LINENO: result: yes" >&5
5756 echo "${ECHO_T}yes" >&6
5757 else
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5760 fi
5761
5762
5763 enablestring=
5764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
5766 no_cache=0
5767 # Check whether --enable-help or --disable-help was given.
5768 if test "${enable_help+set}" = set; then
5769 enableval="$enable_help"
5770
5771 if test "$enableval" = yes; then
5772 ac_cv_use_help='wxUSE_HELP=yes'
5773 else
5774 ac_cv_use_help='wxUSE_HELP=no'
5775 fi
5776
5777 else
5778
5779 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5780 if test "x$LINE" != x ; then
5781 eval "DEFAULT_$LINE"
5782 else
5783 no_cache=1
5784 fi
5785
5786 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5787
5788 fi;
5789
5790 eval "$ac_cv_use_help"
5791 if test "$no_cache" != 1; then
5792 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5793 fi
5794
5795 if test "$wxUSE_HELP" = yes; then
5796 echo "$as_me:$LINENO: result: yes" >&5
5797 echo "${ECHO_T}yes" >&6
5798 else
5799 echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6
5801 fi
5802
5803
5804 enablestring=
5805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5806 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
5807 no_cache=0
5808 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5809 if test "${enable_mshtmlhelp+set}" = set; then
5810 enableval="$enable_mshtmlhelp"
5811
5812 if test "$enableval" = yes; then
5813 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
5814 else
5815 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
5816 fi
5817
5818 else
5819
5820 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x ; then
5822 eval "DEFAULT_$LINE"
5823 else
5824 no_cache=1
5825 fi
5826
5827 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5828
5829 fi;
5830
5831 eval "$ac_cv_use_mshtmlhelp"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5834 fi
5835
5836 if test "$wxUSE_MS_HTML_HELP" = yes; then
5837 echo "$as_me:$LINENO: result: yes" >&5
5838 echo "${ECHO_T}yes" >&6
5839 else
5840 echo "$as_me:$LINENO: result: no" >&5
5841 echo "${ECHO_T}no" >&6
5842 fi
5843
5844
5845 enablestring=
5846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
5847 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
5848 no_cache=0
5849 # Check whether --enable-html or --disable-html was given.
5850 if test "${enable_html+set}" = set; then
5851 enableval="$enable_html"
5852
5853 if test "$enableval" = yes; then
5854 ac_cv_use_html='wxUSE_HTML=yes'
5855 else
5856 ac_cv_use_html='wxUSE_HTML=no'
5857 fi
5858
5859 else
5860
5861 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5862 if test "x$LINE" != x ; then
5863 eval "DEFAULT_$LINE"
5864 else
5865 no_cache=1
5866 fi
5867
5868 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5869
5870 fi;
5871
5872 eval "$ac_cv_use_html"
5873 if test "$no_cache" != 1; then
5874 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5875 fi
5876
5877 if test "$wxUSE_HTML" = yes; then
5878 echo "$as_me:$LINENO: result: yes" >&5
5879 echo "${ECHO_T}yes" >&6
5880 else
5881 echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6
5883 fi
5884
5885
5886 enablestring=
5887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
5889 no_cache=0
5890 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5891 if test "${enable_htmlhelp+set}" = set; then
5892 enableval="$enable_htmlhelp"
5893
5894 if test "$enableval" = yes; then
5895 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
5896 else
5897 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
5898 fi
5899
5900 else
5901
5902 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5903 if test "x$LINE" != x ; then
5904 eval "DEFAULT_$LINE"
5905 else
5906 no_cache=1
5907 fi
5908
5909 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5910
5911 fi;
5912
5913 eval "$ac_cv_use_htmlhelp"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5916 fi
5917
5918 if test "$wxUSE_WXHTML_HELP" = yes; then
5919 echo "$as_me:$LINENO: result: yes" >&5
5920 echo "${ECHO_T}yes" >&6
5921 else
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5924 fi
5925
5926
5927 enablestring=
5928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
5929 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
5930 no_cache=0
5931 # Check whether --enable-constraints or --disable-constraints was given.
5932 if test "${enable_constraints+set}" = set; then
5933 enableval="$enable_constraints"
5934
5935 if test "$enableval" = yes; then
5936 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
5937 else
5938 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
5939 fi
5940
5941 else
5942
5943 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x ; then
5945 eval "DEFAULT_$LINE"
5946 else
5947 no_cache=1
5948 fi
5949
5950 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5951
5952 fi;
5953
5954 eval "$ac_cv_use_constraints"
5955 if test "$no_cache" != 1; then
5956 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5957 fi
5958
5959 if test "$wxUSE_CONSTRAINTS" = yes; then
5960 echo "$as_me:$LINENO: result: yes" >&5
5961 echo "${ECHO_T}yes" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5965 fi
5966
5967
5968 enablestring=
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
5971 no_cache=0
5972 # Check whether --enable-printarch or --disable-printarch was given.
5973 if test "${enable_printarch+set}" = set; then
5974 enableval="$enable_printarch"
5975
5976 if test "$enableval" = yes; then
5977 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
5978 else
5979 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
5980 fi
5981
5982 else
5983
5984 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x ; then
5986 eval "DEFAULT_$LINE"
5987 else
5988 no_cache=1
5989 fi
5990
5991 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5992
5993 fi;
5994
5995 eval "$ac_cv_use_printarch"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5998 fi
5999
6000 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6001 echo "$as_me:$LINENO: result: yes" >&5
6002 echo "${ECHO_T}yes" >&6
6003 else
6004 echo "$as_me:$LINENO: result: no" >&5
6005 echo "${ECHO_T}no" >&6
6006 fi
6007
6008
6009 enablestring=
6010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6011 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6012 no_cache=0
6013 # Check whether --enable-mdi or --disable-mdi was given.
6014 if test "${enable_mdi+set}" = set; then
6015 enableval="$enable_mdi"
6016
6017 if test "$enableval" = yes; then
6018 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=yes'
6019 else
6020 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE=no'
6021 fi
6022
6023 else
6024
6025 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6026 if test "x$LINE" != x ; then
6027 eval "DEFAULT_$LINE"
6028 else
6029 no_cache=1
6030 fi
6031
6032 ac_cv_use_mdi='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6033
6034 fi;
6035
6036 eval "$ac_cv_use_mdi"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6039 fi
6040
6041 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6042 echo "$as_me:$LINENO: result: yes" >&5
6043 echo "${ECHO_T}yes" >&6
6044 else
6045 echo "$as_me:$LINENO: result: no" >&5
6046 echo "${ECHO_T}no" >&6
6047 fi
6048
6049
6050 enablestring=
6051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6052 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6053 no_cache=0
6054 # Check whether --enable-loggui or --disable-loggui was given.
6055 if test "${enable_loggui+set}" = set; then
6056 enableval="$enable_loggui"
6057
6058 if test "$enableval" = yes; then
6059 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6060 else
6061 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6062 fi
6063
6064 else
6065
6066 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6067 if test "x$LINE" != x ; then
6068 eval "DEFAULT_$LINE"
6069 else
6070 no_cache=1
6071 fi
6072
6073 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6074
6075 fi;
6076
6077 eval "$ac_cv_use_loggui"
6078 if test "$no_cache" != 1; then
6079 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6080 fi
6081
6082 if test "$wxUSE_LOGGUI" = yes; then
6083 echo "$as_me:$LINENO: result: yes" >&5
6084 echo "${ECHO_T}yes" >&6
6085 else
6086 echo "$as_me:$LINENO: result: no" >&5
6087 echo "${ECHO_T}no" >&6
6088 fi
6089
6090
6091 enablestring=
6092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6093 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6094 no_cache=0
6095 # Check whether --enable-logwin or --disable-logwin was given.
6096 if test "${enable_logwin+set}" = set; then
6097 enableval="$enable_logwin"
6098
6099 if test "$enableval" = yes; then
6100 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6101 else
6102 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6103 fi
6104
6105 else
6106
6107 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6108 if test "x$LINE" != x ; then
6109 eval "DEFAULT_$LINE"
6110 else
6111 no_cache=1
6112 fi
6113
6114 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6115
6116 fi;
6117
6118 eval "$ac_cv_use_logwin"
6119 if test "$no_cache" != 1; then
6120 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6121 fi
6122
6123 if test "$wxUSE_LOGWINDOW" = yes; then
6124 echo "$as_me:$LINENO: result: yes" >&5
6125 echo "${ECHO_T}yes" >&6
6126 else
6127 echo "$as_me:$LINENO: result: no" >&5
6128 echo "${ECHO_T}no" >&6
6129 fi
6130
6131
6132 enablestring=
6133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6134 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6135 no_cache=0
6136 # Check whether --enable-logdialog or --disable-logdialog was given.
6137 if test "${enable_logdialog+set}" = set; then
6138 enableval="$enable_logdialog"
6139
6140 if test "$enableval" = yes; then
6141 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6142 else
6143 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6144 fi
6145
6146 else
6147
6148 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x ; then
6150 eval "DEFAULT_$LINE"
6151 else
6152 no_cache=1
6153 fi
6154
6155 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6156
6157 fi;
6158
6159 eval "$ac_cv_use_logdialog"
6160 if test "$no_cache" != 1; then
6161 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6162 fi
6163
6164 if test "$wxUSE_LOGDIALOG" = yes; then
6165 echo "$as_me:$LINENO: result: yes" >&5
6166 echo "${ECHO_T}yes" >&6
6167 else
6168 echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6
6170 fi
6171
6172
6173
6174 enablestring=
6175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6177 no_cache=0
6178 # Check whether --enable-postscript or --disable-postscript was given.
6179 if test "${enable_postscript+set}" = set; then
6180 enableval="$enable_postscript"
6181
6182 if test "$enableval" = yes; then
6183 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6184 else
6185 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6186 fi
6187
6188 else
6189
6190 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6191 if test "x$LINE" != x ; then
6192 eval "DEFAULT_$LINE"
6193 else
6194 no_cache=1
6195 fi
6196
6197 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6198
6199 fi;
6200
6201 eval "$ac_cv_use_postscript"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6204 fi
6205
6206 if test "$wxUSE_POSTSCRIPT" = yes; then
6207 echo "$as_me:$LINENO: result: yes" >&5
6208 echo "${ECHO_T}yes" >&6
6209 else
6210 echo "$as_me:$LINENO: result: no" >&5
6211 echo "${ECHO_T}no" >&6
6212 fi
6213
6214
6215
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-prologio or --disable-prologio was given.
6223 if test "${enable_prologio+set}" = set; then
6224 enableval="$enable_prologio"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6228 else
6229 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x ; then
6236 eval "DEFAULT_$LINE"
6237 else
6238 no_cache=1
6239 fi
6240
6241 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6242
6243 fi;
6244
6245 eval "$ac_cv_use_prologio"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_PROLOGIO" = yes; then
6251 echo "$as_me:$LINENO: result: yes" >&5
6252 echo "${ECHO_T}yes" >&6
6253 else
6254 echo "$as_me:$LINENO: result: no" >&5
6255 echo "${ECHO_T}no" >&6
6256 fi
6257
6258
6259 enablestring=
6260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-resources or --disable-resources was given.
6264 if test "${enable_resources+set}" = set; then
6265 enableval="$enable_resources"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6269 else
6270 ac_cv_use_resources='wxUSE_RESOURCES=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x ; then
6277 eval "DEFAULT_$LINE"
6278 else
6279 no_cache=1
6280 fi
6281
6282 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6283
6284 fi;
6285
6286 eval "$ac_cv_use_resources"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_RESOURCES" = yes; then
6292 echo "$as_me:$LINENO: result: yes" >&5
6293 echo "${ECHO_T}yes" >&6
6294 else
6295 echo "$as_me:$LINENO: result: no" >&5
6296 echo "${ECHO_T}no" >&6
6297 fi
6298
6299
6300
6301
6302 enablestring=
6303 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6304 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6305 no_cache=0
6306 # Check whether --enable-clipboard or --disable-clipboard was given.
6307 if test "${enable_clipboard+set}" = set; then
6308 enableval="$enable_clipboard"
6309
6310 if test "$enableval" = yes; then
6311 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6312 else
6313 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6314 fi
6315
6316 else
6317
6318 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x ; then
6320 eval "DEFAULT_$LINE"
6321 else
6322 no_cache=1
6323 fi
6324
6325 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6326
6327 fi;
6328
6329 eval "$ac_cv_use_clipboard"
6330 if test "$no_cache" != 1; then
6331 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6332 fi
6333
6334 if test "$wxUSE_CLIPBOARD" = yes; then
6335 echo "$as_me:$LINENO: result: yes" >&5
6336 echo "${ECHO_T}yes" >&6
6337 else
6338 echo "$as_me:$LINENO: result: no" >&5
6339 echo "${ECHO_T}no" >&6
6340 fi
6341
6342
6343 enablestring=
6344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6345 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6346 no_cache=0
6347 # Check whether --enable-dnd or --disable-dnd was given.
6348 if test "${enable_dnd+set}" = set; then
6349 enableval="$enable_dnd"
6350
6351 if test "$enableval" = yes; then
6352 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6353 else
6354 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6355 fi
6356
6357 else
6358
6359 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x ; then
6361 eval "DEFAULT_$LINE"
6362 else
6363 no_cache=1
6364 fi
6365
6366 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6367
6368 fi;
6369
6370 eval "$ac_cv_use_dnd"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6373 fi
6374
6375 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6378 else
6379 echo "$as_me:$LINENO: result: no" >&5
6380 echo "${ECHO_T}no" >&6
6381 fi
6382
6383
6384 enablestring=
6385 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6386 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6387 no_cache=0
6388 # Check whether --enable-metafile or --disable-metafile was given.
6389 if test "${enable_metafile+set}" = set; then
6390 enableval="$enable_metafile"
6391
6392 if test "$enableval" = yes; then
6393 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6394 else
6395 ac_cv_use_metafile='wxUSE_METAFILE=no'
6396 fi
6397
6398 else
6399
6400 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x ; then
6402 eval "DEFAULT_$LINE"
6403 else
6404 no_cache=1
6405 fi
6406
6407 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6408
6409 fi;
6410
6411 eval "$ac_cv_use_metafile"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6414 fi
6415
6416 if test "$wxUSE_METAFILE" = yes; then
6417 echo "$as_me:$LINENO: result: yes" >&5
6418 echo "${ECHO_T}yes" >&6
6419 else
6420 echo "$as_me:$LINENO: result: no" >&5
6421 echo "${ECHO_T}no" >&6
6422 fi
6423
6424
6425
6426
6427
6428 enablestring=
6429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6430 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6431 no_cache=0
6432 # Check whether --enable-controls or --disable-controls was given.
6433 if test "${enable_controls+set}" = set; then
6434 enableval="$enable_controls"
6435
6436 if test "$enableval" = yes; then
6437 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6438 else
6439 ac_cv_use_controls='wxUSE_CONTROLS=no'
6440 fi
6441
6442 else
6443
6444 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x ; then
6446 eval "DEFAULT_$LINE"
6447 else
6448 no_cache=1
6449 fi
6450
6451 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6452
6453 fi;
6454
6455 eval "$ac_cv_use_controls"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6458 fi
6459
6460 if test "$wxUSE_CONTROLS" = yes; then
6461 echo "$as_me:$LINENO: result: yes" >&5
6462 echo "${ECHO_T}yes" >&6
6463 else
6464 echo "$as_me:$LINENO: result: no" >&5
6465 echo "${ECHO_T}no" >&6
6466 fi
6467
6468
6469 if test "$wxUSE_CONTROLS" = "yes"; then
6470 DEFAULT_wxUSE_ACCEL=yes
6471 DEFAULT_wxUSE_BMPBUTTON=yes
6472 DEFAULT_wxUSE_BUTTON=yes
6473 DEFAULT_wxUSE_CALCTRL=no
6474 DEFAULT_wxUSE_CARET=yes
6475 DEFAULT_wxUSE_COMBOBOX=yes
6476 DEFAULT_wxUSE_CHECKBOX=yes
6477 DEFAULT_wxUSE_CHECKLISTBOX=yes
6478 DEFAULT_wxUSE_CHOICE=yes
6479 DEFAULT_wxUSE_GAUGE=yes
6480 DEFAULT_wxUSE_GRID=yes
6481 DEFAULT_wxUSE_IMAGLIST=yes
6482 DEFAULT_wxUSE_LISTBOOK=yes
6483 DEFAULT_wxUSE_LISTBOX=yes
6484 DEFAULT_wxUSE_LISTCTRL=yes
6485 DEFAULT_wxUSE_NOTEBOOK=yes
6486 DEFAULT_wxUSE_RADIOBOX=yes
6487 DEFAULT_wxUSE_RADIOBTN=yes
6488 DEFAULT_wxUSE_SASH=yes
6489 DEFAULT_wxUSE_SCROLLBAR=yes
6490 DEFAULT_wxUSE_SLIDER=yes
6491 DEFAULT_wxUSE_SPINBTN=yes
6492 DEFAULT_wxUSE_SPINCTRL=yes
6493 DEFAULT_wxUSE_SPLITTER=yes
6494 DEFAULT_wxUSE_STATBMP=yes
6495 DEFAULT_wxUSE_STATBOX=yes
6496 DEFAULT_wxUSE_STATLINE=yes
6497 DEFAULT_wxUSE_STATUSBAR=yes
6498 DEFAULT_wxUSE_TAB_DIALOG=yes
6499 DEFAULT_wxUSE_TOGGLEBTN=yes
6500 DEFAULT_wxUSE_TOOLBAR=yes
6501 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6502 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6503 DEFAULT_wxUSE_TOOLTIPS=yes
6504 DEFAULT_wxUSE_TREECTRL=yes
6505 DEFAULT_wxUSE_POPUPWIN=yes
6506 DEFAULT_wxUSE_TIPWINDOW=yes
6507 elif test "$wxUSE_CONTROLS" = "no"; then
6508 DEFAULT_wxUSE_ACCEL=no
6509 DEFAULT_wxUSE_BMPBUTTON=no
6510 DEFAULT_wxUSE_BUTTON=no
6511 DEFAULT_wxUSE_CALCTRL=no
6512 DEFAULT_wxUSE_CARET=no
6513 DEFAULT_wxUSE_COMBOBOX=no
6514 DEFAULT_wxUSE_CHECKBOX=no
6515 DEFAULT_wxUSE_CHECKLISTBOX=no
6516 DEFAULT_wxUSE_CHOICE=no
6517 DEFAULT_wxUSE_GAUGE=no
6518 DEFAULT_wxUSE_GRID=no
6519 DEFAULT_wxUSE_IMAGLIST=no
6520 DEFAULT_wxUSE_LISTBOOK=no
6521 DEFAULT_wxUSE_LISTBOX=no
6522 DEFAULT_wxUSE_LISTCTRL=no
6523 DEFAULT_wxUSE_NOTEBOOK=no
6524 DEFAULT_wxUSE_RADIOBOX=no
6525 DEFAULT_wxUSE_RADIOBTN=no
6526 DEFAULT_wxUSE_SASH=no
6527 DEFAULT_wxUSE_SCROLLBAR=no
6528 DEFAULT_wxUSE_SLIDER=no
6529 DEFAULT_wxUSE_SPINBTN=no
6530 DEFAULT_wxUSE_SPINCTRL=no
6531 DEFAULT_wxUSE_SPLITTER=no
6532 DEFAULT_wxUSE_STATBMP=no
6533 DEFAULT_wxUSE_STATBOX=no
6534 DEFAULT_wxUSE_STATLINE=no
6535 DEFAULT_wxUSE_STATUSBAR=no
6536 DEFAULT_wxUSE_TAB_DIALOG=no
6537 DEFAULT_wxUSE_TOGGLEBTN=no
6538 DEFAULT_wxUSE_TOOLBAR=no
6539 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6540 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6541 DEFAULT_wxUSE_TOOLTIPS=no
6542 DEFAULT_wxUSE_TREECTRL=no
6543 DEFAULT_wxUSE_POPUPWIN=no
6544 DEFAULT_wxUSE_TIPWINDOW=no
6545 fi
6546
6547 ## FIXME: This is a blatant hack
6548 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6549 wxUSE_PRINTING_ARCHITECTURE=no
6550 wxUSE_DRAG_AND_DROP=no
6551 # Generic notebook requires tab dialog
6552 DEFAULT_wxUSE_TABDIALOG=yes
6553 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6554 DEFAULT_wxUSE_SCROLLBAR=no
6555 DEFAULT_wxUSE_TOOLTIPS=no
6556 DEFAULT_wxUSE_DRAGIMAGE=no
6557 fi
6558
6559
6560 enablestring=
6561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6562 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6563 no_cache=0
6564 # Check whether --enable-accel or --disable-accel was given.
6565 if test "${enable_accel+set}" = set; then
6566 enableval="$enable_accel"
6567
6568 if test "$enableval" = yes; then
6569 ac_cv_use_accel='wxUSE_ACCEL=yes'
6570 else
6571 ac_cv_use_accel='wxUSE_ACCEL=no'
6572 fi
6573
6574 else
6575
6576 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x ; then
6578 eval "DEFAULT_$LINE"
6579 else
6580 no_cache=1
6581 fi
6582
6583 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6584
6585 fi;
6586
6587 eval "$ac_cv_use_accel"
6588 if test "$no_cache" != 1; then
6589 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6590 fi
6591
6592 if test "$wxUSE_ACCEL" = yes; then
6593 echo "$as_me:$LINENO: result: yes" >&5
6594 echo "${ECHO_T}yes" >&6
6595 else
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6598 fi
6599
6600
6601 enablestring=
6602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6604 no_cache=0
6605 # Check whether --enable-button or --disable-button was given.
6606 if test "${enable_button+set}" = set; then
6607 enableval="$enable_button"
6608
6609 if test "$enableval" = yes; then
6610 ac_cv_use_button='wxUSE_BUTTON=yes'
6611 else
6612 ac_cv_use_button='wxUSE_BUTTON=no'
6613 fi
6614
6615 else
6616
6617 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6618 if test "x$LINE" != x ; then
6619 eval "DEFAULT_$LINE"
6620 else
6621 no_cache=1
6622 fi
6623
6624 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6625
6626 fi;
6627
6628 eval "$ac_cv_use_button"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6631 fi
6632
6633 if test "$wxUSE_BUTTON" = yes; then
6634 echo "$as_me:$LINENO: result: yes" >&5
6635 echo "${ECHO_T}yes" >&6
6636 else
6637 echo "$as_me:$LINENO: result: no" >&5
6638 echo "${ECHO_T}no" >&6
6639 fi
6640
6641
6642 enablestring=
6643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6644 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6645 no_cache=0
6646 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6647 if test "${enable_bmpbutton+set}" = set; then
6648 enableval="$enable_bmpbutton"
6649
6650 if test "$enableval" = yes; then
6651 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6652 else
6653 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6654 fi
6655
6656 else
6657
6658 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6659 if test "x$LINE" != x ; then
6660 eval "DEFAULT_$LINE"
6661 else
6662 no_cache=1
6663 fi
6664
6665 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6666
6667 fi;
6668
6669 eval "$ac_cv_use_bmpbutton"
6670 if test "$no_cache" != 1; then
6671 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6672 fi
6673
6674 if test "$wxUSE_BMPBUTTON" = yes; then
6675 echo "$as_me:$LINENO: result: yes" >&5
6676 echo "${ECHO_T}yes" >&6
6677 else
6678 echo "$as_me:$LINENO: result: no" >&5
6679 echo "${ECHO_T}no" >&6
6680 fi
6681
6682
6683 enablestring=
6684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
6686 no_cache=0
6687 # Check whether --enable-calendar or --disable-calendar was given.
6688 if test "${enable_calendar+set}" = set; then
6689 enableval="$enable_calendar"
6690
6691 if test "$enableval" = yes; then
6692 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
6693 else
6694 ac_cv_use_calendar='wxUSE_CALCTRL=no'
6695 fi
6696
6697 else
6698
6699 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6700 if test "x$LINE" != x ; then
6701 eval "DEFAULT_$LINE"
6702 else
6703 no_cache=1
6704 fi
6705
6706 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6707
6708 fi;
6709
6710 eval "$ac_cv_use_calendar"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6713 fi
6714
6715 if test "$wxUSE_CALCTRL" = yes; then
6716 echo "$as_me:$LINENO: result: yes" >&5
6717 echo "${ECHO_T}yes" >&6
6718 else
6719 echo "$as_me:$LINENO: result: no" >&5
6720 echo "${ECHO_T}no" >&6
6721 fi
6722
6723
6724 enablestring=
6725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
6726 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
6727 no_cache=0
6728 # Check whether --enable-caret or --disable-caret was given.
6729 if test "${enable_caret+set}" = set; then
6730 enableval="$enable_caret"
6731
6732 if test "$enableval" = yes; then
6733 ac_cv_use_caret='wxUSE_CARET=yes'
6734 else
6735 ac_cv_use_caret='wxUSE_CARET=no'
6736 fi
6737
6738 else
6739
6740 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x ; then
6742 eval "DEFAULT_$LINE"
6743 else
6744 no_cache=1
6745 fi
6746
6747 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6748
6749 fi;
6750
6751 eval "$ac_cv_use_caret"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6754 fi
6755
6756 if test "$wxUSE_CARET" = yes; then
6757 echo "$as_me:$LINENO: result: yes" >&5
6758 echo "${ECHO_T}yes" >&6
6759 else
6760 echo "$as_me:$LINENO: result: no" >&5
6761 echo "${ECHO_T}no" >&6
6762 fi
6763
6764
6765 enablestring=
6766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
6767 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
6768 no_cache=0
6769 # Check whether --enable-checkbox or --disable-checkbox was given.
6770 if test "${enable_checkbox+set}" = set; then
6771 enableval="$enable_checkbox"
6772
6773 if test "$enableval" = yes; then
6774 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
6775 else
6776 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
6777 fi
6778
6779 else
6780
6781 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x ; then
6783 eval "DEFAULT_$LINE"
6784 else
6785 no_cache=1
6786 fi
6787
6788 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6789
6790 fi;
6791
6792 eval "$ac_cv_use_checkbox"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6795 fi
6796
6797 if test "$wxUSE_CHECKBOX" = yes; then
6798 echo "$as_me:$LINENO: result: yes" >&5
6799 echo "${ECHO_T}yes" >&6
6800 else
6801 echo "$as_me:$LINENO: result: no" >&5
6802 echo "${ECHO_T}no" >&6
6803 fi
6804
6805
6806 enablestring=
6807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
6808 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
6809 no_cache=0
6810 # Check whether --enable-checklst or --disable-checklst was given.
6811 if test "${enable_checklst+set}" = set; then
6812 enableval="$enable_checklst"
6813
6814 if test "$enableval" = yes; then
6815 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
6816 else
6817 ac_cv_use_checklst='wxUSE_CHECKLST=no'
6818 fi
6819
6820 else
6821
6822 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6823 if test "x$LINE" != x ; then
6824 eval "DEFAULT_$LINE"
6825 else
6826 no_cache=1
6827 fi
6828
6829 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6830
6831 fi;
6832
6833 eval "$ac_cv_use_checklst"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6836 fi
6837
6838 if test "$wxUSE_CHECKLST" = yes; then
6839 echo "$as_me:$LINENO: result: yes" >&5
6840 echo "${ECHO_T}yes" >&6
6841 else
6842 echo "$as_me:$LINENO: result: no" >&5
6843 echo "${ECHO_T}no" >&6
6844 fi
6845
6846
6847 enablestring=
6848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
6849 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
6850 no_cache=0
6851 # Check whether --enable-choice or --disable-choice was given.
6852 if test "${enable_choice+set}" = set; then
6853 enableval="$enable_choice"
6854
6855 if test "$enableval" = yes; then
6856 ac_cv_use_choice='wxUSE_CHOICE=yes'
6857 else
6858 ac_cv_use_choice='wxUSE_CHOICE=no'
6859 fi
6860
6861 else
6862
6863 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6864 if test "x$LINE" != x ; then
6865 eval "DEFAULT_$LINE"
6866 else
6867 no_cache=1
6868 fi
6869
6870 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6871
6872 fi;
6873
6874 eval "$ac_cv_use_choice"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6877 fi
6878
6879 if test "$wxUSE_CHOICE" = yes; then
6880 echo "$as_me:$LINENO: result: yes" >&5
6881 echo "${ECHO_T}yes" >&6
6882 else
6883 echo "$as_me:$LINENO: result: no" >&5
6884 echo "${ECHO_T}no" >&6
6885 fi
6886
6887
6888 enablestring=
6889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
6890 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
6891 no_cache=0
6892 # Check whether --enable-combobox or --disable-combobox was given.
6893 if test "${enable_combobox+set}" = set; then
6894 enableval="$enable_combobox"
6895
6896 if test "$enableval" = yes; then
6897 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
6898 else
6899 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
6900 fi
6901
6902 else
6903
6904 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x ; then
6906 eval "DEFAULT_$LINE"
6907 else
6908 no_cache=1
6909 fi
6910
6911 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6912
6913 fi;
6914
6915 eval "$ac_cv_use_combobox"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6918 fi
6919
6920 if test "$wxUSE_COMBOBOX" = yes; then
6921 echo "$as_me:$LINENO: result: yes" >&5
6922 echo "${ECHO_T}yes" >&6
6923 else
6924 echo "$as_me:$LINENO: result: no" >&5
6925 echo "${ECHO_T}no" >&6
6926 fi
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-display or --disable-display was given.
6934 if test "${enable_display+set}" = set; then
6935 enableval="$enable_display"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_display='wxUSE_DISPLAY=yes'
6939 else
6940 ac_cv_use_display='wxUSE_DISPLAY=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6953
6954 fi;
6955
6956 eval "$ac_cv_use_display"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DISPLAY" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-gauge or --disable-gauge was given.
6975 if test "${enable_gauge+set}" = set; then
6976 enableval="$enable_gauge"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_gauge='wxUSE_GAUGE=yes'
6980 else
6981 ac_cv_use_gauge='wxUSE_GAUGE=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6994
6995 fi;
6996
6997 eval "$ac_cv_use_gauge"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_GAUGE" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-grid or --disable-grid was given.
7016 if test "${enable_grid+set}" = set; then
7017 enableval="$enable_grid"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_grid='wxUSE_GRID=yes'
7021 else
7022 ac_cv_use_grid='wxUSE_GRID=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7035
7036 fi;
7037
7038 eval "$ac_cv_use_grid"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_GRID" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-imaglist or --disable-imaglist was given.
7057 if test "${enable_imaglist+set}" = set; then
7058 enableval="$enable_imaglist"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7062 else
7063 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7076
7077 fi;
7078
7079 eval "$ac_cv_use_imaglist"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_IMAGLIST" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-listbook or --disable-listbook was given.
7098 if test "${enable_listbook+set}" = set; then
7099 enableval="$enable_listbook"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7103 else
7104 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7117
7118 fi;
7119
7120 eval "$ac_cv_use_listbook"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_LISTBOOK" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-listbox or --disable-listbox was given.
7139 if test "${enable_listbox+set}" = set; then
7140 enableval="$enable_listbox"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7144 else
7145 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7158
7159 fi;
7160
7161 eval "$ac_cv_use_listbox"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_LISTBOX" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-listctrl or --disable-listctrl was given.
7180 if test "${enable_listctrl+set}" = set; then
7181 enableval="$enable_listctrl"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7185 else
7186 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7199
7200 fi;
7201
7202 eval "$ac_cv_use_listctrl"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_LISTCTRL" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-notebook or --disable-notebook was given.
7221 if test "${enable_notebook+set}" = set; then
7222 enableval="$enable_notebook"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7226 else
7227 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7240
7241 fi;
7242
7243 eval "$ac_cv_use_notebook"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_NOTEBOOK" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-radiobox or --disable-radiobox was given.
7262 if test "${enable_radiobox+set}" = set; then
7263 enableval="$enable_radiobox"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7267 else
7268 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7281
7282 fi;
7283
7284 eval "$ac_cv_use_radiobox"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_RADIOBOX" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7303 if test "${enable_radiobtn+set}" = set; then
7304 enableval="$enable_radiobtn"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7308 else
7309 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7322
7323 fi;
7324
7325 eval "$ac_cv_use_radiobtn"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_RADIOBTN" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-sash or --disable-sash was given.
7344 if test "${enable_sash+set}" = set; then
7345 enableval="$enable_sash"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_sash='wxUSE_SASH=yes'
7349 else
7350 ac_cv_use_sash='wxUSE_SASH=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7363
7364 fi;
7365
7366 eval "$ac_cv_use_sash"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_SASH" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7385 if test "${enable_scrollbar+set}" = set; then
7386 enableval="$enable_scrollbar"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7390 else
7391 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7404
7405 fi;
7406
7407 eval "$ac_cv_use_scrollbar"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_SCROLLBAR" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-slider or --disable-slider was given.
7426 if test "${enable_slider+set}" = set; then
7427 enableval="$enable_slider"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_slider='wxUSE_SLIDER=yes'
7431 else
7432 ac_cv_use_slider='wxUSE_SLIDER=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7445
7446 fi;
7447
7448 eval "$ac_cv_use_slider"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_SLIDER" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7467 if test "${enable_spinbtn+set}" = set; then
7468 enableval="$enable_spinbtn"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7472 else
7473 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7486
7487 fi;
7488
7489 eval "$ac_cv_use_spinbtn"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_SPINBTN" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7508 if test "${enable_spinctrl+set}" = set; then
7509 enableval="$enable_spinctrl"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7513 else
7514 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7527
7528 fi;
7529
7530 eval "$ac_cv_use_spinctrl"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_SPINCTRL" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-splitter or --disable-splitter was given.
7549 if test "${enable_splitter+set}" = set; then
7550 enableval="$enable_splitter"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7554 else
7555 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7568
7569 fi;
7570
7571 eval "$ac_cv_use_splitter"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_SPLITTER" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-statbmp or --disable-statbmp was given.
7590 if test "${enable_statbmp+set}" = set; then
7591 enableval="$enable_statbmp"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7595 else
7596 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7609
7610 fi;
7611
7612 eval "$ac_cv_use_statbmp"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_STATBMP" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626 enablestring=
7627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7628 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7629 no_cache=0
7630 # Check whether --enable-statbox or --disable-statbox was given.
7631 if test "${enable_statbox+set}" = set; then
7632 enableval="$enable_statbox"
7633
7634 if test "$enableval" = yes; then
7635 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7636 else
7637 ac_cv_use_statbox='wxUSE_STATBOX=no'
7638 fi
7639
7640 else
7641
7642 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x ; then
7644 eval "DEFAULT_$LINE"
7645 else
7646 no_cache=1
7647 fi
7648
7649 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7650
7651 fi;
7652
7653 eval "$ac_cv_use_statbox"
7654 if test "$no_cache" != 1; then
7655 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7656 fi
7657
7658 if test "$wxUSE_STATBOX" = yes; then
7659 echo "$as_me:$LINENO: result: yes" >&5
7660 echo "${ECHO_T}yes" >&6
7661 else
7662 echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6
7664 fi
7665
7666
7667 enablestring=
7668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
7669 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
7670 no_cache=0
7671 # Check whether --enable-statline or --disable-statline was given.
7672 if test "${enable_statline+set}" = set; then
7673 enableval="$enable_statline"
7674
7675 if test "$enableval" = yes; then
7676 ac_cv_use_statline='wxUSE_STATLINE=yes'
7677 else
7678 ac_cv_use_statline='wxUSE_STATLINE=no'
7679 fi
7680
7681 else
7682
7683 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x ; then
7685 eval "DEFAULT_$LINE"
7686 else
7687 no_cache=1
7688 fi
7689
7690 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7691
7692 fi;
7693
7694 eval "$ac_cv_use_statline"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7697 fi
7698
7699 if test "$wxUSE_STATLINE" = yes; then
7700 echo "$as_me:$LINENO: result: yes" >&5
7701 echo "${ECHO_T}yes" >&6
7702 else
7703 echo "$as_me:$LINENO: result: no" >&5
7704 echo "${ECHO_T}no" >&6
7705 fi
7706
7707
7708 enablestring=
7709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
7710 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
7711 no_cache=0
7712 # Check whether --enable-stattext or --disable-stattext was given.
7713 if test "${enable_stattext+set}" = set; then
7714 enableval="$enable_stattext"
7715
7716 if test "$enableval" = yes; then
7717 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
7718 else
7719 ac_cv_use_stattext='wxUSE_STATTEXT=no'
7720 fi
7721
7722 else
7723
7724 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x ; then
7726 eval "DEFAULT_$LINE"
7727 else
7728 no_cache=1
7729 fi
7730
7731 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7732
7733 fi;
7734
7735 eval "$ac_cv_use_stattext"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7738 fi
7739
7740 if test "$wxUSE_STATTEXT" = yes; then
7741 echo "$as_me:$LINENO: result: yes" >&5
7742 echo "${ECHO_T}yes" >&6
7743 else
7744 echo "$as_me:$LINENO: result: no" >&5
7745 echo "${ECHO_T}no" >&6
7746 fi
7747
7748
7749 enablestring=
7750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
7752 no_cache=0
7753 # Check whether --enable-statusbar or --disable-statusbar was given.
7754 if test "${enable_statusbar+set}" = set; then
7755 enableval="$enable_statusbar"
7756
7757 if test "$enableval" = yes; then
7758 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
7759 else
7760 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
7761 fi
7762
7763 else
7764
7765 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7766 if test "x$LINE" != x ; then
7767 eval "DEFAULT_$LINE"
7768 else
7769 no_cache=1
7770 fi
7771
7772 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7773
7774 fi;
7775
7776 eval "$ac_cv_use_statusbar"
7777 if test "$no_cache" != 1; then
7778 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7779 fi
7780
7781 if test "$wxUSE_STATUSBAR" = yes; then
7782 echo "$as_me:$LINENO: result: yes" >&5
7783 echo "${ECHO_T}yes" >&6
7784 else
7785 echo "$as_me:$LINENO: result: no" >&5
7786 echo "${ECHO_T}no" >&6
7787 fi
7788
7789
7790 enablestring=
7791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
7793 no_cache=0
7794 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7795 if test "${enable_tabdialog+set}" = set; then
7796 enableval="$enable_tabdialog"
7797
7798 if test "$enableval" = yes; then
7799 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
7800 else
7801 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
7802 fi
7803
7804 else
7805
7806 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7807 if test "x$LINE" != x ; then
7808 eval "DEFAULT_$LINE"
7809 else
7810 no_cache=1
7811 fi
7812
7813 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7814
7815 fi;
7816
7817 eval "$ac_cv_use_tabdialog"
7818 if test "$no_cache" != 1; then
7819 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7820 fi
7821
7822 if test "$wxUSE_TABDIALOG" = yes; then
7823 echo "$as_me:$LINENO: result: yes" >&5
7824 echo "${ECHO_T}yes" >&6
7825 else
7826 echo "$as_me:$LINENO: result: no" >&5
7827 echo "${ECHO_T}no" >&6
7828 fi
7829
7830
7831 enablestring=
7832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
7833 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
7834 no_cache=0
7835 # Check whether --enable-textctrl or --disable-textctrl was given.
7836 if test "${enable_textctrl+set}" = set; then
7837 enableval="$enable_textctrl"
7838
7839 if test "$enableval" = yes; then
7840 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
7841 else
7842 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
7843 fi
7844
7845 else
7846
7847 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7848 if test "x$LINE" != x ; then
7849 eval "DEFAULT_$LINE"
7850 else
7851 no_cache=1
7852 fi
7853
7854 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7855
7856 fi;
7857
7858 eval "$ac_cv_use_textctrl"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7861 fi
7862
7863 if test "$wxUSE_TEXTCTRL" = yes; then
7864 echo "$as_me:$LINENO: result: yes" >&5
7865 echo "${ECHO_T}yes" >&6
7866 else
7867 echo "$as_me:$LINENO: result: no" >&5
7868 echo "${ECHO_T}no" >&6
7869 fi
7870
7871
7872 enablestring=
7873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
7874 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
7875 no_cache=0
7876 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7877 if test "${enable_togglebtn+set}" = set; then
7878 enableval="$enable_togglebtn"
7879
7880 if test "$enableval" = yes; then
7881 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
7882 else
7883 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
7884 fi
7885
7886 else
7887
7888 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7889 if test "x$LINE" != x ; then
7890 eval "DEFAULT_$LINE"
7891 else
7892 no_cache=1
7893 fi
7894
7895 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7896
7897 fi;
7898
7899 eval "$ac_cv_use_togglebtn"
7900 if test "$no_cache" != 1; then
7901 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test "$wxUSE_TOGGLEBTN" = yes; then
7905 echo "$as_me:$LINENO: result: yes" >&5
7906 echo "${ECHO_T}yes" >&6
7907 else
7908 echo "$as_me:$LINENO: result: no" >&5
7909 echo "${ECHO_T}no" >&6
7910 fi
7911
7912
7913 enablestring=
7914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
7915 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
7916 no_cache=0
7917 # Check whether --enable-toolbar or --disable-toolbar was given.
7918 if test "${enable_toolbar+set}" = set; then
7919 enableval="$enable_toolbar"
7920
7921 if test "$enableval" = yes; then
7922 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
7923 else
7924 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
7925 fi
7926
7927 else
7928
7929 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7930 if test "x$LINE" != x ; then
7931 eval "DEFAULT_$LINE"
7932 else
7933 no_cache=1
7934 fi
7935
7936 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7937
7938 fi;
7939
7940 eval "$ac_cv_use_toolbar"
7941 if test "$no_cache" != 1; then
7942 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7943 fi
7944
7945 if test "$wxUSE_TOOLBAR" = yes; then
7946 echo "$as_me:$LINENO: result: yes" >&5
7947 echo "${ECHO_T}yes" >&6
7948 else
7949 echo "$as_me:$LINENO: result: no" >&5
7950 echo "${ECHO_T}no" >&6
7951 fi
7952
7953
7954 enablestring=
7955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
7956 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
7957 no_cache=0
7958 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7959 if test "${enable_tbarnative+set}" = set; then
7960 enableval="$enable_tbarnative"
7961
7962 if test "$enableval" = yes; then
7963 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
7964 else
7965 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
7966 fi
7967
7968 else
7969
7970 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7971 if test "x$LINE" != x ; then
7972 eval "DEFAULT_$LINE"
7973 else
7974 no_cache=1
7975 fi
7976
7977 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7978
7979 fi;
7980
7981 eval "$ac_cv_use_tbarnative"
7982 if test "$no_cache" != 1; then
7983 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7984 fi
7985
7986 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7987 echo "$as_me:$LINENO: result: yes" >&5
7988 echo "${ECHO_T}yes" >&6
7989 else
7990 echo "$as_me:$LINENO: result: no" >&5
7991 echo "${ECHO_T}no" >&6
7992 fi
7993
7994
7995 enablestring=
7996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
7997 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
7998 no_cache=0
7999 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8000 if test "${enable_tbarsmpl+set}" = set; then
8001 enableval="$enable_tbarsmpl"
8002
8003 if test "$enableval" = yes; then
8004 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8005 else
8006 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8007 fi
8008
8009 else
8010
8011 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8012 if test "x$LINE" != x ; then
8013 eval "DEFAULT_$LINE"
8014 else
8015 no_cache=1
8016 fi
8017
8018 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8019
8020 fi;
8021
8022 eval "$ac_cv_use_tbarsmpl"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8025 fi
8026
8027 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8028 echo "$as_me:$LINENO: result: yes" >&5
8029 echo "${ECHO_T}yes" >&6
8030 else
8031 echo "$as_me:$LINENO: result: no" >&5
8032 echo "${ECHO_T}no" >&6
8033 fi
8034
8035
8036 enablestring=
8037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8038 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8039 no_cache=0
8040 # Check whether --enable-treectrl or --disable-treectrl was given.
8041 if test "${enable_treectrl+set}" = set; then
8042 enableval="$enable_treectrl"
8043
8044 if test "$enableval" = yes; then
8045 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8046 else
8047 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8048 fi
8049
8050 else
8051
8052 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8053 if test "x$LINE" != x ; then
8054 eval "DEFAULT_$LINE"
8055 else
8056 no_cache=1
8057 fi
8058
8059 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8060
8061 fi;
8062
8063 eval "$ac_cv_use_treectrl"
8064 if test "$no_cache" != 1; then
8065 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8066 fi
8067
8068 if test "$wxUSE_TREECTRL" = yes; then
8069 echo "$as_me:$LINENO: result: yes" >&5
8070 echo "${ECHO_T}yes" >&6
8071 else
8072 echo "$as_me:$LINENO: result: no" >&5
8073 echo "${ECHO_T}no" >&6
8074 fi
8075
8076
8077 enablestring=
8078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8079 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8080 no_cache=0
8081 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8082 if test "${enable_tipwindow+set}" = set; then
8083 enableval="$enable_tipwindow"
8084
8085 if test "$enableval" = yes; then
8086 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8087 else
8088 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8089 fi
8090
8091 else
8092
8093 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8094 if test "x$LINE" != x ; then
8095 eval "DEFAULT_$LINE"
8096 else
8097 no_cache=1
8098 fi
8099
8100 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8101
8102 fi;
8103
8104 eval "$ac_cv_use_tipwindow"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8107 fi
8108
8109 if test "$wxUSE_TIPWINDOW" = yes; then
8110 echo "$as_me:$LINENO: result: yes" >&5
8111 echo "${ECHO_T}yes" >&6
8112 else
8113 echo "$as_me:$LINENO: result: no" >&5
8114 echo "${ECHO_T}no" >&6
8115 fi
8116
8117
8118 enablestring=
8119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8120 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8121 no_cache=0
8122 # Check whether --enable-popupwin or --disable-popupwin was given.
8123 if test "${enable_popupwin+set}" = set; then
8124 enableval="$enable_popupwin"
8125
8126 if test "$enableval" = yes; then
8127 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8128 else
8129 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8130 fi
8131
8132 else
8133
8134 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8135 if test "x$LINE" != x ; then
8136 eval "DEFAULT_$LINE"
8137 else
8138 no_cache=1
8139 fi
8140
8141 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8142
8143 fi;
8144
8145 eval "$ac_cv_use_popupwin"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8148 fi
8149
8150 if test "$wxUSE_POPUPWIN" = yes; then
8151 echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6
8153 else
8154 echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6
8156 fi
8157
8158
8159
8160
8161 enablestring=
8162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8163 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8164 no_cache=0
8165 # Check whether --enable-commondlg or --disable-commondlg was given.
8166 if test "${enable_commondlg+set}" = set; then
8167 enableval="$enable_commondlg"
8168
8169 if test "$enableval" = yes; then
8170 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8171 else
8172 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8173 fi
8174
8175 else
8176
8177 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8178 if test "x$LINE" != x ; then
8179 eval "DEFAULT_$LINE"
8180 else
8181 no_cache=1
8182 fi
8183
8184 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8185
8186 fi;
8187
8188 eval "$ac_cv_use_commondlg"
8189 if test "$no_cache" != 1; then
8190 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8191 fi
8192
8193 if test "$wxUSE_COMMONDLGS" = yes; then
8194 echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6
8196 else
8197 echo "$as_me:$LINENO: result: no" >&5
8198 echo "${ECHO_T}no" >&6
8199 fi
8200
8201
8202 enablestring=
8203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8205 no_cache=0
8206 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8207 if test "${enable_choicedlg+set}" = set; then
8208 enableval="$enable_choicedlg"
8209
8210 if test "$enableval" = yes; then
8211 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8212 else
8213 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8214 fi
8215
8216 else
8217
8218 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x ; then
8220 eval "DEFAULT_$LINE"
8221 else
8222 no_cache=1
8223 fi
8224
8225 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8226
8227 fi;
8228
8229 eval "$ac_cv_use_choicedlg"
8230 if test "$no_cache" != 1; then
8231 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8232 fi
8233
8234 if test "$wxUSE_CHOICEDLG" = yes; then
8235 echo "$as_me:$LINENO: result: yes" >&5
8236 echo "${ECHO_T}yes" >&6
8237 else
8238 echo "$as_me:$LINENO: result: no" >&5
8239 echo "${ECHO_T}no" >&6
8240 fi
8241
8242
8243 enablestring=
8244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8245 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8246 no_cache=0
8247 # Check whether --enable-coldlg or --disable-coldlg was given.
8248 if test "${enable_coldlg+set}" = set; then
8249 enableval="$enable_coldlg"
8250
8251 if test "$enableval" = yes; then
8252 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8253 else
8254 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8255 fi
8256
8257 else
8258
8259 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8260 if test "x$LINE" != x ; then
8261 eval "DEFAULT_$LINE"
8262 else
8263 no_cache=1
8264 fi
8265
8266 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8267
8268 fi;
8269
8270 eval "$ac_cv_use_coldlg"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8273 fi
8274
8275 if test "$wxUSE_COLOURDLG" = yes; then
8276 echo "$as_me:$LINENO: result: yes" >&5
8277 echo "${ECHO_T}yes" >&6
8278 else
8279 echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6
8281 fi
8282
8283
8284 enablestring=
8285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8287 no_cache=0
8288 # Check whether --enable-filedlg or --disable-filedlg was given.
8289 if test "${enable_filedlg+set}" = set; then
8290 enableval="$enable_filedlg"
8291
8292 if test "$enableval" = yes; then
8293 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8294 else
8295 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8296 fi
8297
8298 else
8299
8300 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x ; then
8302 eval "DEFAULT_$LINE"
8303 else
8304 no_cache=1
8305 fi
8306
8307 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8308
8309 fi;
8310
8311 eval "$ac_cv_use_filedlg"
8312 if test "$no_cache" != 1; then
8313 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8314 fi
8315
8316 if test "$wxUSE_FILEDLG" = yes; then
8317 echo "$as_me:$LINENO: result: yes" >&5
8318 echo "${ECHO_T}yes" >&6
8319 else
8320 echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6
8322 fi
8323
8324
8325 enablestring=
8326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8328 no_cache=0
8329 # Check whether --enable-finddlg or --disable-finddlg was given.
8330 if test "${enable_finddlg+set}" = set; then
8331 enableval="$enable_finddlg"
8332
8333 if test "$enableval" = yes; then
8334 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8335 else
8336 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8337 fi
8338
8339 else
8340
8341 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8342 if test "x$LINE" != x ; then
8343 eval "DEFAULT_$LINE"
8344 else
8345 no_cache=1
8346 fi
8347
8348 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8349
8350 fi;
8351
8352 eval "$ac_cv_use_finddlg"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8355 fi
8356
8357 if test "$wxUSE_FINDREPLDLG" = yes; then
8358 echo "$as_me:$LINENO: result: yes" >&5
8359 echo "${ECHO_T}yes" >&6
8360 else
8361 echo "$as_me:$LINENO: result: no" >&5
8362 echo "${ECHO_T}no" >&6
8363 fi
8364
8365
8366 enablestring=
8367 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8368 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8369 no_cache=0
8370 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8371 if test "${enable_fontdlg+set}" = set; then
8372 enableval="$enable_fontdlg"
8373
8374 if test "$enableval" = yes; then
8375 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8376 else
8377 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8378 fi
8379
8380 else
8381
8382 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x ; then
8384 eval "DEFAULT_$LINE"
8385 else
8386 no_cache=1
8387 fi
8388
8389 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8390
8391 fi;
8392
8393 eval "$ac_cv_use_fontdlg"
8394 if test "$no_cache" != 1; then
8395 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8396 fi
8397
8398 if test "$wxUSE_FONTDLG" = yes; then
8399 echo "$as_me:$LINENO: result: yes" >&5
8400 echo "${ECHO_T}yes" >&6
8401 else
8402 echo "$as_me:$LINENO: result: no" >&5
8403 echo "${ECHO_T}no" >&6
8404 fi
8405
8406
8407 enablestring=
8408 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8410 no_cache=0
8411 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8412 if test "${enable_dirdlg+set}" = set; then
8413 enableval="$enable_dirdlg"
8414
8415 if test "$enableval" = yes; then
8416 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8417 else
8418 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8419 fi
8420
8421 else
8422
8423 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x ; then
8425 eval "DEFAULT_$LINE"
8426 else
8427 no_cache=1
8428 fi
8429
8430 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8431
8432 fi;
8433
8434 eval "$ac_cv_use_dirdlg"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8437 fi
8438
8439 if test "$wxUSE_DIRDLG" = yes; then
8440 echo "$as_me:$LINENO: result: yes" >&5
8441 echo "${ECHO_T}yes" >&6
8442 else
8443 echo "$as_me:$LINENO: result: no" >&5
8444 echo "${ECHO_T}no" >&6
8445 fi
8446
8447
8448 enablestring=
8449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8451 no_cache=0
8452 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8453 if test "${enable_msgdlg+set}" = set; then
8454 enableval="$enable_msgdlg"
8455
8456 if test "$enableval" = yes; then
8457 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8458 else
8459 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8460 fi
8461
8462 else
8463
8464 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8465 if test "x$LINE" != x ; then
8466 eval "DEFAULT_$LINE"
8467 else
8468 no_cache=1
8469 fi
8470
8471 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8472
8473 fi;
8474
8475 eval "$ac_cv_use_msgdlg"
8476 if test "$no_cache" != 1; then
8477 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8478 fi
8479
8480 if test "$wxUSE_MSGDLG" = yes; then
8481 echo "$as_me:$LINENO: result: yes" >&5
8482 echo "${ECHO_T}yes" >&6
8483 else
8484 echo "$as_me:$LINENO: result: no" >&5
8485 echo "${ECHO_T}no" >&6
8486 fi
8487
8488
8489 enablestring=
8490 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8491 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8492 no_cache=0
8493 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8494 if test "${enable_numberdlg+set}" = set; then
8495 enableval="$enable_numberdlg"
8496
8497 if test "$enableval" = yes; then
8498 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8499 else
8500 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8501 fi
8502
8503 else
8504
8505 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8506 if test "x$LINE" != x ; then
8507 eval "DEFAULT_$LINE"
8508 else
8509 no_cache=1
8510 fi
8511
8512 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8513
8514 fi;
8515
8516 eval "$ac_cv_use_numberdlg"
8517 if test "$no_cache" != 1; then
8518 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test "$wxUSE_NUMBERDLG" = yes; then
8522 echo "$as_me:$LINENO: result: yes" >&5
8523 echo "${ECHO_T}yes" >&6
8524 else
8525 echo "$as_me:$LINENO: result: no" >&5
8526 echo "${ECHO_T}no" >&6
8527 fi
8528
8529
8530 enablestring=
8531 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8532 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8533 no_cache=0
8534 # Check whether --enable-splash or --disable-splash was given.
8535 if test "${enable_splash+set}" = set; then
8536 enableval="$enable_splash"
8537
8538 if test "$enableval" = yes; then
8539 ac_cv_use_splash='wxUSE_SPLASH=yes'
8540 else
8541 ac_cv_use_splash='wxUSE_SPLASH=no'
8542 fi
8543
8544 else
8545
8546 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8547 if test "x$LINE" != x ; then
8548 eval "DEFAULT_$LINE"
8549 else
8550 no_cache=1
8551 fi
8552
8553 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8554
8555 fi;
8556
8557 eval "$ac_cv_use_splash"
8558 if test "$no_cache" != 1; then
8559 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8560 fi
8561
8562 if test "$wxUSE_SPLASH" = yes; then
8563 echo "$as_me:$LINENO: result: yes" >&5
8564 echo "${ECHO_T}yes" >&6
8565 else
8566 echo "$as_me:$LINENO: result: no" >&5
8567 echo "${ECHO_T}no" >&6
8568 fi
8569
8570
8571 enablestring=
8572 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8574 no_cache=0
8575 # Check whether --enable-textdlg or --disable-textdlg was given.
8576 if test "${enable_textdlg+set}" = set; then
8577 enableval="$enable_textdlg"
8578
8579 if test "$enableval" = yes; then
8580 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8581 else
8582 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8583 fi
8584
8585 else
8586
8587 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8588 if test "x$LINE" != x ; then
8589 eval "DEFAULT_$LINE"
8590 else
8591 no_cache=1
8592 fi
8593
8594 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8595
8596 fi;
8597
8598 eval "$ac_cv_use_textdlg"
8599 if test "$no_cache" != 1; then
8600 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8601 fi
8602
8603 if test "$wxUSE_TEXTDLG" = yes; then
8604 echo "$as_me:$LINENO: result: yes" >&5
8605 echo "${ECHO_T}yes" >&6
8606 else
8607 echo "$as_me:$LINENO: result: no" >&5
8608 echo "${ECHO_T}no" >&6
8609 fi
8610
8611
8612 enablestring=
8613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8614 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8615 no_cache=0
8616 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8617 if test "${enable_tipdlg+set}" = set; then
8618 enableval="$enable_tipdlg"
8619
8620 if test "$enableval" = yes; then
8621 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8622 else
8623 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8624 fi
8625
8626 else
8627
8628 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8629 if test "x$LINE" != x ; then
8630 eval "DEFAULT_$LINE"
8631 else
8632 no_cache=1
8633 fi
8634
8635 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8636
8637 fi;
8638
8639 eval "$ac_cv_use_tipdlg"
8640 if test "$no_cache" != 1; then
8641 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8642 fi
8643
8644 if test "$wxUSE_STARTUP_TIPS" = yes; then
8645 echo "$as_me:$LINENO: result: yes" >&5
8646 echo "${ECHO_T}yes" >&6
8647 else
8648 echo "$as_me:$LINENO: result: no" >&5
8649 echo "${ECHO_T}no" >&6
8650 fi
8651
8652
8653 enablestring=
8654 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8655 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8656 no_cache=0
8657 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8658 if test "${enable_progressdlg+set}" = set; then
8659 enableval="$enable_progressdlg"
8660
8661 if test "$enableval" = yes; then
8662 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8663 else
8664 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8665 fi
8666
8667 else
8668
8669 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8670 if test "x$LINE" != x ; then
8671 eval "DEFAULT_$LINE"
8672 else
8673 no_cache=1
8674 fi
8675
8676 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8677
8678 fi;
8679
8680 eval "$ac_cv_use_progressdlg"
8681 if test "$no_cache" != 1; then
8682 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8683 fi
8684
8685 if test "$wxUSE_PROGRESSDLG" = yes; then
8686 echo "$as_me:$LINENO: result: yes" >&5
8687 echo "${ECHO_T}yes" >&6
8688 else
8689 echo "$as_me:$LINENO: result: no" >&5
8690 echo "${ECHO_T}no" >&6
8691 fi
8692
8693
8694 enablestring=
8695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
8696 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
8697 no_cache=0
8698 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8699 if test "${enable_wizarddlg+set}" = set; then
8700 enableval="$enable_wizarddlg"
8701
8702 if test "$enableval" = yes; then
8703 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
8704 else
8705 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
8706 fi
8707
8708 else
8709
8710 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8711 if test "x$LINE" != x ; then
8712 eval "DEFAULT_$LINE"
8713 else
8714 no_cache=1
8715 fi
8716
8717 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8718
8719 fi;
8720
8721 eval "$ac_cv_use_wizarddlg"
8722 if test "$no_cache" != 1; then
8723 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8724 fi
8725
8726 if test "$wxUSE_WIZARDDLG" = yes; then
8727 echo "$as_me:$LINENO: result: yes" >&5
8728 echo "${ECHO_T}yes" >&6
8729 else
8730 echo "$as_me:$LINENO: result: no" >&5
8731 echo "${ECHO_T}no" >&6
8732 fi
8733
8734
8735
8736
8737 enablestring=
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
8740 no_cache=0
8741 # Check whether --enable-menus or --disable-menus was given.
8742 if test "${enable_menus+set}" = set; then
8743 enableval="$enable_menus"
8744
8745 if test "$enableval" = yes; then
8746 ac_cv_use_menus='wxUSE_MENUS=yes'
8747 else
8748 ac_cv_use_menus='wxUSE_MENUS=no'
8749 fi
8750
8751 else
8752
8753 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8756 else
8757 no_cache=1
8758 fi
8759
8760 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8761
8762 fi;
8763
8764 eval "$ac_cv_use_menus"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8767 fi
8768
8769 if test "$wxUSE_MENUS" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8772 else
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8775 fi
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-miniframe or --disable-miniframe was given.
8783 if test "${enable_miniframe+set}" = set; then
8784 enableval="$enable_miniframe"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
8788 else
8789 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
8790 fi
8791
8792 else
8793
8794 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8802
8803 fi;
8804
8805 eval "$ac_cv_use_miniframe"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_MINIFRAME" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-tooltips or --disable-tooltips was given.
8824 if test "${enable_tooltips+set}" = set; then
8825 enableval="$enable_tooltips"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
8829 else
8830 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
8831 fi
8832
8833 else
8834
8835 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8843
8844 fi;
8845
8846 eval "$ac_cv_use_tooltips"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_TOOLTIPS" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-splines or --disable-splines was given.
8865 if test "${enable_splines+set}" = set; then
8866 enableval="$enable_splines"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_splines='wxUSE_SPLINES=yes'
8870 else
8871 ac_cv_use_splines='wxUSE_SPLINES=no'
8872 fi
8873
8874 else
8875
8876 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8884
8885 fi;
8886
8887 eval "$ac_cv_use_splines"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_SPLINES" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-validators or --disable-validators was given.
8906 if test "${enable_validators+set}" = set; then
8907 enableval="$enable_validators"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
8911 else
8912 ac_cv_use_validators='wxUSE_VALIDATORS=no'
8913 fi
8914
8915 else
8916
8917 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8925
8926 fi;
8927
8928 eval "$ac_cv_use_validators"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_VALIDATORS" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8947 if test "${enable_busyinfo+set}" = set; then
8948 enableval="$enable_busyinfo"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
8952 else
8953 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
8954 fi
8955
8956 else
8957
8958 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8966
8967 fi;
8968
8969 eval "$ac_cv_use_busyinfo"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_BUSYINFO" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-joystick or --disable-joystick was given.
8988 if test "${enable_joystick+set}" = set; then
8989 enableval="$enable_joystick"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
8993 else
8994 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9007
9008 fi;
9009
9010 eval "$ac_cv_use_joystick"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_JOYSTICK" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-metafile or --disable-metafile was given.
9029 if test "${enable_metafile+set}" = set; then
9030 enableval="$enable_metafile"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9034 else
9035 ac_cv_use_metafile='wxUSE_METAFILE=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9048
9049 fi;
9050
9051 eval "$ac_cv_use_metafile"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_METAFILE" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-dragimage or --disable-dragimage was given.
9070 if test "${enable_dragimage+set}" = set; then
9071 enableval="$enable_dragimage"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9075 else
9076 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9089
9090 fi;
9091
9092 eval "$ac_cv_use_dragimage"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_DRAGIMAGE" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-accessibility or --disable-accessibility was given.
9111 if test "${enable_accessibility+set}" = set; then
9112 enableval="$enable_accessibility"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9116 else
9117 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9130
9131 fi;
9132
9133 eval "$ac_cv_use_accessibility"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_ACCESSIBILITY" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147
9148
9149 enablestring=
9150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9151 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9152 no_cache=0
9153 # Check whether --enable-palette or --disable-palette was given.
9154 if test "${enable_palette+set}" = set; then
9155 enableval="$enable_palette"
9156
9157 if test "$enableval" = yes; then
9158 ac_cv_use_palette='wxUSE_PALETTE=yes'
9159 else
9160 ac_cv_use_palette='wxUSE_PALETTE=no'
9161 fi
9162
9163 else
9164
9165 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9166 if test "x$LINE" != x ; then
9167 eval "DEFAULT_$LINE"
9168 else
9169 no_cache=1
9170 fi
9171
9172 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9173
9174 fi;
9175
9176 eval "$ac_cv_use_palette"
9177 if test "$no_cache" != 1; then
9178 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9179 fi
9180
9181 if test "$wxUSE_PALETTE" = yes; then
9182 echo "$as_me:$LINENO: result: yes" >&5
9183 echo "${ECHO_T}yes" >&6
9184 else
9185 echo "$as_me:$LINENO: result: no" >&5
9186 echo "${ECHO_T}no" >&6
9187 fi
9188
9189
9190 enablestring=
9191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9192 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9193 no_cache=0
9194 # Check whether --enable-image or --disable-image was given.
9195 if test "${enable_image+set}" = set; then
9196 enableval="$enable_image"
9197
9198 if test "$enableval" = yes; then
9199 ac_cv_use_image='wxUSE_IMAGE=yes'
9200 else
9201 ac_cv_use_image='wxUSE_IMAGE=no'
9202 fi
9203
9204 else
9205
9206 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9207 if test "x$LINE" != x ; then
9208 eval "DEFAULT_$LINE"
9209 else
9210 no_cache=1
9211 fi
9212
9213 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9214
9215 fi;
9216
9217 eval "$ac_cv_use_image"
9218 if test "$no_cache" != 1; then
9219 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9220 fi
9221
9222 if test "$wxUSE_IMAGE" = yes; then
9223 echo "$as_me:$LINENO: result: yes" >&5
9224 echo "${ECHO_T}yes" >&6
9225 else
9226 echo "$as_me:$LINENO: result: no" >&5
9227 echo "${ECHO_T}no" >&6
9228 fi
9229
9230
9231 enablestring=
9232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9233 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9234 no_cache=0
9235 # Check whether --enable-gif or --disable-gif was given.
9236 if test "${enable_gif+set}" = set; then
9237 enableval="$enable_gif"
9238
9239 if test "$enableval" = yes; then
9240 ac_cv_use_gif='wxUSE_GIF=yes'
9241 else
9242 ac_cv_use_gif='wxUSE_GIF=no'
9243 fi
9244
9245 else
9246
9247 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9248 if test "x$LINE" != x ; then
9249 eval "DEFAULT_$LINE"
9250 else
9251 no_cache=1
9252 fi
9253
9254 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9255
9256 fi;
9257
9258 eval "$ac_cv_use_gif"
9259 if test "$no_cache" != 1; then
9260 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9261 fi
9262
9263 if test "$wxUSE_GIF" = yes; then
9264 echo "$as_me:$LINENO: result: yes" >&5
9265 echo "${ECHO_T}yes" >&6
9266 else
9267 echo "$as_me:$LINENO: result: no" >&5
9268 echo "${ECHO_T}no" >&6
9269 fi
9270
9271
9272 enablestring=
9273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9274 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9275 no_cache=0
9276 # Check whether --enable-pcx or --disable-pcx was given.
9277 if test "${enable_pcx+set}" = set; then
9278 enableval="$enable_pcx"
9279
9280 if test "$enableval" = yes; then
9281 ac_cv_use_pcx='wxUSE_PCX=yes'
9282 else
9283 ac_cv_use_pcx='wxUSE_PCX=no'
9284 fi
9285
9286 else
9287
9288 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9289 if test "x$LINE" != x ; then
9290 eval "DEFAULT_$LINE"
9291 else
9292 no_cache=1
9293 fi
9294
9295 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9296
9297 fi;
9298
9299 eval "$ac_cv_use_pcx"
9300 if test "$no_cache" != 1; then
9301 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9302 fi
9303
9304 if test "$wxUSE_PCX" = yes; then
9305 echo "$as_me:$LINENO: result: yes" >&5
9306 echo "${ECHO_T}yes" >&6
9307 else
9308 echo "$as_me:$LINENO: result: no" >&5
9309 echo "${ECHO_T}no" >&6
9310 fi
9311
9312
9313 enablestring=
9314 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9315 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9316 no_cache=0
9317 # Check whether --enable-iff or --disable-iff was given.
9318 if test "${enable_iff+set}" = set; then
9319 enableval="$enable_iff"
9320
9321 if test "$enableval" = yes; then
9322 ac_cv_use_iff='wxUSE_IFF=yes'
9323 else
9324 ac_cv_use_iff='wxUSE_IFF=no'
9325 fi
9326
9327 else
9328
9329 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9330 if test "x$LINE" != x ; then
9331 eval "DEFAULT_$LINE"
9332 else
9333 no_cache=1
9334 fi
9335
9336 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9337
9338 fi;
9339
9340 eval "$ac_cv_use_iff"
9341 if test "$no_cache" != 1; then
9342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9343 fi
9344
9345 if test "$wxUSE_IFF" = yes; then
9346 echo "$as_me:$LINENO: result: yes" >&5
9347 echo "${ECHO_T}yes" >&6
9348 else
9349 echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6
9351 fi
9352
9353
9354 enablestring=
9355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9356 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9357 no_cache=0
9358 # Check whether --enable-pnm or --disable-pnm was given.
9359 if test "${enable_pnm+set}" = set; then
9360 enableval="$enable_pnm"
9361
9362 if test "$enableval" = yes; then
9363 ac_cv_use_pnm='wxUSE_PNM=yes'
9364 else
9365 ac_cv_use_pnm='wxUSE_PNM=no'
9366 fi
9367
9368 else
9369
9370 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9371 if test "x$LINE" != x ; then
9372 eval "DEFAULT_$LINE"
9373 else
9374 no_cache=1
9375 fi
9376
9377 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9378
9379 fi;
9380
9381 eval "$ac_cv_use_pnm"
9382 if test "$no_cache" != 1; then
9383 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9384 fi
9385
9386 if test "$wxUSE_PNM" = yes; then
9387 echo "$as_me:$LINENO: result: yes" >&5
9388 echo "${ECHO_T}yes" >&6
9389 else
9390 echo "$as_me:$LINENO: result: no" >&5
9391 echo "${ECHO_T}no" >&6
9392 fi
9393
9394
9395 enablestring=
9396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9397 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9398 no_cache=0
9399 # Check whether --enable-xpm or --disable-xpm was given.
9400 if test "${enable_xpm+set}" = set; then
9401 enableval="$enable_xpm"
9402
9403 if test "$enableval" = yes; then
9404 ac_cv_use_xpm='wxUSE_XPM=yes'
9405 else
9406 ac_cv_use_xpm='wxUSE_XPM=no'
9407 fi
9408
9409 else
9410
9411 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9412 if test "x$LINE" != x ; then
9413 eval "DEFAULT_$LINE"
9414 else
9415 no_cache=1
9416 fi
9417
9418 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9419
9420 fi;
9421
9422 eval "$ac_cv_use_xpm"
9423 if test "$no_cache" != 1; then
9424 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9425 fi
9426
9427 if test "$wxUSE_XPM" = yes; then
9428 echo "$as_me:$LINENO: result: yes" >&5
9429 echo "${ECHO_T}yes" >&6
9430 else
9431 echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6
9433 fi
9434
9435
9436 enablestring=
9437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9438 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9439 no_cache=0
9440 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9441 if test "${enable_ico_cur+set}" = set; then
9442 enableval="$enable_ico_cur"
9443
9444 if test "$enableval" = yes; then
9445 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9446 else
9447 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9448 fi
9449
9450 else
9451
9452 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9453 if test "x$LINE" != x ; then
9454 eval "DEFAULT_$LINE"
9455 else
9456 no_cache=1
9457 fi
9458
9459 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9460
9461 fi;
9462
9463 eval "$ac_cv_use_ico_cur"
9464 if test "$no_cache" != 1; then
9465 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9466 fi
9467
9468 if test "$wxUSE_ICO_CUR" = yes; then
9469 echo "$as_me:$LINENO: result: yes" >&5
9470 echo "${ECHO_T}yes" >&6
9471 else
9472 echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6
9474 fi
9475
9476
9477 fi
9478
9479
9480
9481 enablestring=
9482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9483 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9484 no_cache=0
9485 # Check whether --enable-official_build or --disable-official_build was given.
9486 if test "${enable_official_build+set}" = set; then
9487 enableval="$enable_official_build"
9488
9489 if test "$enableval" = yes; then
9490 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9491 else
9492 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9493 fi
9494
9495 else
9496
9497 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9498 if test "x$LINE" != x ; then
9499 eval "DEFAULT_$LINE"
9500 else
9501 no_cache=1
9502 fi
9503
9504 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9505
9506 fi;
9507
9508 eval "$ac_cv_use_official_build"
9509 if test "$no_cache" != 1; then
9510 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9511 fi
9512
9513 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9514 echo "$as_me:$LINENO: result: yes" >&5
9515 echo "${ECHO_T}yes" >&6
9516 else
9517 echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6
9519 fi
9520
9521 # Check whether --enable-vendor or --disable-vendor was given.
9522 if test "${enable_vendor+set}" = set; then
9523 enableval="$enable_vendor"
9524 VENDOR="$enableval"
9525 fi;
9526 if test "x$VENDOR" = "x"; then
9527 VENDOR="custom"
9528 fi
9529
9530 case "${host}" in
9531 *-pc-os2_emx | *-pc-os2-emx )
9532 PATH_IFS=';'
9533 ;;
9534 *)
9535 PATH_IFS=':'
9536 ;;
9537 esac
9538
9539
9540
9541 echo "saving argument cache $wx_arg_cache_file"
9542 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9543
9544
9545
9546 echo "$as_me:$LINENO: checking for toolkit" >&5
9547 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9548
9549 # In Wine, we need to default to MSW, not GTK or MOTIF
9550 if test "$wxUSE_WINE" = "yes"; then
9551 DEFAULT_DEFAULT_wxUSE_GTK=0
9552 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9553 DEFAULT_DEFAULT_wxUSE_MSW=1
9554 fi
9555
9556 if test "$wxUSE_GUI" = "yes"; then
9557
9558 if test "$USE_BEOS" = 1; then
9559 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9560 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9561 { (exit 1); exit 1; }; }
9562 fi
9563
9564 if test "$TOOLKIT_GIVEN" = 1; then
9565 for toolkit in `echo $ALL_TOOLKITS`; do
9566 var=wxUSE_$toolkit
9567 eval "value=\$${var}"
9568 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9569 done
9570 else
9571 for toolkit in `echo $ALL_TOOLKITS`; do
9572 if test "$has_toolkit_in_cache" != 1; then
9573 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9574 else
9575 var=DEFAULT_wxUSE_$toolkit
9576 fi
9577 eval "wxUSE_$toolkit=\$${var}"
9578 done
9579 fi
9580
9581 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9582 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9583 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9584
9585 case "${host}" in
9586 *-pc-os2_emx | *-pc-os2-emx )
9587 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9588 esac
9589
9590 case "$NUM_TOOLKITS" in
9591 1)
9592 ;;
9593 0)
9594 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9595 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9596 { (exit 1); exit 1; }; }
9597 ;;
9598 *)
9599 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9600 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9601 { (exit 1); exit 1; }; }
9602 esac
9603
9604 for toolkit in `echo $ALL_TOOLKITS`; do
9605 var=wxUSE_$toolkit
9606 eval "value=\$${var}"
9607 if test "x$value" != x; then
9608 cache_var=CACHE_$toolkit
9609 eval "cache=\$${cache_var}"
9610 if test "$cache" = 1; then
9611 echo "$var=$value" >> ${wx_arg_cache_file}
9612 fi
9613 if test "$value" = 1; then
9614 toolkit_echo=`echo $toolkit | tr [A-Z] [a-z]`
9615 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9616 echo "${ECHO_T}$toolkit_echo" >&6
9617 fi
9618 fi
9619 done
9620 else
9621 if test "x$host_alias" != "x"; then
9622 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9623 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9624 else
9625 echo "$as_me:$LINENO: result: base only" >&5
9626 echo "${ECHO_T}base only" >&6
9627 fi
9628 fi
9629
9630 wants_win32=0
9631 doesnt_want_win32=0
9632 case "${host}" in
9633 *-*-cygwin*)
9634 if test "$wxUSE_MSW" = 1 ; then
9635 wants_win32=1
9636 else
9637 doesnt_want_win32=1
9638 fi
9639 ;;
9640 *-*-mingw*)
9641 wants_win32=1
9642 ;;
9643 esac
9644
9645 if test "$wxUSE_WINE" = "yes"; then
9646 wants_win32=1
9647 CC=winegcc
9648 CXX=wineg++
9649 RESCOMP=wrc
9650 fi
9651
9652 if test "$wants_win32" = 1 ; then
9653 USE_UNIX=0
9654 USE_WIN32=1
9655 cat >>confdefs.h <<\_ACEOF
9656 #define __WIN32__ 1
9657 _ACEOF
9658
9659 cat >>confdefs.h <<\_ACEOF
9660 #define __WIN95__ 1
9661 _ACEOF
9662
9663 cat >>confdefs.h <<\_ACEOF
9664 #define __WINDOWS__ 1
9665 _ACEOF
9666
9667 cat >>confdefs.h <<\_ACEOF
9668 #define __GNUWIN32__ 1
9669 _ACEOF
9670
9671 cat >>confdefs.h <<\_ACEOF
9672 #define STRICT 1
9673 _ACEOF
9674
9675 cat >>confdefs.h <<\_ACEOF
9676 #define WINVER 0x0400
9677 _ACEOF
9678
9679 fi
9680 if test "$doesnt_want_win32" = 1 ; then
9681 USE_UNIX=1
9682 USE_WIN32=0
9683 fi
9684
9685 if test "$USE_UNIX" = 1 ; then
9686 wxUSE_UNIX=yes
9687 cat >>confdefs.h <<\_ACEOF
9688 #define __UNIX__ 1
9689 _ACEOF
9690
9691 fi
9692
9693
9694 cat >confcache <<\_ACEOF
9695 # This file is a shell script that caches the results of configure
9696 # tests run on this system so they can be shared between configure
9697 # scripts and configure runs, see configure's option --config-cache.
9698 # It is not useful on other systems. If it contains results you don't
9699 # want to keep, you may remove or edit it.
9700 #
9701 # config.status only pays attention to the cache file if you give it
9702 # the --recheck option to rerun configure.
9703 #
9704 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9705 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9706 # following values.
9707
9708 _ACEOF
9709
9710 # The following way of writing the cache mishandles newlines in values,
9711 # but we know of no workaround that is simple, portable, and efficient.
9712 # So, don't put newlines in cache variables' values.
9713 # Ultrix sh set writes to stderr and can't be redirected directly,
9714 # and sets the high bit in the cache file unless we assign to the vars.
9715 {
9716 (set) 2>&1 |
9717 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9718 *ac_space=\ *)
9719 # `set' does not quote correctly, so add quotes (double-quote
9720 # substitution turns \\\\ into \\, and sed turns \\ into \).
9721 sed -n \
9722 "s/'/'\\\\''/g;
9723 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9724 ;;
9725 *)
9726 # `set' quotes correctly as required by POSIX, so do not add quotes.
9727 sed -n \
9728 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9729 ;;
9730 esac;
9731 } |
9732 sed '
9733 t clear
9734 : clear
9735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9736 t end
9737 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9738 : end' >>confcache
9739 if diff $cache_file confcache >/dev/null 2>&1; then :; else
9740 if test -w $cache_file; then
9741 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9742 cat confcache >$cache_file
9743 else
9744 echo "not updating unwritable cache $cache_file"
9745 fi
9746 fi
9747 rm -f confcache
9748
9749 if test "$build" != "$host" ; then
9750 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9751 CC=$host_alias-gcc
9752 CXX=$host_alias-c++
9753 AR=$host_alias-ar
9754 RANLIB=$host_alias-ranlib
9755 DLLTOOL=$host_alias-dlltool
9756 RESCOMP=$host_alias-windres
9757 LD=$host_alias-ld
9758 NM=$host_alias-nm
9759 STRIP=$host_alias-strip
9760 else
9761 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
9762 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
9763 { (exit 1); exit 1; }; }
9764 fi
9765 fi
9766
9767 CFLAGS=${CFLAGS:=}
9768 ac_ext=c
9769 ac_cpp='$CPP $CPPFLAGS'
9770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9773 if test -n "$ac_tool_prefix"; then
9774 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9775 set dummy ${ac_tool_prefix}gcc; ac_word=$2
9776 echo "$as_me:$LINENO: checking for $ac_word" >&5
9777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9778 if test "${ac_cv_prog_CC+set}" = set; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 else
9781 if test -n "$CC"; then
9782 ac_cv_prog_CC="$CC" # Let the user override the test.
9783 else
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9785 for as_dir in $PATH
9786 do
9787 IFS=$as_save_IFS
9788 test -z "$as_dir" && as_dir=.
9789 for ac_exec_ext in '' $ac_executable_extensions; do
9790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9791 ac_cv_prog_CC="${ac_tool_prefix}gcc"
9792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9793 break 2
9794 fi
9795 done
9796 done
9797
9798 fi
9799 fi
9800 CC=$ac_cv_prog_CC
9801 if test -n "$CC"; then
9802 echo "$as_me:$LINENO: result: $CC" >&5
9803 echo "${ECHO_T}$CC" >&6
9804 else
9805 echo "$as_me:$LINENO: result: no" >&5
9806 echo "${ECHO_T}no" >&6
9807 fi
9808
9809 fi
9810 if test -z "$ac_cv_prog_CC"; then
9811 ac_ct_CC=$CC
9812 # Extract the first word of "gcc", so it can be a program name with args.
9813 set dummy gcc; ac_word=$2
9814 echo "$as_me:$LINENO: checking for $ac_word" >&5
9815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 else
9819 if test -n "$ac_ct_CC"; then
9820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9821 else
9822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9823 for as_dir in $PATH
9824 do
9825 IFS=$as_save_IFS
9826 test -z "$as_dir" && as_dir=.
9827 for ac_exec_ext in '' $ac_executable_extensions; do
9828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9829 ac_cv_prog_ac_ct_CC="gcc"
9830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 break 2
9832 fi
9833 done
9834 done
9835
9836 fi
9837 fi
9838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9839 if test -n "$ac_ct_CC"; then
9840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9841 echo "${ECHO_T}$ac_ct_CC" >&6
9842 else
9843 echo "$as_me:$LINENO: result: no" >&5
9844 echo "${ECHO_T}no" >&6
9845 fi
9846
9847 CC=$ac_ct_CC
9848 else
9849 CC="$ac_cv_prog_CC"
9850 fi
9851
9852 if test -z "$CC"; then
9853 if test -n "$ac_tool_prefix"; then
9854 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
9855 set dummy ${ac_tool_prefix}cc; ac_word=$2
9856 echo "$as_me:$LINENO: checking for $ac_word" >&5
9857 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9858 if test "${ac_cv_prog_CC+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 else
9861 if test -n "$CC"; then
9862 ac_cv_prog_CC="$CC" # Let the user override the test.
9863 else
9864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 for as_dir in $PATH
9866 do
9867 IFS=$as_save_IFS
9868 test -z "$as_dir" && as_dir=.
9869 for ac_exec_ext in '' $ac_executable_extensions; do
9870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9871 ac_cv_prog_CC="${ac_tool_prefix}cc"
9872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9873 break 2
9874 fi
9875 done
9876 done
9877
9878 fi
9879 fi
9880 CC=$ac_cv_prog_CC
9881 if test -n "$CC"; then
9882 echo "$as_me:$LINENO: result: $CC" >&5
9883 echo "${ECHO_T}$CC" >&6
9884 else
9885 echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6
9887 fi
9888
9889 fi
9890 if test -z "$ac_cv_prog_CC"; then
9891 ac_ct_CC=$CC
9892 # Extract the first word of "cc", so it can be a program name with args.
9893 set dummy cc; ac_word=$2
9894 echo "$as_me:$LINENO: checking for $ac_word" >&5
9895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9896 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 else
9899 if test -n "$ac_ct_CC"; then
9900 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
9901 else
9902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 for as_dir in $PATH
9904 do
9905 IFS=$as_save_IFS
9906 test -z "$as_dir" && as_dir=.
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9909 ac_cv_prog_ac_ct_CC="cc"
9910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9911 break 2
9912 fi
9913 done
9914 done
9915
9916 fi
9917 fi
9918 ac_ct_CC=$ac_cv_prog_ac_ct_CC
9919 if test -n "$ac_ct_CC"; then
9920 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
9921 echo "${ECHO_T}$ac_ct_CC" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927 CC=$ac_ct_CC
9928 else
9929 CC="$ac_cv_prog_CC"
9930 fi
9931
9932 fi
9933 if test -z "$CC"; then
9934 # Extract the first word of "cc", so it can be a program name with args.
9935 set dummy cc; ac_word=$2
9936 echo "$as_me:$LINENO: checking for $ac_word" >&5
9937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9938 if test "${ac_cv_prog_CC+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9940 else
9941 if test -n "$CC"; then
9942 ac_cv_prog_CC="$CC" # Let the user override the test.
9943 else
9944 ac_prog_rejected=no
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 for as_dir in $PATH
9947 do
9948 IFS=$as_save_IFS
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
9953 ac_prog_rejected=yes
9954 continue
9955 fi
9956 ac_cv_prog_CC="cc"
9957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9958 break 2
9959 fi
9960 done
9961 done
9962
9963 if test $ac_prog_rejected = yes; then
9964 # We found a bogon in the path, so make sure we never use it.
9965 set dummy $ac_cv_prog_CC
9966 shift
9967 if test $# != 0; then
9968 # We chose a different compiler from the bogus one.
9969 # However, it has the same basename, so the bogon will be chosen
9970 # first if we set CC to just the basename; use the full file name.
9971 shift
9972 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
9973 fi
9974 fi
9975 fi
9976 fi
9977 CC=$ac_cv_prog_CC
9978 if test -n "$CC"; then
9979 echo "$as_me:$LINENO: result: $CC" >&5
9980 echo "${ECHO_T}$CC" >&6
9981 else
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9984 fi
9985
9986 fi
9987 if test -z "$CC"; then
9988 if test -n "$ac_tool_prefix"; then
9989 for ac_prog in cl
9990 do
9991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9992 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9993 echo "$as_me:$LINENO: checking for $ac_word" >&5
9994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9995 if test "${ac_cv_prog_CC+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 else
9998 if test -n "$CC"; then
9999 ac_cv_prog_CC="$CC" # Let the user override the test.
10000 else
10001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 for as_dir in $PATH
10003 do
10004 IFS=$as_save_IFS
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 break 2
10011 fi
10012 done
10013 done
10014
10015 fi
10016 fi
10017 CC=$ac_cv_prog_CC
10018 if test -n "$CC"; then
10019 echo "$as_me:$LINENO: result: $CC" >&5
10020 echo "${ECHO_T}$CC" >&6
10021 else
10022 echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6
10024 fi
10025
10026 test -n "$CC" && break
10027 done
10028 fi
10029 if test -z "$CC"; then
10030 ac_ct_CC=$CC
10031 for ac_prog in cl
10032 do
10033 # Extract the first word of "$ac_prog", so it can be a program name with args.
10034 set dummy $ac_prog; ac_word=$2
10035 echo "$as_me:$LINENO: checking for $ac_word" >&5
10036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10037 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10038 echo $ECHO_N "(cached) $ECHO_C" >&6
10039 else
10040 if test -n "$ac_ct_CC"; then
10041 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10042 else
10043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10044 for as_dir in $PATH
10045 do
10046 IFS=$as_save_IFS
10047 test -z "$as_dir" && as_dir=.
10048 for ac_exec_ext in '' $ac_executable_extensions; do
10049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10050 ac_cv_prog_ac_ct_CC="$ac_prog"
10051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10052 break 2
10053 fi
10054 done
10055 done
10056
10057 fi
10058 fi
10059 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10060 if test -n "$ac_ct_CC"; then
10061 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10062 echo "${ECHO_T}$ac_ct_CC" >&6
10063 else
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10066 fi
10067
10068 test -n "$ac_ct_CC" && break
10069 done
10070
10071 CC=$ac_ct_CC
10072 fi
10073
10074 fi
10075
10076
10077 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10078 See \`config.log' for more details." >&5
10079 echo "$as_me: error: no acceptable C compiler found in \$PATH
10080 See \`config.log' for more details." >&2;}
10081 { (exit 1); exit 1; }; }
10082
10083 # Provide some information about the compiler.
10084 echo "$as_me:$LINENO:" \
10085 "checking for C compiler version" >&5
10086 ac_compiler=`set X $ac_compile; echo $2`
10087 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10088 (eval $ac_compiler --version </dev/null >&5) 2>&5
10089 ac_status=$?
10090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10091 (exit $ac_status); }
10092 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10093 (eval $ac_compiler -v </dev/null >&5) 2>&5
10094 ac_status=$?
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }
10097 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10098 (eval $ac_compiler -V </dev/null >&5) 2>&5
10099 ac_status=$?
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }
10102
10103 cat >conftest.$ac_ext <<_ACEOF
10104 #line $LINENO "configure"
10105 /* confdefs.h. */
10106 _ACEOF
10107 cat confdefs.h >>conftest.$ac_ext
10108 cat >>conftest.$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10110
10111 int
10112 main ()
10113 {
10114
10115 ;
10116 return 0;
10117 }
10118 _ACEOF
10119 ac_clean_files_save=$ac_clean_files
10120 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10121 # Try to create an executable without -o first, disregard a.out.
10122 # It will help us diagnose broken compilers, and finding out an intuition
10123 # of exeext.
10124 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10125 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10126 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10127 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10128 (eval $ac_link_default) 2>&5
10129 ac_status=$?
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); }; then
10132 # Find the output, starting from the most likely. This scheme is
10133 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10134 # resort.
10135
10136 # Be careful to initialize this variable, since it used to be cached.
10137 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10138 ac_cv_exeext=
10139 # b.out is created by i960 compilers.
10140 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10141 do
10142 test -f "$ac_file" || continue
10143 case $ac_file in
10144 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10145 ;;
10146 conftest.$ac_ext )
10147 # This is the source file.
10148 ;;
10149 [ab].out )
10150 # We found the default executable, but exeext='' is most
10151 # certainly right.
10152 break;;
10153 *.* )
10154 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10155 # FIXME: I believe we export ac_cv_exeext for Libtool,
10156 # but it would be cool to find out if it's true. Does anybody
10157 # maintain Libtool? --akim.
10158 export ac_cv_exeext
10159 break;;
10160 * )
10161 break;;
10162 esac
10163 done
10164 else
10165 echo "$as_me: failed program was:" >&5
10166 sed 's/^/| /' conftest.$ac_ext >&5
10167
10168 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10169 See \`config.log' for more details." >&5
10170 echo "$as_me: error: C compiler cannot create executables
10171 See \`config.log' for more details." >&2;}
10172 { (exit 77); exit 77; }; }
10173 fi
10174
10175 ac_exeext=$ac_cv_exeext
10176 echo "$as_me:$LINENO: result: $ac_file" >&5
10177 echo "${ECHO_T}$ac_file" >&6
10178
10179 # Check the compiler produces executables we can run. If not, either
10180 # the compiler is broken, or we cross compile.
10181 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10182 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10183 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10184 # If not cross compiling, check that we can run a simple program.
10185 if test "$cross_compiling" != yes; then
10186 if { ac_try='./$ac_file'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10189 ac_status=$?
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; }; then
10192 cross_compiling=no
10193 else
10194 if test "$cross_compiling" = maybe; then
10195 cross_compiling=yes
10196 else
10197 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10198 If you meant to cross compile, use \`--host'.
10199 See \`config.log' for more details." >&5
10200 echo "$as_me: error: cannot run C compiled programs.
10201 If you meant to cross compile, use \`--host'.
10202 See \`config.log' for more details." >&2;}
10203 { (exit 1); exit 1; }; }
10204 fi
10205 fi
10206 fi
10207 echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6
10209
10210 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10211 ac_clean_files=$ac_clean_files_save
10212 # Check the compiler produces executables we can run. If not, either
10213 # the compiler is broken, or we cross compile.
10214 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10215 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10216 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10217 echo "${ECHO_T}$cross_compiling" >&6
10218
10219 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10220 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10222 (eval $ac_link) 2>&5
10223 ac_status=$?
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); }; then
10226 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10227 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10228 # work properly (i.e., refer to `conftest.exe'), while it won't with
10229 # `rm'.
10230 for ac_file in conftest.exe conftest conftest.*; do
10231 test -f "$ac_file" || continue
10232 case $ac_file in
10233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10234 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10235 export ac_cv_exeext
10236 break;;
10237 * ) break;;
10238 esac
10239 done
10240 else
10241 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10242 See \`config.log' for more details." >&5
10243 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10244 See \`config.log' for more details." >&2;}
10245 { (exit 1); exit 1; }; }
10246 fi
10247
10248 rm -f conftest$ac_cv_exeext
10249 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10250 echo "${ECHO_T}$ac_cv_exeext" >&6
10251
10252 rm -f conftest.$ac_ext
10253 EXEEXT=$ac_cv_exeext
10254 ac_exeext=$EXEEXT
10255 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10256 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10257 if test "${ac_cv_objext+set}" = set; then
10258 echo $ECHO_N "(cached) $ECHO_C" >&6
10259 else
10260 cat >conftest.$ac_ext <<_ACEOF
10261 #line $LINENO "configure"
10262 /* confdefs.h. */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h. */
10267
10268 int
10269 main ()
10270 {
10271
10272 ;
10273 return 0;
10274 }
10275 _ACEOF
10276 rm -f conftest.o conftest.obj
10277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10278 (eval $ac_compile) 2>&5
10279 ac_status=$?
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); }; then
10282 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10283 case $ac_file in
10284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10285 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10286 break;;
10287 esac
10288 done
10289 else
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10292
10293 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10294 See \`config.log' for more details." >&5
10295 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10296 See \`config.log' for more details." >&2;}
10297 { (exit 1); exit 1; }; }
10298 fi
10299
10300 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10301 fi
10302 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10303 echo "${ECHO_T}$ac_cv_objext" >&6
10304 OBJEXT=$ac_cv_objext
10305 ac_objext=$OBJEXT
10306 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10307 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10308 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else
10311 cat >conftest.$ac_ext <<_ACEOF
10312 #line $LINENO "configure"
10313 /* confdefs.h. */
10314 _ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10318
10319 int
10320 main ()
10321 {
10322 #ifndef __GNUC__
10323 choke me
10324 #endif
10325
10326 ;
10327 return 0;
10328 }
10329 _ACEOF
10330 rm -f conftest.$ac_objext
10331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10332 (eval $ac_compile) 2>&5
10333 ac_status=$?
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } &&
10336 { ac_try='test -s conftest.$ac_objext'
10337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10338 (eval $ac_try) 2>&5
10339 ac_status=$?
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }; }; then
10342 ac_compiler_gnu=yes
10343 else
10344 echo "$as_me: failed program was:" >&5
10345 sed 's/^/| /' conftest.$ac_ext >&5
10346
10347 ac_compiler_gnu=no
10348 fi
10349 rm -f conftest.$ac_objext conftest.$ac_ext
10350 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10351
10352 fi
10353 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10354 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10355 GCC=`test $ac_compiler_gnu = yes && echo yes`
10356 ac_test_CFLAGS=${CFLAGS+set}
10357 ac_save_CFLAGS=$CFLAGS
10358 CFLAGS="-g"
10359 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10360 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10361 if test "${ac_cv_prog_cc_g+set}" = set; then
10362 echo $ECHO_N "(cached) $ECHO_C" >&6
10363 else
10364 cat >conftest.$ac_ext <<_ACEOF
10365 #line $LINENO "configure"
10366 /* confdefs.h. */
10367 _ACEOF
10368 cat confdefs.h >>conftest.$ac_ext
10369 cat >>conftest.$ac_ext <<_ACEOF
10370 /* end confdefs.h. */
10371
10372 int
10373 main ()
10374 {
10375
10376 ;
10377 return 0;
10378 }
10379 _ACEOF
10380 rm -f conftest.$ac_objext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10382 (eval $ac_compile) 2>&5
10383 ac_status=$?
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); } &&
10386 { ac_try='test -s conftest.$ac_objext'
10387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10388 (eval $ac_try) 2>&5
10389 ac_status=$?
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); }; }; then
10392 ac_cv_prog_cc_g=yes
10393 else
10394 echo "$as_me: failed program was:" >&5
10395 sed 's/^/| /' conftest.$ac_ext >&5
10396
10397 ac_cv_prog_cc_g=no
10398 fi
10399 rm -f conftest.$ac_objext conftest.$ac_ext
10400 fi
10401 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10402 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10403 if test "$ac_test_CFLAGS" = set; then
10404 CFLAGS=$ac_save_CFLAGS
10405 elif test $ac_cv_prog_cc_g = yes; then
10406 if test "$GCC" = yes; then
10407 CFLAGS="-g -O2"
10408 else
10409 CFLAGS="-g"
10410 fi
10411 else
10412 if test "$GCC" = yes; then
10413 CFLAGS="-O2"
10414 else
10415 CFLAGS=
10416 fi
10417 fi
10418 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10419 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10420 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10423 ac_cv_prog_cc_stdc=no
10424 ac_save_CC=$CC
10425 cat >conftest.$ac_ext <<_ACEOF
10426 #line $LINENO "configure"
10427 /* confdefs.h. */
10428 _ACEOF
10429 cat confdefs.h >>conftest.$ac_ext
10430 cat >>conftest.$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432 #include <stdarg.h>
10433 #include <stdio.h>
10434 #include <sys/types.h>
10435 #include <sys/stat.h>
10436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10437 struct buf { int x; };
10438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10439 static char *e (p, i)
10440 char **p;
10441 int i;
10442 {
10443 return p[i];
10444 }
10445 static char *f (char * (*g) (char **, int), char **p, ...)
10446 {
10447 char *s;
10448 va_list v;
10449 va_start (v,p);
10450 s = g (p, va_arg (v,int));
10451 va_end (v);
10452 return s;
10453 }
10454 int test (int i, double x);
10455 struct s1 {int (*f) (int a);};
10456 struct s2 {int (*f) (double a);};
10457 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10458 int argc;
10459 char **argv;
10460 int
10461 main ()
10462 {
10463 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10464 ;
10465 return 0;
10466 }
10467 _ACEOF
10468 # Don't try gcc -ansi; that turns off useful extensions and
10469 # breaks some systems' header files.
10470 # AIX -qlanglvl=ansi
10471 # Ultrix and OSF/1 -std1
10472 # HP-UX 10.20 and later -Ae
10473 # HP-UX older versions -Aa -D_HPUX_SOURCE
10474 # SVR4 -Xc -D__EXTENSIONS__
10475 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10476 do
10477 CC="$ac_save_CC $ac_arg"
10478 rm -f conftest.$ac_objext
10479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10480 (eval $ac_compile) 2>&5
10481 ac_status=$?
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } &&
10484 { ac_try='test -s conftest.$ac_objext'
10485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10486 (eval $ac_try) 2>&5
10487 ac_status=$?
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); }; }; then
10490 ac_cv_prog_cc_stdc=$ac_arg
10491 break
10492 else
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.$ac_ext >&5
10495
10496 fi
10497 rm -f conftest.$ac_objext
10498 done
10499 rm -f conftest.$ac_ext conftest.$ac_objext
10500 CC=$ac_save_CC
10501
10502 fi
10503
10504 case "x$ac_cv_prog_cc_stdc" in
10505 x|xno)
10506 echo "$as_me:$LINENO: result: none needed" >&5
10507 echo "${ECHO_T}none needed" >&6 ;;
10508 *)
10509 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10510 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10511 CC="$CC $ac_cv_prog_cc_stdc" ;;
10512 esac
10513
10514 # Some people use a C++ compiler to compile C. Since we use `exit',
10515 # in C++ we need to declare it. In case someone uses the same compiler
10516 # for both compiling C and C++ we need to have the C++ compiler decide
10517 # the declaration of exit, since it's the most demanding environment.
10518 cat >conftest.$ac_ext <<_ACEOF
10519 #ifndef __cplusplus
10520 choke me
10521 #endif
10522 _ACEOF
10523 rm -f conftest.$ac_objext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10525 (eval $ac_compile) 2>&5
10526 ac_status=$?
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); } &&
10529 { ac_try='test -s conftest.$ac_objext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10532 ac_status=$?
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 for ac_declaration in \
10536 ''\
10537 '#include <stdlib.h>' \
10538 'extern "C" void std::exit (int) throw (); using std::exit;' \
10539 'extern "C" void std::exit (int); using std::exit;' \
10540 'extern "C" void exit (int) throw ();' \
10541 'extern "C" void exit (int);' \
10542 'void exit (int);'
10543 do
10544 cat >conftest.$ac_ext <<_ACEOF
10545 #line $LINENO "configure"
10546 /* confdefs.h. */
10547 _ACEOF
10548 cat confdefs.h >>conftest.$ac_ext
10549 cat >>conftest.$ac_ext <<_ACEOF
10550 /* end confdefs.h. */
10551 #include <stdlib.h>
10552 $ac_declaration
10553 int
10554 main ()
10555 {
10556 exit (42);
10557 ;
10558 return 0;
10559 }
10560 _ACEOF
10561 rm -f conftest.$ac_objext
10562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10563 (eval $ac_compile) 2>&5
10564 ac_status=$?
10565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10566 (exit $ac_status); } &&
10567 { ac_try='test -s conftest.$ac_objext'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10570 ac_status=$?
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; }; then
10573 :
10574 else
10575 echo "$as_me: failed program was:" >&5
10576 sed 's/^/| /' conftest.$ac_ext >&5
10577
10578 continue
10579 fi
10580 rm -f conftest.$ac_objext conftest.$ac_ext
10581 cat >conftest.$ac_ext <<_ACEOF
10582 #line $LINENO "configure"
10583 /* confdefs.h. */
10584 _ACEOF
10585 cat confdefs.h >>conftest.$ac_ext
10586 cat >>conftest.$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 $ac_declaration
10589 int
10590 main ()
10591 {
10592 exit (42);
10593 ;
10594 return 0;
10595 }
10596 _ACEOF
10597 rm -f conftest.$ac_objext
10598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10599 (eval $ac_compile) 2>&5
10600 ac_status=$?
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try='test -s conftest.$ac_objext'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10606 ac_status=$?
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; }; then
10609 break
10610 else
10611 echo "$as_me: failed program was:" >&5
10612 sed 's/^/| /' conftest.$ac_ext >&5
10613
10614 fi
10615 rm -f conftest.$ac_objext conftest.$ac_ext
10616 done
10617 rm -f conftest*
10618 if test -n "$ac_declaration"; then
10619 echo '#ifdef __cplusplus' >>confdefs.h
10620 echo $ac_declaration >>confdefs.h
10621 echo '#endif' >>confdefs.h
10622 fi
10623
10624 else
10625 echo "$as_me: failed program was:" >&5
10626 sed 's/^/| /' conftest.$ac_ext >&5
10627
10628 fi
10629 rm -f conftest.$ac_objext conftest.$ac_ext
10630 ac_ext=c
10631 ac_cpp='$CPP $CPPFLAGS'
10632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10635
10636
10637
10638 ac_ext=c
10639 ac_cpp='$CPP $CPPFLAGS'
10640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10643 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10644 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10645 # On Suns, sometimes $CPP names a directory.
10646 if test -n "$CPP" && test -d "$CPP"; then
10647 CPP=
10648 fi
10649 if test -z "$CPP"; then
10650 if test "${ac_cv_prog_CPP+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 else
10653 # Double quotes because CPP needs to be expanded
10654 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10655 do
10656 ac_preproc_ok=false
10657 for ac_c_preproc_warn_flag in '' yes
10658 do
10659 # Use a header file that comes with gcc, so configuring glibc
10660 # with a fresh cross-compiler works.
10661 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10662 # <limits.h> exists even on freestanding compilers.
10663 # On the NeXT, cc -E runs the code through the compiler's parser,
10664 # not just through cpp. "Syntax error" is here to catch this case.
10665 cat >conftest.$ac_ext <<_ACEOF
10666 #line $LINENO "configure"
10667 /* confdefs.h. */
10668 _ACEOF
10669 cat confdefs.h >>conftest.$ac_ext
10670 cat >>conftest.$ac_ext <<_ACEOF
10671 /* end confdefs.h. */
10672 #ifdef __STDC__
10673 # include <limits.h>
10674 #else
10675 # include <assert.h>
10676 #endif
10677 Syntax error
10678 _ACEOF
10679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10681 ac_status=$?
10682 grep -v '^ *+' conftest.er1 >conftest.err
10683 rm -f conftest.er1
10684 cat conftest.err >&5
10685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10686 (exit $ac_status); } >/dev/null; then
10687 if test -s conftest.err; then
10688 ac_cpp_err=$ac_c_preproc_warn_flag
10689 else
10690 ac_cpp_err=
10691 fi
10692 else
10693 ac_cpp_err=yes
10694 fi
10695 if test -z "$ac_cpp_err"; then
10696 :
10697 else
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.$ac_ext >&5
10700
10701 # Broken: fails on valid input.
10702 continue
10703 fi
10704 rm -f conftest.err conftest.$ac_ext
10705
10706 # OK, works on sane cases. Now check whether non-existent headers
10707 # can be detected and how.
10708 cat >conftest.$ac_ext <<_ACEOF
10709 #line $LINENO "configure"
10710 /* confdefs.h. */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 #include <ac_nonexistent.h>
10716 _ACEOF
10717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10718 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10719 ac_status=$?
10720 grep -v '^ *+' conftest.er1 >conftest.err
10721 rm -f conftest.er1
10722 cat conftest.err >&5
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); } >/dev/null; then
10725 if test -s conftest.err; then
10726 ac_cpp_err=$ac_c_preproc_warn_flag
10727 else
10728 ac_cpp_err=
10729 fi
10730 else
10731 ac_cpp_err=yes
10732 fi
10733 if test -z "$ac_cpp_err"; then
10734 # Broken: success on invalid input.
10735 continue
10736 else
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10739
10740 # Passes both tests.
10741 ac_preproc_ok=:
10742 break
10743 fi
10744 rm -f conftest.err conftest.$ac_ext
10745
10746 done
10747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10748 rm -f conftest.err conftest.$ac_ext
10749 if $ac_preproc_ok; then
10750 break
10751 fi
10752
10753 done
10754 ac_cv_prog_CPP=$CPP
10755
10756 fi
10757 CPP=$ac_cv_prog_CPP
10758 else
10759 ac_cv_prog_CPP=$CPP
10760 fi
10761 echo "$as_me:$LINENO: result: $CPP" >&5
10762 echo "${ECHO_T}$CPP" >&6
10763 ac_preproc_ok=false
10764 for ac_c_preproc_warn_flag in '' yes
10765 do
10766 # Use a header file that comes with gcc, so configuring glibc
10767 # with a fresh cross-compiler works.
10768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10769 # <limits.h> exists even on freestanding compilers.
10770 # On the NeXT, cc -E runs the code through the compiler's parser,
10771 # not just through cpp. "Syntax error" is here to catch this case.
10772 cat >conftest.$ac_ext <<_ACEOF
10773 #line $LINENO "configure"
10774 /* confdefs.h. */
10775 _ACEOF
10776 cat confdefs.h >>conftest.$ac_ext
10777 cat >>conftest.$ac_ext <<_ACEOF
10778 /* end confdefs.h. */
10779 #ifdef __STDC__
10780 # include <limits.h>
10781 #else
10782 # include <assert.h>
10783 #endif
10784 Syntax error
10785 _ACEOF
10786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10788 ac_status=$?
10789 grep -v '^ *+' conftest.er1 >conftest.err
10790 rm -f conftest.er1
10791 cat conftest.err >&5
10792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10793 (exit $ac_status); } >/dev/null; then
10794 if test -s conftest.err; then
10795 ac_cpp_err=$ac_c_preproc_warn_flag
10796 else
10797 ac_cpp_err=
10798 fi
10799 else
10800 ac_cpp_err=yes
10801 fi
10802 if test -z "$ac_cpp_err"; then
10803 :
10804 else
10805 echo "$as_me: failed program was:" >&5
10806 sed 's/^/| /' conftest.$ac_ext >&5
10807
10808 # Broken: fails on valid input.
10809 continue
10810 fi
10811 rm -f conftest.err conftest.$ac_ext
10812
10813 # OK, works on sane cases. Now check whether non-existent headers
10814 # can be detected and how.
10815 cat >conftest.$ac_ext <<_ACEOF
10816 #line $LINENO "configure"
10817 /* confdefs.h. */
10818 _ACEOF
10819 cat confdefs.h >>conftest.$ac_ext
10820 cat >>conftest.$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10822 #include <ac_nonexistent.h>
10823 _ACEOF
10824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10826 ac_status=$?
10827 grep -v '^ *+' conftest.er1 >conftest.err
10828 rm -f conftest.er1
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } >/dev/null; then
10832 if test -s conftest.err; then
10833 ac_cpp_err=$ac_c_preproc_warn_flag
10834 else
10835 ac_cpp_err=
10836 fi
10837 else
10838 ac_cpp_err=yes
10839 fi
10840 if test -z "$ac_cpp_err"; then
10841 # Broken: success on invalid input.
10842 continue
10843 else
10844 echo "$as_me: failed program was:" >&5
10845 sed 's/^/| /' conftest.$ac_ext >&5
10846
10847 # Passes both tests.
10848 ac_preproc_ok=:
10849 break
10850 fi
10851 rm -f conftest.err conftest.$ac_ext
10852
10853 done
10854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10855 rm -f conftest.err conftest.$ac_ext
10856 if $ac_preproc_ok; then
10857 :
10858 else
10859 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
10860 See \`config.log' for more details." >&5
10861 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
10862 See \`config.log' for more details." >&2;}
10863 { (exit 1); exit 1; }; }
10864 fi
10865
10866 ac_ext=c
10867 ac_cpp='$CPP $CPPFLAGS'
10868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10871
10872
10873 echo "$as_me:$LINENO: checking for egrep" >&5
10874 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
10875 if test "${ac_cv_prog_egrep+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 else
10878 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
10879 then ac_cv_prog_egrep='grep -E'
10880 else ac_cv_prog_egrep='egrep'
10881 fi
10882 fi
10883 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
10884 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
10885 EGREP=$ac_cv_prog_egrep
10886
10887
10888 if test $ac_cv_c_compiler_gnu = yes; then
10889 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10890 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10891 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10892 echo $ECHO_N "(cached) $ECHO_C" >&6
10893 else
10894 ac_pattern="Autoconf.*'x'"
10895 cat >conftest.$ac_ext <<_ACEOF
10896 #line $LINENO "configure"
10897 /* confdefs.h. */
10898 _ACEOF
10899 cat confdefs.h >>conftest.$ac_ext
10900 cat >>conftest.$ac_ext <<_ACEOF
10901 /* end confdefs.h. */
10902 #include <sgtty.h>
10903 Autoconf TIOCGETP
10904 _ACEOF
10905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10906 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10907 ac_cv_prog_gcc_traditional=yes
10908 else
10909 ac_cv_prog_gcc_traditional=no
10910 fi
10911 rm -f conftest*
10912
10913
10914 if test $ac_cv_prog_gcc_traditional = no; then
10915 cat >conftest.$ac_ext <<_ACEOF
10916 #line $LINENO "configure"
10917 /* confdefs.h. */
10918 _ACEOF
10919 cat confdefs.h >>conftest.$ac_ext
10920 cat >>conftest.$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10922 #include <termio.h>
10923 Autoconf TCGETA
10924 _ACEOF
10925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10926 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10927 ac_cv_prog_gcc_traditional=yes
10928 fi
10929 rm -f conftest*
10930
10931 fi
10932 fi
10933 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10934 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10935 if test $ac_cv_prog_gcc_traditional = yes; then
10936 CC="$CC -traditional"
10937 fi
10938 fi
10939
10940
10941
10942
10943 ac_ext=cc
10944 ac_cpp='$CXXCPP $CPPFLAGS'
10945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10948
10949
10950 CXXFLAGS=${CXXFLAGS:=}
10951 ac_ext=cc
10952 ac_cpp='$CXXCPP $CPPFLAGS'
10953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10956 if test -n "$ac_tool_prefix"; then
10957 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
10958 do
10959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10961 echo "$as_me:$LINENO: checking for $ac_word" >&5
10962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10963 if test "${ac_cv_prog_CXX+set}" = set; then
10964 echo $ECHO_N "(cached) $ECHO_C" >&6
10965 else
10966 if test -n "$CXX"; then
10967 ac_cv_prog_CXX="$CXX" # Let the user override the test.
10968 else
10969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10970 for as_dir in $PATH
10971 do
10972 IFS=$as_save_IFS
10973 test -z "$as_dir" && as_dir=.
10974 for ac_exec_ext in '' $ac_executable_extensions; do
10975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10976 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
10977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10978 break 2
10979 fi
10980 done
10981 done
10982
10983 fi
10984 fi
10985 CXX=$ac_cv_prog_CXX
10986 if test -n "$CXX"; then
10987 echo "$as_me:$LINENO: result: $CXX" >&5
10988 echo "${ECHO_T}$CXX" >&6
10989 else
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10992 fi
10993
10994 test -n "$CXX" && break
10995 done
10996 fi
10997 if test -z "$CXX"; then
10998 ac_ct_CXX=$CXX
10999 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11000 do
11001 # Extract the first word of "$ac_prog", so it can be a program name with args.
11002 set dummy $ac_prog; ac_word=$2
11003 echo "$as_me:$LINENO: checking for $ac_word" >&5
11004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11005 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11006 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 else
11008 if test -n "$ac_ct_CXX"; then
11009 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11010 else
11011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11012 for as_dir in $PATH
11013 do
11014 IFS=$as_save_IFS
11015 test -z "$as_dir" && as_dir=.
11016 for ac_exec_ext in '' $ac_executable_extensions; do
11017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11018 ac_cv_prog_ac_ct_CXX="$ac_prog"
11019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11020 break 2
11021 fi
11022 done
11023 done
11024
11025 fi
11026 fi
11027 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11028 if test -n "$ac_ct_CXX"; then
11029 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11030 echo "${ECHO_T}$ac_ct_CXX" >&6
11031 else
11032 echo "$as_me:$LINENO: result: no" >&5
11033 echo "${ECHO_T}no" >&6
11034 fi
11035
11036 test -n "$ac_ct_CXX" && break
11037 done
11038 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11039
11040 CXX=$ac_ct_CXX
11041 fi
11042
11043
11044 # Provide some information about the compiler.
11045 echo "$as_me:$LINENO:" \
11046 "checking for C++ compiler version" >&5
11047 ac_compiler=`set X $ac_compile; echo $2`
11048 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11049 (eval $ac_compiler --version </dev/null >&5) 2>&5
11050 ac_status=$?
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); }
11053 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11054 (eval $ac_compiler -v </dev/null >&5) 2>&5
11055 ac_status=$?
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }
11058 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11059 (eval $ac_compiler -V </dev/null >&5) 2>&5
11060 ac_status=$?
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }
11063
11064 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11065 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11066 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11068 else
11069 cat >conftest.$ac_ext <<_ACEOF
11070 #line $LINENO "configure"
11071 /* confdefs.h. */
11072 _ACEOF
11073 cat confdefs.h >>conftest.$ac_ext
11074 cat >>conftest.$ac_ext <<_ACEOF
11075 /* end confdefs.h. */
11076
11077 int
11078 main ()
11079 {
11080 #ifndef __GNUC__
11081 choke me
11082 #endif
11083
11084 ;
11085 return 0;
11086 }
11087 _ACEOF
11088 rm -f conftest.$ac_objext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11090 (eval $ac_compile) 2>&5
11091 ac_status=$?
11092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11093 (exit $ac_status); } &&
11094 { ac_try='test -s conftest.$ac_objext'
11095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11096 (eval $ac_try) 2>&5
11097 ac_status=$?
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); }; }; then
11100 ac_compiler_gnu=yes
11101 else
11102 echo "$as_me: failed program was:" >&5
11103 sed 's/^/| /' conftest.$ac_ext >&5
11104
11105 ac_compiler_gnu=no
11106 fi
11107 rm -f conftest.$ac_objext conftest.$ac_ext
11108 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11109
11110 fi
11111 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11112 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11113 GXX=`test $ac_compiler_gnu = yes && echo yes`
11114 ac_test_CXXFLAGS=${CXXFLAGS+set}
11115 ac_save_CXXFLAGS=$CXXFLAGS
11116 CXXFLAGS="-g"
11117 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11118 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11119 if test "${ac_cv_prog_cxx_g+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 cat >conftest.$ac_ext <<_ACEOF
11123 #line $LINENO "configure"
11124 /* confdefs.h. */
11125 _ACEOF
11126 cat confdefs.h >>conftest.$ac_ext
11127 cat >>conftest.$ac_ext <<_ACEOF
11128 /* end confdefs.h. */
11129
11130 int
11131 main ()
11132 {
11133
11134 ;
11135 return 0;
11136 }
11137 _ACEOF
11138 rm -f conftest.$ac_objext
11139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11140 (eval $ac_compile) 2>&5
11141 ac_status=$?
11142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11143 (exit $ac_status); } &&
11144 { ac_try='test -s conftest.$ac_objext'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11147 ac_status=$?
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; }; then
11150 ac_cv_prog_cxx_g=yes
11151 else
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.$ac_ext >&5
11154
11155 ac_cv_prog_cxx_g=no
11156 fi
11157 rm -f conftest.$ac_objext conftest.$ac_ext
11158 fi
11159 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11160 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11161 if test "$ac_test_CXXFLAGS" = set; then
11162 CXXFLAGS=$ac_save_CXXFLAGS
11163 elif test $ac_cv_prog_cxx_g = yes; then
11164 if test "$GXX" = yes; then
11165 CXXFLAGS="-g -O2"
11166 else
11167 CXXFLAGS="-g"
11168 fi
11169 else
11170 if test "$GXX" = yes; then
11171 CXXFLAGS="-O2"
11172 else
11173 CXXFLAGS=
11174 fi
11175 fi
11176 for ac_declaration in \
11177 ''\
11178 '#include <stdlib.h>' \
11179 'extern "C" void std::exit (int) throw (); using std::exit;' \
11180 'extern "C" void std::exit (int); using std::exit;' \
11181 'extern "C" void exit (int) throw ();' \
11182 'extern "C" void exit (int);' \
11183 'void exit (int);'
11184 do
11185 cat >conftest.$ac_ext <<_ACEOF
11186 #line $LINENO "configure"
11187 /* confdefs.h. */
11188 _ACEOF
11189 cat confdefs.h >>conftest.$ac_ext
11190 cat >>conftest.$ac_ext <<_ACEOF
11191 /* end confdefs.h. */
11192 #include <stdlib.h>
11193 $ac_declaration
11194 int
11195 main ()
11196 {
11197 exit (42);
11198 ;
11199 return 0;
11200 }
11201 _ACEOF
11202 rm -f conftest.$ac_objext
11203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11204 (eval $ac_compile) 2>&5
11205 ac_status=$?
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); } &&
11208 { ac_try='test -s conftest.$ac_objext'
11209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11210 (eval $ac_try) 2>&5
11211 ac_status=$?
11212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11213 (exit $ac_status); }; }; then
11214 :
11215 else
11216 echo "$as_me: failed program was:" >&5
11217 sed 's/^/| /' conftest.$ac_ext >&5
11218
11219 continue
11220 fi
11221 rm -f conftest.$ac_objext conftest.$ac_ext
11222 cat >conftest.$ac_ext <<_ACEOF
11223 #line $LINENO "configure"
11224 /* confdefs.h. */
11225 _ACEOF
11226 cat confdefs.h >>conftest.$ac_ext
11227 cat >>conftest.$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11229 $ac_declaration
11230 int
11231 main ()
11232 {
11233 exit (42);
11234 ;
11235 return 0;
11236 }
11237 _ACEOF
11238 rm -f conftest.$ac_objext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11240 (eval $ac_compile) 2>&5
11241 ac_status=$?
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } &&
11244 { ac_try='test -s conftest.$ac_objext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11247 ac_status=$?
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11250 break
11251 else
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11254
11255 fi
11256 rm -f conftest.$ac_objext conftest.$ac_ext
11257 done
11258 rm -f conftest*
11259 if test -n "$ac_declaration"; then
11260 echo '#ifdef __cplusplus' >>confdefs.h
11261 echo $ac_declaration >>confdefs.h
11262 echo '#endif' >>confdefs.h
11263 fi
11264
11265 ac_ext=cc
11266 ac_cpp='$CXXCPP $CPPFLAGS'
11267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11270
11271
11272 ac_ext=c
11273 ac_cpp='$CPP $CPPFLAGS'
11274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11277
11278
11279 if test -n "$ac_tool_prefix"; then
11280 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11281 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11282 echo "$as_me:$LINENO: checking for $ac_word" >&5
11283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11284 if test "${ac_cv_prog_RANLIB+set}" = set; then
11285 echo $ECHO_N "(cached) $ECHO_C" >&6
11286 else
11287 if test -n "$RANLIB"; then
11288 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11289 else
11290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11291 for as_dir in $PATH
11292 do
11293 IFS=$as_save_IFS
11294 test -z "$as_dir" && as_dir=.
11295 for ac_exec_ext in '' $ac_executable_extensions; do
11296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11297 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11299 break 2
11300 fi
11301 done
11302 done
11303
11304 fi
11305 fi
11306 RANLIB=$ac_cv_prog_RANLIB
11307 if test -n "$RANLIB"; then
11308 echo "$as_me:$LINENO: result: $RANLIB" >&5
11309 echo "${ECHO_T}$RANLIB" >&6
11310 else
11311 echo "$as_me:$LINENO: result: no" >&5
11312 echo "${ECHO_T}no" >&6
11313 fi
11314
11315 fi
11316 if test -z "$ac_cv_prog_RANLIB"; then
11317 ac_ct_RANLIB=$RANLIB
11318 # Extract the first word of "ranlib", so it can be a program name with args.
11319 set dummy ranlib; ac_word=$2
11320 echo "$as_me:$LINENO: checking for $ac_word" >&5
11321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11322 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11323 echo $ECHO_N "(cached) $ECHO_C" >&6
11324 else
11325 if test -n "$ac_ct_RANLIB"; then
11326 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11327 else
11328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11329 for as_dir in $PATH
11330 do
11331 IFS=$as_save_IFS
11332 test -z "$as_dir" && as_dir=.
11333 for ac_exec_ext in '' $ac_executable_extensions; do
11334 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11335 ac_cv_prog_ac_ct_RANLIB="ranlib"
11336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11337 break 2
11338 fi
11339 done
11340 done
11341
11342 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11343 fi
11344 fi
11345 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11346 if test -n "$ac_ct_RANLIB"; then
11347 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11348 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11349 else
11350 echo "$as_me:$LINENO: result: no" >&5
11351 echo "${ECHO_T}no" >&6
11352 fi
11353
11354 RANLIB=$ac_ct_RANLIB
11355 else
11356 RANLIB="$ac_cv_prog_RANLIB"
11357 fi
11358
11359
11360 # Extract the first word of "ar", so it can be a program name with args.
11361 set dummy ar; ac_word=$2
11362 echo "$as_me:$LINENO: checking for $ac_word" >&5
11363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11364 if test "${ac_cv_prog_AR+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 if test -n "$AR"; then
11368 ac_cv_prog_AR="$AR" # Let the user override the test.
11369 else
11370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11371 for as_dir in $PATH
11372 do
11373 IFS=$as_save_IFS
11374 test -z "$as_dir" && as_dir=.
11375 for ac_exec_ext in '' $ac_executable_extensions; do
11376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11377 ac_cv_prog_AR="ar"
11378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11379 break 2
11380 fi
11381 done
11382 done
11383
11384 fi
11385 fi
11386 AR=$ac_cv_prog_AR
11387 if test -n "$AR"; then
11388 echo "$as_me:$LINENO: result: $AR" >&5
11389 echo "${ECHO_T}$AR" >&6
11390 else
11391 echo "$as_me:$LINENO: result: no" >&5
11392 echo "${ECHO_T}no" >&6
11393 fi
11394
11395 if test "x$AR" = "x" ; then
11396 { { echo "$as_me:$LINENO: error: ar is needed to build wxWindows" >&5
11397 echo "$as_me: error: ar is needed to build wxWindows" >&2;}
11398 { (exit 1); exit 1; }; }
11399 fi
11400
11401 # Find a good install program. We prefer a C program (faster),
11402 # so one script is as good as another. But avoid the broken or
11403 # incompatible versions:
11404 # SysV /etc/install, /usr/sbin/install
11405 # SunOS /usr/etc/install
11406 # IRIX /sbin/install
11407 # AIX /bin/install
11408 # AmigaOS /C/install, which installs bootblocks on floppy discs
11409 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11410 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11411 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11412 # ./install, which can be erroneously created by make from ./install.sh.
11413 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11414 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11415 if test -z "$INSTALL"; then
11416 if test "${ac_cv_path_install+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11418 else
11419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11420 for as_dir in $PATH
11421 do
11422 IFS=$as_save_IFS
11423 test -z "$as_dir" && as_dir=.
11424 # Account for people who put trailing slashes in PATH elements.
11425 case $as_dir/ in
11426 ./ | .// | /cC/* | \
11427 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11428 /usr/ucb/* ) ;;
11429 *)
11430 # OSF1 and SCO ODT 3.0 have their own names for install.
11431 # Don't use installbsd from OSF since it installs stuff as root
11432 # by default.
11433 for ac_prog in ginstall scoinst install; do
11434 for ac_exec_ext in '' $ac_executable_extensions; do
11435 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11436 if test $ac_prog = install &&
11437 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11438 # AIX install. It has an incompatible calling convention.
11439 :
11440 elif test $ac_prog = install &&
11441 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11442 # program-specific install script used by HP pwplus--don't use.
11443 :
11444 else
11445 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11446 break 3
11447 fi
11448 fi
11449 done
11450 done
11451 ;;
11452 esac
11453 done
11454
11455
11456 fi
11457 if test "${ac_cv_path_install+set}" = set; then
11458 INSTALL=$ac_cv_path_install
11459 else
11460 # As a last resort, use the slow shell script. We don't cache a
11461 # path for INSTALL within a source directory, because that will
11462 # break other packages using the cache if that directory is
11463 # removed, or if the path is relative.
11464 INSTALL=$ac_install_sh
11465 fi
11466 fi
11467 echo "$as_me:$LINENO: result: $INSTALL" >&5
11468 echo "${ECHO_T}$INSTALL" >&6
11469
11470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11471 # It thinks the first close brace ends the variable substitution.
11472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11473
11474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11475
11476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11477
11478
11479 case ${INSTALL} in
11480 /* ) # Absolute
11481 ;;
11482 ?:* ) # Drive letter, considered as absolute.
11483 ;;
11484 *)
11485 INSTALL=`pwd`/${INSTALL} ;;
11486 esac
11487
11488 case ${host} in
11489 *-hp-hpux* )
11490 INSTALL_DIR="mkdir"
11491 ;;
11492
11493 *) INSTALL_DIR="$INSTALL -d"
11494 ;;
11495 esac
11496
11497
11498 case "${host}" in
11499
11500 powerpc-*-darwin* )
11501 INSTALL_PROGRAM="cp -fp"
11502 INSTALL_DATA="cp -fp"
11503 ;;
11504 *)
11505 ;;
11506 esac
11507
11508 # Extract the first word of "strip", so it can be a program name with args.
11509 set dummy strip; ac_word=$2
11510 echo "$as_me:$LINENO: checking for $ac_word" >&5
11511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11512 if test "${ac_cv_prog_STRIP+set}" = set; then
11513 echo $ECHO_N "(cached) $ECHO_C" >&6
11514 else
11515 if test -n "$STRIP"; then
11516 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11517 else
11518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11519 for as_dir in $PATH
11520 do
11521 IFS=$as_save_IFS
11522 test -z "$as_dir" && as_dir=.
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11525 ac_cv_prog_STRIP="strip"
11526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11527 break 2
11528 fi
11529 done
11530 done
11531
11532 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11533 fi
11534 fi
11535 STRIP=$ac_cv_prog_STRIP
11536 if test -n "$STRIP"; then
11537 echo "$as_me:$LINENO: result: $STRIP" >&5
11538 echo "${ECHO_T}$STRIP" >&6
11539 else
11540 echo "$as_me:$LINENO: result: no" >&5
11541 echo "${ECHO_T}no" >&6
11542 fi
11543
11544
11545 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11546 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11547 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 else
11550
11551 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11552 egrep -s GNU > /dev/null); then
11553 wx_cv_prog_makeisgnu="yes"
11554 else
11555 wx_cv_prog_makeisgnu="no"
11556 fi
11557
11558 fi
11559 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11560 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11561
11562 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11563 IF_GNU_MAKE=""
11564 else
11565 IF_GNU_MAKE="#"
11566 fi
11567
11568
11569
11570 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11571 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11572 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11573 if test "${wx_cv_prog_makevpath+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11575 else
11576
11577 cat - << EOF > confMake
11578 check : file
11579 cp \$? \$@
11580 cp \$? final_file
11581 EOF
11582
11583 if test ! -d sub ; then
11584 mkdir sub
11585 fi
11586 echo dummy > sub/file
11587 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11588 RESULT=$?
11589 rm -f sub/file check final_file confMake
11590 rmdir sub
11591 if test "$RESULT" = 0; then
11592 wx_cv_prog_makevpath="yes"
11593 else
11594 wx_cv_prog_makevpath="no"
11595 fi
11596
11597 fi
11598 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11599 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11600
11601 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11602 { { echo "$as_me:$LINENO: error:
11603 You need a make-utility that is able to use the variable
11604 VPATH correctly.
11605 If your version of make does not support VPATH correctly,
11606 please install GNU-make (possibly as gmake), and start
11607 configure with the following command:
11608 export MAKE=gmake; ./configure for sh-type shells
11609 setenv MAKE gmake; ./configure for csh-type shells
11610 Also please do remember to use gmake in this case every time
11611 you are trying to compile.
11612 " >&5
11613 echo "$as_me: error:
11614 You need a make-utility that is able to use the variable
11615 VPATH correctly.
11616 If your version of make does not support VPATH correctly,
11617 please install GNU-make (possibly as gmake), and start
11618 configure with the following command:
11619 export MAKE=gmake; ./configure for sh-type shells
11620 setenv MAKE gmake; ./configure for csh-type shells
11621 Also please do remember to use gmake in this case every time
11622 you are trying to compile.
11623 " >&2;}
11624 { (exit 1); exit 1; }; }
11625 fi fi
11626 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11627 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11628 LN_S=$as_ln_s
11629 if test "$LN_S" = "ln -s"; then
11630 echo "$as_me:$LINENO: result: yes" >&5
11631 echo "${ECHO_T}yes" >&6
11632 else
11633 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11634 echo "${ECHO_T}no, using $LN_S" >&6
11635 fi
11636
11637
11638 case "${host}" in
11639 *-pc-os2_emx | *-pc-os2-emx )
11640 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11641 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11642 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11643 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11644 echo $ECHO_N "(cached) $ECHO_C" >&6
11645 else
11646 ac_check_lib_save_LIBS=$LIBS
11647 LIBS="-lcExt $LIBS"
11648 cat >conftest.$ac_ext <<_ACEOF
11649 #line $LINENO "configure"
11650 /* confdefs.h. */
11651 _ACEOF
11652 cat confdefs.h >>conftest.$ac_ext
11653 cat >>conftest.$ac_ext <<_ACEOF
11654 /* end confdefs.h. */
11655
11656 /* Override any gcc2 internal prototype to avoid an error. */
11657 #ifdef __cplusplus
11658 extern "C"
11659 #endif
11660 /* We use char because int might match the return type of a gcc2
11661 builtin and then its argument prototype would still apply. */
11662 char drand48 ();
11663 int
11664 main ()
11665 {
11666 drand48 ();
11667 ;
11668 return 0;
11669 }
11670 _ACEOF
11671 rm -f conftest.$ac_objext conftest$ac_exeext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11673 (eval $ac_link) 2>&5
11674 ac_status=$?
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } &&
11677 { ac_try='test -s conftest$ac_exeext'
11678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11679 (eval $ac_try) 2>&5
11680 ac_status=$?
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); }; }; then
11683 ac_cv_lib_cExt_drand48=yes
11684 else
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.$ac_ext >&5
11687
11688 ac_cv_lib_cExt_drand48=no
11689 fi
11690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11691 LIBS=$ac_check_lib_save_LIBS
11692 fi
11693 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
11694 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
11695 if test $ac_cv_lib_cExt_drand48 = yes; then
11696 LIBS="$LIBS -lcExt"
11697 fi
11698
11699 else
11700 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
11701 fi
11702 ;;
11703 esac
11704
11705
11706 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
11707 echo "$as_me:$LINENO: checking for strings.h" >&5
11708 echo $ECHO_N "checking for strings.h... $ECHO_C" >&6
11709 if test "${ac_cv_header_strings_h+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else
11712 ac_cv_header_strings_h=no
11713 fi
11714 echo "$as_me:$LINENO: result: $ac_cv_header_strings_h" >&5
11715 echo "${ECHO_T}$ac_cv_header_strings_h" >&6
11716 if test "$ac_cv_header_strings_h" = "no"; then
11717 echo "$as_me:$LINENO: result: forced no into cache" >&5
11718 echo "${ECHO_T}forced no into cache" >&6
11719 else
11720 { echo "$as_me:$LINENO: WARNING: strings.h is not compatible with Mac OS X" >&5
11721 echo "$as_me: WARNING: strings.h is not compatible with Mac OS X" >&2;}
11722 fi
11723 fi
11724 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11725 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11726 if test "${ac_cv_header_stdc+set}" = set; then
11727 echo $ECHO_N "(cached) $ECHO_C" >&6
11728 else
11729 cat >conftest.$ac_ext <<_ACEOF
11730 #line $LINENO "configure"
11731 /* confdefs.h. */
11732 _ACEOF
11733 cat confdefs.h >>conftest.$ac_ext
11734 cat >>conftest.$ac_ext <<_ACEOF
11735 /* end confdefs.h. */
11736 #include <stdlib.h>
11737 #include <stdarg.h>
11738 #include <string.h>
11739 #include <float.h>
11740
11741 int
11742 main ()
11743 {
11744
11745 ;
11746 return 0;
11747 }
11748 _ACEOF
11749 rm -f conftest.$ac_objext
11750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11751 (eval $ac_compile) 2>&5
11752 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); } &&
11755 { ac_try='test -s conftest.$ac_objext'
11756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11757 (eval $ac_try) 2>&5
11758 ac_status=$?
11759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11760 (exit $ac_status); }; }; then
11761 ac_cv_header_stdc=yes
11762 else
11763 echo "$as_me: failed program was:" >&5
11764 sed 's/^/| /' conftest.$ac_ext >&5
11765
11766 ac_cv_header_stdc=no
11767 fi
11768 rm -f conftest.$ac_objext conftest.$ac_ext
11769
11770 if test $ac_cv_header_stdc = yes; then
11771 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11772 cat >conftest.$ac_ext <<_ACEOF
11773 #line $LINENO "configure"
11774 /* confdefs.h. */
11775 _ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 #include <string.h>
11780
11781 _ACEOF
11782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11783 $EGREP "memchr" >/dev/null 2>&1; then
11784 :
11785 else
11786 ac_cv_header_stdc=no
11787 fi
11788 rm -f conftest*
11789
11790 fi
11791
11792 if test $ac_cv_header_stdc = yes; then
11793 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11794 cat >conftest.$ac_ext <<_ACEOF
11795 #line $LINENO "configure"
11796 /* confdefs.h. */
11797 _ACEOF
11798 cat confdefs.h >>conftest.$ac_ext
11799 cat >>conftest.$ac_ext <<_ACEOF
11800 /* end confdefs.h. */
11801 #include <stdlib.h>
11802
11803 _ACEOF
11804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11805 $EGREP "free" >/dev/null 2>&1; then
11806 :
11807 else
11808 ac_cv_header_stdc=no
11809 fi
11810 rm -f conftest*
11811
11812 fi
11813
11814 if test $ac_cv_header_stdc = yes; then
11815 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11816 if test "$cross_compiling" = yes; then
11817 :
11818 else
11819 cat >conftest.$ac_ext <<_ACEOF
11820 #line $LINENO "configure"
11821 /* confdefs.h. */
11822 _ACEOF
11823 cat confdefs.h >>conftest.$ac_ext
11824 cat >>conftest.$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826 #include <ctype.h>
11827 #if ((' ' & 0x0FF) == 0x020)
11828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11830 #else
11831 # define ISLOWER(c) \
11832 (('a' <= (c) && (c) <= 'i') \
11833 || ('j' <= (c) && (c) <= 'r') \
11834 || ('s' <= (c) && (c) <= 'z'))
11835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11836 #endif
11837
11838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11839 int
11840 main ()
11841 {
11842 int i;
11843 for (i = 0; i < 256; i++)
11844 if (XOR (islower (i), ISLOWER (i))
11845 || toupper (i) != TOUPPER (i))
11846 exit(2);
11847 exit (0);
11848 }
11849 _ACEOF
11850 rm -f conftest$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>&5
11853 ac_status=$?
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11857 (eval $ac_try) 2>&5
11858 ac_status=$?
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); }; }; then
11861 :
11862 else
11863 echo "$as_me: program exited with status $ac_status" >&5
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11866
11867 ( exit $ac_status )
11868 ac_cv_header_stdc=no
11869 fi
11870 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11871 fi
11872 fi
11873 fi
11874 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11875 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11876 if test $ac_cv_header_stdc = yes; then
11877
11878 cat >>confdefs.h <<\_ACEOF
11879 #define STDC_HEADERS 1
11880 _ACEOF
11881
11882 fi
11883
11884 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
11895 inttypes.h stdint.h unistd.h
11896 do
11897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11898 echo "$as_me:$LINENO: checking for $ac_header" >&5
11899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11902 else
11903 cat >conftest.$ac_ext <<_ACEOF
11904 #line $LINENO "configure"
11905 /* confdefs.h. */
11906 _ACEOF
11907 cat confdefs.h >>conftest.$ac_ext
11908 cat >>conftest.$ac_ext <<_ACEOF
11909 /* end confdefs.h. */
11910 $ac_includes_default
11911
11912 #include <$ac_header>
11913 _ACEOF
11914 rm -f conftest.$ac_objext
11915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11916 (eval $ac_compile) 2>&5
11917 ac_status=$?
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try='test -s conftest.$ac_objext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11923 ac_status=$?
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 eval "$as_ac_Header=yes"
11927 else
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11930
11931 eval "$as_ac_Header=no"
11932 fi
11933 rm -f conftest.$ac_objext conftest.$ac_ext
11934 fi
11935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11936 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11938 cat >>confdefs.h <<_ACEOF
11939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11940 _ACEOF
11941
11942 fi
11943
11944 done
11945
11946
11947
11948 for ac_header in strings.h
11949 do
11950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11952 echo "$as_me:$LINENO: checking for $ac_header" >&5
11953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11956 fi
11957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11959 else
11960 # Is the header compilable?
11961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11963 cat >conftest.$ac_ext <<_ACEOF
11964 #line $LINENO "configure"
11965 /* confdefs.h. */
11966 _ACEOF
11967 cat confdefs.h >>conftest.$ac_ext
11968 cat >>conftest.$ac_ext <<_ACEOF
11969 /* end confdefs.h. */
11970 $ac_includes_default
11971 #include <$ac_header>
11972 _ACEOF
11973 rm -f conftest.$ac_objext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11975 (eval $ac_compile) 2>&5
11976 ac_status=$?
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } &&
11979 { ac_try='test -s conftest.$ac_objext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11982 ac_status=$?
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_header_compiler=yes
11986 else
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11989
11990 ac_header_compiler=no
11991 fi
11992 rm -f conftest.$ac_objext conftest.$ac_ext
11993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11994 echo "${ECHO_T}$ac_header_compiler" >&6
11995
11996 # Is the header present?
11997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11999 cat >conftest.$ac_ext <<_ACEOF
12000 #line $LINENO "configure"
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 #include <$ac_header>
12007 _ACEOF
12008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12010 ac_status=$?
12011 grep -v '^ *+' conftest.er1 >conftest.err
12012 rm -f conftest.er1
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } >/dev/null; then
12016 if test -s conftest.err; then
12017 ac_cpp_err=$ac_c_preproc_warn_flag
12018 else
12019 ac_cpp_err=
12020 fi
12021 else
12022 ac_cpp_err=yes
12023 fi
12024 if test -z "$ac_cpp_err"; then
12025 ac_header_preproc=yes
12026 else
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.$ac_ext >&5
12029
12030 ac_header_preproc=no
12031 fi
12032 rm -f conftest.err conftest.$ac_ext
12033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12034 echo "${ECHO_T}$ac_header_preproc" >&6
12035
12036 # So? What about this header?
12037 case $ac_header_compiler:$ac_header_preproc in
12038 yes:no )
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12043 (
12044 cat <<\_ASBOX
12045 ## ------------------------------------ ##
12046 ## Report this to bug-autoconf@gnu.org. ##
12047 ## ------------------------------------ ##
12048 _ASBOX
12049 ) |
12050 sed "s/^/$as_me: WARNING: /" >&2
12051 ;;
12052 no:yes )
12053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12059 (
12060 cat <<\_ASBOX
12061 ## ------------------------------------ ##
12062 ## Report this to bug-autoconf@gnu.org. ##
12063 ## ------------------------------------ ##
12064 _ASBOX
12065 ) |
12066 sed "s/^/$as_me: WARNING: /" >&2
12067 ;;
12068 esac
12069 echo "$as_me:$LINENO: checking for $ac_header" >&5
12070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12073 else
12074 eval "$as_ac_Header=$ac_header_preproc"
12075 fi
12076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12078
12079 fi
12080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12081 cat >>confdefs.h <<_ACEOF
12082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12083 _ACEOF
12084
12085 fi
12086
12087 done
12088
12089
12090
12091 for ac_header in stdlib.h
12092 do
12093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12095 echo "$as_me:$LINENO: checking for $ac_header" >&5
12096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12098 echo $ECHO_N "(cached) $ECHO_C" >&6
12099 fi
12100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12102 else
12103 # Is the header compilable?
12104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12106 cat >conftest.$ac_ext <<_ACEOF
12107 #line $LINENO "configure"
12108 /* confdefs.h. */
12109 _ACEOF
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12113 $ac_includes_default
12114 #include <$ac_header>
12115 _ACEOF
12116 rm -f conftest.$ac_objext
12117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12118 (eval $ac_compile) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } &&
12122 { ac_try='test -s conftest.$ac_objext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12125 ac_status=$?
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 ac_header_compiler=yes
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12132
12133 ac_header_compiler=no
12134 fi
12135 rm -f conftest.$ac_objext conftest.$ac_ext
12136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12137 echo "${ECHO_T}$ac_header_compiler" >&6
12138
12139 # Is the header present?
12140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12142 cat >conftest.$ac_ext <<_ACEOF
12143 #line $LINENO "configure"
12144 /* confdefs.h. */
12145 _ACEOF
12146 cat confdefs.h >>conftest.$ac_ext
12147 cat >>conftest.$ac_ext <<_ACEOF
12148 /* end confdefs.h. */
12149 #include <$ac_header>
12150 _ACEOF
12151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12153 ac_status=$?
12154 grep -v '^ *+' conftest.er1 >conftest.err
12155 rm -f conftest.er1
12156 cat conftest.err >&5
12157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12158 (exit $ac_status); } >/dev/null; then
12159 if test -s conftest.err; then
12160 ac_cpp_err=$ac_c_preproc_warn_flag
12161 else
12162 ac_cpp_err=
12163 fi
12164 else
12165 ac_cpp_err=yes
12166 fi
12167 if test -z "$ac_cpp_err"; then
12168 ac_header_preproc=yes
12169 else
12170 echo "$as_me: failed program was:" >&5
12171 sed 's/^/| /' conftest.$ac_ext >&5
12172
12173 ac_header_preproc=no
12174 fi
12175 rm -f conftest.err conftest.$ac_ext
12176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12177 echo "${ECHO_T}$ac_header_preproc" >&6
12178
12179 # So? What about this header?
12180 case $ac_header_compiler:$ac_header_preproc in
12181 yes:no )
12182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12186 (
12187 cat <<\_ASBOX
12188 ## ------------------------------------ ##
12189 ## Report this to bug-autoconf@gnu.org. ##
12190 ## ------------------------------------ ##
12191 _ASBOX
12192 ) |
12193 sed "s/^/$as_me: WARNING: /" >&2
12194 ;;
12195 no:yes )
12196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12202 (
12203 cat <<\_ASBOX
12204 ## ------------------------------------ ##
12205 ## Report this to bug-autoconf@gnu.org. ##
12206 ## ------------------------------------ ##
12207 _ASBOX
12208 ) |
12209 sed "s/^/$as_me: WARNING: /" >&2
12210 ;;
12211 esac
12212 echo "$as_me:$LINENO: checking for $ac_header" >&5
12213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12216 else
12217 eval "$as_ac_Header=$ac_header_preproc"
12218 fi
12219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12221
12222 fi
12223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12224 cat >>confdefs.h <<_ACEOF
12225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12226 _ACEOF
12227
12228 fi
12229
12230 done
12231
12232
12233 for ac_header in malloc.h
12234 do
12235 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12237 echo "$as_me:$LINENO: checking for $ac_header" >&5
12238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 fi
12242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12243 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12244 else
12245 # Is the header compilable?
12246 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12247 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12248 cat >conftest.$ac_ext <<_ACEOF
12249 #line $LINENO "configure"
12250 /* confdefs.h. */
12251 _ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12255 $ac_includes_default
12256 #include <$ac_header>
12257 _ACEOF
12258 rm -f conftest.$ac_objext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12260 (eval $ac_compile) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -s conftest.$ac_objext'
12265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12266 (eval $ac_try) 2>&5
12267 ac_status=$?
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); }; }; then
12270 ac_header_compiler=yes
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12274
12275 ac_header_compiler=no
12276 fi
12277 rm -f conftest.$ac_objext conftest.$ac_ext
12278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12279 echo "${ECHO_T}$ac_header_compiler" >&6
12280
12281 # Is the header present?
12282 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12283 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12284 cat >conftest.$ac_ext <<_ACEOF
12285 #line $LINENO "configure"
12286 /* confdefs.h. */
12287 _ACEOF
12288 cat confdefs.h >>conftest.$ac_ext
12289 cat >>conftest.$ac_ext <<_ACEOF
12290 /* end confdefs.h. */
12291 #include <$ac_header>
12292 _ACEOF
12293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12295 ac_status=$?
12296 grep -v '^ *+' conftest.er1 >conftest.err
12297 rm -f conftest.er1
12298 cat conftest.err >&5
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); } >/dev/null; then
12301 if test -s conftest.err; then
12302 ac_cpp_err=$ac_c_preproc_warn_flag
12303 else
12304 ac_cpp_err=
12305 fi
12306 else
12307 ac_cpp_err=yes
12308 fi
12309 if test -z "$ac_cpp_err"; then
12310 ac_header_preproc=yes
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12314
12315 ac_header_preproc=no
12316 fi
12317 rm -f conftest.err conftest.$ac_ext
12318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12319 echo "${ECHO_T}$ac_header_preproc" >&6
12320
12321 # So? What about this header?
12322 case $ac_header_compiler:$ac_header_preproc in
12323 yes:no )
12324 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12325 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12328 (
12329 cat <<\_ASBOX
12330 ## ------------------------------------ ##
12331 ## Report this to bug-autoconf@gnu.org. ##
12332 ## ------------------------------------ ##
12333 _ASBOX
12334 ) |
12335 sed "s/^/$as_me: WARNING: /" >&2
12336 ;;
12337 no:yes )
12338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12343 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12344 (
12345 cat <<\_ASBOX
12346 ## ------------------------------------ ##
12347 ## Report this to bug-autoconf@gnu.org. ##
12348 ## ------------------------------------ ##
12349 _ASBOX
12350 ) |
12351 sed "s/^/$as_me: WARNING: /" >&2
12352 ;;
12353 esac
12354 echo "$as_me:$LINENO: checking for $ac_header" >&5
12355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12358 else
12359 eval "$as_ac_Header=$ac_header_preproc"
12360 fi
12361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12363
12364 fi
12365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12366 cat >>confdefs.h <<_ACEOF
12367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12368 _ACEOF
12369
12370 fi
12371
12372 done
12373
12374
12375 for ac_header in unistd.h
12376 do
12377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12379 echo "$as_me:$LINENO: checking for $ac_header" >&5
12380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12382 echo $ECHO_N "(cached) $ECHO_C" >&6
12383 fi
12384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12386 else
12387 # Is the header compilable?
12388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12390 cat >conftest.$ac_ext <<_ACEOF
12391 #line $LINENO "configure"
12392 /* confdefs.h. */
12393 _ACEOF
12394 cat confdefs.h >>conftest.$ac_ext
12395 cat >>conftest.$ac_ext <<_ACEOF
12396 /* end confdefs.h. */
12397 $ac_includes_default
12398 #include <$ac_header>
12399 _ACEOF
12400 rm -f conftest.$ac_objext
12401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12402 (eval $ac_compile) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); } &&
12406 { ac_try='test -s conftest.$ac_objext'
12407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408 (eval $ac_try) 2>&5
12409 ac_status=$?
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); }; }; then
12412 ac_header_compiler=yes
12413 else
12414 echo "$as_me: failed program was:" >&5
12415 sed 's/^/| /' conftest.$ac_ext >&5
12416
12417 ac_header_compiler=no
12418 fi
12419 rm -f conftest.$ac_objext conftest.$ac_ext
12420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12421 echo "${ECHO_T}$ac_header_compiler" >&6
12422
12423 # Is the header present?
12424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12426 cat >conftest.$ac_ext <<_ACEOF
12427 #line $LINENO "configure"
12428 /* confdefs.h. */
12429 _ACEOF
12430 cat confdefs.h >>conftest.$ac_ext
12431 cat >>conftest.$ac_ext <<_ACEOF
12432 /* end confdefs.h. */
12433 #include <$ac_header>
12434 _ACEOF
12435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12436 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12437 ac_status=$?
12438 grep -v '^ *+' conftest.er1 >conftest.err
12439 rm -f conftest.er1
12440 cat conftest.err >&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); } >/dev/null; then
12443 if test -s conftest.err; then
12444 ac_cpp_err=$ac_c_preproc_warn_flag
12445 else
12446 ac_cpp_err=
12447 fi
12448 else
12449 ac_cpp_err=yes
12450 fi
12451 if test -z "$ac_cpp_err"; then
12452 ac_header_preproc=yes
12453 else
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12456
12457 ac_header_preproc=no
12458 fi
12459 rm -f conftest.err conftest.$ac_ext
12460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12461 echo "${ECHO_T}$ac_header_preproc" >&6
12462
12463 # So? What about this header?
12464 case $ac_header_compiler:$ac_header_preproc in
12465 yes:no )
12466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12470 (
12471 cat <<\_ASBOX
12472 ## ------------------------------------ ##
12473 ## Report this to bug-autoconf@gnu.org. ##
12474 ## ------------------------------------ ##
12475 _ASBOX
12476 ) |
12477 sed "s/^/$as_me: WARNING: /" >&2
12478 ;;
12479 no:yes )
12480 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12481 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12482 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12483 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12486 (
12487 cat <<\_ASBOX
12488 ## ------------------------------------ ##
12489 ## Report this to bug-autoconf@gnu.org. ##
12490 ## ------------------------------------ ##
12491 _ASBOX
12492 ) |
12493 sed "s/^/$as_me: WARNING: /" >&2
12494 ;;
12495 esac
12496 echo "$as_me:$LINENO: checking for $ac_header" >&5
12497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501 eval "$as_ac_Header=$ac_header_preproc"
12502 fi
12503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12505
12506 fi
12507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12508 cat >>confdefs.h <<_ACEOF
12509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12510 _ACEOF
12511
12512 fi
12513
12514 done
12515
12516
12517 for ac_header in wchar.h
12518 do
12519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12521 echo "$as_me:$LINENO: checking for $ac_header" >&5
12522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 fi
12526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12528 else
12529 # Is the header compilable?
12530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12532 cat >conftest.$ac_ext <<_ACEOF
12533 #line $LINENO "configure"
12534 /* confdefs.h. */
12535 _ACEOF
12536 cat confdefs.h >>conftest.$ac_ext
12537 cat >>conftest.$ac_ext <<_ACEOF
12538 /* end confdefs.h. */
12539 $ac_includes_default
12540 #include <$ac_header>
12541 _ACEOF
12542 rm -f conftest.$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>&5
12545 ac_status=$?
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } &&
12548 { ac_try='test -s conftest.$ac_objext'
12549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12550 (eval $ac_try) 2>&5
12551 ac_status=$?
12552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12553 (exit $ac_status); }; }; then
12554 ac_header_compiler=yes
12555 else
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.$ac_ext >&5
12558
12559 ac_header_compiler=no
12560 fi
12561 rm -f conftest.$ac_objext conftest.$ac_ext
12562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12563 echo "${ECHO_T}$ac_header_compiler" >&6
12564
12565 # Is the header present?
12566 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12567 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12568 cat >conftest.$ac_ext <<_ACEOF
12569 #line $LINENO "configure"
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575 #include <$ac_header>
12576 _ACEOF
12577 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12578 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12579 ac_status=$?
12580 grep -v '^ *+' conftest.er1 >conftest.err
12581 rm -f conftest.er1
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } >/dev/null; then
12585 if test -s conftest.err; then
12586 ac_cpp_err=$ac_c_preproc_warn_flag
12587 else
12588 ac_cpp_err=
12589 fi
12590 else
12591 ac_cpp_err=yes
12592 fi
12593 if test -z "$ac_cpp_err"; then
12594 ac_header_preproc=yes
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 ac_header_preproc=no
12600 fi
12601 rm -f conftest.err conftest.$ac_ext
12602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12603 echo "${ECHO_T}$ac_header_preproc" >&6
12604
12605 # So? What about this header?
12606 case $ac_header_compiler:$ac_header_preproc in
12607 yes:no )
12608 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12609 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12612 (
12613 cat <<\_ASBOX
12614 ## ------------------------------------ ##
12615 ## Report this to bug-autoconf@gnu.org. ##
12616 ## ------------------------------------ ##
12617 _ASBOX
12618 ) |
12619 sed "s/^/$as_me: WARNING: /" >&2
12620 ;;
12621 no:yes )
12622 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12623 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12624 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12625 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12628 (
12629 cat <<\_ASBOX
12630 ## ------------------------------------ ##
12631 ## Report this to bug-autoconf@gnu.org. ##
12632 ## ------------------------------------ ##
12633 _ASBOX
12634 ) |
12635 sed "s/^/$as_me: WARNING: /" >&2
12636 ;;
12637 esac
12638 echo "$as_me:$LINENO: checking for $ac_header" >&5
12639 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12641 echo $ECHO_N "(cached) $ECHO_C" >&6
12642 else
12643 eval "$as_ac_Header=$ac_header_preproc"
12644 fi
12645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12647
12648 fi
12649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12650 cat >>confdefs.h <<_ACEOF
12651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12652 _ACEOF
12653
12654 fi
12655
12656 done
12657
12658
12659 if test "$ac_cv_header_wchar_h" != "yes"; then
12660
12661 for ac_header in wcstr.h
12662 do
12663 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12665 echo "$as_me:$LINENO: checking for $ac_header" >&5
12666 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12668 echo $ECHO_N "(cached) $ECHO_C" >&6
12669 fi
12670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12672 else
12673 # Is the header compilable?
12674 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12676 cat >conftest.$ac_ext <<_ACEOF
12677 #line $LINENO "configure"
12678 /* confdefs.h. */
12679 _ACEOF
12680 cat confdefs.h >>conftest.$ac_ext
12681 cat >>conftest.$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 $ac_includes_default
12684 #include <$ac_header>
12685 _ACEOF
12686 rm -f conftest.$ac_objext
12687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12688 (eval $ac_compile) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); } &&
12692 { ac_try='test -s conftest.$ac_objext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12695 ac_status=$?
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 ac_header_compiler=yes
12699 else
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12702
12703 ac_header_compiler=no
12704 fi
12705 rm -f conftest.$ac_objext conftest.$ac_ext
12706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12707 echo "${ECHO_T}$ac_header_compiler" >&6
12708
12709 # Is the header present?
12710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12712 cat >conftest.$ac_ext <<_ACEOF
12713 #line $LINENO "configure"
12714 /* confdefs.h. */
12715 _ACEOF
12716 cat confdefs.h >>conftest.$ac_ext
12717 cat >>conftest.$ac_ext <<_ACEOF
12718 /* end confdefs.h. */
12719 #include <$ac_header>
12720 _ACEOF
12721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12723 ac_status=$?
12724 grep -v '^ *+' conftest.er1 >conftest.err
12725 rm -f conftest.er1
12726 cat conftest.err >&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); } >/dev/null; then
12729 if test -s conftest.err; then
12730 ac_cpp_err=$ac_c_preproc_warn_flag
12731 else
12732 ac_cpp_err=
12733 fi
12734 else
12735 ac_cpp_err=yes
12736 fi
12737 if test -z "$ac_cpp_err"; then
12738 ac_header_preproc=yes
12739 else
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.$ac_ext >&5
12742
12743 ac_header_preproc=no
12744 fi
12745 rm -f conftest.err conftest.$ac_ext
12746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12747 echo "${ECHO_T}$ac_header_preproc" >&6
12748
12749 # So? What about this header?
12750 case $ac_header_compiler:$ac_header_preproc in
12751 yes:no )
12752 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12756 (
12757 cat <<\_ASBOX
12758 ## ------------------------------------ ##
12759 ## Report this to bug-autoconf@gnu.org. ##
12760 ## ------------------------------------ ##
12761 _ASBOX
12762 ) |
12763 sed "s/^/$as_me: WARNING: /" >&2
12764 ;;
12765 no:yes )
12766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12772 (
12773 cat <<\_ASBOX
12774 ## ------------------------------------ ##
12775 ## Report this to bug-autoconf@gnu.org. ##
12776 ## ------------------------------------ ##
12777 _ASBOX
12778 ) |
12779 sed "s/^/$as_me: WARNING: /" >&2
12780 ;;
12781 esac
12782 echo "$as_me:$LINENO: checking for $ac_header" >&5
12783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12785 echo $ECHO_N "(cached) $ECHO_C" >&6
12786 else
12787 eval "$as_ac_Header=$ac_header_preproc"
12788 fi
12789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12791
12792 fi
12793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12794 cat >>confdefs.h <<_ACEOF
12795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12796 _ACEOF
12797
12798 fi
12799
12800 done
12801
12802 fi
12803
12804
12805 for ac_header in fnmatch.h
12806 do
12807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12809 echo "$as_me:$LINENO: checking for $ac_header" >&5
12810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12812 echo $ECHO_N "(cached) $ECHO_C" >&6
12813 fi
12814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12816 else
12817 # Is the header compilable?
12818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12820 cat >conftest.$ac_ext <<_ACEOF
12821 #line $LINENO "configure"
12822 /* confdefs.h. */
12823 _ACEOF
12824 cat confdefs.h >>conftest.$ac_ext
12825 cat >>conftest.$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 $ac_includes_default
12828 #include <$ac_header>
12829 _ACEOF
12830 rm -f conftest.$ac_objext
12831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12832 (eval $ac_compile) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); } &&
12836 { ac_try='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12839 ac_status=$?
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 ac_header_compiler=yes
12843 else
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12846
12847 ac_header_compiler=no
12848 fi
12849 rm -f conftest.$ac_objext conftest.$ac_ext
12850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12851 echo "${ECHO_T}$ac_header_compiler" >&6
12852
12853 # Is the header present?
12854 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12855 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12856 cat >conftest.$ac_ext <<_ACEOF
12857 #line $LINENO "configure"
12858 /* confdefs.h. */
12859 _ACEOF
12860 cat confdefs.h >>conftest.$ac_ext
12861 cat >>conftest.$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12863 #include <$ac_header>
12864 _ACEOF
12865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12867 ac_status=$?
12868 grep -v '^ *+' conftest.er1 >conftest.err
12869 rm -f conftest.er1
12870 cat conftest.err >&5
12871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } >/dev/null; then
12873 if test -s conftest.err; then
12874 ac_cpp_err=$ac_c_preproc_warn_flag
12875 else
12876 ac_cpp_err=
12877 fi
12878 else
12879 ac_cpp_err=yes
12880 fi
12881 if test -z "$ac_cpp_err"; then
12882 ac_header_preproc=yes
12883 else
12884 echo "$as_me: failed program was:" >&5
12885 sed 's/^/| /' conftest.$ac_ext >&5
12886
12887 ac_header_preproc=no
12888 fi
12889 rm -f conftest.err conftest.$ac_ext
12890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12891 echo "${ECHO_T}$ac_header_preproc" >&6
12892
12893 # So? What about this header?
12894 case $ac_header_compiler:$ac_header_preproc in
12895 yes:no )
12896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12900 (
12901 cat <<\_ASBOX
12902 ## ------------------------------------ ##
12903 ## Report this to bug-autoconf@gnu.org. ##
12904 ## ------------------------------------ ##
12905 _ASBOX
12906 ) |
12907 sed "s/^/$as_me: WARNING: /" >&2
12908 ;;
12909 no:yes )
12910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12916 (
12917 cat <<\_ASBOX
12918 ## ------------------------------------ ##
12919 ## Report this to bug-autoconf@gnu.org. ##
12920 ## ------------------------------------ ##
12921 _ASBOX
12922 ) |
12923 sed "s/^/$as_me: WARNING: /" >&2
12924 ;;
12925 esac
12926 echo "$as_me:$LINENO: checking for $ac_header" >&5
12927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 eval "$as_ac_Header=$ac_header_preproc"
12932 fi
12933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12934 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12935
12936 fi
12937 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12938 cat >>confdefs.h <<_ACEOF
12939 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12940 _ACEOF
12941
12942 fi
12943
12944 done
12945
12946
12947 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
12948
12949 for ac_func in fnmatch
12950 do
12951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12952 echo "$as_me:$LINENO: checking for $ac_func" >&5
12953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12954 if eval "test \"\${$as_ac_var+set}\" = set"; then
12955 echo $ECHO_N "(cached) $ECHO_C" >&6
12956 else
12957 cat >conftest.$ac_ext <<_ACEOF
12958 #line $LINENO "configure"
12959 /* confdefs.h. */
12960 _ACEOF
12961 cat confdefs.h >>conftest.$ac_ext
12962 cat >>conftest.$ac_ext <<_ACEOF
12963 /* end confdefs.h. */
12964 /* System header to define __stub macros and hopefully few prototypes,
12965 which can conflict with char $ac_func (); below.
12966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12967 <limits.h> exists even on freestanding compilers. */
12968 #ifdef __STDC__
12969 # include <limits.h>
12970 #else
12971 # include <assert.h>
12972 #endif
12973 /* Override any gcc2 internal prototype to avoid an error. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 {
12977 #endif
12978 /* We use char because int might match the return type of a gcc2
12979 builtin and then its argument prototype would still apply. */
12980 char $ac_func ();
12981 /* The GNU C library defines this for functions which it implements
12982 to always fail with ENOSYS. Some functions are actually named
12983 something starting with __ and the normal name is an alias. */
12984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12985 choke me
12986 #else
12987 char (*f) () = $ac_func;
12988 #endif
12989 #ifdef __cplusplus
12990 }
12991 #endif
12992
12993 int
12994 main ()
12995 {
12996 return f != $ac_func;
12997 ;
12998 return 0;
12999 }
13000 _ACEOF
13001 rm -f conftest.$ac_objext conftest$ac_exeext
13002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13003 (eval $ac_link) 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try='test -s conftest$ac_exeext'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 eval "$as_ac_var=yes"
13014 else
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13017
13018 eval "$as_ac_var=no"
13019 fi
13020 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13021 fi
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13024 if test `eval echo '${'$as_ac_var'}'` = yes; then
13025 cat >>confdefs.h <<_ACEOF
13026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13027 _ACEOF
13028
13029 fi
13030 done
13031
13032 fi
13033
13034
13035 for ac_header in langinfo.h
13036 do
13037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13039 echo "$as_me:$LINENO: checking for $ac_header" >&5
13040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 fi
13044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13046 else
13047 # Is the header compilable?
13048 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13049 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13050 cat >conftest.$ac_ext <<_ACEOF
13051 #line $LINENO "configure"
13052 /* confdefs.h. */
13053 _ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057 $ac_includes_default
13058 #include <$ac_header>
13059 _ACEOF
13060 rm -f conftest.$ac_objext
13061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13062 (eval $ac_compile) 2>&5
13063 ac_status=$?
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -s conftest.$ac_objext'
13067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13068 (eval $ac_try) 2>&5
13069 ac_status=$?
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); }; }; then
13072 ac_header_compiler=yes
13073 else
13074 echo "$as_me: failed program was:" >&5
13075 sed 's/^/| /' conftest.$ac_ext >&5
13076
13077 ac_header_compiler=no
13078 fi
13079 rm -f conftest.$ac_objext conftest.$ac_ext
13080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13081 echo "${ECHO_T}$ac_header_compiler" >&6
13082
13083 # Is the header present?
13084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13086 cat >conftest.$ac_ext <<_ACEOF
13087 #line $LINENO "configure"
13088 /* confdefs.h. */
13089 _ACEOF
13090 cat confdefs.h >>conftest.$ac_ext
13091 cat >>conftest.$ac_ext <<_ACEOF
13092 /* end confdefs.h. */
13093 #include <$ac_header>
13094 _ACEOF
13095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13097 ac_status=$?
13098 grep -v '^ *+' conftest.er1 >conftest.err
13099 rm -f conftest.er1
13100 cat conftest.err >&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); } >/dev/null; then
13103 if test -s conftest.err; then
13104 ac_cpp_err=$ac_c_preproc_warn_flag
13105 else
13106 ac_cpp_err=
13107 fi
13108 else
13109 ac_cpp_err=yes
13110 fi
13111 if test -z "$ac_cpp_err"; then
13112 ac_header_preproc=yes
13113 else
13114 echo "$as_me: failed program was:" >&5
13115 sed 's/^/| /' conftest.$ac_ext >&5
13116
13117 ac_header_preproc=no
13118 fi
13119 rm -f conftest.err conftest.$ac_ext
13120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13121 echo "${ECHO_T}$ac_header_preproc" >&6
13122
13123 # So? What about this header?
13124 case $ac_header_compiler:$ac_header_preproc in
13125 yes:no )
13126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13129 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13130 (
13131 cat <<\_ASBOX
13132 ## ------------------------------------ ##
13133 ## Report this to bug-autoconf@gnu.org. ##
13134 ## ------------------------------------ ##
13135 _ASBOX
13136 ) |
13137 sed "s/^/$as_me: WARNING: /" >&2
13138 ;;
13139 no:yes )
13140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13146 (
13147 cat <<\_ASBOX
13148 ## ------------------------------------ ##
13149 ## Report this to bug-autoconf@gnu.org. ##
13150 ## ------------------------------------ ##
13151 _ASBOX
13152 ) |
13153 sed "s/^/$as_me: WARNING: /" >&2
13154 ;;
13155 esac
13156 echo "$as_me:$LINENO: checking for $ac_header" >&5
13157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13159 echo $ECHO_N "(cached) $ECHO_C" >&6
13160 else
13161 eval "$as_ac_Header=$ac_header_preproc"
13162 fi
13163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13165
13166 fi
13167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13168 cat >>confdefs.h <<_ACEOF
13169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13170 _ACEOF
13171
13172 fi
13173
13174 done
13175
13176
13177 case "${host}" in
13178 *-pc-os2_emx | *-pc-os2-emx )
13179 if test $ac_cv_header_langinfo_h = "yes"; then
13180 LIBS="$LIBS -lintl"
13181 fi
13182 ;;
13183 esac
13184
13185 if test "$wxUSE_GUI" = "yes"; then
13186 if test "$wxUSE_UNIX" = "yes"; then
13187
13188 for ac_header in X11/Xlib.h
13189 do
13190 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13192 echo "$as_me:$LINENO: checking for $ac_header" >&5
13193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13195 echo $ECHO_N "(cached) $ECHO_C" >&6
13196 fi
13197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13199 else
13200 # Is the header compilable?
13201 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13203 cat >conftest.$ac_ext <<_ACEOF
13204 #line $LINENO "configure"
13205 /* confdefs.h. */
13206 _ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 $ac_includes_default
13211 #include <$ac_header>
13212 _ACEOF
13213 rm -f conftest.$ac_objext
13214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13215 (eval $ac_compile) 2>&5
13216 ac_status=$?
13217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218 (exit $ac_status); } &&
13219 { ac_try='test -s conftest.$ac_objext'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; }; then
13225 ac_header_compiler=yes
13226 else
13227 echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13229
13230 ac_header_compiler=no
13231 fi
13232 rm -f conftest.$ac_objext conftest.$ac_ext
13233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13234 echo "${ECHO_T}$ac_header_compiler" >&6
13235
13236 # Is the header present?
13237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13239 cat >conftest.$ac_ext <<_ACEOF
13240 #line $LINENO "configure"
13241 /* confdefs.h. */
13242 _ACEOF
13243 cat confdefs.h >>conftest.$ac_ext
13244 cat >>conftest.$ac_ext <<_ACEOF
13245 /* end confdefs.h. */
13246 #include <$ac_header>
13247 _ACEOF
13248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } >/dev/null; then
13256 if test -s conftest.err; then
13257 ac_cpp_err=$ac_c_preproc_warn_flag
13258 else
13259 ac_cpp_err=
13260 fi
13261 else
13262 ac_cpp_err=yes
13263 fi
13264 if test -z "$ac_cpp_err"; then
13265 ac_header_preproc=yes
13266 else
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13269
13270 ac_header_preproc=no
13271 fi
13272 rm -f conftest.err conftest.$ac_ext
13273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13274 echo "${ECHO_T}$ac_header_preproc" >&6
13275
13276 # So? What about this header?
13277 case $ac_header_compiler:$ac_header_preproc in
13278 yes:no )
13279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13283 (
13284 cat <<\_ASBOX
13285 ## ------------------------------------ ##
13286 ## Report this to bug-autoconf@gnu.org. ##
13287 ## ------------------------------------ ##
13288 _ASBOX
13289 ) |
13290 sed "s/^/$as_me: WARNING: /" >&2
13291 ;;
13292 no:yes )
13293 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13294 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13295 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13296 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13297 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13299 (
13300 cat <<\_ASBOX
13301 ## ------------------------------------ ##
13302 ## Report this to bug-autoconf@gnu.org. ##
13303 ## ------------------------------------ ##
13304 _ASBOX
13305 ) |
13306 sed "s/^/$as_me: WARNING: /" >&2
13307 ;;
13308 esac
13309 echo "$as_me:$LINENO: checking for $ac_header" >&5
13310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13312 echo $ECHO_N "(cached) $ECHO_C" >&6
13313 else
13314 eval "$as_ac_Header=$ac_header_preproc"
13315 fi
13316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13318
13319 fi
13320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13323 _ACEOF
13324
13325 fi
13326
13327 done
13328
13329
13330 for ac_header in X11/XKBlib.h
13331 do
13332 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13333 echo "$as_me:$LINENO: checking for $ac_header" >&5
13334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 else
13338 cat >conftest.$ac_ext <<_ACEOF
13339 #line $LINENO "configure"
13340 /* confdefs.h. */
13341 _ACEOF
13342 cat confdefs.h >>conftest.$ac_ext
13343 cat >>conftest.$ac_ext <<_ACEOF
13344 /* end confdefs.h. */
13345
13346 #if HAVE_X11_XLIB_H
13347 #include <X11/Xlib.h>
13348 #endif
13349
13350
13351 #include <$ac_header>
13352 _ACEOF
13353 rm -f conftest.$ac_objext
13354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13355 (eval $ac_compile) 2>&5
13356 ac_status=$?
13357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13358 (exit $ac_status); } &&
13359 { ac_try='test -s conftest.$ac_objext'
13360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13361 (eval $ac_try) 2>&5
13362 ac_status=$?
13363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13364 (exit $ac_status); }; }; then
13365 eval "$as_ac_Header=yes"
13366 else
13367 echo "$as_me: failed program was:" >&5
13368 sed 's/^/| /' conftest.$ac_ext >&5
13369
13370 eval "$as_ac_Header=no"
13371 fi
13372 rm -f conftest.$ac_objext conftest.$ac_ext
13373 fi
13374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13377 cat >>confdefs.h <<_ACEOF
13378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13379 _ACEOF
13380
13381 fi
13382
13383 done
13384
13385 fi
13386 fi
13387
13388
13389 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13390 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13391 if test "${ac_cv_c_const+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 else
13394 cat >conftest.$ac_ext <<_ACEOF
13395 #line $LINENO "configure"
13396 /* confdefs.h. */
13397 _ACEOF
13398 cat confdefs.h >>conftest.$ac_ext
13399 cat >>conftest.$ac_ext <<_ACEOF
13400 /* end confdefs.h. */
13401
13402 int
13403 main ()
13404 {
13405 /* FIXME: Include the comments suggested by Paul. */
13406 #ifndef __cplusplus
13407 /* Ultrix mips cc rejects this. */
13408 typedef int charset[2];
13409 const charset x;
13410 /* SunOS 4.1.1 cc rejects this. */
13411 char const *const *ccp;
13412 char **p;
13413 /* NEC SVR4.0.2 mips cc rejects this. */
13414 struct point {int x, y;};
13415 static struct point const zero = {0,0};
13416 /* AIX XL C 1.02.0.0 rejects this.
13417 It does not let you subtract one const X* pointer from another in
13418 an arm of an if-expression whose if-part is not a constant
13419 expression */
13420 const char *g = "string";
13421 ccp = &g + (g ? g-g : 0);
13422 /* HPUX 7.0 cc rejects these. */
13423 ++ccp;
13424 p = (char**) ccp;
13425 ccp = (char const *const *) p;
13426 { /* SCO 3.2v4 cc rejects this. */
13427 char *t;
13428 char const *s = 0 ? (char *) 0 : (char const *) 0;
13429
13430 *t++ = 0;
13431 }
13432 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13433 int x[] = {25, 17};
13434 const int *foo = &x[0];
13435 ++foo;
13436 }
13437 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13438 typedef const int *iptr;
13439 iptr p = 0;
13440 ++p;
13441 }
13442 { /* AIX XL C 1.02.0.0 rejects this saying
13443 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13444 struct s { int j; const int *ap[3]; };
13445 struct s *b; b->j = 5;
13446 }
13447 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13448 const int foo = 10;
13449 }
13450 #endif
13451
13452 ;
13453 return 0;
13454 }
13455 _ACEOF
13456 rm -f conftest.$ac_objext
13457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13458 (eval $ac_compile) 2>&5
13459 ac_status=$?
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try='test -s conftest.$ac_objext'
13463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13464 (eval $ac_try) 2>&5
13465 ac_status=$?
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); }; }; then
13468 ac_cv_c_const=yes
13469 else
13470 echo "$as_me: failed program was:" >&5
13471 sed 's/^/| /' conftest.$ac_ext >&5
13472
13473 ac_cv_c_const=no
13474 fi
13475 rm -f conftest.$ac_objext conftest.$ac_ext
13476 fi
13477 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13478 echo "${ECHO_T}$ac_cv_c_const" >&6
13479 if test $ac_cv_c_const = no; then
13480
13481 cat >>confdefs.h <<\_ACEOF
13482 #define const
13483 _ACEOF
13484
13485 fi
13486
13487 echo "$as_me:$LINENO: checking for inline" >&5
13488 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13489 if test "${ac_cv_c_inline+set}" = set; then
13490 echo $ECHO_N "(cached) $ECHO_C" >&6
13491 else
13492 ac_cv_c_inline=no
13493 for ac_kw in inline __inline__ __inline; do
13494 cat >conftest.$ac_ext <<_ACEOF
13495 #line $LINENO "configure"
13496 /* confdefs.h. */
13497 _ACEOF
13498 cat confdefs.h >>conftest.$ac_ext
13499 cat >>conftest.$ac_ext <<_ACEOF
13500 /* end confdefs.h. */
13501 #ifndef __cplusplus
13502 typedef int foo_t;
13503 static $ac_kw foo_t static_foo () {return 0; }
13504 $ac_kw foo_t foo () {return 0; }
13505 #endif
13506
13507 _ACEOF
13508 rm -f conftest.$ac_objext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13510 (eval $ac_compile) 2>&5
13511 ac_status=$?
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -s conftest.$ac_objext'
13515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13516 (eval $ac_try) 2>&5
13517 ac_status=$?
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); }; }; then
13520 ac_cv_c_inline=$ac_kw; break
13521 else
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13524
13525 fi
13526 rm -f conftest.$ac_objext conftest.$ac_ext
13527 done
13528
13529 fi
13530 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13531 echo "${ECHO_T}$ac_cv_c_inline" >&6
13532 case $ac_cv_c_inline in
13533 inline | yes) ;;
13534 no)
13535 cat >>confdefs.h <<\_ACEOF
13536 #define inline
13537 _ACEOF
13538 ;;
13539 *) cat >>confdefs.h <<_ACEOF
13540 #define inline $ac_cv_c_inline
13541 _ACEOF
13542 ;;
13543 esac
13544
13545
13546 echo "$as_me:$LINENO: checking for char" >&5
13547 echo $ECHO_N "checking for char... $ECHO_C" >&6
13548 if test "${ac_cv_type_char+set}" = set; then
13549 echo $ECHO_N "(cached) $ECHO_C" >&6
13550 else
13551 cat >conftest.$ac_ext <<_ACEOF
13552 #line $LINENO "configure"
13553 /* confdefs.h. */
13554 _ACEOF
13555 cat confdefs.h >>conftest.$ac_ext
13556 cat >>conftest.$ac_ext <<_ACEOF
13557 /* end confdefs.h. */
13558 $ac_includes_default
13559 int
13560 main ()
13561 {
13562 if ((char *) 0)
13563 return 0;
13564 if (sizeof (char))
13565 return 0;
13566 ;
13567 return 0;
13568 }
13569 _ACEOF
13570 rm -f conftest.$ac_objext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13572 (eval $ac_compile) 2>&5
13573 ac_status=$?
13574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575 (exit $ac_status); } &&
13576 { ac_try='test -s conftest.$ac_objext'
13577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13578 (eval $ac_try) 2>&5
13579 ac_status=$?
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); }; }; then
13582 ac_cv_type_char=yes
13583 else
13584 echo "$as_me: failed program was:" >&5
13585 sed 's/^/| /' conftest.$ac_ext >&5
13586
13587 ac_cv_type_char=no
13588 fi
13589 rm -f conftest.$ac_objext conftest.$ac_ext
13590 fi
13591 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
13592 echo "${ECHO_T}$ac_cv_type_char" >&6
13593
13594 echo "$as_me:$LINENO: checking size of char" >&5
13595 echo $ECHO_N "checking size of char... $ECHO_C" >&6
13596 if test "${ac_cv_sizeof_char+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13598 else
13599 if test "$ac_cv_type_char" = yes; then
13600 # The cast to unsigned long works around a bug in the HP C Compiler
13601 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13602 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13603 # This bug is HP SR number 8606223364.
13604 if test "$cross_compiling" = yes; then
13605 # Depending upon the size, compute the lo and hi bounds.
13606 cat >conftest.$ac_ext <<_ACEOF
13607 #line $LINENO "configure"
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13613 $ac_includes_default
13614 int
13615 main ()
13616 {
13617 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
13618 test_array [0] = 0
13619
13620 ;
13621 return 0;
13622 }
13623 _ACEOF
13624 rm -f conftest.$ac_objext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13626 (eval $ac_compile) 2>&5
13627 ac_status=$?
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try='test -s conftest.$ac_objext'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; }; then
13636 ac_lo=0 ac_mid=0
13637 while :; do
13638 cat >conftest.$ac_ext <<_ACEOF
13639 #line $LINENO "configure"
13640 /* confdefs.h. */
13641 _ACEOF
13642 cat confdefs.h >>conftest.$ac_ext
13643 cat >>conftest.$ac_ext <<_ACEOF
13644 /* end confdefs.h. */
13645 $ac_includes_default
13646 int
13647 main ()
13648 {
13649 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13650 test_array [0] = 0
13651
13652 ;
13653 return 0;
13654 }
13655 _ACEOF
13656 rm -f conftest.$ac_objext
13657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13658 (eval $ac_compile) 2>&5
13659 ac_status=$?
13660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13661 (exit $ac_status); } &&
13662 { ac_try='test -s conftest.$ac_objext'
13663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13664 (eval $ac_try) 2>&5
13665 ac_status=$?
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); }; }; then
13668 ac_hi=$ac_mid; break
13669 else
13670 echo "$as_me: failed program was:" >&5
13671 sed 's/^/| /' conftest.$ac_ext >&5
13672
13673 ac_lo=`expr $ac_mid + 1`
13674 if test $ac_lo -le $ac_mid; then
13675 ac_lo= ac_hi=
13676 break
13677 fi
13678 ac_mid=`expr 2 '*' $ac_mid + 1`
13679 fi
13680 rm -f conftest.$ac_objext conftest.$ac_ext
13681 done
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13685
13686 cat >conftest.$ac_ext <<_ACEOF
13687 #line $LINENO "configure"
13688 /* confdefs.h. */
13689 _ACEOF
13690 cat confdefs.h >>conftest.$ac_ext
13691 cat >>conftest.$ac_ext <<_ACEOF
13692 /* end confdefs.h. */
13693 $ac_includes_default
13694 int
13695 main ()
13696 {
13697 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
13698 test_array [0] = 0
13699
13700 ;
13701 return 0;
13702 }
13703 _ACEOF
13704 rm -f conftest.$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>&5
13707 ac_status=$?
13708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); } &&
13710 { ac_try='test -s conftest.$ac_objext'
13711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13712 (eval $ac_try) 2>&5
13713 ac_status=$?
13714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13715 (exit $ac_status); }; }; then
13716 ac_hi=-1 ac_mid=-1
13717 while :; do
13718 cat >conftest.$ac_ext <<_ACEOF
13719 #line $LINENO "configure"
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13725 $ac_includes_default
13726 int
13727 main ()
13728 {
13729 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
13730 test_array [0] = 0
13731
13732 ;
13733 return 0;
13734 }
13735 _ACEOF
13736 rm -f conftest.$ac_objext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13738 (eval $ac_compile) 2>&5
13739 ac_status=$?
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -s conftest.$ac_objext'
13743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13744 (eval $ac_try) 2>&5
13745 ac_status=$?
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); }; }; then
13748 ac_lo=$ac_mid; break
13749 else
13750 echo "$as_me: failed program was:" >&5
13751 sed 's/^/| /' conftest.$ac_ext >&5
13752
13753 ac_hi=`expr '(' $ac_mid ')' - 1`
13754 if test $ac_mid -le $ac_hi; then
13755 ac_lo= ac_hi=
13756 break
13757 fi
13758 ac_mid=`expr 2 '*' $ac_mid`
13759 fi
13760 rm -f conftest.$ac_objext conftest.$ac_ext
13761 done
13762 else
13763 echo "$as_me: failed program was:" >&5
13764 sed 's/^/| /' conftest.$ac_ext >&5
13765
13766 ac_lo= ac_hi=
13767 fi
13768 rm -f conftest.$ac_objext conftest.$ac_ext
13769 fi
13770 rm -f conftest.$ac_objext conftest.$ac_ext
13771 # Binary search between lo and hi bounds.
13772 while test "x$ac_lo" != "x$ac_hi"; do
13773 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13774 cat >conftest.$ac_ext <<_ACEOF
13775 #line $LINENO "configure"
13776 /* confdefs.h. */
13777 _ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 $ac_includes_default
13782 int
13783 main ()
13784 {
13785 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13786 test_array [0] = 0
13787
13788 ;
13789 return 0;
13790 }
13791 _ACEOF
13792 rm -f conftest.$ac_objext
13793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13794 (eval $ac_compile) 2>&5
13795 ac_status=$?
13796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13797 (exit $ac_status); } &&
13798 { ac_try='test -s conftest.$ac_objext'
13799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13800 (eval $ac_try) 2>&5
13801 ac_status=$?
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); }; }; then
13804 ac_hi=$ac_mid
13805 else
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13808
13809 ac_lo=`expr '(' $ac_mid ')' + 1`
13810 fi
13811 rm -f conftest.$ac_objext conftest.$ac_ext
13812 done
13813 case $ac_lo in
13814 ?*) ac_cv_sizeof_char=$ac_lo;;
13815 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13816 See \`config.log' for more details." >&5
13817 echo "$as_me: error: cannot compute sizeof (char), 77
13818 See \`config.log' for more details." >&2;}
13819 { (exit 1); exit 1; }; } ;;
13820 esac
13821 else
13822 if test "$cross_compiling" = yes; then
13823 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13824 See \`config.log' for more details." >&5
13825 echo "$as_me: error: cannot run test program while cross compiling
13826 See \`config.log' for more details." >&2;}
13827 { (exit 1); exit 1; }; }
13828 else
13829 cat >conftest.$ac_ext <<_ACEOF
13830 #line $LINENO "configure"
13831 /* confdefs.h. */
13832 _ACEOF
13833 cat confdefs.h >>conftest.$ac_ext
13834 cat >>conftest.$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13836 $ac_includes_default
13837 long longval () { return (long) (sizeof (char)); }
13838 unsigned long ulongval () { return (long) (sizeof (char)); }
13839 #include <stdio.h>
13840 #include <stdlib.h>
13841 int
13842 main ()
13843 {
13844
13845 FILE *f = fopen ("conftest.val", "w");
13846 if (! f)
13847 exit (1);
13848 if (((long) (sizeof (char))) < 0)
13849 {
13850 long i = longval ();
13851 if (i != ((long) (sizeof (char))))
13852 exit (1);
13853 fprintf (f, "%ld\n", i);
13854 }
13855 else
13856 {
13857 unsigned long i = ulongval ();
13858 if (i != ((long) (sizeof (char))))
13859 exit (1);
13860 fprintf (f, "%lu\n", i);
13861 }
13862 exit (ferror (f) || fclose (f) != 0);
13863
13864 ;
13865 return 0;
13866 }
13867 _ACEOF
13868 rm -f conftest$ac_exeext
13869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13870 (eval $ac_link) 2>&5
13871 ac_status=$?
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13876 ac_status=$?
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13879 ac_cv_sizeof_char=`cat conftest.val`
13880 else
13881 echo "$as_me: program exited with status $ac_status" >&5
13882 echo "$as_me: failed program was:" >&5
13883 sed 's/^/| /' conftest.$ac_ext >&5
13884
13885 ( exit $ac_status )
13886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: cannot compute sizeof (char), 77
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13893 fi
13894 fi
13895 rm -f conftest.val
13896 else
13897 ac_cv_sizeof_char=0
13898 fi
13899 fi
13900 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13901 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13902 cat >>confdefs.h <<_ACEOF
13903 #define SIZEOF_CHAR $ac_cv_sizeof_char
13904 _ACEOF
13905
13906
13907 echo "$as_me:$LINENO: checking for short" >&5
13908 echo $ECHO_N "checking for short... $ECHO_C" >&6
13909 if test "${ac_cv_type_short+set}" = set; then
13910 echo $ECHO_N "(cached) $ECHO_C" >&6
13911 else
13912 cat >conftest.$ac_ext <<_ACEOF
13913 #line $LINENO "configure"
13914 /* confdefs.h. */
13915 _ACEOF
13916 cat confdefs.h >>conftest.$ac_ext
13917 cat >>conftest.$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 $ac_includes_default
13920 int
13921 main ()
13922 {
13923 if ((short *) 0)
13924 return 0;
13925 if (sizeof (short))
13926 return 0;
13927 ;
13928 return 0;
13929 }
13930 _ACEOF
13931 rm -f conftest.$ac_objext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13933 (eval $ac_compile) 2>&5
13934 ac_status=$?
13935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13936 (exit $ac_status); } &&
13937 { ac_try='test -s conftest.$ac_objext'
13938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13939 (eval $ac_try) 2>&5
13940 ac_status=$?
13941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942 (exit $ac_status); }; }; then
13943 ac_cv_type_short=yes
13944 else
13945 echo "$as_me: failed program was:" >&5
13946 sed 's/^/| /' conftest.$ac_ext >&5
13947
13948 ac_cv_type_short=no
13949 fi
13950 rm -f conftest.$ac_objext conftest.$ac_ext
13951 fi
13952 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
13953 echo "${ECHO_T}$ac_cv_type_short" >&6
13954
13955 echo "$as_me:$LINENO: checking size of short" >&5
13956 echo $ECHO_N "checking size of short... $ECHO_C" >&6
13957 if test "${ac_cv_sizeof_short+set}" = set; then
13958 echo $ECHO_N "(cached) $ECHO_C" >&6
13959 else
13960 if test "$ac_cv_type_short" = yes; then
13961 # The cast to unsigned long works around a bug in the HP C Compiler
13962 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13963 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13964 # This bug is HP SR number 8606223364.
13965 if test "$cross_compiling" = yes; then
13966 # Depending upon the size, compute the lo and hi bounds.
13967 cat >conftest.$ac_ext <<_ACEOF
13968 #line $LINENO "configure"
13969 /* confdefs.h. */
13970 _ACEOF
13971 cat confdefs.h >>conftest.$ac_ext
13972 cat >>conftest.$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 $ac_includes_default
13975 int
13976 main ()
13977 {
13978 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
13979 test_array [0] = 0
13980
13981 ;
13982 return 0;
13983 }
13984 _ACEOF
13985 rm -f conftest.$ac_objext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13987 (eval $ac_compile) 2>&5
13988 ac_status=$?
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); } &&
13991 { ac_try='test -s conftest.$ac_objext'
13992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13993 (eval $ac_try) 2>&5
13994 ac_status=$?
13995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13996 (exit $ac_status); }; }; then
13997 ac_lo=0 ac_mid=0
13998 while :; do
13999 cat >conftest.$ac_ext <<_ACEOF
14000 #line $LINENO "configure"
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006 $ac_includes_default
14007 int
14008 main ()
14009 {
14010 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14011 test_array [0] = 0
14012
14013 ;
14014 return 0;
14015 }
14016 _ACEOF
14017 rm -f conftest.$ac_objext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14019 (eval $ac_compile) 2>&5
14020 ac_status=$?
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } &&
14023 { ac_try='test -s conftest.$ac_objext'
14024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14025 (eval $ac_try) 2>&5
14026 ac_status=$?
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); }; }; then
14029 ac_hi=$ac_mid; break
14030 else
14031 echo "$as_me: failed program was:" >&5
14032 sed 's/^/| /' conftest.$ac_ext >&5
14033
14034 ac_lo=`expr $ac_mid + 1`
14035 if test $ac_lo -le $ac_mid; then
14036 ac_lo= ac_hi=
14037 break
14038 fi
14039 ac_mid=`expr 2 '*' $ac_mid + 1`
14040 fi
14041 rm -f conftest.$ac_objext conftest.$ac_ext
14042 done
14043 else
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.$ac_ext >&5
14046
14047 cat >conftest.$ac_ext <<_ACEOF
14048 #line $LINENO "configure"
14049 /* confdefs.h. */
14050 _ACEOF
14051 cat confdefs.h >>conftest.$ac_ext
14052 cat >>conftest.$ac_ext <<_ACEOF
14053 /* end confdefs.h. */
14054 $ac_includes_default
14055 int
14056 main ()
14057 {
14058 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14059 test_array [0] = 0
14060
14061 ;
14062 return 0;
14063 }
14064 _ACEOF
14065 rm -f conftest.$ac_objext
14066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14067 (eval $ac_compile) 2>&5
14068 ac_status=$?
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } &&
14071 { ac_try='test -s conftest.$ac_objext'
14072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14073 (eval $ac_try) 2>&5
14074 ac_status=$?
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); }; }; then
14077 ac_hi=-1 ac_mid=-1
14078 while :; do
14079 cat >conftest.$ac_ext <<_ACEOF
14080 #line $LINENO "configure"
14081 /* confdefs.h. */
14082 _ACEOF
14083 cat confdefs.h >>conftest.$ac_ext
14084 cat >>conftest.$ac_ext <<_ACEOF
14085 /* end confdefs.h. */
14086 $ac_includes_default
14087 int
14088 main ()
14089 {
14090 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14091 test_array [0] = 0
14092
14093 ;
14094 return 0;
14095 }
14096 _ACEOF
14097 rm -f conftest.$ac_objext
14098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14099 (eval $ac_compile) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 ac_lo=$ac_mid; break
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 ac_hi=`expr '(' $ac_mid ')' - 1`
14115 if test $ac_mid -le $ac_hi; then
14116 ac_lo= ac_hi=
14117 break
14118 fi
14119 ac_mid=`expr 2 '*' $ac_mid`
14120 fi
14121 rm -f conftest.$ac_objext conftest.$ac_ext
14122 done
14123 else
14124 echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14126
14127 ac_lo= ac_hi=
14128 fi
14129 rm -f conftest.$ac_objext conftest.$ac_ext
14130 fi
14131 rm -f conftest.$ac_objext conftest.$ac_ext
14132 # Binary search between lo and hi bounds.
14133 while test "x$ac_lo" != "x$ac_hi"; do
14134 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14135 cat >conftest.$ac_ext <<_ACEOF
14136 #line $LINENO "configure"
14137 /* confdefs.h. */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h. */
14142 $ac_includes_default
14143 int
14144 main ()
14145 {
14146 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14147 test_array [0] = 0
14148
14149 ;
14150 return 0;
14151 }
14152 _ACEOF
14153 rm -f conftest.$ac_objext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14155 (eval $ac_compile) 2>&5
14156 ac_status=$?
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } &&
14159 { ac_try='test -s conftest.$ac_objext'
14160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14161 (eval $ac_try) 2>&5
14162 ac_status=$?
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); }; }; then
14165 ac_hi=$ac_mid
14166 else
14167 echo "$as_me: failed program was:" >&5
14168 sed 's/^/| /' conftest.$ac_ext >&5
14169
14170 ac_lo=`expr '(' $ac_mid ')' + 1`
14171 fi
14172 rm -f conftest.$ac_objext conftest.$ac_ext
14173 done
14174 case $ac_lo in
14175 ?*) ac_cv_sizeof_short=$ac_lo;;
14176 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14177 See \`config.log' for more details." >&5
14178 echo "$as_me: error: cannot compute sizeof (short), 77
14179 See \`config.log' for more details." >&2;}
14180 { (exit 1); exit 1; }; } ;;
14181 esac
14182 else
14183 if test "$cross_compiling" = yes; then
14184 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14185 See \`config.log' for more details." >&5
14186 echo "$as_me: error: cannot run test program while cross compiling
14187 See \`config.log' for more details." >&2;}
14188 { (exit 1); exit 1; }; }
14189 else
14190 cat >conftest.$ac_ext <<_ACEOF
14191 #line $LINENO "configure"
14192 /* confdefs.h. */
14193 _ACEOF
14194 cat confdefs.h >>conftest.$ac_ext
14195 cat >>conftest.$ac_ext <<_ACEOF
14196 /* end confdefs.h. */
14197 $ac_includes_default
14198 long longval () { return (long) (sizeof (short)); }
14199 unsigned long ulongval () { return (long) (sizeof (short)); }
14200 #include <stdio.h>
14201 #include <stdlib.h>
14202 int
14203 main ()
14204 {
14205
14206 FILE *f = fopen ("conftest.val", "w");
14207 if (! f)
14208 exit (1);
14209 if (((long) (sizeof (short))) < 0)
14210 {
14211 long i = longval ();
14212 if (i != ((long) (sizeof (short))))
14213 exit (1);
14214 fprintf (f, "%ld\n", i);
14215 }
14216 else
14217 {
14218 unsigned long i = ulongval ();
14219 if (i != ((long) (sizeof (short))))
14220 exit (1);
14221 fprintf (f, "%lu\n", i);
14222 }
14223 exit (ferror (f) || fclose (f) != 0);
14224
14225 ;
14226 return 0;
14227 }
14228 _ACEOF
14229 rm -f conftest$ac_exeext
14230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14231 (eval $ac_link) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14236 (eval $ac_try) 2>&5
14237 ac_status=$?
14238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14239 (exit $ac_status); }; }; then
14240 ac_cv_sizeof_short=`cat conftest.val`
14241 else
14242 echo "$as_me: program exited with status $ac_status" >&5
14243 echo "$as_me: failed program was:" >&5
14244 sed 's/^/| /' conftest.$ac_ext >&5
14245
14246 ( exit $ac_status )
14247 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14248 See \`config.log' for more details." >&5
14249 echo "$as_me: error: cannot compute sizeof (short), 77
14250 See \`config.log' for more details." >&2;}
14251 { (exit 1); exit 1; }; }
14252 fi
14253 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14254 fi
14255 fi
14256 rm -f conftest.val
14257 else
14258 ac_cv_sizeof_short=0
14259 fi
14260 fi
14261 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14262 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14263 cat >>confdefs.h <<_ACEOF
14264 #define SIZEOF_SHORT $ac_cv_sizeof_short
14265 _ACEOF
14266
14267
14268 echo "$as_me:$LINENO: checking for void *" >&5
14269 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14270 if test "${ac_cv_type_void_p+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 cat >conftest.$ac_ext <<_ACEOF
14274 #line $LINENO "configure"
14275 /* confdefs.h. */
14276 _ACEOF
14277 cat confdefs.h >>conftest.$ac_ext
14278 cat >>conftest.$ac_ext <<_ACEOF
14279 /* end confdefs.h. */
14280 $ac_includes_default
14281 int
14282 main ()
14283 {
14284 if ((void * *) 0)
14285 return 0;
14286 if (sizeof (void *))
14287 return 0;
14288 ;
14289 return 0;
14290 }
14291 _ACEOF
14292 rm -f conftest.$ac_objext
14293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14294 (eval $ac_compile) 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try='test -s conftest.$ac_objext'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; }; then
14304 ac_cv_type_void_p=yes
14305 else
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14308
14309 ac_cv_type_void_p=no
14310 fi
14311 rm -f conftest.$ac_objext conftest.$ac_ext
14312 fi
14313 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14314 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14315
14316 echo "$as_me:$LINENO: checking size of void *" >&5
14317 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14318 if test "${ac_cv_sizeof_void_p+set}" = set; then
14319 echo $ECHO_N "(cached) $ECHO_C" >&6
14320 else
14321 if test "$ac_cv_type_void_p" = yes; then
14322 # The cast to unsigned long works around a bug in the HP C Compiler
14323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14325 # This bug is HP SR number 8606223364.
14326 if test "$cross_compiling" = yes; then
14327 # Depending upon the size, compute the lo and hi bounds.
14328 cat >conftest.$ac_ext <<_ACEOF
14329 #line $LINENO "configure"
14330 /* confdefs.h. */
14331 _ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 $ac_includes_default
14336 int
14337 main ()
14338 {
14339 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14340 test_array [0] = 0
14341
14342 ;
14343 return 0;
14344 }
14345 _ACEOF
14346 rm -f conftest.$ac_objext
14347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14348 (eval $ac_compile) 2>&5
14349 ac_status=$?
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); } &&
14352 { ac_try='test -s conftest.$ac_objext'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14355 ac_status=$?
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; }; then
14358 ac_lo=0 ac_mid=0
14359 while :; do
14360 cat >conftest.$ac_ext <<_ACEOF
14361 #line $LINENO "configure"
14362 /* confdefs.h. */
14363 _ACEOF
14364 cat confdefs.h >>conftest.$ac_ext
14365 cat >>conftest.$ac_ext <<_ACEOF
14366 /* end confdefs.h. */
14367 $ac_includes_default
14368 int
14369 main ()
14370 {
14371 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14372 test_array [0] = 0
14373
14374 ;
14375 return 0;
14376 }
14377 _ACEOF
14378 rm -f conftest.$ac_objext
14379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14380 (eval $ac_compile) 2>&5
14381 ac_status=$?
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); } &&
14384 { ac_try='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14387 ac_status=$?
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_hi=$ac_mid; break
14391 else
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14394
14395 ac_lo=`expr $ac_mid + 1`
14396 if test $ac_lo -le $ac_mid; then
14397 ac_lo= ac_hi=
14398 break
14399 fi
14400 ac_mid=`expr 2 '*' $ac_mid + 1`
14401 fi
14402 rm -f conftest.$ac_objext conftest.$ac_ext
14403 done
14404 else
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.$ac_ext >&5
14407
14408 cat >conftest.$ac_ext <<_ACEOF
14409 #line $LINENO "configure"
14410 /* confdefs.h. */
14411 _ACEOF
14412 cat confdefs.h >>conftest.$ac_ext
14413 cat >>conftest.$ac_ext <<_ACEOF
14414 /* end confdefs.h. */
14415 $ac_includes_default
14416 int
14417 main ()
14418 {
14419 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14420 test_array [0] = 0
14421
14422 ;
14423 return 0;
14424 }
14425 _ACEOF
14426 rm -f conftest.$ac_objext
14427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14428 (eval $ac_compile) 2>&5
14429 ac_status=$?
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try='test -s conftest.$ac_objext'
14433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14434 (eval $ac_try) 2>&5
14435 ac_status=$?
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); }; }; then
14438 ac_hi=-1 ac_mid=-1
14439 while :; do
14440 cat >conftest.$ac_ext <<_ACEOF
14441 #line $LINENO "configure"
14442 /* confdefs.h. */
14443 _ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h. */
14447 $ac_includes_default
14448 int
14449 main ()
14450 {
14451 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14452 test_array [0] = 0
14453
14454 ;
14455 return 0;
14456 }
14457 _ACEOF
14458 rm -f conftest.$ac_objext
14459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14460 (eval $ac_compile) 2>&5
14461 ac_status=$?
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try='test -s conftest.$ac_objext'
14465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14466 (eval $ac_try) 2>&5
14467 ac_status=$?
14468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469 (exit $ac_status); }; }; then
14470 ac_lo=$ac_mid; break
14471 else
14472 echo "$as_me: failed program was:" >&5
14473 sed 's/^/| /' conftest.$ac_ext >&5
14474
14475 ac_hi=`expr '(' $ac_mid ')' - 1`
14476 if test $ac_mid -le $ac_hi; then
14477 ac_lo= ac_hi=
14478 break
14479 fi
14480 ac_mid=`expr 2 '*' $ac_mid`
14481 fi
14482 rm -f conftest.$ac_objext conftest.$ac_ext
14483 done
14484 else
14485 echo "$as_me: failed program was:" >&5
14486 sed 's/^/| /' conftest.$ac_ext >&5
14487
14488 ac_lo= ac_hi=
14489 fi
14490 rm -f conftest.$ac_objext conftest.$ac_ext
14491 fi
14492 rm -f conftest.$ac_objext conftest.$ac_ext
14493 # Binary search between lo and hi bounds.
14494 while test "x$ac_lo" != "x$ac_hi"; do
14495 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14496 cat >conftest.$ac_ext <<_ACEOF
14497 #line $LINENO "configure"
14498 /* confdefs.h. */
14499 _ACEOF
14500 cat confdefs.h >>conftest.$ac_ext
14501 cat >>conftest.$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 $ac_includes_default
14504 int
14505 main ()
14506 {
14507 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14508 test_array [0] = 0
14509
14510 ;
14511 return 0;
14512 }
14513 _ACEOF
14514 rm -f conftest.$ac_objext
14515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14516 (eval $ac_compile) 2>&5
14517 ac_status=$?
14518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14519 (exit $ac_status); } &&
14520 { ac_try='test -s conftest.$ac_objext'
14521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14522 (eval $ac_try) 2>&5
14523 ac_status=$?
14524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14525 (exit $ac_status); }; }; then
14526 ac_hi=$ac_mid
14527 else
14528 echo "$as_me: failed program was:" >&5
14529 sed 's/^/| /' conftest.$ac_ext >&5
14530
14531 ac_lo=`expr '(' $ac_mid ')' + 1`
14532 fi
14533 rm -f conftest.$ac_objext conftest.$ac_ext
14534 done
14535 case $ac_lo in
14536 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14537 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14538 See \`config.log' for more details." >&5
14539 echo "$as_me: error: cannot compute sizeof (void *), 77
14540 See \`config.log' for more details." >&2;}
14541 { (exit 1); exit 1; }; } ;;
14542 esac
14543 else
14544 if test "$cross_compiling" = yes; then
14545 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14546 See \`config.log' for more details." >&5
14547 echo "$as_me: error: cannot run test program while cross compiling
14548 See \`config.log' for more details." >&2;}
14549 { (exit 1); exit 1; }; }
14550 else
14551 cat >conftest.$ac_ext <<_ACEOF
14552 #line $LINENO "configure"
14553 /* confdefs.h. */
14554 _ACEOF
14555 cat confdefs.h >>conftest.$ac_ext
14556 cat >>conftest.$ac_ext <<_ACEOF
14557 /* end confdefs.h. */
14558 $ac_includes_default
14559 long longval () { return (long) (sizeof (void *)); }
14560 unsigned long ulongval () { return (long) (sizeof (void *)); }
14561 #include <stdio.h>
14562 #include <stdlib.h>
14563 int
14564 main ()
14565 {
14566
14567 FILE *f = fopen ("conftest.val", "w");
14568 if (! f)
14569 exit (1);
14570 if (((long) (sizeof (void *))) < 0)
14571 {
14572 long i = longval ();
14573 if (i != ((long) (sizeof (void *))))
14574 exit (1);
14575 fprintf (f, "%ld\n", i);
14576 }
14577 else
14578 {
14579 unsigned long i = ulongval ();
14580 if (i != ((long) (sizeof (void *))))
14581 exit (1);
14582 fprintf (f, "%lu\n", i);
14583 }
14584 exit (ferror (f) || fclose (f) != 0);
14585
14586 ;
14587 return 0;
14588 }
14589 _ACEOF
14590 rm -f conftest$ac_exeext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14592 (eval $ac_link) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14597 (eval $ac_try) 2>&5
14598 ac_status=$?
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); }; }; then
14601 ac_cv_sizeof_void_p=`cat conftest.val`
14602 else
14603 echo "$as_me: program exited with status $ac_status" >&5
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14606
14607 ( exit $ac_status )
14608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14609 See \`config.log' for more details." >&5
14610 echo "$as_me: error: cannot compute sizeof (void *), 77
14611 See \`config.log' for more details." >&2;}
14612 { (exit 1); exit 1; }; }
14613 fi
14614 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14615 fi
14616 fi
14617 rm -f conftest.val
14618 else
14619 ac_cv_sizeof_void_p=0
14620 fi
14621 fi
14622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
14623 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
14624 cat >>confdefs.h <<_ACEOF
14625 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14626 _ACEOF
14627
14628
14629 echo "$as_me:$LINENO: checking for int" >&5
14630 echo $ECHO_N "checking for int... $ECHO_C" >&6
14631 if test "${ac_cv_type_int+set}" = set; then
14632 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 else
14634 cat >conftest.$ac_ext <<_ACEOF
14635 #line $LINENO "configure"
14636 /* confdefs.h. */
14637 _ACEOF
14638 cat confdefs.h >>conftest.$ac_ext
14639 cat >>conftest.$ac_ext <<_ACEOF
14640 /* end confdefs.h. */
14641 $ac_includes_default
14642 int
14643 main ()
14644 {
14645 if ((int *) 0)
14646 return 0;
14647 if (sizeof (int))
14648 return 0;
14649 ;
14650 return 0;
14651 }
14652 _ACEOF
14653 rm -f conftest.$ac_objext
14654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14655 (eval $ac_compile) 2>&5
14656 ac_status=$?
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); } &&
14659 { ac_try='test -s conftest.$ac_objext'
14660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14661 (eval $ac_try) 2>&5
14662 ac_status=$?
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); }; }; then
14665 ac_cv_type_int=yes
14666 else
14667 echo "$as_me: failed program was:" >&5
14668 sed 's/^/| /' conftest.$ac_ext >&5
14669
14670 ac_cv_type_int=no
14671 fi
14672 rm -f conftest.$ac_objext conftest.$ac_ext
14673 fi
14674 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14675 echo "${ECHO_T}$ac_cv_type_int" >&6
14676
14677 echo "$as_me:$LINENO: checking size of int" >&5
14678 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14679 if test "${ac_cv_sizeof_int+set}" = set; then
14680 echo $ECHO_N "(cached) $ECHO_C" >&6
14681 else
14682 if test "$ac_cv_type_int" = yes; then
14683 # The cast to unsigned long works around a bug in the HP C Compiler
14684 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14685 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14686 # This bug is HP SR number 8606223364.
14687 if test "$cross_compiling" = yes; then
14688 # Depending upon the size, compute the lo and hi bounds.
14689 cat >conftest.$ac_ext <<_ACEOF
14690 #line $LINENO "configure"
14691 /* confdefs.h. */
14692 _ACEOF
14693 cat confdefs.h >>conftest.$ac_ext
14694 cat >>conftest.$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 $ac_includes_default
14697 int
14698 main ()
14699 {
14700 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14701 test_array [0] = 0
14702
14703 ;
14704 return 0;
14705 }
14706 _ACEOF
14707 rm -f conftest.$ac_objext
14708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14709 (eval $ac_compile) 2>&5
14710 ac_status=$?
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } &&
14713 { ac_try='test -s conftest.$ac_objext'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14716 ac_status=$?
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; }; then
14719 ac_lo=0 ac_mid=0
14720 while :; do
14721 cat >conftest.$ac_ext <<_ACEOF
14722 #line $LINENO "configure"
14723 /* confdefs.h. */
14724 _ACEOF
14725 cat confdefs.h >>conftest.$ac_ext
14726 cat >>conftest.$ac_ext <<_ACEOF
14727 /* end confdefs.h. */
14728 $ac_includes_default
14729 int
14730 main ()
14731 {
14732 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14733 test_array [0] = 0
14734
14735 ;
14736 return 0;
14737 }
14738 _ACEOF
14739 rm -f conftest.$ac_objext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14741 (eval $ac_compile) 2>&5
14742 ac_status=$?
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try='test -s conftest.$ac_objext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 ac_hi=$ac_mid; break
14752 else
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14755
14756 ac_lo=`expr $ac_mid + 1`
14757 if test $ac_lo -le $ac_mid; then
14758 ac_lo= ac_hi=
14759 break
14760 fi
14761 ac_mid=`expr 2 '*' $ac_mid + 1`
14762 fi
14763 rm -f conftest.$ac_objext conftest.$ac_ext
14764 done
14765 else
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.$ac_ext >&5
14768
14769 cat >conftest.$ac_ext <<_ACEOF
14770 #line $LINENO "configure"
14771 /* confdefs.h. */
14772 _ACEOF
14773 cat confdefs.h >>conftest.$ac_ext
14774 cat >>conftest.$ac_ext <<_ACEOF
14775 /* end confdefs.h. */
14776 $ac_includes_default
14777 int
14778 main ()
14779 {
14780 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14781 test_array [0] = 0
14782
14783 ;
14784 return 0;
14785 }
14786 _ACEOF
14787 rm -f conftest.$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>&5
14790 ac_status=$?
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14796 ac_status=$?
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 ac_hi=-1 ac_mid=-1
14800 while :; do
14801 cat >conftest.$ac_ext <<_ACEOF
14802 #line $LINENO "configure"
14803 /* confdefs.h. */
14804 _ACEOF
14805 cat confdefs.h >>conftest.$ac_ext
14806 cat >>conftest.$ac_ext <<_ACEOF
14807 /* end confdefs.h. */
14808 $ac_includes_default
14809 int
14810 main ()
14811 {
14812 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14813 test_array [0] = 0
14814
14815 ;
14816 return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>&5
14822 ac_status=$?
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try='test -s conftest.$ac_objext'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14828 ac_status=$?
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; }; then
14831 ac_lo=$ac_mid; break
14832 else
14833 echo "$as_me: failed program was:" >&5
14834 sed 's/^/| /' conftest.$ac_ext >&5
14835
14836 ac_hi=`expr '(' $ac_mid ')' - 1`
14837 if test $ac_mid -le $ac_hi; then
14838 ac_lo= ac_hi=
14839 break
14840 fi
14841 ac_mid=`expr 2 '*' $ac_mid`
14842 fi
14843 rm -f conftest.$ac_objext conftest.$ac_ext
14844 done
14845 else
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14848
14849 ac_lo= ac_hi=
14850 fi
14851 rm -f conftest.$ac_objext conftest.$ac_ext
14852 fi
14853 rm -f conftest.$ac_objext conftest.$ac_ext
14854 # Binary search between lo and hi bounds.
14855 while test "x$ac_lo" != "x$ac_hi"; do
14856 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14857 cat >conftest.$ac_ext <<_ACEOF
14858 #line $LINENO "configure"
14859 /* confdefs.h. */
14860 _ACEOF
14861 cat confdefs.h >>conftest.$ac_ext
14862 cat >>conftest.$ac_ext <<_ACEOF
14863 /* end confdefs.h. */
14864 $ac_includes_default
14865 int
14866 main ()
14867 {
14868 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14869 test_array [0] = 0
14870
14871 ;
14872 return 0;
14873 }
14874 _ACEOF
14875 rm -f conftest.$ac_objext
14876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14877 (eval $ac_compile) 2>&5
14878 ac_status=$?
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -s conftest.$ac_objext'
14882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14883 (eval $ac_try) 2>&5
14884 ac_status=$?
14885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14886 (exit $ac_status); }; }; then
14887 ac_hi=$ac_mid
14888 else
14889 echo "$as_me: failed program was:" >&5
14890 sed 's/^/| /' conftest.$ac_ext >&5
14891
14892 ac_lo=`expr '(' $ac_mid ')' + 1`
14893 fi
14894 rm -f conftest.$ac_objext conftest.$ac_ext
14895 done
14896 case $ac_lo in
14897 ?*) ac_cv_sizeof_int=$ac_lo;;
14898 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14899 See \`config.log' for more details." >&5
14900 echo "$as_me: error: cannot compute sizeof (int), 77
14901 See \`config.log' for more details." >&2;}
14902 { (exit 1); exit 1; }; } ;;
14903 esac
14904 else
14905 if test "$cross_compiling" = yes; then
14906 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14907 See \`config.log' for more details." >&5
14908 echo "$as_me: error: cannot run test program while cross compiling
14909 See \`config.log' for more details." >&2;}
14910 { (exit 1); exit 1; }; }
14911 else
14912 cat >conftest.$ac_ext <<_ACEOF
14913 #line $LINENO "configure"
14914 /* confdefs.h. */
14915 _ACEOF
14916 cat confdefs.h >>conftest.$ac_ext
14917 cat >>conftest.$ac_ext <<_ACEOF
14918 /* end confdefs.h. */
14919 $ac_includes_default
14920 long longval () { return (long) (sizeof (int)); }
14921 unsigned long ulongval () { return (long) (sizeof (int)); }
14922 #include <stdio.h>
14923 #include <stdlib.h>
14924 int
14925 main ()
14926 {
14927
14928 FILE *f = fopen ("conftest.val", "w");
14929 if (! f)
14930 exit (1);
14931 if (((long) (sizeof (int))) < 0)
14932 {
14933 long i = longval ();
14934 if (i != ((long) (sizeof (int))))
14935 exit (1);
14936 fprintf (f, "%ld\n", i);
14937 }
14938 else
14939 {
14940 unsigned long i = ulongval ();
14941 if (i != ((long) (sizeof (int))))
14942 exit (1);
14943 fprintf (f, "%lu\n", i);
14944 }
14945 exit (ferror (f) || fclose (f) != 0);
14946
14947 ;
14948 return 0;
14949 }
14950 _ACEOF
14951 rm -f conftest$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14959 ac_status=$?
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 ac_cv_sizeof_int=`cat conftest.val`
14963 else
14964 echo "$as_me: program exited with status $ac_status" >&5
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14967
14968 ( exit $ac_status )
14969 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14970 See \`config.log' for more details." >&5
14971 echo "$as_me: error: cannot compute sizeof (int), 77
14972 See \`config.log' for more details." >&2;}
14973 { (exit 1); exit 1; }; }
14974 fi
14975 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14976 fi
14977 fi
14978 rm -f conftest.val
14979 else
14980 ac_cv_sizeof_int=0
14981 fi
14982 fi
14983 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14984 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14985 cat >>confdefs.h <<_ACEOF
14986 #define SIZEOF_INT $ac_cv_sizeof_int
14987 _ACEOF
14988
14989
14990 echo "$as_me:$LINENO: checking for long" >&5
14991 echo $ECHO_N "checking for long... $ECHO_C" >&6
14992 if test "${ac_cv_type_long+set}" = set; then
14993 echo $ECHO_N "(cached) $ECHO_C" >&6
14994 else
14995 cat >conftest.$ac_ext <<_ACEOF
14996 #line $LINENO "configure"
14997 /* confdefs.h. */
14998 _ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 $ac_includes_default
15003 int
15004 main ()
15005 {
15006 if ((long *) 0)
15007 return 0;
15008 if (sizeof (long))
15009 return 0;
15010 ;
15011 return 0;
15012 }
15013 _ACEOF
15014 rm -f conftest.$ac_objext
15015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15016 (eval $ac_compile) 2>&5
15017 ac_status=$?
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try='test -s conftest.$ac_objext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15023 ac_status=$?
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15026 ac_cv_type_long=yes
15027 else
15028 echo "$as_me: failed program was:" >&5
15029 sed 's/^/| /' conftest.$ac_ext >&5
15030
15031 ac_cv_type_long=no
15032 fi
15033 rm -f conftest.$ac_objext conftest.$ac_ext
15034 fi
15035 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15036 echo "${ECHO_T}$ac_cv_type_long" >&6
15037
15038 echo "$as_me:$LINENO: checking size of long" >&5
15039 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15040 if test "${ac_cv_sizeof_long+set}" = set; then
15041 echo $ECHO_N "(cached) $ECHO_C" >&6
15042 else
15043 if test "$ac_cv_type_long" = yes; then
15044 # The cast to unsigned long works around a bug in the HP C Compiler
15045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15047 # This bug is HP SR number 8606223364.
15048 if test "$cross_compiling" = yes; then
15049 # Depending upon the size, compute the lo and hi bounds.
15050 cat >conftest.$ac_ext <<_ACEOF
15051 #line $LINENO "configure"
15052 /* confdefs.h. */
15053 _ACEOF
15054 cat confdefs.h >>conftest.$ac_ext
15055 cat >>conftest.$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15057 $ac_includes_default
15058 int
15059 main ()
15060 {
15061 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15062 test_array [0] = 0
15063
15064 ;
15065 return 0;
15066 }
15067 _ACEOF
15068 rm -f conftest.$ac_objext
15069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15070 (eval $ac_compile) 2>&5
15071 ac_status=$?
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } &&
15074 { ac_try='test -s conftest.$ac_objext'
15075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15076 (eval $ac_try) 2>&5
15077 ac_status=$?
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); }; }; then
15080 ac_lo=0 ac_mid=0
15081 while :; do
15082 cat >conftest.$ac_ext <<_ACEOF
15083 #line $LINENO "configure"
15084 /* confdefs.h. */
15085 _ACEOF
15086 cat confdefs.h >>conftest.$ac_ext
15087 cat >>conftest.$ac_ext <<_ACEOF
15088 /* end confdefs.h. */
15089 $ac_includes_default
15090 int
15091 main ()
15092 {
15093 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15094 test_array [0] = 0
15095
15096 ;
15097 return 0;
15098 }
15099 _ACEOF
15100 rm -f conftest.$ac_objext
15101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15102 (eval $ac_compile) 2>&5
15103 ac_status=$?
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } &&
15106 { ac_try='test -s conftest.$ac_objext'
15107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15108 (eval $ac_try) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; }; then
15112 ac_hi=$ac_mid; break
15113 else
15114 echo "$as_me: failed program was:" >&5
15115 sed 's/^/| /' conftest.$ac_ext >&5
15116
15117 ac_lo=`expr $ac_mid + 1`
15118 if test $ac_lo -le $ac_mid; then
15119 ac_lo= ac_hi=
15120 break
15121 fi
15122 ac_mid=`expr 2 '*' $ac_mid + 1`
15123 fi
15124 rm -f conftest.$ac_objext conftest.$ac_ext
15125 done
15126 else
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15129
15130 cat >conftest.$ac_ext <<_ACEOF
15131 #line $LINENO "configure"
15132 /* confdefs.h. */
15133 _ACEOF
15134 cat confdefs.h >>conftest.$ac_ext
15135 cat >>conftest.$ac_ext <<_ACEOF
15136 /* end confdefs.h. */
15137 $ac_includes_default
15138 int
15139 main ()
15140 {
15141 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15142 test_array [0] = 0
15143
15144 ;
15145 return 0;
15146 }
15147 _ACEOF
15148 rm -f conftest.$ac_objext
15149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15150 (eval $ac_compile) 2>&5
15151 ac_status=$?
15152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153 (exit $ac_status); } &&
15154 { ac_try='test -s conftest.$ac_objext'
15155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15156 (eval $ac_try) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); }; }; then
15160 ac_hi=-1 ac_mid=-1
15161 while :; do
15162 cat >conftest.$ac_ext <<_ACEOF
15163 #line $LINENO "configure"
15164 /* confdefs.h. */
15165 _ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 $ac_includes_default
15170 int
15171 main ()
15172 {
15173 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15174 test_array [0] = 0
15175
15176 ;
15177 return 0;
15178 }
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15182 (eval $ac_compile) 2>&5
15183 ac_status=$?
15184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15185 (exit $ac_status); } &&
15186 { ac_try='test -s conftest.$ac_objext'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15189 ac_status=$?
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; }; then
15192 ac_lo=$ac_mid; break
15193 else
15194 echo "$as_me: failed program was:" >&5
15195 sed 's/^/| /' conftest.$ac_ext >&5
15196
15197 ac_hi=`expr '(' $ac_mid ')' - 1`
15198 if test $ac_mid -le $ac_hi; then
15199 ac_lo= ac_hi=
15200 break
15201 fi
15202 ac_mid=`expr 2 '*' $ac_mid`
15203 fi
15204 rm -f conftest.$ac_objext conftest.$ac_ext
15205 done
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15209
15210 ac_lo= ac_hi=
15211 fi
15212 rm -f conftest.$ac_objext conftest.$ac_ext
15213 fi
15214 rm -f conftest.$ac_objext conftest.$ac_ext
15215 # Binary search between lo and hi bounds.
15216 while test "x$ac_lo" != "x$ac_hi"; do
15217 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15218 cat >conftest.$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15220 /* confdefs.h. */
15221 _ACEOF
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15225 $ac_includes_default
15226 int
15227 main ()
15228 {
15229 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15230 test_array [0] = 0
15231
15232 ;
15233 return 0;
15234 }
15235 _ACEOF
15236 rm -f conftest.$ac_objext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15238 (eval $ac_compile) 2>&5
15239 ac_status=$?
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try='test -s conftest.$ac_objext'
15243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15244 (eval $ac_try) 2>&5
15245 ac_status=$?
15246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247 (exit $ac_status); }; }; then
15248 ac_hi=$ac_mid
15249 else
15250 echo "$as_me: failed program was:" >&5
15251 sed 's/^/| /' conftest.$ac_ext >&5
15252
15253 ac_lo=`expr '(' $ac_mid ')' + 1`
15254 fi
15255 rm -f conftest.$ac_objext conftest.$ac_ext
15256 done
15257 case $ac_lo in
15258 ?*) ac_cv_sizeof_long=$ac_lo;;
15259 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15260 See \`config.log' for more details." >&5
15261 echo "$as_me: error: cannot compute sizeof (long), 77
15262 See \`config.log' for more details." >&2;}
15263 { (exit 1); exit 1; }; } ;;
15264 esac
15265 else
15266 if test "$cross_compiling" = yes; then
15267 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15268 See \`config.log' for more details." >&5
15269 echo "$as_me: error: cannot run test program while cross compiling
15270 See \`config.log' for more details." >&2;}
15271 { (exit 1); exit 1; }; }
15272 else
15273 cat >conftest.$ac_ext <<_ACEOF
15274 #line $LINENO "configure"
15275 /* confdefs.h. */
15276 _ACEOF
15277 cat confdefs.h >>conftest.$ac_ext
15278 cat >>conftest.$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15280 $ac_includes_default
15281 long longval () { return (long) (sizeof (long)); }
15282 unsigned long ulongval () { return (long) (sizeof (long)); }
15283 #include <stdio.h>
15284 #include <stdlib.h>
15285 int
15286 main ()
15287 {
15288
15289 FILE *f = fopen ("conftest.val", "w");
15290 if (! f)
15291 exit (1);
15292 if (((long) (sizeof (long))) < 0)
15293 {
15294 long i = longval ();
15295 if (i != ((long) (sizeof (long))))
15296 exit (1);
15297 fprintf (f, "%ld\n", i);
15298 }
15299 else
15300 {
15301 unsigned long i = ulongval ();
15302 if (i != ((long) (sizeof (long))))
15303 exit (1);
15304 fprintf (f, "%lu\n", i);
15305 }
15306 exit (ferror (f) || fclose (f) != 0);
15307
15308 ;
15309 return 0;
15310 }
15311 _ACEOF
15312 rm -f conftest$ac_exeext
15313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15314 (eval $ac_link) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15320 ac_status=$?
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 ac_cv_sizeof_long=`cat conftest.val`
15324 else
15325 echo "$as_me: program exited with status $ac_status" >&5
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15328
15329 ( exit $ac_status )
15330 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15331 See \`config.log' for more details." >&5
15332 echo "$as_me: error: cannot compute sizeof (long), 77
15333 See \`config.log' for more details." >&2;}
15334 { (exit 1); exit 1; }; }
15335 fi
15336 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15337 fi
15338 fi
15339 rm -f conftest.val
15340 else
15341 ac_cv_sizeof_long=0
15342 fi
15343 fi
15344 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15345 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15346 cat >>confdefs.h <<_ACEOF
15347 #define SIZEOF_LONG $ac_cv_sizeof_long
15348 _ACEOF
15349
15350
15351
15352 case "${host}" in
15353 arm-*-linux* )
15354 echo "$as_me:$LINENO: checking for long long" >&5
15355 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15356 if test "${ac_cv_type_long_long+set}" = set; then
15357 echo $ECHO_N "(cached) $ECHO_C" >&6
15358 else
15359 cat >conftest.$ac_ext <<_ACEOF
15360 #line $LINENO "configure"
15361 /* confdefs.h. */
15362 _ACEOF
15363 cat confdefs.h >>conftest.$ac_ext
15364 cat >>conftest.$ac_ext <<_ACEOF
15365 /* end confdefs.h. */
15366 $ac_includes_default
15367 int
15368 main ()
15369 {
15370 if ((long long *) 0)
15371 return 0;
15372 if (sizeof (long long))
15373 return 0;
15374 ;
15375 return 0;
15376 }
15377 _ACEOF
15378 rm -f conftest.$ac_objext
15379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15380 (eval $ac_compile) 2>&5
15381 ac_status=$?
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); } &&
15384 { ac_try='test -s conftest.$ac_objext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15387 ac_status=$?
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_type_long_long=yes
15391 else
15392 echo "$as_me: failed program was:" >&5
15393 sed 's/^/| /' conftest.$ac_ext >&5
15394
15395 ac_cv_type_long_long=no
15396 fi
15397 rm -f conftest.$ac_objext conftest.$ac_ext
15398 fi
15399 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15400 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15401
15402 echo "$as_me:$LINENO: checking size of long long" >&5
15403 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15404 if test "${ac_cv_sizeof_long_long+set}" = set; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15406 else
15407 if test "$ac_cv_type_long_long" = yes; then
15408 # The cast to unsigned long works around a bug in the HP C Compiler
15409 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15410 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15411 # This bug is HP SR number 8606223364.
15412 if test "$cross_compiling" = yes; then
15413 # Depending upon the size, compute the lo and hi bounds.
15414 cat >conftest.$ac_ext <<_ACEOF
15415 #line $LINENO "configure"
15416 /* confdefs.h. */
15417 _ACEOF
15418 cat confdefs.h >>conftest.$ac_ext
15419 cat >>conftest.$ac_ext <<_ACEOF
15420 /* end confdefs.h. */
15421 $ac_includes_default
15422 int
15423 main ()
15424 {
15425 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15426 test_array [0] = 0
15427
15428 ;
15429 return 0;
15430 }
15431 _ACEOF
15432 rm -f conftest.$ac_objext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15434 (eval $ac_compile) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); } &&
15438 { ac_try='test -s conftest.$ac_objext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15441 ac_status=$?
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 ac_lo=0 ac_mid=0
15445 while :; do
15446 cat >conftest.$ac_ext <<_ACEOF
15447 #line $LINENO "configure"
15448 /* confdefs.h. */
15449 _ACEOF
15450 cat confdefs.h >>conftest.$ac_ext
15451 cat >>conftest.$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15453 $ac_includes_default
15454 int
15455 main ()
15456 {
15457 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15458 test_array [0] = 0
15459
15460 ;
15461 return 0;
15462 }
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>&5
15467 ac_status=$?
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try='test -s conftest.$ac_objext'
15471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15472 (eval $ac_try) 2>&5
15473 ac_status=$?
15474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15475 (exit $ac_status); }; }; then
15476 ac_hi=$ac_mid; break
15477 else
15478 echo "$as_me: failed program was:" >&5
15479 sed 's/^/| /' conftest.$ac_ext >&5
15480
15481 ac_lo=`expr $ac_mid + 1`
15482 if test $ac_lo -le $ac_mid; then
15483 ac_lo= ac_hi=
15484 break
15485 fi
15486 ac_mid=`expr 2 '*' $ac_mid + 1`
15487 fi
15488 rm -f conftest.$ac_objext conftest.$ac_ext
15489 done
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15493
15494 cat >conftest.$ac_ext <<_ACEOF
15495 #line $LINENO "configure"
15496 /* confdefs.h. */
15497 _ACEOF
15498 cat confdefs.h >>conftest.$ac_ext
15499 cat >>conftest.$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15501 $ac_includes_default
15502 int
15503 main ()
15504 {
15505 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15506 test_array [0] = 0
15507
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 rm -f conftest.$ac_objext
15513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15514 (eval $ac_compile) 2>&5
15515 ac_status=$?
15516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15517 (exit $ac_status); } &&
15518 { ac_try='test -s conftest.$ac_objext'
15519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15520 (eval $ac_try) 2>&5
15521 ac_status=$?
15522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15523 (exit $ac_status); }; }; then
15524 ac_hi=-1 ac_mid=-1
15525 while :; do
15526 cat >conftest.$ac_ext <<_ACEOF
15527 #line $LINENO "configure"
15528 /* confdefs.h. */
15529 _ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 $ac_includes_default
15534 int
15535 main ()
15536 {
15537 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15538 test_array [0] = 0
15539
15540 ;
15541 return 0;
15542 }
15543 _ACEOF
15544 rm -f conftest.$ac_objext
15545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15546 (eval $ac_compile) 2>&5
15547 ac_status=$?
15548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15549 (exit $ac_status); } &&
15550 { ac_try='test -s conftest.$ac_objext'
15551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15552 (eval $ac_try) 2>&5
15553 ac_status=$?
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); }; }; then
15556 ac_lo=$ac_mid; break
15557 else
15558 echo "$as_me: failed program was:" >&5
15559 sed 's/^/| /' conftest.$ac_ext >&5
15560
15561 ac_hi=`expr '(' $ac_mid ')' - 1`
15562 if test $ac_mid -le $ac_hi; then
15563 ac_lo= ac_hi=
15564 break
15565 fi
15566 ac_mid=`expr 2 '*' $ac_mid`
15567 fi
15568 rm -f conftest.$ac_objext conftest.$ac_ext
15569 done
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15573
15574 ac_lo= ac_hi=
15575 fi
15576 rm -f conftest.$ac_objext conftest.$ac_ext
15577 fi
15578 rm -f conftest.$ac_objext conftest.$ac_ext
15579 # Binary search between lo and hi bounds.
15580 while test "x$ac_lo" != "x$ac_hi"; do
15581 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15582 cat >conftest.$ac_ext <<_ACEOF
15583 #line $LINENO "configure"
15584 /* confdefs.h. */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15589 $ac_includes_default
15590 int
15591 main ()
15592 {
15593 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15594 test_array [0] = 0
15595
15596 ;
15597 return 0;
15598 }
15599 _ACEOF
15600 rm -f conftest.$ac_objext
15601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -s conftest.$ac_objext'
15607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15608 (eval $ac_try) 2>&5
15609 ac_status=$?
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); }; }; then
15612 ac_hi=$ac_mid
15613 else
15614 echo "$as_me: failed program was:" >&5
15615 sed 's/^/| /' conftest.$ac_ext >&5
15616
15617 ac_lo=`expr '(' $ac_mid ')' + 1`
15618 fi
15619 rm -f conftest.$ac_objext conftest.$ac_ext
15620 done
15621 case $ac_lo in
15622 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15623 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15624 See \`config.log' for more details." >&5
15625 echo "$as_me: error: cannot compute sizeof (long long), 77
15626 See \`config.log' for more details." >&2;}
15627 { (exit 1); exit 1; }; } ;;
15628 esac
15629 else
15630 if test "$cross_compiling" = yes; then
15631 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15632 See \`config.log' for more details." >&5
15633 echo "$as_me: error: cannot run test program while cross compiling
15634 See \`config.log' for more details." >&2;}
15635 { (exit 1); exit 1; }; }
15636 else
15637 cat >conftest.$ac_ext <<_ACEOF
15638 #line $LINENO "configure"
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644 $ac_includes_default
15645 long longval () { return (long) (sizeof (long long)); }
15646 unsigned long ulongval () { return (long) (sizeof (long long)); }
15647 #include <stdio.h>
15648 #include <stdlib.h>
15649 int
15650 main ()
15651 {
15652
15653 FILE *f = fopen ("conftest.val", "w");
15654 if (! f)
15655 exit (1);
15656 if (((long) (sizeof (long long))) < 0)
15657 {
15658 long i = longval ();
15659 if (i != ((long) (sizeof (long long))))
15660 exit (1);
15661 fprintf (f, "%ld\n", i);
15662 }
15663 else
15664 {
15665 unsigned long i = ulongval ();
15666 if (i != ((long) (sizeof (long long))))
15667 exit (1);
15668 fprintf (f, "%lu\n", i);
15669 }
15670 exit (ferror (f) || fclose (f) != 0);
15671
15672 ;
15673 return 0;
15674 }
15675 _ACEOF
15676 rm -f conftest$ac_exeext
15677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15678 (eval $ac_link) 2>&5
15679 ac_status=$?
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15684 ac_status=$?
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; }; then
15687 ac_cv_sizeof_long_long=`cat conftest.val`
15688 else
15689 echo "$as_me: program exited with status $ac_status" >&5
15690 echo "$as_me: failed program was:" >&5
15691 sed 's/^/| /' conftest.$ac_ext >&5
15692
15693 ( exit $ac_status )
15694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15695 See \`config.log' for more details." >&5
15696 echo "$as_me: error: cannot compute sizeof (long long), 77
15697 See \`config.log' for more details." >&2;}
15698 { (exit 1); exit 1; }; }
15699 fi
15700 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15701 fi
15702 fi
15703 rm -f conftest.val
15704 else
15705 ac_cv_sizeof_long_long=0
15706 fi
15707 fi
15708 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
15709 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
15710 cat >>confdefs.h <<_ACEOF
15711 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
15712 _ACEOF
15713
15714
15715 ;;
15716 *-hp-hpux* )
15717 echo "$as_me:$LINENO: checking for long long" >&5
15718 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15719 if test "${ac_cv_type_long_long+set}" = set; then
15720 echo $ECHO_N "(cached) $ECHO_C" >&6
15721 else
15722 cat >conftest.$ac_ext <<_ACEOF
15723 #line $LINENO "configure"
15724 /* confdefs.h. */
15725 _ACEOF
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15729 $ac_includes_default
15730 int
15731 main ()
15732 {
15733 if ((long long *) 0)
15734 return 0;
15735 if (sizeof (long long))
15736 return 0;
15737 ;
15738 return 0;
15739 }
15740 _ACEOF
15741 rm -f conftest.$ac_objext
15742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15743 (eval $ac_compile) 2>&5
15744 ac_status=$?
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); } &&
15747 { ac_try='test -s conftest.$ac_objext'
15748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15749 (eval $ac_try) 2>&5
15750 ac_status=$?
15751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15752 (exit $ac_status); }; }; then
15753 ac_cv_type_long_long=yes
15754 else
15755 echo "$as_me: failed program was:" >&5
15756 sed 's/^/| /' conftest.$ac_ext >&5
15757
15758 ac_cv_type_long_long=no
15759 fi
15760 rm -f conftest.$ac_objext conftest.$ac_ext
15761 fi
15762 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15763 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15764
15765 echo "$as_me:$LINENO: checking size of long long" >&5
15766 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
15767 if test "${ac_cv_sizeof_long_long+set}" = set; then
15768 echo $ECHO_N "(cached) $ECHO_C" >&6
15769 else
15770 if test "$ac_cv_type_long_long" = yes; then
15771 # The cast to unsigned long works around a bug in the HP C Compiler
15772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15774 # This bug is HP SR number 8606223364.
15775 if test "$cross_compiling" = yes; then
15776 # Depending upon the size, compute the lo and hi bounds.
15777 cat >conftest.$ac_ext <<_ACEOF
15778 #line $LINENO "configure"
15779 /* confdefs.h. */
15780 _ACEOF
15781 cat confdefs.h >>conftest.$ac_ext
15782 cat >>conftest.$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784 $ac_includes_default
15785 int
15786 main ()
15787 {
15788 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
15789 test_array [0] = 0
15790
15791 ;
15792 return 0;
15793 }
15794 _ACEOF
15795 rm -f conftest.$ac_objext
15796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15797 (eval $ac_compile) 2>&5
15798 ac_status=$?
15799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15800 (exit $ac_status); } &&
15801 { ac_try='test -s conftest.$ac_objext'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15804 ac_status=$?
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; }; then
15807 ac_lo=0 ac_mid=0
15808 while :; do
15809 cat >conftest.$ac_ext <<_ACEOF
15810 #line $LINENO "configure"
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15817 int
15818 main ()
15819 {
15820 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15821 test_array [0] = 0
15822
15823 ;
15824 return 0;
15825 }
15826 _ACEOF
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>&5
15830 ac_status=$?
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -s conftest.$ac_objext'
15834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15835 (eval $ac_try) 2>&5
15836 ac_status=$?
15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15838 (exit $ac_status); }; }; then
15839 ac_hi=$ac_mid; break
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 ac_lo=`expr $ac_mid + 1`
15845 if test $ac_lo -le $ac_mid; then
15846 ac_lo= ac_hi=
15847 break
15848 fi
15849 ac_mid=`expr 2 '*' $ac_mid + 1`
15850 fi
15851 rm -f conftest.$ac_objext conftest.$ac_ext
15852 done
15853 else
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15856
15857 cat >conftest.$ac_ext <<_ACEOF
15858 #line $LINENO "configure"
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15864 $ac_includes_default
15865 int
15866 main ()
15867 {
15868 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
15869 test_array [0] = 0
15870
15871 ;
15872 return 0;
15873 }
15874 _ACEOF
15875 rm -f conftest.$ac_objext
15876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15877 (eval $ac_compile) 2>&5
15878 ac_status=$?
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try='test -s conftest.$ac_objext'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15884 ac_status=$?
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; }; then
15887 ac_hi=-1 ac_mid=-1
15888 while :; do
15889 cat >conftest.$ac_ext <<_ACEOF
15890 #line $LINENO "configure"
15891 /* confdefs.h. */
15892 _ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896 $ac_includes_default
15897 int
15898 main ()
15899 {
15900 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
15901 test_array [0] = 0
15902
15903 ;
15904 return 0;
15905 }
15906 _ACEOF
15907 rm -f conftest.$ac_objext
15908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15909 (eval $ac_compile) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } &&
15913 { ac_try='test -s conftest.$ac_objext'
15914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15915 (eval $ac_try) 2>&5
15916 ac_status=$?
15917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15918 (exit $ac_status); }; }; then
15919 ac_lo=$ac_mid; break
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 ac_hi=`expr '(' $ac_mid ')' - 1`
15925 if test $ac_mid -le $ac_hi; then
15926 ac_lo= ac_hi=
15927 break
15928 fi
15929 ac_mid=`expr 2 '*' $ac_mid`
15930 fi
15931 rm -f conftest.$ac_objext conftest.$ac_ext
15932 done
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15936
15937 ac_lo= ac_hi=
15938 fi
15939 rm -f conftest.$ac_objext conftest.$ac_ext
15940 fi
15941 rm -f conftest.$ac_objext conftest.$ac_ext
15942 # Binary search between lo and hi bounds.
15943 while test "x$ac_lo" != "x$ac_hi"; do
15944 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15945 cat >conftest.$ac_ext <<_ACEOF
15946 #line $LINENO "configure"
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 $ac_includes_default
15953 int
15954 main ()
15955 {
15956 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
15957 test_array [0] = 0
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); } &&
15969 { ac_try='test -s conftest.$ac_objext'
15970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15971 (eval $ac_try) 2>&5
15972 ac_status=$?
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); }; }; then
15975 ac_hi=$ac_mid
15976 else
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15979
15980 ac_lo=`expr '(' $ac_mid ')' + 1`
15981 fi
15982 rm -f conftest.$ac_objext conftest.$ac_ext
15983 done
15984 case $ac_lo in
15985 ?*) ac_cv_sizeof_long_long=$ac_lo;;
15986 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
15987 See \`config.log' for more details." >&5
15988 echo "$as_me: error: cannot compute sizeof (long long), 77
15989 See \`config.log' for more details." >&2;}
15990 { (exit 1); exit 1; }; } ;;
15991 esac
15992 else
15993 if test "$cross_compiling" = yes; then
15994 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15995 See \`config.log' for more details." >&5
15996 echo "$as_me: error: cannot run test program while cross compiling
15997 See \`config.log' for more details." >&2;}
15998 { (exit 1); exit 1; }; }
15999 else
16000 cat >conftest.$ac_ext <<_ACEOF
16001 #line $LINENO "configure"
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007 $ac_includes_default
16008 long longval () { return (long) (sizeof (long long)); }
16009 unsigned long ulongval () { return (long) (sizeof (long long)); }
16010 #include <stdio.h>
16011 #include <stdlib.h>
16012 int
16013 main ()
16014 {
16015
16016 FILE *f = fopen ("conftest.val", "w");
16017 if (! f)
16018 exit (1);
16019 if (((long) (sizeof (long long))) < 0)
16020 {
16021 long i = longval ();
16022 if (i != ((long) (sizeof (long long))))
16023 exit (1);
16024 fprintf (f, "%ld\n", i);
16025 }
16026 else
16027 {
16028 unsigned long i = ulongval ();
16029 if (i != ((long) (sizeof (long long))))
16030 exit (1);
16031 fprintf (f, "%lu\n", i);
16032 }
16033 exit (ferror (f) || fclose (f) != 0);
16034
16035 ;
16036 return 0;
16037 }
16038 _ACEOF
16039 rm -f conftest$ac_exeext
16040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16041 (eval $ac_link) 2>&5
16042 ac_status=$?
16043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16044 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16047 ac_status=$?
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_cv_sizeof_long_long=`cat conftest.val`
16051 else
16052 echo "$as_me: program exited with status $ac_status" >&5
16053 echo "$as_me: failed program was:" >&5
16054 sed 's/^/| /' conftest.$ac_ext >&5
16055
16056 ( exit $ac_status )
16057 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16058 See \`config.log' for more details." >&5
16059 echo "$as_me: error: cannot compute sizeof (long long), 77
16060 See \`config.log' for more details." >&2;}
16061 { (exit 1); exit 1; }; }
16062 fi
16063 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16064 fi
16065 fi
16066 rm -f conftest.val
16067 else
16068 ac_cv_sizeof_long_long=0
16069 fi
16070 fi
16071 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16072 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16073 cat >>confdefs.h <<_ACEOF
16074 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16075 _ACEOF
16076
16077
16078 if test "$ac_cv_sizeof_long_long" != "0"; then
16079 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16080 fi
16081 ;;
16082 * )
16083 echo "$as_me:$LINENO: checking for long long" >&5
16084 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16085 if test "${ac_cv_type_long_long+set}" = set; then
16086 echo $ECHO_N "(cached) $ECHO_C" >&6
16087 else
16088 cat >conftest.$ac_ext <<_ACEOF
16089 #line $LINENO "configure"
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095 $ac_includes_default
16096 int
16097 main ()
16098 {
16099 if ((long long *) 0)
16100 return 0;
16101 if (sizeof (long long))
16102 return 0;
16103 ;
16104 return 0;
16105 }
16106 _ACEOF
16107 rm -f conftest.$ac_objext
16108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16109 (eval $ac_compile) 2>&5
16110 ac_status=$?
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try='test -s conftest.$ac_objext'
16114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16115 (eval $ac_try) 2>&5
16116 ac_status=$?
16117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118 (exit $ac_status); }; }; then
16119 ac_cv_type_long_long=yes
16120 else
16121 echo "$as_me: failed program was:" >&5
16122 sed 's/^/| /' conftest.$ac_ext >&5
16123
16124 ac_cv_type_long_long=no
16125 fi
16126 rm -f conftest.$ac_objext conftest.$ac_ext
16127 fi
16128 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16129 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16130
16131 echo "$as_me:$LINENO: checking size of long long" >&5
16132 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16133 if test "${ac_cv_sizeof_long_long+set}" = set; then
16134 echo $ECHO_N "(cached) $ECHO_C" >&6
16135 else
16136 if test "$ac_cv_type_long_long" = yes; then
16137 # The cast to unsigned long works around a bug in the HP C Compiler
16138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16140 # This bug is HP SR number 8606223364.
16141 if test "$cross_compiling" = yes; then
16142 # Depending upon the size, compute the lo and hi bounds.
16143 cat >conftest.$ac_ext <<_ACEOF
16144 #line $LINENO "configure"
16145 /* confdefs.h. */
16146 _ACEOF
16147 cat confdefs.h >>conftest.$ac_ext
16148 cat >>conftest.$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16150 $ac_includes_default
16151 int
16152 main ()
16153 {
16154 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16155 test_array [0] = 0
16156
16157 ;
16158 return 0;
16159 }
16160 _ACEOF
16161 rm -f conftest.$ac_objext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16163 (eval $ac_compile) 2>&5
16164 ac_status=$?
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -s conftest.$ac_objext'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16170 ac_status=$?
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; }; then
16173 ac_lo=0 ac_mid=0
16174 while :; do
16175 cat >conftest.$ac_ext <<_ACEOF
16176 #line $LINENO "configure"
16177 /* confdefs.h. */
16178 _ACEOF
16179 cat confdefs.h >>conftest.$ac_ext
16180 cat >>conftest.$ac_ext <<_ACEOF
16181 /* end confdefs.h. */
16182 $ac_includes_default
16183 int
16184 main ()
16185 {
16186 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16187 test_array [0] = 0
16188
16189 ;
16190 return 0;
16191 }
16192 _ACEOF
16193 rm -f conftest.$ac_objext
16194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195 (eval $ac_compile) 2>&5
16196 ac_status=$?
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); } &&
16199 { ac_try='test -s conftest.$ac_objext'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16202 ac_status=$?
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; }; then
16205 ac_hi=$ac_mid; break
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 ac_lo=`expr $ac_mid + 1`
16211 if test $ac_lo -le $ac_mid; then
16212 ac_lo= ac_hi=
16213 break
16214 fi
16215 ac_mid=`expr 2 '*' $ac_mid + 1`
16216 fi
16217 rm -f conftest.$ac_objext conftest.$ac_ext
16218 done
16219 else
16220 echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16222
16223 cat >conftest.$ac_ext <<_ACEOF
16224 #line $LINENO "configure"
16225 /* confdefs.h. */
16226 _ACEOF
16227 cat confdefs.h >>conftest.$ac_ext
16228 cat >>conftest.$ac_ext <<_ACEOF
16229 /* end confdefs.h. */
16230 $ac_includes_default
16231 int
16232 main ()
16233 {
16234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16235 test_array [0] = 0
16236
16237 ;
16238 return 0;
16239 }
16240 _ACEOF
16241 rm -f conftest.$ac_objext
16242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16243 (eval $ac_compile) 2>&5
16244 ac_status=$?
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } &&
16247 { ac_try='test -s conftest.$ac_objext'
16248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16249 (eval $ac_try) 2>&5
16250 ac_status=$?
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); }; }; then
16253 ac_hi=-1 ac_mid=-1
16254 while :; do
16255 cat >conftest.$ac_ext <<_ACEOF
16256 #line $LINENO "configure"
16257 /* confdefs.h. */
16258 _ACEOF
16259 cat confdefs.h >>conftest.$ac_ext
16260 cat >>conftest.$ac_ext <<_ACEOF
16261 /* end confdefs.h. */
16262 $ac_includes_default
16263 int
16264 main ()
16265 {
16266 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16267 test_array [0] = 0
16268
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 rm -f conftest.$ac_objext
16274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16275 (eval $ac_compile) 2>&5
16276 ac_status=$?
16277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16278 (exit $ac_status); } &&
16279 { ac_try='test -s conftest.$ac_objext'
16280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16281 (eval $ac_try) 2>&5
16282 ac_status=$?
16283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16284 (exit $ac_status); }; }; then
16285 ac_lo=$ac_mid; break
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 ac_hi=`expr '(' $ac_mid ')' - 1`
16291 if test $ac_mid -le $ac_hi; then
16292 ac_lo= ac_hi=
16293 break
16294 fi
16295 ac_mid=`expr 2 '*' $ac_mid`
16296 fi
16297 rm -f conftest.$ac_objext conftest.$ac_ext
16298 done
16299 else
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.$ac_ext >&5
16302
16303 ac_lo= ac_hi=
16304 fi
16305 rm -f conftest.$ac_objext conftest.$ac_ext
16306 fi
16307 rm -f conftest.$ac_objext conftest.$ac_ext
16308 # Binary search between lo and hi bounds.
16309 while test "x$ac_lo" != "x$ac_hi"; do
16310 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16311 cat >conftest.$ac_ext <<_ACEOF
16312 #line $LINENO "configure"
16313 /* confdefs.h. */
16314 _ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318 $ac_includes_default
16319 int
16320 main ()
16321 {
16322 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16323 test_array [0] = 0
16324
16325 ;
16326 return 0;
16327 }
16328 _ACEOF
16329 rm -f conftest.$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331 (eval $ac_compile) 2>&5
16332 ac_status=$?
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } &&
16335 { ac_try='test -s conftest.$ac_objext'
16336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337 (eval $ac_try) 2>&5
16338 ac_status=$?
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }; }; then
16341 ac_hi=$ac_mid
16342 else
16343 echo "$as_me: failed program was:" >&5
16344 sed 's/^/| /' conftest.$ac_ext >&5
16345
16346 ac_lo=`expr '(' $ac_mid ')' + 1`
16347 fi
16348 rm -f conftest.$ac_objext conftest.$ac_ext
16349 done
16350 case $ac_lo in
16351 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16352 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16353 See \`config.log' for more details." >&5
16354 echo "$as_me: error: cannot compute sizeof (long long), 77
16355 See \`config.log' for more details." >&2;}
16356 { (exit 1); exit 1; }; } ;;
16357 esac
16358 else
16359 if test "$cross_compiling" = yes; then
16360 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16361 See \`config.log' for more details." >&5
16362 echo "$as_me: error: cannot run test program while cross compiling
16363 See \`config.log' for more details." >&2;}
16364 { (exit 1); exit 1; }; }
16365 else
16366 cat >conftest.$ac_ext <<_ACEOF
16367 #line $LINENO "configure"
16368 /* confdefs.h. */
16369 _ACEOF
16370 cat confdefs.h >>conftest.$ac_ext
16371 cat >>conftest.$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16373 $ac_includes_default
16374 long longval () { return (long) (sizeof (long long)); }
16375 unsigned long ulongval () { return (long) (sizeof (long long)); }
16376 #include <stdio.h>
16377 #include <stdlib.h>
16378 int
16379 main ()
16380 {
16381
16382 FILE *f = fopen ("conftest.val", "w");
16383 if (! f)
16384 exit (1);
16385 if (((long) (sizeof (long long))) < 0)
16386 {
16387 long i = longval ();
16388 if (i != ((long) (sizeof (long long))))
16389 exit (1);
16390 fprintf (f, "%ld\n", i);
16391 }
16392 else
16393 {
16394 unsigned long i = ulongval ();
16395 if (i != ((long) (sizeof (long long))))
16396 exit (1);
16397 fprintf (f, "%lu\n", i);
16398 }
16399 exit (ferror (f) || fclose (f) != 0);
16400
16401 ;
16402 return 0;
16403 }
16404 _ACEOF
16405 rm -f conftest$ac_exeext
16406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16407 (eval $ac_link) 2>&5
16408 ac_status=$?
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16412 (eval $ac_try) 2>&5
16413 ac_status=$?
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); }; }; then
16416 ac_cv_sizeof_long_long=`cat conftest.val`
16417 else
16418 echo "$as_me: program exited with status $ac_status" >&5
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16421
16422 ( exit $ac_status )
16423 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16424 See \`config.log' for more details." >&5
16425 echo "$as_me: error: cannot compute sizeof (long long), 77
16426 See \`config.log' for more details." >&2;}
16427 { (exit 1); exit 1; }; }
16428 fi
16429 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16430 fi
16431 fi
16432 rm -f conftest.val
16433 else
16434 ac_cv_sizeof_long_long=0
16435 fi
16436 fi
16437 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16438 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16439 cat >>confdefs.h <<_ACEOF
16440 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16441 _ACEOF
16442
16443
16444 esac
16445
16446 echo "$as_me:$LINENO: checking size of wchar_t" >&5
16447 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
16448 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
16449 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 else
16451
16452 if test "$cross_compiling" = yes; then
16453
16454 case "${host}" in
16455 *-pc-msdosdjgpp )
16456 wx_cv_sizeof_wchar_t=0
16457 ;;
16458 * )
16459 wx_cv_sizeof_wchar_t=4
16460 ;;
16461 esac
16462
16463
16464 else
16465 cat >conftest.$ac_ext <<_ACEOF
16466 #line $LINENO "configure"
16467 /* confdefs.h. */
16468 _ACEOF
16469 cat confdefs.h >>conftest.$ac_ext
16470 cat >>conftest.$ac_ext <<_ACEOF
16471 /* end confdefs.h. */
16472
16473 /* DJGPP only has fake wchar_t: */
16474 #ifdef __DJGPP__
16475 # error "fake wchar_t"
16476 #endif
16477 #ifdef HAVE_WCHAR_H
16478 # ifdef __CYGWIN__
16479 # include <stddef.h>
16480 # endif
16481 # include <wchar.h>
16482 #endif
16483 #ifdef HAVE_STDLIB_H
16484 # include <stdlib.h>
16485 #endif
16486 #include <stdio.h>
16487 int main()
16488 {
16489 FILE *f=fopen("conftestval", "w");
16490 if (!f) exit(1);
16491 fprintf(f, "%i", sizeof(wchar_t));
16492 exit(0);
16493 }
16494
16495 _ACEOF
16496 rm -f conftest$ac_exeext
16497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16498 (eval $ac_link) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16503 (eval $ac_try) 2>&5
16504 ac_status=$?
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); }; }; then
16507 wx_cv_sizeof_wchar_t=`cat conftestval`
16508 else
16509 echo "$as_me: program exited with status $ac_status" >&5
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16512
16513 ( exit $ac_status )
16514 wx_cv_sizeof_wchar_t=0
16515 fi
16516 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16517 fi
16518
16519 fi
16520 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
16521 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
16522
16523 cat >>confdefs.h <<_ACEOF
16524 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
16525 _ACEOF
16526
16527
16528 # Check whether --enable-largefile or --disable-largefile was given.
16529 if test "${enable_largefile+set}" = set; then
16530 enableval="$enable_largefile"
16531
16532 fi;
16533 if test "$enable_largefile" != no; then
16534 wx_largefile=no
16535
16536 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16537 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
16538 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 else
16541
16542 cat >conftest.$ac_ext <<_ACEOF
16543 #line $LINENO "configure"
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549 #define _FILE_OFFSET_BITS 64
16550 #include <sys/types.h>
16551 int
16552 main ()
16553 {
16554 typedef struct {
16555 unsigned int field: sizeof(off_t) == 8;
16556 } wxlf;
16557
16558 ;
16559 return 0;
16560 }
16561 _ACEOF
16562 rm -f conftest.$ac_objext
16563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16564 (eval $ac_compile) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_sys_file_offset_bits=64
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 ac_cv_sys_file_offset_bits=no
16580 fi
16581 rm -f conftest.$ac_objext conftest.$ac_ext
16582
16583
16584 fi
16585 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
16586 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
16587
16588 if test "$ac_cv_sys_file_offset_bits" != no; then
16589 wx_largefile=yes
16590 cat >>confdefs.h <<_ACEOF
16591 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16592 _ACEOF
16593
16594 fi
16595
16596 if test "x$wx_largefile" != "xyes"; then
16597
16598 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
16599 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
16600 if test "${ac_cv_sys_large_files+set}" = set; then
16601 echo $ECHO_N "(cached) $ECHO_C" >&6
16602 else
16603
16604 cat >conftest.$ac_ext <<_ACEOF
16605 #line $LINENO "configure"
16606 /* confdefs.h. */
16607 _ACEOF
16608 cat confdefs.h >>conftest.$ac_ext
16609 cat >>conftest.$ac_ext <<_ACEOF
16610 /* end confdefs.h. */
16611 #define _LARGE_FILES 1
16612 #include <sys/types.h>
16613 int
16614 main ()
16615 {
16616 typedef struct {
16617 unsigned int field: sizeof(off_t) == 8;
16618 } wxlf;
16619
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 rm -f conftest.$ac_objext
16625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16626 (eval $ac_compile) 2>&5
16627 ac_status=$?
16628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629 (exit $ac_status); } &&
16630 { ac_try='test -s conftest.$ac_objext'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; }; then
16636 ac_cv_sys_large_files=1
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 ac_cv_sys_large_files=no
16642 fi
16643 rm -f conftest.$ac_objext conftest.$ac_ext
16644
16645
16646 fi
16647 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
16648 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
16649
16650 if test "$ac_cv_sys_large_files" != no; then
16651 wx_largefile=yes
16652 cat >>confdefs.h <<_ACEOF
16653 #define _LARGE_FILES $ac_cv_sys_large_files
16654 _ACEOF
16655
16656 fi
16657
16658 fi
16659
16660 echo "$as_me:$LINENO: checking if large file support is available" >&5
16661 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
16662 if test "x$wx_largefile" = "xyes"; then
16663 cat >>confdefs.h <<\_ACEOF
16664 #define HAVE_LARGEFILE_SUPPORT 1
16665 _ACEOF
16666
16667 fi
16668 echo "$as_me:$LINENO: result: $wx_largefile" >&5
16669 echo "${ECHO_T}$wx_largefile" >&6
16670 fi
16671
16672
16673 if test "x$wx_largefile" = "xyes"; then
16674 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
16675 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
16676 else
16677 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
16678 fi
16679 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
16680 fi
16681
16682 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
16683 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
16684 if test "${ac_cv_c_bigendian+set}" = set; then
16685 echo $ECHO_N "(cached) $ECHO_C" >&6
16686 else
16687 ac_cv_c_bigendian=unknown
16688 # See if sys/param.h defines the BYTE_ORDER macro.
16689 cat >conftest.$ac_ext <<_ACEOF
16690 #line $LINENO "configure"
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <sys/types.h>
16697 #include <sys/param.h>
16698 int
16699 main ()
16700 {
16701
16702 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
16703 bogus endian macros
16704 #endif
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>&5
16712 ac_status=$?
16713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714 (exit $ac_status); } &&
16715 { ac_try='test -s conftest.$ac_objext'
16716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16717 (eval $ac_try) 2>&5
16718 ac_status=$?
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); }; }; then
16721 # It does; now see whether it defined to BIG_ENDIAN or not.
16722 cat >conftest.$ac_ext <<_ACEOF
16723 #line $LINENO "configure"
16724 /* confdefs.h. */
16725 _ACEOF
16726 cat confdefs.h >>conftest.$ac_ext
16727 cat >>conftest.$ac_ext <<_ACEOF
16728 /* end confdefs.h. */
16729 #include <sys/types.h>
16730 #include <sys/param.h>
16731 int
16732 main ()
16733 {
16734
16735 #if BYTE_ORDER != BIG_ENDIAN
16736 not big endian
16737 #endif
16738 ;
16739 return 0;
16740 }
16741 _ACEOF
16742 rm -f conftest.$ac_objext
16743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16744 (eval $ac_compile) 2>&5
16745 ac_status=$?
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try='test -s conftest.$ac_objext'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16751 ac_status=$?
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; }; then
16754 ac_cv_c_bigendian=yes
16755 else
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16758
16759 ac_cv_c_bigendian=no
16760 fi
16761 rm -f conftest.$ac_objext conftest.$ac_ext
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 fi
16767 rm -f conftest.$ac_objext conftest.$ac_ext
16768 if test $ac_cv_c_bigendian = unknown; then
16769 if test "$cross_compiling" = yes; then
16770 ac_cv_c_bigendian=unknown
16771 else
16772 cat >conftest.$ac_ext <<_ACEOF
16773 #line $LINENO "configure"
16774 /* confdefs.h. */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 main () {
16780 /* Are we little or big endian? From Harbison&Steele. */
16781 union
16782 {
16783 long l;
16784 char c[sizeof (long)];
16785 } u;
16786 u.l = 1;
16787 exit (u.c[sizeof (long) - 1] == 1);
16788 }
16789 _ACEOF
16790 rm -f conftest$ac_exeext
16791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16792 (eval $ac_link) 2>&5
16793 ac_status=$?
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16797 (eval $ac_try) 2>&5
16798 ac_status=$?
16799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16800 (exit $ac_status); }; }; then
16801 ac_cv_c_bigendian=no
16802 else
16803 echo "$as_me: program exited with status $ac_status" >&5
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16806
16807 ( exit $ac_status )
16808 ac_cv_c_bigendian=yes
16809 fi
16810 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16811 fi
16812 fi
16813 fi
16814 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
16815 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
16816 if test $ac_cv_c_bigendian = unknown; then
16817 { 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
16818 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;}
16819 fi
16820 if test $ac_cv_c_bigendian = yes; then
16821 cat >>confdefs.h <<\_ACEOF
16822 #define WORDS_BIGENDIAN 1
16823 _ACEOF
16824
16825 fi
16826
16827
16828
16829 ac_ext=cc
16830 ac_cpp='$CXXCPP $CPPFLAGS'
16831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16834 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16835 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16836 if test -z "$CXXCPP"; then
16837 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 # Double quotes because CXXCPP needs to be expanded
16841 for CXXCPP in "$CXX -E" "/lib/cpp"
16842 do
16843 ac_preproc_ok=false
16844 for ac_cxx_preproc_warn_flag in '' yes
16845 do
16846 # Use a header file that comes with gcc, so configuring glibc
16847 # with a fresh cross-compiler works.
16848 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16849 # <limits.h> exists even on freestanding compilers.
16850 # On the NeXT, cc -E runs the code through the compiler's parser,
16851 # not just through cpp. "Syntax error" is here to catch this case.
16852 cat >conftest.$ac_ext <<_ACEOF
16853 #line $LINENO "configure"
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #ifdef __STDC__
16860 # include <limits.h>
16861 #else
16862 # include <assert.h>
16863 #endif
16864 Syntax error
16865 _ACEOF
16866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16868 ac_status=$?
16869 grep -v '^ *+' conftest.er1 >conftest.err
16870 rm -f conftest.er1
16871 cat conftest.err >&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } >/dev/null; then
16874 if test -s conftest.err; then
16875 ac_cpp_err=$ac_cxx_preproc_warn_flag
16876 else
16877 ac_cpp_err=
16878 fi
16879 else
16880 ac_cpp_err=yes
16881 fi
16882 if test -z "$ac_cpp_err"; then
16883 :
16884 else
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16887
16888 # Broken: fails on valid input.
16889 continue
16890 fi
16891 rm -f conftest.err conftest.$ac_ext
16892
16893 # OK, works on sane cases. Now check whether non-existent headers
16894 # can be detected and how.
16895 cat >conftest.$ac_ext <<_ACEOF
16896 #line $LINENO "configure"
16897 /* confdefs.h. */
16898 _ACEOF
16899 cat confdefs.h >>conftest.$ac_ext
16900 cat >>conftest.$ac_ext <<_ACEOF
16901 /* end confdefs.h. */
16902 #include <ac_nonexistent.h>
16903 _ACEOF
16904 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16905 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } >/dev/null; then
16912 if test -s conftest.err; then
16913 ac_cpp_err=$ac_cxx_preproc_warn_flag
16914 else
16915 ac_cpp_err=
16916 fi
16917 else
16918 ac_cpp_err=yes
16919 fi
16920 if test -z "$ac_cpp_err"; then
16921 # Broken: success on invalid input.
16922 continue
16923 else
16924 echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16926
16927 # Passes both tests.
16928 ac_preproc_ok=:
16929 break
16930 fi
16931 rm -f conftest.err conftest.$ac_ext
16932
16933 done
16934 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16935 rm -f conftest.err conftest.$ac_ext
16936 if $ac_preproc_ok; then
16937 break
16938 fi
16939
16940 done
16941 ac_cv_prog_CXXCPP=$CXXCPP
16942
16943 fi
16944 CXXCPP=$ac_cv_prog_CXXCPP
16945 else
16946 ac_cv_prog_CXXCPP=$CXXCPP
16947 fi
16948 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16949 echo "${ECHO_T}$CXXCPP" >&6
16950 ac_preproc_ok=false
16951 for ac_cxx_preproc_warn_flag in '' yes
16952 do
16953 # Use a header file that comes with gcc, so configuring glibc
16954 # with a fresh cross-compiler works.
16955 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16956 # <limits.h> exists even on freestanding compilers.
16957 # On the NeXT, cc -E runs the code through the compiler's parser,
16958 # not just through cpp. "Syntax error" is here to catch this case.
16959 cat >conftest.$ac_ext <<_ACEOF
16960 #line $LINENO "configure"
16961 /* confdefs.h. */
16962 _ACEOF
16963 cat confdefs.h >>conftest.$ac_ext
16964 cat >>conftest.$ac_ext <<_ACEOF
16965 /* end confdefs.h. */
16966 #ifdef __STDC__
16967 # include <limits.h>
16968 #else
16969 # include <assert.h>
16970 #endif
16971 Syntax error
16972 _ACEOF
16973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16975 ac_status=$?
16976 grep -v '^ *+' conftest.er1 >conftest.err
16977 rm -f conftest.er1
16978 cat conftest.err >&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } >/dev/null; then
16981 if test -s conftest.err; then
16982 ac_cpp_err=$ac_cxx_preproc_warn_flag
16983 else
16984 ac_cpp_err=
16985 fi
16986 else
16987 ac_cpp_err=yes
16988 fi
16989 if test -z "$ac_cpp_err"; then
16990 :
16991 else
16992 echo "$as_me: failed program was:" >&5
16993 sed 's/^/| /' conftest.$ac_ext >&5
16994
16995 # Broken: fails on valid input.
16996 continue
16997 fi
16998 rm -f conftest.err conftest.$ac_ext
16999
17000 # OK, works on sane cases. Now check whether non-existent headers
17001 # can be detected and how.
17002 cat >conftest.$ac_ext <<_ACEOF
17003 #line $LINENO "configure"
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 #include <ac_nonexistent.h>
17010 _ACEOF
17011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } >/dev/null; then
17019 if test -s conftest.err; then
17020 ac_cpp_err=$ac_cxx_preproc_warn_flag
17021 else
17022 ac_cpp_err=
17023 fi
17024 else
17025 ac_cpp_err=yes
17026 fi
17027 if test -z "$ac_cpp_err"; then
17028 # Broken: success on invalid input.
17029 continue
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 # Passes both tests.
17035 ac_preproc_ok=:
17036 break
17037 fi
17038 rm -f conftest.err conftest.$ac_ext
17039
17040 done
17041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17042 rm -f conftest.err conftest.$ac_ext
17043 if $ac_preproc_ok; then
17044 :
17045 else
17046 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17047 See \`config.log' for more details." >&5
17048 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17049 See \`config.log' for more details." >&2;}
17050 { (exit 1); exit 1; }; }
17051 fi
17052
17053 ac_ext=cc
17054 ac_cpp='$CXXCPP $CPPFLAGS'
17055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17058
17059
17060
17061 if test "$cross_compiling" = "yes"; then
17062 cat >>confdefs.h <<\_ACEOF
17063 #define wxUSE_IOSTREAMH 1
17064 _ACEOF
17065
17066 else
17067
17068
17069 ac_ext=cc
17070 ac_cpp='$CXXCPP $CPPFLAGS'
17071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17074
17075
17076
17077 for ac_header in iostream
17078 do
17079 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17081 echo "$as_me:$LINENO: checking for $ac_header" >&5
17082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 fi
17086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17088 else
17089 # Is the header compilable?
17090 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17092 cat >conftest.$ac_ext <<_ACEOF
17093 #line $LINENO "configure"
17094 /* confdefs.h. */
17095 _ACEOF
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 $ac_includes_default
17100 #include <$ac_header>
17101 _ACEOF
17102 rm -f conftest.$ac_objext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17104 (eval $ac_compile) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try='test -s conftest.$ac_objext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17111 ac_status=$?
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_header_compiler=yes
17115 else
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17118
17119 ac_header_compiler=no
17120 fi
17121 rm -f conftest.$ac_objext conftest.$ac_ext
17122 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17123 echo "${ECHO_T}$ac_header_compiler" >&6
17124
17125 # Is the header present?
17126 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17127 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17128 cat >conftest.$ac_ext <<_ACEOF
17129 #line $LINENO "configure"
17130 /* confdefs.h. */
17131 _ACEOF
17132 cat confdefs.h >>conftest.$ac_ext
17133 cat >>conftest.$ac_ext <<_ACEOF
17134 /* end confdefs.h. */
17135 #include <$ac_header>
17136 _ACEOF
17137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17139 ac_status=$?
17140 grep -v '^ *+' conftest.er1 >conftest.err
17141 rm -f conftest.er1
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } >/dev/null; then
17145 if test -s conftest.err; then
17146 ac_cpp_err=$ac_cxx_preproc_warn_flag
17147 else
17148 ac_cpp_err=
17149 fi
17150 else
17151 ac_cpp_err=yes
17152 fi
17153 if test -z "$ac_cpp_err"; then
17154 ac_header_preproc=yes
17155 else
17156 echo "$as_me: failed program was:" >&5
17157 sed 's/^/| /' conftest.$ac_ext >&5
17158
17159 ac_header_preproc=no
17160 fi
17161 rm -f conftest.err conftest.$ac_ext
17162 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17163 echo "${ECHO_T}$ac_header_preproc" >&6
17164
17165 # So? What about this header?
17166 case $ac_header_compiler:$ac_header_preproc in
17167 yes:no )
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17169 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17172 (
17173 cat <<\_ASBOX
17174 ## ------------------------------------ ##
17175 ## Report this to bug-autoconf@gnu.org. ##
17176 ## ------------------------------------ ##
17177 _ASBOX
17178 ) |
17179 sed "s/^/$as_me: WARNING: /" >&2
17180 ;;
17181 no:yes )
17182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17188 (
17189 cat <<\_ASBOX
17190 ## ------------------------------------ ##
17191 ## Report this to bug-autoconf@gnu.org. ##
17192 ## ------------------------------------ ##
17193 _ASBOX
17194 ) |
17195 sed "s/^/$as_me: WARNING: /" >&2
17196 ;;
17197 esac
17198 echo "$as_me:$LINENO: checking for $ac_header" >&5
17199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 eval "$as_ac_Header=$ac_header_preproc"
17204 fi
17205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17207
17208 fi
17209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17210 cat >>confdefs.h <<_ACEOF
17211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17212 _ACEOF
17213
17214 fi
17215
17216 done
17217
17218
17219 if test "$ac_cv_header_iostream" = "yes" ; then
17220 :
17221 else
17222 cat >>confdefs.h <<\_ACEOF
17223 #define wxUSE_IOSTREAMH 1
17224 _ACEOF
17225
17226 fi
17227
17228 ac_ext=c
17229 ac_cpp='$CPP $CPPFLAGS'
17230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233
17234 fi
17235
17236
17237
17238 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
17239 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
17240 if test "${wx_cv_cpp_bool+set}" = set; then
17241 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 else
17243
17244
17245
17246 ac_ext=cc
17247 ac_cpp='$CXXCPP $CPPFLAGS'
17248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17251
17252
17253 cat >conftest.$ac_ext <<_ACEOF
17254 #line $LINENO "configure"
17255 /* confdefs.h. */
17256 _ACEOF
17257 cat confdefs.h >>conftest.$ac_ext
17258 cat >>conftest.$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260
17261
17262 int
17263 main ()
17264 {
17265
17266 bool b = true;
17267
17268 return 0;
17269
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 rm -f conftest.$ac_objext
17275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17276 (eval $ac_compile) 2>&5
17277 ac_status=$?
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } &&
17280 { ac_try='test -s conftest.$ac_objext'
17281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17282 (eval $ac_try) 2>&5
17283 ac_status=$?
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); }; }; then
17286
17287 wx_cv_cpp_bool=yes
17288
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293
17294 wx_cv_cpp_bool=no
17295
17296
17297 fi
17298 rm -f conftest.$ac_objext conftest.$ac_ext
17299
17300 ac_ext=c
17301 ac_cpp='$CPP $CPPFLAGS'
17302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17305
17306
17307 fi
17308 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
17309 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
17310
17311 if test "$wx_cv_cpp_bool" = "yes"; then
17312 cat >>confdefs.h <<\_ACEOF
17313 #define HAVE_BOOL 1
17314 _ACEOF
17315
17316 fi
17317
17318
17319
17320 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
17321 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
17322 if test "${wx_cv_explicit+set}" = set; then
17323 echo $ECHO_N "(cached) $ECHO_C" >&6
17324 else
17325
17326
17327
17328 ac_ext=cc
17329 ac_cpp='$CXXCPP $CPPFLAGS'
17330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17333
17334
17335 cat >conftest.$ac_ext <<_ACEOF
17336 #line $LINENO "configure"
17337 /* confdefs.h. */
17338 _ACEOF
17339 cat confdefs.h >>conftest.$ac_ext
17340 cat >>conftest.$ac_ext <<_ACEOF
17341 /* end confdefs.h. */
17342
17343 class Foo { public: explicit Foo(int) {} };
17344
17345 int
17346 main ()
17347 {
17348
17349 return 0;
17350
17351 ;
17352 return 0;
17353 }
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); } &&
17361 { ac_try='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367
17368 cat >conftest.$ac_ext <<_ACEOF
17369 #line $LINENO "configure"
17370 /* confdefs.h. */
17371 _ACEOF
17372 cat confdefs.h >>conftest.$ac_ext
17373 cat >>conftest.$ac_ext <<_ACEOF
17374 /* end confdefs.h. */
17375
17376 class Foo { public: explicit Foo(int) {} };
17377 static void TakeFoo(const Foo& foo) { }
17378
17379 int
17380 main ()
17381 {
17382
17383 TakeFoo(17);
17384 return 0;
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>&5
17393 ac_status=$?
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -s conftest.$ac_objext'
17397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17398 (eval $ac_try) 2>&5
17399 ac_status=$?
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); }; }; then
17402 wx_cv_explicit=no
17403 else
17404 echo "$as_me: failed program was:" >&5
17405 sed 's/^/| /' conftest.$ac_ext >&5
17406
17407 wx_cv_explicit=yes
17408
17409 fi
17410 rm -f conftest.$ac_objext conftest.$ac_ext
17411
17412 else
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.$ac_ext >&5
17415
17416 wx_cv_explicit=no
17417
17418 fi
17419 rm -f conftest.$ac_objext conftest.$ac_ext
17420
17421 ac_ext=c
17422 ac_cpp='$CPP $CPPFLAGS'
17423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17426
17427
17428 fi
17429 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
17430 echo "${ECHO_T}$wx_cv_explicit" >&6
17431
17432 if test "$wx_cv_explicit" = "yes"; then
17433 cat >>confdefs.h <<\_ACEOF
17434 #define HAVE_EXPLICIT 1
17435 _ACEOF
17436
17437 fi
17438
17439
17440 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
17441 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
17442 if test "${ac_cv_cxx_const_cast+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 else
17445
17446
17447 ac_ext=cc
17448 ac_cpp='$CXXCPP $CPPFLAGS'
17449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17452
17453 cat >conftest.$ac_ext <<_ACEOF
17454 #line $LINENO "configure"
17455 /* confdefs.h. */
17456 _ACEOF
17457 cat confdefs.h >>conftest.$ac_ext
17458 cat >>conftest.$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17460
17461 int
17462 main ()
17463 {
17464 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 rm -f conftest.$ac_objext
17470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17471 (eval $ac_compile) 2>&5
17472 ac_status=$?
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); } &&
17475 { ac_try='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17478 ac_status=$?
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 ac_cv_cxx_const_cast=yes
17482 else
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17485
17486 ac_cv_cxx_const_cast=no
17487 fi
17488 rm -f conftest.$ac_objext conftest.$ac_ext
17489 ac_ext=c
17490 ac_cpp='$CPP $CPPFLAGS'
17491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17494
17495
17496 fi
17497 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
17498 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
17499 if test "$ac_cv_cxx_const_cast" = yes; then
17500
17501 cat >>confdefs.h <<\_ACEOF
17502 #define HAVE_CONST_CAST
17503 _ACEOF
17504
17505 fi
17506
17507
17508 if test "$wxUSE_STL" = "yes"; then
17509 ac_ext=cc
17510 ac_cpp='$CXXCPP $CPPFLAGS'
17511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17514
17515
17516 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
17517 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
17518 cat >conftest.$ac_ext <<_ACEOF
17519 #line $LINENO "configure"
17520 /* confdefs.h. */
17521 _ACEOF
17522 cat confdefs.h >>conftest.$ac_ext
17523 cat >>conftest.$ac_ext <<_ACEOF
17524 /* end confdefs.h. */
17525 #include <string>
17526 #include <functional>
17527 #include <algorithm>
17528 #include <vector>
17529 #include <list>
17530 int
17531 main ()
17532 {
17533 std::vector<int> moo;
17534 std::list<int> foo;
17535 std::vector<int>::iterator it =
17536 std::find_if(moo.begin(), moo.end(),
17537 std::bind2nd(std::less<int>(), 3));
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } &&
17548 { ac_try='test -s conftest.$ac_objext'
17549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17550 (eval $ac_try) 2>&5
17551 ac_status=$?
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; }; then
17554 echo "$as_me:$LINENO: result: yes" >&5
17555 echo "${ECHO_T}yes" >&6
17556 else
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17559
17560 echo "$as_me:$LINENO: result: no" >&5
17561 echo "${ECHO_T}no" >&6
17562 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
17563 echo "$as_me: error: Basic STL functionality missing" >&2;}
17564 { (exit 1); exit 1; }; }
17565 fi
17566 rm -f conftest.$ac_objext conftest.$ac_ext
17567
17568 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
17569 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
17570 cat >conftest.$ac_ext <<_ACEOF
17571 #line $LINENO "configure"
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 #include <string>
17578 int
17579 main ()
17580 {
17581 std::wstring foo;
17582 ;
17583 return 0;
17584 }
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try='test -s conftest.$ac_objext'
17593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17594 (eval $ac_try) 2>&5
17595 ac_status=$?
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); }; }; then
17598 echo "$as_me:$LINENO: result: yes" >&5
17599 echo "${ECHO_T}yes" >&6
17600 cat >>confdefs.h <<\_ACEOF
17601 #define HAVE_STD_WSTRING 1
17602 _ACEOF
17603
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17607
17608 echo "$as_me:$LINENO: result: no" >&5
17609 echo "${ECHO_T}no" >&6
17610 fi
17611 rm -f conftest.$ac_objext conftest.$ac_ext
17612
17613 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
17614 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
17615 cat >conftest.$ac_ext <<_ACEOF
17616 #line $LINENO "configure"
17617 /* confdefs.h. */
17618 _ACEOF
17619 cat confdefs.h >>conftest.$ac_ext
17620 cat >>conftest.$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 #include <string>
17623 int
17624 main ()
17625 {
17626 std::string foo, bar;
17627 foo.compare(bar);
17628 foo.compare(1, 1, bar);
17629 foo.compare(1, 1, bar, 1, 1);
17630 foo.compare("");
17631 foo.compare(1, 1, "");
17632 foo.compare(1, 1, "", 2);
17633 ;
17634 return 0;
17635 }
17636 _ACEOF
17637 rm -f conftest.$ac_objext
17638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17639 (eval $ac_compile) 2>&5
17640 ac_status=$?
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } &&
17643 { ac_try='test -s conftest.$ac_objext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17646 ac_status=$?
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 echo "$as_me:$LINENO: result: yes" >&5
17650 echo "${ECHO_T}yes" >&6
17651 cat >>confdefs.h <<\_ACEOF
17652 #define HAVE_STD_STRING_COMPARE 1
17653 _ACEOF
17654
17655 else
17656 echo "$as_me: failed program was:" >&5
17657 sed 's/^/| /' conftest.$ac_ext >&5
17658
17659 echo "$as_me:$LINENO: result: no" >&5
17660 echo "${ECHO_T}no" >&6
17661 fi
17662 rm -f conftest.$ac_objext conftest.$ac_ext
17663
17664 ac_ext=c
17665 ac_cpp='$CPP $CPPFLAGS'
17666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17669
17670 fi
17671
17672
17673 SEARCH_INCLUDE="\
17674 /usr/local/include \
17675 \
17676 /usr/Motif-1.2/include \
17677 /usr/Motif-2.1/include \
17678 \
17679 /usr/include/Motif1.2 \
17680 /opt/xpm/include/X11 \
17681 /opt/GBxpm/include/ \
17682 /opt/GBxpm/X11/include/ \
17683 \
17684 /usr/Motif1.2/include \
17685 /usr/dt/include \
17686 /usr/openwin/include \
17687 \
17688 /usr/include/Xm \
17689 \
17690 /usr/X11R6/include \
17691 /usr/X11R6.4/include \
17692 /usr/X11R5/include \
17693 /usr/X11R4/include \
17694 \
17695 /usr/include/X11R6 \
17696 /usr/include/X11R5 \
17697 /usr/include/X11R4 \
17698 \
17699 /usr/local/X11R6/include \
17700 /usr/local/X11R5/include \
17701 /usr/local/X11R4/include \
17702 \
17703 /usr/local/include/X11R6 \
17704 /usr/local/include/X11R5 \
17705 /usr/local/include/X11R4 \
17706 \
17707 /usr/X11/include \
17708 /usr/include/X11 \
17709 /usr/local/X11/include \
17710 /usr/local/include/X11 \
17711 \
17712 /usr/X386/include \
17713 /usr/x386/include \
17714 /usr/XFree86/include/X11 \
17715 \
17716 X:/XFree86/include \
17717 X:/XFree86/include/X11 \
17718 \
17719 /usr/include/gtk \
17720 /usr/local/include/gtk \
17721 /usr/include/glib \
17722 /usr/local/include/glib \
17723 \
17724 /usr/include/qt \
17725 /usr/local/include/qt \
17726 \
17727 /usr/include/windows \
17728 /usr/include/wine \
17729 /usr/local/include/wine \
17730 \
17731 /usr/unsupported/include \
17732 /usr/athena/include \
17733 /usr/local/x11r5/include \
17734 /usr/lpp/Xamples/include \
17735 \
17736 /usr/openwin/share/include"
17737
17738 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
17739
17740
17741 cat >confcache <<\_ACEOF
17742 # This file is a shell script that caches the results of configure
17743 # tests run on this system so they can be shared between configure
17744 # scripts and configure runs, see configure's option --config-cache.
17745 # It is not useful on other systems. If it contains results you don't
17746 # want to keep, you may remove or edit it.
17747 #
17748 # config.status only pays attention to the cache file if you give it
17749 # the --recheck option to rerun configure.
17750 #
17751 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17752 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17753 # following values.
17754
17755 _ACEOF
17756
17757 # The following way of writing the cache mishandles newlines in values,
17758 # but we know of no workaround that is simple, portable, and efficient.
17759 # So, don't put newlines in cache variables' values.
17760 # Ultrix sh set writes to stderr and can't be redirected directly,
17761 # and sets the high bit in the cache file unless we assign to the vars.
17762 {
17763 (set) 2>&1 |
17764 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17765 *ac_space=\ *)
17766 # `set' does not quote correctly, so add quotes (double-quote
17767 # substitution turns \\\\ into \\, and sed turns \\ into \).
17768 sed -n \
17769 "s/'/'\\\\''/g;
17770 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17771 ;;
17772 *)
17773 # `set' quotes correctly as required by POSIX, so do not add quotes.
17774 sed -n \
17775 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17776 ;;
17777 esac;
17778 } |
17779 sed '
17780 t clear
17781 : clear
17782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17783 t end
17784 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17785 : end' >>confcache
17786 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17787 if test -w $cache_file; then
17788 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17789 cat confcache >$cache_file
17790 else
17791 echo "not updating unwritable cache $cache_file"
17792 fi
17793 fi
17794 rm -f confcache
17795
17796 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
17797 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
17798 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
17799 if test "${wx_cv_lib_glibc21+set}" = set; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17801 else
17802
17803 cat >conftest.$ac_ext <<_ACEOF
17804 #line $LINENO "configure"
17805 /* confdefs.h. */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h. */
17810 #include <features.h>
17811 int
17812 main ()
17813 {
17814
17815 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
17816 #error not glibc2.1
17817 #endif
17818
17819 ;
17820 return 0;
17821 }
17822 _ACEOF
17823 rm -f conftest.$ac_objext
17824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17825 (eval $ac_compile) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); } &&
17829 { ac_try='test -s conftest.$ac_objext'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17832 ac_status=$?
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; }; then
17835
17836 wx_cv_lib_glibc21=yes
17837
17838 else
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17841
17842
17843 wx_cv_lib_glibc21=no
17844
17845
17846 fi
17847 rm -f conftest.$ac_objext conftest.$ac_ext
17848
17849 fi
17850 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
17851 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
17852 if test "$wx_cv_lib_glibc21" = "yes"; then
17853 cat >>confdefs.h <<\_ACEOF
17854 #define wxHAVE_GLIBC2 1
17855 _ACEOF
17856
17857 fi
17858 fi
17859
17860 if test "x$wx_cv_lib_glibc21" = "xyes"; then
17861 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
17862 cat >>confdefs.h <<\_ACEOF
17863 #define _GNU_SOURCE 1
17864 _ACEOF
17865
17866 fi
17867 fi
17868
17869
17870
17871 REGEX_INCLUDE=
17872 if test "$wxUSE_REGEX" != "no"; then
17873 cat >>confdefs.h <<\_ACEOF
17874 #define wxUSE_REGEX 1
17875 _ACEOF
17876
17877
17878 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
17879 if test "${ac_cv_header_regex_h+set}" = set; then
17880 echo "$as_me:$LINENO: checking for regex.h" >&5
17881 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17882 if test "${ac_cv_header_regex_h+set}" = set; then
17883 echo $ECHO_N "(cached) $ECHO_C" >&6
17884 fi
17885 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
17886 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
17887 else
17888 # Is the header compilable?
17889 echo "$as_me:$LINENO: checking regex.h usability" >&5
17890 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
17891 cat >conftest.$ac_ext <<_ACEOF
17892 #line $LINENO "configure"
17893 /* confdefs.h. */
17894 _ACEOF
17895 cat confdefs.h >>conftest.$ac_ext
17896 cat >>conftest.$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 $ac_includes_default
17899 #include <regex.h>
17900 _ACEOF
17901 rm -f conftest.$ac_objext
17902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17903 (eval $ac_compile) 2>&5
17904 ac_status=$?
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try='test -s conftest.$ac_objext'
17908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17909 (eval $ac_try) 2>&5
17910 ac_status=$?
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); }; }; then
17913 ac_header_compiler=yes
17914 else
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.$ac_ext >&5
17917
17918 ac_header_compiler=no
17919 fi
17920 rm -f conftest.$ac_objext conftest.$ac_ext
17921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17922 echo "${ECHO_T}$ac_header_compiler" >&6
17923
17924 # Is the header present?
17925 echo "$as_me:$LINENO: checking regex.h presence" >&5
17926 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
17927 cat >conftest.$ac_ext <<_ACEOF
17928 #line $LINENO "configure"
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 #include <regex.h>
17935 _ACEOF
17936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17938 ac_status=$?
17939 grep -v '^ *+' conftest.er1 >conftest.err
17940 rm -f conftest.er1
17941 cat conftest.err >&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } >/dev/null; then
17944 if test -s conftest.err; then
17945 ac_cpp_err=$ac_c_preproc_warn_flag
17946 else
17947 ac_cpp_err=
17948 fi
17949 else
17950 ac_cpp_err=yes
17951 fi
17952 if test -z "$ac_cpp_err"; then
17953 ac_header_preproc=yes
17954 else
17955 echo "$as_me: failed program was:" >&5
17956 sed 's/^/| /' conftest.$ac_ext >&5
17957
17958 ac_header_preproc=no
17959 fi
17960 rm -f conftest.err conftest.$ac_ext
17961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17962 echo "${ECHO_T}$ac_header_preproc" >&6
17963
17964 # So? What about this header?
17965 case $ac_header_compiler:$ac_header_preproc in
17966 yes:no )
17967 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
17968 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17969 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17970 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17971 (
17972 cat <<\_ASBOX
17973 ## ------------------------------------ ##
17974 ## Report this to bug-autoconf@gnu.org. ##
17975 ## ------------------------------------ ##
17976 _ASBOX
17977 ) |
17978 sed "s/^/$as_me: WARNING: /" >&2
17979 ;;
17980 no:yes )
17981 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
17982 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
17983 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
17984 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
17985 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
17986 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
17987 (
17988 cat <<\_ASBOX
17989 ## ------------------------------------ ##
17990 ## Report this to bug-autoconf@gnu.org. ##
17991 ## ------------------------------------ ##
17992 _ASBOX
17993 ) |
17994 sed "s/^/$as_me: WARNING: /" >&2
17995 ;;
17996 esac
17997 echo "$as_me:$LINENO: checking for regex.h" >&5
17998 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
17999 if test "${ac_cv_header_regex_h+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18002 ac_cv_header_regex_h=$ac_header_preproc
18003 fi
18004 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
18005 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
18006
18007 fi
18008 if test $ac_cv_header_regex_h = yes; then
18009
18010 for ac_func in regcomp
18011 do
18012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18013 echo "$as_me:$LINENO: checking for $ac_func" >&5
18014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18015 if eval "test \"\${$as_ac_var+set}\" = set"; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18017 else
18018 cat >conftest.$ac_ext <<_ACEOF
18019 #line $LINENO "configure"
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 /* System header to define __stub macros and hopefully few prototypes,
18026 which can conflict with char $ac_func (); below.
18027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18028 <limits.h> exists even on freestanding compilers. */
18029 #ifdef __STDC__
18030 # include <limits.h>
18031 #else
18032 # include <assert.h>
18033 #endif
18034 /* Override any gcc2 internal prototype to avoid an error. */
18035 #ifdef __cplusplus
18036 extern "C"
18037 {
18038 #endif
18039 /* We use char because int might match the return type of a gcc2
18040 builtin and then its argument prototype would still apply. */
18041 char $ac_func ();
18042 /* The GNU C library defines this for functions which it implements
18043 to always fail with ENOSYS. Some functions are actually named
18044 something starting with __ and the normal name is an alias. */
18045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18046 choke me
18047 #else
18048 char (*f) () = $ac_func;
18049 #endif
18050 #ifdef __cplusplus
18051 }
18052 #endif
18053
18054 int
18055 main ()
18056 {
18057 return f != $ac_func;
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 rm -f conftest.$ac_objext conftest$ac_exeext
18063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18064 (eval $ac_link) 2>&5
18065 ac_status=$?
18066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18067 (exit $ac_status); } &&
18068 { ac_try='test -s conftest$ac_exeext'
18069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18070 (eval $ac_try) 2>&5
18071 ac_status=$?
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; }; then
18074 eval "$as_ac_var=yes"
18075 else
18076 echo "$as_me: failed program was:" >&5
18077 sed 's/^/| /' conftest.$ac_ext >&5
18078
18079 eval "$as_ac_var=no"
18080 fi
18081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18082 fi
18083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18085 if test `eval echo '${'$as_ac_var'}'` = yes; then
18086 cat >>confdefs.h <<_ACEOF
18087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18088 _ACEOF
18089
18090 fi
18091 done
18092
18093 fi
18094
18095
18096
18097 if test "x$ac_cv_func_regcomp" != "xyes"; then
18098 if test "$wxUSE_REGEX" = "sys" ; then
18099 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
18100 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
18101 { (exit 1); exit 1; }; }
18102 else
18103 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
18104 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
18105 wxUSE_REGEX=builtin
18106 fi
18107 else
18108 wxUSE_REGEX=sys
18109 fi
18110 fi
18111
18112 if test "$wxUSE_REGEX" = "builtin" ; then
18113 REGEX_INCLUDE="-I\${top_srcdir}/src/regex"
18114 fi
18115 fi
18116
18117
18118 ZLIB_INCLUDE=
18119 ZLIB_LINK=
18120 if test "$wxUSE_ZLIB" != "no" ; then
18121 cat >>confdefs.h <<\_ACEOF
18122 #define wxUSE_ZLIB 1
18123 _ACEOF
18124
18125
18126 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
18127 if test "$USE_DARWIN" = 1; then
18128 system_zlib_h_ok="yes"
18129 else
18130 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
18131 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
18132 if test "${ac_cv_header_zlib_h+set}" = set; then
18133 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 else
18135 if test "$cross_compiling" = yes; then
18136 unset ac_cv_header_zlib_h
18137
18138 else
18139 cat >conftest.$ac_ext <<_ACEOF
18140 #line $LINENO "configure"
18141 /* confdefs.h. */
18142 _ACEOF
18143 cat confdefs.h >>conftest.$ac_ext
18144 cat >>conftest.$ac_ext <<_ACEOF
18145 /* end confdefs.h. */
18146
18147 #include <zlib.h>
18148 #include <stdio.h>
18149
18150 int main()
18151 {
18152 FILE *f=fopen("conftestval", "w");
18153 if (!f) exit(1);
18154 fprintf(f, "%s",
18155 ZLIB_VERSION[0] == '1' &&
18156 (ZLIB_VERSION[2] > '1' ||
18157 (ZLIB_VERSION[2] == '1' &&
18158 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
18159 exit(0);
18160 }
18161
18162 _ACEOF
18163 rm -f conftest$ac_exeext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18165 (eval $ac_link) 2>&5
18166 ac_status=$?
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_cv_header_zlib_h=`cat conftestval`
18175 else
18176 echo "$as_me: program exited with status $ac_status" >&5
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18179
18180 ( exit $ac_status )
18181 ac_cv_header_zlib_h=no
18182 fi
18183 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18184 fi
18185
18186 fi
18187 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18188 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18189 if test "${ac_cv_header_zlib_h+set}" = set; then
18190 echo "$as_me:$LINENO: checking for zlib.h" >&5
18191 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18192 if test "${ac_cv_header_zlib_h+set}" = set; then
18193 echo $ECHO_N "(cached) $ECHO_C" >&6
18194 fi
18195 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18196 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18197 else
18198 # Is the header compilable?
18199 echo "$as_me:$LINENO: checking zlib.h usability" >&5
18200 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
18201 cat >conftest.$ac_ext <<_ACEOF
18202 #line $LINENO "configure"
18203 /* confdefs.h. */
18204 _ACEOF
18205 cat confdefs.h >>conftest.$ac_ext
18206 cat >>conftest.$ac_ext <<_ACEOF
18207 /* end confdefs.h. */
18208 $ac_includes_default
18209 #include <zlib.h>
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18213 (eval $ac_compile) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); } &&
18217 { ac_try='test -s conftest.$ac_objext'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; }; then
18223 ac_header_compiler=yes
18224 else
18225 echo "$as_me: failed program was:" >&5
18226 sed 's/^/| /' conftest.$ac_ext >&5
18227
18228 ac_header_compiler=no
18229 fi
18230 rm -f conftest.$ac_objext conftest.$ac_ext
18231 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18232 echo "${ECHO_T}$ac_header_compiler" >&6
18233
18234 # Is the header present?
18235 echo "$as_me:$LINENO: checking zlib.h presence" >&5
18236 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
18237 cat >conftest.$ac_ext <<_ACEOF
18238 #line $LINENO "configure"
18239 /* confdefs.h. */
18240 _ACEOF
18241 cat confdefs.h >>conftest.$ac_ext
18242 cat >>conftest.$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #include <zlib.h>
18245 _ACEOF
18246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18248 ac_status=$?
18249 grep -v '^ *+' conftest.er1 >conftest.err
18250 rm -f conftest.er1
18251 cat conftest.err >&5
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); } >/dev/null; then
18254 if test -s conftest.err; then
18255 ac_cpp_err=$ac_c_preproc_warn_flag
18256 else
18257 ac_cpp_err=
18258 fi
18259 else
18260 ac_cpp_err=yes
18261 fi
18262 if test -z "$ac_cpp_err"; then
18263 ac_header_preproc=yes
18264 else
18265 echo "$as_me: failed program was:" >&5
18266 sed 's/^/| /' conftest.$ac_ext >&5
18267
18268 ac_header_preproc=no
18269 fi
18270 rm -f conftest.err conftest.$ac_ext
18271 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18272 echo "${ECHO_T}$ac_header_preproc" >&6
18273
18274 # So? What about this header?
18275 case $ac_header_compiler:$ac_header_preproc in
18276 yes:no )
18277 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
18278 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18279 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18280 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18281 (
18282 cat <<\_ASBOX
18283 ## ------------------------------------ ##
18284 ## Report this to bug-autoconf@gnu.org. ##
18285 ## ------------------------------------ ##
18286 _ASBOX
18287 ) |
18288 sed "s/^/$as_me: WARNING: /" >&2
18289 ;;
18290 no:yes )
18291 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
18292 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
18293 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
18294 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
18295 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
18296 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
18297 (
18298 cat <<\_ASBOX
18299 ## ------------------------------------ ##
18300 ## Report this to bug-autoconf@gnu.org. ##
18301 ## ------------------------------------ ##
18302 _ASBOX
18303 ) |
18304 sed "s/^/$as_me: WARNING: /" >&2
18305 ;;
18306 esac
18307 echo "$as_me:$LINENO: checking for zlib.h" >&5
18308 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
18309 if test "${ac_cv_header_zlib_h+set}" = set; then
18310 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 else
18312 ac_cv_header_zlib_h=$ac_header_preproc
18313 fi
18314 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
18315 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
18316
18317 fi
18318
18319
18320
18321 system_zlib_h_ok=$ac_cv_header_zlib_h
18322 fi
18323
18324 if test "$system_zlib_h_ok" = "yes"; then
18325 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
18326 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
18327 if test "${ac_cv_lib_z_deflate+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 else
18330 ac_check_lib_save_LIBS=$LIBS
18331 LIBS="-lz $LIBS"
18332 cat >conftest.$ac_ext <<_ACEOF
18333 #line $LINENO "configure"
18334 /* confdefs.h. */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h. */
18339
18340 /* Override any gcc2 internal prototype to avoid an error. */
18341 #ifdef __cplusplus
18342 extern "C"
18343 #endif
18344 /* We use char because int might match the return type of a gcc2
18345 builtin and then its argument prototype would still apply. */
18346 char deflate ();
18347 int
18348 main ()
18349 {
18350 deflate ();
18351 ;
18352 return 0;
18353 }
18354 _ACEOF
18355 rm -f conftest.$ac_objext conftest$ac_exeext
18356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18357 (eval $ac_link) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try='test -s conftest$ac_exeext'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; }; then
18367 ac_cv_lib_z_deflate=yes
18368 else
18369 echo "$as_me: failed program was:" >&5
18370 sed 's/^/| /' conftest.$ac_ext >&5
18371
18372 ac_cv_lib_z_deflate=no
18373 fi
18374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18375 LIBS=$ac_check_lib_save_LIBS
18376 fi
18377 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
18378 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
18379 if test $ac_cv_lib_z_deflate = yes; then
18380 ZLIB_LINK=" -lz"
18381 fi
18382
18383 fi
18384
18385 if test "x$ZLIB_LINK" = "x" ; then
18386 if test "$wxUSE_ZLIB" = "sys" ; then
18387 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
18388 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
18389 { (exit 1); exit 1; }; }
18390 else
18391 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
18392 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
18393 wxUSE_ZLIB=builtin
18394 fi
18395 else
18396 wxUSE_ZLIB=sys
18397 fi
18398 fi
18399
18400 if test "$wxUSE_ZLIB" = "builtin" ; then
18401 ZLIB_INCLUDE="-I\${top_srcdir}/src/zlib"
18402 fi
18403 fi
18404
18405
18406 PNG_INCLUDE=
18407 PNG_LINK=
18408 if test "$wxUSE_LIBPNG" != "no" ; then
18409 cat >>confdefs.h <<\_ACEOF
18410 #define wxUSE_LIBPNG 1
18411 _ACEOF
18412
18413
18414 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
18415 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
18416 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
18417 wxUSE_LIBPNG=sys
18418 fi
18419
18420 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
18421 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
18422 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
18423 wxUSE_LIBPNG=builtin
18424 fi
18425
18426 if test "$wxUSE_MGL" != 1 ; then
18427 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
18428 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
18429 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
18430 if test "${ac_cv_header_png_h+set}" = set; then
18431 echo $ECHO_N "(cached) $ECHO_C" >&6
18432 else
18433 if test "$cross_compiling" = yes; then
18434 unset ac_cv_header_png_h
18435
18436 else
18437 cat >conftest.$ac_ext <<_ACEOF
18438 #line $LINENO "configure"
18439 /* confdefs.h. */
18440 _ACEOF
18441 cat confdefs.h >>conftest.$ac_ext
18442 cat >>conftest.$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444
18445 #include <png.h>
18446 #include <stdio.h>
18447
18448 int main()
18449 {
18450 FILE *f=fopen("conftestval", "w");
18451 if (!f) exit(1);
18452 fprintf(f, "%s",
18453 PNG_LIBPNG_VER > 90 ? "yes" : "no");
18454 exit(0);
18455 }
18456
18457 _ACEOF
18458 rm -f conftest$ac_exeext
18459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18460 (eval $ac_link) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_cv_header_png_h=`cat conftestval`
18470 else
18471 echo "$as_me: program exited with status $ac_status" >&5
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 ( exit $ac_status )
18476 ac_cv_header_png_h=no
18477 fi
18478 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18479 fi
18480
18481 fi
18482 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18483 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18484 if test "${ac_cv_header_png_h+set}" = set; then
18485 echo "$as_me:$LINENO: checking for png.h" >&5
18486 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18487 if test "${ac_cv_header_png_h+set}" = set; then
18488 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 fi
18490 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18491 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18492 else
18493 # Is the header compilable?
18494 echo "$as_me:$LINENO: checking png.h usability" >&5
18495 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
18496 cat >conftest.$ac_ext <<_ACEOF
18497 #line $LINENO "configure"
18498 /* confdefs.h. */
18499 _ACEOF
18500 cat confdefs.h >>conftest.$ac_ext
18501 cat >>conftest.$ac_ext <<_ACEOF
18502 /* end confdefs.h. */
18503 $ac_includes_default
18504 #include <png.h>
18505 _ACEOF
18506 rm -f conftest.$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); } &&
18512 { ac_try='test -s conftest.$ac_objext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 ac_header_compiler=yes
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 ac_header_compiler=no
18524 fi
18525 rm -f conftest.$ac_objext conftest.$ac_ext
18526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18527 echo "${ECHO_T}$ac_header_compiler" >&6
18528
18529 # Is the header present?
18530 echo "$as_me:$LINENO: checking png.h presence" >&5
18531 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
18532 cat >conftest.$ac_ext <<_ACEOF
18533 #line $LINENO "configure"
18534 /* confdefs.h. */
18535 _ACEOF
18536 cat confdefs.h >>conftest.$ac_ext
18537 cat >>conftest.$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18539 #include <png.h>
18540 _ACEOF
18541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18543 ac_status=$?
18544 grep -v '^ *+' conftest.er1 >conftest.err
18545 rm -f conftest.er1
18546 cat conftest.err >&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } >/dev/null; then
18549 if test -s conftest.err; then
18550 ac_cpp_err=$ac_c_preproc_warn_flag
18551 else
18552 ac_cpp_err=
18553 fi
18554 else
18555 ac_cpp_err=yes
18556 fi
18557 if test -z "$ac_cpp_err"; then
18558 ac_header_preproc=yes
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18562
18563 ac_header_preproc=no
18564 fi
18565 rm -f conftest.err conftest.$ac_ext
18566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18567 echo "${ECHO_T}$ac_header_preproc" >&6
18568
18569 # So? What about this header?
18570 case $ac_header_compiler:$ac_header_preproc in
18571 yes:no )
18572 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
18573 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18574 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18575 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18576 (
18577 cat <<\_ASBOX
18578 ## ------------------------------------ ##
18579 ## Report this to bug-autoconf@gnu.org. ##
18580 ## ------------------------------------ ##
18581 _ASBOX
18582 ) |
18583 sed "s/^/$as_me: WARNING: /" >&2
18584 ;;
18585 no:yes )
18586 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
18587 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
18588 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
18589 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
18590 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
18591 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
18592 (
18593 cat <<\_ASBOX
18594 ## ------------------------------------ ##
18595 ## Report this to bug-autoconf@gnu.org. ##
18596 ## ------------------------------------ ##
18597 _ASBOX
18598 ) |
18599 sed "s/^/$as_me: WARNING: /" >&2
18600 ;;
18601 esac
18602 echo "$as_me:$LINENO: checking for png.h" >&5
18603 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
18604 if test "${ac_cv_header_png_h+set}" = set; then
18605 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 else
18607 ac_cv_header_png_h=$ac_header_preproc
18608 fi
18609 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
18610 echo "${ECHO_T}$ac_cv_header_png_h" >&6
18611
18612 fi
18613
18614
18615
18616 if test "$ac_cv_header_png_h" = "yes"; then
18617 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
18618 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
18619 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
18620 echo $ECHO_N "(cached) $ECHO_C" >&6
18621 else
18622 ac_check_lib_save_LIBS=$LIBS
18623 LIBS="-lpng -lz -lm $LIBS"
18624 cat >conftest.$ac_ext <<_ACEOF
18625 #line $LINENO "configure"
18626 /* confdefs.h. */
18627 _ACEOF
18628 cat confdefs.h >>conftest.$ac_ext
18629 cat >>conftest.$ac_ext <<_ACEOF
18630 /* end confdefs.h. */
18631
18632 /* Override any gcc2 internal prototype to avoid an error. */
18633 #ifdef __cplusplus
18634 extern "C"
18635 #endif
18636 /* We use char because int might match the return type of a gcc2
18637 builtin and then its argument prototype would still apply. */
18638 char png_check_sig ();
18639 int
18640 main ()
18641 {
18642 png_check_sig ();
18643 ;
18644 return 0;
18645 }
18646 _ACEOF
18647 rm -f conftest.$ac_objext conftest$ac_exeext
18648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18649 (eval $ac_link) 2>&5
18650 ac_status=$?
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try='test -s conftest$ac_exeext'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; }; then
18659 ac_cv_lib_png_png_check_sig=yes
18660 else
18661 echo "$as_me: failed program was:" >&5
18662 sed 's/^/| /' conftest.$ac_ext >&5
18663
18664 ac_cv_lib_png_png_check_sig=no
18665 fi
18666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18667 LIBS=$ac_check_lib_save_LIBS
18668 fi
18669 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
18670 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
18671 if test $ac_cv_lib_png_png_check_sig = yes; then
18672 PNG_LINK=" -lpng"
18673 fi
18674
18675 fi
18676
18677 if test "x$PNG_LINK" = "x" ; then
18678 if test "$wxUSE_LIBPNG" = "sys" ; then
18679 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
18680 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
18681 { (exit 1); exit 1; }; }
18682 else
18683 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
18684 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
18685 wxUSE_LIBPNG=builtin
18686 fi
18687 else
18688 wxUSE_LIBPNG=sys
18689 fi
18690 fi
18691 fi
18692
18693 if test "$wxUSE_LIBPNG" = "builtin" ; then
18694 PNG_INCLUDE="-I\${top_srcdir}/src/png"
18695 fi
18696
18697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
18698 fi
18699
18700
18701 JPEG_INCLUDE=
18702 JPEG_LINK=
18703 if test "$wxUSE_LIBJPEG" != "no" ; then
18704 cat >>confdefs.h <<\_ACEOF
18705 #define wxUSE_LIBJPEG 1
18706 _ACEOF
18707
18708
18709 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
18710 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
18711 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
18712 wxUSE_LIBJPEG=sys
18713 fi
18714
18715 if test "$wxUSE_MGL" != 1 ; then
18716 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
18717 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
18718 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
18719 if test "${ac_cv_header_jpeglib_h+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18721 else
18722 cat >conftest.$ac_ext <<_ACEOF
18723 #line $LINENO "configure"
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729
18730 #undef HAVE_STDLIB_H
18731 #include <stdio.h>
18732 #include <jpeglib.h>
18733
18734 int
18735 main ()
18736 {
18737
18738
18739 ;
18740 return 0;
18741 }
18742 _ACEOF
18743 rm -f conftest.$ac_objext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18745 (eval $ac_compile) 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -s conftest.$ac_objext'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18752 ac_status=$?
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; }; then
18755 ac_cv_header_jpeglib_h=yes
18756 else
18757 echo "$as_me: failed program was:" >&5
18758 sed 's/^/| /' conftest.$ac_ext >&5
18759
18760 ac_cv_header_jpeglib_h=no
18761
18762 fi
18763 rm -f conftest.$ac_objext conftest.$ac_ext
18764
18765 fi
18766
18767 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
18768 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
18769
18770 if test "$ac_cv_header_jpeglib_h" = "yes"; then
18771 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
18772 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
18773 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
18774 echo $ECHO_N "(cached) $ECHO_C" >&6
18775 else
18776 ac_check_lib_save_LIBS=$LIBS
18777 LIBS="-ljpeg $LIBS"
18778 cat >conftest.$ac_ext <<_ACEOF
18779 #line $LINENO "configure"
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785
18786 /* Override any gcc2 internal prototype to avoid an error. */
18787 #ifdef __cplusplus
18788 extern "C"
18789 #endif
18790 /* We use char because int might match the return type of a gcc2
18791 builtin and then its argument prototype would still apply. */
18792 char jpeg_read_header ();
18793 int
18794 main ()
18795 {
18796 jpeg_read_header ();
18797 ;
18798 return 0;
18799 }
18800 _ACEOF
18801 rm -f conftest.$ac_objext conftest$ac_exeext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18803 (eval $ac_link) 2>&5
18804 ac_status=$?
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); } &&
18807 { ac_try='test -s conftest$ac_exeext'
18808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 (eval $ac_try) 2>&5
18810 ac_status=$?
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); }; }; then
18813 ac_cv_lib_jpeg_jpeg_read_header=yes
18814 else
18815 echo "$as_me: failed program was:" >&5
18816 sed 's/^/| /' conftest.$ac_ext >&5
18817
18818 ac_cv_lib_jpeg_jpeg_read_header=no
18819 fi
18820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18821 LIBS=$ac_check_lib_save_LIBS
18822 fi
18823 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
18824 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
18825 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
18826 JPEG_LINK=" -ljpeg"
18827 fi
18828
18829 fi
18830
18831 if test "x$JPEG_LINK" = "x" ; then
18832 if test "$wxUSE_LIBJPEG" = "sys" ; then
18833 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
18834 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
18835 { (exit 1); exit 1; }; }
18836 else
18837 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
18838 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
18839 wxUSE_LIBJPEG=builtin
18840 fi
18841 else
18842 wxUSE_LIBJPEG=sys
18843 fi
18844 fi
18845 fi
18846
18847 if test "$wxUSE_LIBJPEG" = "builtin" ; then
18848 JPEG_INCLUDE="-I\${top_srcdir}/src/jpeg"
18849 fi
18850 fi
18851
18852
18853 TIFF_INCLUDE=
18854 TIFF_LINK=
18855 TIFF_PREREQ_LINKS=-lm
18856 if test "$wxUSE_LIBTIFF" != "no" ; then
18857 cat >>confdefs.h <<\_ACEOF
18858 #define wxUSE_LIBTIFF 1
18859 _ACEOF
18860
18861
18862 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
18863 if test "$wxUSE_LIBJPEG" = "sys"; then
18864 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
18865 fi
18866 if test "$wxUSE_ZLIB" = "sys"; then
18867 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
18868 fi
18869 if test "${ac_cv_header_tiffio_h+set}" = set; then
18870 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18871 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18872 if test "${ac_cv_header_tiffio_h+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 fi
18875 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18876 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18877 else
18878 # Is the header compilable?
18879 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
18880 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
18881 cat >conftest.$ac_ext <<_ACEOF
18882 #line $LINENO "configure"
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18889 #include <tiffio.h>
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>&5
18894 ac_status=$?
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); } &&
18897 { ac_try='test -s conftest.$ac_objext'
18898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18899 (eval $ac_try) 2>&5
18900 ac_status=$?
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); }; }; then
18903 ac_header_compiler=yes
18904 else
18905 echo "$as_me: failed program was:" >&5
18906 sed 's/^/| /' conftest.$ac_ext >&5
18907
18908 ac_header_compiler=no
18909 fi
18910 rm -f conftest.$ac_objext conftest.$ac_ext
18911 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18912 echo "${ECHO_T}$ac_header_compiler" >&6
18913
18914 # Is the header present?
18915 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
18916 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
18917 cat >conftest.$ac_ext <<_ACEOF
18918 #line $LINENO "configure"
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <tiffio.h>
18925 _ACEOF
18926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } >/dev/null; then
18934 if test -s conftest.err; then
18935 ac_cpp_err=$ac_c_preproc_warn_flag
18936 else
18937 ac_cpp_err=
18938 fi
18939 else
18940 ac_cpp_err=yes
18941 fi
18942 if test -z "$ac_cpp_err"; then
18943 ac_header_preproc=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18947
18948 ac_header_preproc=no
18949 fi
18950 rm -f conftest.err conftest.$ac_ext
18951 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18952 echo "${ECHO_T}$ac_header_preproc" >&6
18953
18954 # So? What about this header?
18955 case $ac_header_compiler:$ac_header_preproc in
18956 yes:no )
18957 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
18958 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18959 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18960 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18961 (
18962 cat <<\_ASBOX
18963 ## ------------------------------------ ##
18964 ## Report this to bug-autoconf@gnu.org. ##
18965 ## ------------------------------------ ##
18966 _ASBOX
18967 ) |
18968 sed "s/^/$as_me: WARNING: /" >&2
18969 ;;
18970 no:yes )
18971 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
18972 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
18973 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
18974 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
18975 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
18976 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
18977 (
18978 cat <<\_ASBOX
18979 ## ------------------------------------ ##
18980 ## Report this to bug-autoconf@gnu.org. ##
18981 ## ------------------------------------ ##
18982 _ASBOX
18983 ) |
18984 sed "s/^/$as_me: WARNING: /" >&2
18985 ;;
18986 esac
18987 echo "$as_me:$LINENO: checking for tiffio.h" >&5
18988 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
18989 if test "${ac_cv_header_tiffio_h+set}" = set; then
18990 echo $ECHO_N "(cached) $ECHO_C" >&6
18991 else
18992 ac_cv_header_tiffio_h=$ac_header_preproc
18993 fi
18994 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
18995 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
18996
18997 fi
18998 if test $ac_cv_header_tiffio_h = yes; then
18999
19000 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
19001 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
19002 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else
19005 ac_check_lib_save_LIBS=$LIBS
19006 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
19007 cat >conftest.$ac_ext <<_ACEOF
19008 #line $LINENO "configure"
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014
19015 /* Override any gcc2 internal prototype to avoid an error. */
19016 #ifdef __cplusplus
19017 extern "C"
19018 #endif
19019 /* We use char because int might match the return type of a gcc2
19020 builtin and then its argument prototype would still apply. */
19021 char TIFFError ();
19022 int
19023 main ()
19024 {
19025 TIFFError ();
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext conftest$ac_exeext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19032 (eval $ac_link) 2>&5
19033 ac_status=$?
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); } &&
19036 { ac_try='test -s conftest$ac_exeext'
19037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19038 (eval $ac_try) 2>&5
19039 ac_status=$?
19040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19041 (exit $ac_status); }; }; then
19042 ac_cv_lib_tiff_TIFFError=yes
19043 else
19044 echo "$as_me: failed program was:" >&5
19045 sed 's/^/| /' conftest.$ac_ext >&5
19046
19047 ac_cv_lib_tiff_TIFFError=no
19048 fi
19049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19050 LIBS=$ac_check_lib_save_LIBS
19051 fi
19052 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
19053 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
19054 if test $ac_cv_lib_tiff_TIFFError = yes; then
19055 TIFF_LINK=" -ltiff"
19056 fi
19057
19058
19059
19060 fi
19061
19062
19063
19064 if test "x$TIFF_LINK" = "x" ; then
19065 if test "$wxUSE_LIBTIFF" = "sys" ; then
19066 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
19067 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
19068 { (exit 1); exit 1; }; }
19069 else
19070 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
19071 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
19072 wxUSE_LIBTIFF=builtin
19073 fi
19074 else
19075 wxUSE_LIBTIFF=sys
19076 fi
19077 fi
19078
19079 if test "$wxUSE_LIBTIFF" = "builtin" ; then
19080 TIFF_INCLUDE="-I\${top_srcdir}/src/tiff"
19081 fi
19082 fi
19083
19084
19085 if test "$wxUSE_EXPAT" != "no"; then
19086 wxUSE_XML=yes
19087 cat >>confdefs.h <<\_ACEOF
19088 #define wxUSE_EXPAT 1
19089 _ACEOF
19090
19091 cat >>confdefs.h <<\_ACEOF
19092 #define wxUSE_XML 1
19093 _ACEOF
19094
19095
19096 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
19097 if test "${ac_cv_header_expat_h+set}" = set; then
19098 echo "$as_me:$LINENO: checking for expat.h" >&5
19099 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19100 if test "${ac_cv_header_expat_h+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19102 fi
19103 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19104 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19105 else
19106 # Is the header compilable?
19107 echo "$as_me:$LINENO: checking expat.h usability" >&5
19108 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
19109 cat >conftest.$ac_ext <<_ACEOF
19110 #line $LINENO "configure"
19111 /* confdefs.h. */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 $ac_includes_default
19117 #include <expat.h>
19118 _ACEOF
19119 rm -f conftest.$ac_objext
19120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19121 (eval $ac_compile) 2>&5
19122 ac_status=$?
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); } &&
19125 { ac_try='test -s conftest.$ac_objext'
19126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19127 (eval $ac_try) 2>&5
19128 ac_status=$?
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; }; then
19131 ac_header_compiler=yes
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19135
19136 ac_header_compiler=no
19137 fi
19138 rm -f conftest.$ac_objext conftest.$ac_ext
19139 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19140 echo "${ECHO_T}$ac_header_compiler" >&6
19141
19142 # Is the header present?
19143 echo "$as_me:$LINENO: checking expat.h presence" >&5
19144 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
19145 cat >conftest.$ac_ext <<_ACEOF
19146 #line $LINENO "configure"
19147 /* confdefs.h. */
19148 _ACEOF
19149 cat confdefs.h >>conftest.$ac_ext
19150 cat >>conftest.$ac_ext <<_ACEOF
19151 /* end confdefs.h. */
19152 #include <expat.h>
19153 _ACEOF
19154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19155 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19156 ac_status=$?
19157 grep -v '^ *+' conftest.er1 >conftest.err
19158 rm -f conftest.er1
19159 cat conftest.err >&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } >/dev/null; then
19162 if test -s conftest.err; then
19163 ac_cpp_err=$ac_c_preproc_warn_flag
19164 else
19165 ac_cpp_err=
19166 fi
19167 else
19168 ac_cpp_err=yes
19169 fi
19170 if test -z "$ac_cpp_err"; then
19171 ac_header_preproc=yes
19172 else
19173 echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19175
19176 ac_header_preproc=no
19177 fi
19178 rm -f conftest.err conftest.$ac_ext
19179 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19180 echo "${ECHO_T}$ac_header_preproc" >&6
19181
19182 # So? What about this header?
19183 case $ac_header_compiler:$ac_header_preproc in
19184 yes:no )
19185 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
19186 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19187 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19188 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19189 (
19190 cat <<\_ASBOX
19191 ## ------------------------------------ ##
19192 ## Report this to bug-autoconf@gnu.org. ##
19193 ## ------------------------------------ ##
19194 _ASBOX
19195 ) |
19196 sed "s/^/$as_me: WARNING: /" >&2
19197 ;;
19198 no:yes )
19199 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
19200 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
19201 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
19202 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
19203 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
19204 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
19205 (
19206 cat <<\_ASBOX
19207 ## ------------------------------------ ##
19208 ## Report this to bug-autoconf@gnu.org. ##
19209 ## ------------------------------------ ##
19210 _ASBOX
19211 ) |
19212 sed "s/^/$as_me: WARNING: /" >&2
19213 ;;
19214 esac
19215 echo "$as_me:$LINENO: checking for expat.h" >&5
19216 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
19217 if test "${ac_cv_header_expat_h+set}" = set; then
19218 echo $ECHO_N "(cached) $ECHO_C" >&6
19219 else
19220 ac_cv_header_expat_h=$ac_header_preproc
19221 fi
19222 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
19223 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
19224
19225 fi
19226 if test $ac_cv_header_expat_h = yes; then
19227 found_expat_h=1
19228 fi
19229
19230
19231 if test "x$found_expat_h" = "x1"; then
19232 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
19233 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
19234 if test "${wx_cv_expat_is_not_broken+set}" = set; then
19235 echo $ECHO_N "(cached) $ECHO_C" >&6
19236 else
19237
19238
19239
19240 ac_ext=cc
19241 ac_cpp='$CXXCPP $CPPFLAGS'
19242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19245
19246 cat >conftest.$ac_ext <<_ACEOF
19247 #line $LINENO "configure"
19248 /* confdefs.h. */
19249 _ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19253 #include <expat.h>
19254 int
19255 main ()
19256 {
19257
19258 ;
19259 return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>&5
19265 ac_status=$?
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try='test -s conftest.$ac_objext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19271 ac_status=$?
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 wx_cv_expat_is_not_broken=yes
19275 else
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.$ac_ext >&5
19278
19279 wx_cv_expat_is_not_broken=no
19280
19281 fi
19282 rm -f conftest.$ac_objext conftest.$ac_ext
19283 ac_ext=c
19284 ac_cpp='$CPP $CPPFLAGS'
19285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19288
19289
19290
19291 fi
19292 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
19293 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
19294 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
19295 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
19296 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
19297 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
19298 echo $ECHO_N "(cached) $ECHO_C" >&6
19299 else
19300 ac_check_lib_save_LIBS=$LIBS
19301 LIBS="-lexpat $LIBS"
19302 cat >conftest.$ac_ext <<_ACEOF
19303 #line $LINENO "configure"
19304 /* confdefs.h. */
19305 _ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309
19310 /* Override any gcc2 internal prototype to avoid an error. */
19311 #ifdef __cplusplus
19312 extern "C"
19313 #endif
19314 /* We use char because int might match the return type of a gcc2
19315 builtin and then its argument prototype would still apply. */
19316 char XML_ParserCreate ();
19317 int
19318 main ()
19319 {
19320 XML_ParserCreate ();
19321 ;
19322 return 0;
19323 }
19324 _ACEOF
19325 rm -f conftest.$ac_objext conftest$ac_exeext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19327 (eval $ac_link) 2>&5
19328 ac_status=$?
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); } &&
19331 { ac_try='test -s conftest$ac_exeext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_cv_lib_expat_XML_ParserCreate=yes
19338 else
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.$ac_ext >&5
19341
19342 ac_cv_lib_expat_XML_ParserCreate=no
19343 fi
19344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19345 LIBS=$ac_check_lib_save_LIBS
19346 fi
19347 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
19348 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
19349 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
19350 EXPAT_LINK=" -lexpat"
19351 fi
19352
19353 fi
19354 fi
19355 if test "x$EXPAT_LINK" = "x" ; then
19356 if test "$wxUSE_EXPAT" = "sys" ; then
19357 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
19358 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
19359 { (exit 1); exit 1; }; }
19360 else
19361 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
19362 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
19363 wxUSE_EXPAT=builtin
19364 fi
19365 else
19366 wxUSE_EXPAT=sys
19367 fi
19368 fi
19369 if test "$wxUSE_EXPAT" = "builtin" ; then
19370
19371
19372 subdirs="$subdirs src/expat"
19373
19374 fi
19375 fi
19376
19377
19378
19379 AFMINSTALL=
19380 WIN32INSTALL=
19381
19382 TOOLKIT=
19383 TOOLKIT_INCLUDE=
19384 WIDGET_SET=
19385
19386 if test "$USE_WIN32" = 1 ; then
19387
19388 for ac_header in w32api.h
19389 do
19390 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19392 echo "$as_me:$LINENO: checking for $ac_header" >&5
19393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19395 echo $ECHO_N "(cached) $ECHO_C" >&6
19396 fi
19397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19399 else
19400 # Is the header compilable?
19401 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19403 cat >conftest.$ac_ext <<_ACEOF
19404 #line $LINENO "configure"
19405 /* confdefs.h. */
19406 _ACEOF
19407 cat confdefs.h >>conftest.$ac_ext
19408 cat >>conftest.$ac_ext <<_ACEOF
19409 /* end confdefs.h. */
19410 $ac_includes_default
19411 #include <$ac_header>
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>&5
19416 ac_status=$?
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19422 ac_status=$?
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 ac_header_compiler=yes
19426 else
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19429
19430 ac_header_compiler=no
19431 fi
19432 rm -f conftest.$ac_objext conftest.$ac_ext
19433 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19434 echo "${ECHO_T}$ac_header_compiler" >&6
19435
19436 # Is the header present?
19437 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19439 cat >conftest.$ac_ext <<_ACEOF
19440 #line $LINENO "configure"
19441 /* confdefs.h. */
19442 _ACEOF
19443 cat confdefs.h >>conftest.$ac_ext
19444 cat >>conftest.$ac_ext <<_ACEOF
19445 /* end confdefs.h. */
19446 #include <$ac_header>
19447 _ACEOF
19448 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19449 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19450 ac_status=$?
19451 grep -v '^ *+' conftest.er1 >conftest.err
19452 rm -f conftest.er1
19453 cat conftest.err >&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); } >/dev/null; then
19456 if test -s conftest.err; then
19457 ac_cpp_err=$ac_c_preproc_warn_flag
19458 else
19459 ac_cpp_err=
19460 fi
19461 else
19462 ac_cpp_err=yes
19463 fi
19464 if test -z "$ac_cpp_err"; then
19465 ac_header_preproc=yes
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19469
19470 ac_header_preproc=no
19471 fi
19472 rm -f conftest.err conftest.$ac_ext
19473 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19474 echo "${ECHO_T}$ac_header_preproc" >&6
19475
19476 # So? What about this header?
19477 case $ac_header_compiler:$ac_header_preproc in
19478 yes:no )
19479 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19480 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19483 (
19484 cat <<\_ASBOX
19485 ## ------------------------------------ ##
19486 ## Report this to bug-autoconf@gnu.org. ##
19487 ## ------------------------------------ ##
19488 _ASBOX
19489 ) |
19490 sed "s/^/$as_me: WARNING: /" >&2
19491 ;;
19492 no:yes )
19493 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19494 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19495 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19496 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19499 (
19500 cat <<\_ASBOX
19501 ## ------------------------------------ ##
19502 ## Report this to bug-autoconf@gnu.org. ##
19503 ## ------------------------------------ ##
19504 _ASBOX
19505 ) |
19506 sed "s/^/$as_me: WARNING: /" >&2
19507 ;;
19508 esac
19509 echo "$as_me:$LINENO: checking for $ac_header" >&5
19510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 eval "$as_ac_Header=$ac_header_preproc"
19515 fi
19516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19518
19519 fi
19520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19521 cat >>confdefs.h <<_ACEOF
19522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19523 _ACEOF
19524
19525 fi
19526
19527 done
19528
19529 if test "${ac_cv_header_windows_h+set}" = set; then
19530 echo "$as_me:$LINENO: checking for windows.h" >&5
19531 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19532 if test "${ac_cv_header_windows_h+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 fi
19535 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19536 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19537 else
19538 # Is the header compilable?
19539 echo "$as_me:$LINENO: checking windows.h usability" >&5
19540 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
19541 cat >conftest.$ac_ext <<_ACEOF
19542 #line $LINENO "configure"
19543 /* confdefs.h. */
19544 _ACEOF
19545 cat confdefs.h >>conftest.$ac_ext
19546 cat >>conftest.$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 $ac_includes_default
19549 #include <windows.h>
19550 _ACEOF
19551 rm -f conftest.$ac_objext
19552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19553 (eval $ac_compile) 2>&5
19554 ac_status=$?
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try='test -s conftest.$ac_objext'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19560 ac_status=$?
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; }; then
19563 ac_header_compiler=yes
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19567
19568 ac_header_compiler=no
19569 fi
19570 rm -f conftest.$ac_objext conftest.$ac_ext
19571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19572 echo "${ECHO_T}$ac_header_compiler" >&6
19573
19574 # Is the header present?
19575 echo "$as_me:$LINENO: checking windows.h presence" >&5
19576 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
19577 cat >conftest.$ac_ext <<_ACEOF
19578 #line $LINENO "configure"
19579 /* confdefs.h. */
19580 _ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 #include <windows.h>
19585 _ACEOF
19586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } >/dev/null; then
19594 if test -s conftest.err; then
19595 ac_cpp_err=$ac_c_preproc_warn_flag
19596 else
19597 ac_cpp_err=
19598 fi
19599 else
19600 ac_cpp_err=yes
19601 fi
19602 if test -z "$ac_cpp_err"; then
19603 ac_header_preproc=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19607
19608 ac_header_preproc=no
19609 fi
19610 rm -f conftest.err conftest.$ac_ext
19611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19612 echo "${ECHO_T}$ac_header_preproc" >&6
19613
19614 # So? What about this header?
19615 case $ac_header_compiler:$ac_header_preproc in
19616 yes:no )
19617 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
19618 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19619 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19620 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19621 (
19622 cat <<\_ASBOX
19623 ## ------------------------------------ ##
19624 ## Report this to bug-autoconf@gnu.org. ##
19625 ## ------------------------------------ ##
19626 _ASBOX
19627 ) |
19628 sed "s/^/$as_me: WARNING: /" >&2
19629 ;;
19630 no:yes )
19631 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
19632 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
19633 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
19634 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
19635 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
19636 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
19637 (
19638 cat <<\_ASBOX
19639 ## ------------------------------------ ##
19640 ## Report this to bug-autoconf@gnu.org. ##
19641 ## ------------------------------------ ##
19642 _ASBOX
19643 ) |
19644 sed "s/^/$as_me: WARNING: /" >&2
19645 ;;
19646 esac
19647 echo "$as_me:$LINENO: checking for windows.h" >&5
19648 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
19649 if test "${ac_cv_header_windows_h+set}" = set; then
19650 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 else
19652 ac_cv_header_windows_h=$ac_header_preproc
19653 fi
19654 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
19655 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
19656
19657 fi
19658 if test $ac_cv_header_windows_h = yes; then
19659 :
19660 else
19661
19662 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
19663 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
19664 { (exit 1); exit 1; }; }
19665
19666 fi
19667
19668
19669
19670 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
19671
19672 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
19673 LIBS="$LIBS -loleacc"
19674 fi
19675
19676 case "${host}" in
19677 *-*-cygwin* )
19678 LIBS="$LIBS -lkernel32 -luser32"
19679 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
19680 esac
19681
19682 if test "$wxUSE_ODBC" = "sys" ; then
19683 wxUSE_ODBC = "yes"
19684 fi
19685 if test "$wxUSE_ODBC" = "yes" ; then
19686 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
19687 cat >>confdefs.h <<\_ACEOF
19688 #define wxUSE_ODBC 1
19689 _ACEOF
19690
19691 fi
19692
19693 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
19694 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
19695
19696 WIN32INSTALL=win32install
19697 fi
19698
19699 if test "$wxUSE_GUI" = "yes"; then
19700 USE_GUI=1
19701
19702 GUI_TK_LIBRARY=
19703
19704 WXGTK12=
19705 WXGTK127=
19706 WXGTK20=
19707
19708 if test "$wxUSE_MSW" = 1 ; then
19709 TOOLKIT=MSW
19710 GUIDIST=MSW_DIST
19711
19712 case "${host}" in
19713 *-*-mingw32* )
19714 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
19715 esac
19716 fi
19717
19718 if test "$wxUSE_GTK" = 1; then
19719 echo "$as_me:$LINENO: checking for GTK+ version" >&5
19720 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
19721
19722 gtk_version_cached=1
19723 if test "${wx_cv_lib_gtk+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 else
19726
19727 gtk_version_cached=0
19728 echo "$as_me:$LINENO: result: " >&5
19729 echo "${ECHO_T}" >&6
19730
19731 GTK_MODULES=
19732 if test "$wxUSE_THREADS" = "yes"; then
19733 GTK_MODULES=gthread
19734 fi
19735
19736 wx_cv_lib_gtk=
19737 if test "x$wxUSE_GTK2" = "xyes"; then
19738 # Check whether --enable-gtktest or --disable-gtktest was given.
19739 if test "${enable_gtktest+set}" = set; then
19740 enableval="$enable_gtktest"
19741
19742 else
19743 enable_gtktest=yes
19744 fi;
19745
19746 pkg_config_args=gtk+-2.0
19747 for module in . $GTK_MODULES
19748 do
19749 case "$module" in
19750 gthread)
19751 pkg_config_args="$pkg_config_args gthread-2.0"
19752 ;;
19753 esac
19754 done
19755
19756 no_gtk=""
19757
19758 # Extract the first word of "pkg-config", so it can be a program name with args.
19759 set dummy pkg-config; ac_word=$2
19760 echo "$as_me:$LINENO: checking for $ac_word" >&5
19761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19762 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19763 echo $ECHO_N "(cached) $ECHO_C" >&6
19764 else
19765 case $PKG_CONFIG in
19766 [\\/]* | ?:[\\/]*)
19767 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19768 ;;
19769 *)
19770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19771 for as_dir in $PATH
19772 do
19773 IFS=$as_save_IFS
19774 test -z "$as_dir" && as_dir=.
19775 for ac_exec_ext in '' $ac_executable_extensions; do
19776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19777 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19779 break 2
19780 fi
19781 done
19782 done
19783
19784 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19785 ;;
19786 esac
19787 fi
19788 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19789
19790 if test -n "$PKG_CONFIG"; then
19791 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19792 echo "${ECHO_T}$PKG_CONFIG" >&6
19793 else
19794 echo "$as_me:$LINENO: result: no" >&5
19795 echo "${ECHO_T}no" >&6
19796 fi
19797
19798
19799 if test x$PKG_CONFIG != xno ; then
19800 if pkg-config --atleast-pkgconfig-version 0.7 ; then
19801 :
19802 else
19803 echo *** pkg-config too old; version 0.7 or better required.
19804 no_gtk=yes
19805 PKG_CONFIG=no
19806 fi
19807 else
19808 no_gtk=yes
19809 fi
19810
19811 min_gtk_version=2.0.0
19812 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
19813 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
19814
19815 if test x$PKG_CONFIG != xno ; then
19816 ## don't try to run the test against uninstalled libtool libs
19817 if $PKG_CONFIG --uninstalled $pkg_config_args; then
19818 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
19819 enable_gtktest=no
19820 fi
19821
19822 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
19823 :
19824 else
19825 no_gtk=yes
19826 fi
19827 fi
19828
19829 if test x"$no_gtk" = x ; then
19830 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
19831 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
19832 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
19834 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19835 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
19836 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
19837 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
19838 if test "x$enable_gtktest" = "xyes" ; then
19839 ac_save_CFLAGS="$CFLAGS"
19840 ac_save_LIBS="$LIBS"
19841 CFLAGS="$CFLAGS $GTK_CFLAGS"
19842 LIBS="$GTK_LIBS $LIBS"
19843 rm -f conf.gtktest
19844 if test "$cross_compiling" = yes; then
19845 echo $ac_n "cross compiling; assumed OK... $ac_c"
19846 else
19847 cat >conftest.$ac_ext <<_ACEOF
19848 #line $LINENO "configure"
19849 /* confdefs.h. */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19854
19855 #include <gtk/gtk.h>
19856 #include <stdio.h>
19857 #include <stdlib.h>
19858
19859 int
19860 main ()
19861 {
19862 int major, minor, micro;
19863 char *tmp_version;
19864
19865 system ("touch conf.gtktest");
19866
19867 /* HP/UX 9 (%@#!) writes to sscanf strings */
19868 tmp_version = g_strdup("$min_gtk_version");
19869 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
19870 printf("%s, bad version string\n", "$min_gtk_version");
19871 exit(1);
19872 }
19873
19874 if ((gtk_major_version != $gtk_config_major_version) ||
19875 (gtk_minor_version != $gtk_config_minor_version) ||
19876 (gtk_micro_version != $gtk_config_micro_version))
19877 {
19878 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
19879 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
19880 gtk_major_version, gtk_minor_version, gtk_micro_version);
19881 printf ("*** was found! If pkg-config was correct, then it is best\n");
19882 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
19883 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
19884 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
19885 printf("*** required on your system.\n");
19886 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
19887 printf("*** to point to the correct configuration files\n");
19888 }
19889 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
19890 (gtk_minor_version != GTK_MINOR_VERSION) ||
19891 (gtk_micro_version != GTK_MICRO_VERSION))
19892 {
19893 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
19894 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
19895 printf("*** library (version %d.%d.%d)\n",
19896 gtk_major_version, gtk_minor_version, gtk_micro_version);
19897 }
19898 else
19899 {
19900 if ((gtk_major_version > major) ||
19901 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
19902 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
19903 {
19904 return 0;
19905 }
19906 else
19907 {
19908 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
19909 gtk_major_version, gtk_minor_version, gtk_micro_version);
19910 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
19911 major, minor, micro);
19912 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
19913 printf("***\n");
19914 printf("*** If you have already installed a sufficiently new version, this error\n");
19915 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
19916 printf("*** being found. The easiest way to fix this is to remove the old version\n");
19917 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
19918 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
19919 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
19920 printf("*** so that the correct libraries are found at run-time))\n");
19921 }
19922 }
19923 return 1;
19924 }
19925
19926 _ACEOF
19927 rm -f conftest$ac_exeext
19928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19929 (eval $ac_link) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19934 (eval $ac_try) 2>&5
19935 ac_status=$?
19936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19937 (exit $ac_status); }; }; then
19938 :
19939 else
19940 echo "$as_me: program exited with status $ac_status" >&5
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19943
19944 ( exit $ac_status )
19945 no_gtk=yes
19946 fi
19947 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19948 fi
19949 CFLAGS="$ac_save_CFLAGS"
19950 LIBS="$ac_save_LIBS"
19951 fi
19952 fi
19953 if test "x$no_gtk" = x ; then
19954 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
19955 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
19956 wx_cv_lib_gtk=2.0
19957 else
19958 echo "$as_me:$LINENO: result: no" >&5
19959 echo "${ECHO_T}no" >&6
19960 if test "$PKG_CONFIG" = "no" ; then
19961 echo "*** A new enough version of pkg-config was not found."
19962 echo "*** See http://pkgconfig.sourceforge.net"
19963 else
19964 if test -f conf.gtktest ; then
19965 :
19966 else
19967 echo "*** Could not run GTK+ test program, checking why..."
19968 ac_save_CFLAGS="$CFLAGS"
19969 ac_save_LIBS="$LIBS"
19970 CFLAGS="$CFLAGS $GTK_CFLAGS"
19971 LIBS="$LIBS $GTK_LIBS"
19972 cat >conftest.$ac_ext <<_ACEOF
19973 #line $LINENO "configure"
19974 /* confdefs.h. */
19975 _ACEOF
19976 cat confdefs.h >>conftest.$ac_ext
19977 cat >>conftest.$ac_ext <<_ACEOF
19978 /* end confdefs.h. */
19979
19980 #include <gtk/gtk.h>
19981 #include <stdio.h>
19982
19983 int
19984 main ()
19985 {
19986 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
19987 ;
19988 return 0;
19989 }
19990 _ACEOF
19991 rm -f conftest.$ac_objext conftest$ac_exeext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19993 (eval $ac_link) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } &&
19997 { ac_try='test -s conftest$ac_exeext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20000 ac_status=$?
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 echo "*** The test program compiled, but did not run. This usually means"
20004 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
20005 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
20006 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20007 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20008 echo "*** is required on your system"
20009 echo "***"
20010 echo "*** If you have an old version installed, it is best to remove it, although"
20011 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20015
20016 echo "*** The test program failed to compile or link. See the file config.log for the"
20017 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
20018 fi
20019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20020 CFLAGS="$ac_save_CFLAGS"
20021 LIBS="$ac_save_LIBS"
20022 fi
20023 fi
20024 GTK_CFLAGS=""
20025 GTK_LIBS=""
20026 :
20027 fi
20028
20029
20030 rm -f conf.gtktest
20031
20032 else
20033
20034 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20035 if test "${with_gtk_prefix+set}" = set; then
20036 withval="$with_gtk_prefix"
20037 gtk_config_prefix="$withval"
20038 else
20039 gtk_config_prefix=""
20040 fi;
20041
20042 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20043 if test "${with_gtk_exec_prefix+set}" = set; then
20044 withval="$with_gtk_exec_prefix"
20045 gtk_config_exec_prefix="$withval"
20046 else
20047 gtk_config_exec_prefix=""
20048 fi;
20049 # Check whether --enable-gtktest or --disable-gtktest was given.
20050 if test "${enable_gtktest+set}" = set; then
20051 enableval="$enable_gtktest"
20052
20053 else
20054 enable_gtktest=yes
20055 fi;
20056
20057 for module in . $GTK_MODULES
20058 do
20059 case "$module" in
20060 gthread)
20061 gtk_config_args="$gtk_config_args gthread"
20062 ;;
20063 esac
20064 done
20065
20066 if test x$gtk_config_exec_prefix != x ; then
20067 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20068 if test x${GTK_CONFIG+set} != xset ; then
20069 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20070 fi
20071 fi
20072 if test x$gtk_config_prefix != x ; then
20073 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20074 if test x${GTK_CONFIG+set} != xset ; then
20075 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20076 fi
20077 fi
20078
20079 # Extract the first word of "gtk-config", so it can be a program name with args.
20080 set dummy gtk-config; ac_word=$2
20081 echo "$as_me:$LINENO: checking for $ac_word" >&5
20082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20083 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 else
20086 case $GTK_CONFIG in
20087 [\\/]* | ?:[\\/]*)
20088 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20089 ;;
20090 *)
20091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20092 for as_dir in $PATH
20093 do
20094 IFS=$as_save_IFS
20095 test -z "$as_dir" && as_dir=.
20096 for ac_exec_ext in '' $ac_executable_extensions; do
20097 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20098 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20100 break 2
20101 fi
20102 done
20103 done
20104
20105 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20106 ;;
20107 esac
20108 fi
20109 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20110
20111 if test -n "$GTK_CONFIG"; then
20112 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20113 echo "${ECHO_T}$GTK_CONFIG" >&6
20114 else
20115 echo "$as_me:$LINENO: result: no" >&5
20116 echo "${ECHO_T}no" >&6
20117 fi
20118
20119 min_gtk_version=1.2.7
20120 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20121 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20122 no_gtk=""
20123 if test "$GTK_CONFIG" = "no" ; then
20124 no_gtk=yes
20125 else
20126 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20127 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20128 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20130 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20132 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20133 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20134 if test "x$enable_gtktest" = "xyes" ; then
20135 ac_save_CFLAGS="$CFLAGS"
20136 ac_save_LIBS="$LIBS"
20137 CFLAGS="$CFLAGS $GTK_CFLAGS"
20138 LIBS="$GTK_LIBS $LIBS"
20139 rm -f conf.gtktest
20140 if test "$cross_compiling" = yes; then
20141 echo $ac_n "cross compiling; assumed OK... $ac_c"
20142 else
20143 cat >conftest.$ac_ext <<_ACEOF
20144 #line $LINENO "configure"
20145 /* confdefs.h. */
20146 _ACEOF
20147 cat confdefs.h >>conftest.$ac_ext
20148 cat >>conftest.$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150
20151 #include <gtk/gtk.h>
20152 #include <stdio.h>
20153 #include <stdlib.h>
20154
20155 int
20156 main ()
20157 {
20158 int major, minor, micro;
20159 char *tmp_version;
20160
20161 system ("touch conf.gtktest");
20162
20163 /* HP/UX 9 (%@#!) writes to sscanf strings */
20164 tmp_version = g_strdup("$min_gtk_version");
20165 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20166 printf("%s, bad version string\n", "$min_gtk_version");
20167 exit(1);
20168 }
20169
20170 if ((gtk_major_version != $gtk_config_major_version) ||
20171 (gtk_minor_version != $gtk_config_minor_version) ||
20172 (gtk_micro_version != $gtk_config_micro_version))
20173 {
20174 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20175 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20176 gtk_major_version, gtk_minor_version, gtk_micro_version);
20177 printf ("*** was found! If gtk-config was correct, then it is best\n");
20178 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20179 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20180 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20181 printf("*** required on your system.\n");
20182 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20183 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20184 printf("*** before re-running configure\n");
20185 }
20186 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20187 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20188 (gtk_minor_version != GTK_MINOR_VERSION) ||
20189 (gtk_micro_version != GTK_MICRO_VERSION))
20190 {
20191 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20192 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20193 printf("*** library (version %d.%d.%d)\n",
20194 gtk_major_version, gtk_minor_version, gtk_micro_version);
20195 }
20196 #endif /* defined (GTK_MAJOR_VERSION) ... */
20197 else
20198 {
20199 if ((gtk_major_version > major) ||
20200 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20201 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20202 {
20203 return 0;
20204 }
20205 else
20206 {
20207 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20208 gtk_major_version, gtk_minor_version, gtk_micro_version);
20209 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20210 major, minor, micro);
20211 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20212 printf("***\n");
20213 printf("*** If you have already installed a sufficiently new version, this error\n");
20214 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20215 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20216 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20217 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20218 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20219 printf("*** so that the correct libraries are found at run-time))\n");
20220 }
20221 }
20222 return 1;
20223 }
20224
20225 _ACEOF
20226 rm -f conftest$ac_exeext
20227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20228 (eval $ac_link) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20233 (eval $ac_try) 2>&5
20234 ac_status=$?
20235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20236 (exit $ac_status); }; }; then
20237 :
20238 else
20239 echo "$as_me: program exited with status $ac_status" >&5
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20242
20243 ( exit $ac_status )
20244 no_gtk=yes
20245 fi
20246 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20247 fi
20248 CFLAGS="$ac_save_CFLAGS"
20249 LIBS="$ac_save_LIBS"
20250 fi
20251 fi
20252 if test "x$no_gtk" = x ; then
20253 echo "$as_me:$LINENO: result: yes" >&5
20254 echo "${ECHO_T}yes" >&6
20255 wx_cv_lib_gtk=1.2.7
20256 else
20257 echo "$as_me:$LINENO: result: no" >&5
20258 echo "${ECHO_T}no" >&6
20259 if test "$GTK_CONFIG" = "no" ; then
20260 echo "*** The gtk-config script installed by GTK could not be found"
20261 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20262 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20263 echo "*** full path to gtk-config."
20264 else
20265 if test -f conf.gtktest ; then
20266 :
20267 else
20268 echo "*** Could not run GTK test program, checking why..."
20269 CFLAGS="$CFLAGS $GTK_CFLAGS"
20270 LIBS="$LIBS $GTK_LIBS"
20271 cat >conftest.$ac_ext <<_ACEOF
20272 #line $LINENO "configure"
20273 /* confdefs.h. */
20274 _ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20278
20279 #include <gtk/gtk.h>
20280 #include <stdio.h>
20281
20282 int
20283 main ()
20284 {
20285 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20286 ;
20287 return 0;
20288 }
20289 _ACEOF
20290 rm -f conftest.$ac_objext conftest$ac_exeext
20291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20292 (eval $ac_link) 2>&5
20293 ac_status=$?
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } &&
20296 { ac_try='test -s conftest$ac_exeext'
20297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20298 (eval $ac_try) 2>&5
20299 ac_status=$?
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); }; }; then
20302 echo "*** The test program compiled, but did not run. This usually means"
20303 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20304 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20305 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20306 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20307 echo "*** is required on your system"
20308 echo "***"
20309 echo "*** If you have an old version installed, it is best to remove it, although"
20310 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20311 echo "***"
20312 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20313 echo "*** came with the system with the command"
20314 echo "***"
20315 echo "*** rpm --erase --nodeps gtk gtk-devel"
20316 else
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20319
20320 echo "*** The test program failed to compile or link. See the file config.log for the"
20321 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20322 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20323 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20324 fi
20325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20326 CFLAGS="$ac_save_CFLAGS"
20327 LIBS="$ac_save_LIBS"
20328 fi
20329 fi
20330 GTK_CFLAGS=""
20331 GTK_LIBS=""
20332 :
20333 fi
20334
20335
20336 rm -f conf.gtktest
20337
20338
20339 if test -z "$wx_cv_lib_gtk"; then
20340
20341 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
20342 if test "${with_gtk_prefix+set}" = set; then
20343 withval="$with_gtk_prefix"
20344 gtk_config_prefix="$withval"
20345 else
20346 gtk_config_prefix=""
20347 fi;
20348
20349 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
20350 if test "${with_gtk_exec_prefix+set}" = set; then
20351 withval="$with_gtk_exec_prefix"
20352 gtk_config_exec_prefix="$withval"
20353 else
20354 gtk_config_exec_prefix=""
20355 fi;
20356 # Check whether --enable-gtktest or --disable-gtktest was given.
20357 if test "${enable_gtktest+set}" = set; then
20358 enableval="$enable_gtktest"
20359
20360 else
20361 enable_gtktest=yes
20362 fi;
20363
20364 for module in . $GTK_MODULES
20365 do
20366 case "$module" in
20367 gthread)
20368 gtk_config_args="$gtk_config_args gthread"
20369 ;;
20370 esac
20371 done
20372
20373 if test x$gtk_config_exec_prefix != x ; then
20374 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
20375 if test x${GTK_CONFIG+set} != xset ; then
20376 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
20377 fi
20378 fi
20379 if test x$gtk_config_prefix != x ; then
20380 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
20381 if test x${GTK_CONFIG+set} != xset ; then
20382 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
20383 fi
20384 fi
20385
20386 # Extract the first word of "gtk-config", so it can be a program name with args.
20387 set dummy gtk-config; ac_word=$2
20388 echo "$as_me:$LINENO: checking for $ac_word" >&5
20389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20390 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 else
20393 case $GTK_CONFIG in
20394 [\\/]* | ?:[\\/]*)
20395 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
20396 ;;
20397 *)
20398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20399 for as_dir in $PATH
20400 do
20401 IFS=$as_save_IFS
20402 test -z "$as_dir" && as_dir=.
20403 for ac_exec_ext in '' $ac_executable_extensions; do
20404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20405 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20407 break 2
20408 fi
20409 done
20410 done
20411
20412 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
20413 ;;
20414 esac
20415 fi
20416 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
20417
20418 if test -n "$GTK_CONFIG"; then
20419 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
20420 echo "${ECHO_T}$GTK_CONFIG" >&6
20421 else
20422 echo "$as_me:$LINENO: result: no" >&5
20423 echo "${ECHO_T}no" >&6
20424 fi
20425
20426 min_gtk_version=1.2.3
20427 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
20428 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
20429 no_gtk=""
20430 if test "$GTK_CONFIG" = "no" ; then
20431 no_gtk=yes
20432 else
20433 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
20434 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
20435 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
20436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
20437 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
20438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
20439 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
20440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
20441 if test "x$enable_gtktest" = "xyes" ; then
20442 ac_save_CFLAGS="$CFLAGS"
20443 ac_save_LIBS="$LIBS"
20444 CFLAGS="$CFLAGS $GTK_CFLAGS"
20445 LIBS="$GTK_LIBS $LIBS"
20446 rm -f conf.gtktest
20447 if test "$cross_compiling" = yes; then
20448 echo $ac_n "cross compiling; assumed OK... $ac_c"
20449 else
20450 cat >conftest.$ac_ext <<_ACEOF
20451 #line $LINENO "configure"
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457
20458 #include <gtk/gtk.h>
20459 #include <stdio.h>
20460 #include <stdlib.h>
20461
20462 int
20463 main ()
20464 {
20465 int major, minor, micro;
20466 char *tmp_version;
20467
20468 system ("touch conf.gtktest");
20469
20470 /* HP/UX 9 (%@#!) writes to sscanf strings */
20471 tmp_version = g_strdup("$min_gtk_version");
20472 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
20473 printf("%s, bad version string\n", "$min_gtk_version");
20474 exit(1);
20475 }
20476
20477 if ((gtk_major_version != $gtk_config_major_version) ||
20478 (gtk_minor_version != $gtk_config_minor_version) ||
20479 (gtk_micro_version != $gtk_config_micro_version))
20480 {
20481 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
20482 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
20483 gtk_major_version, gtk_minor_version, gtk_micro_version);
20484 printf ("*** was found! If gtk-config was correct, then it is best\n");
20485 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
20486 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
20487 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
20488 printf("*** required on your system.\n");
20489 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
20490 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
20491 printf("*** before re-running configure\n");
20492 }
20493 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
20494 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
20495 (gtk_minor_version != GTK_MINOR_VERSION) ||
20496 (gtk_micro_version != GTK_MICRO_VERSION))
20497 {
20498 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
20499 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
20500 printf("*** library (version %d.%d.%d)\n",
20501 gtk_major_version, gtk_minor_version, gtk_micro_version);
20502 }
20503 #endif /* defined (GTK_MAJOR_VERSION) ... */
20504 else
20505 {
20506 if ((gtk_major_version > major) ||
20507 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
20508 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
20509 {
20510 return 0;
20511 }
20512 else
20513 {
20514 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
20515 gtk_major_version, gtk_minor_version, gtk_micro_version);
20516 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
20517 major, minor, micro);
20518 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
20519 printf("***\n");
20520 printf("*** If you have already installed a sufficiently new version, this error\n");
20521 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
20522 printf("*** being found. The easiest way to fix this is to remove the old version\n");
20523 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
20524 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
20525 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
20526 printf("*** so that the correct libraries are found at run-time))\n");
20527 }
20528 }
20529 return 1;
20530 }
20531
20532 _ACEOF
20533 rm -f conftest$ac_exeext
20534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20535 (eval $ac_link) 2>&5
20536 ac_status=$?
20537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20538 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 :
20545 else
20546 echo "$as_me: program exited with status $ac_status" >&5
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20549
20550 ( exit $ac_status )
20551 no_gtk=yes
20552 fi
20553 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20554 fi
20555 CFLAGS="$ac_save_CFLAGS"
20556 LIBS="$ac_save_LIBS"
20557 fi
20558 fi
20559 if test "x$no_gtk" = x ; then
20560 echo "$as_me:$LINENO: result: yes" >&5
20561 echo "${ECHO_T}yes" >&6
20562 wx_cv_lib_gtk=1.2.3
20563 else
20564 echo "$as_me:$LINENO: result: no" >&5
20565 echo "${ECHO_T}no" >&6
20566 if test "$GTK_CONFIG" = "no" ; then
20567 echo "*** The gtk-config script installed by GTK could not be found"
20568 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
20569 echo "*** your path, or set the GTK_CONFIG environment variable to the"
20570 echo "*** full path to gtk-config."
20571 else
20572 if test -f conf.gtktest ; then
20573 :
20574 else
20575 echo "*** Could not run GTK test program, checking why..."
20576 CFLAGS="$CFLAGS $GTK_CFLAGS"
20577 LIBS="$LIBS $GTK_LIBS"
20578 cat >conftest.$ac_ext <<_ACEOF
20579 #line $LINENO "configure"
20580 /* confdefs.h. */
20581 _ACEOF
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585
20586 #include <gtk/gtk.h>
20587 #include <stdio.h>
20588
20589 int
20590 main ()
20591 {
20592 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
20593 ;
20594 return 0;
20595 }
20596 _ACEOF
20597 rm -f conftest.$ac_objext conftest$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>&5
20600 ac_status=$?
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try='test -s conftest$ac_exeext'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20606 ac_status=$?
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; }; then
20609 echo "*** The test program compiled, but did not run. This usually means"
20610 echo "*** that the run-time linker is not finding GTK or finding the wrong"
20611 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
20612 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
20613 echo "*** to the installed location Also, make sure you have run ldconfig if that"
20614 echo "*** is required on your system"
20615 echo "***"
20616 echo "*** If you have an old version installed, it is best to remove it, although"
20617 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
20618 echo "***"
20619 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
20620 echo "*** came with the system with the command"
20621 echo "***"
20622 echo "*** rpm --erase --nodeps gtk gtk-devel"
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 echo "*** The test program failed to compile or link. See the file config.log for the"
20628 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
20629 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
20630 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
20631 fi
20632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20633 CFLAGS="$ac_save_CFLAGS"
20634 LIBS="$ac_save_LIBS"
20635 fi
20636 fi
20637 GTK_CFLAGS=""
20638 GTK_LIBS=""
20639 :
20640 fi
20641
20642
20643 rm -f conf.gtktest
20644
20645 fi
20646 fi
20647
20648 if test -z "$wx_cv_lib_gtk"; then
20649 wx_cv_lib_gtk=none
20650 else
20651 wx_cv_cflags_gtk=$GTK_CFLAGS
20652 wx_cv_libs_gtk=$GTK_LIBS
20653 fi
20654
20655
20656 fi
20657
20658
20659 if test "$gtk_version_cached" = 1; then
20660 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
20661 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
20662 fi
20663
20664 case "$wx_cv_lib_gtk" in
20665 2.0) WXGTK20=1
20666 TOOLKIT_VERSION=2
20667 ;;
20668 1.2.7) WXGTK127=1
20669 WXGTK12=1
20670 ;;
20671 1.2.3) WXGTK12=1
20672 ;;
20673 *) { { echo "$as_me:$LINENO: error:
20674 Please check that gtk-config is in path, the directory
20675 where GTK+ libraries are installed (returned by
20676 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20677 equivalent variable and GTK+ is version 1.2.3 or above.
20678 " >&5
20679 echo "$as_me: error:
20680 Please check that gtk-config is in path, the directory
20681 where GTK+ libraries are installed (returned by
20682 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
20683 equivalent variable and GTK+ is version 1.2.3 or above.
20684 " >&2;}
20685 { (exit 1); exit 1; }; }
20686 ;;
20687 esac
20688
20689 if test "$WXGTK20" = 1; then
20690 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20691
20692 succeeded=no
20693
20694 if test -z "$PKG_CONFIG"; then
20695 # Extract the first word of "pkg-config", so it can be a program name with args.
20696 set dummy pkg-config; ac_word=$2
20697 echo "$as_me:$LINENO: checking for $ac_word" >&5
20698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20699 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20700 echo $ECHO_N "(cached) $ECHO_C" >&6
20701 else
20702 case $PKG_CONFIG in
20703 [\\/]* | ?:[\\/]*)
20704 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20705 ;;
20706 *)
20707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20708 for as_dir in $PATH
20709 do
20710 IFS=$as_save_IFS
20711 test -z "$as_dir" && as_dir=.
20712 for ac_exec_ext in '' $ac_executable_extensions; do
20713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20714 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20716 break 2
20717 fi
20718 done
20719 done
20720
20721 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20722 ;;
20723 esac
20724 fi
20725 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20726
20727 if test -n "$PKG_CONFIG"; then
20728 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20729 echo "${ECHO_T}$PKG_CONFIG" >&6
20730 else
20731 echo "$as_me:$LINENO: result: no" >&5
20732 echo "${ECHO_T}no" >&6
20733 fi
20734
20735 fi
20736
20737 if test "$PKG_CONFIG" = "no" ; then
20738 echo "*** The pkg-config script could not be found. Make sure it is"
20739 echo "*** in your path, or set the PKG_CONFIG environment variable"
20740 echo "*** to the full path to pkg-config."
20741 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20742 else
20743 PKG_CONFIG_MIN_VERSION=0.9.0
20744 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20745 echo "$as_me:$LINENO: checking for pangoft2" >&5
20746 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
20747
20748 if $PKG_CONFIG --exists "pangoft2" ; then
20749 echo "$as_me:$LINENO: result: yes" >&5
20750 echo "${ECHO_T}yes" >&6
20751 succeeded=yes
20752
20753 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
20754 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
20755 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
20756 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
20757 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
20758
20759 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
20760 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
20761 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
20762 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
20763 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
20764 else
20765 PANGOFT2_CFLAGS=""
20766 PANGOFT2_LIBS=""
20767 ## If we have a custom action on failure, don't print errors, but
20768 ## do set a variable so people can do so.
20769 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
20770
20771 fi
20772
20773
20774
20775 else
20776 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20777 echo "*** See http://www.freedesktop.org/software/pkgconfig"
20778 fi
20779 fi
20780
20781 if test $succeeded = yes; then
20782
20783 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
20784 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
20785
20786 else
20787
20788 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
20789 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
20790 wxUSE_PRINTING_ARCHITECTURE="no"
20791
20792
20793 fi
20794
20795 fi
20796 else
20797 if test "$wxUSE_UNICODE" = "yes"; then
20798 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
20799 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
20800 wxUSE_UNICODE=no
20801 fi
20802 fi
20803
20804 if test "$USE_DARWIN" != 1; then
20805
20806 for ac_func in poll
20807 do
20808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20809 echo "$as_me:$LINENO: checking for $ac_func" >&5
20810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20811 if eval "test \"\${$as_ac_var+set}\" = set"; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20813 else
20814 cat >conftest.$ac_ext <<_ACEOF
20815 #line $LINENO "configure"
20816 /* confdefs.h. */
20817 _ACEOF
20818 cat confdefs.h >>conftest.$ac_ext
20819 cat >>conftest.$ac_ext <<_ACEOF
20820 /* end confdefs.h. */
20821 /* System header to define __stub macros and hopefully few prototypes,
20822 which can conflict with char $ac_func (); below.
20823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20824 <limits.h> exists even on freestanding compilers. */
20825 #ifdef __STDC__
20826 # include <limits.h>
20827 #else
20828 # include <assert.h>
20829 #endif
20830 /* Override any gcc2 internal prototype to avoid an error. */
20831 #ifdef __cplusplus
20832 extern "C"
20833 {
20834 #endif
20835 /* We use char because int might match the return type of a gcc2
20836 builtin and then its argument prototype would still apply. */
20837 char $ac_func ();
20838 /* The GNU C library defines this for functions which it implements
20839 to always fail with ENOSYS. Some functions are actually named
20840 something starting with __ and the normal name is an alias. */
20841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20842 choke me
20843 #else
20844 char (*f) () = $ac_func;
20845 #endif
20846 #ifdef __cplusplus
20847 }
20848 #endif
20849
20850 int
20851 main ()
20852 {
20853 return f != $ac_func;
20854 ;
20855 return 0;
20856 }
20857 _ACEOF
20858 rm -f conftest.$ac_objext conftest$ac_exeext
20859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20860 (eval $ac_link) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } &&
20864 { ac_try='test -s conftest$ac_exeext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 eval "$as_ac_var=yes"
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875 eval "$as_ac_var=no"
20876 fi
20877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20878 fi
20879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20881 if test `eval echo '${'$as_ac_var'}'` = yes; then
20882 cat >>confdefs.h <<_ACEOF
20883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20884 _ACEOF
20885
20886 fi
20887 done
20888
20889 fi
20890
20891 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
20892 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
20893
20894 AFMINSTALL=afminstall
20895 TOOLKIT=GTK
20896 GUIDIST=GTK_DIST
20897
20898 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
20899 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
20900 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
20901 echo $ECHO_N "(cached) $ECHO_C" >&6
20902 else
20903 ac_check_lib_save_LIBS=$LIBS
20904 LIBS="-lgdk $LIBS"
20905 cat >conftest.$ac_ext <<_ACEOF
20906 #line $LINENO "configure"
20907 /* confdefs.h. */
20908 _ACEOF
20909 cat confdefs.h >>conftest.$ac_ext
20910 cat >>conftest.$ac_ext <<_ACEOF
20911 /* end confdefs.h. */
20912
20913 /* Override any gcc2 internal prototype to avoid an error. */
20914 #ifdef __cplusplus
20915 extern "C"
20916 #endif
20917 /* We use char because int might match the return type of a gcc2
20918 builtin and then its argument prototype would still apply. */
20919 char gdk_im_open ();
20920 int
20921 main ()
20922 {
20923 gdk_im_open ();
20924 ;
20925 return 0;
20926 }
20927 _ACEOF
20928 rm -f conftest.$ac_objext conftest$ac_exeext
20929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20930 (eval $ac_link) 2>&5
20931 ac_status=$?
20932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20933 (exit $ac_status); } &&
20934 { ac_try='test -s conftest$ac_exeext'
20935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20936 (eval $ac_try) 2>&5
20937 ac_status=$?
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_lib_gdk_gdk_im_open=yes
20941 else
20942 echo "$as_me: failed program was:" >&5
20943 sed 's/^/| /' conftest.$ac_ext >&5
20944
20945 ac_cv_lib_gdk_gdk_im_open=no
20946 fi
20947 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20948 LIBS=$ac_check_lib_save_LIBS
20949 fi
20950 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
20951 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
20952 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
20953 cat >>confdefs.h <<\_ACEOF
20954 #define HAVE_XIM 1
20955 _ACEOF
20956
20957 fi
20958
20959 fi
20960
20961 if test "$wxUSE_MGL" = 1; then
20962 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
20963 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
20964 if test "x$MGL_ROOT" = x ; then
20965 echo "$as_me:$LINENO: result: not found" >&5
20966 echo "${ECHO_T}not found" >&6
20967 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
20968 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
20969 { (exit 1); exit 1; }; }
20970 else
20971 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
20972 echo "${ECHO_T}$MGL_ROOT" >&6
20973 fi
20974
20975 echo "$as_me:$LINENO: checking for libmgl location" >&5
20976 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
20977 case "${host}" in
20978 *-*-linux* )
20979 if test "x$wxUSE_SHARED" = xyes ; then
20980 mgl_os_candidates="linux/gcc/glibc.so linux/gcc/glibc"
20981 else
20982 mgl_os_candidates="linux/gcc/glibc linux/gcc/glibc.so"
20983 fi
20984 ;;
20985 *-pc-msdosdjgpp )
20986 mgl_os_candidates="dos32/dj2"
20987 ;;
20988 *)
20989 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
20990 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
20991 { (exit 1); exit 1; }; }
20992 esac
20993
20994 mgl_lib_type=""
20995 mgl_os=""
20996
20997 for mgl_os_i in $mgl_os_candidates ; do
20998 if test "x$mgl_os" = x ; then
20999 if test "$wxUSE_DEBUG_FLAG" = yes ; then
21000 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
21001 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
21002 mgl_lib_type=debug
21003 mgl_os=$mgl_os_i
21004 fi
21005 fi
21006 if test "x$mgl_lib_type" = x ; then
21007 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
21008 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
21009 mgl_lib_type=release
21010 mgl_os=$mgl_os_i
21011 fi
21012 fi
21013 fi
21014 done
21015
21016 if test "x$mgl_os" = x ; then
21017 echo "$as_me:$LINENO: result: not found" >&5
21018 echo "${ECHO_T}not found" >&6
21019 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
21020 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
21021 { (exit 1); exit 1; }; }
21022 fi
21023 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
21024 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
21025
21026 wxUSE_UNIVERSAL="yes"
21027
21028 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
21029 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
21030
21031 AFMINSTALL=afminstall
21032 TOOLKIT=MGL
21033 GUIDIST=MGL_DIST
21034 fi
21035
21036 if test "$wxUSE_MICROWIN" = 1; then
21037 echo "$as_me:$LINENO: checking for MicroWindows" >&5
21038 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
21039 if test "x$MICROWINDOWS" = x ; then
21040 echo "$as_me:$LINENO: result: not found" >&5
21041 echo "${ECHO_T}not found" >&6
21042 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
21043 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
21044 { (exit 1); exit 1; }; }
21045 else
21046 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
21047 echo "${ECHO_T}$MICROWINDOWS" >&6
21048 fi
21049
21050 if test -f $MICROWINDOWS/lib/libmwin.a; then
21051 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
21052 echo "${ECHO_T}MicroWindows' libraries found." >&6
21053 else
21054 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
21055 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
21056 { (exit 1); exit 1; }; }
21057 fi
21058
21059 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
21060 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
21061
21062 wxUSE_UNIVERSAL="yes"
21063
21064 AFMINSTALL=afminstall
21065 TOOLKIT=MICROWIN
21066 GUIDIST=MICROWIN_DIST
21067
21068 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
21069 fi
21070
21071 if test "$wxUSE_X11" = 1; then
21072 echo "$as_me:$LINENO: checking for X" >&5
21073 echo $ECHO_N "checking for X... $ECHO_C" >&6
21074
21075
21076 # Check whether --with-x or --without-x was given.
21077 if test "${with_x+set}" = set; then
21078 withval="$with_x"
21079
21080 fi;
21081 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21082 if test "x$with_x" = xno; then
21083 # The user explicitly disabled X.
21084 have_x=disabled
21085 else
21086 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
21087 # Both variables are already set.
21088 have_x=yes
21089 else
21090 if test "${ac_cv_have_x+set}" = set; then
21091 echo $ECHO_N "(cached) $ECHO_C" >&6
21092 else
21093 # One or both of the vars are not set, and there is no cached value.
21094 ac_x_includes=no ac_x_libraries=no
21095 rm -fr conftest.dir
21096 if mkdir conftest.dir; then
21097 cd conftest.dir
21098 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
21099 cat >Imakefile <<'_ACEOF'
21100 acfindx:
21101 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
21102 _ACEOF
21103 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
21104 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21105 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
21106 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21107 for ac_extension in a so sl; do
21108 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
21109 test -f $ac_im_libdir/libX11.$ac_extension; then
21110 ac_im_usrlibdir=$ac_im_libdir; break
21111 fi
21112 done
21113 # Screen out bogus values from the imake configuration. They are
21114 # bogus both because they are the default anyway, and because
21115 # using them would break gcc on systems where it needs fixed includes.
21116 case $ac_im_incroot in
21117 /usr/include) ;;
21118 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21119 esac
21120 case $ac_im_usrlibdir in
21121 /usr/lib | /lib) ;;
21122 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21123 esac
21124 fi
21125 cd ..
21126 rm -fr conftest.dir
21127 fi
21128
21129 # Standard set of common directories for X headers.
21130 # Check X11 before X11Rn because it is often a symlink to the current release.
21131 ac_x_header_dirs='
21132 /usr/X11/include
21133 /usr/X11R6/include
21134 /usr/X11R5/include
21135 /usr/X11R4/include
21136
21137 /usr/include/X11
21138 /usr/include/X11R6
21139 /usr/include/X11R5
21140 /usr/include/X11R4
21141
21142 /usr/local/X11/include
21143 /usr/local/X11R6/include
21144 /usr/local/X11R5/include
21145 /usr/local/X11R4/include
21146
21147 /usr/local/include/X11
21148 /usr/local/include/X11R6
21149 /usr/local/include/X11R5
21150 /usr/local/include/X11R4
21151
21152 /usr/X386/include
21153 /usr/x386/include
21154 /usr/XFree86/include/X11
21155
21156 /usr/include
21157 /usr/local/include
21158 /usr/unsupported/include
21159 /usr/athena/include
21160 /usr/local/x11r5/include
21161 /usr/lpp/Xamples/include
21162
21163 /usr/openwin/include
21164 /usr/openwin/share/include'
21165
21166 if test "$ac_x_includes" = no; then
21167 # Guess where to find include files, by looking for Intrinsic.h.
21168 # First, try using that file with no special directory specified.
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 _ACEOF
21178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21180 ac_status=$?
21181 grep -v '^ *+' conftest.er1 >conftest.err
21182 rm -f conftest.er1
21183 cat conftest.err >&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } >/dev/null; then
21186 if test -s conftest.err; then
21187 ac_cpp_err=$ac_c_preproc_warn_flag
21188 else
21189 ac_cpp_err=
21190 fi
21191 else
21192 ac_cpp_err=yes
21193 fi
21194 if test -z "$ac_cpp_err"; then
21195 # We can compile using X headers with no special include directory.
21196 ac_x_includes=
21197 else
21198 echo "$as_me: failed program was:" >&5
21199 sed 's/^/| /' conftest.$ac_ext >&5
21200
21201 for ac_dir in $ac_x_header_dirs; do
21202 if test -r "$ac_dir/X11/Intrinsic.h"; then
21203 ac_x_includes=$ac_dir
21204 break
21205 fi
21206 done
21207 fi
21208 rm -f conftest.err conftest.$ac_ext
21209 fi # $ac_x_includes = no
21210
21211 if test "$ac_x_libraries" = no; then
21212 # Check for the libraries.
21213 # See if we find them without any special options.
21214 # Don't add to $LIBS permanently.
21215 ac_save_LIBS=$LIBS
21216 LIBS="-lXt $LIBS"
21217 cat >conftest.$ac_ext <<_ACEOF
21218 #line $LINENO "configure"
21219 /* confdefs.h. */
21220 _ACEOF
21221 cat confdefs.h >>conftest.$ac_ext
21222 cat >>conftest.$ac_ext <<_ACEOF
21223 /* end confdefs.h. */
21224 #include <X11/Intrinsic.h>
21225 int
21226 main ()
21227 {
21228 XtMalloc (0)
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext conftest$ac_exeext
21234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21235 (eval $ac_link) 2>&5
21236 ac_status=$?
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } &&
21239 { ac_try='test -s conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21245 LIBS=$ac_save_LIBS
21246 # We can link X programs with no special library path.
21247 ac_x_libraries=
21248 else
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21251
21252 LIBS=$ac_save_LIBS
21253 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
21254 do
21255 # Don't even attempt the hair of trying to link an X program!
21256 for ac_extension in a so sl; do
21257 if test -r $ac_dir/libXt.$ac_extension; then
21258 ac_x_libraries=$ac_dir
21259 break 2
21260 fi
21261 done
21262 done
21263 fi
21264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21265 fi # $ac_x_libraries = no
21266
21267 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
21268 # Didn't find X anywhere. Cache the known absence of X.
21269 ac_cv_have_x="have_x=no"
21270 else
21271 # Record where we found X for the cache.
21272 ac_cv_have_x="have_x=yes \
21273 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
21274 fi
21275 fi
21276
21277 fi
21278 eval "$ac_cv_have_x"
21279 fi # $with_x != no
21280
21281 if test "$have_x" != yes; then
21282 echo "$as_me:$LINENO: result: $have_x" >&5
21283 echo "${ECHO_T}$have_x" >&6
21284 no_x=yes
21285 else
21286 # If each of the values was on the command line, it overrides each guess.
21287 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
21288 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
21289 # Update the cache value to reflect the command line values.
21290 ac_cv_have_x="have_x=yes \
21291 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
21292 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
21293 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
21294 fi
21295
21296 if test "$no_x" = yes; then
21297 # Not all programs may use this symbol, but it does not hurt to define it.
21298
21299 cat >>confdefs.h <<\_ACEOF
21300 #define X_DISPLAY_MISSING 1
21301 _ACEOF
21302
21303 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
21304 else
21305 if test -n "$x_includes"; then
21306 X_CFLAGS="$X_CFLAGS -I$x_includes"
21307 fi
21308
21309 # It would also be nice to do this for all -L options, not just this one.
21310 if test -n "$x_libraries"; then
21311 X_LIBS="$X_LIBS -L$x_libraries"
21312 # For Solaris; some versions of Sun CC require a space after -R and
21313 # others require no space. Words are not sufficient . . . .
21314 case `(uname -sr) 2>/dev/null` in
21315 "SunOS 5"*)
21316 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
21317 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
21318 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
21319 cat >conftest.$ac_ext <<_ACEOF
21320 #line $LINENO "configure"
21321 /* confdefs.h. */
21322 _ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326
21327 int
21328 main ()
21329 {
21330
21331 ;
21332 return 0;
21333 }
21334 _ACEOF
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try='test -s conftest$ac_exeext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_R_nospace=yes
21348 else
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21351
21352 ac_R_nospace=no
21353 fi
21354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21355 if test $ac_R_nospace = yes; then
21356 echo "$as_me:$LINENO: result: no" >&5
21357 echo "${ECHO_T}no" >&6
21358 X_LIBS="$X_LIBS -R$x_libraries"
21359 else
21360 LIBS="$ac_xsave_LIBS -R $x_libraries"
21361 cat >conftest.$ac_ext <<_ACEOF
21362 #line $LINENO "configure"
21363 /* confdefs.h. */
21364 _ACEOF
21365 cat confdefs.h >>conftest.$ac_ext
21366 cat >>conftest.$ac_ext <<_ACEOF
21367 /* end confdefs.h. */
21368
21369 int
21370 main ()
21371 {
21372
21373 ;
21374 return 0;
21375 }
21376 _ACEOF
21377 rm -f conftest.$ac_objext conftest$ac_exeext
21378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21379 (eval $ac_link) 2>&5
21380 ac_status=$?
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); } &&
21383 { ac_try='test -s conftest$ac_exeext'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; }; then
21389 ac_R_space=yes
21390 else
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21393
21394 ac_R_space=no
21395 fi
21396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21397 if test $ac_R_space = yes; then
21398 echo "$as_me:$LINENO: result: yes" >&5
21399 echo "${ECHO_T}yes" >&6
21400 X_LIBS="$X_LIBS -R $x_libraries"
21401 else
21402 echo "$as_me:$LINENO: result: neither works" >&5
21403 echo "${ECHO_T}neither works" >&6
21404 fi
21405 fi
21406 LIBS=$ac_xsave_LIBS
21407 esac
21408 fi
21409
21410 # Check for system-dependent libraries X programs must link with.
21411 # Do this before checking for the system-independent R6 libraries
21412 # (-lICE), since we may need -lsocket or whatever for X linking.
21413
21414 if test "$ISC" = yes; then
21415 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
21416 else
21417 # Martyn Johnson says this is needed for Ultrix, if the X
21418 # libraries were built with DECnet support. And Karl Berry says
21419 # the Alpha needs dnet_stub (dnet does not exist).
21420 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
21421 cat >conftest.$ac_ext <<_ACEOF
21422 #line $LINENO "configure"
21423 /* confdefs.h. */
21424 _ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428
21429 /* Override any gcc2 internal prototype to avoid an error. */
21430 #ifdef __cplusplus
21431 extern "C"
21432 #endif
21433 /* We use char because int might match the return type of a gcc2
21434 builtin and then its argument prototype would still apply. */
21435 char XOpenDisplay ();
21436 int
21437 main ()
21438 {
21439 XOpenDisplay ();
21440 ;
21441 return 0;
21442 }
21443 _ACEOF
21444 rm -f conftest.$ac_objext conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>&5
21447 ac_status=$?
21448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } &&
21450 { ac_try='test -s conftest$ac_exeext'
21451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21452 (eval $ac_try) 2>&5
21453 ac_status=$?
21454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21455 (exit $ac_status); }; }; then
21456 :
21457 else
21458 echo "$as_me: failed program was:" >&5
21459 sed 's/^/| /' conftest.$ac_ext >&5
21460
21461 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
21462 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
21463 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21465 else
21466 ac_check_lib_save_LIBS=$LIBS
21467 LIBS="-ldnet $LIBS"
21468 cat >conftest.$ac_ext <<_ACEOF
21469 #line $LINENO "configure"
21470 /* confdefs.h. */
21471 _ACEOF
21472 cat confdefs.h >>conftest.$ac_ext
21473 cat >>conftest.$ac_ext <<_ACEOF
21474 /* end confdefs.h. */
21475
21476 /* Override any gcc2 internal prototype to avoid an error. */
21477 #ifdef __cplusplus
21478 extern "C"
21479 #endif
21480 /* We use char because int might match the return type of a gcc2
21481 builtin and then its argument prototype would still apply. */
21482 char dnet_ntoa ();
21483 int
21484 main ()
21485 {
21486 dnet_ntoa ();
21487 ;
21488 return 0;
21489 }
21490 _ACEOF
21491 rm -f conftest.$ac_objext conftest$ac_exeext
21492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21493 (eval $ac_link) 2>&5
21494 ac_status=$?
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try='test -s conftest$ac_exeext'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21500 ac_status=$?
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 ac_cv_lib_dnet_dnet_ntoa=yes
21504 else
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.$ac_ext >&5
21507
21508 ac_cv_lib_dnet_dnet_ntoa=no
21509 fi
21510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21511 LIBS=$ac_check_lib_save_LIBS
21512 fi
21513 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
21514 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
21515 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
21516 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
21517 fi
21518
21519 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
21520 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
21521 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
21522 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
21523 echo $ECHO_N "(cached) $ECHO_C" >&6
21524 else
21525 ac_check_lib_save_LIBS=$LIBS
21526 LIBS="-ldnet_stub $LIBS"
21527 cat >conftest.$ac_ext <<_ACEOF
21528 #line $LINENO "configure"
21529 /* confdefs.h. */
21530 _ACEOF
21531 cat confdefs.h >>conftest.$ac_ext
21532 cat >>conftest.$ac_ext <<_ACEOF
21533 /* end confdefs.h. */
21534
21535 /* Override any gcc2 internal prototype to avoid an error. */
21536 #ifdef __cplusplus
21537 extern "C"
21538 #endif
21539 /* We use char because int might match the return type of a gcc2
21540 builtin and then its argument prototype would still apply. */
21541 char dnet_ntoa ();
21542 int
21543 main ()
21544 {
21545 dnet_ntoa ();
21546 ;
21547 return 0;
21548 }
21549 _ACEOF
21550 rm -f conftest.$ac_objext conftest$ac_exeext
21551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21552 (eval $ac_link) 2>&5
21553 ac_status=$?
21554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21555 (exit $ac_status); } &&
21556 { ac_try='test -s conftest$ac_exeext'
21557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21558 (eval $ac_try) 2>&5
21559 ac_status=$?
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); }; }; then
21562 ac_cv_lib_dnet_stub_dnet_ntoa=yes
21563 else
21564 echo "$as_me: failed program was:" >&5
21565 sed 's/^/| /' conftest.$ac_ext >&5
21566
21567 ac_cv_lib_dnet_stub_dnet_ntoa=no
21568 fi
21569 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21570 LIBS=$ac_check_lib_save_LIBS
21571 fi
21572 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
21573 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
21574 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
21575 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
21576 fi
21577
21578 fi
21579 fi
21580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21581 LIBS="$ac_xsave_LIBS"
21582
21583 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
21584 # to get the SysV transport functions.
21585 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
21586 # needs -lnsl.
21587 # The nsl library prevents programs from opening the X display
21588 # on Irix 5.2, according to T.E. Dickey.
21589 # The functions gethostbyname, getservbyname, and inet_addr are
21590 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
21591 echo "$as_me:$LINENO: checking for gethostbyname" >&5
21592 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
21593 if test "${ac_cv_func_gethostbyname+set}" = set; then
21594 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 else
21596 cat >conftest.$ac_ext <<_ACEOF
21597 #line $LINENO "configure"
21598 /* confdefs.h. */
21599 _ACEOF
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21603 /* System header to define __stub macros and hopefully few prototypes,
21604 which can conflict with char gethostbyname (); below.
21605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21606 <limits.h> exists even on freestanding compilers. */
21607 #ifdef __STDC__
21608 # include <limits.h>
21609 #else
21610 # include <assert.h>
21611 #endif
21612 /* Override any gcc2 internal prototype to avoid an error. */
21613 #ifdef __cplusplus
21614 extern "C"
21615 {
21616 #endif
21617 /* We use char because int might match the return type of a gcc2
21618 builtin and then its argument prototype would still apply. */
21619 char gethostbyname ();
21620 /* The GNU C library defines this for functions which it implements
21621 to always fail with ENOSYS. Some functions are actually named
21622 something starting with __ and the normal name is an alias. */
21623 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
21624 choke me
21625 #else
21626 char (*f) () = gethostbyname;
21627 #endif
21628 #ifdef __cplusplus
21629 }
21630 #endif
21631
21632 int
21633 main ()
21634 {
21635 return f != gethostbyname;
21636 ;
21637 return 0;
21638 }
21639 _ACEOF
21640 rm -f conftest.$ac_objext conftest$ac_exeext
21641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21642 (eval $ac_link) 2>&5
21643 ac_status=$?
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } &&
21646 { ac_try='test -s conftest$ac_exeext'
21647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21648 (eval $ac_try) 2>&5
21649 ac_status=$?
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); }; }; then
21652 ac_cv_func_gethostbyname=yes
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_cv_func_gethostbyname=no
21658 fi
21659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21660 fi
21661 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
21662 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
21663
21664 if test $ac_cv_func_gethostbyname = no; then
21665 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
21666 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
21667 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 else
21670 ac_check_lib_save_LIBS=$LIBS
21671 LIBS="-lnsl $LIBS"
21672 cat >conftest.$ac_ext <<_ACEOF
21673 #line $LINENO "configure"
21674 /* confdefs.h. */
21675 _ACEOF
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679
21680 /* Override any gcc2 internal prototype to avoid an error. */
21681 #ifdef __cplusplus
21682 extern "C"
21683 #endif
21684 /* We use char because int might match the return type of a gcc2
21685 builtin and then its argument prototype would still apply. */
21686 char gethostbyname ();
21687 int
21688 main ()
21689 {
21690 gethostbyname ();
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext conftest$ac_exeext
21696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21697 (eval $ac_link) 2>&5
21698 ac_status=$?
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try='test -s conftest$ac_exeext'
21702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21703 (eval $ac_try) 2>&5
21704 ac_status=$?
21705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21706 (exit $ac_status); }; }; then
21707 ac_cv_lib_nsl_gethostbyname=yes
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21711
21712 ac_cv_lib_nsl_gethostbyname=no
21713 fi
21714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21715 LIBS=$ac_check_lib_save_LIBS
21716 fi
21717 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
21718 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
21719 if test $ac_cv_lib_nsl_gethostbyname = yes; then
21720 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
21721 fi
21722
21723 if test $ac_cv_lib_nsl_gethostbyname = no; then
21724 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
21725 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
21726 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
21727 echo $ECHO_N "(cached) $ECHO_C" >&6
21728 else
21729 ac_check_lib_save_LIBS=$LIBS
21730 LIBS="-lbsd $LIBS"
21731 cat >conftest.$ac_ext <<_ACEOF
21732 #line $LINENO "configure"
21733 /* confdefs.h. */
21734 _ACEOF
21735 cat confdefs.h >>conftest.$ac_ext
21736 cat >>conftest.$ac_ext <<_ACEOF
21737 /* end confdefs.h. */
21738
21739 /* Override any gcc2 internal prototype to avoid an error. */
21740 #ifdef __cplusplus
21741 extern "C"
21742 #endif
21743 /* We use char because int might match the return type of a gcc2
21744 builtin and then its argument prototype would still apply. */
21745 char gethostbyname ();
21746 int
21747 main ()
21748 {
21749 gethostbyname ();
21750 ;
21751 return 0;
21752 }
21753 _ACEOF
21754 rm -f conftest.$ac_objext conftest$ac_exeext
21755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21756 (eval $ac_link) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); } &&
21760 { ac_try='test -s conftest$ac_exeext'
21761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21762 (eval $ac_try) 2>&5
21763 ac_status=$?
21764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765 (exit $ac_status); }; }; then
21766 ac_cv_lib_bsd_gethostbyname=yes
21767 else
21768 echo "$as_me: failed program was:" >&5
21769 sed 's/^/| /' conftest.$ac_ext >&5
21770
21771 ac_cv_lib_bsd_gethostbyname=no
21772 fi
21773 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21774 LIBS=$ac_check_lib_save_LIBS
21775 fi
21776 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
21777 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
21778 if test $ac_cv_lib_bsd_gethostbyname = yes; then
21779 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
21780 fi
21781
21782 fi
21783 fi
21784
21785 # lieder@skyler.mavd.honeywell.com says without -lsocket,
21786 # socket/setsockopt and other routines are undefined under SCO ODT
21787 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
21788 # on later versions), says Simon Leinen: it contains gethostby*
21789 # variants that don't use the name server (or something). -lsocket
21790 # must be given before -lnsl if both are needed. We assume that
21791 # if connect needs -lnsl, so does gethostbyname.
21792 echo "$as_me:$LINENO: checking for connect" >&5
21793 echo $ECHO_N "checking for connect... $ECHO_C" >&6
21794 if test "${ac_cv_func_connect+set}" = set; then
21795 echo $ECHO_N "(cached) $ECHO_C" >&6
21796 else
21797 cat >conftest.$ac_ext <<_ACEOF
21798 #line $LINENO "configure"
21799 /* confdefs.h. */
21800 _ACEOF
21801 cat confdefs.h >>conftest.$ac_ext
21802 cat >>conftest.$ac_ext <<_ACEOF
21803 /* end confdefs.h. */
21804 /* System header to define __stub macros and hopefully few prototypes,
21805 which can conflict with char connect (); below.
21806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21807 <limits.h> exists even on freestanding compilers. */
21808 #ifdef __STDC__
21809 # include <limits.h>
21810 #else
21811 # include <assert.h>
21812 #endif
21813 /* Override any gcc2 internal prototype to avoid an error. */
21814 #ifdef __cplusplus
21815 extern "C"
21816 {
21817 #endif
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21820 char connect ();
21821 /* The GNU C library defines this for functions which it implements
21822 to always fail with ENOSYS. Some functions are actually named
21823 something starting with __ and the normal name is an alias. */
21824 #if defined (__stub_connect) || defined (__stub___connect)
21825 choke me
21826 #else
21827 char (*f) () = connect;
21828 #endif
21829 #ifdef __cplusplus
21830 }
21831 #endif
21832
21833 int
21834 main ()
21835 {
21836 return f != connect;
21837 ;
21838 return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext conftest$ac_exeext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21843 (eval $ac_link) 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } &&
21847 { ac_try='test -s conftest$ac_exeext'
21848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21849 (eval $ac_try) 2>&5
21850 ac_status=$?
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; }; then
21853 ac_cv_func_connect=yes
21854 else
21855 echo "$as_me: failed program was:" >&5
21856 sed 's/^/| /' conftest.$ac_ext >&5
21857
21858 ac_cv_func_connect=no
21859 fi
21860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21861 fi
21862 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
21863 echo "${ECHO_T}$ac_cv_func_connect" >&6
21864
21865 if test $ac_cv_func_connect = no; then
21866 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
21867 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
21868 if test "${ac_cv_lib_socket_connect+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21870 else
21871 ac_check_lib_save_LIBS=$LIBS
21872 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21875 /* confdefs.h. */
21876 _ACEOF
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880
21881 /* Override any gcc2 internal prototype to avoid an error. */
21882 #ifdef __cplusplus
21883 extern "C"
21884 #endif
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21887 char connect ();
21888 int
21889 main ()
21890 {
21891 connect ();
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 rm -f conftest.$ac_objext conftest$ac_exeext
21897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21898 (eval $ac_link) 2>&5
21899 ac_status=$?
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); } &&
21902 { ac_try='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 ac_cv_lib_socket_connect=yes
21909 else
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 ac_cv_lib_socket_connect=no
21914 fi
21915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21917 fi
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
21919 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
21920 if test $ac_cv_lib_socket_connect = yes; then
21921 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
21922 fi
21923
21924 fi
21925
21926 # Guillermo Gomez says -lposix is necessary on A/UX.
21927 echo "$as_me:$LINENO: checking for remove" >&5
21928 echo $ECHO_N "checking for remove... $ECHO_C" >&6
21929 if test "${ac_cv_func_remove+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21932 cat >conftest.$ac_ext <<_ACEOF
21933 #line $LINENO "configure"
21934 /* confdefs.h. */
21935 _ACEOF
21936 cat confdefs.h >>conftest.$ac_ext
21937 cat >>conftest.$ac_ext <<_ACEOF
21938 /* end confdefs.h. */
21939 /* System header to define __stub macros and hopefully few prototypes,
21940 which can conflict with char remove (); below.
21941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21942 <limits.h> exists even on freestanding compilers. */
21943 #ifdef __STDC__
21944 # include <limits.h>
21945 #else
21946 # include <assert.h>
21947 #endif
21948 /* Override any gcc2 internal prototype to avoid an error. */
21949 #ifdef __cplusplus
21950 extern "C"
21951 {
21952 #endif
21953 /* We use char because int might match the return type of a gcc2
21954 builtin and then its argument prototype would still apply. */
21955 char remove ();
21956 /* The GNU C library defines this for functions which it implements
21957 to always fail with ENOSYS. Some functions are actually named
21958 something starting with __ and the normal name is an alias. */
21959 #if defined (__stub_remove) || defined (__stub___remove)
21960 choke me
21961 #else
21962 char (*f) () = remove;
21963 #endif
21964 #ifdef __cplusplus
21965 }
21966 #endif
21967
21968 int
21969 main ()
21970 {
21971 return f != remove;
21972 ;
21973 return 0;
21974 }
21975 _ACEOF
21976 rm -f conftest.$ac_objext conftest$ac_exeext
21977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21978 (eval $ac_link) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); } &&
21982 { ac_try='test -s conftest$ac_exeext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 ac_cv_func_remove=yes
21989 else
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 ac_cv_func_remove=no
21994 fi
21995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21996 fi
21997 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
21998 echo "${ECHO_T}$ac_cv_func_remove" >&6
21999
22000 if test $ac_cv_func_remove = no; then
22001 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
22002 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
22003 if test "${ac_cv_lib_posix_remove+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22005 else
22006 ac_check_lib_save_LIBS=$LIBS
22007 LIBS="-lposix $LIBS"
22008 cat >conftest.$ac_ext <<_ACEOF
22009 #line $LINENO "configure"
22010 /* confdefs.h. */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h. */
22015
22016 /* Override any gcc2 internal prototype to avoid an error. */
22017 #ifdef __cplusplus
22018 extern "C"
22019 #endif
22020 /* We use char because int might match the return type of a gcc2
22021 builtin and then its argument prototype would still apply. */
22022 char remove ();
22023 int
22024 main ()
22025 {
22026 remove ();
22027 ;
22028 return 0;
22029 }
22030 _ACEOF
22031 rm -f conftest.$ac_objext conftest$ac_exeext
22032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22033 (eval $ac_link) 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } &&
22037 { ac_try='test -s conftest$ac_exeext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 ac_cv_lib_posix_remove=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22047
22048 ac_cv_lib_posix_remove=no
22049 fi
22050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22051 LIBS=$ac_check_lib_save_LIBS
22052 fi
22053 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
22054 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
22055 if test $ac_cv_lib_posix_remove = yes; then
22056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22057 fi
22058
22059 fi
22060
22061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22062 echo "$as_me:$LINENO: checking for shmat" >&5
22063 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
22064 if test "${ac_cv_func_shmat+set}" = set; then
22065 echo $ECHO_N "(cached) $ECHO_C" >&6
22066 else
22067 cat >conftest.$ac_ext <<_ACEOF
22068 #line $LINENO "configure"
22069 /* confdefs.h. */
22070 _ACEOF
22071 cat confdefs.h >>conftest.$ac_ext
22072 cat >>conftest.$ac_ext <<_ACEOF
22073 /* end confdefs.h. */
22074 /* System header to define __stub macros and hopefully few prototypes,
22075 which can conflict with char shmat (); below.
22076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077 <limits.h> exists even on freestanding compilers. */
22078 #ifdef __STDC__
22079 # include <limits.h>
22080 #else
22081 # include <assert.h>
22082 #endif
22083 /* Override any gcc2 internal prototype to avoid an error. */
22084 #ifdef __cplusplus
22085 extern "C"
22086 {
22087 #endif
22088 /* We use char because int might match the return type of a gcc2
22089 builtin and then its argument prototype would still apply. */
22090 char shmat ();
22091 /* The GNU C library defines this for functions which it implements
22092 to always fail with ENOSYS. Some functions are actually named
22093 something starting with __ and the normal name is an alias. */
22094 #if defined (__stub_shmat) || defined (__stub___shmat)
22095 choke me
22096 #else
22097 char (*f) () = shmat;
22098 #endif
22099 #ifdef __cplusplus
22100 }
22101 #endif
22102
22103 int
22104 main ()
22105 {
22106 return f != shmat;
22107 ;
22108 return 0;
22109 }
22110 _ACEOF
22111 rm -f conftest.$ac_objext conftest$ac_exeext
22112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22113 (eval $ac_link) 2>&5
22114 ac_status=$?
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); } &&
22117 { ac_try='test -s conftest$ac_exeext'
22118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22119 (eval $ac_try) 2>&5
22120 ac_status=$?
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); }; }; then
22123 ac_cv_func_shmat=yes
22124 else
22125 echo "$as_me: failed program was:" >&5
22126 sed 's/^/| /' conftest.$ac_ext >&5
22127
22128 ac_cv_func_shmat=no
22129 fi
22130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22131 fi
22132 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
22133 echo "${ECHO_T}$ac_cv_func_shmat" >&6
22134
22135 if test $ac_cv_func_shmat = no; then
22136 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
22137 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
22138 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22140 else
22141 ac_check_lib_save_LIBS=$LIBS
22142 LIBS="-lipc $LIBS"
22143 cat >conftest.$ac_ext <<_ACEOF
22144 #line $LINENO "configure"
22145 /* confdefs.h. */
22146 _ACEOF
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22150
22151 /* Override any gcc2 internal prototype to avoid an error. */
22152 #ifdef __cplusplus
22153 extern "C"
22154 #endif
22155 /* We use char because int might match the return type of a gcc2
22156 builtin and then its argument prototype would still apply. */
22157 char shmat ();
22158 int
22159 main ()
22160 {
22161 shmat ();
22162 ;
22163 return 0;
22164 }
22165 _ACEOF
22166 rm -f conftest.$ac_objext conftest$ac_exeext
22167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22168 (eval $ac_link) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); } &&
22172 { ac_try='test -s conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22175 ac_status=$?
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_lib_ipc_shmat=yes
22179 else
22180 echo "$as_me: failed program was:" >&5
22181 sed 's/^/| /' conftest.$ac_ext >&5
22182
22183 ac_cv_lib_ipc_shmat=no
22184 fi
22185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22186 LIBS=$ac_check_lib_save_LIBS
22187 fi
22188 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
22189 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
22190 if test $ac_cv_lib_ipc_shmat = yes; then
22191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22192 fi
22193
22194 fi
22195 fi
22196
22197 # Check for libraries that X11R6 Xt/Xaw programs need.
22198 ac_save_LDFLAGS=$LDFLAGS
22199 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22200 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22201 # check for ICE first), but we must link in the order -lSM -lICE or
22202 # we get undefined symbols. So assume we have SM if we have ICE.
22203 # These have to be linked with before -lX11, unlike the other
22204 # libraries we check for below, so use a different variable.
22205 # John Interrante, Karl Berry
22206 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
22207 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
22208 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
22209 echo $ECHO_N "(cached) $ECHO_C" >&6
22210 else
22211 ac_check_lib_save_LIBS=$LIBS
22212 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22213 cat >conftest.$ac_ext <<_ACEOF
22214 #line $LINENO "configure"
22215 /* confdefs.h. */
22216 _ACEOF
22217 cat confdefs.h >>conftest.$ac_ext
22218 cat >>conftest.$ac_ext <<_ACEOF
22219 /* end confdefs.h. */
22220
22221 /* Override any gcc2 internal prototype to avoid an error. */
22222 #ifdef __cplusplus
22223 extern "C"
22224 #endif
22225 /* We use char because int might match the return type of a gcc2
22226 builtin and then its argument prototype would still apply. */
22227 char IceConnectionNumber ();
22228 int
22229 main ()
22230 {
22231 IceConnectionNumber ();
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext conftest$ac_exeext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22238 (eval $ac_link) 2>&5
22239 ac_status=$?
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try='test -s conftest$ac_exeext'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 ac_cv_lib_ICE_IceConnectionNumber=yes
22249 else
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22252
22253 ac_cv_lib_ICE_IceConnectionNumber=no
22254 fi
22255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22256 LIBS=$ac_check_lib_save_LIBS
22257 fi
22258 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22259 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
22260 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
22261 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22262 fi
22263
22264 LDFLAGS=$ac_save_LDFLAGS
22265
22266 fi
22267
22268
22269 if test "$no_x" = "yes"; then
22270 { { echo "$as_me:$LINENO: error: X11 not found" >&5
22271 echo "$as_me: error: X11 not found" >&2;}
22272 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
22273 fi
22274
22275 GUI_TK_LIBRARY="$X_LIBS"
22276 TOOLKIT_INCLUDE="$X_CFLAGS"
22277 AFMINSTALL=afminstall
22278 COMPILED_X_PROGRAM=0
22279
22280 if test "$wxUSE_NANOX" = "yes"; then
22281 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
22282 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
22283 if test "x$MICROWIN" = x ; then
22284 echo "$as_me:$LINENO: result: not found" >&5
22285 echo "${ECHO_T}not found" >&6
22286 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
22287 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
22288 { (exit 1); exit 1; }; }
22289 else
22290 echo "$as_me:$LINENO: result: $MICROWIN" >&5
22291 echo "${ECHO_T}$MICROWIN" >&6
22292 cat >>confdefs.h <<\_ACEOF
22293 #define wxUSE_NANOX 1
22294 _ACEOF
22295
22296 fi
22297 fi
22298
22299 xpm_link=
22300 echo "$as_me:$LINENO: checking for Xpm library" >&5
22301 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
22302
22303 ac_find_libraries=
22304 for ac_dir in $SEARCH_LIB /usr/lib;
22305 do
22306 for ac_extension in a so sl dylib; do
22307 if test -f "$ac_dir/libXpm.$ac_extension"; then
22308 ac_find_libraries=$ac_dir
22309 break 2
22310 fi
22311 done
22312 done
22313
22314 if test "$ac_find_libraries" != "" ; then
22315
22316 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22317 result=$?
22318 if test $result = 0; then
22319 ac_path_to_link=""
22320 else
22321 ac_path_to_link=" -L$ac_find_libraries"
22322 fi
22323
22324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
22325 xpm_link=" -lXpm"
22326 cat >>confdefs.h <<\_ACEOF
22327 #define wxHAVE_LIB_XPM 1
22328 _ACEOF
22329
22330 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22331 echo "${ECHO_T}found at $ac_find_libraries" >&6
22332 else
22333 cat >conftest.$ac_ext <<_ACEOF
22334 #line $LINENO "configure"
22335 /* confdefs.h. */
22336 _ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340
22341 #include <X11/xpm.h>
22342
22343 int
22344 main ()
22345 {
22346
22347 int version;
22348 version = XpmLibraryVersion();
22349
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 rm -f conftest.$ac_objext
22355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22356 (eval $ac_compile) 2>&5
22357 ac_status=$?
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); } &&
22360 { ac_try='test -s conftest.$ac_objext'
22361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22362 (eval $ac_try) 2>&5
22363 ac_status=$?
22364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22365 (exit $ac_status); }; }; then
22366
22367 xpm_link=" -lXpm"
22368 cat >>confdefs.h <<\_ACEOF
22369 #define wxHAVE_LIB_XPM 1
22370 _ACEOF
22371
22372 echo "$as_me:$LINENO: result: found in default search path" >&5
22373 echo "${ECHO_T}found in default search path" >&6
22374 COMPILED_X_PROGRAM=0
22375
22376 else
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22379
22380
22381 echo "$as_me:$LINENO: result: no" >&5
22382 echo "${ECHO_T}no" >&6
22383 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
22384 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
22385
22386
22387 fi
22388 rm -f conftest.$ac_objext conftest.$ac_ext
22389 fi
22390
22391 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
22392 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
22393 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
22394 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 else
22396 ac_check_lib_save_LIBS=$LIBS
22397 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
22398 cat >conftest.$ac_ext <<_ACEOF
22399 #line $LINENO "configure"
22400 /* confdefs.h. */
22401 _ACEOF
22402 cat confdefs.h >>conftest.$ac_ext
22403 cat >>conftest.$ac_ext <<_ACEOF
22404 /* end confdefs.h. */
22405
22406 /* Override any gcc2 internal prototype to avoid an error. */
22407 #ifdef __cplusplus
22408 extern "C"
22409 #endif
22410 /* We use char because int might match the return type of a gcc2
22411 builtin and then its argument prototype would still apply. */
22412 char XShapeQueryExtension ();
22413 int
22414 main ()
22415 {
22416 XShapeQueryExtension ();
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 rm -f conftest.$ac_objext conftest$ac_exeext
22422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22423 (eval $ac_link) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); } &&
22427 { ac_try='test -s conftest$ac_exeext'
22428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22429 (eval $ac_try) 2>&5
22430 ac_status=$?
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); }; }; then
22433 ac_cv_lib_Xext_XShapeQueryExtension=yes
22434 else
22435 echo "$as_me: failed program was:" >&5
22436 sed 's/^/| /' conftest.$ac_ext >&5
22437
22438 ac_cv_lib_Xext_XShapeQueryExtension=no
22439 fi
22440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22441 LIBS=$ac_check_lib_save_LIBS
22442 fi
22443 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
22444 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
22445 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
22446
22447 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
22448 wxHAVE_XEXT_LIB=1
22449
22450 fi
22451
22452
22453 if test "$wxUSE_UNICODE" = "yes"; then
22454
22455 succeeded=no
22456
22457 if test -z "$PKG_CONFIG"; then
22458 # Extract the first word of "pkg-config", so it can be a program name with args.
22459 set dummy pkg-config; ac_word=$2
22460 echo "$as_me:$LINENO: checking for $ac_word" >&5
22461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22462 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22463 echo $ECHO_N "(cached) $ECHO_C" >&6
22464 else
22465 case $PKG_CONFIG in
22466 [\\/]* | ?:[\\/]*)
22467 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22468 ;;
22469 *)
22470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22471 for as_dir in $PATH
22472 do
22473 IFS=$as_save_IFS
22474 test -z "$as_dir" && as_dir=.
22475 for ac_exec_ext in '' $ac_executable_extensions; do
22476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22477 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22479 break 2
22480 fi
22481 done
22482 done
22483
22484 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22485 ;;
22486 esac
22487 fi
22488 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22489
22490 if test -n "$PKG_CONFIG"; then
22491 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22492 echo "${ECHO_T}$PKG_CONFIG" >&6
22493 else
22494 echo "$as_me:$LINENO: result: no" >&5
22495 echo "${ECHO_T}no" >&6
22496 fi
22497
22498 fi
22499
22500 if test "$PKG_CONFIG" = "no" ; then
22501 echo "*** The pkg-config script could not be found. Make sure it is"
22502 echo "*** in your path, or set the PKG_CONFIG environment variable"
22503 echo "*** to the full path to pkg-config."
22504 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22505 else
22506 PKG_CONFIG_MIN_VERSION=0.9.0
22507 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22508 echo "$as_me:$LINENO: checking for pangox" >&5
22509 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
22510
22511 if $PKG_CONFIG --exists "pangox" ; then
22512 echo "$as_me:$LINENO: result: yes" >&5
22513 echo "${ECHO_T}yes" >&6
22514 succeeded=yes
22515
22516 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
22517 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
22518 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
22519 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
22520 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
22521
22522 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
22523 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
22524 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
22525 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
22526 echo "${ECHO_T}$PANGOX_LIBS" >&6
22527 else
22528 PANGOX_CFLAGS=""
22529 PANGOX_LIBS=""
22530 ## If we have a custom action on failure, don't print errors, but
22531 ## do set a variable so people can do so.
22532 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
22533
22534 fi
22535
22536
22537
22538 else
22539 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22540 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22541 fi
22542 fi
22543
22544 if test $succeeded = yes; then
22545
22546 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
22547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
22548
22549 else
22550
22551 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
22552 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
22553 { (exit 1); exit 1; }; }
22554
22555
22556 fi
22557
22558
22559 succeeded=no
22560
22561 if test -z "$PKG_CONFIG"; then
22562 # Extract the first word of "pkg-config", so it can be a program name with args.
22563 set dummy pkg-config; ac_word=$2
22564 echo "$as_me:$LINENO: checking for $ac_word" >&5
22565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22566 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22567 echo $ECHO_N "(cached) $ECHO_C" >&6
22568 else
22569 case $PKG_CONFIG in
22570 [\\/]* | ?:[\\/]*)
22571 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22572 ;;
22573 *)
22574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22575 for as_dir in $PATH
22576 do
22577 IFS=$as_save_IFS
22578 test -z "$as_dir" && as_dir=.
22579 for ac_exec_ext in '' $ac_executable_extensions; do
22580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22581 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22583 break 2
22584 fi
22585 done
22586 done
22587
22588 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22589 ;;
22590 esac
22591 fi
22592 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22593
22594 if test -n "$PKG_CONFIG"; then
22595 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22596 echo "${ECHO_T}$PKG_CONFIG" >&6
22597 else
22598 echo "$as_me:$LINENO: result: no" >&5
22599 echo "${ECHO_T}no" >&6
22600 fi
22601
22602 fi
22603
22604 if test "$PKG_CONFIG" = "no" ; then
22605 echo "*** The pkg-config script could not be found. Make sure it is"
22606 echo "*** in your path, or set the PKG_CONFIG environment variable"
22607 echo "*** to the full path to pkg-config."
22608 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22609 else
22610 PKG_CONFIG_MIN_VERSION=0.9.0
22611 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22612 echo "$as_me:$LINENO: checking for pangoft2" >&5
22613 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22614
22615 if $PKG_CONFIG --exists "pangoft2" ; then
22616 echo "$as_me:$LINENO: result: yes" >&5
22617 echo "${ECHO_T}yes" >&6
22618 succeeded=yes
22619
22620 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22621 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22622 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22623 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22624 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22625
22626 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22627 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22628 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22629 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22630 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22631 else
22632 PANGOFT2_CFLAGS=""
22633 PANGOFT2_LIBS=""
22634 ## If we have a custom action on failure, don't print errors, but
22635 ## do set a variable so people can do so.
22636 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22637
22638 fi
22639
22640
22641
22642 else
22643 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22644 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22645 fi
22646 fi
22647
22648 if test $succeeded = yes; then
22649
22650 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22651 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22652
22653 else
22654
22655 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22656 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22657 wxUSE_PRINTING_ARCHITECTURE="no"
22658
22659
22660 fi
22661
22662
22663 succeeded=no
22664
22665 if test -z "$PKG_CONFIG"; then
22666 # Extract the first word of "pkg-config", so it can be a program name with args.
22667 set dummy pkg-config; ac_word=$2
22668 echo "$as_me:$LINENO: checking for $ac_word" >&5
22669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22670 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22671 echo $ECHO_N "(cached) $ECHO_C" >&6
22672 else
22673 case $PKG_CONFIG in
22674 [\\/]* | ?:[\\/]*)
22675 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22676 ;;
22677 *)
22678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22679 for as_dir in $PATH
22680 do
22681 IFS=$as_save_IFS
22682 test -z "$as_dir" && as_dir=.
22683 for ac_exec_ext in '' $ac_executable_extensions; do
22684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22685 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22687 break 2
22688 fi
22689 done
22690 done
22691
22692 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22693 ;;
22694 esac
22695 fi
22696 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22697
22698 if test -n "$PKG_CONFIG"; then
22699 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22700 echo "${ECHO_T}$PKG_CONFIG" >&6
22701 else
22702 echo "$as_me:$LINENO: result: no" >&5
22703 echo "${ECHO_T}no" >&6
22704 fi
22705
22706 fi
22707
22708 if test "$PKG_CONFIG" = "no" ; then
22709 echo "*** The pkg-config script could not be found. Make sure it is"
22710 echo "*** in your path, or set the PKG_CONFIG environment variable"
22711 echo "*** to the full path to pkg-config."
22712 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22713 else
22714 PKG_CONFIG_MIN_VERSION=0.9.0
22715 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22716 echo "$as_me:$LINENO: checking for pangoxft" >&5
22717 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
22718
22719 if $PKG_CONFIG --exists "pangoxft" ; then
22720 echo "$as_me:$LINENO: result: yes" >&5
22721 echo "${ECHO_T}yes" >&6
22722 succeeded=yes
22723
22724 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
22725 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
22726 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
22727 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
22728 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
22729
22730 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
22731 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
22732 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
22733 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
22734 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
22735 else
22736 PANGOXFT_CFLAGS=""
22737 PANGOXFT_LIBS=""
22738 ## If we have a custom action on failure, don't print errors, but
22739 ## do set a variable so people can do so.
22740 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
22741
22742 fi
22743
22744
22745
22746 else
22747 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22748 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22749 fi
22750 fi
22751
22752 if test $succeeded = yes; then
22753
22754 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
22755 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
22756
22757 else
22758
22759 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
22760 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
22761
22762
22763 fi
22764
22765 fi
22766
22767 wxUSE_UNIVERSAL="yes"
22768
22769 if test "$wxUSE_NANOX" = "yes"; then
22770 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
22771 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"
22772 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
22773 else
22774 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11$xpm_link"
22775 fi
22776
22777 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
22778 TOOLKIT=X11
22779 GUIDIST=X11_DIST
22780 fi
22781
22782 if test "$wxUSE_MOTIF" = 1; then
22783 if test "$no_x" = yes; then
22784 # Not all programs may use this symbol, but it does not hurt to define it.
22785
22786 cat >>confdefs.h <<\_ACEOF
22787 #define X_DISPLAY_MISSING 1
22788 _ACEOF
22789
22790 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22791 else
22792 if test -n "$x_includes"; then
22793 X_CFLAGS="$X_CFLAGS -I$x_includes"
22794 fi
22795
22796 # It would also be nice to do this for all -L options, not just this one.
22797 if test -n "$x_libraries"; then
22798 X_LIBS="$X_LIBS -L$x_libraries"
22799 # For Solaris; some versions of Sun CC require a space after -R and
22800 # others require no space. Words are not sufficient . . . .
22801 case `(uname -sr) 2>/dev/null` in
22802 "SunOS 5"*)
22803 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22804 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22805 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22806 cat >conftest.$ac_ext <<_ACEOF
22807 #line $LINENO "configure"
22808 /* confdefs.h. */
22809 _ACEOF
22810 cat confdefs.h >>conftest.$ac_ext
22811 cat >>conftest.$ac_ext <<_ACEOF
22812 /* end confdefs.h. */
22813
22814 int
22815 main ()
22816 {
22817
22818 ;
22819 return 0;
22820 }
22821 _ACEOF
22822 rm -f conftest.$ac_objext conftest$ac_exeext
22823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22824 (eval $ac_link) 2>&5
22825 ac_status=$?
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try='test -s conftest$ac_exeext'
22829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22830 (eval $ac_try) 2>&5
22831 ac_status=$?
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); }; }; then
22834 ac_R_nospace=yes
22835 else
22836 echo "$as_me: failed program was:" >&5
22837 sed 's/^/| /' conftest.$ac_ext >&5
22838
22839 ac_R_nospace=no
22840 fi
22841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22842 if test $ac_R_nospace = yes; then
22843 echo "$as_me:$LINENO: result: no" >&5
22844 echo "${ECHO_T}no" >&6
22845 X_LIBS="$X_LIBS -R$x_libraries"
22846 else
22847 LIBS="$ac_xsave_LIBS -R $x_libraries"
22848 cat >conftest.$ac_ext <<_ACEOF
22849 #line $LINENO "configure"
22850 /* confdefs.h. */
22851 _ACEOF
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22855
22856 int
22857 main ()
22858 {
22859
22860 ;
22861 return 0;
22862 }
22863 _ACEOF
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -s conftest$ac_exeext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22876 ac_R_space=yes
22877 else
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22880
22881 ac_R_space=no
22882 fi
22883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22884 if test $ac_R_space = yes; then
22885 echo "$as_me:$LINENO: result: yes" >&5
22886 echo "${ECHO_T}yes" >&6
22887 X_LIBS="$X_LIBS -R $x_libraries"
22888 else
22889 echo "$as_me:$LINENO: result: neither works" >&5
22890 echo "${ECHO_T}neither works" >&6
22891 fi
22892 fi
22893 LIBS=$ac_xsave_LIBS
22894 esac
22895 fi
22896
22897 # Check for system-dependent libraries X programs must link with.
22898 # Do this before checking for the system-independent R6 libraries
22899 # (-lICE), since we may need -lsocket or whatever for X linking.
22900
22901 if test "$ISC" = yes; then
22902 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22903 else
22904 # Martyn Johnson says this is needed for Ultrix, if the X
22905 # libraries were built with DECnet support. And Karl Berry says
22906 # the Alpha needs dnet_stub (dnet does not exist).
22907 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22908 cat >conftest.$ac_ext <<_ACEOF
22909 #line $LINENO "configure"
22910 /* confdefs.h. */
22911 _ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915
22916 /* Override any gcc2 internal prototype to avoid an error. */
22917 #ifdef __cplusplus
22918 extern "C"
22919 #endif
22920 /* We use char because int might match the return type of a gcc2
22921 builtin and then its argument prototype would still apply. */
22922 char XOpenDisplay ();
22923 int
22924 main ()
22925 {
22926 XOpenDisplay ();
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 rm -f conftest.$ac_objext conftest$ac_exeext
22932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22933 (eval $ac_link) 2>&5
22934 ac_status=$?
22935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22936 (exit $ac_status); } &&
22937 { ac_try='test -s conftest$ac_exeext'
22938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22939 (eval $ac_try) 2>&5
22940 ac_status=$?
22941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22942 (exit $ac_status); }; }; then
22943 :
22944 else
22945 echo "$as_me: failed program was:" >&5
22946 sed 's/^/| /' conftest.$ac_ext >&5
22947
22948 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22949 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22950 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22951 echo $ECHO_N "(cached) $ECHO_C" >&6
22952 else
22953 ac_check_lib_save_LIBS=$LIBS
22954 LIBS="-ldnet $LIBS"
22955 cat >conftest.$ac_ext <<_ACEOF
22956 #line $LINENO "configure"
22957 /* confdefs.h. */
22958 _ACEOF
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22962
22963 /* Override any gcc2 internal prototype to avoid an error. */
22964 #ifdef __cplusplus
22965 extern "C"
22966 #endif
22967 /* We use char because int might match the return type of a gcc2
22968 builtin and then its argument prototype would still apply. */
22969 char dnet_ntoa ();
22970 int
22971 main ()
22972 {
22973 dnet_ntoa ();
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 rm -f conftest.$ac_objext conftest$ac_exeext
22979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22980 (eval $ac_link) 2>&5
22981 ac_status=$?
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -s conftest$ac_exeext'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; }; then
22990 ac_cv_lib_dnet_dnet_ntoa=yes
22991 else
22992 echo "$as_me: failed program was:" >&5
22993 sed 's/^/| /' conftest.$ac_ext >&5
22994
22995 ac_cv_lib_dnet_dnet_ntoa=no
22996 fi
22997 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22998 LIBS=$ac_check_lib_save_LIBS
22999 fi
23000 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
23001 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
23002 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
23003 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
23004 fi
23005
23006 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
23007 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
23008 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
23009 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
23010 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 else
23012 ac_check_lib_save_LIBS=$LIBS
23013 LIBS="-ldnet_stub $LIBS"
23014 cat >conftest.$ac_ext <<_ACEOF
23015 #line $LINENO "configure"
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021
23022 /* Override any gcc2 internal prototype to avoid an error. */
23023 #ifdef __cplusplus
23024 extern "C"
23025 #endif
23026 /* We use char because int might match the return type of a gcc2
23027 builtin and then its argument prototype would still apply. */
23028 char dnet_ntoa ();
23029 int
23030 main ()
23031 {
23032 dnet_ntoa ();
23033 ;
23034 return 0;
23035 }
23036 _ACEOF
23037 rm -f conftest.$ac_objext conftest$ac_exeext
23038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23039 (eval $ac_link) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 { ac_try='test -s conftest$ac_exeext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23050 else
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23053
23054 ac_cv_lib_dnet_stub_dnet_ntoa=no
23055 fi
23056 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23057 LIBS=$ac_check_lib_save_LIBS
23058 fi
23059 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23060 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23061 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23062 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23063 fi
23064
23065 fi
23066 fi
23067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23068 LIBS="$ac_xsave_LIBS"
23069
23070 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23071 # to get the SysV transport functions.
23072 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23073 # needs -lnsl.
23074 # The nsl library prevents programs from opening the X display
23075 # on Irix 5.2, according to T.E. Dickey.
23076 # The functions gethostbyname, getservbyname, and inet_addr are
23077 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23078 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23079 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23080 if test "${ac_cv_func_gethostbyname+set}" = set; then
23081 echo $ECHO_N "(cached) $ECHO_C" >&6
23082 else
23083 cat >conftest.$ac_ext <<_ACEOF
23084 #line $LINENO "configure"
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 /* System header to define __stub macros and hopefully few prototypes,
23091 which can conflict with char gethostbyname (); below.
23092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23093 <limits.h> exists even on freestanding compilers. */
23094 #ifdef __STDC__
23095 # include <limits.h>
23096 #else
23097 # include <assert.h>
23098 #endif
23099 /* Override any gcc2 internal prototype to avoid an error. */
23100 #ifdef __cplusplus
23101 extern "C"
23102 {
23103 #endif
23104 /* We use char because int might match the return type of a gcc2
23105 builtin and then its argument prototype would still apply. */
23106 char gethostbyname ();
23107 /* The GNU C library defines this for functions which it implements
23108 to always fail with ENOSYS. Some functions are actually named
23109 something starting with __ and the normal name is an alias. */
23110 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23111 choke me
23112 #else
23113 char (*f) () = gethostbyname;
23114 #endif
23115 #ifdef __cplusplus
23116 }
23117 #endif
23118
23119 int
23120 main ()
23121 {
23122 return f != gethostbyname;
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext conftest$ac_exeext
23128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23129 (eval $ac_link) 2>&5
23130 ac_status=$?
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); } &&
23133 { ac_try='test -s conftest$ac_exeext'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23136 ac_status=$?
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; }; then
23139 ac_cv_func_gethostbyname=yes
23140 else
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23143
23144 ac_cv_func_gethostbyname=no
23145 fi
23146 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23147 fi
23148 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23149 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23150
23151 if test $ac_cv_func_gethostbyname = no; then
23152 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23153 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23154 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23155 echo $ECHO_N "(cached) $ECHO_C" >&6
23156 else
23157 ac_check_lib_save_LIBS=$LIBS
23158 LIBS="-lnsl $LIBS"
23159 cat >conftest.$ac_ext <<_ACEOF
23160 #line $LINENO "configure"
23161 /* confdefs.h. */
23162 _ACEOF
23163 cat confdefs.h >>conftest.$ac_ext
23164 cat >>conftest.$ac_ext <<_ACEOF
23165 /* end confdefs.h. */
23166
23167 /* Override any gcc2 internal prototype to avoid an error. */
23168 #ifdef __cplusplus
23169 extern "C"
23170 #endif
23171 /* We use char because int might match the return type of a gcc2
23172 builtin and then its argument prototype would still apply. */
23173 char gethostbyname ();
23174 int
23175 main ()
23176 {
23177 gethostbyname ();
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 rm -f conftest.$ac_objext conftest$ac_exeext
23183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23184 (eval $ac_link) 2>&5
23185 ac_status=$?
23186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23187 (exit $ac_status); } &&
23188 { ac_try='test -s conftest$ac_exeext'
23189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23190 (eval $ac_try) 2>&5
23191 ac_status=$?
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); }; }; then
23194 ac_cv_lib_nsl_gethostbyname=yes
23195 else
23196 echo "$as_me: failed program was:" >&5
23197 sed 's/^/| /' conftest.$ac_ext >&5
23198
23199 ac_cv_lib_nsl_gethostbyname=no
23200 fi
23201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23202 LIBS=$ac_check_lib_save_LIBS
23203 fi
23204 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23205 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23206 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23208 fi
23209
23210 if test $ac_cv_lib_nsl_gethostbyname = no; then
23211 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23212 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23213 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23214 echo $ECHO_N "(cached) $ECHO_C" >&6
23215 else
23216 ac_check_lib_save_LIBS=$LIBS
23217 LIBS="-lbsd $LIBS"
23218 cat >conftest.$ac_ext <<_ACEOF
23219 #line $LINENO "configure"
23220 /* confdefs.h. */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225
23226 /* Override any gcc2 internal prototype to avoid an error. */
23227 #ifdef __cplusplus
23228 extern "C"
23229 #endif
23230 /* We use char because int might match the return type of a gcc2
23231 builtin and then its argument prototype would still apply. */
23232 char gethostbyname ();
23233 int
23234 main ()
23235 {
23236 gethostbyname ();
23237 ;
23238 return 0;
23239 }
23240 _ACEOF
23241 rm -f conftest.$ac_objext conftest$ac_exeext
23242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23243 (eval $ac_link) 2>&5
23244 ac_status=$?
23245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23246 (exit $ac_status); } &&
23247 { ac_try='test -s conftest$ac_exeext'
23248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23249 (eval $ac_try) 2>&5
23250 ac_status=$?
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); }; }; then
23253 ac_cv_lib_bsd_gethostbyname=yes
23254 else
23255 echo "$as_me: failed program was:" >&5
23256 sed 's/^/| /' conftest.$ac_ext >&5
23257
23258 ac_cv_lib_bsd_gethostbyname=no
23259 fi
23260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23261 LIBS=$ac_check_lib_save_LIBS
23262 fi
23263 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23264 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23265 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23266 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23267 fi
23268
23269 fi
23270 fi
23271
23272 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23273 # socket/setsockopt and other routines are undefined under SCO ODT
23274 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23275 # on later versions), says Simon Leinen: it contains gethostby*
23276 # variants that don't use the name server (or something). -lsocket
23277 # must be given before -lnsl if both are needed. We assume that
23278 # if connect needs -lnsl, so does gethostbyname.
23279 echo "$as_me:$LINENO: checking for connect" >&5
23280 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23281 if test "${ac_cv_func_connect+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23283 else
23284 cat >conftest.$ac_ext <<_ACEOF
23285 #line $LINENO "configure"
23286 /* confdefs.h. */
23287 _ACEOF
23288 cat confdefs.h >>conftest.$ac_ext
23289 cat >>conftest.$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23291 /* System header to define __stub macros and hopefully few prototypes,
23292 which can conflict with char connect (); below.
23293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23294 <limits.h> exists even on freestanding compilers. */
23295 #ifdef __STDC__
23296 # include <limits.h>
23297 #else
23298 # include <assert.h>
23299 #endif
23300 /* Override any gcc2 internal prototype to avoid an error. */
23301 #ifdef __cplusplus
23302 extern "C"
23303 {
23304 #endif
23305 /* We use char because int might match the return type of a gcc2
23306 builtin and then its argument prototype would still apply. */
23307 char connect ();
23308 /* The GNU C library defines this for functions which it implements
23309 to always fail with ENOSYS. Some functions are actually named
23310 something starting with __ and the normal name is an alias. */
23311 #if defined (__stub_connect) || defined (__stub___connect)
23312 choke me
23313 #else
23314 char (*f) () = connect;
23315 #endif
23316 #ifdef __cplusplus
23317 }
23318 #endif
23319
23320 int
23321 main ()
23322 {
23323 return f != connect;
23324 ;
23325 return 0;
23326 }
23327 _ACEOF
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23330 (eval $ac_link) 2>&5
23331 ac_status=$?
23332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23333 (exit $ac_status); } &&
23334 { ac_try='test -s conftest$ac_exeext'
23335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23336 (eval $ac_try) 2>&5
23337 ac_status=$?
23338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23339 (exit $ac_status); }; }; then
23340 ac_cv_func_connect=yes
23341 else
23342 echo "$as_me: failed program was:" >&5
23343 sed 's/^/| /' conftest.$ac_ext >&5
23344
23345 ac_cv_func_connect=no
23346 fi
23347 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23348 fi
23349 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23350 echo "${ECHO_T}$ac_cv_func_connect" >&6
23351
23352 if test $ac_cv_func_connect = no; then
23353 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23355 if test "${ac_cv_lib_socket_connect+set}" = set; then
23356 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 else
23358 ac_check_lib_save_LIBS=$LIBS
23359 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23360 cat >conftest.$ac_ext <<_ACEOF
23361 #line $LINENO "configure"
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367
23368 /* Override any gcc2 internal prototype to avoid an error. */
23369 #ifdef __cplusplus
23370 extern "C"
23371 #endif
23372 /* We use char because int might match the return type of a gcc2
23373 builtin and then its argument prototype would still apply. */
23374 char connect ();
23375 int
23376 main ()
23377 {
23378 connect ();
23379 ;
23380 return 0;
23381 }
23382 _ACEOF
23383 rm -f conftest.$ac_objext conftest$ac_exeext
23384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23385 (eval $ac_link) 2>&5
23386 ac_status=$?
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try='test -s conftest$ac_exeext'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; }; then
23395 ac_cv_lib_socket_connect=yes
23396 else
23397 echo "$as_me: failed program was:" >&5
23398 sed 's/^/| /' conftest.$ac_ext >&5
23399
23400 ac_cv_lib_socket_connect=no
23401 fi
23402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23403 LIBS=$ac_check_lib_save_LIBS
23404 fi
23405 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23406 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23407 if test $ac_cv_lib_socket_connect = yes; then
23408 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23409 fi
23410
23411 fi
23412
23413 # Guillermo Gomez says -lposix is necessary on A/UX.
23414 echo "$as_me:$LINENO: checking for remove" >&5
23415 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23416 if test "${ac_cv_func_remove+set}" = set; then
23417 echo $ECHO_N "(cached) $ECHO_C" >&6
23418 else
23419 cat >conftest.$ac_ext <<_ACEOF
23420 #line $LINENO "configure"
23421 /* confdefs.h. */
23422 _ACEOF
23423 cat confdefs.h >>conftest.$ac_ext
23424 cat >>conftest.$ac_ext <<_ACEOF
23425 /* end confdefs.h. */
23426 /* System header to define __stub macros and hopefully few prototypes,
23427 which can conflict with char remove (); below.
23428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23429 <limits.h> exists even on freestanding compilers. */
23430 #ifdef __STDC__
23431 # include <limits.h>
23432 #else
23433 # include <assert.h>
23434 #endif
23435 /* Override any gcc2 internal prototype to avoid an error. */
23436 #ifdef __cplusplus
23437 extern "C"
23438 {
23439 #endif
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442 char remove ();
23443 /* The GNU C library defines this for functions which it implements
23444 to always fail with ENOSYS. Some functions are actually named
23445 something starting with __ and the normal name is an alias. */
23446 #if defined (__stub_remove) || defined (__stub___remove)
23447 choke me
23448 #else
23449 char (*f) () = remove;
23450 #endif
23451 #ifdef __cplusplus
23452 }
23453 #endif
23454
23455 int
23456 main ()
23457 {
23458 return f != remove;
23459 ;
23460 return 0;
23461 }
23462 _ACEOF
23463 rm -f conftest.$ac_objext conftest$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465 (eval $ac_link) 2>&5
23466 ac_status=$?
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } &&
23469 { ac_try='test -s conftest$ac_exeext'
23470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23471 (eval $ac_try) 2>&5
23472 ac_status=$?
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); }; }; then
23475 ac_cv_func_remove=yes
23476 else
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23479
23480 ac_cv_func_remove=no
23481 fi
23482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23483 fi
23484 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23485 echo "${ECHO_T}$ac_cv_func_remove" >&6
23486
23487 if test $ac_cv_func_remove = no; then
23488 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23489 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23490 if test "${ac_cv_lib_posix_remove+set}" = set; then
23491 echo $ECHO_N "(cached) $ECHO_C" >&6
23492 else
23493 ac_check_lib_save_LIBS=$LIBS
23494 LIBS="-lposix $LIBS"
23495 cat >conftest.$ac_ext <<_ACEOF
23496 #line $LINENO "configure"
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502
23503 /* Override any gcc2 internal prototype to avoid an error. */
23504 #ifdef __cplusplus
23505 extern "C"
23506 #endif
23507 /* We use char because int might match the return type of a gcc2
23508 builtin and then its argument prototype would still apply. */
23509 char remove ();
23510 int
23511 main ()
23512 {
23513 remove ();
23514 ;
23515 return 0;
23516 }
23517 _ACEOF
23518 rm -f conftest.$ac_objext conftest$ac_exeext
23519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23520 (eval $ac_link) 2>&5
23521 ac_status=$?
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); } &&
23524 { ac_try='test -s conftest$ac_exeext'
23525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23526 (eval $ac_try) 2>&5
23527 ac_status=$?
23528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23529 (exit $ac_status); }; }; then
23530 ac_cv_lib_posix_remove=yes
23531 else
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.$ac_ext >&5
23534
23535 ac_cv_lib_posix_remove=no
23536 fi
23537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23538 LIBS=$ac_check_lib_save_LIBS
23539 fi
23540 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23541 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23542 if test $ac_cv_lib_posix_remove = yes; then
23543 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23544 fi
23545
23546 fi
23547
23548 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23549 echo "$as_me:$LINENO: checking for shmat" >&5
23550 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23551 if test "${ac_cv_func_shmat+set}" = set; then
23552 echo $ECHO_N "(cached) $ECHO_C" >&6
23553 else
23554 cat >conftest.$ac_ext <<_ACEOF
23555 #line $LINENO "configure"
23556 /* confdefs.h. */
23557 _ACEOF
23558 cat confdefs.h >>conftest.$ac_ext
23559 cat >>conftest.$ac_ext <<_ACEOF
23560 /* end confdefs.h. */
23561 /* System header to define __stub macros and hopefully few prototypes,
23562 which can conflict with char shmat (); below.
23563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23564 <limits.h> exists even on freestanding compilers. */
23565 #ifdef __STDC__
23566 # include <limits.h>
23567 #else
23568 # include <assert.h>
23569 #endif
23570 /* Override any gcc2 internal prototype to avoid an error. */
23571 #ifdef __cplusplus
23572 extern "C"
23573 {
23574 #endif
23575 /* We use char because int might match the return type of a gcc2
23576 builtin and then its argument prototype would still apply. */
23577 char shmat ();
23578 /* The GNU C library defines this for functions which it implements
23579 to always fail with ENOSYS. Some functions are actually named
23580 something starting with __ and the normal name is an alias. */
23581 #if defined (__stub_shmat) || defined (__stub___shmat)
23582 choke me
23583 #else
23584 char (*f) () = shmat;
23585 #endif
23586 #ifdef __cplusplus
23587 }
23588 #endif
23589
23590 int
23591 main ()
23592 {
23593 return f != shmat;
23594 ;
23595 return 0;
23596 }
23597 _ACEOF
23598 rm -f conftest.$ac_objext conftest$ac_exeext
23599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23600 (eval $ac_link) 2>&5
23601 ac_status=$?
23602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23603 (exit $ac_status); } &&
23604 { ac_try='test -s conftest$ac_exeext'
23605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23606 (eval $ac_try) 2>&5
23607 ac_status=$?
23608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23609 (exit $ac_status); }; }; then
23610 ac_cv_func_shmat=yes
23611 else
23612 echo "$as_me: failed program was:" >&5
23613 sed 's/^/| /' conftest.$ac_ext >&5
23614
23615 ac_cv_func_shmat=no
23616 fi
23617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23618 fi
23619 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23620 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23621
23622 if test $ac_cv_func_shmat = no; then
23623 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23624 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23625 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 else
23628 ac_check_lib_save_LIBS=$LIBS
23629 LIBS="-lipc $LIBS"
23630 cat >conftest.$ac_ext <<_ACEOF
23631 #line $LINENO "configure"
23632 /* confdefs.h. */
23633 _ACEOF
23634 cat confdefs.h >>conftest.$ac_ext
23635 cat >>conftest.$ac_ext <<_ACEOF
23636 /* end confdefs.h. */
23637
23638 /* Override any gcc2 internal prototype to avoid an error. */
23639 #ifdef __cplusplus
23640 extern "C"
23641 #endif
23642 /* We use char because int might match the return type of a gcc2
23643 builtin and then its argument prototype would still apply. */
23644 char shmat ();
23645 int
23646 main ()
23647 {
23648 shmat ();
23649 ;
23650 return 0;
23651 }
23652 _ACEOF
23653 rm -f conftest.$ac_objext conftest$ac_exeext
23654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23655 (eval $ac_link) 2>&5
23656 ac_status=$?
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try='test -s conftest$ac_exeext'
23660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23661 (eval $ac_try) 2>&5
23662 ac_status=$?
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); }; }; then
23665 ac_cv_lib_ipc_shmat=yes
23666 else
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.$ac_ext >&5
23669
23670 ac_cv_lib_ipc_shmat=no
23671 fi
23672 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23673 LIBS=$ac_check_lib_save_LIBS
23674 fi
23675 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23676 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23677 if test $ac_cv_lib_ipc_shmat = yes; then
23678 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23679 fi
23680
23681 fi
23682 fi
23683
23684 # Check for libraries that X11R6 Xt/Xaw programs need.
23685 ac_save_LDFLAGS=$LDFLAGS
23686 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23687 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23688 # check for ICE first), but we must link in the order -lSM -lICE or
23689 # we get undefined symbols. So assume we have SM if we have ICE.
23690 # These have to be linked with before -lX11, unlike the other
23691 # libraries we check for below, so use a different variable.
23692 # John Interrante, Karl Berry
23693 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23694 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23695 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23696 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 else
23698 ac_check_lib_save_LIBS=$LIBS
23699 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23700 cat >conftest.$ac_ext <<_ACEOF
23701 #line $LINENO "configure"
23702 /* confdefs.h. */
23703 _ACEOF
23704 cat confdefs.h >>conftest.$ac_ext
23705 cat >>conftest.$ac_ext <<_ACEOF
23706 /* end confdefs.h. */
23707
23708 /* Override any gcc2 internal prototype to avoid an error. */
23709 #ifdef __cplusplus
23710 extern "C"
23711 #endif
23712 /* We use char because int might match the return type of a gcc2
23713 builtin and then its argument prototype would still apply. */
23714 char IceConnectionNumber ();
23715 int
23716 main ()
23717 {
23718 IceConnectionNumber ();
23719 ;
23720 return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest.$ac_objext conftest$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725 (eval $ac_link) 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } &&
23729 { ac_try='test -s conftest$ac_exeext'
23730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23731 (eval $ac_try) 2>&5
23732 ac_status=$?
23733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23734 (exit $ac_status); }; }; then
23735 ac_cv_lib_ICE_IceConnectionNumber=yes
23736 else
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 ac_cv_lib_ICE_IceConnectionNumber=no
23741 fi
23742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23743 LIBS=$ac_check_lib_save_LIBS
23744 fi
23745 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23746 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23747 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23748 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23749 fi
23750
23751 LDFLAGS=$ac_save_LDFLAGS
23752
23753 fi
23754
23755
23756 if test "$no_x" = "yes"; then
23757 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23758 echo "$as_me: error: X11 not found" >&2;}
23759 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23760 fi
23761
23762 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
23763 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
23764 AFMINSTALL=afminstall
23765 COMPILED_X_PROGRAM=0
23766
23767 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
23768 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
23769
23770 ac_find_includes=
23771 for ac_dir in $SEARCH_INCLUDE /usr/include;
23772 do
23773 if test -f "$ac_dir/Xm/Xm.h"; then
23774 ac_find_includes=$ac_dir
23775 break
23776 fi
23777 done
23778
23779 if test "$ac_find_includes" != "" ; then
23780 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
23781 echo "${ECHO_T}found in $ac_find_includes" >&6
23782
23783 if test "x$ac_find_includes" = "x/usr/include"; then
23784 ac_path_to_include=""
23785 else
23786 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
23787 result=$?
23788 if test $result = 0; then
23789 ac_path_to_include=""
23790 else
23791 ac_path_to_include=" -I$ac_find_includes"
23792 fi
23793 fi
23794
23795 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
23796 else
23797 cat >conftest.$ac_ext <<_ACEOF
23798 #line $LINENO "configure"
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804
23805 #include <Xm/Xm.h>
23806
23807 int
23808 main ()
23809 {
23810
23811 int version;
23812 version = xmUseVersion;
23813
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 rm -f conftest.$ac_objext
23819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23820 (eval $ac_compile) 2>&5
23821 ac_status=$?
23822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823 (exit $ac_status); } &&
23824 { ac_try='test -s conftest.$ac_objext'
23825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23826 (eval $ac_try) 2>&5
23827 ac_status=$?
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); }; }; then
23830
23831 echo "$as_me:$LINENO: result: found in default search path" >&5
23832 echo "${ECHO_T}found in default search path" >&6
23833 COMPILED_X_PROGRAM=1
23834
23835 else
23836 echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23838
23839
23840 echo "$as_me:$LINENO: result: no" >&5
23841 echo "${ECHO_T}no" >&6
23842 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
23843 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
23844 { (exit 1); exit 1; }; }
23845
23846
23847 fi
23848 rm -f conftest.$ac_objext conftest.$ac_ext
23849 fi
23850
23851 if test "$COMPILED_X_PROGRAM" = 0; then
23852 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
23853 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
23854
23855 ac_find_libraries=
23856 for ac_dir in $SEARCH_LIB /usr/lib;
23857 do
23858 for ac_extension in a so sl dylib; do
23859 if test -f "$ac_dir/libXm.$ac_extension"; then
23860 ac_find_libraries=$ac_dir
23861 break 2
23862 fi
23863 done
23864 done
23865
23866 if test "$ac_find_libraries" != "" ; then
23867 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23868 echo "${ECHO_T}found at $ac_find_libraries" >&6
23869
23870
23871 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23872 result=$?
23873 if test $result = 0; then
23874 ac_path_to_link=""
23875 else
23876 ac_path_to_link=" -L$ac_find_libraries"
23877 fi
23878
23879 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23880 else
23881 save_CFLAGS=$CFLAGS
23882 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23883
23884 cat >conftest.$ac_ext <<_ACEOF
23885 #line $LINENO "configure"
23886 /* confdefs.h. */
23887 _ACEOF
23888 cat confdefs.h >>conftest.$ac_ext
23889 cat >>conftest.$ac_ext <<_ACEOF
23890 /* end confdefs.h. */
23891
23892 #include <Xm/Xm.h>
23893
23894 int
23895 main ()
23896 {
23897
23898 int version;
23899 version = xmUseVersion;
23900
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 rm -f conftest.$ac_objext
23906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23907 (eval $ac_compile) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); } &&
23911 { ac_try='test -s conftest.$ac_objext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23914 ac_status=$?
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917
23918 echo "$as_me:$LINENO: result: found in default search path" >&5
23919 echo "${ECHO_T}found in default search path" >&6
23920 COMPILED_X_PROGRAM=1
23921
23922 else
23923 echo "$as_me: failed program was:" >&5
23924 sed 's/^/| /' conftest.$ac_ext >&5
23925
23926
23927 echo "$as_me:$LINENO: result: no" >&5
23928 echo "${ECHO_T}no" >&6
23929 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
23930 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
23931 { (exit 1); exit 1; }; }
23932
23933
23934 fi
23935 rm -f conftest.$ac_objext conftest.$ac_ext
23936
23937 CFLAGS=$save_CFLAGS
23938 fi
23939 fi
23940
23941 xpm_link=
23942 echo "$as_me:$LINENO: checking for Xpm library" >&5
23943 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
23944
23945 ac_find_libraries=
23946 for ac_dir in $SEARCH_LIB /usr/lib;
23947 do
23948 for ac_extension in a so sl dylib; do
23949 if test -f "$ac_dir/libXpm.$ac_extension"; then
23950 ac_find_libraries=$ac_dir
23951 break 2
23952 fi
23953 done
23954 done
23955
23956 if test "$ac_find_libraries" != "" ; then
23957
23958 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
23959 result=$?
23960 if test $result = 0; then
23961 ac_path_to_link=""
23962 else
23963 ac_path_to_link=" -L$ac_find_libraries"
23964 fi
23965
23966 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
23967
23968 xpm_link=" -lXpm"
23969 cat >>confdefs.h <<\_ACEOF
23970 #define wxHAVE_LIB_XPM 1
23971 _ACEOF
23972
23973 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
23974 echo "${ECHO_T}found at $ac_find_libraries" >&6
23975 else
23976 save_CFLAGS=$CFLAGS
23977 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
23978
23979 cat >conftest.$ac_ext <<_ACEOF
23980 #line $LINENO "configure"
23981 /* confdefs.h. */
23982 _ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986
23987 #include <X11/xpm.h>
23988
23989 int
23990 main ()
23991 {
23992
23993 int version;
23994 version = XpmLibraryVersion();
23995
23996 ;
23997 return 0;
23998 }
23999 _ACEOF
24000 rm -f conftest.$ac_objext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24002 (eval $ac_compile) 2>&5
24003 ac_status=$?
24004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24005 (exit $ac_status); } &&
24006 { ac_try='test -s conftest.$ac_objext'
24007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24008 (eval $ac_try) 2>&5
24009 ac_status=$?
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); }; }; then
24012
24013 xpm_link=" -lXpm"
24014 cat >>confdefs.h <<\_ACEOF
24015 #define wxHAVE_LIB_XPM 1
24016 _ACEOF
24017
24018 echo "$as_me:$LINENO: result: found in default search path" >&5
24019 echo "${ECHO_T}found in default search path" >&6
24020 COMPILED_X_PROGRAM=0
24021
24022 else
24023 echo "$as_me: failed program was:" >&5
24024 sed 's/^/| /' conftest.$ac_ext >&5
24025
24026
24027 echo "$as_me:$LINENO: result: no" >&5
24028 echo "${ECHO_T}no" >&6
24029 { echo "$as_me:$LINENO: WARNING: library will be compiled without support for images in XPM format" >&5
24030 echo "$as_me: WARNING: library will be compiled without support for images in XPM format" >&2;}
24031
24032
24033 fi
24034 rm -f conftest.$ac_objext conftest.$ac_ext
24035
24036 CFLAGS=$save_CFLAGS
24037 fi
24038
24039 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
24040 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
24041 libp_link=""
24042 libsm_ice_link=""
24043 libs_found=0
24044 for libp in "" " -lXp"; do
24045 if test "$libs_found" = "0"; then
24046 for libsm_ice in " -lSM -lICE"; do
24047 if test "$libs_found" = "0"; then
24048 save_LIBS="$LIBS"
24049 LIBS="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
24050 save_CFLAGS=$CFLAGS
24051 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24052
24053 cat >conftest.$ac_ext <<_ACEOF
24054 #line $LINENO "configure"
24055 /* confdefs.h. */
24056 _ACEOF
24057 cat confdefs.h >>conftest.$ac_ext
24058 cat >>conftest.$ac_ext <<_ACEOF
24059 /* end confdefs.h. */
24060
24061 #include <Xm/Xm.h>
24062 #include <Xm/List.h>
24063
24064 int
24065 main ()
24066 {
24067
24068 XmString string = NULL;
24069 Widget w = NULL;
24070 int position = 0;
24071 XmListAddItem(w, string, position);
24072
24073 ;
24074 return 0;
24075 }
24076 _ACEOF
24077 rm -f conftest.$ac_objext conftest$ac_exeext
24078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24079 (eval $ac_link) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); } &&
24083 { ac_try='test -s conftest$ac_exeext'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24086 ac_status=$?
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; }; then
24089
24090 libp_link="$libp"
24091 libsm_ice_link="$libsm_ice"
24092 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
24093 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
24094 libs_found=1
24095
24096 else
24097 echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24099
24100
24101
24102 fi
24103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24104
24105 LIBS="$save_LIBS"
24106 CFLAGS=$save_CFLAGS
24107 fi
24108 done
24109 fi
24110 done
24111
24112 if test "$libs_found" = "0"; then
24113 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
24114 echo "${ECHO_T}can't find the right libraries" >&6
24115 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
24116 echo "$as_me: error: can't link a simple motif program" >&2;}
24117 { (exit 1); exit 1; }; }
24118 fi
24119
24120 save_CFLAGS=$CFLAGS
24121 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24122 echo "$as_me:$LINENO: checking for Motif 2" >&5
24123 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
24124 cat >conftest.$ac_ext <<_ACEOF
24125 #line $LINENO "configure"
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131
24132 #include <Xm/Xm.h>
24133
24134 int
24135 main ()
24136 {
24137
24138 #if XmVersion < 2000
24139 #error "Not Motif 2"
24140 #endif
24141
24142 ;
24143 return 0;
24144 }
24145 _ACEOF
24146 rm -f conftest.$ac_objext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24148 (eval $ac_compile) 2>&5
24149 ac_status=$?
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } &&
24152 { ac_try='test -s conftest.$ac_objext'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24155 ac_status=$?
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; }; then
24158
24159 cat >>confdefs.h <<\_ACEOF
24160 #define __WXMOTIF20__ 1
24161 _ACEOF
24162
24163 echo "$as_me:$LINENO: result: found" >&5
24164 echo "${ECHO_T}found" >&6
24165
24166 else
24167 echo "$as_me: failed program was:" >&5
24168 sed 's/^/| /' conftest.$ac_ext >&5
24169
24170
24171 cat >>confdefs.h <<\_ACEOF
24172 #define __WXMOTIF20__ 0
24173 _ACEOF
24174
24175 echo "$as_me:$LINENO: result: not found" >&5
24176 echo "${ECHO_T}not found" >&6
24177
24178 fi
24179 rm -f conftest.$ac_objext conftest.$ac_ext
24180 CFLAGS=$save_CFLAGS
24181
24182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
24183 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
24184 TOOLKIT=MOTIF
24185 GUIDIST=MOTIF_DIST
24186 wxHAVE_XEXT_LIB=1
24187 fi
24188
24189 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
24190 test "$wxHAVE_XEXT_LIB" = 1; then
24191 save_CFLAGS="$CFLAGS"
24192 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
24193
24194 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
24195 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
24196 cat >conftest.$ac_ext <<_ACEOF
24197 #line $LINENO "configure"
24198 /* confdefs.h. */
24199 _ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203
24204 #include <X11/Xlib.h>
24205 #include <X11/extensions/shape.h>
24206
24207 int
24208 main ()
24209 {
24210
24211 int dummy1, dummy2;
24212 XShapeQueryExtension((Display*)NULL,
24213 (int*)NULL, (int*)NULL);
24214
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 rm -f conftest.$ac_objext
24220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24221 (eval $ac_compile) 2>&5
24222 ac_status=$?
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } &&
24225 { ac_try='test -s conftest.$ac_objext'
24226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24227 (eval $ac_try) 2>&5
24228 ac_status=$?
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); }; }; then
24231
24232 cat >>confdefs.h <<\_ACEOF
24233 #define HAVE_XSHAPE 1
24234 _ACEOF
24235
24236 echo "$as_me:$LINENO: result: found" >&5
24237 echo "${ECHO_T}found" >&6
24238
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243
24244 echo "$as_me:$LINENO: result: not found" >&5
24245 echo "${ECHO_T}not found" >&6
24246
24247 fi
24248 rm -f conftest.$ac_objext conftest.$ac_ext
24249 CFLAGS="$save_CFLAGS"
24250 fi
24251
24252 if test "$wxUSE_MAC" = 1; then
24253 CPPFLAGS="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
24254
24255 TOOLKIT_VPATH="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
24256 TOOLKIT=MAC
24257 GUIDIST=MACX_DIST
24258 WXBASEPORT="_carbon"
24259 fi
24260
24261 if test "$wxUSE_COCOA" = 1; then
24262 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
24263 TOOLKIT=COCOA
24264 GUIDIST=COCOA_DIST
24265 fi
24266
24267 if test "$wxUSE_PM" = 1; then
24268 TOOLKIT=PM
24269 GUIDIST=GTK_DIST
24270 { echo "$as_me:$LINENO: WARNING: OS/2 threads are not yet supported... disabled" >&5
24271 echo "$as_me: WARNING: OS/2 threads are not yet supported... disabled" >&2;}
24272 wxUSE_THREADS="no"
24273 fi
24274
24275 if test "$TOOLKIT" = "PM" ; then
24276 TOOLKIT_DIR="os2"
24277 else
24278 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
24279 fi
24280
24281 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
24282
24283 if test "$wxUSE_UNIVERSAL" = "yes"; then
24284 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
24285
24286 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
24287 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
24288
24289 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
24290 if test "$wxUSE_X11" = 1; then
24291 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
24292 else
24293 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
24294 fi
24295 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
24296 WIDGET_SET=univ
24297 else
24298 ALL_OBJECTS="\$(GUIOBJS)"
24299 ALL_SOURCES="\$(ALL_SOURCES)"
24300 ALL_HEADERS="\$(ALL_HEADERS)"
24301 fi
24302
24303 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
24304
24305 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
24306 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
24307 fi
24308
24309 if test "$wxUSE_HTML" = "yes"; then
24310 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
24311 fi
24312
24313 if test "$wxUSE_LIBJPEG" = "builtin" ; then
24314 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
24315 fi
24316 if test "$wxUSE_LIBTIFF" = "builtin" ; then
24317 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
24318 fi
24319 if test "$wxUSE_LIBPNG" = "builtin" ; then
24320 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
24321 fi
24322
24323 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
24324 DISTDIR="wx\$(TOOLKIT)"
24325 else
24326 USE_GUI=0
24327
24328 TOOLKIT_DIR="base"
24329
24330 if test "$USE_WIN32" = 1 ; then
24331 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
24332 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
24333
24334 TOOLKIT="MSW"
24335 else
24336 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
24337 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
24338 fi
24339
24340 ALL_SOURCES="\$(ALL_SOURCES)"
24341 ALL_HEADERS="\$(ALL_HEADERS)"
24342
24343 PORT_FILES="\${top_srcdir}/src/files.lst"
24344
24345 GUIDIST="BASE_DIST"
24346 DISTDIR="wxBase"
24347 fi
24348
24349
24350
24351
24352 IODBC_C_SRC=""
24353
24354
24355 if test "$TOOLKIT" != "MSW" ; then
24356
24357 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
24358
24359 if test "${ac_cv_header_sql_h+set}" = set; then
24360 echo "$as_me:$LINENO: checking for sql.h" >&5
24361 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24362 if test "${ac_cv_header_sql_h+set}" = set; then
24363 echo $ECHO_N "(cached) $ECHO_C" >&6
24364 fi
24365 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24366 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24367 else
24368 # Is the header compilable?
24369 echo "$as_me:$LINENO: checking sql.h usability" >&5
24370 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
24371 cat >conftest.$ac_ext <<_ACEOF
24372 #line $LINENO "configure"
24373 /* confdefs.h. */
24374 _ACEOF
24375 cat confdefs.h >>conftest.$ac_ext
24376 cat >>conftest.$ac_ext <<_ACEOF
24377 /* end confdefs.h. */
24378 $ac_includes_default
24379 #include <sql.h>
24380 _ACEOF
24381 rm -f conftest.$ac_objext
24382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24383 (eval $ac_compile) 2>&5
24384 ac_status=$?
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } &&
24387 { ac_try='test -s conftest.$ac_objext'
24388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24389 (eval $ac_try) 2>&5
24390 ac_status=$?
24391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24392 (exit $ac_status); }; }; then
24393 ac_header_compiler=yes
24394 else
24395 echo "$as_me: failed program was:" >&5
24396 sed 's/^/| /' conftest.$ac_ext >&5
24397
24398 ac_header_compiler=no
24399 fi
24400 rm -f conftest.$ac_objext conftest.$ac_ext
24401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24402 echo "${ECHO_T}$ac_header_compiler" >&6
24403
24404 # Is the header present?
24405 echo "$as_me:$LINENO: checking sql.h presence" >&5
24406 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
24407 cat >conftest.$ac_ext <<_ACEOF
24408 #line $LINENO "configure"
24409 /* confdefs.h. */
24410 _ACEOF
24411 cat confdefs.h >>conftest.$ac_ext
24412 cat >>conftest.$ac_ext <<_ACEOF
24413 /* end confdefs.h. */
24414 #include <sql.h>
24415 _ACEOF
24416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } >/dev/null; then
24424 if test -s conftest.err; then
24425 ac_cpp_err=$ac_c_preproc_warn_flag
24426 else
24427 ac_cpp_err=
24428 fi
24429 else
24430 ac_cpp_err=yes
24431 fi
24432 if test -z "$ac_cpp_err"; then
24433 ac_header_preproc=yes
24434 else
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24437
24438 ac_header_preproc=no
24439 fi
24440 rm -f conftest.err conftest.$ac_ext
24441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24442 echo "${ECHO_T}$ac_header_preproc" >&6
24443
24444 # So? What about this header?
24445 case $ac_header_compiler:$ac_header_preproc in
24446 yes:no )
24447 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
24448 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24449 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24450 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24451 (
24452 cat <<\_ASBOX
24453 ## ------------------------------------ ##
24454 ## Report this to bug-autoconf@gnu.org. ##
24455 ## ------------------------------------ ##
24456 _ASBOX
24457 ) |
24458 sed "s/^/$as_me: WARNING: /" >&2
24459 ;;
24460 no:yes )
24461 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
24462 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
24464 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
24466 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
24467 (
24468 cat <<\_ASBOX
24469 ## ------------------------------------ ##
24470 ## Report this to bug-autoconf@gnu.org. ##
24471 ## ------------------------------------ ##
24472 _ASBOX
24473 ) |
24474 sed "s/^/$as_me: WARNING: /" >&2
24475 ;;
24476 esac
24477 echo "$as_me:$LINENO: checking for sql.h" >&5
24478 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
24479 if test "${ac_cv_header_sql_h+set}" = set; then
24480 echo $ECHO_N "(cached) $ECHO_C" >&6
24481 else
24482 ac_cv_header_sql_h=$ac_header_preproc
24483 fi
24484 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
24485 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
24486
24487 fi
24488 if test $ac_cv_header_sql_h = yes; then
24489 found_sql_h=1
24490 fi
24491
24492
24493 if test "x$found_sql_h" = "x1" ; then
24494 echo "$as_me:$LINENO: checking for iodbc in -lSQLAllocEnv" >&5
24495 echo $ECHO_N "checking for iodbc in -lSQLAllocEnv... $ECHO_C" >&6
24496 if test "${ac_cv_lib_SQLAllocEnv_iodbc+set}" = set; then
24497 echo $ECHO_N "(cached) $ECHO_C" >&6
24498 else
24499 ac_check_lib_save_LIBS=$LIBS
24500 LIBS="-lSQLAllocEnv $LIBS"
24501 cat >conftest.$ac_ext <<_ACEOF
24502 #line $LINENO "configure"
24503 /* confdefs.h. */
24504 _ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24508
24509 /* Override any gcc2 internal prototype to avoid an error. */
24510 #ifdef __cplusplus
24511 extern "C"
24512 #endif
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24515 char iodbc ();
24516 int
24517 main ()
24518 {
24519 iodbc ();
24520 ;
24521 return 0;
24522 }
24523 _ACEOF
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526 (eval $ac_link) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); } &&
24530 { ac_try='test -s conftest$ac_exeext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 ac_cv_lib_SQLAllocEnv_iodbc=yes
24537 else
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.$ac_ext >&5
24540
24541 ac_cv_lib_SQLAllocEnv_iodbc=no
24542 fi
24543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24544 LIBS=$ac_check_lib_save_LIBS
24545 fi
24546 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_iodbc" >&5
24547 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_iodbc" >&6
24548 if test $ac_cv_lib_SQLAllocEnv_iodbc = yes; then
24549 ODBC_LINK=" -liodbc"
24550 else
24551
24552 echo "$as_me:$LINENO: checking for unixodbc in -lSQLAllocEnv" >&5
24553 echo $ECHO_N "checking for unixodbc in -lSQLAllocEnv... $ECHO_C" >&6
24554 if test "${ac_cv_lib_SQLAllocEnv_unixodbc+set}" = set; then
24555 echo $ECHO_N "(cached) $ECHO_C" >&6
24556 else
24557 ac_check_lib_save_LIBS=$LIBS
24558 LIBS="-lSQLAllocEnv $LIBS"
24559 cat >conftest.$ac_ext <<_ACEOF
24560 #line $LINENO "configure"
24561 /* confdefs.h. */
24562 _ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24566
24567 /* Override any gcc2 internal prototype to avoid an error. */
24568 #ifdef __cplusplus
24569 extern "C"
24570 #endif
24571 /* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24573 char unixodbc ();
24574 int
24575 main ()
24576 {
24577 unixodbc ();
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 rm -f conftest.$ac_objext conftest$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584 (eval $ac_link) 2>&5
24585 ac_status=$?
24586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24587 (exit $ac_status); } &&
24588 { ac_try='test -s conftest$ac_exeext'
24589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24590 (eval $ac_try) 2>&5
24591 ac_status=$?
24592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24593 (exit $ac_status); }; }; then
24594 ac_cv_lib_SQLAllocEnv_unixodbc=yes
24595 else
24596 echo "$as_me: failed program was:" >&5
24597 sed 's/^/| /' conftest.$ac_ext >&5
24598
24599 ac_cv_lib_SQLAllocEnv_unixodbc=no
24600 fi
24601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24602 LIBS=$ac_check_lib_save_LIBS
24603 fi
24604 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_unixodbc" >&5
24605 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_unixodbc" >&6
24606 if test $ac_cv_lib_SQLAllocEnv_unixodbc = yes; then
24607 ODBC_LINK=" -lunixodbc"
24608 else
24609
24610 echo "$as_me:$LINENO: checking for odbc in -lSQLAllocEnv" >&5
24611 echo $ECHO_N "checking for odbc in -lSQLAllocEnv... $ECHO_C" >&6
24612 if test "${ac_cv_lib_SQLAllocEnv_odbc+set}" = set; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 else
24615 ac_check_lib_save_LIBS=$LIBS
24616 LIBS="-lSQLAllocEnv $LIBS"
24617 cat >conftest.$ac_ext <<_ACEOF
24618 #line $LINENO "configure"
24619 /* confdefs.h. */
24620 _ACEOF
24621 cat confdefs.h >>conftest.$ac_ext
24622 cat >>conftest.$ac_ext <<_ACEOF
24623 /* end confdefs.h. */
24624
24625 /* Override any gcc2 internal prototype to avoid an error. */
24626 #ifdef __cplusplus
24627 extern "C"
24628 #endif
24629 /* We use char because int might match the return type of a gcc2
24630 builtin and then its argument prototype would still apply. */
24631 char odbc ();
24632 int
24633 main ()
24634 {
24635 odbc ();
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 rm -f conftest.$ac_objext conftest$ac_exeext
24641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24642 (eval $ac_link) 2>&5
24643 ac_status=$?
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -s conftest$ac_exeext'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; }; then
24652 ac_cv_lib_SQLAllocEnv_odbc=yes
24653 else
24654 echo "$as_me: failed program was:" >&5
24655 sed 's/^/| /' conftest.$ac_ext >&5
24656
24657 ac_cv_lib_SQLAllocEnv_odbc=no
24658 fi
24659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24660 LIBS=$ac_check_lib_save_LIBS
24661 fi
24662 echo "$as_me:$LINENO: result: $ac_cv_lib_SQLAllocEnv_odbc" >&5
24663 echo "${ECHO_T}$ac_cv_lib_SQLAllocEnv_odbc" >&6
24664 if test $ac_cv_lib_SQLAllocEnv_odbc = yes; then
24665 ODBC_LINK=" -lodbc"
24666 fi
24667
24668
24669 fi
24670
24671
24672 fi
24673
24674 fi
24675 if test "x$ODBC_LINK" = "x" ; then
24676 if test "$wxUSE_ODBC" = "sys" ; then
24677 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
24678 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
24679 { (exit 1); exit 1; }; }
24680 else
24681 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
24682 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
24683 wxUSE_ODBC=builtin
24684 fi
24685 else
24686 wxUSE_ODBC=sys
24687 fi
24688 fi
24689 if test "$wxUSE_ODBC" != "no" ; then
24690 cat >>confdefs.h <<\_ACEOF
24691 #define wxUSE_ODBC 1
24692 _ACEOF
24693
24694 if test "$wxUSE_ODBC" = "builtin" ; then
24695 cat >>confdefs.h <<\_ACEOF
24696 #define wxUSE_BUILTIN_IODBC 1
24697 _ACEOF
24698
24699 fi
24700 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
24701
24702 WXODBCFLAG="-D_IODBC_"
24703 fi
24704 fi
24705
24706 if test "$wxUSE_REGEX" = "builtin" ; then
24707 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
24708 fi
24709 if test "$wxUSE_ZLIB" = "builtin" ; then
24710 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
24711 fi
24712
24713
24714 USE_OPENGL=0
24715 if test "$wxUSE_OPENGL" = "yes"; then
24716 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
24717 OPENGL_LIBS="-framework OpenGL -framework AGL"
24718 elif test "$wxUSE_MSW" = 1; then
24719 OPENGL_LIBS="-lopengl32 -lglu32"
24720 else
24721
24722
24723 ac_find_includes=
24724 for ac_dir in $SEARCH_INCLUDE /usr/include;
24725 do
24726 if test -f "$ac_dir/GL/gl.h"; then
24727 ac_find_includes=$ac_dir
24728 break
24729 fi
24730 done
24731
24732 if test "$ac_find_includes" != "" ; then
24733 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
24734 echo "${ECHO_T}found in $ac_find_includes" >&6
24735
24736 if test "x$ac_find_includes" = "x/usr/include"; then
24737 ac_path_to_include=""
24738 else
24739 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
24740 result=$?
24741 if test $result = 0; then
24742 ac_path_to_include=""
24743 else
24744 ac_path_to_include=" -I$ac_find_includes"
24745 fi
24746 fi
24747
24748 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
24749 fi
24750
24751 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24752 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24753 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24754 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 fi
24757 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24758 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24759 else
24760 # Is the header compilable?
24761 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
24762 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
24763 cat >conftest.$ac_ext <<_ACEOF
24764 #line $LINENO "configure"
24765 /* confdefs.h. */
24766 _ACEOF
24767 cat confdefs.h >>conftest.$ac_ext
24768 cat >>conftest.$ac_ext <<_ACEOF
24769 /* end confdefs.h. */
24770 $ac_includes_default
24771 #include <GL/gl.h>
24772 _ACEOF
24773 rm -f conftest.$ac_objext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24775 (eval $ac_compile) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try='test -s conftest.$ac_objext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24782 ac_status=$?
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 ac_header_compiler=yes
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 ac_header_compiler=no
24791 fi
24792 rm -f conftest.$ac_objext conftest.$ac_ext
24793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24794 echo "${ECHO_T}$ac_header_compiler" >&6
24795
24796 # Is the header present?
24797 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
24798 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
24799 cat >conftest.$ac_ext <<_ACEOF
24800 #line $LINENO "configure"
24801 /* confdefs.h. */
24802 _ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 #include <GL/gl.h>
24807 _ACEOF
24808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24810 ac_status=$?
24811 grep -v '^ *+' conftest.er1 >conftest.err
24812 rm -f conftest.er1
24813 cat conftest.err >&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); } >/dev/null; then
24816 if test -s conftest.err; then
24817 ac_cpp_err=$ac_c_preproc_warn_flag
24818 else
24819 ac_cpp_err=
24820 fi
24821 else
24822 ac_cpp_err=yes
24823 fi
24824 if test -z "$ac_cpp_err"; then
24825 ac_header_preproc=yes
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24829
24830 ac_header_preproc=no
24831 fi
24832 rm -f conftest.err conftest.$ac_ext
24833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24834 echo "${ECHO_T}$ac_header_preproc" >&6
24835
24836 # So? What about this header?
24837 case $ac_header_compiler:$ac_header_preproc in
24838 yes:no )
24839 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
24840 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24841 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24842 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24843 (
24844 cat <<\_ASBOX
24845 ## ------------------------------------ ##
24846 ## Report this to bug-autoconf@gnu.org. ##
24847 ## ------------------------------------ ##
24848 _ASBOX
24849 ) |
24850 sed "s/^/$as_me: WARNING: /" >&2
24851 ;;
24852 no:yes )
24853 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
24854 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
24855 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
24856 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
24857 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
24858 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
24859 (
24860 cat <<\_ASBOX
24861 ## ------------------------------------ ##
24862 ## Report this to bug-autoconf@gnu.org. ##
24863 ## ------------------------------------ ##
24864 _ASBOX
24865 ) |
24866 sed "s/^/$as_me: WARNING: /" >&2
24867 ;;
24868 esac
24869 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
24870 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
24871 if test "${ac_cv_header_GL_gl_h+set}" = set; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 ac_cv_header_GL_gl_h=$ac_header_preproc
24875 fi
24876 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
24877 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
24878
24879 fi
24880 if test $ac_cv_header_GL_gl_h = yes; then
24881
24882 found_gl=0
24883
24884 echo "$as_me:$LINENO: checking for -lGL" >&5
24885 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
24886
24887 ac_find_libraries=
24888 for ac_dir in $SEARCH_LIB /usr/lib;
24889 do
24890 for ac_extension in a so sl dylib; do
24891 if test -f "$ac_dir/libGL.$ac_extension"; then
24892 ac_find_libraries=$ac_dir
24893 break 2
24894 fi
24895 done
24896 done
24897
24898 if test "$ac_find_libraries" != "" ; then
24899
24900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24901 result=$?
24902 if test $result = 0; then
24903 ac_path_to_link=""
24904 else
24905 ac_path_to_link=" -L$ac_find_libraries"
24906 fi
24907
24908 if test "$ac_path_to_link" != " -L/usr/lib" ; then
24909 LDFLAGS_GL="$ac_path_to_link"
24910 fi
24911
24912
24913 ac_find_libraries=
24914 for ac_dir in $SEARCH_LIB /usr/lib;
24915 do
24916 for ac_extension in a so sl dylib; do
24917 if test -f "$ac_dir/libGLU.$ac_extension"; then
24918 ac_find_libraries=$ac_dir
24919 break 2
24920 fi
24921 done
24922 done
24923
24924 if test "$ac_find_libraries" != "" ; then
24925
24926 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24927 result=$?
24928 if test $result = 0; then
24929 ac_path_to_link=""
24930 else
24931 ac_path_to_link=" -L$ac_find_libraries"
24932 fi
24933
24934 if test "$ac_path_to_link" != " -L/usr/lib" -a \
24935 "$ac_path_to_link" != "$LDFLAGS_GL"; then
24936 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
24937 fi
24938
24939 found_gl=1
24940 OPENGL_LIBS="-lGL -lGLU"
24941 echo "$as_me:$LINENO: result: yes" >&5
24942 echo "${ECHO_T}yes" >&6
24943 fi
24944 fi
24945
24946 if test "$found_gl" != 1; then
24947 echo "$as_me:$LINENO: result: no" >&5
24948 echo "${ECHO_T}no" >&6
24949 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
24950 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
24951
24952 ac_find_libraries=
24953 for ac_dir in $SEARCH_LIB /usr/lib;
24954 do
24955 for ac_extension in a so sl dylib; do
24956 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
24957 ac_find_libraries=$ac_dir
24958 break 2
24959 fi
24960 done
24961 done
24962
24963 if test "$ac_find_libraries" != "" ; then
24964
24965 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
24966 result=$?
24967 if test $result = 0; then
24968 ac_path_to_link=""
24969 else
24970 ac_path_to_link=" -L$ac_find_libraries"
24971 fi
24972
24973 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
24974 OPENGL_LIBS="-lMesaGL -lMesaGLU"
24975 echo "$as_me:$LINENO: result: yes" >&5
24976 echo "${ECHO_T}yes" >&6
24977 else
24978 echo "$as_me:$LINENO: result: no" >&5
24979 echo "${ECHO_T}no" >&6
24980 fi
24981 fi
24982
24983 fi
24984
24985
24986
24987 if test "x$OPENGL_LIBS" = "x"; then
24988 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
24989 echo "$as_me: error: OpenGL libraries not available" >&2;}
24990 { (exit 1); exit 1; }; }
24991 fi
24992 fi
24993
24994 if test "$wxUSE_OPENGL" = "yes"; then
24995 USE_OPENGL=1
24996 cat >>confdefs.h <<\_ACEOF
24997 #define wxUSE_OPENGL 1
24998 _ACEOF
24999
25000 cat >>confdefs.h <<\_ACEOF
25001 #define wxUSE_GLCANVAS 1
25002 _ACEOF
25003
25004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
25005 fi
25006 fi
25007
25008 if test -z "$TOOLKIT_VPATH" ; then
25009 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
25010 fi
25011
25012 if test -n "$TOOLKIT" ; then
25013 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
25014 fi
25015
25016 UNICODE=0
25017 lib_unicode_suffix=
25018 if test "$wxUSE_UNICODE" = "yes"; then
25019 lib_unicode_suffix=u
25020 UNICODE=1
25021 fi
25022
25023 lib_debug_suffix=
25024 DEBUG_FLAG=0
25025 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
25026 lib_debug_suffix=d
25027 DEBUG_FLAG=1
25028 fi
25029
25030 DEBUG_INFO=0
25031 if test "$wxUSE_DEBUG_INFO" = "yes"; then
25032 DEBUG_INFO=1
25033 fi
25034
25035 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
25036
25037 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
25038 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
25039
25040 if test "$cross_compiling" = "yes"; then
25041 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
25042 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
25043 HOST_SUFFIX="-${host_alias}"
25044 fi
25045
25046 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
25047 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
25048 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
25049 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
25050
25051 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25052 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
25053
25054 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
25055 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25056 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
25057 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25058
25059 case "${host}" in
25060 *-*-cygwin* | *-*-mingw32* )
25061 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
25062 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25063 ;;
25064
25065 *-*-darwin* )
25066
25067 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25068 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
25069
25070 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
25071 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
25072 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
25073 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
25074
25075 if test "$wxUSE_MAC" = 1; then
25076 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
25077 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
25078 fi
25079 ;;
25080 esac
25081
25082 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
25083 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
25084
25085 WXCONFIG_LIBS="-l${WX_LIBRARY}"
25086 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
25087
25088 if test "$wxUSE_OPENGL" = "yes"; then
25089 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
25090 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
25091 fi
25092
25093
25094
25095 if test "$wxUSE_SHARED" = "yes"; then
25096 case "${host}" in
25097 *-pc-os2_emx | *-pc-os2-emx | \
25098 *-pc-msdosdjgpp )
25099 wxUSE_SHARED=no
25100 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
25101 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
25102 ;;
25103 esac
25104 fi
25105
25106 SHARED=0
25107 if test "$wxUSE_SHARED" = "yes"; then
25108 SHARED=1
25109
25110
25111 found_versioning=no
25112
25113
25114 if test $found_versioning = no ; then
25115 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
25116 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
25117 if test "${wx_cv_version_script+set}" = set; then
25118 echo $ECHO_N "(cached) $ECHO_C" >&6
25119 else
25120
25121 echo "VER_1 { *; };" >conftest.sym
25122 echo "int main() { return 0; }" >conftest.cpp
25123
25124 if { ac_try='
25125 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
25126 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
25127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128 (eval $ac_try) 2>&5
25129 ac_status=$?
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); }; } ; then
25132 if test -s conftest.stderr ; then
25133 wx_cv_version_script=no
25134 else
25135 wx_cv_version_script=yes
25136 fi
25137 else
25138 wx_cv_version_script=no
25139 fi
25140 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
25141
25142 fi
25143 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
25144 echo "${ECHO_T}$wx_cv_version_script" >&6
25145 if test $wx_cv_version_script = yes ; then
25146 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
25147 fi
25148 fi
25149
25150
25151 case "${host}" in
25152 *-*-linux* | *-*-gnu* )
25153 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25154 ;;
25155
25156 *-*-solaris2* )
25157 if test "$GCC" = yes ; then
25158 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
25159
25160 saveLdflags="$LDFLAGS"
25161 LDFLAGS="$saveLdflags -Wl,-rpath,/"
25162 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
25163 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
25164 cat >conftest.$ac_ext <<_ACEOF
25165 #line $LINENO "configure"
25166 /* confdefs.h. */
25167 _ACEOF
25168 cat confdefs.h >>conftest.$ac_ext
25169 cat >>conftest.$ac_ext <<_ACEOF
25170 /* end confdefs.h. */
25171
25172 int
25173 main ()
25174 {
25175
25176 ;
25177 return 0;
25178 }
25179 _ACEOF
25180 rm -f conftest.$ac_objext conftest$ac_exeext
25181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25182 (eval $ac_link) 2>&5
25183 ac_status=$?
25184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25185 (exit $ac_status); } &&
25186 { ac_try='test -s conftest$ac_exeext'
25187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25188 (eval $ac_try) 2>&5
25189 ac_status=$?
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); }; }; then
25192
25193 echo "$as_me:$LINENO: result: yes" >&5
25194 echo "${ECHO_T}yes" >&6
25195 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
25196
25197 else
25198 echo "$as_me: failed program was:" >&5
25199 sed 's/^/| /' conftest.$ac_ext >&5
25200
25201
25202 echo "$as_me:$LINENO: result: no" >&5
25203 echo "${ECHO_T}no" >&6
25204 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
25205 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
25206 LDFLAGS="$saveLdflags -Wl,-R,/"
25207 cat >conftest.$ac_ext <<_ACEOF
25208 #line $LINENO "configure"
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214
25215 int
25216 main ()
25217 {
25218
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext conftest$ac_exeext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25225 (eval $ac_link) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); } &&
25229 { ac_try='test -s conftest$ac_exeext'
25230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25231 (eval $ac_try) 2>&5
25232 ac_status=$?
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); }; }; then
25235
25236 echo "$as_me:$LINENO: result: yes" >&5
25237 echo "${ECHO_T}yes" >&6
25238 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
25239 else
25240 echo "$as_me: failed program was:" >&5
25241 sed 's/^/| /' conftest.$ac_ext >&5
25242
25243
25244 echo "$as_me:$LINENO: result: no" >&5
25245 echo "${ECHO_T}no" >&6
25246
25247 fi
25248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25249
25250 fi
25251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25252 LDFLAGS="$saveLdflags"
25253 else
25254 SHARED_LD="${CXX} -G -o"
25255 PIC_FLAG="-KPIC"
25256 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
25257 fi
25258 ;;
25259
25260 powerpc-*-darwin* )
25261 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
25262 cat <<EOF >change-install-names
25263 #!/bin/sh
25264 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
25265 inst_cmd="install_name_tool "
25266 for i in \${libnames} ; do
25267 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
25268 done
25269 \${inst_cmd} \${3}
25270 EOF
25271 chmod +x change-install-names
25272 ;;
25273
25274 esac
25275
25276 if test "x$WX_TARGET_LIBRARY" = "x"; then
25277 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
25278 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
25279 fi
25280
25281 WX_TARGET_LIBRARY_TYPE="so"
25282 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
25283 fi
25284
25285 if test "$wxUSE_SHARED" = "no"; then
25286
25287 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
25288 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25289 fi
25290
25291 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
25292 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
25293 fi
25294
25295 if test "$wxUSE_OPENGL" = "yes"; then
25296 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
25297 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
25298 else
25299 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
25300 fi
25301
25302 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
25303 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
25304
25305 WX_TARGET_LIBRARY_TYPE="a"
25306 INSTALL_LIBRARY='$(INSTALL_DATA)'
25307
25308 STATIC_FLAG="yes"
25309 else
25310 STATIC_FLAG="no"
25311 fi
25312
25313 MACRESCOMP="@#"
25314 MACSETFILE="@#"
25315 MACRESWXCONFIG="#"
25316 if test "$wxUSE_MAC" = 1; then
25317 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
25318 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
25319 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
25320 # Extract the first word of "Rez", so it can be a program name with args.
25321 set dummy Rez; ac_word=$2
25322 echo "$as_me:$LINENO: checking for $ac_word" >&5
25323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25324 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25325 echo $ECHO_N "(cached) $ECHO_C" >&6
25326 else
25327 if test -n "$RESCOMP"; then
25328 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25329 else
25330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25331 for as_dir in $PATH
25332 do
25333 IFS=$as_save_IFS
25334 test -z "$as_dir" && as_dir=.
25335 for ac_exec_ext in '' $ac_executable_extensions; do
25336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25337 ac_cv_prog_RESCOMP="Rez"
25338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25339 break 2
25340 fi
25341 done
25342 done
25343
25344 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25345 fi
25346 fi
25347 RESCOMP=$ac_cv_prog_RESCOMP
25348 if test -n "$RESCOMP"; then
25349 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25350 echo "${ECHO_T}$RESCOMP" >&6
25351 else
25352 echo "$as_me:$LINENO: result: no" >&5
25353 echo "${ECHO_T}no" >&6
25354 fi
25355
25356 # Extract the first word of "DeRez", so it can be a program name with args.
25357 set dummy DeRez; ac_word=$2
25358 echo "$as_me:$LINENO: checking for $ac_word" >&5
25359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25360 if test "${ac_cv_prog_DEREZ+set}" = set; then
25361 echo $ECHO_N "(cached) $ECHO_C" >&6
25362 else
25363 if test -n "$DEREZ"; then
25364 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25365 else
25366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25367 for as_dir in $PATH
25368 do
25369 IFS=$as_save_IFS
25370 test -z "$as_dir" && as_dir=.
25371 for ac_exec_ext in '' $ac_executable_extensions; do
25372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25373 ac_cv_prog_DEREZ="DeRez"
25374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25375 break 2
25376 fi
25377 done
25378 done
25379
25380 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25381 fi
25382 fi
25383 DEREZ=$ac_cv_prog_DEREZ
25384 if test -n "$DEREZ"; then
25385 echo "$as_me:$LINENO: result: $DEREZ" >&5
25386 echo "${ECHO_T}$DEREZ" >&6
25387 else
25388 echo "$as_me:$LINENO: result: no" >&5
25389 echo "${ECHO_T}no" >&6
25390 fi
25391
25392 # Extract the first word of "SetFile", so it can be a program name with args.
25393 set dummy SetFile; ac_word=$2
25394 echo "$as_me:$LINENO: checking for $ac_word" >&5
25395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25396 if test "${ac_cv_prog_SETFILE+set}" = set; then
25397 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 else
25399 if test -n "$SETFILE"; then
25400 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25401 else
25402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25403 for as_dir in $PATH
25404 do
25405 IFS=$as_save_IFS
25406 test -z "$as_dir" && as_dir=.
25407 for ac_exec_ext in '' $ac_executable_extensions; do
25408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25409 ac_cv_prog_SETFILE="SetFile"
25410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25411 break 2
25412 fi
25413 done
25414 done
25415
25416 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25417 fi
25418 fi
25419 SETFILE=$ac_cv_prog_SETFILE
25420 if test -n "$SETFILE"; then
25421 echo "$as_me:$LINENO: result: $SETFILE" >&5
25422 echo "${ECHO_T}$SETFILE" >&6
25423 else
25424 echo "$as_me:$LINENO: result: no" >&5
25425 echo "${ECHO_T}no" >&6
25426 fi
25427
25428 MACOSX_BUNDLE="bundle"
25429 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
25430 MACSETFILE="\$(SETFILE)"
25431 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25432 elif test "$wxUSE_COCOA" = 1; then
25433 # Extract the first word of "Rez", so it can be a program name with args.
25434 set dummy Rez; ac_word=$2
25435 echo "$as_me:$LINENO: checking for $ac_word" >&5
25436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25437 if test "${ac_cv_prog_RESCOMP+set}" = set; then
25438 echo $ECHO_N "(cached) $ECHO_C" >&6
25439 else
25440 if test -n "$RESCOMP"; then
25441 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
25442 else
25443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25444 for as_dir in $PATH
25445 do
25446 IFS=$as_save_IFS
25447 test -z "$as_dir" && as_dir=.
25448 for ac_exec_ext in '' $ac_executable_extensions; do
25449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25450 ac_cv_prog_RESCOMP="Rez"
25451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25452 break 2
25453 fi
25454 done
25455 done
25456
25457 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
25458 fi
25459 fi
25460 RESCOMP=$ac_cv_prog_RESCOMP
25461 if test -n "$RESCOMP"; then
25462 echo "$as_me:$LINENO: result: $RESCOMP" >&5
25463 echo "${ECHO_T}$RESCOMP" >&6
25464 else
25465 echo "$as_me:$LINENO: result: no" >&5
25466 echo "${ECHO_T}no" >&6
25467 fi
25468
25469 # Extract the first word of "DeRez", so it can be a program name with args.
25470 set dummy DeRez; ac_word=$2
25471 echo "$as_me:$LINENO: checking for $ac_word" >&5
25472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25473 if test "${ac_cv_prog_DEREZ+set}" = set; then
25474 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 else
25476 if test -n "$DEREZ"; then
25477 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
25478 else
25479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25480 for as_dir in $PATH
25481 do
25482 IFS=$as_save_IFS
25483 test -z "$as_dir" && as_dir=.
25484 for ac_exec_ext in '' $ac_executable_extensions; do
25485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25486 ac_cv_prog_DEREZ="DeRez"
25487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25488 break 2
25489 fi
25490 done
25491 done
25492
25493 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
25494 fi
25495 fi
25496 DEREZ=$ac_cv_prog_DEREZ
25497 if test -n "$DEREZ"; then
25498 echo "$as_me:$LINENO: result: $DEREZ" >&5
25499 echo "${ECHO_T}$DEREZ" >&6
25500 else
25501 echo "$as_me:$LINENO: result: no" >&5
25502 echo "${ECHO_T}no" >&6
25503 fi
25504
25505 # Extract the first word of "SetFile", so it can be a program name with args.
25506 set dummy SetFile; ac_word=$2
25507 echo "$as_me:$LINENO: checking for $ac_word" >&5
25508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25509 if test "${ac_cv_prog_SETFILE+set}" = set; then
25510 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 else
25512 if test -n "$SETFILE"; then
25513 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
25514 else
25515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25516 for as_dir in $PATH
25517 do
25518 IFS=$as_save_IFS
25519 test -z "$as_dir" && as_dir=.
25520 for ac_exec_ext in '' $ac_executable_extensions; do
25521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25522 ac_cv_prog_SETFILE="SetFile"
25523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25524 break 2
25525 fi
25526 done
25527 done
25528
25529 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
25530 fi
25531 fi
25532 SETFILE=$ac_cv_prog_SETFILE
25533 if test -n "$SETFILE"; then
25534 echo "$as_me:$LINENO: result: $SETFILE" >&5
25535 echo "${ECHO_T}$SETFILE" >&6
25536 else
25537 echo "$as_me:$LINENO: result: no" >&5
25538 echo "${ECHO_T}no" >&6
25539 fi
25540
25541 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
25542 MACSETFILE="\$(SETFILE)"
25543 MACRESWXCONFIG="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
25544 else
25545 if test "$wxUSE_PM" = 1; then
25546 MACRESCOMP="emxbind -ep"
25547 fi
25548 fi
25549
25550
25551 echo "$as_me:$LINENO: checking for mode_t" >&5
25552 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
25553 if test "${ac_cv_type_mode_t+set}" = set; then
25554 echo $ECHO_N "(cached) $ECHO_C" >&6
25555 else
25556 cat >conftest.$ac_ext <<_ACEOF
25557 #line $LINENO "configure"
25558 /* confdefs.h. */
25559 _ACEOF
25560 cat confdefs.h >>conftest.$ac_ext
25561 cat >>conftest.$ac_ext <<_ACEOF
25562 /* end confdefs.h. */
25563 $ac_includes_default
25564 int
25565 main ()
25566 {
25567 if ((mode_t *) 0)
25568 return 0;
25569 if (sizeof (mode_t))
25570 return 0;
25571 ;
25572 return 0;
25573 }
25574 _ACEOF
25575 rm -f conftest.$ac_objext
25576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25577 (eval $ac_compile) 2>&5
25578 ac_status=$?
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); } &&
25581 { ac_try='test -s conftest.$ac_objext'
25582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583 (eval $ac_try) 2>&5
25584 ac_status=$?
25585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586 (exit $ac_status); }; }; then
25587 ac_cv_type_mode_t=yes
25588 else
25589 echo "$as_me: failed program was:" >&5
25590 sed 's/^/| /' conftest.$ac_ext >&5
25591
25592 ac_cv_type_mode_t=no
25593 fi
25594 rm -f conftest.$ac_objext conftest.$ac_ext
25595 fi
25596 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
25597 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
25598 if test $ac_cv_type_mode_t = yes; then
25599 :
25600 else
25601
25602 cat >>confdefs.h <<_ACEOF
25603 #define mode_t int
25604 _ACEOF
25605
25606 fi
25607
25608 echo "$as_me:$LINENO: checking for off_t" >&5
25609 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
25610 if test "${ac_cv_type_off_t+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 else
25613 cat >conftest.$ac_ext <<_ACEOF
25614 #line $LINENO "configure"
25615 /* confdefs.h. */
25616 _ACEOF
25617 cat confdefs.h >>conftest.$ac_ext
25618 cat >>conftest.$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25620 $ac_includes_default
25621 int
25622 main ()
25623 {
25624 if ((off_t *) 0)
25625 return 0;
25626 if (sizeof (off_t))
25627 return 0;
25628 ;
25629 return 0;
25630 }
25631 _ACEOF
25632 rm -f conftest.$ac_objext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25634 (eval $ac_compile) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } &&
25638 { ac_try='test -s conftest.$ac_objext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25641 ac_status=$?
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_type_off_t=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ac_cv_type_off_t=no
25650 fi
25651 rm -f conftest.$ac_objext conftest.$ac_ext
25652 fi
25653 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
25654 echo "${ECHO_T}$ac_cv_type_off_t" >&6
25655 if test $ac_cv_type_off_t = yes; then
25656 :
25657 else
25658
25659 cat >>confdefs.h <<_ACEOF
25660 #define off_t long
25661 _ACEOF
25662
25663 fi
25664
25665 echo "$as_me:$LINENO: checking for pid_t" >&5
25666 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
25667 if test "${ac_cv_type_pid_t+set}" = set; then
25668 echo $ECHO_N "(cached) $ECHO_C" >&6
25669 else
25670 cat >conftest.$ac_ext <<_ACEOF
25671 #line $LINENO "configure"
25672 /* confdefs.h. */
25673 _ACEOF
25674 cat confdefs.h >>conftest.$ac_ext
25675 cat >>conftest.$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25677 $ac_includes_default
25678 int
25679 main ()
25680 {
25681 if ((pid_t *) 0)
25682 return 0;
25683 if (sizeof (pid_t))
25684 return 0;
25685 ;
25686 return 0;
25687 }
25688 _ACEOF
25689 rm -f conftest.$ac_objext
25690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25691 (eval $ac_compile) 2>&5
25692 ac_status=$?
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); } &&
25695 { ac_try='test -s conftest.$ac_objext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_cv_type_pid_t=yes
25702 else
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25705
25706 ac_cv_type_pid_t=no
25707 fi
25708 rm -f conftest.$ac_objext conftest.$ac_ext
25709 fi
25710 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
25711 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
25712 if test $ac_cv_type_pid_t = yes; then
25713 :
25714 else
25715
25716 cat >>confdefs.h <<_ACEOF
25717 #define pid_t int
25718 _ACEOF
25719
25720 fi
25721
25722 echo "$as_me:$LINENO: checking for size_t" >&5
25723 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
25724 if test "${ac_cv_type_size_t+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25726 else
25727 cat >conftest.$ac_ext <<_ACEOF
25728 #line $LINENO "configure"
25729 /* confdefs.h. */
25730 _ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25734 $ac_includes_default
25735 int
25736 main ()
25737 {
25738 if ((size_t *) 0)
25739 return 0;
25740 if (sizeof (size_t))
25741 return 0;
25742 ;
25743 return 0;
25744 }
25745 _ACEOF
25746 rm -f conftest.$ac_objext
25747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25748 (eval $ac_compile) 2>&5
25749 ac_status=$?
25750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25751 (exit $ac_status); } &&
25752 { ac_try='test -s conftest.$ac_objext'
25753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25754 (eval $ac_try) 2>&5
25755 ac_status=$?
25756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25757 (exit $ac_status); }; }; then
25758 ac_cv_type_size_t=yes
25759 else
25760 echo "$as_me: failed program was:" >&5
25761 sed 's/^/| /' conftest.$ac_ext >&5
25762
25763 ac_cv_type_size_t=no
25764 fi
25765 rm -f conftest.$ac_objext conftest.$ac_ext
25766 fi
25767 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
25768 echo "${ECHO_T}$ac_cv_type_size_t" >&6
25769 if test $ac_cv_type_size_t = yes; then
25770 :
25771 else
25772
25773 cat >>confdefs.h <<_ACEOF
25774 #define size_t unsigned
25775 _ACEOF
25776
25777 fi
25778
25779 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
25780 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
25781 if test "${ac_cv_type_uid_t+set}" = set; then
25782 echo $ECHO_N "(cached) $ECHO_C" >&6
25783 else
25784 cat >conftest.$ac_ext <<_ACEOF
25785 #line $LINENO "configure"
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 #include <sys/types.h>
25792
25793 _ACEOF
25794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25795 $EGREP "uid_t" >/dev/null 2>&1; then
25796 ac_cv_type_uid_t=yes
25797 else
25798 ac_cv_type_uid_t=no
25799 fi
25800 rm -f conftest*
25801
25802 fi
25803 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
25804 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
25805 if test $ac_cv_type_uid_t = no; then
25806
25807 cat >>confdefs.h <<\_ACEOF
25808 #define uid_t int
25809 _ACEOF
25810
25811
25812 cat >>confdefs.h <<\_ACEOF
25813 #define gid_t int
25814 _ACEOF
25815
25816 fi
25817
25818
25819
25820
25821 ac_ext=cc
25822 ac_cpp='$CXXCPP $CPPFLAGS'
25823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25826
25827 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
25828 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
25829 if test "${wx_cv_size_t_is_uint+set}" = set; then
25830 echo $ECHO_N "(cached) $ECHO_C" >&6
25831 else
25832
25833 cat >conftest.$ac_ext <<_ACEOF
25834 #line $LINENO "configure"
25835 /* confdefs.h. */
25836 _ACEOF
25837 cat confdefs.h >>conftest.$ac_ext
25838 cat >>conftest.$ac_ext <<_ACEOF
25839 /* end confdefs.h. */
25840 #include <stddef.h>
25841 int
25842 main ()
25843 {
25844
25845 return 0; }
25846
25847 struct Foo { void foo(size_t); void foo(unsigned int); };
25848
25849 int bar() {
25850
25851 ;
25852 return 0;
25853 }
25854 _ACEOF
25855 rm -f conftest.$ac_objext
25856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25857 (eval $ac_compile) 2>&5
25858 ac_status=$?
25859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25860 (exit $ac_status); } &&
25861 { ac_try='test -s conftest.$ac_objext'
25862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25863 (eval $ac_try) 2>&5
25864 ac_status=$?
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); }; }; then
25867 wx_cv_size_t_is_uint=no
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25871
25872 wx_cv_size_t_is_uint=yes
25873
25874 fi
25875 rm -f conftest.$ac_objext conftest.$ac_ext
25876
25877
25878 fi
25879 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
25880 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
25881
25882 if test "$wx_cv_size_t_is_uint" = "yes"; then
25883 cat >>confdefs.h <<\_ACEOF
25884 #define wxSIZE_T_IS_UINT 1
25885 _ACEOF
25886
25887 else
25888 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
25889 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
25890 if test "${wx_cv_size_t_is_ulong+set}" = set; then
25891 echo $ECHO_N "(cached) $ECHO_C" >&6
25892 else
25893 cat >conftest.$ac_ext <<_ACEOF
25894 #line $LINENO "configure"
25895 /* confdefs.h. */
25896 _ACEOF
25897 cat confdefs.h >>conftest.$ac_ext
25898 cat >>conftest.$ac_ext <<_ACEOF
25899 /* end confdefs.h. */
25900 #include <stddef.h>
25901 int
25902 main ()
25903 {
25904
25905 return 0; }
25906
25907 struct Foo { void foo(size_t); void foo(unsigned long); };
25908
25909 int bar() {
25910
25911 ;
25912 return 0;
25913 }
25914 _ACEOF
25915 rm -f conftest.$ac_objext
25916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25917 (eval $ac_compile) 2>&5
25918 ac_status=$?
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try='test -s conftest.$ac_objext'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; }; then
25927 wx_cv_size_t_is_ulong=no
25928 else
25929 echo "$as_me: failed program was:" >&5
25930 sed 's/^/| /' conftest.$ac_ext >&5
25931
25932 wx_cv_size_t_is_ulong=yes
25933
25934 fi
25935 rm -f conftest.$ac_objext conftest.$ac_ext
25936
25937 fi
25938 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
25939 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
25940
25941 if test "$wx_cv_size_t_is_ulong" = "yes"; then
25942 cat >>confdefs.h <<\_ACEOF
25943 #define wxSIZE_T_IS_ULONG 1
25944 _ACEOF
25945
25946 fi
25947 fi
25948
25949 ac_ext=c
25950 ac_cpp='$CPP $CPPFLAGS'
25951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25954
25955
25956
25957 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
25958 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
25959 if test "${wx_cv_struct_pw_gecos+set}" = set; then
25960 echo $ECHO_N "(cached) $ECHO_C" >&6
25961 else
25962
25963 cat >conftest.$ac_ext <<_ACEOF
25964 #line $LINENO "configure"
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970 #include <pwd.h>
25971 int
25972 main ()
25973 {
25974
25975 char *p;
25976 struct passwd *pw;
25977 p = pw->pw_gecos;
25978
25979 ;
25980 return 0;
25981 }
25982 _ACEOF
25983 rm -f conftest.$ac_objext
25984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25985 (eval $ac_compile) 2>&5
25986 ac_status=$?
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try='test -s conftest.$ac_objext'
25990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25991 (eval $ac_try) 2>&5
25992 ac_status=$?
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); }; }; then
25995
25996 wx_cv_struct_pw_gecos=yes
25997
25998 else
25999 echo "$as_me: failed program was:" >&5
26000 sed 's/^/| /' conftest.$ac_ext >&5
26001
26002
26003 wx_cv_struct_pw_gecos=no
26004
26005
26006 fi
26007 rm -f conftest.$ac_objext conftest.$ac_ext
26008
26009
26010 fi
26011 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
26012 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
26013
26014 if test "$wx_cv_struct_pw_gecos" = "yes"; then
26015 cat >>confdefs.h <<\_ACEOF
26016 #define HAVE_PW_GECOS 1
26017 _ACEOF
26018
26019 fi
26020
26021
26022 if test "$wx_cv_sizeof_wchar_t" != "0"; then
26023 cat >>confdefs.h <<\_ACEOF
26024 #define wxUSE_WCHAR_T 1
26025 _ACEOF
26026
26027
26028 WCSLEN_FOUND=0
26029 WCHAR_LINK=
26030
26031 for ac_func in wcslen
26032 do
26033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26034 echo "$as_me:$LINENO: checking for $ac_func" >&5
26035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26036 if eval "test \"\${$as_ac_var+set}\" = set"; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 else
26039 cat >conftest.$ac_ext <<_ACEOF
26040 #line $LINENO "configure"
26041 /* confdefs.h. */
26042 _ACEOF
26043 cat confdefs.h >>conftest.$ac_ext
26044 cat >>conftest.$ac_ext <<_ACEOF
26045 /* end confdefs.h. */
26046 /* System header to define __stub macros and hopefully few prototypes,
26047 which can conflict with char $ac_func (); below.
26048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26049 <limits.h> exists even on freestanding compilers. */
26050 #ifdef __STDC__
26051 # include <limits.h>
26052 #else
26053 # include <assert.h>
26054 #endif
26055 /* Override any gcc2 internal prototype to avoid an error. */
26056 #ifdef __cplusplus
26057 extern "C"
26058 {
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char $ac_func ();
26063 /* The GNU C library defines this for functions which it implements
26064 to always fail with ENOSYS. Some functions are actually named
26065 something starting with __ and the normal name is an alias. */
26066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26067 choke me
26068 #else
26069 char (*f) () = $ac_func;
26070 #endif
26071 #ifdef __cplusplus
26072 }
26073 #endif
26074
26075 int
26076 main ()
26077 {
26078 return f != $ac_func;
26079 ;
26080 return 0;
26081 }
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085 (eval $ac_link) 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); } &&
26089 { ac_try='test -s conftest$ac_exeext'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; }; then
26095 eval "$as_ac_var=yes"
26096 else
26097 echo "$as_me: failed program was:" >&5
26098 sed 's/^/| /' conftest.$ac_ext >&5
26099
26100 eval "$as_ac_var=no"
26101 fi
26102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26103 fi
26104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26106 if test `eval echo '${'$as_ac_var'}'` = yes; then
26107 cat >>confdefs.h <<_ACEOF
26108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26109 _ACEOF
26110 WCSLEN_FOUND=1
26111 fi
26112 done
26113
26114
26115 if test "$WCSLEN_FOUND" = 0; then
26116 if test "$TOOLKIT" = "MSW"; then
26117 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
26118 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
26119 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
26120 echo $ECHO_N "(cached) $ECHO_C" >&6
26121 else
26122 ac_check_lib_save_LIBS=$LIBS
26123 LIBS="-lmsvcrt $LIBS"
26124 cat >conftest.$ac_ext <<_ACEOF
26125 #line $LINENO "configure"
26126 /* confdefs.h. */
26127 _ACEOF
26128 cat confdefs.h >>conftest.$ac_ext
26129 cat >>conftest.$ac_ext <<_ACEOF
26130 /* end confdefs.h. */
26131
26132 /* Override any gcc2 internal prototype to avoid an error. */
26133 #ifdef __cplusplus
26134 extern "C"
26135 #endif
26136 /* We use char because int might match the return type of a gcc2
26137 builtin and then its argument prototype would still apply. */
26138 char wcslen ();
26139 int
26140 main ()
26141 {
26142 wcslen ();
26143 ;
26144 return 0;
26145 }
26146 _ACEOF
26147 rm -f conftest.$ac_objext conftest$ac_exeext
26148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26149 (eval $ac_link) 2>&5
26150 ac_status=$?
26151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26152 (exit $ac_status); } &&
26153 { ac_try='test -s conftest$ac_exeext'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26156 ac_status=$?
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; }; then
26159 ac_cv_lib_msvcrt_wcslen=yes
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 ac_cv_lib_msvcrt_wcslen=no
26165 fi
26166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26167 LIBS=$ac_check_lib_save_LIBS
26168 fi
26169 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
26170 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
26171 if test $ac_cv_lib_msvcrt_wcslen = yes; then
26172 WCHAR_OK=1
26173 fi
26174
26175 else
26176 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
26177 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
26178 if test "${ac_cv_lib_w_wcslen+set}" = set; then
26179 echo $ECHO_N "(cached) $ECHO_C" >&6
26180 else
26181 ac_check_lib_save_LIBS=$LIBS
26182 LIBS="-lw $LIBS"
26183 cat >conftest.$ac_ext <<_ACEOF
26184 #line $LINENO "configure"
26185 /* confdefs.h. */
26186 _ACEOF
26187 cat confdefs.h >>conftest.$ac_ext
26188 cat >>conftest.$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26190
26191 /* Override any gcc2 internal prototype to avoid an error. */
26192 #ifdef __cplusplus
26193 extern "C"
26194 #endif
26195 /* We use char because int might match the return type of a gcc2
26196 builtin and then its argument prototype would still apply. */
26197 char wcslen ();
26198 int
26199 main ()
26200 {
26201 wcslen ();
26202 ;
26203 return 0;
26204 }
26205 _ACEOF
26206 rm -f conftest.$ac_objext conftest$ac_exeext
26207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26208 (eval $ac_link) 2>&5
26209 ac_status=$?
26210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26211 (exit $ac_status); } &&
26212 { ac_try='test -s conftest$ac_exeext'
26213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26214 (eval $ac_try) 2>&5
26215 ac_status=$?
26216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26217 (exit $ac_status); }; }; then
26218 ac_cv_lib_w_wcslen=yes
26219 else
26220 echo "$as_me: failed program was:" >&5
26221 sed 's/^/| /' conftest.$ac_ext >&5
26222
26223 ac_cv_lib_w_wcslen=no
26224 fi
26225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26226 LIBS=$ac_check_lib_save_LIBS
26227 fi
26228 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
26229 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
26230 if test $ac_cv_lib_w_wcslen = yes; then
26231
26232 WCHAR_LINK=" -lw"
26233 WCSLEN_FOUND=1
26234
26235 fi
26236
26237 fi
26238 fi
26239
26240 if test "$WCSLEN_FOUND" = 1; then
26241 cat >>confdefs.h <<\_ACEOF
26242 #define HAVE_WCSLEN 1
26243 _ACEOF
26244
26245 fi
26246
26247
26248 for ac_func in wcsrtombs
26249 do
26250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26251 echo "$as_me:$LINENO: checking for $ac_func" >&5
26252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26253 if eval "test \"\${$as_ac_var+set}\" = set"; then
26254 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 else
26256 cat >conftest.$ac_ext <<_ACEOF
26257 #line $LINENO "configure"
26258 /* confdefs.h. */
26259 _ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 /* System header to define __stub macros and hopefully few prototypes,
26264 which can conflict with char $ac_func (); below.
26265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26266 <limits.h> exists even on freestanding compilers. */
26267 #ifdef __STDC__
26268 # include <limits.h>
26269 #else
26270 # include <assert.h>
26271 #endif
26272 /* Override any gcc2 internal prototype to avoid an error. */
26273 #ifdef __cplusplus
26274 extern "C"
26275 {
26276 #endif
26277 /* We use char because int might match the return type of a gcc2
26278 builtin and then its argument prototype would still apply. */
26279 char $ac_func ();
26280 /* The GNU C library defines this for functions which it implements
26281 to always fail with ENOSYS. Some functions are actually named
26282 something starting with __ and the normal name is an alias. */
26283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26284 choke me
26285 #else
26286 char (*f) () = $ac_func;
26287 #endif
26288 #ifdef __cplusplus
26289 }
26290 #endif
26291
26292 int
26293 main ()
26294 {
26295 return f != $ac_func;
26296 ;
26297 return 0;
26298 }
26299 _ACEOF
26300 rm -f conftest.$ac_objext conftest$ac_exeext
26301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26302 (eval $ac_link) 2>&5
26303 ac_status=$?
26304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26305 (exit $ac_status); } &&
26306 { ac_try='test -s conftest$ac_exeext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 eval "$as_ac_var=yes"
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26316
26317 eval "$as_ac_var=no"
26318 fi
26319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26320 fi
26321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26323 if test `eval echo '${'$as_ac_var'}'` = yes; then
26324 cat >>confdefs.h <<_ACEOF
26325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26326 _ACEOF
26327
26328 fi
26329 done
26330
26331 else
26332 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
26333 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
26334 fi
26335
26336
26337
26338 ac_ext=cc
26339 ac_cpp='$CXXCPP $CPPFLAGS'
26340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26343
26344
26345
26346 for ac_func in vsnprintf
26347 do
26348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26349 echo "$as_me:$LINENO: checking for $ac_func" >&5
26350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26351 if eval "test \"\${$as_ac_var+set}\" = set"; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26353 else
26354 cat >conftest.$ac_ext <<_ACEOF
26355 #line $LINENO "configure"
26356 /* confdefs.h. */
26357 _ACEOF
26358 cat confdefs.h >>conftest.$ac_ext
26359 cat >>conftest.$ac_ext <<_ACEOF
26360 /* end confdefs.h. */
26361 /* System header to define __stub macros and hopefully few prototypes,
26362 which can conflict with char $ac_func (); below.
26363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26364 <limits.h> exists even on freestanding compilers. */
26365 #ifdef __STDC__
26366 # include <limits.h>
26367 #else
26368 # include <assert.h>
26369 #endif
26370 /* Override any gcc2 internal prototype to avoid an error. */
26371 #ifdef __cplusplus
26372 extern "C"
26373 {
26374 #endif
26375 /* We use char because int might match the return type of a gcc2
26376 builtin and then its argument prototype would still apply. */
26377 char $ac_func ();
26378 /* The GNU C library defines this for functions which it implements
26379 to always fail with ENOSYS. Some functions are actually named
26380 something starting with __ and the normal name is an alias. */
26381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26382 choke me
26383 #else
26384 char (*f) () = $ac_func;
26385 #endif
26386 #ifdef __cplusplus
26387 }
26388 #endif
26389
26390 int
26391 main ()
26392 {
26393 return f != $ac_func;
26394 ;
26395 return 0;
26396 }
26397 _ACEOF
26398 rm -f conftest.$ac_objext conftest$ac_exeext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26400 (eval $ac_link) 2>&5
26401 ac_status=$?
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } &&
26404 { ac_try='test -s conftest$ac_exeext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26407 ac_status=$?
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 eval "$as_ac_var=yes"
26411 else
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26414
26415 eval "$as_ac_var=no"
26416 fi
26417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26418 fi
26419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26421 if test `eval echo '${'$as_ac_var'}'` = yes; then
26422 cat >>confdefs.h <<_ACEOF
26423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26424 _ACEOF
26425
26426 fi
26427 done
26428
26429
26430 if test "$ac_cv_func_vsnprintf" = "yes"; then
26431 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
26432 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
26433 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
26434 echo $ECHO_N "(cached) $ECHO_C" >&6
26435 else
26436
26437 cat >conftest.$ac_ext <<_ACEOF
26438 #line $LINENO "configure"
26439 /* confdefs.h. */
26440 _ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26444
26445 #include <stdio.h>
26446 #include <stdarg.h>
26447
26448 int
26449 main ()
26450 {
26451
26452 char *buf;
26453 va_list ap;
26454 vsnprintf(buf, 10u, "%s", ap);
26455
26456 ;
26457 return 0;
26458 }
26459 _ACEOF
26460 rm -f conftest.$ac_objext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26462 (eval $ac_compile) 2>&5
26463 ac_status=$?
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); } &&
26466 { ac_try='test -s conftest.$ac_objext'
26467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26468 (eval $ac_try) 2>&5
26469 ac_status=$?
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); }; }; then
26472 wx_cv_func_vsnprintf_decl=yes
26473 else
26474 echo "$as_me: failed program was:" >&5
26475 sed 's/^/| /' conftest.$ac_ext >&5
26476
26477 wx_cv_func_vsnprintf_decl=no
26478
26479 fi
26480 rm -f conftest.$ac_objext conftest.$ac_ext
26481
26482
26483 fi
26484 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
26485 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
26486
26487 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
26488 cat >>confdefs.h <<\_ACEOF
26489 #define HAVE_VSNPRINTF_DECL 1
26490 _ACEOF
26491
26492 fi
26493 fi
26494
26495 if test "$wxUSE_UNICODE" = yes; then
26496
26497
26498
26499 for ac_func in fputwc wprintf vswprintf
26500 do
26501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26502 echo "$as_me:$LINENO: checking for $ac_func" >&5
26503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26504 if eval "test \"\${$as_ac_var+set}\" = set"; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26506 else
26507 cat >conftest.$ac_ext <<_ACEOF
26508 #line $LINENO "configure"
26509 /* confdefs.h. */
26510 _ACEOF
26511 cat confdefs.h >>conftest.$ac_ext
26512 cat >>conftest.$ac_ext <<_ACEOF
26513 /* end confdefs.h. */
26514 /* System header to define __stub macros and hopefully few prototypes,
26515 which can conflict with char $ac_func (); below.
26516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26517 <limits.h> exists even on freestanding compilers. */
26518 #ifdef __STDC__
26519 # include <limits.h>
26520 #else
26521 # include <assert.h>
26522 #endif
26523 /* Override any gcc2 internal prototype to avoid an error. */
26524 #ifdef __cplusplus
26525 extern "C"
26526 {
26527 #endif
26528 /* We use char because int might match the return type of a gcc2
26529 builtin and then its argument prototype would still apply. */
26530 char $ac_func ();
26531 /* The GNU C library defines this for functions which it implements
26532 to always fail with ENOSYS. Some functions are actually named
26533 something starting with __ and the normal name is an alias. */
26534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26535 choke me
26536 #else
26537 char (*f) () = $ac_func;
26538 #endif
26539 #ifdef __cplusplus
26540 }
26541 #endif
26542
26543 int
26544 main ()
26545 {
26546 return f != $ac_func;
26547 ;
26548 return 0;
26549 }
26550 _ACEOF
26551 rm -f conftest.$ac_objext conftest$ac_exeext
26552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26553 (eval $ac_link) 2>&5
26554 ac_status=$?
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); } &&
26557 { ac_try='test -s conftest$ac_exeext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 eval "$as_ac_var=yes"
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26567
26568 eval "$as_ac_var=no"
26569 fi
26570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26571 fi
26572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26574 if test `eval echo '${'$as_ac_var'}'` = yes; then
26575 cat >>confdefs.h <<_ACEOF
26576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26577 _ACEOF
26578
26579 fi
26580 done
26581
26582
26583 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
26584 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
26585 cat >conftest.$ac_ext <<_ACEOF
26586 #line $LINENO "configure"
26587 /* confdefs.h. */
26588 _ACEOF
26589 cat confdefs.h >>conftest.$ac_ext
26590 cat >>conftest.$ac_ext <<_ACEOF
26591 /* end confdefs.h. */
26592 #include <wchar.h>
26593 int
26594 main ()
26595 {
26596 &_vsnwprintf;
26597 ;
26598 return 0;
26599 }
26600 _ACEOF
26601 rm -f conftest.$ac_objext
26602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26603 (eval $ac_compile) 2>&5
26604 ac_status=$?
26605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26606 (exit $ac_status); } &&
26607 { ac_try='test -s conftest.$ac_objext'
26608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26609 (eval $ac_try) 2>&5
26610 ac_status=$?
26611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26612 (exit $ac_status); }; }; then
26613 echo "$as_me:$LINENO: result: yes" >&5
26614 echo "${ECHO_T}yes" >&6
26615 cat >>confdefs.h <<\_ACEOF
26616 #define HAVE__VSNWPRINTF 1
26617 _ACEOF
26618
26619 else
26620 echo "$as_me: failed program was:" >&5
26621 sed 's/^/| /' conftest.$ac_ext >&5
26622
26623 echo "$as_me:$LINENO: result: no" >&5
26624 echo "${ECHO_T}no" >&6
26625 fi
26626 rm -f conftest.$ac_objext conftest.$ac_ext;
26627 fi
26628
26629 ac_ext=c
26630 ac_cpp='$CPP $CPPFLAGS'
26631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26634
26635
26636
26637
26638 if test "$TOOLKIT" != "MSW"; then
26639
26640
26641
26642
26643 ac_ext=cc
26644 ac_cpp='$CXXCPP $CPPFLAGS'
26645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26648
26649
26650
26651
26652 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
26653 if test "${with_libiconv_prefix+set}" = set; then
26654 withval="$with_libiconv_prefix"
26655
26656 for dir in `echo "$withval" | tr : ' '`; do
26657 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
26658 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
26659 done
26660
26661 fi;
26662
26663 echo "$as_me:$LINENO: checking for iconv" >&5
26664 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
26665 if test "${am_cv_func_iconv+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 else
26668
26669 am_cv_func_iconv="no, consider installing GNU libiconv"
26670 am_cv_lib_iconv=no
26671 cat >conftest.$ac_ext <<_ACEOF
26672 #line $LINENO "configure"
26673 /* confdefs.h. */
26674 _ACEOF
26675 cat confdefs.h >>conftest.$ac_ext
26676 cat >>conftest.$ac_ext <<_ACEOF
26677 /* end confdefs.h. */
26678 #include <stdlib.h>
26679 #include <iconv.h>
26680 int
26681 main ()
26682 {
26683 iconv_t cd = iconv_open("","");
26684 iconv(cd,NULL,NULL,NULL,NULL);
26685 iconv_close(cd);
26686 ;
26687 return 0;
26688 }
26689 _ACEOF
26690 rm -f conftest.$ac_objext conftest$ac_exeext
26691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26692 (eval $ac_link) 2>&5
26693 ac_status=$?
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try='test -s conftest$ac_exeext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26699 ac_status=$?
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 am_cv_func_iconv=yes
26703 else
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26706
26707 fi
26708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26709 if test "$am_cv_func_iconv" != yes; then
26710 am_save_LIBS="$LIBS"
26711 LIBS="$LIBS -liconv"
26712 cat >conftest.$ac_ext <<_ACEOF
26713 #line $LINENO "configure"
26714 /* confdefs.h. */
26715 _ACEOF
26716 cat confdefs.h >>conftest.$ac_ext
26717 cat >>conftest.$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26719 #include <stdlib.h>
26720 #include <iconv.h>
26721 int
26722 main ()
26723 {
26724 iconv_t cd = iconv_open("","");
26725 iconv(cd,NULL,NULL,NULL,NULL);
26726 iconv_close(cd);
26727 ;
26728 return 0;
26729 }
26730 _ACEOF
26731 rm -f conftest.$ac_objext conftest$ac_exeext
26732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26733 (eval $ac_link) 2>&5
26734 ac_status=$?
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); } &&
26737 { ac_try='test -s conftest$ac_exeext'
26738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739 (eval $ac_try) 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; }; then
26743 am_cv_lib_iconv=yes
26744 am_cv_func_iconv=yes
26745 else
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26748
26749 fi
26750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26751 LIBS="$am_save_LIBS"
26752 fi
26753
26754 fi
26755 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
26756 echo "${ECHO_T}$am_cv_func_iconv" >&6
26757 if test "$am_cv_func_iconv" = yes; then
26758
26759 cat >>confdefs.h <<\_ACEOF
26760 #define HAVE_ICONV 1
26761 _ACEOF
26762
26763 echo "$as_me:$LINENO: checking if iconv needs const" >&5
26764 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
26765 if test "${wx_cv_func_iconv_const+set}" = set; then
26766 echo $ECHO_N "(cached) $ECHO_C" >&6
26767 else
26768 cat >conftest.$ac_ext <<_ACEOF
26769 #line $LINENO "configure"
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775
26776 #include <stdlib.h>
26777 #include <iconv.h>
26778 extern
26779 #ifdef __cplusplus
26780 "C"
26781 #endif
26782 #if defined(__STDC__) || defined(__cplusplus)
26783 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26784 #else
26785 size_t iconv();
26786 #endif
26787
26788 int
26789 main ()
26790 {
26791
26792 ;
26793 return 0;
26794 }
26795 _ACEOF
26796 rm -f conftest.$ac_objext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26798 (eval $ac_compile) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } &&
26802 { ac_try='test -s conftest.$ac_objext'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26805 ac_status=$?
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; }; then
26808 wx_cv_func_iconv_const="no"
26809 else
26810 echo "$as_me: failed program was:" >&5
26811 sed 's/^/| /' conftest.$ac_ext >&5
26812
26813 wx_cv_func_iconv_const="yes"
26814
26815 fi
26816 rm -f conftest.$ac_objext conftest.$ac_ext
26817
26818 fi
26819 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
26820 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
26821
26822 iconv_const=
26823 if test "x$wx_cv_func_iconv_const" = "xyes"; then
26824 iconv_const="const"
26825 fi
26826
26827
26828 cat >>confdefs.h <<_ACEOF
26829 #define ICONV_CONST $iconv_const
26830 _ACEOF
26831
26832 fi
26833 LIBICONV=
26834 if test "$am_cv_lib_iconv" = yes; then
26835 LIBICONV="-liconv"
26836 fi
26837
26838
26839 LIBS="$LIBICONV $LIBS"
26840 ac_ext=c
26841 ac_cpp='$CPP $CPPFLAGS'
26842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26845
26846
26847 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
26848
26849 for ac_func in sigaction
26850 do
26851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26852 echo "$as_me:$LINENO: checking for $ac_func" >&5
26853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26854 if eval "test \"\${$as_ac_var+set}\" = set"; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26857 cat >conftest.$ac_ext <<_ACEOF
26858 #line $LINENO "configure"
26859 /* confdefs.h. */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h. */
26864 /* System header to define __stub macros and hopefully few prototypes,
26865 which can conflict with char $ac_func (); below.
26866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26867 <limits.h> exists even on freestanding compilers. */
26868 #ifdef __STDC__
26869 # include <limits.h>
26870 #else
26871 # include <assert.h>
26872 #endif
26873 /* Override any gcc2 internal prototype to avoid an error. */
26874 #ifdef __cplusplus
26875 extern "C"
26876 {
26877 #endif
26878 /* We use char because int might match the return type of a gcc2
26879 builtin and then its argument prototype would still apply. */
26880 char $ac_func ();
26881 /* The GNU C library defines this for functions which it implements
26882 to always fail with ENOSYS. Some functions are actually named
26883 something starting with __ and the normal name is an alias. */
26884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26885 choke me
26886 #else
26887 char (*f) () = $ac_func;
26888 #endif
26889 #ifdef __cplusplus
26890 }
26891 #endif
26892
26893 int
26894 main ()
26895 {
26896 return f != $ac_func;
26897 ;
26898 return 0;
26899 }
26900 _ACEOF
26901 rm -f conftest.$ac_objext conftest$ac_exeext
26902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26903 (eval $ac_link) 2>&5
26904 ac_status=$?
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); } &&
26907 { ac_try='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 eval "$as_ac_var=yes"
26914 else
26915 echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.$ac_ext >&5
26917
26918 eval "$as_ac_var=no"
26919 fi
26920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26921 fi
26922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26924 if test `eval echo '${'$as_ac_var'}'` = yes; then
26925 cat >>confdefs.h <<_ACEOF
26926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26927 _ACEOF
26928
26929 fi
26930 done
26931
26932
26933 if test "$ac_cv_func_sigaction" = "no"; then
26934 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
26935 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
26936 wxUSE_ON_FATAL_EXCEPTION=no
26937 fi
26938
26939 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
26940
26941
26942 ac_ext=cc
26943 ac_cpp='$CXXCPP $CPPFLAGS'
26944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26947
26948
26949 echo "$as_me:$LINENO: checking for sa_handler type" >&5
26950 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
26951 if test "${wx_cv_type_sa_handler+set}" = set; then
26952 echo $ECHO_N "(cached) $ECHO_C" >&6
26953 else
26954
26955 cat >conftest.$ac_ext <<_ACEOF
26956 #line $LINENO "configure"
26957 /* confdefs.h. */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962 #include <signal.h>
26963 int
26964 main ()
26965 {
26966
26967 extern void testSigHandler(int);
26968
26969 struct sigaction sa;
26970 sa.sa_handler = testSigHandler;
26971
26972 ;
26973 return 0;
26974 }
26975 _ACEOF
26976 rm -f conftest.$ac_objext
26977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26978 (eval $ac_compile) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); } &&
26982 { ac_try='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988
26989 wx_cv_type_sa_handler=int
26990
26991 else
26992 echo "$as_me: failed program was:" >&5
26993 sed 's/^/| /' conftest.$ac_ext >&5
26994
26995
26996 wx_cv_type_sa_handler=void
26997
26998 fi
26999 rm -f conftest.$ac_objext conftest.$ac_ext
27000
27001 fi
27002 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
27003 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
27004
27005 ac_ext=c
27006 ac_cpp='$CPP $CPPFLAGS'
27007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27010
27011
27012 cat >>confdefs.h <<_ACEOF
27013 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
27014 _ACEOF
27015
27016 fi
27017 fi
27018
27019
27020
27021 for ac_func in mkstemp mktemp
27022 do
27023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27024 echo "$as_me:$LINENO: checking for $ac_func" >&5
27025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27026 if eval "test \"\${$as_ac_var+set}\" = set"; then
27027 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 else
27029 cat >conftest.$ac_ext <<_ACEOF
27030 #line $LINENO "configure"
27031 /* confdefs.h. */
27032 _ACEOF
27033 cat confdefs.h >>conftest.$ac_ext
27034 cat >>conftest.$ac_ext <<_ACEOF
27035 /* end confdefs.h. */
27036 /* System header to define __stub macros and hopefully few prototypes,
27037 which can conflict with char $ac_func (); below.
27038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27039 <limits.h> exists even on freestanding compilers. */
27040 #ifdef __STDC__
27041 # include <limits.h>
27042 #else
27043 # include <assert.h>
27044 #endif
27045 /* Override any gcc2 internal prototype to avoid an error. */
27046 #ifdef __cplusplus
27047 extern "C"
27048 {
27049 #endif
27050 /* We use char because int might match the return type of a gcc2
27051 builtin and then its argument prototype would still apply. */
27052 char $ac_func ();
27053 /* The GNU C library defines this for functions which it implements
27054 to always fail with ENOSYS. Some functions are actually named
27055 something starting with __ and the normal name is an alias. */
27056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27057 choke me
27058 #else
27059 char (*f) () = $ac_func;
27060 #endif
27061 #ifdef __cplusplus
27062 }
27063 #endif
27064
27065 int
27066 main ()
27067 {
27068 return f != $ac_func;
27069 ;
27070 return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext conftest$ac_exeext
27074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27075 (eval $ac_link) 2>&5
27076 ac_status=$?
27077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27078 (exit $ac_status); } &&
27079 { ac_try='test -s conftest$ac_exeext'
27080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27081 (eval $ac_try) 2>&5
27082 ac_status=$?
27083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27084 (exit $ac_status); }; }; then
27085 eval "$as_ac_var=yes"
27086 else
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090 eval "$as_ac_var=no"
27091 fi
27092 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27093 fi
27094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27096 if test `eval echo '${'$as_ac_var'}'` = yes; then
27097 cat >>confdefs.h <<_ACEOF
27098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27099 _ACEOF
27100 break
27101 fi
27102 done
27103
27104
27105 echo "$as_me:$LINENO: checking for statfs" >&5
27106 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
27107 if test "${wx_cv_func_statfs+set}" = set; then
27108 echo $ECHO_N "(cached) $ECHO_C" >&6
27109 else
27110 cat >conftest.$ac_ext <<_ACEOF
27111 #line $LINENO "configure"
27112 /* confdefs.h. */
27113 _ACEOF
27114 cat confdefs.h >>conftest.$ac_ext
27115 cat >>conftest.$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27117
27118 #if defined(__BSD__)
27119 #include <sys/param.h>
27120 #include <sys/mount.h>
27121 #else
27122 #include <sys/vfs.h>
27123 #endif
27124
27125 int
27126 main ()
27127 {
27128
27129 long l;
27130 struct statfs fs;
27131 statfs("/", &fs);
27132 l = fs.f_bsize;
27133 l += fs.f_blocks;
27134 l += fs.f_bavail;
27135
27136 ;
27137 return 0;
27138 }
27139 _ACEOF
27140 rm -f conftest.$ac_objext
27141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27142 (eval $ac_compile) 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); } &&
27146 { ac_try='test -s conftest.$ac_objext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152
27153 wx_cv_func_statfs=yes
27154
27155 else
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27158
27159
27160 wx_cv_func_statfs=no
27161
27162
27163 fi
27164 rm -f conftest.$ac_objext conftest.$ac_ext
27165
27166 fi
27167 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
27168 echo "${ECHO_T}$wx_cv_func_statfs" >&6
27169
27170 if test "$wx_cv_func_statfs" = "yes"; then
27171 wx_cv_type_statvfs_t="struct statfs"
27172 cat >>confdefs.h <<\_ACEOF
27173 #define HAVE_STATFS 1
27174 _ACEOF
27175
27176 else
27177 echo "$as_me:$LINENO: checking for statvfs" >&5
27178 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
27179 if test "${wx_cv_func_statvfs+set}" = set; then
27180 echo $ECHO_N "(cached) $ECHO_C" >&6
27181 else
27182 cat >conftest.$ac_ext <<_ACEOF
27183 #line $LINENO "configure"
27184 /* confdefs.h. */
27185 _ACEOF
27186 cat confdefs.h >>conftest.$ac_ext
27187 cat >>conftest.$ac_ext <<_ACEOF
27188 /* end confdefs.h. */
27189
27190 #include <stddef.h>
27191 #include <sys/statvfs.h>
27192
27193 int
27194 main ()
27195 {
27196
27197 statvfs("/", NULL);
27198
27199 ;
27200 return 0;
27201 }
27202 _ACEOF
27203 rm -f conftest.$ac_objext
27204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27205 (eval $ac_compile) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try='test -s conftest.$ac_objext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27212 ac_status=$?
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 wx_cv_func_statvfs=yes
27216 else
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27219
27220 wx_cv_func_statvfs=no
27221
27222 fi
27223 rm -f conftest.$ac_objext conftest.$ac_ext
27224
27225 fi
27226 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
27227 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
27228
27229 if test "$wx_cv_func_statvfs" = "yes"; then
27230
27231
27232 ac_ext=cc
27233 ac_cpp='$CXXCPP $CPPFLAGS'
27234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27237
27238
27239 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
27240 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
27241 if test "${wx_cv_type_statvfs_t+set}" = set; then
27242 echo $ECHO_N "(cached) $ECHO_C" >&6
27243 else
27244 cat >conftest.$ac_ext <<_ACEOF
27245 #line $LINENO "configure"
27246 /* confdefs.h. */
27247 _ACEOF
27248 cat confdefs.h >>conftest.$ac_ext
27249 cat >>conftest.$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27251
27252 #include <sys/statvfs.h>
27253
27254 int
27255 main ()
27256 {
27257
27258 long l;
27259 statvfs_t fs;
27260 statvfs("/", &fs);
27261 l = fs.f_bsize;
27262 l += fs.f_blocks;
27263 l += fs.f_bavail;
27264
27265 ;
27266 return 0;
27267 }
27268 _ACEOF
27269 rm -f conftest.$ac_objext
27270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27271 (eval $ac_compile) 2>&5
27272 ac_status=$?
27273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27274 (exit $ac_status); } &&
27275 { ac_try='test -s conftest.$ac_objext'
27276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27277 (eval $ac_try) 2>&5
27278 ac_status=$?
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); }; }; then
27281 wx_cv_type_statvfs_t=statvfs_t
27282 else
27283 echo "$as_me: failed program was:" >&5
27284 sed 's/^/| /' conftest.$ac_ext >&5
27285
27286
27287 cat >conftest.$ac_ext <<_ACEOF
27288 #line $LINENO "configure"
27289 /* confdefs.h. */
27290 _ACEOF
27291 cat confdefs.h >>conftest.$ac_ext
27292 cat >>conftest.$ac_ext <<_ACEOF
27293 /* end confdefs.h. */
27294
27295 #include <sys/statvfs.h>
27296
27297 int
27298 main ()
27299 {
27300
27301 long l;
27302 struct statvfs fs;
27303 statvfs("/", &fs);
27304 l = fs.f_bsize;
27305 l += fs.f_blocks;
27306 l += fs.f_bavail;
27307
27308 ;
27309 return 0;
27310 }
27311 _ACEOF
27312 rm -f conftest.$ac_objext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27314 (eval $ac_compile) 2>&5
27315 ac_status=$?
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); } &&
27318 { ac_try='test -s conftest.$ac_objext'
27319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27320 (eval $ac_try) 2>&5
27321 ac_status=$?
27322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27323 (exit $ac_status); }; }; then
27324 wx_cv_type_statvfs_t="struct statvfs"
27325 else
27326 echo "$as_me: failed program was:" >&5
27327 sed 's/^/| /' conftest.$ac_ext >&5
27328
27329 wx_cv_type_statvfs_t="unknown"
27330
27331 fi
27332 rm -f conftest.$ac_objext conftest.$ac_ext
27333
27334
27335 fi
27336 rm -f conftest.$ac_objext conftest.$ac_ext
27337
27338 fi
27339 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
27340 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
27341
27342 ac_ext=c
27343 ac_cpp='$CPP $CPPFLAGS'
27344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27347
27348
27349 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27350 cat >>confdefs.h <<\_ACEOF
27351 #define HAVE_STATVFS 1
27352 _ACEOF
27353
27354 fi
27355 else
27356 wx_cv_type_statvfs_t="unknown"
27357 fi
27358 fi
27359
27360 if test "$wx_cv_type_statvfs_t" != "unknown"; then
27361 cat >>confdefs.h <<_ACEOF
27362 #define WX_STATFS_T $wx_cv_type_statvfs_t
27363 _ACEOF
27364
27365 else
27366 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
27367 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
27368 fi
27369
27370 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
27371
27372
27373 for ac_func in fcntl flock
27374 do
27375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27376 echo "$as_me:$LINENO: checking for $ac_func" >&5
27377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27378 if eval "test \"\${$as_ac_var+set}\" = set"; then
27379 echo $ECHO_N "(cached) $ECHO_C" >&6
27380 else
27381 cat >conftest.$ac_ext <<_ACEOF
27382 #line $LINENO "configure"
27383 /* confdefs.h. */
27384 _ACEOF
27385 cat confdefs.h >>conftest.$ac_ext
27386 cat >>conftest.$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* System header to define __stub macros and hopefully few prototypes,
27389 which can conflict with char $ac_func (); below.
27390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27391 <limits.h> exists even on freestanding compilers. */
27392 #ifdef __STDC__
27393 # include <limits.h>
27394 #else
27395 # include <assert.h>
27396 #endif
27397 /* Override any gcc2 internal prototype to avoid an error. */
27398 #ifdef __cplusplus
27399 extern "C"
27400 {
27401 #endif
27402 /* We use char because int might match the return type of a gcc2
27403 builtin and then its argument prototype would still apply. */
27404 char $ac_func ();
27405 /* The GNU C library defines this for functions which it implements
27406 to always fail with ENOSYS. Some functions are actually named
27407 something starting with __ and the normal name is an alias. */
27408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27409 choke me
27410 #else
27411 char (*f) () = $ac_func;
27412 #endif
27413 #ifdef __cplusplus
27414 }
27415 #endif
27416
27417 int
27418 main ()
27419 {
27420 return f != $ac_func;
27421 ;
27422 return 0;
27423 }
27424 _ACEOF
27425 rm -f conftest.$ac_objext conftest$ac_exeext
27426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27427 (eval $ac_link) 2>&5
27428 ac_status=$?
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } &&
27431 { ac_try='test -s conftest$ac_exeext'
27432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27433 (eval $ac_try) 2>&5
27434 ac_status=$?
27435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27436 (exit $ac_status); }; }; then
27437 eval "$as_ac_var=yes"
27438 else
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27441
27442 eval "$as_ac_var=no"
27443 fi
27444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27445 fi
27446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27448 if test `eval echo '${'$as_ac_var'}'` = yes; then
27449 cat >>confdefs.h <<_ACEOF
27450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27451 _ACEOF
27452 break
27453 fi
27454 done
27455
27456
27457 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
27458 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
27459 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
27460 wxUSE_SNGLINST_CHECKER=no
27461 fi
27462 fi
27463
27464
27465 for ac_func in timegm
27466 do
27467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27468 echo "$as_me:$LINENO: checking for $ac_func" >&5
27469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27470 if eval "test \"\${$as_ac_var+set}\" = set"; then
27471 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 else
27473 cat >conftest.$ac_ext <<_ACEOF
27474 #line $LINENO "configure"
27475 /* confdefs.h. */
27476 _ACEOF
27477 cat confdefs.h >>conftest.$ac_ext
27478 cat >>conftest.$ac_ext <<_ACEOF
27479 /* end confdefs.h. */
27480 /* System header to define __stub macros and hopefully few prototypes,
27481 which can conflict with char $ac_func (); below.
27482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27483 <limits.h> exists even on freestanding compilers. */
27484 #ifdef __STDC__
27485 # include <limits.h>
27486 #else
27487 # include <assert.h>
27488 #endif
27489 /* Override any gcc2 internal prototype to avoid an error. */
27490 #ifdef __cplusplus
27491 extern "C"
27492 {
27493 #endif
27494 /* We use char because int might match the return type of a gcc2
27495 builtin and then its argument prototype would still apply. */
27496 char $ac_func ();
27497 /* The GNU C library defines this for functions which it implements
27498 to always fail with ENOSYS. Some functions are actually named
27499 something starting with __ and the normal name is an alias. */
27500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27501 choke me
27502 #else
27503 char (*f) () = $ac_func;
27504 #endif
27505 #ifdef __cplusplus
27506 }
27507 #endif
27508
27509 int
27510 main ()
27511 {
27512 return f != $ac_func;
27513 ;
27514 return 0;
27515 }
27516 _ACEOF
27517 rm -f conftest.$ac_objext conftest$ac_exeext
27518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27519 (eval $ac_link) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } &&
27523 { ac_try='test -s conftest$ac_exeext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27526 ac_status=$?
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 eval "$as_ac_var=yes"
27530 else
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27533
27534 eval "$as_ac_var=no"
27535 fi
27536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27537 fi
27538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27540 if test `eval echo '${'$as_ac_var'}'` = yes; then
27541 cat >>confdefs.h <<_ACEOF
27542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27543 _ACEOF
27544
27545 fi
27546 done
27547
27548
27549
27550
27551 for ac_func in putenv setenv
27552 do
27553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27554 echo "$as_me:$LINENO: checking for $ac_func" >&5
27555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27556 if eval "test \"\${$as_ac_var+set}\" = set"; then
27557 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 else
27559 cat >conftest.$ac_ext <<_ACEOF
27560 #line $LINENO "configure"
27561 /* confdefs.h. */
27562 _ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27566 /* System header to define __stub macros and hopefully few prototypes,
27567 which can conflict with char $ac_func (); below.
27568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27569 <limits.h> exists even on freestanding compilers. */
27570 #ifdef __STDC__
27571 # include <limits.h>
27572 #else
27573 # include <assert.h>
27574 #endif
27575 /* Override any gcc2 internal prototype to avoid an error. */
27576 #ifdef __cplusplus
27577 extern "C"
27578 {
27579 #endif
27580 /* We use char because int might match the return type of a gcc2
27581 builtin and then its argument prototype would still apply. */
27582 char $ac_func ();
27583 /* The GNU C library defines this for functions which it implements
27584 to always fail with ENOSYS. Some functions are actually named
27585 something starting with __ and the normal name is an alias. */
27586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27587 choke me
27588 #else
27589 char (*f) () = $ac_func;
27590 #endif
27591 #ifdef __cplusplus
27592 }
27593 #endif
27594
27595 int
27596 main ()
27597 {
27598 return f != $ac_func;
27599 ;
27600 return 0;
27601 }
27602 _ACEOF
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27605 (eval $ac_link) 2>&5
27606 ac_status=$?
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); } &&
27609 { ac_try='test -s conftest$ac_exeext'
27610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27611 (eval $ac_try) 2>&5
27612 ac_status=$?
27613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614 (exit $ac_status); }; }; then
27615 eval "$as_ac_var=yes"
27616 else
27617 echo "$as_me: failed program was:" >&5
27618 sed 's/^/| /' conftest.$ac_ext >&5
27619
27620 eval "$as_ac_var=no"
27621 fi
27622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27623 fi
27624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27626 if test `eval echo '${'$as_ac_var'}'` = yes; then
27627 cat >>confdefs.h <<_ACEOF
27628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27629 _ACEOF
27630 break
27631 fi
27632 done
27633
27634
27635 HAVE_SOME_SLEEP_FUNC=0
27636 if test "$USE_BEOS" = 1; then
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_SLEEP 1
27639 _ACEOF
27640
27641 HAVE_SOME_SLEEP_FUNC=1
27642 fi
27643
27644 if test "$USE_DARWIN" = 1; then
27645 cat >>confdefs.h <<\_ACEOF
27646 #define HAVE_USLEEP 1
27647 _ACEOF
27648
27649 HAVE_SOME_SLEEP_FUNC=1
27650 fi
27651
27652 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
27653 POSIX4_LINK=
27654
27655 for ac_func in nanosleep
27656 do
27657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27658 echo "$as_me:$LINENO: checking for $ac_func" >&5
27659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27660 if eval "test \"\${$as_ac_var+set}\" = set"; then
27661 echo $ECHO_N "(cached) $ECHO_C" >&6
27662 else
27663 cat >conftest.$ac_ext <<_ACEOF
27664 #line $LINENO "configure"
27665 /* confdefs.h. */
27666 _ACEOF
27667 cat confdefs.h >>conftest.$ac_ext
27668 cat >>conftest.$ac_ext <<_ACEOF
27669 /* end confdefs.h. */
27670 /* System header to define __stub macros and hopefully few prototypes,
27671 which can conflict with char $ac_func (); below.
27672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27673 <limits.h> exists even on freestanding compilers. */
27674 #ifdef __STDC__
27675 # include <limits.h>
27676 #else
27677 # include <assert.h>
27678 #endif
27679 /* Override any gcc2 internal prototype to avoid an error. */
27680 #ifdef __cplusplus
27681 extern "C"
27682 {
27683 #endif
27684 /* We use char because int might match the return type of a gcc2
27685 builtin and then its argument prototype would still apply. */
27686 char $ac_func ();
27687 /* The GNU C library defines this for functions which it implements
27688 to always fail with ENOSYS. Some functions are actually named
27689 something starting with __ and the normal name is an alias. */
27690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27691 choke me
27692 #else
27693 char (*f) () = $ac_func;
27694 #endif
27695 #ifdef __cplusplus
27696 }
27697 #endif
27698
27699 int
27700 main ()
27701 {
27702 return f != $ac_func;
27703 ;
27704 return 0;
27705 }
27706 _ACEOF
27707 rm -f conftest.$ac_objext conftest$ac_exeext
27708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27709 (eval $ac_link) 2>&5
27710 ac_status=$?
27711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27712 (exit $ac_status); } &&
27713 { ac_try='test -s conftest$ac_exeext'
27714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27715 (eval $ac_try) 2>&5
27716 ac_status=$?
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); }; }; then
27719 eval "$as_ac_var=yes"
27720 else
27721 echo "$as_me: failed program was:" >&5
27722 sed 's/^/| /' conftest.$ac_ext >&5
27723
27724 eval "$as_ac_var=no"
27725 fi
27726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27727 fi
27728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27730 if test `eval echo '${'$as_ac_var'}'` = yes; then
27731 cat >>confdefs.h <<_ACEOF
27732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27733 _ACEOF
27734 cat >>confdefs.h <<\_ACEOF
27735 #define HAVE_NANOSLEEP 1
27736 _ACEOF
27737
27738 else
27739
27740 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
27741 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
27742 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 else
27745 ac_check_lib_save_LIBS=$LIBS
27746 LIBS="-lposix4 $LIBS"
27747 cat >conftest.$ac_ext <<_ACEOF
27748 #line $LINENO "configure"
27749 /* confdefs.h. */
27750 _ACEOF
27751 cat confdefs.h >>conftest.$ac_ext
27752 cat >>conftest.$ac_ext <<_ACEOF
27753 /* end confdefs.h. */
27754
27755 /* Override any gcc2 internal prototype to avoid an error. */
27756 #ifdef __cplusplus
27757 extern "C"
27758 #endif
27759 /* We use char because int might match the return type of a gcc2
27760 builtin and then its argument prototype would still apply. */
27761 char nanosleep ();
27762 int
27763 main ()
27764 {
27765 nanosleep ();
27766 ;
27767 return 0;
27768 }
27769 _ACEOF
27770 rm -f conftest.$ac_objext conftest$ac_exeext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27772 (eval $ac_link) 2>&5
27773 ac_status=$?
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); } &&
27776 { ac_try='test -s conftest$ac_exeext'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; }; then
27782 ac_cv_lib_posix4_nanosleep=yes
27783 else
27784 echo "$as_me: failed program was:" >&5
27785 sed 's/^/| /' conftest.$ac_ext >&5
27786
27787 ac_cv_lib_posix4_nanosleep=no
27788 fi
27789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27790 LIBS=$ac_check_lib_save_LIBS
27791 fi
27792 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
27793 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
27794 if test $ac_cv_lib_posix4_nanosleep = yes; then
27795
27796 cat >>confdefs.h <<\_ACEOF
27797 #define HAVE_NANOSLEEP 1
27798 _ACEOF
27799
27800 POSIX4_LINK=" -lposix4"
27801
27802 else
27803
27804
27805 for ac_func in usleep
27806 do
27807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27808 echo "$as_me:$LINENO: checking for $ac_func" >&5
27809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27810 if eval "test \"\${$as_ac_var+set}\" = set"; then
27811 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 else
27813 cat >conftest.$ac_ext <<_ACEOF
27814 #line $LINENO "configure"
27815 /* confdefs.h. */
27816 _ACEOF
27817 cat confdefs.h >>conftest.$ac_ext
27818 cat >>conftest.$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820 /* System header to define __stub macros and hopefully few prototypes,
27821 which can conflict with char $ac_func (); below.
27822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27823 <limits.h> exists even on freestanding compilers. */
27824 #ifdef __STDC__
27825 # include <limits.h>
27826 #else
27827 # include <assert.h>
27828 #endif
27829 /* Override any gcc2 internal prototype to avoid an error. */
27830 #ifdef __cplusplus
27831 extern "C"
27832 {
27833 #endif
27834 /* We use char because int might match the return type of a gcc2
27835 builtin and then its argument prototype would still apply. */
27836 char $ac_func ();
27837 /* The GNU C library defines this for functions which it implements
27838 to always fail with ENOSYS. Some functions are actually named
27839 something starting with __ and the normal name is an alias. */
27840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27841 choke me
27842 #else
27843 char (*f) () = $ac_func;
27844 #endif
27845 #ifdef __cplusplus
27846 }
27847 #endif
27848
27849 int
27850 main ()
27851 {
27852 return f != $ac_func;
27853 ;
27854 return 0;
27855 }
27856 _ACEOF
27857 rm -f conftest.$ac_objext conftest$ac_exeext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27859 (eval $ac_link) 2>&5
27860 ac_status=$?
27861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862 (exit $ac_status); } &&
27863 { ac_try='test -s conftest$ac_exeext'
27864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27865 (eval $ac_try) 2>&5
27866 ac_status=$?
27867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868 (exit $ac_status); }; }; then
27869 eval "$as_ac_var=yes"
27870 else
27871 echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27873
27874 eval "$as_ac_var=no"
27875 fi
27876 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27877 fi
27878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27880 if test `eval echo '${'$as_ac_var'}'` = yes; then
27881 cat >>confdefs.h <<_ACEOF
27882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27883 _ACEOF
27884 cat >>confdefs.h <<\_ACEOF
27885 #define HAVE_USLEEP 1
27886 _ACEOF
27887
27888 else
27889 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
27890 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
27891
27892 fi
27893 done
27894
27895
27896
27897 fi
27898
27899
27900
27901 fi
27902 done
27903
27904 fi
27905
27906
27907
27908 for ac_func in uname gethostname
27909 do
27910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27911 echo "$as_me:$LINENO: checking for $ac_func" >&5
27912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27913 if eval "test \"\${$as_ac_var+set}\" = set"; then
27914 echo $ECHO_N "(cached) $ECHO_C" >&6
27915 else
27916 cat >conftest.$ac_ext <<_ACEOF
27917 #line $LINENO "configure"
27918 /* confdefs.h. */
27919 _ACEOF
27920 cat confdefs.h >>conftest.$ac_ext
27921 cat >>conftest.$ac_ext <<_ACEOF
27922 /* end confdefs.h. */
27923 /* System header to define __stub macros and hopefully few prototypes,
27924 which can conflict with char $ac_func (); below.
27925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27926 <limits.h> exists even on freestanding compilers. */
27927 #ifdef __STDC__
27928 # include <limits.h>
27929 #else
27930 # include <assert.h>
27931 #endif
27932 /* Override any gcc2 internal prototype to avoid an error. */
27933 #ifdef __cplusplus
27934 extern "C"
27935 {
27936 #endif
27937 /* We use char because int might match the return type of a gcc2
27938 builtin and then its argument prototype would still apply. */
27939 char $ac_func ();
27940 /* The GNU C library defines this for functions which it implements
27941 to always fail with ENOSYS. Some functions are actually named
27942 something starting with __ and the normal name is an alias. */
27943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27944 choke me
27945 #else
27946 char (*f) () = $ac_func;
27947 #endif
27948 #ifdef __cplusplus
27949 }
27950 #endif
27951
27952 int
27953 main ()
27954 {
27955 return f != $ac_func;
27956 ;
27957 return 0;
27958 }
27959 _ACEOF
27960 rm -f conftest.$ac_objext conftest$ac_exeext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27962 (eval $ac_link) 2>&5
27963 ac_status=$?
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try='test -s conftest$ac_exeext'
27967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968 (eval $ac_try) 2>&5
27969 ac_status=$?
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; }; then
27972 eval "$as_ac_var=yes"
27973 else
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27976
27977 eval "$as_ac_var=no"
27978 fi
27979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27980 fi
27981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27983 if test `eval echo '${'$as_ac_var'}'` = yes; then
27984 cat >>confdefs.h <<_ACEOF
27985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27986 _ACEOF
27987 break
27988 fi
27989 done
27990
27991
27992
27993
27994 ac_ext=cc
27995 ac_cpp='$CXXCPP $CPPFLAGS'
27996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27999
28000
28001
28002 for ac_func in strtok_r
28003 do
28004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28005 echo "$as_me:$LINENO: checking for $ac_func" >&5
28006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28007 if eval "test \"\${$as_ac_var+set}\" = set"; then
28008 echo $ECHO_N "(cached) $ECHO_C" >&6
28009 else
28010 cat >conftest.$ac_ext <<_ACEOF
28011 #line $LINENO "configure"
28012 /* confdefs.h. */
28013 _ACEOF
28014 cat confdefs.h >>conftest.$ac_ext
28015 cat >>conftest.$ac_ext <<_ACEOF
28016 /* end confdefs.h. */
28017 /* System header to define __stub macros and hopefully few prototypes,
28018 which can conflict with char $ac_func (); below.
28019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28020 <limits.h> exists even on freestanding compilers. */
28021 #ifdef __STDC__
28022 # include <limits.h>
28023 #else
28024 # include <assert.h>
28025 #endif
28026 /* Override any gcc2 internal prototype to avoid an error. */
28027 #ifdef __cplusplus
28028 extern "C"
28029 {
28030 #endif
28031 /* We use char because int might match the return type of a gcc2
28032 builtin and then its argument prototype would still apply. */
28033 char $ac_func ();
28034 /* The GNU C library defines this for functions which it implements
28035 to always fail with ENOSYS. Some functions are actually named
28036 something starting with __ and the normal name is an alias. */
28037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28038 choke me
28039 #else
28040 char (*f) () = $ac_func;
28041 #endif
28042 #ifdef __cplusplus
28043 }
28044 #endif
28045
28046 int
28047 main ()
28048 {
28049 return f != $ac_func;
28050 ;
28051 return 0;
28052 }
28053 _ACEOF
28054 rm -f conftest.$ac_objext conftest$ac_exeext
28055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28056 (eval $ac_link) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); } &&
28060 { ac_try='test -s conftest$ac_exeext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 eval "$as_ac_var=yes"
28067 else
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28070
28071 eval "$as_ac_var=no"
28072 fi
28073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28074 fi
28075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28077 if test `eval echo '${'$as_ac_var'}'` = yes; then
28078 cat >>confdefs.h <<_ACEOF
28079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28080 _ACEOF
28081
28082 fi
28083 done
28084
28085
28086 ac_ext=c
28087 ac_cpp='$CPP $CPPFLAGS'
28088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28091
28092
28093 INET_LINK=
28094
28095 for ac_func in inet_addr
28096 do
28097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28098 echo "$as_me:$LINENO: checking for $ac_func" >&5
28099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28100 if eval "test \"\${$as_ac_var+set}\" = set"; then
28101 echo $ECHO_N "(cached) $ECHO_C" >&6
28102 else
28103 cat >conftest.$ac_ext <<_ACEOF
28104 #line $LINENO "configure"
28105 /* confdefs.h. */
28106 _ACEOF
28107 cat confdefs.h >>conftest.$ac_ext
28108 cat >>conftest.$ac_ext <<_ACEOF
28109 /* end confdefs.h. */
28110 /* System header to define __stub macros and hopefully few prototypes,
28111 which can conflict with char $ac_func (); below.
28112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28113 <limits.h> exists even on freestanding compilers. */
28114 #ifdef __STDC__
28115 # include <limits.h>
28116 #else
28117 # include <assert.h>
28118 #endif
28119 /* Override any gcc2 internal prototype to avoid an error. */
28120 #ifdef __cplusplus
28121 extern "C"
28122 {
28123 #endif
28124 /* We use char because int might match the return type of a gcc2
28125 builtin and then its argument prototype would still apply. */
28126 char $ac_func ();
28127 /* The GNU C library defines this for functions which it implements
28128 to always fail with ENOSYS. Some functions are actually named
28129 something starting with __ and the normal name is an alias. */
28130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28131 choke me
28132 #else
28133 char (*f) () = $ac_func;
28134 #endif
28135 #ifdef __cplusplus
28136 }
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 return f != $ac_func;
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 rm -f conftest.$ac_objext conftest$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } &&
28153 { ac_try='test -s conftest$ac_exeext'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28156 ac_status=$?
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; }; then
28159 eval "$as_ac_var=yes"
28160 else
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 eval "$as_ac_var=no"
28165 fi
28166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28167 fi
28168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28170 if test `eval echo '${'$as_ac_var'}'` = yes; then
28171 cat >>confdefs.h <<_ACEOF
28172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28173 _ACEOF
28174 cat >>confdefs.h <<\_ACEOF
28175 #define HAVE_INET_ADDR 1
28176 _ACEOF
28177
28178 else
28179
28180 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
28181 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
28182 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
28183 echo $ECHO_N "(cached) $ECHO_C" >&6
28184 else
28185 ac_check_lib_save_LIBS=$LIBS
28186 LIBS="-lnsl $LIBS"
28187 cat >conftest.$ac_ext <<_ACEOF
28188 #line $LINENO "configure"
28189 /* confdefs.h. */
28190 _ACEOF
28191 cat confdefs.h >>conftest.$ac_ext
28192 cat >>conftest.$ac_ext <<_ACEOF
28193 /* end confdefs.h. */
28194
28195 /* Override any gcc2 internal prototype to avoid an error. */
28196 #ifdef __cplusplus
28197 extern "C"
28198 #endif
28199 /* We use char because int might match the return type of a gcc2
28200 builtin and then its argument prototype would still apply. */
28201 char inet_addr ();
28202 int
28203 main ()
28204 {
28205 inet_addr ();
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext conftest$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>&5
28213 ac_status=$?
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } &&
28216 { ac_try='test -s conftest$ac_exeext'
28217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28218 (eval $ac_try) 2>&5
28219 ac_status=$?
28220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28221 (exit $ac_status); }; }; then
28222 ac_cv_lib_nsl_inet_addr=yes
28223 else
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.$ac_ext >&5
28226
28227 ac_cv_lib_nsl_inet_addr=no
28228 fi
28229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28230 LIBS=$ac_check_lib_save_LIBS
28231 fi
28232 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
28233 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
28234 if test $ac_cv_lib_nsl_inet_addr = yes; then
28235 INET_LINK="nsl"
28236 else
28237
28238 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
28239 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
28240 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28242 else
28243 ac_check_lib_save_LIBS=$LIBS
28244 LIBS="-lresolv $LIBS"
28245 cat >conftest.$ac_ext <<_ACEOF
28246 #line $LINENO "configure"
28247 /* confdefs.h. */
28248 _ACEOF
28249 cat confdefs.h >>conftest.$ac_ext
28250 cat >>conftest.$ac_ext <<_ACEOF
28251 /* end confdefs.h. */
28252
28253 /* Override any gcc2 internal prototype to avoid an error. */
28254 #ifdef __cplusplus
28255 extern "C"
28256 #endif
28257 /* We use char because int might match the return type of a gcc2
28258 builtin and then its argument prototype would still apply. */
28259 char inet_addr ();
28260 int
28261 main ()
28262 {
28263 inet_addr ();
28264 ;
28265 return 0;
28266 }
28267 _ACEOF
28268 rm -f conftest.$ac_objext conftest$ac_exeext
28269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28270 (eval $ac_link) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } &&
28274 { ac_try='test -s conftest$ac_exeext'
28275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28276 (eval $ac_try) 2>&5
28277 ac_status=$?
28278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28279 (exit $ac_status); }; }; then
28280 ac_cv_lib_resolv_inet_addr=yes
28281 else
28282 echo "$as_me: failed program was:" >&5
28283 sed 's/^/| /' conftest.$ac_ext >&5
28284
28285 ac_cv_lib_resolv_inet_addr=no
28286 fi
28287 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28288 LIBS=$ac_check_lib_save_LIBS
28289 fi
28290 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
28291 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
28292 if test $ac_cv_lib_resolv_inet_addr = yes; then
28293 INET_LINK="resolv"
28294 else
28295
28296 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
28297 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
28298 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
28299 echo $ECHO_N "(cached) $ECHO_C" >&6
28300 else
28301 ac_check_lib_save_LIBS=$LIBS
28302 LIBS="-lsocket $LIBS"
28303 cat >conftest.$ac_ext <<_ACEOF
28304 #line $LINENO "configure"
28305 /* confdefs.h. */
28306 _ACEOF
28307 cat confdefs.h >>conftest.$ac_ext
28308 cat >>conftest.$ac_ext <<_ACEOF
28309 /* end confdefs.h. */
28310
28311 /* Override any gcc2 internal prototype to avoid an error. */
28312 #ifdef __cplusplus
28313 extern "C"
28314 #endif
28315 /* We use char because int might match the return type of a gcc2
28316 builtin and then its argument prototype would still apply. */
28317 char inet_addr ();
28318 int
28319 main ()
28320 {
28321 inet_addr ();
28322 ;
28323 return 0;
28324 }
28325 _ACEOF
28326 rm -f conftest.$ac_objext conftest$ac_exeext
28327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28328 (eval $ac_link) 2>&5
28329 ac_status=$?
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try='test -s conftest$ac_exeext'
28333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28334 (eval $ac_try) 2>&5
28335 ac_status=$?
28336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28337 (exit $ac_status); }; }; then
28338 ac_cv_lib_socket_inet_addr=yes
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28342
28343 ac_cv_lib_socket_inet_addr=no
28344 fi
28345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28346 LIBS=$ac_check_lib_save_LIBS
28347 fi
28348 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
28349 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
28350 if test $ac_cv_lib_socket_inet_addr = yes; then
28351 INET_LINK="socket"
28352
28353 fi
28354
28355
28356
28357 fi
28358
28359
28360
28361 fi
28362
28363
28364
28365 fi
28366 done
28367
28368
28369
28370 for ac_func in inet_aton
28371 do
28372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28373 echo "$as_me:$LINENO: checking for $ac_func" >&5
28374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28375 if eval "test \"\${$as_ac_var+set}\" = set"; then
28376 echo $ECHO_N "(cached) $ECHO_C" >&6
28377 else
28378 cat >conftest.$ac_ext <<_ACEOF
28379 #line $LINENO "configure"
28380 /* confdefs.h. */
28381 _ACEOF
28382 cat confdefs.h >>conftest.$ac_ext
28383 cat >>conftest.$ac_ext <<_ACEOF
28384 /* end confdefs.h. */
28385 /* System header to define __stub macros and hopefully few prototypes,
28386 which can conflict with char $ac_func (); below.
28387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28388 <limits.h> exists even on freestanding compilers. */
28389 #ifdef __STDC__
28390 # include <limits.h>
28391 #else
28392 # include <assert.h>
28393 #endif
28394 /* Override any gcc2 internal prototype to avoid an error. */
28395 #ifdef __cplusplus
28396 extern "C"
28397 {
28398 #endif
28399 /* We use char because int might match the return type of a gcc2
28400 builtin and then its argument prototype would still apply. */
28401 char $ac_func ();
28402 /* The GNU C library defines this for functions which it implements
28403 to always fail with ENOSYS. Some functions are actually named
28404 something starting with __ and the normal name is an alias. */
28405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28406 choke me
28407 #else
28408 char (*f) () = $ac_func;
28409 #endif
28410 #ifdef __cplusplus
28411 }
28412 #endif
28413
28414 int
28415 main ()
28416 {
28417 return f != $ac_func;
28418 ;
28419 return 0;
28420 }
28421 _ACEOF
28422 rm -f conftest.$ac_objext conftest$ac_exeext
28423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28424 (eval $ac_link) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } &&
28428 { ac_try='test -s conftest$ac_exeext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 eval "$as_ac_var=yes"
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 eval "$as_ac_var=no"
28440 fi
28441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28442 fi
28443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28445 if test `eval echo '${'$as_ac_var'}'` = yes; then
28446 cat >>confdefs.h <<_ACEOF
28447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28448 _ACEOF
28449 cat >>confdefs.h <<\_ACEOF
28450 #define HAVE_INET_ATON 1
28451 _ACEOF
28452
28453 else
28454
28455 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
28456 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
28457 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
28458 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
28461 ac_check_lib_save_LIBS=$LIBS
28462 LIBS="-l$INET_LINK $LIBS"
28463 cat >conftest.$ac_ext <<_ACEOF
28464 #line $LINENO "configure"
28465 /* confdefs.h. */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28470
28471 /* Override any gcc2 internal prototype to avoid an error. */
28472 #ifdef __cplusplus
28473 extern "C"
28474 #endif
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28477 char inet_aton ();
28478 int
28479 main ()
28480 {
28481 inet_aton ();
28482 ;
28483 return 0;
28484 }
28485 _ACEOF
28486 rm -f conftest.$ac_objext conftest$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>&5
28489 ac_status=$?
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); } &&
28492 { ac_try='test -s conftest$ac_exeext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 eval "$as_ac_Lib=yes"
28499 else
28500 echo "$as_me: failed program was:" >&5
28501 sed 's/^/| /' conftest.$ac_ext >&5
28502
28503 eval "$as_ac_Lib=no"
28504 fi
28505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28506 LIBS=$ac_check_lib_save_LIBS
28507 fi
28508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
28509 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
28510 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
28511 cat >>confdefs.h <<\_ACEOF
28512 #define HAVE_INET_ATON 1
28513 _ACEOF
28514
28515 fi
28516
28517
28518 fi
28519 done
28520
28521
28522 if test "x$INET_LINK" != "x"; then
28523 cat >>confdefs.h <<\_ACEOF
28524 #define HAVE_INET_ADDR 1
28525 _ACEOF
28526
28527 INET_LINK=" -l$INET_LINK"
28528 fi
28529
28530 fi
28531
28532
28533
28534 EXTRALIBS_ESD=
28535 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
28536 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
28537 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
28538 echo $ECHO_N "(cached) $ECHO_C" >&6
28539 else
28540 ac_check_lib_save_LIBS=$LIBS
28541 LIBS="-lesd $LIBS"
28542 cat >conftest.$ac_ext <<_ACEOF
28543 #line $LINENO "configure"
28544 /* confdefs.h. */
28545 _ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549
28550 /* Override any gcc2 internal prototype to avoid an error. */
28551 #ifdef __cplusplus
28552 extern "C"
28553 #endif
28554 /* We use char because int might match the return type of a gcc2
28555 builtin and then its argument prototype would still apply. */
28556 char esd_close ();
28557 int
28558 main ()
28559 {
28560 esd_close ();
28561 ;
28562 return 0;
28563 }
28564 _ACEOF
28565 rm -f conftest.$ac_objext conftest$ac_exeext
28566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28567 (eval $ac_link) 2>&5
28568 ac_status=$?
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); } &&
28571 { ac_try='test -s conftest$ac_exeext'
28572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28573 (eval $ac_try) 2>&5
28574 ac_status=$?
28575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28576 (exit $ac_status); }; }; then
28577 ac_cv_lib_esd_esd_close=yes
28578 else
28579 echo "$as_me: failed program was:" >&5
28580 sed 's/^/| /' conftest.$ac_ext >&5
28581
28582 ac_cv_lib_esd_esd_close=no
28583 fi
28584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28585 LIBS=$ac_check_lib_save_LIBS
28586 fi
28587 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
28588 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
28589 if test $ac_cv_lib_esd_esd_close = yes; then
28590
28591
28592 for ac_header in esd.h
28593 do
28594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28596 echo "$as_me:$LINENO: checking for $ac_header" >&5
28597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28599 echo $ECHO_N "(cached) $ECHO_C" >&6
28600 fi
28601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28603 else
28604 # Is the header compilable?
28605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28607 cat >conftest.$ac_ext <<_ACEOF
28608 #line $LINENO "configure"
28609 /* confdefs.h. */
28610 _ACEOF
28611 cat confdefs.h >>conftest.$ac_ext
28612 cat >>conftest.$ac_ext <<_ACEOF
28613 /* end confdefs.h. */
28614 $ac_includes_default
28615 #include <$ac_header>
28616 _ACEOF
28617 rm -f conftest.$ac_objext
28618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28619 (eval $ac_compile) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); } &&
28623 { ac_try='test -s conftest.$ac_objext'
28624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28625 (eval $ac_try) 2>&5
28626 ac_status=$?
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); }; }; then
28629 ac_header_compiler=yes
28630 else
28631 echo "$as_me: failed program was:" >&5
28632 sed 's/^/| /' conftest.$ac_ext >&5
28633
28634 ac_header_compiler=no
28635 fi
28636 rm -f conftest.$ac_objext conftest.$ac_ext
28637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28638 echo "${ECHO_T}$ac_header_compiler" >&6
28639
28640 # Is the header present?
28641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28643 cat >conftest.$ac_ext <<_ACEOF
28644 #line $LINENO "configure"
28645 /* confdefs.h. */
28646 _ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650 #include <$ac_header>
28651 _ACEOF
28652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28653 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28654 ac_status=$?
28655 grep -v '^ *+' conftest.er1 >conftest.err
28656 rm -f conftest.er1
28657 cat conftest.err >&5
28658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28659 (exit $ac_status); } >/dev/null; then
28660 if test -s conftest.err; then
28661 ac_cpp_err=$ac_c_preproc_warn_flag
28662 else
28663 ac_cpp_err=
28664 fi
28665 else
28666 ac_cpp_err=yes
28667 fi
28668 if test -z "$ac_cpp_err"; then
28669 ac_header_preproc=yes
28670 else
28671 echo "$as_me: failed program was:" >&5
28672 sed 's/^/| /' conftest.$ac_ext >&5
28673
28674 ac_header_preproc=no
28675 fi
28676 rm -f conftest.err conftest.$ac_ext
28677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28678 echo "${ECHO_T}$ac_header_preproc" >&6
28679
28680 # So? What about this header?
28681 case $ac_header_compiler:$ac_header_preproc in
28682 yes:no )
28683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28687 (
28688 cat <<\_ASBOX
28689 ## ------------------------------------ ##
28690 ## Report this to bug-autoconf@gnu.org. ##
28691 ## ------------------------------------ ##
28692 _ASBOX
28693 ) |
28694 sed "s/^/$as_me: WARNING: /" >&2
28695 ;;
28696 no:yes )
28697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28703 (
28704 cat <<\_ASBOX
28705 ## ------------------------------------ ##
28706 ## Report this to bug-autoconf@gnu.org. ##
28707 ## ------------------------------------ ##
28708 _ASBOX
28709 ) |
28710 sed "s/^/$as_me: WARNING: /" >&2
28711 ;;
28712 esac
28713 echo "$as_me:$LINENO: checking for $ac_header" >&5
28714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28716 echo $ECHO_N "(cached) $ECHO_C" >&6
28717 else
28718 eval "$as_ac_Header=$ac_header_preproc"
28719 fi
28720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28722
28723 fi
28724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28725 cat >>confdefs.h <<_ACEOF
28726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28727 _ACEOF
28728
28729 EXTRALIBS_ESD="-lesd"
28730
28731 fi
28732
28733 done
28734
28735
28736 fi
28737
28738
28739
28740
28741
28742 cat >confcache <<\_ACEOF
28743 # This file is a shell script that caches the results of configure
28744 # tests run on this system so they can be shared between configure
28745 # scripts and configure runs, see configure's option --config-cache.
28746 # It is not useful on other systems. If it contains results you don't
28747 # want to keep, you may remove or edit it.
28748 #
28749 # config.status only pays attention to the cache file if you give it
28750 # the --recheck option to rerun configure.
28751 #
28752 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28753 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28754 # following values.
28755
28756 _ACEOF
28757
28758 # The following way of writing the cache mishandles newlines in values,
28759 # but we know of no workaround that is simple, portable, and efficient.
28760 # So, don't put newlines in cache variables' values.
28761 # Ultrix sh set writes to stderr and can't be redirected directly,
28762 # and sets the high bit in the cache file unless we assign to the vars.
28763 {
28764 (set) 2>&1 |
28765 case `(ac_space=' '; set | grep ac_space) 2>&1` in
28766 *ac_space=\ *)
28767 # `set' does not quote correctly, so add quotes (double-quote
28768 # substitution turns \\\\ into \\, and sed turns \\ into \).
28769 sed -n \
28770 "s/'/'\\\\''/g;
28771 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
28772 ;;
28773 *)
28774 # `set' quotes correctly as required by POSIX, so do not add quotes.
28775 sed -n \
28776 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
28777 ;;
28778 esac;
28779 } |
28780 sed '
28781 t clear
28782 : clear
28783 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
28784 t end
28785 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
28786 : end' >>confcache
28787 if diff $cache_file confcache >/dev/null 2>&1; then :; else
28788 if test -w $cache_file; then
28789 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
28790 cat confcache >$cache_file
28791 else
28792 echo "not updating unwritable cache $cache_file"
28793 fi
28794 fi
28795 rm -f confcache
28796
28797
28798 CPP_MT_FLAG=
28799 if test "$TOOLKIT" != "MSW"; then
28800
28801
28802 THREADS_LINK=
28803 THREADS_CFLAGS=
28804
28805 if test "$wxUSE_THREADS" = "yes" ; then
28806 if test "$USE_BEOS" = 1; then
28807 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
28808 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
28809 wxUSE_THREADS="no"
28810 fi
28811 fi
28812
28813 if test "$wxUSE_THREADS" = "yes" ; then
28814
28815
28816 THREAD_OPTS="-pthread"
28817 case "${host}" in
28818 *-*-solaris2* | *-*-sunos4* )
28819 if test "x$GCC" = "xyes"; then
28820 THREAD_OPTS="-pthreads $THREAD_OPTS"
28821 else
28822 THREAD_OPTS="-mt $THREAD_OPTS"
28823 fi
28824 ;;
28825 *-*-freebsd*)
28826 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
28827 ;;
28828 *-*-darwin* | *-*-cygwin* )
28829 THREAD_OPTS=""
28830 ;;
28831 *-*-aix*)
28832 THREAD_OPTS="pthreads"
28833 ;;
28834 *-hp-hpux* )
28835 if test "x$GCC" != "xyes"; then
28836 THREAD_OPTS=""
28837 fi
28838 ;;
28839
28840 *-*-irix* )
28841 if test "x$GCC" = "xyes"; then
28842 THREAD_OPTS=""
28843 fi
28844 ;;
28845
28846 *-*-*UnixWare*)
28847 if test "x$GCC" != "xyes"; then
28848 THREAD_OPTS="-Ethread"
28849 fi
28850 ;;
28851 esac
28852
28853 THREAD_OPTS="$THREAD_OPTS pthread none"
28854
28855 THREADS_OK=no
28856 for flag in $THREAD_OPTS; do
28857 case $flag in
28858 none)
28859 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
28860 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
28861 ;;
28862
28863 -*)
28864 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
28865 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
28866 THREADS_CFLAGS="$flag"
28867 ;;
28868
28869 *)
28870 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
28871 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
28872 THREADS_LINK="-l$flag"
28873 ;;
28874 esac
28875
28876 save_LIBS="$LIBS"
28877 save_CFLAGS="$CFLAGS"
28878 LIBS="$THREADS_LINK $LIBS"
28879 CFLAGS="$THREADS_CFLAGS $CFLAGS"
28880
28881 cat >conftest.$ac_ext <<_ACEOF
28882 #line $LINENO "configure"
28883 /* confdefs.h. */
28884 _ACEOF
28885 cat confdefs.h >>conftest.$ac_ext
28886 cat >>conftest.$ac_ext <<_ACEOF
28887 /* end confdefs.h. */
28888 #include <pthread.h>
28889 int
28890 main ()
28891 {
28892 pthread_create(0,0,0,0);
28893 ;
28894 return 0;
28895 }
28896 _ACEOF
28897 rm -f conftest.$ac_objext conftest$ac_exeext
28898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28899 (eval $ac_link) 2>&5
28900 ac_status=$?
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try='test -s conftest$ac_exeext'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; }; then
28909 THREADS_OK=yes
28910 else
28911 echo "$as_me: failed program was:" >&5
28912 sed 's/^/| /' conftest.$ac_ext >&5
28913
28914 fi
28915 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28916
28917 LIBS="$save_LIBS"
28918 CFLAGS="$save_CFLAGS"
28919
28920 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
28921 echo "${ECHO_T}$THREADS_OK" >&6
28922 if test "x$THREADS_OK" = "xyes"; then
28923 break;
28924 fi
28925
28926 THREADS_LINK=""
28927 THREADS_CFLAGS=""
28928 done
28929
28930 if test "x$THREADS_OK" != "xyes"; then
28931 wxUSE_THREADS=no
28932 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
28933 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
28934 else
28935 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
28936 LIBS="$THREADS_LINK $LIBS"
28937
28938 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
28939 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
28940 flag=no
28941 case "${host}" in
28942 *-aix*)
28943 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
28944 flag="-D_THREAD_SAFE"
28945 ;;
28946 *-freebsd*)
28947 flag="-D_THREAD_SAFE"
28948 ;;
28949 *-hp-hpux* )
28950 flag="-D_REENTRANT"
28951 if test "x$GCC" != "xyes"; then
28952 flag="$flag -D_RWSTD_MULTI_THREAD"
28953 fi
28954 ;;
28955 *solaris* | alpha*-osf*)
28956 flag="-D_REENTRANT"
28957 ;;
28958 esac
28959 echo "$as_me:$LINENO: result: ${flag}" >&5
28960 echo "${ECHO_T}${flag}" >&6
28961 if test "x$flag" != xno; then
28962 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
28963 fi
28964
28965 if test "x$THREADS_CFLAGS" != "x"; then
28966 CFLAGS="$CFLAGS $THREADS_CFLAGS"
28967 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
28968 fi
28969 fi
28970 fi
28971
28972 if test "$wxUSE_THREADS" = "yes" ; then
28973
28974 for ac_func in thr_setconcurrency
28975 do
28976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28977 echo "$as_me:$LINENO: checking for $ac_func" >&5
28978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28979 if eval "test \"\${$as_ac_var+set}\" = set"; then
28980 echo $ECHO_N "(cached) $ECHO_C" >&6
28981 else
28982 cat >conftest.$ac_ext <<_ACEOF
28983 #line $LINENO "configure"
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989 /* System header to define __stub macros and hopefully few prototypes,
28990 which can conflict with char $ac_func (); below.
28991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28992 <limits.h> exists even on freestanding compilers. */
28993 #ifdef __STDC__
28994 # include <limits.h>
28995 #else
28996 # include <assert.h>
28997 #endif
28998 /* Override any gcc2 internal prototype to avoid an error. */
28999 #ifdef __cplusplus
29000 extern "C"
29001 {
29002 #endif
29003 /* We use char because int might match the return type of a gcc2
29004 builtin and then its argument prototype would still apply. */
29005 char $ac_func ();
29006 /* The GNU C library defines this for functions which it implements
29007 to always fail with ENOSYS. Some functions are actually named
29008 something starting with __ and the normal name is an alias. */
29009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29010 choke me
29011 #else
29012 char (*f) () = $ac_func;
29013 #endif
29014 #ifdef __cplusplus
29015 }
29016 #endif
29017
29018 int
29019 main ()
29020 {
29021 return f != $ac_func;
29022 ;
29023 return 0;
29024 }
29025 _ACEOF
29026 rm -f conftest.$ac_objext conftest$ac_exeext
29027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29028 (eval $ac_link) 2>&5
29029 ac_status=$?
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
29039 else
29040 echo "$as_me: failed program was:" >&5
29041 sed 's/^/| /' conftest.$ac_ext >&5
29042
29043 eval "$as_ac_var=no"
29044 fi
29045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29046 fi
29047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29049 if test `eval echo '${'$as_ac_var'}'` = yes; then
29050 cat >>confdefs.h <<_ACEOF
29051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29052 _ACEOF
29053
29054 fi
29055 done
29056
29057
29058
29059 for ac_header in sched.h
29060 do
29061 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29062 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29063 echo "$as_me:$LINENO: checking for $ac_header" >&5
29064 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29066 echo $ECHO_N "(cached) $ECHO_C" >&6
29067 fi
29068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29069 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29070 else
29071 # Is the header compilable?
29072 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29073 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29074 cat >conftest.$ac_ext <<_ACEOF
29075 #line $LINENO "configure"
29076 /* confdefs.h. */
29077 _ACEOF
29078 cat confdefs.h >>conftest.$ac_ext
29079 cat >>conftest.$ac_ext <<_ACEOF
29080 /* end confdefs.h. */
29081 $ac_includes_default
29082 #include <$ac_header>
29083 _ACEOF
29084 rm -f conftest.$ac_objext
29085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29086 (eval $ac_compile) 2>&5
29087 ac_status=$?
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try='test -s conftest.$ac_objext'
29091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29092 (eval $ac_try) 2>&5
29093 ac_status=$?
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); }; }; then
29096 ac_header_compiler=yes
29097 else
29098 echo "$as_me: failed program was:" >&5
29099 sed 's/^/| /' conftest.$ac_ext >&5
29100
29101 ac_header_compiler=no
29102 fi
29103 rm -f conftest.$ac_objext conftest.$ac_ext
29104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29105 echo "${ECHO_T}$ac_header_compiler" >&6
29106
29107 # Is the header present?
29108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29110 cat >conftest.$ac_ext <<_ACEOF
29111 #line $LINENO "configure"
29112 /* confdefs.h. */
29113 _ACEOF
29114 cat confdefs.h >>conftest.$ac_ext
29115 cat >>conftest.$ac_ext <<_ACEOF
29116 /* end confdefs.h. */
29117 #include <$ac_header>
29118 _ACEOF
29119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29121 ac_status=$?
29122 grep -v '^ *+' conftest.er1 >conftest.err
29123 rm -f conftest.er1
29124 cat conftest.err >&5
29125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29126 (exit $ac_status); } >/dev/null; then
29127 if test -s conftest.err; then
29128 ac_cpp_err=$ac_c_preproc_warn_flag
29129 else
29130 ac_cpp_err=
29131 fi
29132 else
29133 ac_cpp_err=yes
29134 fi
29135 if test -z "$ac_cpp_err"; then
29136 ac_header_preproc=yes
29137 else
29138 echo "$as_me: failed program was:" >&5
29139 sed 's/^/| /' conftest.$ac_ext >&5
29140
29141 ac_header_preproc=no
29142 fi
29143 rm -f conftest.err conftest.$ac_ext
29144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29145 echo "${ECHO_T}$ac_header_preproc" >&6
29146
29147 # So? What about this header?
29148 case $ac_header_compiler:$ac_header_preproc in
29149 yes:no )
29150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29154 (
29155 cat <<\_ASBOX
29156 ## ------------------------------------ ##
29157 ## Report this to bug-autoconf@gnu.org. ##
29158 ## ------------------------------------ ##
29159 _ASBOX
29160 ) |
29161 sed "s/^/$as_me: WARNING: /" >&2
29162 ;;
29163 no:yes )
29164 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29165 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29166 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29167 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29168 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29169 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29170 (
29171 cat <<\_ASBOX
29172 ## ------------------------------------ ##
29173 ## Report this to bug-autoconf@gnu.org. ##
29174 ## ------------------------------------ ##
29175 _ASBOX
29176 ) |
29177 sed "s/^/$as_me: WARNING: /" >&2
29178 ;;
29179 esac
29180 echo "$as_me:$LINENO: checking for $ac_header" >&5
29181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29183 echo $ECHO_N "(cached) $ECHO_C" >&6
29184 else
29185 eval "$as_ac_Header=$ac_header_preproc"
29186 fi
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29189
29190 fi
29191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29192 cat >>confdefs.h <<_ACEOF
29193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29194 _ACEOF
29195
29196 fi
29197
29198 done
29199
29200 if test "$ac_cv_header_sched_h" = "yes"; then
29201 echo "$as_me:$LINENO: checking for sched_yield" >&5
29202 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
29203 if test "${ac_cv_func_sched_yield+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29205 else
29206 cat >conftest.$ac_ext <<_ACEOF
29207 #line $LINENO "configure"
29208 /* confdefs.h. */
29209 _ACEOF
29210 cat confdefs.h >>conftest.$ac_ext
29211 cat >>conftest.$ac_ext <<_ACEOF
29212 /* end confdefs.h. */
29213 /* System header to define __stub macros and hopefully few prototypes,
29214 which can conflict with char sched_yield (); below.
29215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29216 <limits.h> exists even on freestanding compilers. */
29217 #ifdef __STDC__
29218 # include <limits.h>
29219 #else
29220 # include <assert.h>
29221 #endif
29222 /* Override any gcc2 internal prototype to avoid an error. */
29223 #ifdef __cplusplus
29224 extern "C"
29225 {
29226 #endif
29227 /* We use char because int might match the return type of a gcc2
29228 builtin and then its argument prototype would still apply. */
29229 char sched_yield ();
29230 /* The GNU C library defines this for functions which it implements
29231 to always fail with ENOSYS. Some functions are actually named
29232 something starting with __ and the normal name is an alias. */
29233 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
29234 choke me
29235 #else
29236 char (*f) () = sched_yield;
29237 #endif
29238 #ifdef __cplusplus
29239 }
29240 #endif
29241
29242 int
29243 main ()
29244 {
29245 return f != sched_yield;
29246 ;
29247 return 0;
29248 }
29249 _ACEOF
29250 rm -f conftest.$ac_objext conftest$ac_exeext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29252 (eval $ac_link) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try='test -s conftest$ac_exeext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29262 ac_cv_func_sched_yield=yes
29263 else
29264 echo "$as_me: failed program was:" >&5
29265 sed 's/^/| /' conftest.$ac_ext >&5
29266
29267 ac_cv_func_sched_yield=no
29268 fi
29269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29270 fi
29271 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
29272 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
29273 if test $ac_cv_func_sched_yield = yes; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define HAVE_SCHED_YIELD 1
29276 _ACEOF
29277
29278 else
29279
29280 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
29281 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
29282 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
29283 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 else
29285 ac_check_lib_save_LIBS=$LIBS
29286 LIBS="-lposix4 $LIBS"
29287 cat >conftest.$ac_ext <<_ACEOF
29288 #line $LINENO "configure"
29289 /* confdefs.h. */
29290 _ACEOF
29291 cat confdefs.h >>conftest.$ac_ext
29292 cat >>conftest.$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29294
29295 /* Override any gcc2 internal prototype to avoid an error. */
29296 #ifdef __cplusplus
29297 extern "C"
29298 #endif
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29301 char sched_yield ();
29302 int
29303 main ()
29304 {
29305 sched_yield ();
29306 ;
29307 return 0;
29308 }
29309 _ACEOF
29310 rm -f conftest.$ac_objext conftest$ac_exeext
29311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29312 (eval $ac_link) 2>&5
29313 ac_status=$?
29314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29315 (exit $ac_status); } &&
29316 { ac_try='test -s conftest$ac_exeext'
29317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29318 (eval $ac_try) 2>&5
29319 ac_status=$?
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); }; }; then
29322 ac_cv_lib_posix4_sched_yield=yes
29323 else
29324 echo "$as_me: failed program was:" >&5
29325 sed 's/^/| /' conftest.$ac_ext >&5
29326
29327 ac_cv_lib_posix4_sched_yield=no
29328 fi
29329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29330 LIBS=$ac_check_lib_save_LIBS
29331 fi
29332 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
29333 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
29334 if test $ac_cv_lib_posix4_sched_yield = yes; then
29335 cat >>confdefs.h <<\_ACEOF
29336 #define HAVE_SCHED_YIELD 1
29337 _ACEOF
29338 POSIX4_LINK=" -lposix4"
29339 else
29340 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
29341 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
29342
29343 fi
29344
29345
29346
29347 fi
29348
29349 fi
29350
29351 HAVE_PRIOR_FUNCS=0
29352 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
29353 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
29354 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
29355 echo $ECHO_N "(cached) $ECHO_C" >&6
29356 else
29357 cat >conftest.$ac_ext <<_ACEOF
29358 #line $LINENO "configure"
29359 /* confdefs.h. */
29360 _ACEOF
29361 cat confdefs.h >>conftest.$ac_ext
29362 cat >>conftest.$ac_ext <<_ACEOF
29363 /* end confdefs.h. */
29364 /* System header to define __stub macros and hopefully few prototypes,
29365 which can conflict with char pthread_attr_getschedpolicy (); below.
29366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29367 <limits.h> exists even on freestanding compilers. */
29368 #ifdef __STDC__
29369 # include <limits.h>
29370 #else
29371 # include <assert.h>
29372 #endif
29373 /* Override any gcc2 internal prototype to avoid an error. */
29374 #ifdef __cplusplus
29375 extern "C"
29376 {
29377 #endif
29378 /* We use char because int might match the return type of a gcc2
29379 builtin and then its argument prototype would still apply. */
29380 char pthread_attr_getschedpolicy ();
29381 /* The GNU C library defines this for functions which it implements
29382 to always fail with ENOSYS. Some functions are actually named
29383 something starting with __ and the normal name is an alias. */
29384 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
29385 choke me
29386 #else
29387 char (*f) () = pthread_attr_getschedpolicy;
29388 #endif
29389 #ifdef __cplusplus
29390 }
29391 #endif
29392
29393 int
29394 main ()
29395 {
29396 return f != pthread_attr_getschedpolicy;
29397 ;
29398 return 0;
29399 }
29400 _ACEOF
29401 rm -f conftest.$ac_objext conftest$ac_exeext
29402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29403 (eval $ac_link) 2>&5
29404 ac_status=$?
29405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29406 (exit $ac_status); } &&
29407 { ac_try='test -s conftest$ac_exeext'
29408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29409 (eval $ac_try) 2>&5
29410 ac_status=$?
29411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29412 (exit $ac_status); }; }; then
29413 ac_cv_func_pthread_attr_getschedpolicy=yes
29414 else
29415 echo "$as_me: failed program was:" >&5
29416 sed 's/^/| /' conftest.$ac_ext >&5
29417
29418 ac_cv_func_pthread_attr_getschedpolicy=no
29419 fi
29420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29421 fi
29422 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
29423 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
29424 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
29425 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
29426 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
29427 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430 cat >conftest.$ac_ext <<_ACEOF
29431 #line $LINENO "configure"
29432 /* confdefs.h. */
29433 _ACEOF
29434 cat confdefs.h >>conftest.$ac_ext
29435 cat >>conftest.$ac_ext <<_ACEOF
29436 /* end confdefs.h. */
29437 /* System header to define __stub macros and hopefully few prototypes,
29438 which can conflict with char pthread_attr_setschedparam (); below.
29439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29440 <limits.h> exists even on freestanding compilers. */
29441 #ifdef __STDC__
29442 # include <limits.h>
29443 #else
29444 # include <assert.h>
29445 #endif
29446 /* Override any gcc2 internal prototype to avoid an error. */
29447 #ifdef __cplusplus
29448 extern "C"
29449 {
29450 #endif
29451 /* We use char because int might match the return type of a gcc2
29452 builtin and then its argument prototype would still apply. */
29453 char pthread_attr_setschedparam ();
29454 /* The GNU C library defines this for functions which it implements
29455 to always fail with ENOSYS. Some functions are actually named
29456 something starting with __ and the normal name is an alias. */
29457 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
29458 choke me
29459 #else
29460 char (*f) () = pthread_attr_setschedparam;
29461 #endif
29462 #ifdef __cplusplus
29463 }
29464 #endif
29465
29466 int
29467 main ()
29468 {
29469 return f != pthread_attr_setschedparam;
29470 ;
29471 return 0;
29472 }
29473 _ACEOF
29474 rm -f conftest.$ac_objext conftest$ac_exeext
29475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29476 (eval $ac_link) 2>&5
29477 ac_status=$?
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -s conftest$ac_exeext'
29481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29482 (eval $ac_try) 2>&5
29483 ac_status=$?
29484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29485 (exit $ac_status); }; }; then
29486 ac_cv_func_pthread_attr_setschedparam=yes
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491 ac_cv_func_pthread_attr_setschedparam=no
29492 fi
29493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29494 fi
29495 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
29496 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
29497 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
29498 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
29499 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
29500 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
29501 echo $ECHO_N "(cached) $ECHO_C" >&6
29502 else
29503 cat >conftest.$ac_ext <<_ACEOF
29504 #line $LINENO "configure"
29505 /* confdefs.h. */
29506 _ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29510 /* System header to define __stub macros and hopefully few prototypes,
29511 which can conflict with char sched_get_priority_max (); below.
29512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29513 <limits.h> exists even on freestanding compilers. */
29514 #ifdef __STDC__
29515 # include <limits.h>
29516 #else
29517 # include <assert.h>
29518 #endif
29519 /* Override any gcc2 internal prototype to avoid an error. */
29520 #ifdef __cplusplus
29521 extern "C"
29522 {
29523 #endif
29524 /* We use char because int might match the return type of a gcc2
29525 builtin and then its argument prototype would still apply. */
29526 char sched_get_priority_max ();
29527 /* The GNU C library defines this for functions which it implements
29528 to always fail with ENOSYS. Some functions are actually named
29529 something starting with __ and the normal name is an alias. */
29530 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
29531 choke me
29532 #else
29533 char (*f) () = sched_get_priority_max;
29534 #endif
29535 #ifdef __cplusplus
29536 }
29537 #endif
29538
29539 int
29540 main ()
29541 {
29542 return f != sched_get_priority_max;
29543 ;
29544 return 0;
29545 }
29546 _ACEOF
29547 rm -f conftest.$ac_objext conftest$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>&5
29550 ac_status=$?
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } &&
29553 { ac_try='test -s conftest$ac_exeext'
29554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 (eval $ac_try) 2>&5
29556 ac_status=$?
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; }; then
29559 ac_cv_func_sched_get_priority_max=yes
29560 else
29561 echo "$as_me: failed program was:" >&5
29562 sed 's/^/| /' conftest.$ac_ext >&5
29563
29564 ac_cv_func_sched_get_priority_max=no
29565 fi
29566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29567 fi
29568 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
29569 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
29570 if test $ac_cv_func_sched_get_priority_max = yes; then
29571 HAVE_PRIOR_FUNCS=1
29572 else
29573 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
29574 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
29575 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
29576 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 else
29578 ac_check_lib_save_LIBS=$LIBS
29579 LIBS="-lposix4 $LIBS"
29580 cat >conftest.$ac_ext <<_ACEOF
29581 #line $LINENO "configure"
29582 /* confdefs.h. */
29583 _ACEOF
29584 cat confdefs.h >>conftest.$ac_ext
29585 cat >>conftest.$ac_ext <<_ACEOF
29586 /* end confdefs.h. */
29587
29588 /* Override any gcc2 internal prototype to avoid an error. */
29589 #ifdef __cplusplus
29590 extern "C"
29591 #endif
29592 /* We use char because int might match the return type of a gcc2
29593 builtin and then its argument prototype would still apply. */
29594 char sched_get_priority_max ();
29595 int
29596 main ()
29597 {
29598 sched_get_priority_max ();
29599 ;
29600 return 0;
29601 }
29602 _ACEOF
29603 rm -f conftest.$ac_objext conftest$ac_exeext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29605 (eval $ac_link) 2>&5
29606 ac_status=$?
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); } &&
29609 { ac_try='test -s conftest$ac_exeext'
29610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29611 (eval $ac_try) 2>&5
29612 ac_status=$?
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); }; }; then
29615 ac_cv_lib_posix4_sched_get_priority_max=yes
29616 else
29617 echo "$as_me: failed program was:" >&5
29618 sed 's/^/| /' conftest.$ac_ext >&5
29619
29620 ac_cv_lib_posix4_sched_get_priority_max=no
29621 fi
29622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29623 LIBS=$ac_check_lib_save_LIBS
29624 fi
29625 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
29626 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
29627 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
29628
29629 HAVE_PRIOR_FUNCS=1
29630 POSIX4_LINK=" -lposix4"
29631
29632 fi
29633
29634
29635 fi
29636
29637
29638 fi
29639
29640
29641 fi
29642
29643
29644 if test "$HAVE_PRIOR_FUNCS" = 1; then
29645 cat >>confdefs.h <<\_ACEOF
29646 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
29647 _ACEOF
29648
29649 else
29650 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
29651 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
29652 fi
29653
29654 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
29655 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
29656 if test "${ac_cv_func_pthread_cancel+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 else
29659 cat >conftest.$ac_ext <<_ACEOF
29660 #line $LINENO "configure"
29661 /* confdefs.h. */
29662 _ACEOF
29663 cat confdefs.h >>conftest.$ac_ext
29664 cat >>conftest.$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29666 /* System header to define __stub macros and hopefully few prototypes,
29667 which can conflict with char pthread_cancel (); below.
29668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29669 <limits.h> exists even on freestanding compilers. */
29670 #ifdef __STDC__
29671 # include <limits.h>
29672 #else
29673 # include <assert.h>
29674 #endif
29675 /* Override any gcc2 internal prototype to avoid an error. */
29676 #ifdef __cplusplus
29677 extern "C"
29678 {
29679 #endif
29680 /* We use char because int might match the return type of a gcc2
29681 builtin and then its argument prototype would still apply. */
29682 char pthread_cancel ();
29683 /* The GNU C library defines this for functions which it implements
29684 to always fail with ENOSYS. Some functions are actually named
29685 something starting with __ and the normal name is an alias. */
29686 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
29687 choke me
29688 #else
29689 char (*f) () = pthread_cancel;
29690 #endif
29691 #ifdef __cplusplus
29692 }
29693 #endif
29694
29695 int
29696 main ()
29697 {
29698 return f != pthread_cancel;
29699 ;
29700 return 0;
29701 }
29702 _ACEOF
29703 rm -f conftest.$ac_objext conftest$ac_exeext
29704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29705 (eval $ac_link) 2>&5
29706 ac_status=$?
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try='test -s conftest$ac_exeext'
29710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29711 (eval $ac_try) 2>&5
29712 ac_status=$?
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); }; }; then
29715 ac_cv_func_pthread_cancel=yes
29716 else
29717 echo "$as_me: failed program was:" >&5
29718 sed 's/^/| /' conftest.$ac_ext >&5
29719
29720 ac_cv_func_pthread_cancel=no
29721 fi
29722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29723 fi
29724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
29725 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
29726 if test $ac_cv_func_pthread_cancel = yes; then
29727 cat >>confdefs.h <<\_ACEOF
29728 #define HAVE_PTHREAD_CANCEL 1
29729 _ACEOF
29730
29731 else
29732 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
29733 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
29734 fi
29735
29736
29737 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
29738 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
29739 if test "${wx_cv_func_pthread_cleanup_push+set}" = set; then
29740 echo $ECHO_N "(cached) $ECHO_C" >&6
29741 else
29742
29743 cat >conftest.$ac_ext <<_ACEOF
29744 #line $LINENO "configure"
29745 /* confdefs.h. */
29746 _ACEOF
29747 cat confdefs.h >>conftest.$ac_ext
29748 cat >>conftest.$ac_ext <<_ACEOF
29749 /* end confdefs.h. */
29750 #include <pthread.h>
29751 int
29752 main ()
29753 {
29754
29755 pthread_cleanup_push(NULL, NULL);
29756 pthread_cleanup_pop(0);
29757
29758 ;
29759 return 0;
29760 }
29761 _ACEOF
29762 rm -f conftest.$ac_objext
29763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29764 (eval $ac_compile) 2>&5
29765 ac_status=$?
29766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29767 (exit $ac_status); } &&
29768 { ac_try='test -s conftest.$ac_objext'
29769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29770 (eval $ac_try) 2>&5
29771 ac_status=$?
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); }; }; then
29774
29775 wx_cv_func_pthread_cleanup_push=yes
29776
29777 else
29778 echo "$as_me: failed program was:" >&5
29779 sed 's/^/| /' conftest.$ac_ext >&5
29780
29781
29782 wx_cv_func_pthread_cleanup_push=no
29783
29784 fi
29785 rm -f conftest.$ac_objext conftest.$ac_ext
29786
29787 fi
29788 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup_push" >&5
29789 echo "${ECHO_T}$wx_cv_func_pthread_cleanup_push" >&6
29790
29791 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
29792 cat >>confdefs.h <<\_ACEOF
29793 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
29794 _ACEOF
29795
29796 fi
29797
29798
29799 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
29800 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
29801 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29803 else
29804
29805 cat >conftest.$ac_ext <<_ACEOF
29806 #line $LINENO "configure"
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812 #include <pthread.h>
29813 int
29814 main ()
29815 {
29816
29817 pthread_mutexattr_t attr;
29818 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
29819
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext
29825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29826 (eval $ac_compile) 2>&5
29827 ac_status=$?
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } &&
29830 { ac_try='test -s conftest.$ac_objext'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; }; then
29836
29837 wx_cv_type_pthread_mutexattr_t=yes
29838
29839 else
29840 echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.$ac_ext >&5
29842
29843
29844 wx_cv_type_pthread_mutexattr_t=no
29845
29846
29847 fi
29848 rm -f conftest.$ac_objext conftest.$ac_ext
29849
29850 fi
29851 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
29852 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
29853
29854 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
29855 cat >>confdefs.h <<\_ACEOF
29856 #define HAVE_PTHREAD_MUTEXATTR_T 1
29857 _ACEOF
29858
29859 else
29860 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
29861 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
29862 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 else
29865
29866 cat >conftest.$ac_ext <<_ACEOF
29867 #line $LINENO "configure"
29868 /* confdefs.h. */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873 #include <pthread.h>
29874 int
29875 main ()
29876 {
29877
29878 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
29879
29880 ;
29881 return 0;
29882 }
29883 _ACEOF
29884 rm -f conftest.$ac_objext
29885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29886 (eval $ac_compile) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); } &&
29890 { ac_try='test -s conftest.$ac_objext'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; }; then
29896
29897 wx_cv_type_pthread_rec_mutex_init=yes
29898
29899 else
29900 echo "$as_me: failed program was:" >&5
29901 sed 's/^/| /' conftest.$ac_ext >&5
29902
29903
29904 wx_cv_type_pthread_rec_mutex_init=no
29905
29906
29907 fi
29908 rm -f conftest.$ac_objext conftest.$ac_ext
29909
29910 fi
29911 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
29912 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
29913 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
29914 cat >>confdefs.h <<\_ACEOF
29915 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
29916 _ACEOF
29917
29918 else
29919 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
29920 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
29921 fi
29922 fi
29923 fi
29924
29925 else
29926 if test "$wxUSE_THREADS" = "yes" ; then
29927 case "${host}" in
29928 *-*-mingw32* )
29929 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
29930 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
29931 if test "${wx_cv_cflags_mthread+set}" = set; then
29932 echo $ECHO_N "(cached) $ECHO_C" >&6
29933 else
29934
29935 CFLAGS_OLD="$CFLAGS"
29936 CFLAGS="$CFLAGS -mthreads"
29937 cat >conftest.$ac_ext <<_ACEOF
29938 #line $LINENO "configure"
29939 /* confdefs.h. */
29940 _ACEOF
29941 cat confdefs.h >>conftest.$ac_ext
29942 cat >>conftest.$ac_ext <<_ACEOF
29943 /* end confdefs.h. */
29944
29945 int
29946 main ()
29947 {
29948
29949 ;
29950 return 0;
29951 }
29952 _ACEOF
29953 rm -f conftest.$ac_objext
29954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29955 (eval $ac_compile) 2>&5
29956 ac_status=$?
29957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 (exit $ac_status); } &&
29959 { ac_try='test -s conftest.$ac_objext'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29962 ac_status=$?
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; }; then
29965 wx_cv_cflags_mthread=yes
29966 else
29967 echo "$as_me: failed program was:" >&5
29968 sed 's/^/| /' conftest.$ac_ext >&5
29969
29970 wx_cv_cflags_mthread=no
29971
29972 fi
29973 rm -f conftest.$ac_objext conftest.$ac_ext
29974
29975
29976 fi
29977 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
29978 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
29979
29980 if test "$wx_cv_cflags_mthread" = "yes"; then
29981 CXXFLAGS="$CXXFLAGS -mthreads"
29982 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
29983 LDFLAGS="$LDFLAGS -mthreads"
29984 else
29985 CFLAGS="$CFLAGS_OLD"
29986 fi
29987 ;;
29988 esac
29989 fi
29990 fi
29991
29992 if test "$wxUSE_THREADS" = "yes"; then
29993 cat >>confdefs.h <<\_ACEOF
29994 #define wxUSE_THREADS 1
29995 _ACEOF
29996
29997
29998 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
29999 else
30000 if test "$ac_cv_func_strtok_r" = "yes"; then
30001 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
30002 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
30003 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
30004 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
30005 echo "$as_me:$LINENO: result: yes" >&5
30006 echo "${ECHO_T}yes" >&6
30007 else
30008 echo "$as_me:$LINENO: result: no" >&5
30009 echo "${ECHO_T}no" >&6
30010 fi
30011 fi
30012 fi
30013
30014 if test "$WXGTK20" = 1 ; then
30015 cat >>confdefs.h <<_ACEOF
30016 #define __WXGTK20__ $WXGTK20
30017 _ACEOF
30018
30019 WXGTK12=1
30020 fi
30021
30022 if test "$WXGTK12" = 1 ; then
30023 cat >>confdefs.h <<_ACEOF
30024 #define __WXGTK12__ $WXGTK12
30025 _ACEOF
30026
30027 fi
30028
30029 if test "$WXGTK127" = 1 ; then
30030 cat >>confdefs.h <<_ACEOF
30031 #define __WXGTK127__ $WXGTK127
30032 _ACEOF
30033
30034 fi
30035
30036 WXDEBUG=
30037
30038 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
30039 WXDEBUG="-g"
30040 wxUSE_OPTIMISE=no
30041 fi
30042
30043 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
30044 wxUSE_DEBUG_INFO=yes
30045 WXDEBUG="-ggdb"
30046 fi
30047
30048 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
30049 cat >>confdefs.h <<\_ACEOF
30050 #define WXDEBUG 1
30051 _ACEOF
30052
30053 WXDEBUG_DEFINE="-D__WXDEBUG__"
30054 else
30055 if test "$wxUSE_GTK" = 1 ; then
30056 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
30057 fi
30058 fi
30059
30060 if test "$wxUSE_MEM_TRACING" = "yes" ; then
30061 cat >>confdefs.h <<\_ACEOF
30062 #define wxUSE_MEMORY_TRACING 1
30063 _ACEOF
30064
30065 cat >>confdefs.h <<\_ACEOF
30066 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
30067 _ACEOF
30068
30069 cat >>confdefs.h <<\_ACEOF
30070 #define wxUSE_DEBUG_NEW_ALWAYS 1
30071 _ACEOF
30072
30073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
30074 fi
30075
30076 if test "$wxUSE_DMALLOC" = "yes" ; then
30077 DMALLOC_LIBS="-ldmalloc"
30078 fi
30079
30080 PROFILE=
30081 if test "$wxUSE_PROFILE" = "yes" ; then
30082 PROFILE=" -pg"
30083 fi
30084
30085 CODE_GEN_FLAGS=
30086 CODE_GEN_FLAGS_CXX=
30087 if test "$GCC" = "yes" ; then
30088 if test "$wxUSE_NO_RTTI" = "yes" ; then
30089 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
30090 fi
30091 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
30092 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
30093 fi
30094 if test "$wxUSE_PERMISSIVE" = "yes" ; then
30095 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
30096 fi
30097
30098 case "${host}" in
30099 powerpc*-*-aix* )
30100 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
30101 ;;
30102 *-hppa* )
30103 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
30104 ;;
30105 esac
30106 fi
30107
30108 OPTIMISE=
30109 if test "$wxUSE_OPTIMISE" = "no" ; then
30110 if test "$GCC" = yes ; then
30111 OPTIMISE="-O0"
30112 fi
30113 else
30114 if test "$GCC" = yes ; then
30115 OPTIMISE="-O2"
30116
30117 case "${host}" in
30118 i586-*-*|i686-*-* )
30119 OPTIMISE="${OPTIMISE} "
30120 ;;
30121 esac
30122 else
30123 OPTIMISE="-O"
30124 fi
30125 fi
30126
30127
30128 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
30129 cat >>confdefs.h <<\_ACEOF
30130 #define WXWIN_COMPATIBILITY_2_2 1
30131 _ACEOF
30132
30133
30134 WXWIN_COMPATIBILITY_2_4="yes"
30135 fi
30136
30137 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
30138 cat >>confdefs.h <<\_ACEOF
30139 #define WXWIN_COMPATIBILITY_2_4 1
30140 _ACEOF
30141
30142 fi
30143
30144
30145 if test "$wxUSE_GUI" = "yes"; then
30146 cat >>confdefs.h <<\_ACEOF
30147 #define wxUSE_GUI 1
30148 _ACEOF
30149
30150
30151 else
30152 cat >>confdefs.h <<\_ACEOF
30153 #define wxUSE_NOGUI 1
30154 _ACEOF
30155
30156 fi
30157
30158
30159 if test "$wxUSE_UNIX" = "yes"; then
30160 cat >>confdefs.h <<\_ACEOF
30161 #define wxUSE_UNIX 1
30162 _ACEOF
30163
30164 fi
30165
30166
30167 if test "$wxUSE_STL" = "yes"; then
30168 cat >>confdefs.h <<\_ACEOF
30169 #define wxUSE_STL 1
30170 _ACEOF
30171
30172 fi
30173
30174 if test "$wxUSE_APPLE_IEEE" = "yes"; then
30175 cat >>confdefs.h <<\_ACEOF
30176 #define wxUSE_APPLE_IEEE 1
30177 _ACEOF
30178
30179 fi
30180
30181 if test "$wxUSE_TIMER" = "yes"; then
30182 cat >>confdefs.h <<\_ACEOF
30183 #define wxUSE_TIMER 1
30184 _ACEOF
30185
30186 fi
30187
30188 if test "$wxUSE_WAVE" = "yes"; then
30189 cat >>confdefs.h <<\_ACEOF
30190 #define wxUSE_WAVE 1
30191 _ACEOF
30192
30193 fi
30194
30195 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
30196 cat >>confdefs.h <<\_ACEOF
30197 #define wxUSE_CMDLINE_PARSER 1
30198 _ACEOF
30199
30200 fi
30201
30202 if test "$wxUSE_STOPWATCH" = "yes"; then
30203 cat >>confdefs.h <<\_ACEOF
30204 #define wxUSE_STOPWATCH 1
30205 _ACEOF
30206
30207 fi
30208
30209 if test "$wxUSE_DATETIME" = "yes"; then
30210 cat >>confdefs.h <<\_ACEOF
30211 #define wxUSE_DATETIME 1
30212 _ACEOF
30213
30214 fi
30215
30216 if test "$wxUSE_FILE" = "yes"; then
30217 cat >>confdefs.h <<\_ACEOF
30218 #define wxUSE_FILE 1
30219 _ACEOF
30220
30221 fi
30222
30223 if test "$wxUSE_FFILE" = "yes"; then
30224 cat >>confdefs.h <<\_ACEOF
30225 #define wxUSE_FFILE 1
30226 _ACEOF
30227
30228 fi
30229
30230 if test "$wxUSE_FILESYSTEM" = "yes"; then
30231 cat >>confdefs.h <<\_ACEOF
30232 #define wxUSE_FILESYSTEM 1
30233 _ACEOF
30234
30235 fi
30236
30237 if test "$wxUSE_FS_ZIP" = "yes"; then
30238 cat >>confdefs.h <<\_ACEOF
30239 #define wxUSE_FS_ZIP 1
30240 _ACEOF
30241
30242 fi
30243
30244 if test "$wxUSE_ZIPSTREAM" = "yes"; then
30245 cat >>confdefs.h <<\_ACEOF
30246 #define wxUSE_ZIPSTREAM 1
30247 _ACEOF
30248
30249 fi
30250
30251 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
30252 cat >>confdefs.h <<\_ACEOF
30253 #define wxUSE_ON_FATAL_EXCEPTION 1
30254 _ACEOF
30255
30256 fi
30257
30258 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
30259 cat >>confdefs.h <<\_ACEOF
30260 #define wxUSE_SNGLINST_CHECKER 1
30261 _ACEOF
30262
30263 fi
30264
30265 if test "$wxUSE_BUSYINFO" = "yes"; then
30266 cat >>confdefs.h <<\_ACEOF
30267 #define wxUSE_BUSYINFO 1
30268 _ACEOF
30269
30270 fi
30271
30272 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
30273 cat >>confdefs.h <<\_ACEOF
30274 #define wxUSE_STD_IOSTREAM 1
30275 _ACEOF
30276
30277 fi
30278
30279 if test "$wxUSE_TEXTBUFFER" = "yes"; then
30280 cat >>confdefs.h <<\_ACEOF
30281 #define wxUSE_TEXTBUFFER 1
30282 _ACEOF
30283
30284 fi
30285
30286 if test "$wxUSE_TEXTFILE" = "yes"; then
30287 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
30288 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
30289 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
30290 else
30291 cat >>confdefs.h <<\_ACEOF
30292 #define wxUSE_TEXTFILE 1
30293 _ACEOF
30294
30295 fi
30296 fi
30297
30298 if test "$wxUSE_CONFIG" = "yes" ; then
30299 if test "$wxUSE_TEXTFILE" != "yes"; then
30300 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
30301 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
30302 else
30303 cat >>confdefs.h <<\_ACEOF
30304 #define wxUSE_CONFIG 1
30305 _ACEOF
30306
30307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
30308 fi
30309 fi
30310
30311 if test "$wxUSE_INTL" = "yes" ; then
30312 if test "$wxUSE_FILE" != "yes"; then
30313 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
30314 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
30315 else
30316 cat >>confdefs.h <<\_ACEOF
30317 #define wxUSE_INTL 1
30318 _ACEOF
30319
30320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
30321 GUIDIST="$GUIDIST INTL_DIST"
30322 fi
30323 fi
30324
30325 if test "$wxUSE_LOG" = "yes"; then
30326 cat >>confdefs.h <<\_ACEOF
30327 #define wxUSE_LOG 1
30328 _ACEOF
30329
30330
30331 if test "$wxUSE_LOGGUI" = "yes"; then
30332 cat >>confdefs.h <<\_ACEOF
30333 #define wxUSE_LOGGUI 1
30334 _ACEOF
30335
30336 fi
30337
30338 if test "$wxUSE_LOGWINDOW" = "yes"; then
30339 cat >>confdefs.h <<\_ACEOF
30340 #define wxUSE_LOGWINDOW 1
30341 _ACEOF
30342
30343 fi
30344
30345 if test "$wxUSE_LOGDIALOG" = "yes"; then
30346 cat >>confdefs.h <<\_ACEOF
30347 #define wxUSE_LOG_DIALOG 1
30348 _ACEOF
30349
30350 fi
30351 fi
30352
30353 if test "$wxUSE_LONGLONG" = "yes"; then
30354 cat >>confdefs.h <<\_ACEOF
30355 #define wxUSE_LONGLONG 1
30356 _ACEOF
30357
30358 fi
30359
30360 if test "$wxUSE_GEOMETRY" = "yes"; then
30361 cat >>confdefs.h <<\_ACEOF
30362 #define wxUSE_GEOMETRY 1
30363 _ACEOF
30364
30365 fi
30366
30367 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
30368 cat >>confdefs.h <<\_ACEOF
30369 #define wxUSE_DIALUP_MANAGER 1
30370 _ACEOF
30371
30372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
30373 fi
30374
30375 if test "$wxUSE_STREAMS" = "yes" ; then
30376 cat >>confdefs.h <<\_ACEOF
30377 #define wxUSE_STREAMS 1
30378 _ACEOF
30379
30380 fi
30381
30382
30383 if test "$wxUSE_DATETIME" = "yes"; then
30384
30385 for ac_func in strptime
30386 do
30387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30388 echo "$as_me:$LINENO: checking for $ac_func" >&5
30389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30390 if eval "test \"\${$as_ac_var+set}\" = set"; then
30391 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 else
30393 cat >conftest.$ac_ext <<_ACEOF
30394 #line $LINENO "configure"
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400 /* System header to define __stub macros and hopefully few prototypes,
30401 which can conflict with char $ac_func (); below.
30402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30403 <limits.h> exists even on freestanding compilers. */
30404 #ifdef __STDC__
30405 # include <limits.h>
30406 #else
30407 # include <assert.h>
30408 #endif
30409 /* Override any gcc2 internal prototype to avoid an error. */
30410 #ifdef __cplusplus
30411 extern "C"
30412 {
30413 #endif
30414 /* We use char because int might match the return type of a gcc2
30415 builtin and then its argument prototype would still apply. */
30416 char $ac_func ();
30417 /* The GNU C library defines this for functions which it implements
30418 to always fail with ENOSYS. Some functions are actually named
30419 something starting with __ and the normal name is an alias. */
30420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30421 choke me
30422 #else
30423 char (*f) () = $ac_func;
30424 #endif
30425 #ifdef __cplusplus
30426 }
30427 #endif
30428
30429 int
30430 main ()
30431 {
30432 return f != $ac_func;
30433 ;
30434 return 0;
30435 }
30436 _ACEOF
30437 rm -f conftest.$ac_objext conftest$ac_exeext
30438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30439 (eval $ac_link) 2>&5
30440 ac_status=$?
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } &&
30443 { ac_try='test -s conftest$ac_exeext'
30444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30445 (eval $ac_try) 2>&5
30446 ac_status=$?
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); }; }; then
30449 eval "$as_ac_var=yes"
30450 else
30451 echo "$as_me: failed program was:" >&5
30452 sed 's/^/| /' conftest.$ac_ext >&5
30453
30454 eval "$as_ac_var=no"
30455 fi
30456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30457 fi
30458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30460 if test `eval echo '${'$as_ac_var'}'` = yes; then
30461 cat >>confdefs.h <<_ACEOF
30462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30463 _ACEOF
30464
30465 fi
30466 done
30467
30468
30469 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
30470 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
30471 if test "${wx_cv_var_timezone+set}" = set; then
30472 echo $ECHO_N "(cached) $ECHO_C" >&6
30473 else
30474
30475 cat >conftest.$ac_ext <<_ACEOF
30476 #line $LINENO "configure"
30477 /* confdefs.h. */
30478 _ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30482
30483 #include <time.h>
30484
30485 int
30486 main ()
30487 {
30488
30489 int tz;
30490 tz = timezone;
30491
30492 ;
30493 return 0;
30494 }
30495 _ACEOF
30496 rm -f conftest.$ac_objext
30497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30498 (eval $ac_compile) 2>&5
30499 ac_status=$?
30500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30501 (exit $ac_status); } &&
30502 { ac_try='test -s conftest.$ac_objext'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; }; then
30508
30509 wx_cv_var_timezone=timezone
30510
30511 else
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.$ac_ext >&5
30514
30515
30516 cat >conftest.$ac_ext <<_ACEOF
30517 #line $LINENO "configure"
30518 /* confdefs.h. */
30519 _ACEOF
30520 cat confdefs.h >>conftest.$ac_ext
30521 cat >>conftest.$ac_ext <<_ACEOF
30522 /* end confdefs.h. */
30523
30524 #include <time.h>
30525
30526 int
30527 main ()
30528 {
30529
30530 int tz;
30531 tz = _timezone;
30532
30533 ;
30534 return 0;
30535 }
30536 _ACEOF
30537 rm -f conftest.$ac_objext
30538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30539 (eval $ac_compile) 2>&5
30540 ac_status=$?
30541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30542 (exit $ac_status); } &&
30543 { ac_try='test -s conftest.$ac_objext'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30546 ac_status=$?
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; }; then
30549
30550 wx_cv_var_timezone=_timezone
30551
30552 else
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30555
30556
30557 cat >conftest.$ac_ext <<_ACEOF
30558 #line $LINENO "configure"
30559 /* confdefs.h. */
30560 _ACEOF
30561 cat confdefs.h >>conftest.$ac_ext
30562 cat >>conftest.$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564
30565 #include <time.h>
30566
30567 int
30568 main ()
30569 {
30570
30571 int tz;
30572 tz = __timezone;
30573
30574 ;
30575 return 0;
30576 }
30577 _ACEOF
30578 rm -f conftest.$ac_objext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30580 (eval $ac_compile) 2>&5
30581 ac_status=$?
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try='test -s conftest.$ac_objext'
30585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30586 (eval $ac_try) 2>&5
30587 ac_status=$?
30588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30589 (exit $ac_status); }; }; then
30590
30591 wx_cv_var_timezone=__timezone
30592
30593 else
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.$ac_ext >&5
30596
30597
30598 if test "$USE_DOS" = 0 ; then
30599 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
30600 echo "$as_me: WARNING: no timezone variable" >&2;}
30601 fi
30602
30603
30604 fi
30605 rm -f conftest.$ac_objext conftest.$ac_ext
30606
30607
30608 fi
30609 rm -f conftest.$ac_objext conftest.$ac_ext
30610
30611
30612 fi
30613 rm -f conftest.$ac_objext conftest.$ac_ext
30614
30615
30616 fi
30617 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
30618 echo "${ECHO_T}$wx_cv_var_timezone" >&6
30619
30620 if test "x$wx_cv_var_timezone" != x ; then
30621 cat >>confdefs.h <<_ACEOF
30622 #define WX_TIMEZONE $wx_cv_var_timezone
30623 _ACEOF
30624
30625 fi
30626
30627
30628 for ac_func in localtime
30629 do
30630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30631 echo "$as_me:$LINENO: checking for $ac_func" >&5
30632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30633 if eval "test \"\${$as_ac_var+set}\" = set"; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30635 else
30636 cat >conftest.$ac_ext <<_ACEOF
30637 #line $LINENO "configure"
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643 /* System header to define __stub macros and hopefully few prototypes,
30644 which can conflict with char $ac_func (); below.
30645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30646 <limits.h> exists even on freestanding compilers. */
30647 #ifdef __STDC__
30648 # include <limits.h>
30649 #else
30650 # include <assert.h>
30651 #endif
30652 /* Override any gcc2 internal prototype to avoid an error. */
30653 #ifdef __cplusplus
30654 extern "C"
30655 {
30656 #endif
30657 /* We use char because int might match the return type of a gcc2
30658 builtin and then its argument prototype would still apply. */
30659 char $ac_func ();
30660 /* The GNU C library defines this for functions which it implements
30661 to always fail with ENOSYS. Some functions are actually named
30662 something starting with __ and the normal name is an alias. */
30663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30664 choke me
30665 #else
30666 char (*f) () = $ac_func;
30667 #endif
30668 #ifdef __cplusplus
30669 }
30670 #endif
30671
30672 int
30673 main ()
30674 {
30675 return f != $ac_func;
30676 ;
30677 return 0;
30678 }
30679 _ACEOF
30680 rm -f conftest.$ac_objext conftest$ac_exeext
30681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30682 (eval $ac_link) 2>&5
30683 ac_status=$?
30684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30685 (exit $ac_status); } &&
30686 { ac_try='test -s conftest$ac_exeext'
30687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30688 (eval $ac_try) 2>&5
30689 ac_status=$?
30690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30691 (exit $ac_status); }; }; then
30692 eval "$as_ac_var=yes"
30693 else
30694 echo "$as_me: failed program was:" >&5
30695 sed 's/^/| /' conftest.$ac_ext >&5
30696
30697 eval "$as_ac_var=no"
30698 fi
30699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30700 fi
30701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30703 if test `eval echo '${'$as_ac_var'}'` = yes; then
30704 cat >>confdefs.h <<_ACEOF
30705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30706 _ACEOF
30707
30708 fi
30709 done
30710
30711
30712 if test "$ac_cv_func_localtime" = "yes"; then
30713 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
30714 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
30715 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
30716 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 else
30718
30719 cat >conftest.$ac_ext <<_ACEOF
30720 #line $LINENO "configure"
30721 /* confdefs.h. */
30722 _ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30726
30727 #include <time.h>
30728
30729 int
30730 main ()
30731 {
30732
30733 struct tm tm;
30734 tm.tm_gmtoff++;
30735
30736 ;
30737 return 0;
30738 }
30739 _ACEOF
30740 rm -f conftest.$ac_objext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30742 (eval $ac_compile) 2>&5
30743 ac_status=$?
30744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30745 (exit $ac_status); } &&
30746 { ac_try='test -s conftest.$ac_objext'
30747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30748 (eval $ac_try) 2>&5
30749 ac_status=$?
30750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30751 (exit $ac_status); }; }; then
30752
30753 wx_cv_struct_tm_has_gmtoff=yes
30754
30755 else
30756 echo "$as_me: failed program was:" >&5
30757 sed 's/^/| /' conftest.$ac_ext >&5
30758
30759 wx_cv_struct_tm_has_gmtoff=no
30760
30761 fi
30762 rm -f conftest.$ac_objext conftest.$ac_ext
30763
30764 fi
30765 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
30766 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
30767 fi
30768
30769 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
30770 cat >>confdefs.h <<\_ACEOF
30771 #define WX_GMTOFF_IN_TM 1
30772 _ACEOF
30773
30774 fi
30775
30776
30777
30778 for ac_func in gettimeofday ftime
30779 do
30780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30781 echo "$as_me:$LINENO: checking for $ac_func" >&5
30782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30783 if eval "test \"\${$as_ac_var+set}\" = set"; then
30784 echo $ECHO_N "(cached) $ECHO_C" >&6
30785 else
30786 cat >conftest.$ac_ext <<_ACEOF
30787 #line $LINENO "configure"
30788 /* confdefs.h. */
30789 _ACEOF
30790 cat confdefs.h >>conftest.$ac_ext
30791 cat >>conftest.$ac_ext <<_ACEOF
30792 /* end confdefs.h. */
30793 /* System header to define __stub macros and hopefully few prototypes,
30794 which can conflict with char $ac_func (); below.
30795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30796 <limits.h> exists even on freestanding compilers. */
30797 #ifdef __STDC__
30798 # include <limits.h>
30799 #else
30800 # include <assert.h>
30801 #endif
30802 /* Override any gcc2 internal prototype to avoid an error. */
30803 #ifdef __cplusplus
30804 extern "C"
30805 {
30806 #endif
30807 /* We use char because int might match the return type of a gcc2
30808 builtin and then its argument prototype would still apply. */
30809 char $ac_func ();
30810 /* The GNU C library defines this for functions which it implements
30811 to always fail with ENOSYS. Some functions are actually named
30812 something starting with __ and the normal name is an alias. */
30813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30814 choke me
30815 #else
30816 char (*f) () = $ac_func;
30817 #endif
30818 #ifdef __cplusplus
30819 }
30820 #endif
30821
30822 int
30823 main ()
30824 {
30825 return f != $ac_func;
30826 ;
30827 return 0;
30828 }
30829 _ACEOF
30830 rm -f conftest.$ac_objext conftest$ac_exeext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30832 (eval $ac_link) 2>&5
30833 ac_status=$?
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -s conftest$ac_exeext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30839 ac_status=$?
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 eval "$as_ac_var=yes"
30843 else
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30846
30847 eval "$as_ac_var=no"
30848 fi
30849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30850 fi
30851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30853 if test `eval echo '${'$as_ac_var'}'` = yes; then
30854 cat >>confdefs.h <<_ACEOF
30855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30856 _ACEOF
30857 break
30858 fi
30859 done
30860
30861
30862 if test "$ac_cv_func_gettimeofday" = "yes"; then
30863 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
30864 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
30865 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
30866 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 else
30868
30869
30870
30871 ac_ext=cc
30872 ac_cpp='$CXXCPP $CPPFLAGS'
30873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30876
30877
30878 cat >conftest.$ac_ext <<_ACEOF
30879 #line $LINENO "configure"
30880 /* confdefs.h. */
30881 _ACEOF
30882 cat confdefs.h >>conftest.$ac_ext
30883 cat >>conftest.$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885
30886 #include <sys/time.h>
30887 #include <unistd.h>
30888
30889 int
30890 main ()
30891 {
30892
30893 struct timeval tv;
30894 gettimeofday(&tv, NULL);
30895
30896 ;
30897 return 0;
30898 }
30899 _ACEOF
30900 rm -f conftest.$ac_objext
30901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30902 (eval $ac_compile) 2>&5
30903 ac_status=$?
30904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30905 (exit $ac_status); } &&
30906 { ac_try='test -s conftest.$ac_objext'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; }; then
30912 wx_cv_func_gettimeofday_has_2_args=yes
30913 else
30914 echo "$as_me: failed program was:" >&5
30915 sed 's/^/| /' conftest.$ac_ext >&5
30916
30917 cat >conftest.$ac_ext <<_ACEOF
30918 #line $LINENO "configure"
30919 /* confdefs.h. */
30920 _ACEOF
30921 cat confdefs.h >>conftest.$ac_ext
30922 cat >>conftest.$ac_ext <<_ACEOF
30923 /* end confdefs.h. */
30924
30925 #include <sys/time.h>
30926 #include <unistd.h>
30927
30928 int
30929 main ()
30930 {
30931
30932 struct timeval tv;
30933 gettimeofday(&tv);
30934
30935 ;
30936 return 0;
30937 }
30938 _ACEOF
30939 rm -f conftest.$ac_objext
30940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30941 (eval $ac_compile) 2>&5
30942 ac_status=$?
30943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30944 (exit $ac_status); } &&
30945 { ac_try='test -s conftest.$ac_objext'
30946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947 (eval $ac_try) 2>&5
30948 ac_status=$?
30949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950 (exit $ac_status); }; }; then
30951 wx_cv_func_gettimeofday_has_2_args=no
30952 else
30953 echo "$as_me: failed program was:" >&5
30954 sed 's/^/| /' conftest.$ac_ext >&5
30955
30956
30957 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
30958 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
30959 wx_cv_func_gettimeofday_has_2_args=unknown
30960
30961
30962 fi
30963 rm -f conftest.$ac_objext conftest.$ac_ext
30964
30965 fi
30966 rm -f conftest.$ac_objext conftest.$ac_ext
30967 ac_ext=c
30968 ac_cpp='$CPP $CPPFLAGS'
30969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30972
30973
30974 fi
30975 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
30976 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
30977
30978 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
30979 cat >>confdefs.h <<\_ACEOF
30980 #define WX_GETTIMEOFDAY_NO_TZ 1
30981 _ACEOF
30982
30983 fi
30984 fi
30985
30986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
30987 fi
30988
30989
30990 if test "$wxUSE_SOCKETS" = "yes"; then
30991 if test "$wxUSE_MGL" = "1"; then
30992 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
30993 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
30994 wxUSE_SOCKETS="no"
30995 fi
30996 if test "$wxUSE_COCOA" = "1"; then
30997 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under Cocoa... disabled" >&5
30998 echo "$as_me: WARNING: wxSocket not yet supported under Cocoa... disabled" >&2;}
30999 wxUSE_SOCKETS="no"
31000 fi
31001 fi
31002
31003 if test "$wxUSE_SOCKETS" = "yes"; then
31004 if test "$TOOLKIT" != "MSW"; then
31005 echo "$as_me:$LINENO: checking for socket" >&5
31006 echo $ECHO_N "checking for socket... $ECHO_C" >&6
31007 if test "${ac_cv_func_socket+set}" = set; then
31008 echo $ECHO_N "(cached) $ECHO_C" >&6
31009 else
31010 cat >conftest.$ac_ext <<_ACEOF
31011 #line $LINENO "configure"
31012 /* confdefs.h. */
31013 _ACEOF
31014 cat confdefs.h >>conftest.$ac_ext
31015 cat >>conftest.$ac_ext <<_ACEOF
31016 /* end confdefs.h. */
31017 /* System header to define __stub macros and hopefully few prototypes,
31018 which can conflict with char socket (); below.
31019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31020 <limits.h> exists even on freestanding compilers. */
31021 #ifdef __STDC__
31022 # include <limits.h>
31023 #else
31024 # include <assert.h>
31025 #endif
31026 /* Override any gcc2 internal prototype to avoid an error. */
31027 #ifdef __cplusplus
31028 extern "C"
31029 {
31030 #endif
31031 /* We use char because int might match the return type of a gcc2
31032 builtin and then its argument prototype would still apply. */
31033 char socket ();
31034 /* The GNU C library defines this for functions which it implements
31035 to always fail with ENOSYS. Some functions are actually named
31036 something starting with __ and the normal name is an alias. */
31037 #if defined (__stub_socket) || defined (__stub___socket)
31038 choke me
31039 #else
31040 char (*f) () = socket;
31041 #endif
31042 #ifdef __cplusplus
31043 }
31044 #endif
31045
31046 int
31047 main ()
31048 {
31049 return f != socket;
31050 ;
31051 return 0;
31052 }
31053 _ACEOF
31054 rm -f conftest.$ac_objext conftest$ac_exeext
31055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31056 (eval $ac_link) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } &&
31060 { ac_try='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 ac_cv_func_socket=yes
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 ac_cv_func_socket=no
31072 fi
31073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31074 fi
31075 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
31076 echo "${ECHO_T}$ac_cv_func_socket" >&6
31077 if test $ac_cv_func_socket = yes; then
31078 :
31079 else
31080
31081 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
31082 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
31083 if test "${ac_cv_lib_socket_socket+set}" = set; then
31084 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 else
31086 ac_check_lib_save_LIBS=$LIBS
31087 LIBS="-lsocket $LIBS"
31088 cat >conftest.$ac_ext <<_ACEOF
31089 #line $LINENO "configure"
31090 /* confdefs.h. */
31091 _ACEOF
31092 cat confdefs.h >>conftest.$ac_ext
31093 cat >>conftest.$ac_ext <<_ACEOF
31094 /* end confdefs.h. */
31095
31096 /* Override any gcc2 internal prototype to avoid an error. */
31097 #ifdef __cplusplus
31098 extern "C"
31099 #endif
31100 /* We use char because int might match the return type of a gcc2
31101 builtin and then its argument prototype would still apply. */
31102 char socket ();
31103 int
31104 main ()
31105 {
31106 socket ();
31107 ;
31108 return 0;
31109 }
31110 _ACEOF
31111 rm -f conftest.$ac_objext conftest$ac_exeext
31112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31113 (eval $ac_link) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); } &&
31117 { ac_try='test -s conftest$ac_exeext'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; }; then
31123 ac_cv_lib_socket_socket=yes
31124 else
31125 echo "$as_me: failed program was:" >&5
31126 sed 's/^/| /' conftest.$ac_ext >&5
31127
31128 ac_cv_lib_socket_socket=no
31129 fi
31130 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31131 LIBS=$ac_check_lib_save_LIBS
31132 fi
31133 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
31134 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
31135 if test $ac_cv_lib_socket_socket = yes; then
31136 if test "$INET_LINK" != " -lsocket"; then
31137 INET_LINK="$INET_LINK -lsocket"
31138 fi
31139 else
31140
31141 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
31142 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
31143 wxUSE_SOCKETS=no
31144
31145
31146 fi
31147
31148
31149
31150 fi
31151
31152 fi
31153 fi
31154
31155 if test "$wxUSE_SOCKETS" = "yes" ; then
31156 if test "$TOOLKIT" != "MSW"; then
31157 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
31158 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
31159 if test "${wx_cv_type_getsockname3+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31161 else
31162
31163 cat >conftest.$ac_ext <<_ACEOF
31164 #line $LINENO "configure"
31165 /* confdefs.h. */
31166 _ACEOF
31167 cat confdefs.h >>conftest.$ac_ext
31168 cat >>conftest.$ac_ext <<_ACEOF
31169 /* end confdefs.h. */
31170
31171 #include <sys/types.h>
31172 #include <sys/socket.h>
31173
31174 int
31175 main ()
31176 {
31177
31178 socklen_t len;
31179 getsockname(0, 0, &len);
31180
31181 ;
31182 return 0;
31183 }
31184 _ACEOF
31185 rm -f conftest.$ac_objext
31186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31187 (eval $ac_compile) 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); } &&
31191 { ac_try='test -s conftest.$ac_objext'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31194 ac_status=$?
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; }; then
31197 wx_cv_type_getsockname3=socklen_t
31198 else
31199 echo "$as_me: failed program was:" >&5
31200 sed 's/^/| /' conftest.$ac_ext >&5
31201
31202
31203 CFLAGS_OLD="$CFLAGS"
31204 if test "$GCC" = yes ; then
31205 CFLAGS="$CFLAGS -Werror"
31206 fi
31207
31208 cat >conftest.$ac_ext <<_ACEOF
31209 #line $LINENO "configure"
31210 /* confdefs.h. */
31211 _ACEOF
31212 cat confdefs.h >>conftest.$ac_ext
31213 cat >>conftest.$ac_ext <<_ACEOF
31214 /* end confdefs.h. */
31215
31216 #include <sys/types.h>
31217 #include <sys/socket.h>
31218
31219 int
31220 main ()
31221 {
31222
31223 size_t len;
31224 getsockname(0, 0, &len);
31225
31226 ;
31227 return 0;
31228 }
31229 _ACEOF
31230 rm -f conftest.$ac_objext
31231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31232 (eval $ac_compile) 2>&5
31233 ac_status=$?
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); } &&
31236 { ac_try='test -s conftest.$ac_objext'
31237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31238 (eval $ac_try) 2>&5
31239 ac_status=$?
31240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31241 (exit $ac_status); }; }; then
31242 wx_cv_type_getsockname3=size_t
31243 else
31244 echo "$as_me: failed program was:" >&5
31245 sed 's/^/| /' conftest.$ac_ext >&5
31246
31247 cat >conftest.$ac_ext <<_ACEOF
31248 #line $LINENO "configure"
31249 /* confdefs.h. */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254
31255 #include <sys/types.h>
31256 #include <sys/socket.h>
31257
31258 int
31259 main ()
31260 {
31261
31262 int len;
31263 getsockname(0, 0, &len);
31264
31265 ;
31266 return 0;
31267 }
31268 _ACEOF
31269 rm -f conftest.$ac_objext
31270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31271 (eval $ac_compile) 2>&5
31272 ac_status=$?
31273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31274 (exit $ac_status); } &&
31275 { ac_try='test -s conftest.$ac_objext'
31276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31277 (eval $ac_try) 2>&5
31278 ac_status=$?
31279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31280 (exit $ac_status); }; }; then
31281 wx_cv_type_getsockname3=int
31282 else
31283 echo "$as_me: failed program was:" >&5
31284 sed 's/^/| /' conftest.$ac_ext >&5
31285
31286 wx_cv_type_getsockname3=unknown
31287
31288 fi
31289 rm -f conftest.$ac_objext conftest.$ac_ext
31290
31291 fi
31292 rm -f conftest.$ac_objext conftest.$ac_ext
31293
31294 CFLAGS="$CFLAGS_OLD"
31295
31296
31297 fi
31298 rm -f conftest.$ac_objext conftest.$ac_ext
31299
31300 fi
31301 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
31302 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
31303
31304 if test "$wx_cv_type_getsockname3" = "unknown"; then
31305 wxUSE_SOCKETS=no
31306 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
31307 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
31308 else
31309 cat >>confdefs.h <<_ACEOF
31310 #define SOCKLEN_T $wx_cv_type_getsockname3
31311 _ACEOF
31312
31313 fi
31314 fi
31315 fi
31316
31317 if test "$wxUSE_SOCKETS" = "yes" ; then
31318 cat >>confdefs.h <<\_ACEOF
31319 #define wxUSE_SOCKETS 1
31320 _ACEOF
31321
31322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
31323 fi
31324
31325 if test "$wxUSE_PROTOCOL" = "yes"; then
31326 if test "$wxUSE_SOCKETS" != "yes"; then
31327 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
31328 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
31329 wxUSE_PROTOCOL=no
31330 fi
31331 fi
31332
31333 if test "$wxUSE_PROTOCOL" = "yes"; then
31334 cat >>confdefs.h <<\_ACEOF
31335 #define wxUSE_PROTOCOL 1
31336 _ACEOF
31337
31338
31339 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
31340 cat >>confdefs.h <<\_ACEOF
31341 #define wxUSE_PROTOCOL_HTTP 1
31342 _ACEOF
31343
31344 fi
31345 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
31346 cat >>confdefs.h <<\_ACEOF
31347 #define wxUSE_PROTOCOL_FTP 1
31348 _ACEOF
31349
31350 fi
31351 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
31352 cat >>confdefs.h <<\_ACEOF
31353 #define wxUSE_PROTOCOL_FILE 1
31354 _ACEOF
31355
31356 fi
31357 else
31358 if test "$wxUSE_FS_INET" = "yes"; then
31359 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
31360 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
31361 wxUSE_FS_INET="no"
31362 fi
31363 fi
31364
31365 if test "$wxUSE_URL" = "yes"; then
31366 if test "$wxUSE_PROTOCOL" != "yes"; then
31367 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
31368 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
31369 wxUSE_URL=no
31370 fi
31371 if test "$wxUSE_URL" = "yes"; then
31372 cat >>confdefs.h <<\_ACEOF
31373 #define wxUSE_URL 1
31374 _ACEOF
31375
31376 fi
31377 fi
31378
31379 if test "$wxUSE_FS_INET" = "yes"; then
31380 cat >>confdefs.h <<\_ACEOF
31381 #define wxUSE_FS_INET 1
31382 _ACEOF
31383
31384 fi
31385
31386
31387 if test "$wxUSE_GUI" = "yes"; then
31388
31389 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
31390 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
31391 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
31392 wxUSE_JOYSTICK=no
31393 fi
31394
31395 if test "$TOOLKIT" != "MSW"; then
31396 if test "$wxUSE_JOYSTICK" = "yes"; then
31397
31398 for ac_header in linux/joystick.h
31399 do
31400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31402 echo "$as_me:$LINENO: checking for $ac_header" >&5
31403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31405 echo $ECHO_N "(cached) $ECHO_C" >&6
31406 fi
31407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31408 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31409 else
31410 # Is the header compilable?
31411 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31413 cat >conftest.$ac_ext <<_ACEOF
31414 #line $LINENO "configure"
31415 /* confdefs.h. */
31416 _ACEOF
31417 cat confdefs.h >>conftest.$ac_ext
31418 cat >>conftest.$ac_ext <<_ACEOF
31419 /* end confdefs.h. */
31420 $ac_includes_default
31421 #include <$ac_header>
31422 _ACEOF
31423 rm -f conftest.$ac_objext
31424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31425 (eval $ac_compile) 2>&5
31426 ac_status=$?
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } &&
31429 { ac_try='test -s conftest.$ac_objext'
31430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31431 (eval $ac_try) 2>&5
31432 ac_status=$?
31433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31434 (exit $ac_status); }; }; then
31435 ac_header_compiler=yes
31436 else
31437 echo "$as_me: failed program was:" >&5
31438 sed 's/^/| /' conftest.$ac_ext >&5
31439
31440 ac_header_compiler=no
31441 fi
31442 rm -f conftest.$ac_objext conftest.$ac_ext
31443 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31444 echo "${ECHO_T}$ac_header_compiler" >&6
31445
31446 # Is the header present?
31447 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31448 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31449 cat >conftest.$ac_ext <<_ACEOF
31450 #line $LINENO "configure"
31451 /* confdefs.h. */
31452 _ACEOF
31453 cat confdefs.h >>conftest.$ac_ext
31454 cat >>conftest.$ac_ext <<_ACEOF
31455 /* end confdefs.h. */
31456 #include <$ac_header>
31457 _ACEOF
31458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31460 ac_status=$?
31461 grep -v '^ *+' conftest.er1 >conftest.err
31462 rm -f conftest.er1
31463 cat conftest.err >&5
31464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31465 (exit $ac_status); } >/dev/null; then
31466 if test -s conftest.err; then
31467 ac_cpp_err=$ac_c_preproc_warn_flag
31468 else
31469 ac_cpp_err=
31470 fi
31471 else
31472 ac_cpp_err=yes
31473 fi
31474 if test -z "$ac_cpp_err"; then
31475 ac_header_preproc=yes
31476 else
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.$ac_ext >&5
31479
31480 ac_header_preproc=no
31481 fi
31482 rm -f conftest.err conftest.$ac_ext
31483 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31484 echo "${ECHO_T}$ac_header_preproc" >&6
31485
31486 # So? What about this header?
31487 case $ac_header_compiler:$ac_header_preproc in
31488 yes:no )
31489 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31490 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31493 (
31494 cat <<\_ASBOX
31495 ## ------------------------------------ ##
31496 ## Report this to bug-autoconf@gnu.org. ##
31497 ## ------------------------------------ ##
31498 _ASBOX
31499 ) |
31500 sed "s/^/$as_me: WARNING: /" >&2
31501 ;;
31502 no:yes )
31503 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31504 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31505 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31506 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31507 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31508 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31509 (
31510 cat <<\_ASBOX
31511 ## ------------------------------------ ##
31512 ## Report this to bug-autoconf@gnu.org. ##
31513 ## ------------------------------------ ##
31514 _ASBOX
31515 ) |
31516 sed "s/^/$as_me: WARNING: /" >&2
31517 ;;
31518 esac
31519 echo "$as_me:$LINENO: checking for $ac_header" >&5
31520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 else
31524 eval "$as_ac_Header=$ac_header_preproc"
31525 fi
31526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31528
31529 fi
31530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31531 cat >>confdefs.h <<_ACEOF
31532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31533 _ACEOF
31534
31535 fi
31536
31537 done
31538
31539 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
31540 wxUSE_JOYSTICK=no
31541 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
31542 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
31543 fi
31544 fi
31545 fi
31546
31547 if test "$wxUSE_JOYSTICK" = "yes"; then
31548 cat >>confdefs.h <<\_ACEOF
31549 #define wxUSE_JOYSTICK 1
31550 _ACEOF
31551
31552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
31553 fi
31554 fi
31555
31556
31557 if test "$TOOLKIT" != "MSW"; then
31558
31559 HAVE_DL_FUNCS=0
31560 HAVE_SHL_FUNCS=0
31561 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31562 if test "$USE_DARWIN" = 1; then
31563 HAVE_DL_FUNCS=1
31564 else
31565
31566 for ac_func in dlopen
31567 do
31568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31569 echo "$as_me:$LINENO: checking for $ac_func" >&5
31570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31571 if eval "test \"\${$as_ac_var+set}\" = set"; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574 cat >conftest.$ac_ext <<_ACEOF
31575 #line $LINENO "configure"
31576 /* confdefs.h. */
31577 _ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31581 /* System header to define __stub macros and hopefully few prototypes,
31582 which can conflict with char $ac_func (); below.
31583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31584 <limits.h> exists even on freestanding compilers. */
31585 #ifdef __STDC__
31586 # include <limits.h>
31587 #else
31588 # include <assert.h>
31589 #endif
31590 /* Override any gcc2 internal prototype to avoid an error. */
31591 #ifdef __cplusplus
31592 extern "C"
31593 {
31594 #endif
31595 /* We use char because int might match the return type of a gcc2
31596 builtin and then its argument prototype would still apply. */
31597 char $ac_func ();
31598 /* The GNU C library defines this for functions which it implements
31599 to always fail with ENOSYS. Some functions are actually named
31600 something starting with __ and the normal name is an alias. */
31601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31602 choke me
31603 #else
31604 char (*f) () = $ac_func;
31605 #endif
31606 #ifdef __cplusplus
31607 }
31608 #endif
31609
31610 int
31611 main ()
31612 {
31613 return f != $ac_func;
31614 ;
31615 return 0;
31616 }
31617 _ACEOF
31618 rm -f conftest.$ac_objext conftest$ac_exeext
31619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31620 (eval $ac_link) 2>&5
31621 ac_status=$?
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); } &&
31624 { ac_try='test -s conftest$ac_exeext'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31627 ac_status=$?
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 eval "$as_ac_var=yes"
31631 else
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31634
31635 eval "$as_ac_var=no"
31636 fi
31637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31638 fi
31639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31641 if test `eval echo '${'$as_ac_var'}'` = yes; then
31642 cat >>confdefs.h <<_ACEOF
31643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31644 _ACEOF
31645
31646 cat >>confdefs.h <<\_ACEOF
31647 #define HAVE_DLOPEN 1
31648 _ACEOF
31649
31650 HAVE_DL_FUNCS=1
31651
31652 else
31653
31654 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31655 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31656 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31657 echo $ECHO_N "(cached) $ECHO_C" >&6
31658 else
31659 ac_check_lib_save_LIBS=$LIBS
31660 LIBS="-ldl $LIBS"
31661 cat >conftest.$ac_ext <<_ACEOF
31662 #line $LINENO "configure"
31663 /* confdefs.h. */
31664 _ACEOF
31665 cat confdefs.h >>conftest.$ac_ext
31666 cat >>conftest.$ac_ext <<_ACEOF
31667 /* end confdefs.h. */
31668
31669 /* Override any gcc2 internal prototype to avoid an error. */
31670 #ifdef __cplusplus
31671 extern "C"
31672 #endif
31673 /* We use char because int might match the return type of a gcc2
31674 builtin and then its argument prototype would still apply. */
31675 char dlopen ();
31676 int
31677 main ()
31678 {
31679 dlopen ();
31680 ;
31681 return 0;
31682 }
31683 _ACEOF
31684 rm -f conftest.$ac_objext conftest$ac_exeext
31685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31686 (eval $ac_link) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); } &&
31690 { ac_try='test -s conftest$ac_exeext'
31691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31692 (eval $ac_try) 2>&5
31693 ac_status=$?
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); }; }; then
31696 ac_cv_lib_dl_dlopen=yes
31697 else
31698 echo "$as_me: failed program was:" >&5
31699 sed 's/^/| /' conftest.$ac_ext >&5
31700
31701 ac_cv_lib_dl_dlopen=no
31702 fi
31703 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31704 LIBS=$ac_check_lib_save_LIBS
31705 fi
31706 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31707 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31708 if test $ac_cv_lib_dl_dlopen = yes; then
31709
31710 cat >>confdefs.h <<\_ACEOF
31711 #define HAVE_DLOPEN 1
31712 _ACEOF
31713
31714 HAVE_DL_FUNCS=1
31715 DL_LINK=" -ldl$DL_LINK"
31716
31717 else
31718
31719
31720 for ac_func in shl_load
31721 do
31722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31723 echo "$as_me:$LINENO: checking for $ac_func" >&5
31724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31725 if eval "test \"\${$as_ac_var+set}\" = set"; then
31726 echo $ECHO_N "(cached) $ECHO_C" >&6
31727 else
31728 cat >conftest.$ac_ext <<_ACEOF
31729 #line $LINENO "configure"
31730 /* confdefs.h. */
31731 _ACEOF
31732 cat confdefs.h >>conftest.$ac_ext
31733 cat >>conftest.$ac_ext <<_ACEOF
31734 /* end confdefs.h. */
31735 /* System header to define __stub macros and hopefully few prototypes,
31736 which can conflict with char $ac_func (); below.
31737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31738 <limits.h> exists even on freestanding compilers. */
31739 #ifdef __STDC__
31740 # include <limits.h>
31741 #else
31742 # include <assert.h>
31743 #endif
31744 /* Override any gcc2 internal prototype to avoid an error. */
31745 #ifdef __cplusplus
31746 extern "C"
31747 {
31748 #endif
31749 /* We use char because int might match the return type of a gcc2
31750 builtin and then its argument prototype would still apply. */
31751 char $ac_func ();
31752 /* The GNU C library defines this for functions which it implements
31753 to always fail with ENOSYS. Some functions are actually named
31754 something starting with __ and the normal name is an alias. */
31755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31756 choke me
31757 #else
31758 char (*f) () = $ac_func;
31759 #endif
31760 #ifdef __cplusplus
31761 }
31762 #endif
31763
31764 int
31765 main ()
31766 {
31767 return f != $ac_func;
31768 ;
31769 return 0;
31770 }
31771 _ACEOF
31772 rm -f conftest.$ac_objext conftest$ac_exeext
31773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31774 (eval $ac_link) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); } &&
31778 { ac_try='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 eval "$as_ac_var=yes"
31785 else
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31788
31789 eval "$as_ac_var=no"
31790 fi
31791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31792 fi
31793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31795 if test `eval echo '${'$as_ac_var'}'` = yes; then
31796 cat >>confdefs.h <<_ACEOF
31797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31798 _ACEOF
31799
31800 cat >>confdefs.h <<\_ACEOF
31801 #define HAVE_SHL_LOAD 1
31802 _ACEOF
31803
31804 HAVE_SHL_FUNCS=1
31805
31806 else
31807
31808 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
31809 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
31810 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
31811 echo $ECHO_N "(cached) $ECHO_C" >&6
31812 else
31813 ac_check_lib_save_LIBS=$LIBS
31814 LIBS="-lshl_load $LIBS"
31815 cat >conftest.$ac_ext <<_ACEOF
31816 #line $LINENO "configure"
31817 /* confdefs.h. */
31818 _ACEOF
31819 cat confdefs.h >>conftest.$ac_ext
31820 cat >>conftest.$ac_ext <<_ACEOF
31821 /* end confdefs.h. */
31822
31823 /* Override any gcc2 internal prototype to avoid an error. */
31824 #ifdef __cplusplus
31825 extern "C"
31826 #endif
31827 /* We use char because int might match the return type of a gcc2
31828 builtin and then its argument prototype would still apply. */
31829 char dld ();
31830 int
31831 main ()
31832 {
31833 dld ();
31834 ;
31835 return 0;
31836 }
31837 _ACEOF
31838 rm -f conftest.$ac_objext conftest$ac_exeext
31839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31840 (eval $ac_link) 2>&5
31841 ac_status=$?
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } &&
31844 { ac_try='test -s conftest$ac_exeext'
31845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31846 (eval $ac_try) 2>&5
31847 ac_status=$?
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); }; }; then
31850 ac_cv_lib_shl_load_dld=yes
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31854
31855 ac_cv_lib_shl_load_dld=no
31856 fi
31857 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31858 LIBS=$ac_check_lib_save_LIBS
31859 fi
31860 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
31861 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
31862 if test $ac_cv_lib_shl_load_dld = yes; then
31863
31864 HAVE_SHL_FUNCS=1
31865 DL_LINK=" -ldld$DL_LINK"
31866
31867 fi
31868
31869
31870 fi
31871 done
31872
31873
31874 fi
31875
31876
31877 fi
31878 done
31879
31880
31881 if test "$HAVE_DL_FUNCS" = 1; then
31882
31883 for ac_func in dlerror
31884 do
31885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31886 echo "$as_me:$LINENO: checking for $ac_func" >&5
31887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31888 if eval "test \"\${$as_ac_var+set}\" = set"; then
31889 echo $ECHO_N "(cached) $ECHO_C" >&6
31890 else
31891 cat >conftest.$ac_ext <<_ACEOF
31892 #line $LINENO "configure"
31893 /* confdefs.h. */
31894 _ACEOF
31895 cat confdefs.h >>conftest.$ac_ext
31896 cat >>conftest.$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31898 /* System header to define __stub macros and hopefully few prototypes,
31899 which can conflict with char $ac_func (); below.
31900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31901 <limits.h> exists even on freestanding compilers. */
31902 #ifdef __STDC__
31903 # include <limits.h>
31904 #else
31905 # include <assert.h>
31906 #endif
31907 /* Override any gcc2 internal prototype to avoid an error. */
31908 #ifdef __cplusplus
31909 extern "C"
31910 {
31911 #endif
31912 /* We use char because int might match the return type of a gcc2
31913 builtin and then its argument prototype would still apply. */
31914 char $ac_func ();
31915 /* The GNU C library defines this for functions which it implements
31916 to always fail with ENOSYS. Some functions are actually named
31917 something starting with __ and the normal name is an alias. */
31918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31919 choke me
31920 #else
31921 char (*f) () = $ac_func;
31922 #endif
31923 #ifdef __cplusplus
31924 }
31925 #endif
31926
31927 int
31928 main ()
31929 {
31930 return f != $ac_func;
31931 ;
31932 return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31937 (eval $ac_link) 2>&5
31938 ac_status=$?
31939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31940 (exit $ac_status); } &&
31941 { ac_try='test -s conftest$ac_exeext'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31944 ac_status=$?
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; }; then
31947 eval "$as_ac_var=yes"
31948 else
31949 echo "$as_me: failed program was:" >&5
31950 sed 's/^/| /' conftest.$ac_ext >&5
31951
31952 eval "$as_ac_var=no"
31953 fi
31954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31955 fi
31956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31958 if test `eval echo '${'$as_ac_var'}'` = yes; then
31959 cat >>confdefs.h <<_ACEOF
31960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31961 _ACEOF
31962 cat >>confdefs.h <<\_ACEOF
31963 #define HAVE_DLERROR 1
31964 _ACEOF
31965
31966 else
31967
31968 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
31969 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
31970 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
31971 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 else
31973 ac_check_lib_save_LIBS=$LIBS
31974 LIBS="-ldl $LIBS"
31975 cat >conftest.$ac_ext <<_ACEOF
31976 #line $LINENO "configure"
31977 /* confdefs.h. */
31978 _ACEOF
31979 cat confdefs.h >>conftest.$ac_ext
31980 cat >>conftest.$ac_ext <<_ACEOF
31981 /* end confdefs.h. */
31982
31983 /* Override any gcc2 internal prototype to avoid an error. */
31984 #ifdef __cplusplus
31985 extern "C"
31986 #endif
31987 /* We use char because int might match the return type of a gcc2
31988 builtin and then its argument prototype would still apply. */
31989 char dlerror ();
31990 int
31991 main ()
31992 {
31993 dlerror ();
31994 ;
31995 return 0;
31996 }
31997 _ACEOF
31998 rm -f conftest.$ac_objext conftest$ac_exeext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32000 (eval $ac_link) 2>&5
32001 ac_status=$?
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try='test -s conftest$ac_exeext'
32005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32006 (eval $ac_try) 2>&5
32007 ac_status=$?
32008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32009 (exit $ac_status); }; }; then
32010 ac_cv_lib_dl_dlerror=yes
32011 else
32012 echo "$as_me: failed program was:" >&5
32013 sed 's/^/| /' conftest.$ac_ext >&5
32014
32015 ac_cv_lib_dl_dlerror=no
32016 fi
32017 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32018 LIBS=$ac_check_lib_save_LIBS
32019 fi
32020 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32021 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32022 if test $ac_cv_lib_dl_dlerror = yes; then
32023 cat >>confdefs.h <<\_ACEOF
32024 #define HAVE_DLERROR 1
32025 _ACEOF
32026
32027 fi
32028
32029
32030
32031 fi
32032 done
32033
32034 fi
32035 fi
32036
32037 if test "$HAVE_DL_FUNCS" = 0; then
32038 if test "$HAVE_SHL_FUNCS" = 0; then
32039 if test "$USE_UNIX" = 1; then
32040 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32041 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32042 wxUSE_DYNAMIC_LOADER=no
32043 wxUSE_DYNLIB_CLASS=no
32044 else
32045 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32046 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32047 fi
32048 fi
32049 fi
32050 fi
32051 fi
32052
32053 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32054 cat >>confdefs.h <<\_ACEOF
32055 #define wxUSE_DYNAMIC_LOADER 1
32056 _ACEOF
32057
32058 fi
32059 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32060 cat >>confdefs.h <<\_ACEOF
32061 #define wxUSE_DYNLIB_CLASS 1
32062 _ACEOF
32063
32064 fi
32065
32066
32067 if test "$wxUSE_FONTMAP" = "yes" ; then
32068 cat >>confdefs.h <<\_ACEOF
32069 #define wxUSE_FONTMAP 1
32070 _ACEOF
32071
32072 fi
32073
32074 if test "$wxUSE_UNICODE" = "yes" ; then
32075 cat >>confdefs.h <<\_ACEOF
32076 #define wxUSE_UNICODE 1
32077 _ACEOF
32078
32079
32080 if test "$USE_WIN32" != 1; then
32081 wxUSE_UNICODE_MSLU=no
32082 fi
32083
32084 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
32085 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
32086 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
32087 if test "${ac_cv_lib_unicows_main+set}" = set; then
32088 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 else
32090 ac_check_lib_save_LIBS=$LIBS
32091 LIBS="-lunicows $LIBS"
32092 cat >conftest.$ac_ext <<_ACEOF
32093 #line $LINENO "configure"
32094 /* confdefs.h. */
32095 _ACEOF
32096 cat confdefs.h >>conftest.$ac_ext
32097 cat >>conftest.$ac_ext <<_ACEOF
32098 /* end confdefs.h. */
32099
32100
32101 int
32102 main ()
32103 {
32104 main ();
32105 ;
32106 return 0;
32107 }
32108 _ACEOF
32109 rm -f conftest.$ac_objext conftest$ac_exeext
32110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32111 (eval $ac_link) 2>&5
32112 ac_status=$?
32113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32114 (exit $ac_status); } &&
32115 { ac_try='test -s conftest$ac_exeext'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32118 ac_status=$?
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; }; then
32121 ac_cv_lib_unicows_main=yes
32122 else
32123 echo "$as_me: failed program was:" >&5
32124 sed 's/^/| /' conftest.$ac_ext >&5
32125
32126 ac_cv_lib_unicows_main=no
32127 fi
32128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32129 LIBS=$ac_check_lib_save_LIBS
32130 fi
32131 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
32132 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
32133 if test $ac_cv_lib_unicows_main = yes; then
32134
32135 cat >>confdefs.h <<\_ACEOF
32136 #define wxUSE_UNICODE_MSLU 1
32137 _ACEOF
32138
32139
32140 else
32141
32142 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32143 Applications will only run on Windows NT/2000/XP!" >&5
32144 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
32145 Applications will only run on Windows NT/2000/XP!" >&2;}
32146 wxUSE_UNICODE_MSLU=no
32147
32148 fi
32149
32150 fi
32151 fi
32152
32153 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
32154 cat >>confdefs.h <<\_ACEOF
32155 #define wxUSE_EXPERIMENTAL_PRINTF 1
32156 _ACEOF
32157
32158 fi
32159
32160
32161 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
32162 cat >>confdefs.h <<\_ACEOF
32163 #define wxUSE_POSTSCRIPT 1
32164 _ACEOF
32165
32166 fi
32167
32168 cat >>confdefs.h <<\_ACEOF
32169 #define wxUSE_AFM_FOR_POSTSCRIPT 1
32170 _ACEOF
32171
32172
32173 cat >>confdefs.h <<\_ACEOF
32174 #define wxUSE_NORMALIZED_PS_FONTS 1
32175 _ACEOF
32176
32177
32178
32179 if test "$wxUSE_CONSTRAINTS" = "yes"; then
32180 cat >>confdefs.h <<\_ACEOF
32181 #define wxUSE_CONSTRAINTS 1
32182 _ACEOF
32183
32184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
32185 fi
32186
32187 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32188 cat >>confdefs.h <<\_ACEOF
32189 #define wxUSE_MDI_ARCHITECTURE 1
32190 _ACEOF
32191
32192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
32193 fi
32194
32195 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
32196 cat >>confdefs.h <<\_ACEOF
32197 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
32198 _ACEOF
32199
32200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
32201 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
32202 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
32203 fi
32204 fi
32205
32206 if test "$wxUSE_HELP" = "yes"; then
32207 cat >>confdefs.h <<\_ACEOF
32208 #define wxUSE_HELP 1
32209 _ACEOF
32210
32211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
32212
32213 if test "$wxUSE_MSW" = 1; then
32214 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
32215 cat >>confdefs.h <<\_ACEOF
32216 #define wxUSE_MS_HTML_HELP 1
32217 _ACEOF
32218
32219 fi
32220 fi
32221
32222 if test "$wxUSE_WXHTML_HELP" = "yes"; then
32223 if test "$wxUSE_HTML" = "yes"; then
32224 cat >>confdefs.h <<\_ACEOF
32225 #define wxUSE_WXHTML_HELP 1
32226 _ACEOF
32227
32228 else
32229 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
32230 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
32231 wxUSE_WXHTML_HELP=no
32232 fi
32233 fi
32234 fi
32235
32236 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
32237 if test "$wxUSE_CONSTRAINTS" != "yes"; then
32238 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
32239 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
32240 else
32241 cat >>confdefs.h <<\_ACEOF
32242 #define wxUSE_PRINTING_ARCHITECTURE 1
32243 _ACEOF
32244
32245 fi
32246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
32247 fi
32248
32249 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
32250 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
32251 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
32252 { (exit 1); exit 1; }; }
32253 fi
32254
32255
32256 if test "$wxUSE_MSW" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
32257 -o "$wxUSE_CLIPBOARD" = "yes" \
32258 -o "$wxUSE_OLE" = "yes" \
32259 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
32260
32261 for ac_header in ole2.h
32262 do
32263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32265 echo "$as_me:$LINENO: checking for $ac_header" >&5
32266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32268 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 fi
32270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32272 else
32273 # Is the header compilable?
32274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32276 cat >conftest.$ac_ext <<_ACEOF
32277 #line $LINENO "configure"
32278 /* confdefs.h. */
32279 _ACEOF
32280 cat confdefs.h >>conftest.$ac_ext
32281 cat >>conftest.$ac_ext <<_ACEOF
32282 /* end confdefs.h. */
32283 $ac_includes_default
32284 #include <$ac_header>
32285 _ACEOF
32286 rm -f conftest.$ac_objext
32287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32288 (eval $ac_compile) 2>&5
32289 ac_status=$?
32290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32291 (exit $ac_status); } &&
32292 { ac_try='test -s conftest.$ac_objext'
32293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32294 (eval $ac_try) 2>&5
32295 ac_status=$?
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); }; }; then
32298 ac_header_compiler=yes
32299 else
32300 echo "$as_me: failed program was:" >&5
32301 sed 's/^/| /' conftest.$ac_ext >&5
32302
32303 ac_header_compiler=no
32304 fi
32305 rm -f conftest.$ac_objext conftest.$ac_ext
32306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32307 echo "${ECHO_T}$ac_header_compiler" >&6
32308
32309 # Is the header present?
32310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32312 cat >conftest.$ac_ext <<_ACEOF
32313 #line $LINENO "configure"
32314 /* confdefs.h. */
32315 _ACEOF
32316 cat confdefs.h >>conftest.$ac_ext
32317 cat >>conftest.$ac_ext <<_ACEOF
32318 /* end confdefs.h. */
32319 #include <$ac_header>
32320 _ACEOF
32321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32323 ac_status=$?
32324 grep -v '^ *+' conftest.er1 >conftest.err
32325 rm -f conftest.er1
32326 cat conftest.err >&5
32327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32328 (exit $ac_status); } >/dev/null; then
32329 if test -s conftest.err; then
32330 ac_cpp_err=$ac_c_preproc_warn_flag
32331 else
32332 ac_cpp_err=
32333 fi
32334 else
32335 ac_cpp_err=yes
32336 fi
32337 if test -z "$ac_cpp_err"; then
32338 ac_header_preproc=yes
32339 else
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32342
32343 ac_header_preproc=no
32344 fi
32345 rm -f conftest.err conftest.$ac_ext
32346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32347 echo "${ECHO_T}$ac_header_preproc" >&6
32348
32349 # So? What about this header?
32350 case $ac_header_compiler:$ac_header_preproc in
32351 yes:no )
32352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32356 (
32357 cat <<\_ASBOX
32358 ## ------------------------------------ ##
32359 ## Report this to bug-autoconf@gnu.org. ##
32360 ## ------------------------------------ ##
32361 _ASBOX
32362 ) |
32363 sed "s/^/$as_me: WARNING: /" >&2
32364 ;;
32365 no:yes )
32366 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32367 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32368 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32369 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32371 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32372 (
32373 cat <<\_ASBOX
32374 ## ------------------------------------ ##
32375 ## Report this to bug-autoconf@gnu.org. ##
32376 ## ------------------------------------ ##
32377 _ASBOX
32378 ) |
32379 sed "s/^/$as_me: WARNING: /" >&2
32380 ;;
32381 esac
32382 echo "$as_me:$LINENO: checking for $ac_header" >&5
32383 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32384 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32386 else
32387 eval "$as_ac_Header=$ac_header_preproc"
32388 fi
32389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32391
32392 fi
32393 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32394 cat >>confdefs.h <<_ACEOF
32395 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32396 _ACEOF
32397
32398 fi
32399
32400 done
32401
32402
32403 if test "$ac_cv_header_ole2_h" = "yes" ; then
32404 if test "$GCC" = yes ; then
32405
32406
32407 ac_ext=cc
32408 ac_cpp='$CXXCPP $CPPFLAGS'
32409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32412
32413
32414 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
32415 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
32416 cat >conftest.$ac_ext <<_ACEOF
32417 #line $LINENO "configure"
32418 /* confdefs.h. */
32419 _ACEOF
32420 cat confdefs.h >>conftest.$ac_ext
32421 cat >>conftest.$ac_ext <<_ACEOF
32422 /* end confdefs.h. */
32423 #include <windows.h>
32424 #include <ole2.h>
32425 int
32426 main ()
32427 {
32428
32429 ;
32430 return 0;
32431 }
32432 _ACEOF
32433 rm -f conftest.$ac_objext
32434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32435 (eval $ac_compile) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } &&
32439 { ac_try='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 echo "$as_me:$LINENO: result: no" >&5
32446 echo "${ECHO_T}no" >&6
32447 else
32448 echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.$ac_ext >&5
32450
32451 echo "$as_me:$LINENO: result: yes" >&5
32452 echo "${ECHO_T}yes" >&6
32453 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
32454 fi
32455 rm -f conftest.$ac_objext conftest.$ac_ext
32456 ac_ext=c
32457 ac_cpp='$CPP $CPPFLAGS'
32458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32461
32462 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
32463 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
32464 cat >>confdefs.h <<\_ACEOF
32465 #define wxUSE_OLE 1
32466 _ACEOF
32467
32468
32469 fi
32470
32471 cat >>confdefs.h <<\_ACEOF
32472 #define wxUSE_DATAOBJ 1
32473 _ACEOF
32474
32475 else
32476 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
32477 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
32478
32479 wxUSE_CLIPBOARD=no
32480 wxUSE_DRAG_AND_DROP=no
32481 wxUSE_DATAOBJ=no
32482 wxUSE_OLE=no
32483 fi
32484
32485 if test "$wxUSE_METAFILE" = "yes"; then
32486 cat >>confdefs.h <<\_ACEOF
32487 #define wxUSE_METAFILE 1
32488 _ACEOF
32489
32490
32491 cat >>confdefs.h <<\_ACEOF
32492 #define wxUSE_ENH_METAFILE 1
32493 _ACEOF
32494
32495 fi
32496 fi
32497
32498 if test "$wxUSE_IPC" = "yes"; then
32499 if test "$wxUSE_SOCKETS" != "yes"; then
32500 { echo "$as_me:$LINENO: WARNING: wxWindows IPC classes require sockets... disabled" >&5
32501 echo "$as_me: WARNING: wxWindows IPC classes require sockets... disabled" >&2;}
32502 fi
32503
32504 cat >>confdefs.h <<\_ACEOF
32505 #define wxUSE_IPC 1
32506 _ACEOF
32507
32508 fi
32509
32510 if test "$wxUSE_CLIPBOARD" = "yes"; then
32511 if test "$wxUSE_MGL" = 1; then
32512 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
32513 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
32514 wxUSE_CLIPBOARD=no
32515 fi
32516
32517 if test "$wxUSE_CLIPBOARD" = "yes"; then
32518 cat >>confdefs.h <<\_ACEOF
32519 #define wxUSE_CLIPBOARD 1
32520 _ACEOF
32521
32522
32523 cat >>confdefs.h <<\_ACEOF
32524 #define wxUSE_DATAOBJ 1
32525 _ACEOF
32526
32527 fi
32528 fi
32529
32530 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
32531 if test "$wxUSE_GTK" = 1; then
32532 if test "$WXGTK12" != 1; then
32533 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
32534 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
32535 wxUSE_DRAG_AND_DROP=no
32536 fi
32537 fi
32538
32539 if test "$wxUSE_MOTIF" = 1; then
32540 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
32541 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
32542 wxUSE_DRAG_AND_DROP=no
32543 fi
32544
32545 if test "$wxUSE_X11" = 1; then
32546 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
32547 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
32548 wxUSE_DRAG_AND_DROP=no
32549 fi
32550
32551 if test "$wxUSE_MGL" = 1; then
32552 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
32553 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
32554 wxUSE_DRAG_AND_DROP=no
32555 fi
32556
32557 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
32558 cat >>confdefs.h <<\_ACEOF
32559 #define wxUSE_DRAG_AND_DROP 1
32560 _ACEOF
32561
32562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
32563 fi
32564
32565 fi
32566
32567 if test "$wxUSE_SPLINES" = "yes" ; then
32568 cat >>confdefs.h <<\_ACEOF
32569 #define wxUSE_SPLINES 1
32570 _ACEOF
32571
32572 fi
32573
32574
32575 USES_CONTROLS=0
32576 if test "$wxUSE_CONTROLS" = "yes"; then
32577 USES_CONTROLS=1
32578 fi
32579
32580 if test "$wxUSE_ACCEL" = "yes"; then
32581 cat >>confdefs.h <<\_ACEOF
32582 #define wxUSE_ACCEL 1
32583 _ACEOF
32584
32585 USES_CONTROLS=1
32586 fi
32587
32588 if test "$wxUSE_BUTTON" = "yes"; then
32589 cat >>confdefs.h <<\_ACEOF
32590 #define wxUSE_BUTTON 1
32591 _ACEOF
32592
32593 USES_CONTROLS=1
32594 fi
32595
32596 if test "$wxUSE_BMPBUTTON" = "yes"; then
32597 cat >>confdefs.h <<\_ACEOF
32598 #define wxUSE_BMPBUTTON 1
32599 _ACEOF
32600
32601 USES_CONTROLS=1
32602 fi
32603
32604 if test "$wxUSE_CALCTRL" = "yes"; then
32605 cat >>confdefs.h <<\_ACEOF
32606 #define wxUSE_CALENDARCTRL 1
32607 _ACEOF
32608
32609 USES_CONTROLS=1
32610 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
32611 fi
32612
32613 if test "$wxUSE_CARET" = "yes"; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define wxUSE_CARET 1
32616 _ACEOF
32617
32618 USES_CONTROLS=1
32619 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
32620 fi
32621
32622 if test "$wxUSE_COMBOBOX" = "yes"; then
32623 cat >>confdefs.h <<\_ACEOF
32624 #define wxUSE_COMBOBOX 1
32625 _ACEOF
32626
32627 USES_CONTROLS=1
32628 fi
32629
32630 if test "$wxUSE_CHOICE" = "yes"; then
32631 cat >>confdefs.h <<\_ACEOF
32632 #define wxUSE_CHOICE 1
32633 _ACEOF
32634
32635 USES_CONTROLS=1
32636 fi
32637
32638 if test "$wxUSE_CHECKBOX" = "yes"; then
32639 cat >>confdefs.h <<\_ACEOF
32640 #define wxUSE_CHECKBOX 1
32641 _ACEOF
32642
32643 USES_CONTROLS=1
32644 fi
32645
32646 if test "$wxUSE_CHECKLST" = "yes"; then
32647 cat >>confdefs.h <<\_ACEOF
32648 #define wxUSE_CHECKLISTBOX 1
32649 _ACEOF
32650
32651 USES_CONTROLS=1
32652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
32653 fi
32654
32655 if test "$wxUSE_DISPLAY" = "yes"; then
32656 cat >>confdefs.h <<\_ACEOF
32657 #define wxUSE_DISPLAY 1
32658 _ACEOF
32659
32660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
32661 fi
32662
32663 if test "$wxUSE_GAUGE" = "yes"; then
32664 cat >>confdefs.h <<\_ACEOF
32665 #define wxUSE_GAUGE 1
32666 _ACEOF
32667
32668 USES_CONTROLS=1
32669 fi
32670
32671 if test "$wxUSE_GRID" = "yes"; then
32672 cat >>confdefs.h <<\_ACEOF
32673 #define wxUSE_GRID 1
32674 _ACEOF
32675
32676 USES_CONTROLS=1
32677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
32678 fi
32679
32680 if test "$wxUSE_IMAGLIST" = "yes"; then
32681 cat >>confdefs.h <<\_ACEOF
32682 #define wxUSE_IMAGLIST 1
32683 _ACEOF
32684
32685 fi
32686
32687 if test "$wxUSE_LISTBOOK" = "yes"; then
32688 cat >>confdefs.h <<\_ACEOF
32689 #define wxUSE_LISTBOOK 1
32690 _ACEOF
32691
32692 USES_CONTROLS=1
32693 fi
32694
32695 if test "$wxUSE_LISTBOX" = "yes"; then
32696 cat >>confdefs.h <<\_ACEOF
32697 #define wxUSE_LISTBOX 1
32698 _ACEOF
32699
32700 USES_CONTROLS=1
32701 fi
32702
32703 if test "$wxUSE_LISTCTRL" = "yes"; then
32704 if test "$wxUSE_IMAGLIST" = "yes"; then
32705 cat >>confdefs.h <<\_ACEOF
32706 #define wxUSE_LISTCTRL 1
32707 _ACEOF
32708
32709 USES_CONTROLS=1
32710 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
32711 else
32712 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
32713 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
32714 fi
32715 fi
32716
32717 if test "$wxUSE_NOTEBOOK" = "yes"; then
32718 cat >>confdefs.h <<\_ACEOF
32719 #define wxUSE_NOTEBOOK 1
32720 _ACEOF
32721
32722 USES_CONTROLS=1
32723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
32724 fi
32725
32726
32727 if test "$wxUSE_RADIOBOX" = "yes"; then
32728 cat >>confdefs.h <<\_ACEOF
32729 #define wxUSE_RADIOBOX 1
32730 _ACEOF
32731
32732 USES_CONTROLS=1
32733 fi
32734
32735 if test "$wxUSE_RADIOBTN" = "yes"; then
32736 cat >>confdefs.h <<\_ACEOF
32737 #define wxUSE_RADIOBTN 1
32738 _ACEOF
32739
32740 USES_CONTROLS=1
32741 fi
32742
32743 if test "$wxUSE_SASH" = "yes"; then
32744 cat >>confdefs.h <<\_ACEOF
32745 #define wxUSE_SASH 1
32746 _ACEOF
32747
32748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
32749 fi
32750
32751 if test "$wxUSE_SCROLLBAR" = "yes"; then
32752 cat >>confdefs.h <<\_ACEOF
32753 #define wxUSE_SCROLLBAR 1
32754 _ACEOF
32755
32756 USES_CONTROLS=1
32757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
32758 fi
32759
32760 if test "$wxUSE_SLIDER" = "yes"; then
32761 cat >>confdefs.h <<\_ACEOF
32762 #define wxUSE_SLIDER 1
32763 _ACEOF
32764
32765 USES_CONTROLS=1
32766 fi
32767
32768 if test "$wxUSE_SPINBTN" = "yes"; then
32769 cat >>confdefs.h <<\_ACEOF
32770 #define wxUSE_SPINBTN 1
32771 _ACEOF
32772
32773 USES_CONTROLS=1
32774 fi
32775
32776 if test "$wxUSE_SPINCTRL" = "yes"; then
32777 cat >>confdefs.h <<\_ACEOF
32778 #define wxUSE_SPINCTRL 1
32779 _ACEOF
32780
32781 USES_CONTROLS=1
32782 fi
32783
32784 if test "$wxUSE_SPLITTER" = "yes"; then
32785 cat >>confdefs.h <<\_ACEOF
32786 #define wxUSE_SPLITTER 1
32787 _ACEOF
32788
32789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
32790 fi
32791
32792 if test "$wxUSE_STATBMP" = "yes"; then
32793 cat >>confdefs.h <<\_ACEOF
32794 #define wxUSE_STATBMP 1
32795 _ACEOF
32796
32797 USES_CONTROLS=1
32798 fi
32799
32800 if test "$wxUSE_STATBOX" = "yes"; then
32801 cat >>confdefs.h <<\_ACEOF
32802 #define wxUSE_STATBOX 1
32803 _ACEOF
32804
32805 USES_CONTROLS=1
32806 fi
32807
32808 if test "$wxUSE_STATTEXT" = "yes"; then
32809 cat >>confdefs.h <<\_ACEOF
32810 #define wxUSE_STATTEXT 1
32811 _ACEOF
32812
32813 USES_CONTROLS=1
32814 fi
32815
32816 if test "$wxUSE_STATLINE" = "yes"; then
32817 cat >>confdefs.h <<\_ACEOF
32818 #define wxUSE_STATLINE 1
32819 _ACEOF
32820
32821 USES_CONTROLS=1
32822 fi
32823
32824 if test "$wxUSE_STATUSBAR" = "yes"; then
32825 cat >>confdefs.h <<\_ACEOF
32826 #define wxUSE_STATUSBAR 1
32827 _ACEOF
32828
32829 USES_CONTROLS=1
32830
32831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
32832 fi
32833
32834 if test "$wxUSE_TABDIALOG" = "yes"; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define wxUSE_TAB_DIALOG 1
32837 _ACEOF
32838
32839 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
32840 fi
32841
32842 if test "$wxUSE_TEXTCTRL" = "yes"; then
32843 cat >>confdefs.h <<\_ACEOF
32844 #define wxUSE_TEXTCTRL 1
32845 _ACEOF
32846
32847 USES_CONTROLS=1
32848 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
32849 fi
32850
32851 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32852 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32853 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
32854 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
32855 wxUSE_TOGGLEBTN=no
32856 fi
32857 if test "$wxUSE_UNIVERSAL" = "yes"; then
32858 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
32859 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
32860 wxUSE_TOGGLEBTN=no
32861 fi
32862
32863 if test "$wxUSE_TOGGLEBTN" = "yes"; then
32864 cat >>confdefs.h <<\_ACEOF
32865 #define wxUSE_TOGGLEBTN 1
32866 _ACEOF
32867
32868 USES_CONTROLS=1
32869 fi
32870 fi
32871
32872 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
32873 cat >>confdefs.h <<\_ACEOF
32874 #define wxUSE_TOOLBAR_SIMPLE 1
32875 _ACEOF
32876
32877 wxUSE_TOOLBAR="yes"
32878 USES_CONTROLS=1
32879 fi
32880
32881 if test "$wxUSE_TOOLBAR" = "yes"; then
32882 cat >>confdefs.h <<\_ACEOF
32883 #define wxUSE_TOOLBAR 1
32884 _ACEOF
32885
32886 USES_CONTROLS=1
32887
32888 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
32889 wxUSE_TOOLBAR_NATIVE="yes"
32890 fi
32891
32892 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
32893 cat >>confdefs.h <<\_ACEOF
32894 #define wxUSE_TOOLBAR_NATIVE 1
32895 _ACEOF
32896
32897 USES_CONTROLS=1
32898 fi
32899
32900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
32901 fi
32902
32903 if test "$wxUSE_TOOLTIPS" = "yes"; then
32904 if test "$wxUSE_MOTIF" = 1; then
32905 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
32906 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
32907 else
32908 if test "$wxUSE_UNIVERSAL" = "yes"; then
32909 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
32910 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
32911 else
32912 cat >>confdefs.h <<\_ACEOF
32913 #define wxUSE_TOOLTIPS 1
32914 _ACEOF
32915
32916 fi
32917 fi
32918 fi
32919
32920 if test "$wxUSE_TREECTRL" = "yes"; then
32921 if test "$wxUSE_IMAGLIST" = "yes"; then
32922 cat >>confdefs.h <<\_ACEOF
32923 #define wxUSE_TREECTRL 1
32924 _ACEOF
32925
32926 USES_CONTROLS=1
32927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
32928 else
32929 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
32930 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
32931 fi
32932 fi
32933
32934 if test "$wxUSE_POPUPWIN" = "yes"; then
32935 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
32936 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
32937 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
32938 else
32939 if test "$wxUSE_MOTIF" = 1; then
32940 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&5
32941 echo "$as_me: WARNING: wxPopupWindow not yet supported under Motif... disabled" >&2;}
32942 else
32943 if test "$wxUSE_PM" = 1; then
32944 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
32945 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
32946 else
32947 cat >>confdefs.h <<\_ACEOF
32948 #define wxUSE_POPUPWIN 1
32949 _ACEOF
32950
32951
32952 USES_CONTROLS=1
32953 fi
32954 fi
32955 fi
32956 fi
32957
32958 if test "$wxUSE_TIPWINDOW" = "yes"; then
32959 if test "$wxUSE_PM" = 1; then
32960 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
32961 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
32962 else
32963 cat >>confdefs.h <<\_ACEOF
32964 #define wxUSE_TIPWINDOW 1
32965 _ACEOF
32966
32967 fi
32968 fi
32969
32970 if test "$USES_CONTROLS" = 1; then
32971 cat >>confdefs.h <<\_ACEOF
32972 #define wxUSE_CONTROLS 1
32973 _ACEOF
32974
32975 fi
32976
32977
32978
32979 if test "$wxUSE_DRAGIMAGE" = "yes"; then
32980 cat >>confdefs.h <<\_ACEOF
32981 #define wxUSE_DRAGIMAGE 1
32982 _ACEOF
32983
32984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
32985 fi
32986
32987 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define wxUSE_ACCESSIBILITY 1
32990 _ACEOF
32991
32992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
32993 fi
32994
32995 if test "$wxUSE_MENUS" = "yes"; then
32996 cat >>confdefs.h <<\_ACEOF
32997 #define wxUSE_MENUS 1
32998 _ACEOF
32999
33000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
33001 fi
33002
33003 if test "$wxUSE_METAFILE" = "yes"; then
33004 cat >>confdefs.h <<\_ACEOF
33005 #define wxUSE_METAFILE 1
33006 _ACEOF
33007
33008 fi
33009
33010 if test "$wxUSE_MIMETYPE" = "yes"; then
33011 cat >>confdefs.h <<\_ACEOF
33012 #define wxUSE_MIMETYPE 1
33013 _ACEOF
33014
33015 fi
33016
33017 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
33018 cat >>confdefs.h <<\_ACEOF
33019 #define wxUSE_SYSTEM_OPTIONS 1
33020 _ACEOF
33021
33022 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
33023 "$TOOLKIT" = "MOTIF"; then
33024 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
33025 fi
33026
33027 fi
33028
33029 if test "$wxUSE_MINIFRAME" = "yes"; then
33030 cat >>confdefs.h <<\_ACEOF
33031 #define wxUSE_MINIFRAME 1
33032 _ACEOF
33033
33034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
33035 fi
33036
33037 USE_HTML=0
33038 if test "$wxUSE_HTML" = "yes"; then
33039 cat >>confdefs.h <<\_ACEOF
33040 #define wxUSE_HTML 1
33041 _ACEOF
33042
33043 USE_HTML=1
33044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
33045 fi
33046
33047 if test "$wxUSE_VALIDATORS" = "yes"; then
33048 cat >>confdefs.h <<\_ACEOF
33049 #define wxUSE_VALIDATORS 1
33050 _ACEOF
33051
33052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
33053 fi
33054
33055 if test "$wxUSE_PALETTE" = "yes" ; then
33056 cat >>confdefs.h <<\_ACEOF
33057 #define wxUSE_PALETTE 1
33058 _ACEOF
33059
33060 fi
33061
33062 if test "$wxUSE_IMAGE" = "yes" ; then
33063 cat >>confdefs.h <<\_ACEOF
33064 #define wxUSE_IMAGE 1
33065 _ACEOF
33066
33067 fi
33068
33069 if test "$wxUSE_GIF" = "yes" ; then
33070 cat >>confdefs.h <<\_ACEOF
33071 #define wxUSE_GIF 1
33072 _ACEOF
33073
33074 fi
33075
33076 if test "$wxUSE_PCX" = "yes" ; then
33077 cat >>confdefs.h <<\_ACEOF
33078 #define wxUSE_PCX 1
33079 _ACEOF
33080
33081 fi
33082
33083 if test "$wxUSE_IFF" = "yes" ; then
33084 cat >>confdefs.h <<\_ACEOF
33085 #define wxUSE_IFF 1
33086 _ACEOF
33087
33088 fi
33089
33090 if test "$wxUSE_PNM" = "yes" ; then
33091 cat >>confdefs.h <<\_ACEOF
33092 #define wxUSE_PNM 1
33093 _ACEOF
33094
33095 fi
33096
33097 if test "$wxUSE_XPM" = "yes" ; then
33098 cat >>confdefs.h <<\_ACEOF
33099 #define wxUSE_XPM 1
33100 _ACEOF
33101
33102 fi
33103
33104 if test "$wxUSE_ICO_CUR" = "yes" ; then
33105 cat >>confdefs.h <<\_ACEOF
33106 #define wxUSE_ICO_CUR 1
33107 _ACEOF
33108
33109 fi
33110
33111 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
33112 LIBS=" -lunicows $LIBS"
33113 fi
33114
33115
33116 if test "$wxUSE_CHOICEDLG" = "yes"; then
33117 cat >>confdefs.h <<\_ACEOF
33118 #define wxUSE_CHOICEDLG 1
33119 _ACEOF
33120
33121 fi
33122
33123 if test "$wxUSE_COLOURDLG" = "yes"; then
33124 cat >>confdefs.h <<\_ACEOF
33125 #define wxUSE_COLOURDLG 1
33126 _ACEOF
33127
33128 fi
33129
33130 if test "$wxUSE_FILEDLG" = "yes"; then
33131 cat >>confdefs.h <<\_ACEOF
33132 #define wxUSE_FILEDLG 1
33133 _ACEOF
33134
33135 fi
33136
33137 if test "$wxUSE_FINDREPLDLG" = "yes"; then
33138 cat >>confdefs.h <<\_ACEOF
33139 #define wxUSE_FINDREPLDLG 1
33140 _ACEOF
33141
33142 fi
33143
33144 if test "$wxUSE_FONTDLG" = "yes"; then
33145 cat >>confdefs.h <<\_ACEOF
33146 #define wxUSE_FONTDLG 1
33147 _ACEOF
33148
33149 fi
33150
33151 if test "$wxUSE_DIRDLG" = "yes"; then
33152 if test "$wxUSE_TREECTRL" != "yes"; then
33153 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
33154 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
33155 else
33156 cat >>confdefs.h <<\_ACEOF
33157 #define wxUSE_DIRDLG 1
33158 _ACEOF
33159
33160 fi
33161 fi
33162
33163 if test "$wxUSE_MSGDLG" = "yes"; then
33164 cat >>confdefs.h <<\_ACEOF
33165 #define wxUSE_MSGDLG 1
33166 _ACEOF
33167
33168 fi
33169
33170 if test "$wxUSE_NUMBERDLG" = "yes"; then
33171 cat >>confdefs.h <<\_ACEOF
33172 #define wxUSE_NUMBERDLG 1
33173 _ACEOF
33174
33175 fi
33176
33177 if test "$wxUSE_PROGRESSDLG" = "yes"; then
33178 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33179 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
33180 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
33181 else
33182 cat >>confdefs.h <<\_ACEOF
33183 #define wxUSE_PROGRESSDLG 1
33184 _ACEOF
33185
33186 fi
33187 fi
33188
33189 if test "$wxUSE_SPLASH" = "yes"; then
33190 cat >>confdefs.h <<\_ACEOF
33191 #define wxUSE_SPLASH 1
33192 _ACEOF
33193
33194 fi
33195
33196 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
33197 if test "$wxUSE_CONSTRAINTS" != "yes"; then
33198 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
33199 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
33200 else
33201 cat >>confdefs.h <<\_ACEOF
33202 #define wxUSE_STARTUP_TIPS 1
33203 _ACEOF
33204
33205 fi
33206 fi
33207
33208 if test "$wxUSE_TEXTDLG" = "yes"; then
33209 cat >>confdefs.h <<\_ACEOF
33210 #define wxUSE_TEXTDLG 1
33211 _ACEOF
33212
33213 fi
33214
33215 if test "$wxUSE_WIZARDDLG" = "yes"; then
33216 cat >>confdefs.h <<\_ACEOF
33217 #define wxUSE_WIZARDDLG 1
33218 _ACEOF
33219
33220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
33221 fi
33222
33223
33224 if test "$cross_compiling" = "yes"; then
33225 OSINFO="\"$host\""
33226 else
33227 OSINFO=`uname -s -r -m`
33228 OSINFO="\"$OSINFO\""
33229 fi
33230
33231 cat >>confdefs.h <<_ACEOF
33232 #define WXWIN_OS_DESCRIPTION $OSINFO
33233 _ACEOF
33234
33235
33236
33237 if test "x$prefix" != "xNONE"; then
33238 wxPREFIX=$prefix
33239 else
33240 wxPREFIX=$ac_default_prefix
33241 fi
33242
33243 cat >>confdefs.h <<_ACEOF
33244 #define wxINSTALL_PREFIX "$wxPREFIX"
33245 _ACEOF
33246
33247
33248 top_builddir_wxconfig=`pwd`
33249
33250
33251
33252 CORE_BASE_LIBS="net base"
33253 CORE_GUI_LIBS="adv core"
33254
33255 if test "$wxUSE_XML" = "yes" ; then
33256 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
33257 fi
33258 if test "$wxUSE_ODBC" != "no" ; then
33259 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
33260 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
33261 fi
33262 if test "$wxUSE_HTML" = "yes" ; then
33263 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
33264 fi
33265
33266
33267
33268
33269
33270
33271
33272
33273 if test "$wxUSE_MAC" = 1 ; then
33274 LDFLAGS="$LDFLAGS -framework Carbon -framework System"
33275 fi
33276 if test "$wxUSE_COCOA" = 1 ; then
33277 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
33278 fi
33279
33280
33281 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
33282
33283 have_cos=0
33284 have_floor=0
33285
33286 for ac_func in cos
33287 do
33288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33289 echo "$as_me:$LINENO: checking for $ac_func" >&5
33290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33291 if eval "test \"\${$as_ac_var+set}\" = set"; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33294 cat >conftest.$ac_ext <<_ACEOF
33295 #line $LINENO "configure"
33296 /* confdefs.h. */
33297 _ACEOF
33298 cat confdefs.h >>conftest.$ac_ext
33299 cat >>conftest.$ac_ext <<_ACEOF
33300 /* end confdefs.h. */
33301 /* System header to define __stub macros and hopefully few prototypes,
33302 which can conflict with char $ac_func (); below.
33303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33304 <limits.h> exists even on freestanding compilers. */
33305 #ifdef __STDC__
33306 # include <limits.h>
33307 #else
33308 # include <assert.h>
33309 #endif
33310 /* Override any gcc2 internal prototype to avoid an error. */
33311 #ifdef __cplusplus
33312 extern "C"
33313 {
33314 #endif
33315 /* We use char because int might match the return type of a gcc2
33316 builtin and then its argument prototype would still apply. */
33317 char $ac_func ();
33318 /* The GNU C library defines this for functions which it implements
33319 to always fail with ENOSYS. Some functions are actually named
33320 something starting with __ and the normal name is an alias. */
33321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33322 choke me
33323 #else
33324 char (*f) () = $ac_func;
33325 #endif
33326 #ifdef __cplusplus
33327 }
33328 #endif
33329
33330 int
33331 main ()
33332 {
33333 return f != $ac_func;
33334 ;
33335 return 0;
33336 }
33337 _ACEOF
33338 rm -f conftest.$ac_objext conftest$ac_exeext
33339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33340 (eval $ac_link) 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); } &&
33344 { ac_try='test -s conftest$ac_exeext'
33345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33346 (eval $ac_try) 2>&5
33347 ac_status=$?
33348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33349 (exit $ac_status); }; }; then
33350 eval "$as_ac_var=yes"
33351 else
33352 echo "$as_me: failed program was:" >&5
33353 sed 's/^/| /' conftest.$ac_ext >&5
33354
33355 eval "$as_ac_var=no"
33356 fi
33357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33358 fi
33359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33361 if test `eval echo '${'$as_ac_var'}'` = yes; then
33362 cat >>confdefs.h <<_ACEOF
33363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33364 _ACEOF
33365 have_cos=1
33366 fi
33367 done
33368
33369
33370 for ac_func in floor
33371 do
33372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33373 echo "$as_me:$LINENO: checking for $ac_func" >&5
33374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33375 if eval "test \"\${$as_ac_var+set}\" = set"; then
33376 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 else
33378 cat >conftest.$ac_ext <<_ACEOF
33379 #line $LINENO "configure"
33380 /* confdefs.h. */
33381 _ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385 /* System header to define __stub macros and hopefully few prototypes,
33386 which can conflict with char $ac_func (); below.
33387 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33388 <limits.h> exists even on freestanding compilers. */
33389 #ifdef __STDC__
33390 # include <limits.h>
33391 #else
33392 # include <assert.h>
33393 #endif
33394 /* Override any gcc2 internal prototype to avoid an error. */
33395 #ifdef __cplusplus
33396 extern "C"
33397 {
33398 #endif
33399 /* We use char because int might match the return type of a gcc2
33400 builtin and then its argument prototype would still apply. */
33401 char $ac_func ();
33402 /* The GNU C library defines this for functions which it implements
33403 to always fail with ENOSYS. Some functions are actually named
33404 something starting with __ and the normal name is an alias. */
33405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33406 choke me
33407 #else
33408 char (*f) () = $ac_func;
33409 #endif
33410 #ifdef __cplusplus
33411 }
33412 #endif
33413
33414 int
33415 main ()
33416 {
33417 return f != $ac_func;
33418 ;
33419 return 0;
33420 }
33421 _ACEOF
33422 rm -f conftest.$ac_objext conftest$ac_exeext
33423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33424 (eval $ac_link) 2>&5
33425 ac_status=$?
33426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33427 (exit $ac_status); } &&
33428 { ac_try='test -s conftest$ac_exeext'
33429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33430 (eval $ac_try) 2>&5
33431 ac_status=$?
33432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33433 (exit $ac_status); }; }; then
33434 eval "$as_ac_var=yes"
33435 else
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.$ac_ext >&5
33438
33439 eval "$as_ac_var=no"
33440 fi
33441 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33442 fi
33443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33445 if test `eval echo '${'$as_ac_var'}'` = yes; then
33446 cat >>confdefs.h <<_ACEOF
33447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33448 _ACEOF
33449 have_floor=1
33450 fi
33451 done
33452
33453 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
33454 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
33455 if test "$have_cos" = 1 -a "$have_floor" = 1; then
33456 echo "$as_me:$LINENO: result: yes" >&5
33457 echo "${ECHO_T}yes" >&6
33458 else
33459 echo "$as_me:$LINENO: result: no" >&5
33460 echo "${ECHO_T}no" >&6
33461 LIBS="$LIBS -lm"
33462 # use different functions to avoid configure caching
33463 have_sin=0
33464 have_ceil=0
33465
33466 for ac_func in sin
33467 do
33468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33469 echo "$as_me:$LINENO: checking for $ac_func" >&5
33470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33471 if eval "test \"\${$as_ac_var+set}\" = set"; then
33472 echo $ECHO_N "(cached) $ECHO_C" >&6
33473 else
33474 cat >conftest.$ac_ext <<_ACEOF
33475 #line $LINENO "configure"
33476 /* confdefs.h. */
33477 _ACEOF
33478 cat confdefs.h >>conftest.$ac_ext
33479 cat >>conftest.$ac_ext <<_ACEOF
33480 /* end confdefs.h. */
33481 /* System header to define __stub macros and hopefully few prototypes,
33482 which can conflict with char $ac_func (); below.
33483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33484 <limits.h> exists even on freestanding compilers. */
33485 #ifdef __STDC__
33486 # include <limits.h>
33487 #else
33488 # include <assert.h>
33489 #endif
33490 /* Override any gcc2 internal prototype to avoid an error. */
33491 #ifdef __cplusplus
33492 extern "C"
33493 {
33494 #endif
33495 /* We use char because int might match the return type of a gcc2
33496 builtin and then its argument prototype would still apply. */
33497 char $ac_func ();
33498 /* The GNU C library defines this for functions which it implements
33499 to always fail with ENOSYS. Some functions are actually named
33500 something starting with __ and the normal name is an alias. */
33501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33502 choke me
33503 #else
33504 char (*f) () = $ac_func;
33505 #endif
33506 #ifdef __cplusplus
33507 }
33508 #endif
33509
33510 int
33511 main ()
33512 {
33513 return f != $ac_func;
33514 ;
33515 return 0;
33516 }
33517 _ACEOF
33518 rm -f conftest.$ac_objext conftest$ac_exeext
33519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33520 (eval $ac_link) 2>&5
33521 ac_status=$?
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } &&
33524 { ac_try='test -s conftest$ac_exeext'
33525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33526 (eval $ac_try) 2>&5
33527 ac_status=$?
33528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33529 (exit $ac_status); }; }; then
33530 eval "$as_ac_var=yes"
33531 else
33532 echo "$as_me: failed program was:" >&5
33533 sed 's/^/| /' conftest.$ac_ext >&5
33534
33535 eval "$as_ac_var=no"
33536 fi
33537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33538 fi
33539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33541 if test `eval echo '${'$as_ac_var'}'` = yes; then
33542 cat >>confdefs.h <<_ACEOF
33543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33544 _ACEOF
33545 have_sin=1
33546 fi
33547 done
33548
33549
33550 for ac_func in ceil
33551 do
33552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33553 echo "$as_me:$LINENO: checking for $ac_func" >&5
33554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33555 if eval "test \"\${$as_ac_var+set}\" = set"; then
33556 echo $ECHO_N "(cached) $ECHO_C" >&6
33557 else
33558 cat >conftest.$ac_ext <<_ACEOF
33559 #line $LINENO "configure"
33560 /* confdefs.h. */
33561 _ACEOF
33562 cat confdefs.h >>conftest.$ac_ext
33563 cat >>conftest.$ac_ext <<_ACEOF
33564 /* end confdefs.h. */
33565 /* System header to define __stub macros and hopefully few prototypes,
33566 which can conflict with char $ac_func (); below.
33567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33568 <limits.h> exists even on freestanding compilers. */
33569 #ifdef __STDC__
33570 # include <limits.h>
33571 #else
33572 # include <assert.h>
33573 #endif
33574 /* Override any gcc2 internal prototype to avoid an error. */
33575 #ifdef __cplusplus
33576 extern "C"
33577 {
33578 #endif
33579 /* We use char because int might match the return type of a gcc2
33580 builtin and then its argument prototype would still apply. */
33581 char $ac_func ();
33582 /* The GNU C library defines this for functions which it implements
33583 to always fail with ENOSYS. Some functions are actually named
33584 something starting with __ and the normal name is an alias. */
33585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33586 choke me
33587 #else
33588 char (*f) () = $ac_func;
33589 #endif
33590 #ifdef __cplusplus
33591 }
33592 #endif
33593
33594 int
33595 main ()
33596 {
33597 return f != $ac_func;
33598 ;
33599 return 0;
33600 }
33601 _ACEOF
33602 rm -f conftest.$ac_objext conftest$ac_exeext
33603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33604 (eval $ac_link) 2>&5
33605 ac_status=$?
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); } &&
33608 { ac_try='test -s conftest$ac_exeext'
33609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33610 (eval $ac_try) 2>&5
33611 ac_status=$?
33612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33613 (exit $ac_status); }; }; then
33614 eval "$as_ac_var=yes"
33615 else
33616 echo "$as_me: failed program was:" >&5
33617 sed 's/^/| /' conftest.$ac_ext >&5
33618
33619 eval "$as_ac_var=no"
33620 fi
33621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33622 fi
33623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33625 if test `eval echo '${'$as_ac_var'}'` = yes; then
33626 cat >>confdefs.h <<_ACEOF
33627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33628 _ACEOF
33629 have_ceil=1
33630 fi
33631 done
33632
33633 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
33634 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
33635 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
33636 echo "$as_me:$LINENO: result: yes" >&5
33637 echo "${ECHO_T}yes" >&6
33638 else
33639 echo "$as_me:$LINENO: result: no" >&5
33640 echo "${ECHO_T}no" >&6
33641 # not sure we should warn the user, crash, etc.
33642 fi
33643 fi
33644
33645 if test "$wxUSE_GUI" = "yes"; then
33646
33647
33648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
33649 drawing dynamic erase event exec font image \
33650 minimal propsize rotate shaped widgets render"
33651
33652 if test "$wxUSE_MONOLITHIC" != "yes"; then
33653 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
33654 fi
33655 else
33656 SAMPLES_SUBDIRS="console"
33657 fi
33658
33659
33660 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
33661 -I\${top_srcdir}/include \
33662 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
33663 $TOOLKIT_INCLUDE"
33664
33665 if test "$GXX" = yes ; then
33666 CXXWARNINGS="-Wall"
33667 fi
33668
33669 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
33670
33671 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
33672 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
33673 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
33674
33675
33676 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
33677 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
33678 EXTRALIBS_XML="$EXPAT_LINK"
33679 EXTRALIBS_ODBC="$ODBC_LINK"
33680 if test "$wxUSE_GUI" = "yes"; then
33681 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
33682 fi
33683 if test "$wxUSE_OPENGL" = "yes"; then
33684 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
33685 fi
33686
33687 LDFLAGS="$LDFLAGS $PROFILE"
33688
33689 if test "$wxUSE_GTK" = 1; then
33690 WXCONFIG_INCLUDE=
33691 else
33692 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
33693 fi
33694
33695 WXCONFIG_EXTRALIBS="$LIBS"
33696
33697 if test "$wxUSE_REGEX" = "builtin" ; then
33698 wxconfig_3rdparty="$wxconfig_3rdparty regex"
33699 fi
33700 if test "$wxUSE_EXPAT" = "builtin" ; then
33701 wxconfig_3rdparty="$wxconfig_3rdparty expat"
33702 fi
33703 if test "$wxUSE_ODBC" = "builtin" ; then
33704 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33705 fi
33706 if test "$wxUSE_LIBTIFF" = "builtin" ; then
33707 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
33708 fi
33709 if test "$wxUSE_LIBJPEG" = "builtin" ; then
33710 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
33711 fi
33712 if test "$wxUSE_LIBPNG" = "builtin" ; then
33713 wxconfig_3rdparty="$wxconfig_3rdparty png"
33714 fi
33715 if test "$wxUSE_ZLIB" = "builtin" ; then
33716 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
33717 fi
33718 if test "$wxUSE_ODBC" = "builtin" ; then
33719 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
33720 fi
33721
33722 for i in $wxconfig_3rdparty ; do
33723 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
33724 done
33725
33726
33727 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
33728 WXUNIV=1
33729 else
33730 WXUNIV=0
33731 fi
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741 if test $wxUSE_MONOLITHIC = "yes" ; then
33742 MONOLITHIC=1
33743 else
33744 MONOLITHIC=0
33745 fi
33746
33747 if test $wxUSE_ODBC != "no" ; then
33748 USE_ODBC=1
33749 else
33750 USE_ODBC=0
33751 fi
33752
33753 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
33754 OFFICIAL_BUILD=1
33755 else
33756 OFFICIAL_BUILD=0
33757 fi
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr [A-Z] [a-z]`
33776
33777
33778
33779
33780
33781
33782
33783 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
33784
33785 if test -n "$ac_tool_prefix"; then
33786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
33787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
33788 echo "$as_me:$LINENO: checking for $ac_word" >&5
33789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33790 if test "${ac_cv_prog_RANLIB+set}" = set; then
33791 echo $ECHO_N "(cached) $ECHO_C" >&6
33792 else
33793 if test -n "$RANLIB"; then
33794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
33795 else
33796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33797 for as_dir in $PATH
33798 do
33799 IFS=$as_save_IFS
33800 test -z "$as_dir" && as_dir=.
33801 for ac_exec_ext in '' $ac_executable_extensions; do
33802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
33804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33805 break 2
33806 fi
33807 done
33808 done
33809
33810 fi
33811 fi
33812 RANLIB=$ac_cv_prog_RANLIB
33813 if test -n "$RANLIB"; then
33814 echo "$as_me:$LINENO: result: $RANLIB" >&5
33815 echo "${ECHO_T}$RANLIB" >&6
33816 else
33817 echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6
33819 fi
33820
33821 fi
33822 if test -z "$ac_cv_prog_RANLIB"; then
33823 ac_ct_RANLIB=$RANLIB
33824 # Extract the first word of "ranlib", so it can be a program name with args.
33825 set dummy ranlib; ac_word=$2
33826 echo "$as_me:$LINENO: checking for $ac_word" >&5
33827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 else
33831 if test -n "$ac_ct_RANLIB"; then
33832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
33833 else
33834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33835 for as_dir in $PATH
33836 do
33837 IFS=$as_save_IFS
33838 test -z "$as_dir" && as_dir=.
33839 for ac_exec_ext in '' $ac_executable_extensions; do
33840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33841 ac_cv_prog_ac_ct_RANLIB="ranlib"
33842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33843 break 2
33844 fi
33845 done
33846 done
33847
33848 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
33849 fi
33850 fi
33851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
33852 if test -n "$ac_ct_RANLIB"; then
33853 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
33854 echo "${ECHO_T}$ac_ct_RANLIB" >&6
33855 else
33856 echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6
33858 fi
33859
33860 RANLIB=$ac_ct_RANLIB
33861 else
33862 RANLIB="$ac_cv_prog_RANLIB"
33863 fi
33864
33865 # Find a good install program. We prefer a C program (faster),
33866 # so one script is as good as another. But avoid the broken or
33867 # incompatible versions:
33868 # SysV /etc/install, /usr/sbin/install
33869 # SunOS /usr/etc/install
33870 # IRIX /sbin/install
33871 # AIX /bin/install
33872 # AmigaOS /C/install, which installs bootblocks on floppy discs
33873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
33874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
33875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
33876 # ./install, which can be erroneously created by make from ./install.sh.
33877 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
33878 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
33879 if test -z "$INSTALL"; then
33880 if test "${ac_cv_path_install+set}" = set; then
33881 echo $ECHO_N "(cached) $ECHO_C" >&6
33882 else
33883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33884 for as_dir in $PATH
33885 do
33886 IFS=$as_save_IFS
33887 test -z "$as_dir" && as_dir=.
33888 # Account for people who put trailing slashes in PATH elements.
33889 case $as_dir/ in
33890 ./ | .// | /cC/* | \
33891 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
33892 /usr/ucb/* ) ;;
33893 *)
33894 # OSF1 and SCO ODT 3.0 have their own names for install.
33895 # Don't use installbsd from OSF since it installs stuff as root
33896 # by default.
33897 for ac_prog in ginstall scoinst install; do
33898 for ac_exec_ext in '' $ac_executable_extensions; do
33899 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
33900 if test $ac_prog = install &&
33901 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33902 # AIX install. It has an incompatible calling convention.
33903 :
33904 elif test $ac_prog = install &&
33905 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
33906 # program-specific install script used by HP pwplus--don't use.
33907 :
33908 else
33909 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
33910 break 3
33911 fi
33912 fi
33913 done
33914 done
33915 ;;
33916 esac
33917 done
33918
33919
33920 fi
33921 if test "${ac_cv_path_install+set}" = set; then
33922 INSTALL=$ac_cv_path_install
33923 else
33924 # As a last resort, use the slow shell script. We don't cache a
33925 # path for INSTALL within a source directory, because that will
33926 # break other packages using the cache if that directory is
33927 # removed, or if the path is relative.
33928 INSTALL=$ac_install_sh
33929 fi
33930 fi
33931 echo "$as_me:$LINENO: result: $INSTALL" >&5
33932 echo "${ECHO_T}$INSTALL" >&6
33933
33934 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
33935 # It thinks the first close brace ends the variable substitution.
33936 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
33937
33938 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
33939
33940 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
33941
33942 echo "$as_me:$LINENO: checking whether ln -s works" >&5
33943 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
33944 LN_S=$as_ln_s
33945 if test "$LN_S" = "ln -s"; then
33946 echo "$as_me:$LINENO: result: yes" >&5
33947 echo "${ECHO_T}yes" >&6
33948 else
33949 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
33950 echo "${ECHO_T}no, using $LN_S" >&6
33951 fi
33952
33953
33954 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
33955 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
33956 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
33957 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
33958 echo $ECHO_N "(cached) $ECHO_C" >&6
33959 else
33960 cat >conftest.make <<\_ACEOF
33961 all:
33962 @echo 'ac_maketemp="$(MAKE)"'
33963 _ACEOF
33964 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
33965 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
33966 if test -n "$ac_maketemp"; then
33967 eval ac_cv_prog_make_${ac_make}_set=yes
33968 else
33969 eval ac_cv_prog_make_${ac_make}_set=no
33970 fi
33971 rm -f conftest.make
33972 fi
33973 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
33974 echo "$as_me:$LINENO: result: yes" >&5
33975 echo "${ECHO_T}yes" >&6
33976 SET_MAKE=
33977 else
33978 echo "$as_me:$LINENO: result: no" >&5
33979 echo "${ECHO_T}no" >&6
33980 SET_MAKE="MAKE=${MAKE-make}"
33981 fi
33982
33983
33984
33985 if test "$build" != "$host" ; then
33986 AR=$host_alias-ar
33987 STRIP=$host_alias-strip
33988 else
33989 # Extract the first word of "ar", so it can be a program name with args.
33990 set dummy ar; ac_word=$2
33991 echo "$as_me:$LINENO: checking for $ac_word" >&5
33992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33993 if test "${ac_cv_prog_AR+set}" = set; then
33994 echo $ECHO_N "(cached) $ECHO_C" >&6
33995 else
33996 if test -n "$AR"; then
33997 ac_cv_prog_AR="$AR" # Let the user override the test.
33998 else
33999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34000 for as_dir in $PATH
34001 do
34002 IFS=$as_save_IFS
34003 test -z "$as_dir" && as_dir=.
34004 for ac_exec_ext in '' $ac_executable_extensions; do
34005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34006 ac_cv_prog_AR="ar"
34007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34008 break 2
34009 fi
34010 done
34011 done
34012
34013 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
34014 fi
34015 fi
34016 AR=$ac_cv_prog_AR
34017 if test -n "$AR"; then
34018 echo "$as_me:$LINENO: result: $AR" >&5
34019 echo "${ECHO_T}$AR" >&6
34020 else
34021 echo "$as_me:$LINENO: result: no" >&5
34022 echo "${ECHO_T}no" >&6
34023 fi
34024
34025 # Extract the first word of "strip", so it can be a program name with args.
34026 set dummy strip; ac_word=$2
34027 echo "$as_me:$LINENO: checking for $ac_word" >&5
34028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34029 if test "${ac_cv_prog_STRIP+set}" = set; then
34030 echo $ECHO_N "(cached) $ECHO_C" >&6
34031 else
34032 if test -n "$STRIP"; then
34033 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
34034 else
34035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34036 for as_dir in $PATH
34037 do
34038 IFS=$as_save_IFS
34039 test -z "$as_dir" && as_dir=.
34040 for ac_exec_ext in '' $ac_executable_extensions; do
34041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34042 ac_cv_prog_STRIP="strip"
34043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34044 break 2
34045 fi
34046 done
34047 done
34048
34049 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
34050 fi
34051 fi
34052 STRIP=$ac_cv_prog_STRIP
34053 if test -n "$STRIP"; then
34054 echo "$as_me:$LINENO: result: $STRIP" >&5
34055 echo "${ECHO_T}$STRIP" >&6
34056 else
34057 echo "$as_me:$LINENO: result: no" >&5
34058 echo "${ECHO_T}no" >&6
34059 fi
34060
34061 fi
34062
34063 case ${host} in
34064 *-hp-hpux* )
34065 INSTALL_DIR="mkdir"
34066 ;;
34067 *) INSTALL_DIR="$INSTALL -d"
34068 ;;
34069 esac
34070
34071
34072 LDFLAGS_GUI=
34073 case ${host} in
34074 *-*-cygwin* | *-*-mingw32* )
34075 LDFLAGS_GUI="-Wl,--subsystem,windows -mwindows"
34076 esac
34077
34078
34079 fi
34080
34081 echo "$as_me:$LINENO: checking if make is GNU make" >&5
34082 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
34083 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 else
34086
34087 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
34088 egrep -s GNU > /dev/null); then
34089 bakefile_cv_prog_makeisgnu="yes"
34090 else
34091 bakefile_cv_prog_makeisgnu="no"
34092 fi
34093
34094 fi
34095 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
34096 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
34097
34098 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
34099 IF_GNU_MAKE=""
34100 else
34101 IF_GNU_MAKE="#"
34102 fi
34103
34104
34105
34106 PLATFORM_UNIX=0
34107 PLATFORM_WIN32=0
34108 PLATFORM_MSDOS=0
34109 PLATFORM_MAC=0
34110 PLATFORM_MACOSX=0
34111 PLATFORM_OS2=0
34112
34113 case "${host}" in
34114 *-*-cygwin* | *-*-mingw32* )
34115 PLATFORM_WIN32=1
34116 ;;
34117 *-pc-msdosdjgpp )
34118 PLATFORM_MSDOS=1
34119 ;;
34120 *-pc-os2_emx | *-pc-os2-emx )
34121 PLATFORM_OS2=1
34122 ;;
34123 powerpc-*-darwin* )
34124 PLATFORM_MAC=1
34125 PLATFORM_MACOSX=1
34126 ;;
34127 * )
34128 PLATFORM_UNIX=1
34129 ;;
34130 esac
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140 SO_SUFFIX="so"
34141 SO_SUFFIX_MODULE="so"
34142 EXEEXT=""
34143 LIBPREFIX=lib
34144 DLLPREFIX=lib
34145 DLLPREFIX_MODULE=
34146
34147 case "${host}" in
34148 *-hp-hpux* )
34149 SO_SUFFIX="sl"
34150 SO_SUFFIX_MODULE="sl"
34151 ;;
34152 *-*-aix* )
34153 SO_SUFFIX="a"
34154 SO_SUFFIX_MODULE="a"
34155 ;;
34156 *-*-cygwin* | *-*-mingw32* )
34157 SO_SUFFIX="dll"
34158 SO_SUFFIX_MODULE="dll"
34159 EXEEXT=".exe"
34160 DLLPREFIX=""
34161 ;;
34162 *-pc-msdosdjgpp )
34163 EXEEXT=".exe"
34164 DLLPREFIX=""
34165 ;;
34166 *-pc-os2_emx | *-pc-os2-emx )
34167 EXEEXT=".exe"
34168 DLLPREFIX=""
34169 LIBPREFIX=""
34170 ;;
34171 powerpc-*-darwin* )
34172 SO_SUFFIX="dylib"
34173 SO_SUFFIX_MODULE="bundle"
34174 ;;
34175 esac
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185 SHARED_LD_CC="\$(CC) -shared -o"
34186 SHARED_LD_CXX="\$(CXX) -shared -o"
34187
34188 if test "x$GCC" = "xyes"; then
34189 PIC_FLAG="-fPIC"
34190 fi
34191
34192 case "${host}" in
34193 *-hp-hpux* )
34194 if test "x$GCC" = "xyes"; then
34195 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
34196 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
34197 else
34198 LDFLAGS="$LDFLAGS -L/usr/lib"
34199
34200 SHARED_LD_CC="${CC} -b -o"
34201 SHARED_LD_CXX="${CXX} -b -o"
34202 PIC_FLAG="+Z"
34203 fi
34204 ;;
34205
34206 *-*-linux* )
34207 if test "x$GCC" != "xyes"; then
34208 echo "$as_me:$LINENO: checking for Intel compiler" >&5
34209 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
34210 if test "${bakefile_cv_prog_icc+set}" = set; then
34211 echo $ECHO_N "(cached) $ECHO_C" >&6
34212 else
34213
34214 cat >conftest.$ac_ext <<_ACEOF
34215 #line $LINENO "configure"
34216 /* confdefs.h. */
34217 _ACEOF
34218 cat confdefs.h >>conftest.$ac_ext
34219 cat >>conftest.$ac_ext <<_ACEOF
34220 /* end confdefs.h. */
34221
34222 int
34223 main ()
34224 {
34225
34226 #ifndef __INTEL_COMPILER
34227 #error Not icc
34228 #endif
34229
34230 ;
34231 return 0;
34232 }
34233 _ACEOF
34234 rm -f conftest.$ac_objext
34235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34236 (eval $ac_compile) 2>&5
34237 ac_status=$?
34238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34239 (exit $ac_status); } &&
34240 { ac_try='test -s conftest.$ac_objext'
34241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34242 (eval $ac_try) 2>&5
34243 ac_status=$?
34244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34245 (exit $ac_status); }; }; then
34246 bakefile_cv_prog_icc=yes
34247 else
34248 echo "$as_me: failed program was:" >&5
34249 sed 's/^/| /' conftest.$ac_ext >&5
34250
34251 bakefile_cv_prog_icc=no
34252
34253 fi
34254 rm -f conftest.$ac_objext conftest.$ac_ext
34255
34256 fi
34257 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
34258 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
34259 if test "$bakefile_cv_prog_icc" = "yes"; then
34260 PIC_FLAG="-KPIC"
34261 fi
34262 fi
34263 ;;
34264
34265 *-*-solaris2* )
34266 if test "x$GCC" != xyes ; then
34267 SHARED_LD_CC="${CC} -G -o"
34268 SHARED_LD_CXX="${CXX} -G -o"
34269 PIC_FLAG="-KPIC"
34270 fi
34271 ;;
34272
34273 *-*-darwin* )
34274 CFLAGS="$CFLAGS -fno-common"
34275 CXXFLAGS="$CXXFLAGS -fno-common"
34276
34277
34278 cat <<EOF >shared-ld-sh
34279 #!/bin/sh
34280 #-----------------------------------------------------------------------------
34281 #-- Name: distrib/mac/shared-ld-sh
34282 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
34283 #-- Author: Gilles Depeyrot
34284 #-- Copyright: (c) 2002 Gilles Depeyrot
34285 #-- Licence: any use permitted
34286 #-----------------------------------------------------------------------------
34287
34288 verbose=0
34289 args=""
34290 objects=""
34291 linking_flag="-dynamiclib"
34292
34293 while test \${#} -gt 0; do
34294 case \${1} in
34295
34296 -v)
34297 verbose=1
34298 ;;
34299
34300 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
34301 # collect these options and values
34302 args="\${args} \${1} \${2}"
34303 shift
34304 ;;
34305
34306 -l*|-L*|-flat_namespace)
34307 # collect these options
34308 args="\${args} \${1}"
34309 ;;
34310
34311 -dynamiclib|-bundle)
34312 linking_flag="\${1}"
34313 ;;
34314
34315 -*)
34316 echo "shared-ld: unhandled option '\${1}'"
34317 exit 1
34318 ;;
34319
34320 *.o | *.a | *.dylib)
34321 # collect object files
34322 objects="\${objects} \${1}"
34323 ;;
34324
34325 *)
34326 echo "shared-ld: unhandled argument '\${1}'"
34327 exit 1
34328 ;;
34329
34330 esac
34331 shift
34332 done
34333
34334 #
34335 # Link one module containing all the others
34336 #
34337 if test \${verbose} = 1; then
34338 echo "c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o"
34339 fi
34340 c++ -r -keep_private_externs -nostdlib \${objects} -o master.\$\$.o
34341 status=\$?
34342 if test \${status} != 0; then
34343 exit \${status}
34344 fi
34345
34346 #
34347 # Link the shared library from the single module created
34348 #
34349 if test \${verbose} = 1; then
34350 echo "cc \${linking_flag} master.\$\$.o \${args}"
34351 fi
34352 c++ \${linking_flag} master.\$\$.o \${args}
34353 status=\$?
34354 if test \${status} != 0; then
34355 exit \${status}
34356 fi
34357
34358 #
34359 # Remove intermediate module
34360 #
34361 rm -f master.\$\$.o
34362
34363 exit 0
34364 EOF
34365 chmod +x shared-ld-sh
34366
34367 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -undefined suppress -flat_namespace -o"
34368 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -undefined suppress -flat_namespace -o"
34369 SHARED_LD_CXX="$SHARED_LD_CC"
34370 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
34371 PIC_FLAG="-dynamic -fPIC"
34372 ;;
34373
34374 *-*-aix* )
34375 if test "x$GCC" != "xyes"; then
34376 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
34377 set dummy makeC++SharedLib; ac_word=$2
34378 echo "$as_me:$LINENO: checking for $ac_word" >&5
34379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34380 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 else
34383 if test -n "$AIX_CXX_LD"; then
34384 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
34385 else
34386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34387 for as_dir in $PATH
34388 do
34389 IFS=$as_save_IFS
34390 test -z "$as_dir" && as_dir=.
34391 for ac_exec_ext in '' $ac_executable_extensions; do
34392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34393 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
34394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34395 break 2
34396 fi
34397 done
34398 done
34399
34400 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
34401 fi
34402 fi
34403 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
34404 if test -n "$AIX_CXX_LD"; then
34405 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
34406 echo "${ECHO_T}$AIX_CXX_LD" >&6
34407 else
34408 echo "$as_me:$LINENO: result: no" >&5
34409 echo "${ECHO_T}no" >&6
34410 fi
34411
34412 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
34413 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
34414 fi
34415 ;;
34416
34417 *-*-beos* )
34418 SHARED_LD_CC="${LD} -shared -o"
34419 SHARED_LD_CXX="${LD} -shared -o"
34420 ;;
34421
34422 *-*-irix* )
34423 if test "x$GCC" != "xyes"; then
34424 PIC_FLAG="-KPIC"
34425 fi
34426 ;;
34427
34428 *-*-cygwin* | *-*-mingw32* )
34429 PIC_FLAG=""
34430 ;;
34431
34432 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
34433 *-*-sunos4* | \
34434 *-*-osf* | \
34435 *-*-dgux5* | \
34436 *-pc-os2_emx | *-pc-os2-emx | \
34437 *-*-sysv5* )
34438 ;;
34439
34440 *)
34441 { { echo "$as_me:$LINENO: error: unknown system type $host." >&5
34442 echo "$as_me: error: unknown system type $host." >&2;}
34443 { (exit 1); exit 1; }; }
34444 esac
34445
34446 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
34447 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
34448 fi
34449 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
34450 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
34451 fi
34452
34453
34454
34455
34456
34457
34458
34459
34460 USE_SOVERSION=0
34461 USE_SOVERLINUX=0
34462 USE_SOVERSOLARIS=0
34463 USE_SOSYMLINKS=0
34464 USE_MACVERSION=0
34465 SONAME_FLAG=
34466
34467 case "${host}" in
34468 *-*-linux* )
34469 SONAME_FLAG="-Wl,-soname,"
34470 USE_SOVERSION=1
34471 USE_SOVERLINUX=1
34472 USE_SOSYMLINKS=1
34473 ;;
34474
34475 *-*-solaris2* )
34476 SONAME_FLAG="-h "
34477 USE_SOVERSION=1
34478 USE_SOVERSOLARIS=1
34479 USE_SOSYMLINKS=1
34480 ;;
34481
34482 *-*-darwin* )
34483 USE_MACVERSION=1
34484 USE_SOVERSION=1
34485 USE_SOSYMLINKS=1
34486 ;;
34487 esac
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
34498 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
34499 DEPS_TRACKING=0
34500
34501 if test "x$GCC" = "xyes"; then
34502 DEPSMODE=gcc
34503 DEPS_TRACKING=1
34504 case "${host}" in
34505 powerpc-*-darwin* )
34506 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
34507 ;;
34508 * )
34509 DEPSFLAG_GCC="-MMD"
34510 ;;
34511 esac
34512 echo "$as_me:$LINENO: result: gcc" >&5
34513 echo "${ECHO_T}gcc" >&6
34514 else
34515 echo "$as_me:$LINENO: result: none" >&5
34516 echo "${ECHO_T}none" >&6
34517 fi
34518
34519 if test $DEPS_TRACKING = 1 ; then
34520 cat <<EOF >bk-deps
34521 #!/bin/sh
34522
34523 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34524 # script. It is used to track C/C++ files dependencies in portable way.
34525 #
34526 # Permission is given to use this file in any way.
34527
34528 DEPSMODE=$DEPSMODE
34529 DEPSDIR=.deps
34530 DEPSFLAG_GCC="$DEPSFLAG_GCC"
34531
34532 mkdir -p \$DEPSDIR
34533
34534 if test \$DEPSMODE = gcc ; then
34535 \${*} \${DEPSFLAG_GCC}
34536 status=\${?}
34537 if test \${status} != 0 ; then
34538 exit \${status}
34539 fi
34540 # move created file to the location we want it in:
34541 while test \${#} -gt 0; do
34542 case "\${1}" in
34543 -o )
34544 shift
34545 objfile=\${1}
34546 ;;
34547 -* )
34548 ;;
34549 * )
34550 srcfile=\${1}
34551 ;;
34552 esac
34553 shift
34554 done
34555 depfile=\`basename \$srcfile | sed -e 's/\..*$/.d/g'\`
34556 depobjname=\`echo \$depfile |sed -e 's/\.d/.o/g'\`
34557 if test -f \$depfile ; then
34558 sed -e "s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34559 rm -f \$depfile
34560 else
34561 depfile=\`basename \$objfile | sed -e 's/\..*$/.d/g'\`
34562 if test -f \$depfile ; then
34563 sed -e "/^\$objfile/! s,\$depobjname:,\$objfile:,g" \$depfile >\${DEPSDIR}/\${objfile}.d
34564 rm -f \$depfile
34565 fi
34566 fi
34567 exit 0
34568 else
34569 \${*}
34570 exit \${?}
34571 fi
34572 EOF
34573 chmod +x bk-deps
34574 fi
34575
34576
34577
34578
34579 RESCOMP=
34580 SETFILE=
34581
34582 case ${host} in
34583 *-*-cygwin* | *-*-mingw32* )
34584 if test "$build" != "$host" ; then
34585 RESCOMP=$host_alias-windres
34586 else
34587 # Extract the first word of "windres", so it can be a program name with args.
34588 set dummy windres; ac_word=$2
34589 echo "$as_me:$LINENO: checking for $ac_word" >&5
34590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34591 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34592 echo $ECHO_N "(cached) $ECHO_C" >&6
34593 else
34594 if test -n "$RESCOMP"; then
34595 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34596 else
34597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34598 for as_dir in $PATH
34599 do
34600 IFS=$as_save_IFS
34601 test -z "$as_dir" && as_dir=.
34602 for ac_exec_ext in '' $ac_executable_extensions; do
34603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34604 ac_cv_prog_RESCOMP="windres"
34605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34606 break 2
34607 fi
34608 done
34609 done
34610
34611 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
34612 fi
34613 fi
34614 RESCOMP=$ac_cv_prog_RESCOMP
34615 if test -n "$RESCOMP"; then
34616 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34617 echo "${ECHO_T}$RESCOMP" >&6
34618 else
34619 echo "$as_me:$LINENO: result: no" >&5
34620 echo "${ECHO_T}no" >&6
34621 fi
34622
34623 fi
34624 ;;
34625
34626 *-*-darwin* )
34627 # Extract the first word of "Rez", so it can be a program name with args.
34628 set dummy Rez; ac_word=$2
34629 echo "$as_me:$LINENO: checking for $ac_word" >&5
34630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34631 if test "${ac_cv_prog_RESCOMP+set}" = set; then
34632 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 else
34634 if test -n "$RESCOMP"; then
34635 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
34636 else
34637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34638 for as_dir in $PATH
34639 do
34640 IFS=$as_save_IFS
34641 test -z "$as_dir" && as_dir=.
34642 for ac_exec_ext in '' $ac_executable_extensions; do
34643 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34644 ac_cv_prog_RESCOMP="Rez"
34645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34646 break 2
34647 fi
34648 done
34649 done
34650
34651 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
34652 fi
34653 fi
34654 RESCOMP=$ac_cv_prog_RESCOMP
34655 if test -n "$RESCOMP"; then
34656 echo "$as_me:$LINENO: result: $RESCOMP" >&5
34657 echo "${ECHO_T}$RESCOMP" >&6
34658 else
34659 echo "$as_me:$LINENO: result: no" >&5
34660 echo "${ECHO_T}no" >&6
34661 fi
34662
34663 # Extract the first word of "SetFile", so it can be a program name with args.
34664 set dummy SetFile; ac_word=$2
34665 echo "$as_me:$LINENO: checking for $ac_word" >&5
34666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34667 if test "${ac_cv_prog_SETFILE+set}" = set; then
34668 echo $ECHO_N "(cached) $ECHO_C" >&6
34669 else
34670 if test -n "$SETFILE"; then
34671 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34672 else
34673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34674 for as_dir in $PATH
34675 do
34676 IFS=$as_save_IFS
34677 test -z "$as_dir" && as_dir=.
34678 for ac_exec_ext in '' $ac_executable_extensions; do
34679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34680 ac_cv_prog_SETFILE="SetFile"
34681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34682 break 2
34683 fi
34684 done
34685 done
34686
34687 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34688 fi
34689 fi
34690 SETFILE=$ac_cv_prog_SETFILE
34691 if test -n "$SETFILE"; then
34692 echo "$as_me:$LINENO: result: $SETFILE" >&5
34693 echo "${ECHO_T}$SETFILE" >&6
34694 else
34695 echo "$as_me:$LINENO: result: no" >&5
34696 echo "${ECHO_T}no" >&6
34697 fi
34698
34699 ;;
34700 esac
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
34712 if test "${enable_precomp_headers+set}" = set; then
34713 enableval="$enable_precomp_headers"
34714 bk_use_pch="$enableval"
34715 fi;
34716
34717 GCC_PCH=0
34718
34719 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
34720 if test "x$GCC" = "xyes"; then
34721 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
34722 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
34723 cat >conftest.$ac_ext <<_ACEOF
34724 #line $LINENO "configure"
34725 /* confdefs.h. */
34726 _ACEOF
34727 cat confdefs.h >>conftest.$ac_ext
34728 cat >>conftest.$ac_ext <<_ACEOF
34729 /* end confdefs.h. */
34730
34731 int
34732 main ()
34733 {
34734
34735 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
34736 #error "no pch support"
34737 #endif
34738 #if (__GNUC__ < 3)
34739 #error "no pch support"
34740 #endif
34741 #if (__GNUC__ == 3) && \
34742 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
34743 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
34744 #error "no pch support"
34745 #endif
34746
34747 ;
34748 return 0;
34749 }
34750 _ACEOF
34751 rm -f conftest.$ac_objext
34752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34753 (eval $ac_compile) 2>&5
34754 ac_status=$?
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try='test -s conftest.$ac_objext'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34760 ac_status=$?
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; }; then
34763
34764 echo "$as_me:$LINENO: result: yes" >&5
34765 echo "${ECHO_T}yes" >&6
34766 CPPFLAGS="-fpch-deps $CPPFLAGS"
34767 GCC_PCH=1
34768
34769 else
34770 echo "$as_me: failed program was:" >&5
34771 sed 's/^/| /' conftest.$ac_ext >&5
34772
34773
34774 echo "$as_me:$LINENO: result: no" >&5
34775 echo "${ECHO_T}no" >&6
34776
34777 fi
34778 rm -f conftest.$ac_objext conftest.$ac_ext
34779 if test $GCC_PCH = 1 ; then
34780 cat <<EOF >bk-make-pch
34781 #!/bin/sh
34782
34783 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
34784 # script. It is used to generated precompiled headers.
34785 #
34786 # Permission is given to use this file in any way.
34787
34788 outfile="\${1}"
34789 header="\${2}"
34790 shift
34791 shift
34792
34793 compiler=
34794 headerfile=
34795 while test \${#} -gt 0; do
34796 case "\${1}" in
34797 -I* )
34798 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
34799 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
34800 headerfile="\${incdir}/\${header}"
34801 fi
34802 ;;
34803 esac
34804 compiler="\${compiler} \${1}"
34805 shift
34806 done
34807
34808 if test "x\${headerfile}" = "x" ; then
34809 echo "error: can't find header \${header} in include paths" >2
34810 else
34811 if test -f \${outfile} ; then
34812 rm -f \${outfile}
34813 else
34814 mkdir -p \`dirname \${outfile}\`
34815 fi
34816 depsfile=".deps/\`basename \${outfile}\`.d"
34817 mkdir -p .deps
34818 # can do this because gcc is >= 3.4:
34819 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
34820 exit \${?}
34821 fi
34822 EOF
34823 chmod +x bk-make-pch
34824 fi
34825 fi
34826 fi
34827
34828
34829
34830
34831
34832 COND_BUILD_DEBUG="#"
34833 if test "x$BUILD" = "xdebug" ; then
34834 COND_BUILD_DEBUG=""
34835 fi
34836
34837 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
34838 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
34839 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
34840 fi
34841
34842 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
34843 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
34844 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
34845 fi
34846
34847 COND_BUILD_RELEASE="#"
34848 if test "x$BUILD" = "xrelease" ; then
34849 COND_BUILD_RELEASE=""
34850 fi
34851
34852 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
34853 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
34854 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
34855 fi
34856
34857 COND_DEBUG_FLAG_1="#"
34858 if test "x$DEBUG_FLAG" = "x1" ; then
34859 COND_DEBUG_FLAG_1=""
34860 fi
34861
34862 COND_DEBUG_INFO_0="#"
34863 if test "x$DEBUG_INFO" = "x0" ; then
34864 COND_DEBUG_INFO_0=""
34865 fi
34866
34867 COND_DEBUG_INFO_1="#"
34868 if test "x$DEBUG_INFO" = "x1" ; then
34869 COND_DEBUG_INFO_1=""
34870 fi
34871
34872 COND_DEPS_TRACKING_0="#"
34873 if test "x$DEPS_TRACKING" = "x0" ; then
34874 COND_DEPS_TRACKING_0=""
34875 fi
34876
34877 COND_DEPS_TRACKING_1="#"
34878 if test "x$DEPS_TRACKING" = "x1" ; then
34879 COND_DEPS_TRACKING_1=""
34880 fi
34881
34882 COND_GCC_PCH_1="#"
34883 if test "x$GCC_PCH" = "x1" ; then
34884 COND_GCC_PCH_1=""
34885 fi
34886
34887 COND_MONOLITHIC_0="#"
34888 if test "x$MONOLITHIC" = "x0" ; then
34889 COND_MONOLITHIC_0=""
34890 fi
34891
34892 COND_MONOLITHIC_0_SHARED_0="#"
34893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
34894 COND_MONOLITHIC_0_SHARED_0=""
34895 fi
34896
34897 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
34898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
34899 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
34900 fi
34901
34902 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
34903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
34905 fi
34906
34907 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
34908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
34909 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
34910 fi
34911
34912 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
34913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
34914 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
34915 fi
34916
34917 COND_MONOLITHIC_0_SHARED_1="#"
34918 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
34919 COND_MONOLITHIC_0_SHARED_1=""
34920 fi
34921
34922 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
34923 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
34924 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
34925 fi
34926
34927 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
34928 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
34929 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
34930 fi
34931
34932 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
34933 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
34934 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
34935 fi
34936
34937 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
34938 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
34939 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
34940 fi
34941
34942 COND_MONOLITHIC_1="#"
34943 if test "x$MONOLITHIC" = "x1" ; then
34944 COND_MONOLITHIC_1=""
34945 fi
34946
34947 COND_MONOLITHIC_1_SHARED_0="#"
34948 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
34949 COND_MONOLITHIC_1_SHARED_0=""
34950 fi
34951
34952 COND_MONOLITHIC_1_SHARED_1="#"
34953 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
34954 COND_MONOLITHIC_1_SHARED_1=""
34955 fi
34956
34957 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
34958 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
34959 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
34960 fi
34961
34962 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
34963 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
34964 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
34965 fi
34966
34967 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
34968 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
34969 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
34970 fi
34971
34972 COND_PLATFORM_MACOSX_1="#"
34973 if test "x$PLATFORM_MACOSX" = "x1" ; then
34974 COND_PLATFORM_MACOSX_1=""
34975 fi
34976
34977 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
34978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
34979 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
34980 fi
34981
34982 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
34983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
34984 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
34985 fi
34986
34987 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
34988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
34989 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
34990 fi
34991
34992 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
34993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
34994 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
34995 fi
34996
34997 COND_PLATFORM_MAC_1="#"
34998 if test "x$PLATFORM_MAC" = "x1" ; then
34999 COND_PLATFORM_MAC_1=""
35000 fi
35001
35002 COND_PLATFORM_OS2_1="#"
35003 if test "x$PLATFORM_OS2" = "x1" ; then
35004 COND_PLATFORM_OS2_1=""
35005 fi
35006
35007 COND_PLATFORM_UNIX_0="#"
35008 if test "x$PLATFORM_UNIX" = "x0" ; then
35009 COND_PLATFORM_UNIX_0=""
35010 fi
35011
35012 COND_PLATFORM_UNIX_1="#"
35013 if test "x$PLATFORM_UNIX" = "x1" ; then
35014 COND_PLATFORM_UNIX_1=""
35015 fi
35016
35017 COND_PLATFORM_WIN32_0="#"
35018 if test "x$PLATFORM_WIN32" = "x0" ; then
35019 COND_PLATFORM_WIN32_0=""
35020 fi
35021
35022 COND_PLATFORM_WIN32_1="#"
35023 if test "x$PLATFORM_WIN32" = "x1" ; then
35024 COND_PLATFORM_WIN32_1=""
35025 fi
35026
35027 COND_SHARED_0="#"
35028 if test "x$SHARED" = "x0" ; then
35029 COND_SHARED_0=""
35030 fi
35031
35032 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
35033 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35034 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
35035 fi
35036
35037 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35038 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35039 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35040 fi
35041
35042 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35043 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35044 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35045 fi
35046
35047 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35048 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35049 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35050 fi
35051
35052 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
35053 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
35054 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
35055 fi
35056
35057 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
35058 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
35059 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
35060 fi
35061
35062 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
35063 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
35064 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
35065 fi
35066
35067 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
35068 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
35069 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
35070 fi
35071
35072 COND_SHARED_1="#"
35073 if test "x$SHARED" = "x1" ; then
35074 COND_SHARED_1=""
35075 fi
35076
35077 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
35078 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
35079 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
35080 fi
35081
35082 COND_TOOLKIT_COCOA="#"
35083 if test "x$TOOLKIT" = "xCOCOA" ; then
35084 COND_TOOLKIT_COCOA=""
35085 fi
35086
35087 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
35088 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35089 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
35090 fi
35091
35092 COND_TOOLKIT_GTK="#"
35093 if test "x$TOOLKIT" = "xGTK" ; then
35094 COND_TOOLKIT_GTK=""
35095 fi
35096
35097 COND_TOOLKIT_GTK_USE_GUI_1="#"
35098 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
35099 COND_TOOLKIT_GTK_USE_GUI_1=""
35100 fi
35101
35102 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
35103 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35104 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
35105 fi
35106
35107 COND_TOOLKIT_MAC="#"
35108 if test "x$TOOLKIT" = "xMAC" ; then
35109 COND_TOOLKIT_MAC=""
35110 fi
35111
35112 COND_TOOLKIT_MAC_USE_GUI_1="#"
35113 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
35114 COND_TOOLKIT_MAC_USE_GUI_1=""
35115 fi
35116
35117 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
35118 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35119 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
35120 fi
35121
35122 COND_TOOLKIT_MGL="#"
35123 if test "x$TOOLKIT" = "xMGL" ; then
35124 COND_TOOLKIT_MGL=""
35125 fi
35126
35127 COND_TOOLKIT_MGL_USE_GUI_1="#"
35128 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
35129 COND_TOOLKIT_MGL_USE_GUI_1=""
35130 fi
35131
35132 COND_TOOLKIT_MOTIF="#"
35133 if test "x$TOOLKIT" = "xMOTIF" ; then
35134 COND_TOOLKIT_MOTIF=""
35135 fi
35136
35137 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
35138 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
35139 COND_TOOLKIT_MOTIF_USE_GUI_1=""
35140 fi
35141
35142 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
35143 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35144 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
35145 fi
35146
35147 COND_TOOLKIT_MSW="#"
35148 if test "x$TOOLKIT" = "xMSW" ; then
35149 COND_TOOLKIT_MSW=""
35150 fi
35151
35152 COND_TOOLKIT_MSW_USE_GUI_1="#"
35153 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
35154 COND_TOOLKIT_MSW_USE_GUI_1=""
35155 fi
35156
35157 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
35158 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35159 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
35160 fi
35161
35162 COND_TOOLKIT_PM="#"
35163 if test "x$TOOLKIT" = "xPM" ; then
35164 COND_TOOLKIT_PM=""
35165 fi
35166
35167 COND_TOOLKIT_PM_USE_GUI_1="#"
35168 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
35169 COND_TOOLKIT_PM_USE_GUI_1=""
35170 fi
35171
35172 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
35173 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35174 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
35175 fi
35176
35177 COND_TOOLKIT_X11="#"
35178 if test "x$TOOLKIT" = "xX11" ; then
35179 COND_TOOLKIT_X11=""
35180 fi
35181
35182 COND_TOOLKIT_X11_USE_GUI_1="#"
35183 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
35184 COND_TOOLKIT_X11_USE_GUI_1=""
35185 fi
35186
35187 COND_UNICODE_1="#"
35188 if test "x$UNICODE" = "x1" ; then
35189 COND_UNICODE_1=""
35190 fi
35191
35192 COND_USE_GUI_0="#"
35193 if test "x$USE_GUI" = "x0" ; then
35194 COND_USE_GUI_0=""
35195 fi
35196
35197 COND_USE_GUI_1="#"
35198 if test "x$USE_GUI" = "x1" ; then
35199 COND_USE_GUI_1=""
35200 fi
35201
35202 COND_USE_GUI_1_WXUNIV_0="#"
35203 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
35204 COND_USE_GUI_1_WXUNIV_0=""
35205 fi
35206
35207 COND_USE_GUI_1_WXUNIV_1="#"
35208 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
35209 COND_USE_GUI_1_WXUNIV_1=""
35210 fi
35211
35212 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
35213 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35214 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
35215 fi
35216
35217 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
35218 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35219 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
35220 fi
35221
35222 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
35223 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35224 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
35225 fi
35226
35227 COND_USE_SOSYMLINKS_1="#"
35228 if test "x$USE_SOSYMLINKS" = "x1" ; then
35229 COND_USE_SOSYMLINKS_1=""
35230 fi
35231
35232 COND_USE_SOVERLINUX_1="#"
35233 if test "x$USE_SOVERLINUX" = "x1" ; then
35234 COND_USE_SOVERLINUX_1=""
35235 fi
35236
35237 COND_USE_SOVERSION_0="#"
35238 if test "x$USE_SOVERSION" = "x0" ; then
35239 COND_USE_SOVERSION_0=""
35240 fi
35241
35242 COND_USE_SOVERSOLARIS_1="#"
35243 if test "x$USE_SOVERSOLARIS" = "x1" ; then
35244 COND_USE_SOVERSOLARIS_1=""
35245 fi
35246
35247 COND_WXUNIV_1="#"
35248 if test "x$WXUNIV" = "x1" ; then
35249 COND_WXUNIV_1=""
35250 fi
35251
35252 COND_WXUSE_EXPAT_BUILTIN="#"
35253 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
35254 COND_WXUSE_EXPAT_BUILTIN=""
35255 fi
35256
35257 COND_WXUSE_LIBJPEG_BUILTIN="#"
35258 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
35259 COND_WXUSE_LIBJPEG_BUILTIN=""
35260 fi
35261
35262 COND_WXUSE_LIBPNG_BUILTIN="#"
35263 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
35264 COND_WXUSE_LIBPNG_BUILTIN=""
35265 fi
35266
35267 COND_WXUSE_LIBTIFF_BUILTIN="#"
35268 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
35269 COND_WXUSE_LIBTIFF_BUILTIN=""
35270 fi
35271
35272 COND_WXUSE_ODBC_BUILTIN="#"
35273 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
35274 COND_WXUSE_ODBC_BUILTIN=""
35275 fi
35276
35277 COND_WXUSE_REGEX_BUILTIN="#"
35278 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
35279 COND_WXUSE_REGEX_BUILTIN=""
35280 fi
35281
35282 COND_WXUSE_ZLIB_BUILTIN="#"
35283 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
35284 COND_WXUSE_ZLIB_BUILTIN=""
35285 fi
35286
35287
35288
35289
35290
35291 if test $GCC_PCH = 1 ; then
35292 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
35293 else
35294 case "${host}" in
35295 powerpc-*-darwin* )
35296 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
35297 ;;
35298 esac
35299 fi
35300 case "${host}" in
35301 powerpc-*-darwin* )
35302 CODE_GEN_FLAGS_CXX="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS_CXX"
35303 ;;
35304 esac
35305
35306
35307 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
35409 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
35410 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
35411 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
35412 echo $ECHO_N "(cached) $ECHO_C" >&6
35413 else
35414 cat >conftest.make <<\_ACEOF
35415 all:
35416 @echo 'ac_maketemp="$(MAKE)"'
35417 _ACEOF
35418 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35419 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
35420 if test -n "$ac_maketemp"; then
35421 eval ac_cv_prog_make_${ac_make}_set=yes
35422 else
35423 eval ac_cv_prog_make_${ac_make}_set=no
35424 fi
35425 rm -f conftest.make
35426 fi
35427 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35428 echo "$as_me:$LINENO: result: yes" >&5
35429 echo "${ECHO_T}yes" >&6
35430 SET_MAKE=
35431 else
35432 echo "$as_me:$LINENO: result: no" >&5
35433 echo "${ECHO_T}no" >&6
35434 SET_MAKE="MAKE=${MAKE-make}"
35435 fi
35436
35437
35438 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
35439 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
35440 fi
35441
35442 ac_config_headers="$ac_config_headers setup.h"
35443
35444
35445 ac_config_files="$ac_config_files wx-config version-script Makefile"
35446
35447
35448 ac_config_commands="$ac_config_commands default"
35449
35450
35451
35452 if test "$wxUSE_GUI" = "yes"; then
35453 SUBDIRS="samples demos utils contrib"
35454 else SUBDIRS="samples utils"
35455 fi
35456
35457 for subdir in `echo $SUBDIRS`; do
35458 if test -d ${srcdir}/${subdir} ; then
35459 if test "$wxUSE_GUI" = "yes"; then
35460 if test ${subdir} = "samples"; then
35461 makefiles="samples/Makefile.in $makefiles"
35462 for sample in `echo $SAMPLES_SUBDIRS`; do
35463 if test -d $srcdir/samples/$sample; then
35464 makefiles="samples/$sample/Makefile.in $makefiles"
35465 fi
35466 done
35467 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
35468 fi
35469 else if test ${subdir} = "samples"; then
35470 makefiles="samples/Makefile.in samples/console/Makefile.in"
35471 else makefiles="utils/HelpGen/Makefile.in \
35472 utils/HelpGen/src/Makefile.in \
35473 utils/makegen/Makefile.in"
35474 fi
35475 fi
35476
35477 for mkin in $makefiles ; do
35478 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
35479 ac_config_files="$ac_config_files $mk"
35480
35481 done
35482 fi
35483 done
35484
35485
35486 cat >confcache <<\_ACEOF
35487 # This file is a shell script that caches the results of configure
35488 # tests run on this system so they can be shared between configure
35489 # scripts and configure runs, see configure's option --config-cache.
35490 # It is not useful on other systems. If it contains results you don't
35491 # want to keep, you may remove or edit it.
35492 #
35493 # config.status only pays attention to the cache file if you give it
35494 # the --recheck option to rerun configure.
35495 #
35496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
35497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
35498 # following values.
35499
35500 _ACEOF
35501
35502 # The following way of writing the cache mishandles newlines in values,
35503 # but we know of no workaround that is simple, portable, and efficient.
35504 # So, don't put newlines in cache variables' values.
35505 # Ultrix sh set writes to stderr and can't be redirected directly,
35506 # and sets the high bit in the cache file unless we assign to the vars.
35507 {
35508 (set) 2>&1 |
35509 case `(ac_space=' '; set | grep ac_space) 2>&1` in
35510 *ac_space=\ *)
35511 # `set' does not quote correctly, so add quotes (double-quote
35512 # substitution turns \\\\ into \\, and sed turns \\ into \).
35513 sed -n \
35514 "s/'/'\\\\''/g;
35515 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
35516 ;;
35517 *)
35518 # `set' quotes correctly as required by POSIX, so do not add quotes.
35519 sed -n \
35520 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
35521 ;;
35522 esac;
35523 } |
35524 sed '
35525 t clear
35526 : clear
35527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
35528 t end
35529 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
35530 : end' >>confcache
35531 if diff $cache_file confcache >/dev/null 2>&1; then :; else
35532 if test -w $cache_file; then
35533 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
35534 cat confcache >$cache_file
35535 else
35536 echo "not updating unwritable cache $cache_file"
35537 fi
35538 fi
35539 rm -f confcache
35540
35541 test "x$prefix" = xNONE && prefix=$ac_default_prefix
35542 # Let make expand exec_prefix.
35543 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
35544
35545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
35546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
35547 # trailing colons and then remove the whole line if VPATH becomes empty
35548 # (actually we leave an empty line to preserve line numbers).
35549 if test "x$srcdir" = x.; then
35550 ac_vpsub='/^[ ]*VPATH[ ]*=/{
35551 s/:*\$(srcdir):*/:/;
35552 s/:*\${srcdir}:*/:/;
35553 s/:*@srcdir@:*/:/;
35554 s/^\([^=]*=[ ]*\):*/\1/;
35555 s/:*$//;
35556 s/^[^=]*=[ ]*$//;
35557 }'
35558 fi
35559
35560 DEFS=-DHAVE_CONFIG_H
35561
35562 ac_libobjs=
35563 ac_ltlibobjs=
35564 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
35565 # 1. Remove the extension, and $U if already installed.
35566 ac_i=`echo "$ac_i" |
35567 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
35568 # 2. Add them.
35569 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
35570 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
35571 done
35572 LIBOBJS=$ac_libobjs
35573
35574 LTLIBOBJS=$ac_ltlibobjs
35575
35576
35577
35578 : ${CONFIG_STATUS=./config.status}
35579 ac_clean_files_save=$ac_clean_files
35580 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
35581 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
35582 echo "$as_me: creating $CONFIG_STATUS" >&6;}
35583 cat >$CONFIG_STATUS <<_ACEOF
35584 #! $SHELL
35585 # Generated by $as_me.
35586 # Run this file to recreate the current configuration.
35587 # Compiler output produced by configure, useful for debugging
35588 # configure, is in config.log if it exists.
35589
35590 debug=false
35591 ac_cs_recheck=false
35592 ac_cs_silent=false
35593 SHELL=\${CONFIG_SHELL-$SHELL}
35594 _ACEOF
35595
35596 cat >>$CONFIG_STATUS <<\_ACEOF
35597 ## --------------------- ##
35598 ## M4sh Initialization. ##
35599 ## --------------------- ##
35600
35601 # Be Bourne compatible
35602 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
35603 emulate sh
35604 NULLCMD=:
35605 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
35606 # is contrary to our usage. Disable this feature.
35607 alias -g '${1+"$@"}'='"$@"'
35608 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
35609 set -o posix
35610 fi
35611
35612 # Support unset when possible.
35613 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
35614 as_unset=unset
35615 else
35616 as_unset=false
35617 fi
35618
35619
35620 # Work around bugs in pre-3.0 UWIN ksh.
35621 $as_unset ENV MAIL MAILPATH
35622 PS1='$ '
35623 PS2='> '
35624 PS4='+ '
35625
35626 # NLS nuisances.
35627 for as_var in \
35628 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
35629 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
35630 LC_TELEPHONE LC_TIME
35631 do
35632 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
35633 eval $as_var=C; export $as_var
35634 else
35635 $as_unset $as_var
35636 fi
35637 done
35638
35639 # Required to use basename.
35640 if expr a : '\(a\)' >/dev/null 2>&1; then
35641 as_expr=expr
35642 else
35643 as_expr=false
35644 fi
35645
35646 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
35647 as_basename=basename
35648 else
35649 as_basename=false
35650 fi
35651
35652
35653 # Name of the executable.
35654 as_me=`$as_basename "$0" ||
35655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
35656 X"$0" : 'X\(//\)$' \| \
35657 X"$0" : 'X\(/\)$' \| \
35658 . : '\(.\)' 2>/dev/null ||
35659 echo X/"$0" |
35660 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
35661 /^X\/\(\/\/\)$/{ s//\1/; q; }
35662 /^X\/\(\/\).*/{ s//\1/; q; }
35663 s/.*/./; q'`
35664
35665
35666 # PATH needs CR, and LINENO needs CR and PATH.
35667 # Avoid depending upon Character Ranges.
35668 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35669 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35670 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35671 as_cr_digits='0123456789'
35672 as_cr_alnum=$as_cr_Letters$as_cr_digits
35673
35674 # The user is always right.
35675 if test "${PATH_SEPARATOR+set}" != set; then
35676 echo "#! /bin/sh" >conf$$.sh
35677 echo "exit 0" >>conf$$.sh
35678 chmod +x conf$$.sh
35679 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
35680 PATH_SEPARATOR=';'
35681 else
35682 PATH_SEPARATOR=:
35683 fi
35684 rm -f conf$$.sh
35685 fi
35686
35687
35688 as_lineno_1=$LINENO
35689 as_lineno_2=$LINENO
35690 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35691 test "x$as_lineno_1" != "x$as_lineno_2" &&
35692 test "x$as_lineno_3" = "x$as_lineno_2" || {
35693 # Find who we are. Look in the path if we contain no path at all
35694 # relative or not.
35695 case $0 in
35696 *[\\/]* ) as_myself=$0 ;;
35697 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35698 for as_dir in $PATH
35699 do
35700 IFS=$as_save_IFS
35701 test -z "$as_dir" && as_dir=.
35702 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
35703 done
35704
35705 ;;
35706 esac
35707 # We did not find ourselves, most probably we were run as `sh COMMAND'
35708 # in which case we are not to be found in the path.
35709 if test "x$as_myself" = x; then
35710 as_myself=$0
35711 fi
35712 if test ! -f "$as_myself"; then
35713 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
35714 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
35715 { (exit 1); exit 1; }; }
35716 fi
35717 case $CONFIG_SHELL in
35718 '')
35719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35720 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
35721 do
35722 IFS=$as_save_IFS
35723 test -z "$as_dir" && as_dir=.
35724 for as_base in sh bash ksh sh5; do
35725 case $as_dir in
35726 /*)
35727 if ("$as_dir/$as_base" -c '
35728 as_lineno_1=$LINENO
35729 as_lineno_2=$LINENO
35730 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
35731 test "x$as_lineno_1" != "x$as_lineno_2" &&
35732 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
35733 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
35734 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
35735 CONFIG_SHELL=$as_dir/$as_base
35736 export CONFIG_SHELL
35737 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
35738 fi;;
35739 esac
35740 done
35741 done
35742 ;;
35743 esac
35744
35745 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
35746 # uniformly replaced by the line number. The first 'sed' inserts a
35747 # line-number line before each line; the second 'sed' does the real
35748 # work. The second script uses 'N' to pair each line-number line
35749 # with the numbered line, and appends trailing '-' during
35750 # substitution so that $LINENO is not a special case at line end.
35751 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
35752 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
35753 sed '=' <$as_myself |
35754 sed '
35755 N
35756 s,$,-,
35757 : loop
35758 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
35759 t loop
35760 s,-$,,
35761 s,^['$as_cr_digits']*\n,,
35762 ' >$as_me.lineno &&
35763 chmod +x $as_me.lineno ||
35764 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
35765 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
35766 { (exit 1); exit 1; }; }
35767
35768 # Don't try to exec as it changes $[0], causing all sort of problems
35769 # (the dirname of $[0] is not the place where we might find the
35770 # original and so on. Autoconf is especially sensible to this).
35771 . ./$as_me.lineno
35772 # Exit status is that of the last command.
35773 exit
35774 }
35775
35776
35777 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
35778 *c*,-n*) ECHO_N= ECHO_C='
35779 ' ECHO_T=' ' ;;
35780 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
35781 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
35782 esac
35783
35784 if expr a : '\(a\)' >/dev/null 2>&1; then
35785 as_expr=expr
35786 else
35787 as_expr=false
35788 fi
35789
35790 rm -f conf$$ conf$$.exe conf$$.file
35791 echo >conf$$.file
35792 if ln -s conf$$.file conf$$ 2>/dev/null; then
35793 # We could just check for DJGPP; but this test a) works b) is more generic
35794 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
35795 if test -f conf$$.exe; then
35796 # Don't use ln at all; we don't have any links
35797 as_ln_s='cp -p'
35798 else
35799 as_ln_s='ln -s'
35800 fi
35801 elif ln conf$$.file conf$$ 2>/dev/null; then
35802 as_ln_s=ln
35803 else
35804 as_ln_s='cp -p'
35805 fi
35806 rm -f conf$$ conf$$.exe conf$$.file
35807
35808 if mkdir -p . 2>/dev/null; then
35809 as_mkdir_p=:
35810 else
35811 as_mkdir_p=false
35812 fi
35813
35814 as_executable_p="test -f"
35815
35816 # Sed expression to map a string onto a valid CPP name.
35817 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
35818
35819 # Sed expression to map a string onto a valid variable name.
35820 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
35821
35822
35823 # IFS
35824 # We need space, tab and new line, in precisely that order.
35825 as_nl='
35826 '
35827 IFS=" $as_nl"
35828
35829 # CDPATH.
35830 $as_unset CDPATH
35831
35832 exec 6>&1
35833
35834 # Open the log real soon, to keep \$[0] and so on meaningful, and to
35835 # report actual input values of CONFIG_FILES etc. instead of their
35836 # values after options handling. Logging --version etc. is OK.
35837 exec 5>>config.log
35838 {
35839 echo
35840 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
35841 ## Running $as_me. ##
35842 _ASBOX
35843 } >&5
35844 cat >&5 <<_CSEOF
35845
35846 This file was extended by wxWindows $as_me 2.5.0, which was
35847 generated by GNU Autoconf 2.57. Invocation command line was
35848
35849 CONFIG_FILES = $CONFIG_FILES
35850 CONFIG_HEADERS = $CONFIG_HEADERS
35851 CONFIG_LINKS = $CONFIG_LINKS
35852 CONFIG_COMMANDS = $CONFIG_COMMANDS
35853 $ $0 $@
35854
35855 _CSEOF
35856 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
35857 echo >&5
35858 _ACEOF
35859
35860 # Files that config.status was made for.
35861 if test -n "$ac_config_files"; then
35862 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
35863 fi
35864
35865 if test -n "$ac_config_headers"; then
35866 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
35867 fi
35868
35869 if test -n "$ac_config_links"; then
35870 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
35871 fi
35872
35873 if test -n "$ac_config_commands"; then
35874 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
35875 fi
35876
35877 cat >>$CONFIG_STATUS <<\_ACEOF
35878
35879 ac_cs_usage="\
35880 \`$as_me' instantiates files from templates according to the
35881 current configuration.
35882
35883 Usage: $0 [OPTIONS] [FILE]...
35884
35885 -h, --help print this help, then exit
35886 -V, --version print version number, then exit
35887 -q, --quiet do not print progress messages
35888 -d, --debug don't remove temporary files
35889 --recheck update $as_me by reconfiguring in the same conditions
35890 --file=FILE[:TEMPLATE]
35891 instantiate the configuration file FILE
35892 --header=FILE[:TEMPLATE]
35893 instantiate the configuration header FILE
35894
35895 Configuration files:
35896 $config_files
35897
35898 Configuration headers:
35899 $config_headers
35900
35901 Configuration commands:
35902 $config_commands
35903
35904 Report bugs to <bug-autoconf@gnu.org>."
35905 _ACEOF
35906
35907 cat >>$CONFIG_STATUS <<_ACEOF
35908 ac_cs_version="\\
35909 wxWindows config.status 2.5.0
35910 configured by $0, generated by GNU Autoconf 2.57,
35911 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
35912
35913 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
35914 Free Software Foundation, Inc.
35915 This config.status script is free software; the Free Software Foundation
35916 gives unlimited permission to copy, distribute and modify it."
35917 srcdir=$srcdir
35918 INSTALL="$INSTALL"
35919 _ACEOF
35920
35921 cat >>$CONFIG_STATUS <<\_ACEOF
35922 # If no file are specified by the user, then we need to provide default
35923 # value. By we need to know if files were specified by the user.
35924 ac_need_defaults=:
35925 while test $# != 0
35926 do
35927 case $1 in
35928 --*=*)
35929 ac_option=`expr "x$1" : 'x\([^=]*\)='`
35930 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
35931 ac_shift=:
35932 ;;
35933 -*)
35934 ac_option=$1
35935 ac_optarg=$2
35936 ac_shift=shift
35937 ;;
35938 *) # This is not an option, so the user has probably given explicit
35939 # arguments.
35940 ac_option=$1
35941 ac_need_defaults=false;;
35942 esac
35943
35944 case $ac_option in
35945 # Handling of the options.
35946 _ACEOF
35947 cat >>$CONFIG_STATUS <<\_ACEOF
35948 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
35949 ac_cs_recheck=: ;;
35950 --version | --vers* | -V )
35951 echo "$ac_cs_version"; exit 0 ;;
35952 --he | --h)
35953 # Conflict between --help and --header
35954 { { echo "$as_me:$LINENO: error: ambiguous option: $1
35955 Try \`$0 --help' for more information." >&5
35956 echo "$as_me: error: ambiguous option: $1
35957 Try \`$0 --help' for more information." >&2;}
35958 { (exit 1); exit 1; }; };;
35959 --help | --hel | -h )
35960 echo "$ac_cs_usage"; exit 0 ;;
35961 --debug | --d* | -d )
35962 debug=: ;;
35963 --file | --fil | --fi | --f )
35964 $ac_shift
35965 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
35966 ac_need_defaults=false;;
35967 --header | --heade | --head | --hea )
35968 $ac_shift
35969 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
35970 ac_need_defaults=false;;
35971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
35972 | -silent | --silent | --silen | --sile | --sil | --si | --s)
35973 ac_cs_silent=: ;;
35974
35975 # This is an error.
35976 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
35977 Try \`$0 --help' for more information." >&5
35978 echo "$as_me: error: unrecognized option: $1
35979 Try \`$0 --help' for more information." >&2;}
35980 { (exit 1); exit 1; }; } ;;
35981
35982 *) ac_config_targets="$ac_config_targets $1" ;;
35983
35984 esac
35985 shift
35986 done
35987
35988 ac_configure_extra_args=
35989
35990 if $ac_cs_silent; then
35991 exec 6>/dev/null
35992 ac_configure_extra_args="$ac_configure_extra_args --silent"
35993 fi
35994
35995 _ACEOF
35996 cat >>$CONFIG_STATUS <<_ACEOF
35997 if \$ac_cs_recheck; then
35998 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
35999 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
36000 fi
36001
36002 _ACEOF
36003
36004 cat >>$CONFIG_STATUS <<_ACEOF
36005 #
36006 # INIT-COMMANDS section.
36007 #
36008
36009
36010 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
36011 LN_S="${LN_S}"
36012
36013
36014
36015 _ACEOF
36016
36017
36018
36019 cat >>$CONFIG_STATUS <<\_ACEOF
36020 for ac_config_target in $ac_config_targets
36021 do
36022 case "$ac_config_target" in
36023 # Handling of arguments.
36024 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
36025 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
36026 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
36027 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
36028 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
36029 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
36030 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
36031 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
36032 { (exit 1); exit 1; }; };;
36033 esac
36034 done
36035
36036 # If the user did not use the arguments to specify the items to instantiate,
36037 # then the envvar interface is used. Set only those that are not.
36038 # We use the long form for the default assignment because of an extremely
36039 # bizarre bug on SunOS 4.1.3.
36040 if $ac_need_defaults; then
36041 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
36042 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
36043 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
36044 fi
36045
36046 # Have a temporary directory for convenience. Make it in the build tree
36047 # simply because there is no reason to put it here, and in addition,
36048 # creating and moving files from /tmp can sometimes cause problems.
36049 # Create a temporary directory, and hook for its removal unless debugging.
36050 $debug ||
36051 {
36052 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
36053 trap '{ (exit 1); exit 1; }' 1 2 13 15
36054 }
36055
36056 # Create a (secure) tmp directory for tmp files.
36057
36058 {
36059 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
36060 test -n "$tmp" && test -d "$tmp"
36061 } ||
36062 {
36063 tmp=./confstat$$-$RANDOM
36064 (umask 077 && mkdir $tmp)
36065 } ||
36066 {
36067 echo "$me: cannot create a temporary directory in ." >&2
36068 { (exit 1); exit 1; }
36069 }
36070
36071 _ACEOF
36072
36073 cat >>$CONFIG_STATUS <<_ACEOF
36074
36075 #
36076 # CONFIG_FILES section.
36077 #
36078
36079 # No need to generate the scripts if there are no CONFIG_FILES.
36080 # This happens for instance when ./config.status config.h
36081 if test -n "\$CONFIG_FILES"; then
36082 # Protect against being on the right side of a sed subst in config.status.
36083 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
36084 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
36085 s,@SHELL@,$SHELL,;t t
36086 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
36087 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
36088 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
36089 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
36090 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
36091 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
36092 s,@exec_prefix@,$exec_prefix,;t t
36093 s,@prefix@,$prefix,;t t
36094 s,@program_transform_name@,$program_transform_name,;t t
36095 s,@bindir@,$bindir,;t t
36096 s,@sbindir@,$sbindir,;t t
36097 s,@libexecdir@,$libexecdir,;t t
36098 s,@datadir@,$datadir,;t t
36099 s,@sysconfdir@,$sysconfdir,;t t
36100 s,@sharedstatedir@,$sharedstatedir,;t t
36101 s,@localstatedir@,$localstatedir,;t t
36102 s,@libdir@,$libdir,;t t
36103 s,@includedir@,$includedir,;t t
36104 s,@oldincludedir@,$oldincludedir,;t t
36105 s,@infodir@,$infodir,;t t
36106 s,@mandir@,$mandir,;t t
36107 s,@build_alias@,$build_alias,;t t
36108 s,@host_alias@,$host_alias,;t t
36109 s,@target_alias@,$target_alias,;t t
36110 s,@DEFS@,$DEFS,;t t
36111 s,@ECHO_C@,$ECHO_C,;t t
36112 s,@ECHO_N@,$ECHO_N,;t t
36113 s,@ECHO_T@,$ECHO_T,;t t
36114 s,@LIBS@,$LIBS,;t t
36115 s,@build@,$build,;t t
36116 s,@build_cpu@,$build_cpu,;t t
36117 s,@build_vendor@,$build_vendor,;t t
36118 s,@build_os@,$build_os,;t t
36119 s,@host@,$host,;t t
36120 s,@host_cpu@,$host_cpu,;t t
36121 s,@host_vendor@,$host_vendor,;t t
36122 s,@host_os@,$host_os,;t t
36123 s,@target@,$target,;t t
36124 s,@target_cpu@,$target_cpu,;t t
36125 s,@target_vendor@,$target_vendor,;t t
36126 s,@target_os@,$target_os,;t t
36127 s,@CC@,$CC,;t t
36128 s,@CFLAGS@,$CFLAGS,;t t
36129 s,@LDFLAGS@,$LDFLAGS,;t t
36130 s,@CPPFLAGS@,$CPPFLAGS,;t t
36131 s,@ac_ct_CC@,$ac_ct_CC,;t t
36132 s,@EXEEXT@,$EXEEXT,;t t
36133 s,@OBJEXT@,$OBJEXT,;t t
36134 s,@CPP@,$CPP,;t t
36135 s,@EGREP@,$EGREP,;t t
36136 s,@CXX@,$CXX,;t t
36137 s,@CXXFLAGS@,$CXXFLAGS,;t t
36138 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
36139 s,@RANLIB@,$RANLIB,;t t
36140 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
36141 s,@AR@,$AR,;t t
36142 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
36143 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
36144 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
36145 s,@STRIP@,$STRIP,;t t
36146 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
36147 s,@LN_S@,$LN_S,;t t
36148 s,@CXXCPP@,$CXXCPP,;t t
36149 s,@subdirs@,$subdirs,;t t
36150 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
36151 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
36152 s,@GTK_LIBS@,$GTK_LIBS,;t t
36153 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
36154 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
36155 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
36156 s,@X_CFLAGS@,$X_CFLAGS,;t t
36157 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
36158 s,@X_LIBS@,$X_LIBS,;t t
36159 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
36160 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
36161 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
36162 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
36163 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
36164 s,@RESCOMP@,$RESCOMP,;t t
36165 s,@DEREZ@,$DEREZ,;t t
36166 s,@SETFILE@,$SETFILE,;t t
36167 s,@LIBICONV@,$LIBICONV,;t t
36168 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
36169 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
36170 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
36171 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
36172 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
36173 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
36174 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
36175 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
36176 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
36177 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
36178 s,@VENDOR@,$VENDOR,;t t
36179 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
36180 s,@WXUNIV@,$WXUNIV,;t t
36181 s,@MONOLITHIC@,$MONOLITHIC,;t t
36182 s,@EXTRALIBS@,$EXTRALIBS,;t t
36183 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
36184 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
36185 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
36186 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
36187 s,@UNICODE@,$UNICODE,;t t
36188 s,@BUILD@,$BUILD,;t t
36189 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
36190 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
36191 s,@SHARED@,$SHARED,;t t
36192 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
36193 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
36194 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
36195 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
36196 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
36197 s,@SET_MAKE@,$SET_MAKE,;t t
36198 s,@MAKE_SET@,$MAKE_SET,;t t
36199 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
36200 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
36201 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
36202 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
36203 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
36204 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
36205 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
36206 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
36207 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
36208 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
36209 s,@LIBPREFIX@,$LIBPREFIX,;t t
36210 s,@DLLPREFIX@,$DLLPREFIX,;t t
36211 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
36212 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
36213 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
36214 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
36215 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
36216 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
36217 s,@PIC_FLAG@,$PIC_FLAG,;t t
36218 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
36219 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
36220 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
36221 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
36222 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
36223 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
36224 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
36225 s,@GCC_PCH@,$GCC_PCH,;t t
36226 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
36227 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
36228 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
36229 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
36230 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
36231 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
36232 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
36233 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
36234 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
36235 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
36236 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
36237 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
36238 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
36239 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
36240 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
36241 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
36242 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
36243 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
36244 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
36245 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
36246 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
36247 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
36248 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
36249 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
36250 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
36251 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
36252 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
36253 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
36254 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
36255 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
36256 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
36257 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
36258 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
36259 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
36260 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
36261 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
36262 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
36263 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
36264 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
36265 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
36266 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
36267 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36268 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36269 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36270 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
36271 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
36272 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
36273 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
36274 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
36275 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
36276 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
36277 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
36278 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
36279 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
36280 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
36281 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
36282 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
36283 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
36284 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
36285 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
36286 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
36287 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
36288 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
36289 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
36290 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
36291 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
36292 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
36293 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
36294 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
36295 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
36296 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
36297 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
36298 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
36299 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
36300 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
36301 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
36302 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
36303 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
36304 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
36305 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
36306 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
36307 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
36308 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
36309 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
36310 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
36311 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
36312 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
36313 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
36314 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
36315 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
36316 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
36317 s,@PATH_IFS@,$PATH_IFS,;t t
36318 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
36319 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
36320 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
36321 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
36322 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
36323 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
36324 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
36325 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
36326 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
36327 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
36328 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
36329 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
36330 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
36331 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
36332 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
36333 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
36334 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
36335 s,@WX_ALL@,$WX_ALL,;t t
36336 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
36337 s,@SHARED_LD@,$SHARED_LD,;t t
36338 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
36339 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
36340 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
36341 s,@USE_GUI@,$USE_GUI,;t t
36342 s,@AFMINSTALL@,$AFMINSTALL,;t t
36343 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
36344 s,@TOOLKIT@,$TOOLKIT,;t t
36345 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
36346 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
36347 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
36348 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
36349 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
36350 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
36351 s,@cross_compiling@,$cross_compiling,;t t
36352 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
36353 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
36354 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
36355 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
36356 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
36357 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
36358 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
36359 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
36360 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
36361 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
36362 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
36363 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
36364 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
36365 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
36366 s,@GUIDIST@,$GUIDIST,;t t
36367 s,@PORT_FILES@,$PORT_FILES,;t t
36368 s,@DISTDIR@,$DISTDIR,;t t
36369 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
36370 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
36371 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
36372 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
36373 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
36374 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
36375 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
36376 s,@RESFLAGS@,$RESFLAGS,;t t
36377 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
36378 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
36379 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
36380 s,@MACOSX_BUNDLE@,$MACOSX_BUNDLE,;t t
36381 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
36382 s,@MACRESCOMP@,$MACRESCOMP,;t t
36383 s,@MACSETFILE@,$MACSETFILE,;t t
36384 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
36385 s,@GCC@,$GCC,;t t
36386 s,@DLLTOOL@,$DLLTOOL,;t t
36387 s,@AS@,$AS,;t t
36388 s,@NM@,$NM,;t t
36389 s,@LD@,$LD,;t t
36390 s,@MAKEINFO@,$MAKEINFO,;t t
36391 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
36392 s,@LIBOBJS@,$LIBOBJS,;t t
36393 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
36394 CEOF
36395
36396 _ACEOF
36397
36398 cat >>$CONFIG_STATUS <<\_ACEOF
36399 # Split the substitutions into bite-sized pieces for seds with
36400 # small command number limits, like on Digital OSF/1 and HP-UX.
36401 ac_max_sed_lines=48
36402 ac_sed_frag=1 # Number of current file.
36403 ac_beg=1 # First line for current file.
36404 ac_end=$ac_max_sed_lines # Line after last line for current file.
36405 ac_more_lines=:
36406 ac_sed_cmds=
36407 while $ac_more_lines; do
36408 if test $ac_beg -gt 1; then
36409 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36410 else
36411 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
36412 fi
36413 if test ! -s $tmp/subs.frag; then
36414 ac_more_lines=false
36415 else
36416 # The purpose of the label and of the branching condition is to
36417 # speed up the sed processing (if there are no `@' at all, there
36418 # is no need to browse any of the substitutions).
36419 # These are the two extra sed commands mentioned above.
36420 (echo ':t
36421 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
36422 if test -z "$ac_sed_cmds"; then
36423 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
36424 else
36425 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
36426 fi
36427 ac_sed_frag=`expr $ac_sed_frag + 1`
36428 ac_beg=$ac_end
36429 ac_end=`expr $ac_end + $ac_max_sed_lines`
36430 fi
36431 done
36432 if test -z "$ac_sed_cmds"; then
36433 ac_sed_cmds=cat
36434 fi
36435 fi # test -n "$CONFIG_FILES"
36436
36437 _ACEOF
36438 cat >>$CONFIG_STATUS <<\_ACEOF
36439 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
36440 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36441 case $ac_file in
36442 - | *:- | *:-:* ) # input from stdin
36443 cat >$tmp/stdin
36444 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36445 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36446 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36447 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36448 * ) ac_file_in=$ac_file.in ;;
36449 esac
36450
36451 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
36452 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36453 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36454 X"$ac_file" : 'X\(//\)[^/]' \| \
36455 X"$ac_file" : 'X\(//\)$' \| \
36456 X"$ac_file" : 'X\(/\)' \| \
36457 . : '\(.\)' 2>/dev/null ||
36458 echo X"$ac_file" |
36459 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36460 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36461 /^X\(\/\/\)$/{ s//\1/; q; }
36462 /^X\(\/\).*/{ s//\1/; q; }
36463 s/.*/./; q'`
36464 { if $as_mkdir_p; then
36465 mkdir -p "$ac_dir"
36466 else
36467 as_dir="$ac_dir"
36468 as_dirs=
36469 while test ! -d "$as_dir"; do
36470 as_dirs="$as_dir $as_dirs"
36471 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36472 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36473 X"$as_dir" : 'X\(//\)[^/]' \| \
36474 X"$as_dir" : 'X\(//\)$' \| \
36475 X"$as_dir" : 'X\(/\)' \| \
36476 . : '\(.\)' 2>/dev/null ||
36477 echo X"$as_dir" |
36478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36479 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36480 /^X\(\/\/\)$/{ s//\1/; q; }
36481 /^X\(\/\).*/{ s//\1/; q; }
36482 s/.*/./; q'`
36483 done
36484 test ! -n "$as_dirs" || mkdir $as_dirs
36485 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36486 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36487 { (exit 1); exit 1; }; }; }
36488
36489 ac_builddir=.
36490
36491 if test "$ac_dir" != .; then
36492 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36493 # A "../" for each directory in $ac_dir_suffix.
36494 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36495 else
36496 ac_dir_suffix= ac_top_builddir=
36497 fi
36498
36499 case $srcdir in
36500 .) # No --srcdir option. We are building in place.
36501 ac_srcdir=.
36502 if test -z "$ac_top_builddir"; then
36503 ac_top_srcdir=.
36504 else
36505 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36506 fi ;;
36507 [\\/]* | ?:[\\/]* ) # Absolute path.
36508 ac_srcdir=$srcdir$ac_dir_suffix;
36509 ac_top_srcdir=$srcdir ;;
36510 *) # Relative path.
36511 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36512 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36513 esac
36514 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36515 # absolute.
36516 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36517 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36518 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36519 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36520
36521
36522 case $INSTALL in
36523 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
36524 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
36525 esac
36526
36527 if test x"$ac_file" != x-; then
36528 { echo "$as_me:$LINENO: creating $ac_file" >&5
36529 echo "$as_me: creating $ac_file" >&6;}
36530 rm -f "$ac_file"
36531 fi
36532 # Let's still pretend it is `configure' which instantiates (i.e., don't
36533 # use $as_me), people would be surprised to read:
36534 # /* config.h. Generated by config.status. */
36535 if test x"$ac_file" = x-; then
36536 configure_input=
36537 else
36538 configure_input="$ac_file. "
36539 fi
36540 configure_input=$configure_input"Generated from `echo $ac_file_in |
36541 sed 's,.*/,,'` by configure."
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 _ACEOF
36571 cat >>$CONFIG_STATUS <<_ACEOF
36572 sed "$ac_vpsub
36573 $extrasub
36574 _ACEOF
36575 cat >>$CONFIG_STATUS <<\_ACEOF
36576 :t
36577 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
36578 s,@configure_input@,$configure_input,;t t
36579 s,@srcdir@,$ac_srcdir,;t t
36580 s,@abs_srcdir@,$ac_abs_srcdir,;t t
36581 s,@top_srcdir@,$ac_top_srcdir,;t t
36582 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
36583 s,@builddir@,$ac_builddir,;t t
36584 s,@abs_builddir@,$ac_abs_builddir,;t t
36585 s,@top_builddir@,$ac_top_builddir,;t t
36586 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
36587 s,@INSTALL@,$ac_INSTALL,;t t
36588 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
36589 rm -f $tmp/stdin
36590 if test x"$ac_file" != x-; then
36591 mv $tmp/out $ac_file
36592 else
36593 cat $tmp/out
36594 rm -f $tmp/out
36595 fi
36596
36597 done
36598 _ACEOF
36599 cat >>$CONFIG_STATUS <<\_ACEOF
36600
36601 #
36602 # CONFIG_HEADER section.
36603 #
36604
36605 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
36606 # NAME is the cpp macro being defined and VALUE is the value it is being given.
36607 #
36608 # ac_d sets the value in "#define NAME VALUE" lines.
36609 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
36610 ac_dB='[ ].*$,\1#\2'
36611 ac_dC=' '
36612 ac_dD=',;t'
36613 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
36614 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
36615 ac_uB='$,\1#\2define\3'
36616 ac_uC=' '
36617 ac_uD=',;t'
36618
36619 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
36620 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
36621 case $ac_file in
36622 - | *:- | *:-:* ) # input from stdin
36623 cat >$tmp/stdin
36624 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36625 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36626 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
36627 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
36628 * ) ac_file_in=$ac_file.in ;;
36629 esac
36630
36631 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
36632 echo "$as_me: creating $ac_file" >&6;}
36633
36634 # First look for the input files in the build tree, otherwise in the
36635 # src tree.
36636 ac_file_inputs=`IFS=:
36637 for f in $ac_file_in; do
36638 case $f in
36639 -) echo $tmp/stdin ;;
36640 [\\/$]*)
36641 # Absolute (can't be DOS-style, as IFS=:)
36642 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36643 echo "$as_me: error: cannot find input file: $f" >&2;}
36644 { (exit 1); exit 1; }; }
36645 echo $f;;
36646 *) # Relative
36647 if test -f "$f"; then
36648 # Build tree
36649 echo $f
36650 elif test -f "$srcdir/$f"; then
36651 # Source tree
36652 echo $srcdir/$f
36653 else
36654 # /dev/null tree
36655 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
36656 echo "$as_me: error: cannot find input file: $f" >&2;}
36657 { (exit 1); exit 1; }; }
36658 fi;;
36659 esac
36660 done` || { (exit 1); exit 1; }
36661 # Remove the trailing spaces.
36662 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
36663
36664 _ACEOF
36665
36666 # Transform confdefs.h into two sed scripts, `conftest.defines' and
36667 # `conftest.undefs', that substitutes the proper values into
36668 # config.h.in to produce config.h. The first handles `#define'
36669 # templates, and the second `#undef' templates.
36670 # And first: Protect against being on the right side of a sed subst in
36671 # config.status. Protect against being in an unquoted here document
36672 # in config.status.
36673 rm -f conftest.defines conftest.undefs
36674 # Using a here document instead of a string reduces the quoting nightmare.
36675 # Putting comments in sed scripts is not portable.
36676 #
36677 # `end' is used to avoid that the second main sed command (meant for
36678 # 0-ary CPP macros) applies to n-ary macro definitions.
36679 # See the Autoconf documentation for `clear'.
36680 cat >confdef2sed.sed <<\_ACEOF
36681 s/[\\&,]/\\&/g
36682 s,[\\$`],\\&,g
36683 t clear
36684 : clear
36685 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
36686 t end
36687 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
36688 : end
36689 _ACEOF
36690 # If some macros were called several times there might be several times
36691 # the same #defines, which is useless. Nevertheless, we may not want to
36692 # sort them, since we want the *last* AC-DEFINE to be honored.
36693 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
36694 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
36695 rm -f confdef2sed.sed
36696
36697 # This sed command replaces #undef with comments. This is necessary, for
36698 # example, in the case of _POSIX_SOURCE, which is predefined and required
36699 # on some systems where configure will not decide to define it.
36700 cat >>conftest.undefs <<\_ACEOF
36701 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
36702 _ACEOF
36703
36704 # Break up conftest.defines because some shells have a limit on the size
36705 # of here documents, and old seds have small limits too (100 cmds).
36706 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
36707 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
36708 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
36709 echo ' :' >>$CONFIG_STATUS
36710 rm -f conftest.tail
36711 while grep . conftest.defines >/dev/null
36712 do
36713 # Write a limited-size here document to $tmp/defines.sed.
36714 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
36715 # Speed up: don't consider the non `#define' lines.
36716 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
36717 # Work around the forget-to-reset-the-flag bug.
36718 echo 't clr' >>$CONFIG_STATUS
36719 echo ': clr' >>$CONFIG_STATUS
36720 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
36721 echo 'CEOF
36722 sed -f $tmp/defines.sed $tmp/in >$tmp/out
36723 rm -f $tmp/in
36724 mv $tmp/out $tmp/in
36725 ' >>$CONFIG_STATUS
36726 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
36727 rm -f conftest.defines
36728 mv conftest.tail conftest.defines
36729 done
36730 rm -f conftest.defines
36731 echo ' fi # grep' >>$CONFIG_STATUS
36732 echo >>$CONFIG_STATUS
36733
36734 # Break up conftest.undefs because some shells have a limit on the size
36735 # of here documents, and old seds have small limits too (100 cmds).
36736 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
36737 rm -f conftest.tail
36738 while grep . conftest.undefs >/dev/null
36739 do
36740 # Write a limited-size here document to $tmp/undefs.sed.
36741 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
36742 # Speed up: don't consider the non `#undef'
36743 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
36744 # Work around the forget-to-reset-the-flag bug.
36745 echo 't clr' >>$CONFIG_STATUS
36746 echo ': clr' >>$CONFIG_STATUS
36747 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
36748 echo 'CEOF
36749 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
36750 rm -f $tmp/in
36751 mv $tmp/out $tmp/in
36752 ' >>$CONFIG_STATUS
36753 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
36754 rm -f conftest.undefs
36755 mv conftest.tail conftest.undefs
36756 done
36757 rm -f conftest.undefs
36758
36759 cat >>$CONFIG_STATUS <<\_ACEOF
36760 # Let's still pretend it is `configure' which instantiates (i.e., don't
36761 # use $as_me), people would be surprised to read:
36762 # /* config.h. Generated by config.status. */
36763 if test x"$ac_file" = x-; then
36764 echo "/* Generated by configure. */" >$tmp/config.h
36765 else
36766 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
36767 fi
36768 cat $tmp/in >>$tmp/config.h
36769 rm -f $tmp/in
36770 if test x"$ac_file" != x-; then
36771 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
36772 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
36773 echo "$as_me: $ac_file is unchanged" >&6;}
36774 else
36775 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
36776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36777 X"$ac_file" : 'X\(//\)[^/]' \| \
36778 X"$ac_file" : 'X\(//\)$' \| \
36779 X"$ac_file" : 'X\(/\)' \| \
36780 . : '\(.\)' 2>/dev/null ||
36781 echo X"$ac_file" |
36782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36784 /^X\(\/\/\)$/{ s//\1/; q; }
36785 /^X\(\/\).*/{ s//\1/; q; }
36786 s/.*/./; q'`
36787 { if $as_mkdir_p; then
36788 mkdir -p "$ac_dir"
36789 else
36790 as_dir="$ac_dir"
36791 as_dirs=
36792 while test ! -d "$as_dir"; do
36793 as_dirs="$as_dir $as_dirs"
36794 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36796 X"$as_dir" : 'X\(//\)[^/]' \| \
36797 X"$as_dir" : 'X\(//\)$' \| \
36798 X"$as_dir" : 'X\(/\)' \| \
36799 . : '\(.\)' 2>/dev/null ||
36800 echo X"$as_dir" |
36801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36803 /^X\(\/\/\)$/{ s//\1/; q; }
36804 /^X\(\/\).*/{ s//\1/; q; }
36805 s/.*/./; q'`
36806 done
36807 test ! -n "$as_dirs" || mkdir $as_dirs
36808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
36809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
36810 { (exit 1); exit 1; }; }; }
36811
36812 rm -f $ac_file
36813 mv $tmp/config.h $ac_file
36814 fi
36815 else
36816 cat $tmp/config.h
36817 rm -f $tmp/config.h
36818 fi
36819 done
36820 _ACEOF
36821 cat >>$CONFIG_STATUS <<\_ACEOF
36822
36823 #
36824 # CONFIG_COMMANDS section.
36825 #
36826 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
36827 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
36828 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
36829 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
36830 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36831 X"$ac_dest" : 'X\(//\)[^/]' \| \
36832 X"$ac_dest" : 'X\(//\)$' \| \
36833 X"$ac_dest" : 'X\(/\)' \| \
36834 . : '\(.\)' 2>/dev/null ||
36835 echo X"$ac_dest" |
36836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36838 /^X\(\/\/\)$/{ s//\1/; q; }
36839 /^X\(\/\).*/{ s//\1/; q; }
36840 s/.*/./; q'`
36841 ac_builddir=.
36842
36843 if test "$ac_dir" != .; then
36844 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
36845 # A "../" for each directory in $ac_dir_suffix.
36846 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
36847 else
36848 ac_dir_suffix= ac_top_builddir=
36849 fi
36850
36851 case $srcdir in
36852 .) # No --srcdir option. We are building in place.
36853 ac_srcdir=.
36854 if test -z "$ac_top_builddir"; then
36855 ac_top_srcdir=.
36856 else
36857 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36858 fi ;;
36859 [\\/]* | ?:[\\/]* ) # Absolute path.
36860 ac_srcdir=$srcdir$ac_dir_suffix;
36861 ac_top_srcdir=$srcdir ;;
36862 *) # Relative path.
36863 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36864 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36865 esac
36866 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
36867 # absolute.
36868 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
36869 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
36870 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
36871 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
36872
36873
36874 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36875 echo "$as_me: executing $ac_dest commands" >&6;}
36876 case $ac_dest in
36877 default )
36878 if test ! -h wx-config; then
36879 chmod +x wx-config
36880 mv wx-config wx${TOOLCHAIN_NAME}-config
36881 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
36882 fi
36883
36884 if test ! -d lib; then
36885 mkdir lib
36886 fi
36887 if test ! -d lib/wx; then
36888 mkdir lib/wx
36889 fi
36890 if test ! -d lib/wx/include; then
36891 mkdir lib/wx/include
36892 fi
36893 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
36894 mkdir lib/wx/include/${TOOLCHAIN_NAME}
36895 fi
36896 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
36897 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
36898 fi
36899 if test -f setup.h; then
36900 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
36901 fi
36902 ;;
36903 esac
36904 done
36905 _ACEOF
36906
36907 cat >>$CONFIG_STATUS <<\_ACEOF
36908
36909 { (exit 0); exit 0; }
36910 _ACEOF
36911 chmod +x $CONFIG_STATUS
36912 ac_clean_files=$ac_clean_files_save
36913
36914
36915 # configure is writing to config.log, and then calls config.status.
36916 # config.status does its own redirection, appending to config.log.
36917 # Unfortunately, on DOS this fails, as config.log is still kept open
36918 # by configure, so config.status won't be able to write to it; its
36919 # output is simply discarded. So we exec the FD to /dev/null,
36920 # effectively closing config.log, so it can be properly (re)opened and
36921 # appended to by config.status. When coming back to configure, we
36922 # need to make the FD available again.
36923 if test "$no_create" != yes; then
36924 ac_cs_success=:
36925 ac_config_status_args=
36926 test "$silent" = yes &&
36927 ac_config_status_args="$ac_config_status_args --quiet"
36928 exec 5>/dev/null
36929 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36930 exec 5>>config.log
36931 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36932 # would make configure fail if this is the last instruction.
36933 $ac_cs_success || { (exit 1); exit 1; }
36934 fi
36935
36936 #
36937 # CONFIG_SUBDIRS section.
36938 #
36939 if test "$no_recursion" != yes; then
36940
36941 # Remove --cache-file and --srcdir arguments so they do not pile up.
36942 ac_sub_configure_args=
36943 ac_prev=
36944 for ac_arg in $ac_configure_args; do
36945 if test -n "$ac_prev"; then
36946 ac_prev=
36947 continue
36948 fi
36949 case $ac_arg in
36950 -cache-file | --cache-file | --cache-fil | --cache-fi \
36951 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
36952 ac_prev=cache_file ;;
36953 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
36954 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
36955 | --c=*)
36956 ;;
36957 --config-cache | -C)
36958 ;;
36959 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
36960 ac_prev=srcdir ;;
36961 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
36962 ;;
36963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
36964 ac_prev=prefix ;;
36965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
36966 ;;
36967 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
36968 esac
36969 done
36970
36971 # Always prepend --prefix to ensure using the same prefix
36972 # in subdir configurations.
36973 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
36974
36975 ac_popdir=`pwd`
36976 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
36977
36978 # Do not complain, so a configure script can configure whichever
36979 # parts of a large source tree are present.
36980 test -d $srcdir/$ac_dir || continue
36981
36982 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
36983 echo "$as_me: configuring in $ac_dir" >&6;}
36984 { if $as_mkdir_p; then
36985 mkdir -p "$ac_dir"
36986 else
36987 as_dir="$ac_dir"
36988 as_dirs=
36989 while test ! -d "$as_dir"; do
36990 as_dirs="$as_dir $as_dirs"
36991 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36992 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36993 X"$as_dir" : 'X\(//\)[^/]' \| \
36994 X"$as_dir" : 'X\(//\)$' \| \
36995 X"$as_dir" : 'X\(/\)' \| \
36996 . : '\(.\)' 2>/dev/null ||
36997 echo X"$as_dir" |
36998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36999 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
37000 /^X\(\/\/\)$/{ s//\1/; q; }
37001 /^X\(\/\).*/{ s//\1/; q; }
37002 s/.*/./; q'`
37003 done
37004 test ! -n "$as_dirs" || mkdir $as_dirs
37005 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
37006 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
37007 { (exit 1); exit 1; }; }; }
37008
37009 ac_builddir=.
37010
37011 if test "$ac_dir" != .; then
37012 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
37013 # A "../" for each directory in $ac_dir_suffix.
37014 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
37015 else
37016 ac_dir_suffix= ac_top_builddir=
37017 fi
37018
37019 case $srcdir in
37020 .) # No --srcdir option. We are building in place.
37021 ac_srcdir=.
37022 if test -z "$ac_top_builddir"; then
37023 ac_top_srcdir=.
37024 else
37025 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
37026 fi ;;
37027 [\\/]* | ?:[\\/]* ) # Absolute path.
37028 ac_srcdir=$srcdir$ac_dir_suffix;
37029 ac_top_srcdir=$srcdir ;;
37030 *) # Relative path.
37031 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
37032 ac_top_srcdir=$ac_top_builddir$srcdir ;;
37033 esac
37034 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
37035 # absolute.
37036 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
37037 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
37038 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
37039 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
37040
37041
37042 cd $ac_dir
37043
37044 # Check for guested configure; otherwise get Cygnus style configure.
37045 if test -f $ac_srcdir/configure.gnu; then
37046 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
37047 elif test -f $ac_srcdir/configure; then
37048 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
37049 elif test -f $ac_srcdir/configure.in; then
37050 ac_sub_configure=$ac_configure
37051 else
37052 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
37053 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
37054 ac_sub_configure=
37055 fi
37056
37057 # The recursion is here.
37058 if test -n "$ac_sub_configure"; then
37059 # Make the cache file name correct relative to the subdirectory.
37060 case $cache_file in
37061 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
37062 *) # Relative path.
37063 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
37064 esac
37065
37066 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
37067 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
37068 # The eval makes quoting arguments work.
37069 eval $ac_sub_configure $ac_sub_configure_args \
37070 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
37071 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
37072 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
37073 { (exit 1); exit 1; }; }
37074 fi
37075
37076 cd $ac_popdir
37077 done
37078 fi
37079
37080
37081 echo
37082 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
37083 echo ""
37084 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
37085 echo " Should wxWindows be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
37086
37087 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
37088 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
37089 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
37090
37091 echo " What level of wxWindows compatibility should be enabled?"
37092 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
37093 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
37094
37095 echo " Which libraries should wxWindows use?"
37096 echo " jpeg ${wxUSE_LIBJPEG-none}"
37097 echo " png ${wxUSE_LIBPNG-none}"
37098 echo " regex ${wxUSE_REGEX}"
37099 echo " tiff ${wxUSE_LIBTIFF-none}"
37100 echo " zlib ${wxUSE_ZLIB}"
37101 echo " odbc ${wxUSE_ODBC}"
37102 echo " expat ${wxUSE_EXPAT}"
37103
37104 echo ""
37105