]> git.saurik.com Git - wxWidgets.git/blob - configure
Inital fill in background, removed tabs, -1->wxID_ANY, TRUE->true, FALSE->false
[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 wxWidgets 2.5.2.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.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='wxWidgets'
271 PACKAGE_TARNAME='wxwidgets'
272 PACKAGE_VERSION='2.5.2'
273 PACKAGE_STRING='wxWidgets 2.5.2'
274 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
275
276 ac_unique_file="wx-config.in"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
313
314 ac_subdirs_all="$ac_subdirs_all src/expat"
315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG PANGOFT2_CFLAGS PANGOFT2_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS RESCOMP DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL UNICODE BUILD DEBUG_INFO DEBUG_FLAG SHARED TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET ac_ct_AR ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOSX PLATFORM_OS2 SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MAC_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_PLUGINS_0 COND_USE_SOSYMLINKS_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_WITH_PLUGIN_SDL_1 COND_WITH_SDL_1 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN PATH_IFS WX_MAJOR_VERSION_NUMBER WX_MINOR_VERSION_NUMBER WX_RELEASE_NUMBER WX_LIBRARY_NAME_STATIC WX_LIBRARY_NAME_SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI WX_LIBRARY_IMPORTLIB WX_TARGET_LIBRARY WX_LIBRARY_LINK1 WX_LIBRARY_LINK2 PROGRAM_EXT WX_LIBRARY_NAME_STATIC_GL WX_LIBRARY_NAME_SHARED_GL WX_TARGET_LIBRARY_GL WX_LIBRARY_LINK1_GL WX_LIBRARY_LINK2_GL WX_ALL WX_ALL_INSTALLED SHARED_LD WX_TARGET_LIBRARY_TYPE STATIC_FLAG WXDEBUG_DEFINE USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLKIT_VPATH TOOLCHAIN_NAME TOOLCHAIN_DEFS TOOLCHAIN_DLL_DEFS top_builddir_wxconfig cross_compiling WXCONFIG_EXTRALIBS WXCONFIG_LIBS WXCONFIG_LIBS_GL WXCONFIG_LIBS_STATIC WXCONFIG_LIBS_STATIC_GL WXCONFIG_INCLUDE WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WX_LARGEFILE_FLAGS CODE_GEN_FLAGS CODE_GEN_FLAGS_CXX ALL_OBJECTS ALL_HEADERS ALL_SOURCES GUIDIST PORT_FILES DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL LDFLAGS_VERSIONING LDFLAGS_EXE OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES MACRESCOMP MACSETFILE MACRESWXCONFIG GCC GCC_SEARCHES_USR_LOCAL_INCLUDE DLLTOOL AS LD MAKEINFO INSTALL_LIBRARY CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
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 wxWidgets 2.5.2 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 wxWidgets 2.5.2:";;
863 esac
864 cat <<\_ACEOF
865
866 Optional Features:
867 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
868 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
869 --enable-gui use GUI classes
870 --enable-monolithic build wxWidgets as single library
871 --enable-plugins build parts of wxWidgets as loadable components
872 --enable-universal use wxWidgets GUI controls instead of native ones
873 --enable-nanox use NanoX
874 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)
875 --enable-gpe use GNOME PDA Environment features if possible
876 --enable-shared create shared library code
877 --enable-optimise create optimised code
878 --enable-debug same as debug_flag and debug_info
879 --enable-stl use STL for containers
880 --enable-omf use OMF object format
881 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
882 --enable-debug_info create code with debugging information
883 --enable-debug_gdb create code with extra GDB debugging information
884 --enable-debug_cntxt use wxDebugContext
885 --enable-mem_tracing create code with memory tracing
886 --enable-profile create code with profiling information
887 --enable-no_rtti create code without RTTI information
888 --enable-no_exceptions create code without C++ exceptions handling
889 --enable-permissive compile code disregarding strict ANSI
890 --enable-no_deps create code without dependency information
891 --enable-compat22 enable wxWidgets 2.2 compatibility
892 --disable-compat24 disable wxWidgets 2.4 compatibility
893 --enable-rpath=DIR output the rpath flag from wx-config
894 --enable-intl use internationalization system
895 --enable-config use wxConfig (and derived) classes
896 --enable-protocols use wxProtocol and derived classes
897 --enable-ftp use wxFTP (requires wxProtocol
898 --enable-http use wxHTTP (requires wxProtocol
899 --enable-fileproto use wxFileProto class (requires wxProtocol
900 --enable-sockets use socket/network classes
901 --enable-ole use OLE classes (Win32 only)
902 --enable-dataobj use data object classes
903 --enable-ipc use interprocess communication (wxSocket etc.)
904 --enable-apple_ieee use the Apple IEEE codec
905 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
906 --enable-cmdline use wxCmdLineParser class
907 --enable-datetime use wxDateTime class
908 --enable-dialupman use dialup network classes
909 --enable-dynlib use wxLibrary class for DLL loading
910 --enable-dynamicloader use (new) wxDynamicLibrary class
911 --enable-exceptions build exception-safe library
912 --enable-ffile use wxFFile class
913 --enable-file use wxFile class
914 --enable-filesystem use virtual file systems classes
915 --enable-fontmap use font encodings conversion classes
916 --enable-fs_inet use virtual HTTP/FTP filesystems
917 --enable-fs_zip use virtual ZIP filesystems
918 --enable-geometry use geometry class
919 --enable-log use logging system
920 --enable-longlong use wxLongLong class
921 --enable-mimetype use wxMimeTypesManager
922 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
923 --enable-snglinst use wxSingleInstanceChecker class
924 --enable-streams use wxStream etc classes
925 --enable-std_iostreams use standard C++ stream classes
926 --enable-stopwatch use wxStopWatch class
927 --enable-sysoptions use wxSystemOptions
928 --enable-textbuf use wxTextBuffer class
929 --enable-textfile use wxTextFile class
930 --enable-timer use wxTimer class
931 --enable-unicode compile wxString with Unicode support
932 --enable-sound use wxSound class
933 --enable-wxprintfv use wxWidgets implementation of vprintf()
934 --enable-zipstream use wxZipInputStream
935 --enable-url use wxURL class
936 --enable-protocol use wxProtocol class
937 --enable-protocol-http HTTP support in wxProtocol
938 --enable-protocol-ftp FTP support in wxProtocol
939 --enable-protocol-file FILE support in wxProtocol
940 --enable-threads use threads
941 --enable-docview use document view architecture
942 --enable-help use help subsystem
943 --enable-mshtmlhelp use MS HTML Help (win32)
944 --enable-html use wxHTML sub-library
945 --enable-htmlhelp use wxHTML-based help
946 --enable-constraints use layout-constraints system
947 --enable-printarch use printing architecture
948 --enable-mdi use multiple document interface architecture
949 --enable-mdidoc use docview architecture with MDI
950 --enable-loggui use standard GUI logger
951 --enable-logwin use wxLogWindow
952 --enable-logdialog use wxLogDialog
953 --enable-postscript use wxPostscriptDC device context (default for gtk+)
954 --enable-prologio not available; see contrib
955 --enable-resources not available; see contrib
956 --enable-clipboard use wxClipboard class
957 --enable-dnd use Drag'n'Drop classes
958 --enable-metafile use win32 metafiles
959 --enable-controls use all usual controls
960 --enable-accel use accelerators
961 --enable-button use wxButton class
962 --enable-bmpbutton use wxBitmapButton class
963 --enable-calendar use wxCalendarCtrl class
964 --enable-caret use wxCaret class
965 --enable-checkbox use wxCheckBox class
966 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
967 --enable-choice use wxChoice class
968 --enable-combobox use wxComboBox class
969 --enable-display use wxDisplay class
970 --enable-gauge use wxGauge class
971 --enable-grid use wxGrid class
972 --enable-imaglist use wxImageList class
973 --enable-listbook use wxListbook class
974 --enable-listbox use wxListBox class
975 --enable-listctrl use wxListCtrl class
976 --enable-notebook use wxNotebook class
977 --enable-radiobox use wxRadioBox class
978 --enable-radiobtn use wxRadioButton class
979 --enable-sash use wxSashWindow class
980 --enable-scrollbar use wxScrollBar class and scrollable windows
981 --enable-slider use wxSlider class
982 --enable-spinbtn use wxSpinButton class
983 --enable-spinctrl use wxSpinCtrl class
984 --enable-splitter use wxSplitterWindow class
985 --enable-statbmp use wxStaticBitmap class
986 --enable-statbox use wxStaticBox class
987 --enable-statline use wxStaticLine class
988 --enable-stattext use wxStaticText class
989 --enable-statusbar use wxStatusBar class
990 --enable-tabdialog use wxTabControl class
991 --enable-textctrl use wxTextCtrl class
992 --enable-togglebtn use wxToggleButton class
993 --enable-toolbar use wxToolBar class
994 --enable-tbarnative use native wxToolBar class
995 --enable-tbarsmpl use wxToolBarSimple class
996 --enable-treectrl use wxTreeCtrl class
997 --enable-tipwindow use wxTipWindow class
998 --enable-popupwin use wxPopUpWindow class
999 --enable-commondlg use all common dialogs
1000 --enable-choicedlg use wxChoiceDialog
1001 --enable-coldlg use wxColourDialog
1002 --enable-filedlg use wxFileDialog
1003 --enable-finddlg use wxFindReplaceDialog
1004 --enable-fontdlg use wxFontDialog
1005 --enable-dirdlg use wxDirDialog
1006 --enable-msgdlg use wxMessageDialog
1007 --enable-numberdlg use wxNumberEntryDialog
1008 --enable-splash use wxSplashScreen
1009 --enable-textdlg use wxTextDialog
1010 --enable-tipdlg use startup tips
1011 --enable-progressdlg use wxProgressDialog
1012 --enable-wizarddlg use wxWizard
1013 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1014 --enable-miniframe use wxMiniFrame class
1015 --enable-tooltips use wxToolTip class
1016 --enable-splines use spline drawing code
1017 --enable-validators use wxValidator and derived classes
1018 --enable-busyinfo use wxBusyInfo
1019 --enable-joystick use wxJoystick (Linux only)
1020 --enable-metafiles use wxMetaFile (Windows only)
1021 --enable-dragimage use wxDragImage
1022 --enable-accessibility enable accessibility support
1023 --enable-palette use wxPalette class
1024 --enable-image use wxImage class
1025 --enable-gif use gif images (GIF file format)
1026 --enable-pcx use pcx images (PCX file format)
1027 --enable-iff use iff images (IFF file format)
1028 --enable-pnm use pnm images (PNM file format)
1029 --enable-xpm use xpm images (XPM file format)
1030 --enable-icocur use Windows ICO and CUR formats
1031 --enable-official_build official build of wxWidgets (win32 DLL only)
1032 --enable-vendor=VENDOR vendor name (win32 DLL only)
1033 --disable-largefile omit support for large files
1034 --disable-gtktest do not try to compile and run a test GTK+ program
1035 --disable-gtktest Do not try to compile and run a test GTK program
1036 --disable-sdltest Do not try to compile and run a test SDL program
1037 --enable-omf use OMF object format (OS/2)
1038 --disable-precomp-headers don't use precompiled headers even if compiler can
1039
1040 Optional Packages:
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gtk use GTK+
1044 --with-motif use Motif/Lesstif
1045 --with-mac use Mac OS X
1046 --with-cocoa use Cocoa
1047 --with-wine use Wine
1048 --with-msw use MS-Windows
1049 --with-pm use OS/2 Presentation Manager
1050 --with-mgl use SciTech MGL
1051 --with-microwin use MicroWindows
1052 --with-x11 use X11
1053 --with-libpng use libpng (PNG image format)
1054 --with-libjpeg use libjpeg (JPEG file format)
1055 --with-libtiff use libtiff (TIFF file format)
1056 --with-libxpm use libxpm (XPM file format)
1057 --with-libmspack use libmspack (CHM help files loading)
1058 --with-sdl use SDL for audio on Unix
1059 --with-opengl use OpenGL (or Mesa)
1060 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1061 --with-regex enable support for wxRegEx class
1062 --with-zlib use zlib for LZW compression
1063 --with-odbc use the IODBC and wxODBC classes
1064 --with-expat enable XML support using expat parser
1065 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1066 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1067 --with-x use the X Window System
1068 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1069 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1070 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1071 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1072 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1073
1074 Some influential environment variables:
1075 CC C compiler command
1076 CFLAGS C compiler flags
1077 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1078 nonstandard directory <lib dir>
1079 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1080 headers in a nonstandard directory <include dir>
1081 CPP C preprocessor
1082 CXX C++ compiler command
1083 CXXFLAGS C++ compiler flags
1084 CXXCPP C++ preprocessor
1085
1086 Use these variables to override the choices made by `configure' or to help
1087 it to find libraries and programs with nonstandard names/locations.
1088
1089 Report bugs to <wx-dev@lists.wxwidgets.org>.
1090 _ACEOF
1091 fi
1092
1093 if test "$ac_init_help" = "recursive"; then
1094 # If there are subdirs, report their specific --help.
1095 ac_popdir=`pwd`
1096 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1097 test -d $ac_dir || continue
1098 ac_builddir=.
1099
1100 if test "$ac_dir" != .; then
1101 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1102 # A "../" for each directory in $ac_dir_suffix.
1103 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1104 else
1105 ac_dir_suffix= ac_top_builddir=
1106 fi
1107
1108 case $srcdir in
1109 .) # No --srcdir option. We are building in place.
1110 ac_srcdir=.
1111 if test -z "$ac_top_builddir"; then
1112 ac_top_srcdir=.
1113 else
1114 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1115 fi ;;
1116 [\\/]* | ?:[\\/]* ) # Absolute path.
1117 ac_srcdir=$srcdir$ac_dir_suffix;
1118 ac_top_srcdir=$srcdir ;;
1119 *) # Relative path.
1120 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1121 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1122 esac
1123 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1124 # absolute.
1125 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1126 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1127 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1128 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1129
1130 cd $ac_dir
1131 # Check for guested configure; otherwise get Cygnus style configure.
1132 if test -f $ac_srcdir/configure.gnu; then
1133 echo
1134 $SHELL $ac_srcdir/configure.gnu --help=recursive
1135 elif test -f $ac_srcdir/configure; then
1136 echo
1137 $SHELL $ac_srcdir/configure --help=recursive
1138 elif test -f $ac_srcdir/configure.ac ||
1139 test -f $ac_srcdir/configure.in; then
1140 echo
1141 $ac_configure --help
1142 else
1143 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1144 fi
1145 cd $ac_popdir
1146 done
1147 fi
1148
1149 test -n "$ac_init_help" && exit 0
1150 if $ac_init_version; then
1151 cat <<\_ACEOF
1152 wxWidgets configure 2.5.2
1153 generated by GNU Autoconf 2.57
1154
1155 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1156 Free Software Foundation, Inc.
1157 This configure script is free software; the Free Software Foundation
1158 gives unlimited permission to copy, distribute and modify it.
1159 _ACEOF
1160 exit 0
1161 fi
1162 exec 5>config.log
1163 cat >&5 <<_ACEOF
1164 This file contains any messages produced by compilers while
1165 running configure, to aid debugging if configure makes a mistake.
1166
1167 It was created by wxWidgets $as_me 2.5.2, which was
1168 generated by GNU Autoconf 2.57. Invocation command line was
1169
1170 $ $0 $@
1171
1172 _ACEOF
1173 {
1174 cat <<_ASUNAME
1175 ## --------- ##
1176 ## Platform. ##
1177 ## --------- ##
1178
1179 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1180 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1181 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1182 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1183 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1184
1185 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1186 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1187
1188 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1189 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1190 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1191 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1192 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1193 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1194 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1195
1196 _ASUNAME
1197
1198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1199 for as_dir in $PATH
1200 do
1201 IFS=$as_save_IFS
1202 test -z "$as_dir" && as_dir=.
1203 echo "PATH: $as_dir"
1204 done
1205
1206 } >&5
1207
1208 cat >&5 <<_ACEOF
1209
1210
1211 ## ----------- ##
1212 ## Core tests. ##
1213 ## ----------- ##
1214
1215 _ACEOF
1216
1217
1218 # Keep a trace of the command line.
1219 # Strip out --no-create and --no-recursion so they do not pile up.
1220 # Strip out --silent because we don't want to record it for future runs.
1221 # Also quote any args containing shell meta-characters.
1222 # Make two passes to allow for proper duplicate-argument suppression.
1223 ac_configure_args=
1224 ac_configure_args0=
1225 ac_configure_args1=
1226 ac_sep=
1227 ac_must_keep_next=false
1228 for ac_pass in 1 2
1229 do
1230 for ac_arg
1231 do
1232 case $ac_arg in
1233 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1234 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1235 | -silent | --silent | --silen | --sile | --sil)
1236 continue ;;
1237 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1238 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1239 esac
1240 case $ac_pass in
1241 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1242 2)
1243 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1244 if test $ac_must_keep_next = true; then
1245 ac_must_keep_next=false # Got value, back to normal.
1246 else
1247 case $ac_arg in
1248 *=* | --config-cache | -C | -disable-* | --disable-* \
1249 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1250 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1251 | -with-* | --with-* | -without-* | --without-* | --x)
1252 case "$ac_configure_args0 " in
1253 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1254 esac
1255 ;;
1256 -* ) ac_must_keep_next=true ;;
1257 esac
1258 fi
1259 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1260 # Get rid of the leading space.
1261 ac_sep=" "
1262 ;;
1263 esac
1264 done
1265 done
1266 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1267 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1268
1269 # When interrupted or exit'd, cleanup temporary files, and complete
1270 # config.log. We remove comments because anyway the quotes in there
1271 # would cause problems or look ugly.
1272 # WARNING: Be sure not to use single quotes in there, as some shells,
1273 # such as our DU 5.0 friend, will then `close' the trap.
1274 trap 'exit_status=$?
1275 # Save into config.log some information that might help in debugging.
1276 {
1277 echo
1278
1279 cat <<\_ASBOX
1280 ## ---------------- ##
1281 ## Cache variables. ##
1282 ## ---------------- ##
1283 _ASBOX
1284 echo
1285 # The following way of writing the cache mishandles newlines in values,
1286 {
1287 (set) 2>&1 |
1288 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1289 *ac_space=\ *)
1290 sed -n \
1291 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1293 ;;
1294 *)
1295 sed -n \
1296 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1297 ;;
1298 esac;
1299 }
1300 echo
1301
1302 cat <<\_ASBOX
1303 ## ----------------- ##
1304 ## Output variables. ##
1305 ## ----------------- ##
1306 _ASBOX
1307 echo
1308 for ac_var in $ac_subst_vars
1309 do
1310 eval ac_val=$`echo $ac_var`
1311 echo "$ac_var='"'"'$ac_val'"'"'"
1312 done | sort
1313 echo
1314
1315 if test -n "$ac_subst_files"; then
1316 cat <<\_ASBOX
1317 ## ------------- ##
1318 ## Output files. ##
1319 ## ------------- ##
1320 _ASBOX
1321 echo
1322 for ac_var in $ac_subst_files
1323 do
1324 eval ac_val=$`echo $ac_var`
1325 echo "$ac_var='"'"'$ac_val'"'"'"
1326 done | sort
1327 echo
1328 fi
1329
1330 if test -s confdefs.h; then
1331 cat <<\_ASBOX
1332 ## ----------- ##
1333 ## confdefs.h. ##
1334 ## ----------- ##
1335 _ASBOX
1336 echo
1337 sed "/^$/d" confdefs.h | sort
1338 echo
1339 fi
1340 test "$ac_signal" != 0 &&
1341 echo "$as_me: caught signal $ac_signal"
1342 echo "$as_me: exit $exit_status"
1343 } >&5
1344 rm -f core core.* *.core &&
1345 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1346 exit $exit_status
1347 ' 0
1348 for ac_signal in 1 2 13 15; do
1349 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1350 done
1351 ac_signal=0
1352
1353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1354 rm -rf conftest* confdefs.h
1355 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1356 echo >confdefs.h
1357
1358 # Predefined preprocessor variables.
1359
1360 cat >>confdefs.h <<_ACEOF
1361 #define PACKAGE_NAME "$PACKAGE_NAME"
1362 _ACEOF
1363
1364
1365 cat >>confdefs.h <<_ACEOF
1366 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1367 _ACEOF
1368
1369
1370 cat >>confdefs.h <<_ACEOF
1371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1372 _ACEOF
1373
1374
1375 cat >>confdefs.h <<_ACEOF
1376 #define PACKAGE_STRING "$PACKAGE_STRING"
1377 _ACEOF
1378
1379
1380 cat >>confdefs.h <<_ACEOF
1381 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1382 _ACEOF
1383
1384
1385 # Let the site file select an alternate cache file if it wants to.
1386 # Prefer explicitly selected file to automatically selected ones.
1387 if test -z "$CONFIG_SITE"; then
1388 if test "x$prefix" != xNONE; then
1389 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1390 else
1391 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1392 fi
1393 fi
1394 for ac_site_file in $CONFIG_SITE; do
1395 if test -r "$ac_site_file"; then
1396 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1397 echo "$as_me: loading site script $ac_site_file" >&6;}
1398 sed 's/^/| /' "$ac_site_file" >&5
1399 . "$ac_site_file"
1400 fi
1401 done
1402
1403 if test -r "$cache_file"; then
1404 # Some versions of bash will fail to source /dev/null (special
1405 # files actually), so we avoid doing that.
1406 if test -f "$cache_file"; then
1407 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1408 echo "$as_me: loading cache $cache_file" >&6;}
1409 case $cache_file in
1410 [\\/]* | ?:[\\/]* ) . $cache_file;;
1411 *) . ./$cache_file;;
1412 esac
1413 fi
1414 else
1415 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1416 echo "$as_me: creating cache $cache_file" >&6;}
1417 >$cache_file
1418 fi
1419
1420 # Check that the precious variables saved in the cache have kept the same
1421 # value.
1422 ac_cache_corrupted=false
1423 for ac_var in `(set) 2>&1 |
1424 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1425 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1426 eval ac_new_set=\$ac_env_${ac_var}_set
1427 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1428 eval ac_new_val="\$ac_env_${ac_var}_value"
1429 case $ac_old_set,$ac_new_set in
1430 set,)
1431 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1432 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1433 ac_cache_corrupted=: ;;
1434 ,set)
1435 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1436 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1437 ac_cache_corrupted=: ;;
1438 ,);;
1439 *)
1440 if test "x$ac_old_val" != "x$ac_new_val"; then
1441 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1442 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1443 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1444 echo "$as_me: former value: $ac_old_val" >&2;}
1445 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1446 echo "$as_me: current value: $ac_new_val" >&2;}
1447 ac_cache_corrupted=:
1448 fi;;
1449 esac
1450 # Pass precious variables to config.status.
1451 if test "$ac_new_set" = set; then
1452 case $ac_new_val in
1453 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1454 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1455 *) ac_arg=$ac_var=$ac_new_val ;;
1456 esac
1457 case " $ac_configure_args " in
1458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1459 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1460 esac
1461 fi
1462 done
1463 if $ac_cache_corrupted; then
1464 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1465 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1466 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1467 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1468 { (exit 1); exit 1; }; }
1469 fi
1470
1471 ac_ext=c
1472 ac_cpp='$CPP $CPPFLAGS'
1473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506 ac_aux_dir=
1507 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1508 if test -f $ac_dir/install-sh; then
1509 ac_aux_dir=$ac_dir
1510 ac_install_sh="$ac_aux_dir/install-sh -c"
1511 break
1512 elif test -f $ac_dir/install.sh; then
1513 ac_aux_dir=$ac_dir
1514 ac_install_sh="$ac_aux_dir/install.sh -c"
1515 break
1516 elif test -f $ac_dir/shtool; then
1517 ac_aux_dir=$ac_dir
1518 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 break
1520 fi
1521 done
1522 if test -z "$ac_aux_dir"; then
1523 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1524 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1525 { (exit 1); exit 1; }; }
1526 fi
1527 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1528 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1529 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1530
1531 # Make sure we can run config.sub.
1532 $ac_config_sub sun4 >/dev/null 2>&1 ||
1533 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1534 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1535 { (exit 1); exit 1; }; }
1536
1537 echo "$as_me:$LINENO: checking build system type" >&5
1538 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1539 if test "${ac_cv_build+set}" = set; then
1540 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 else
1542 ac_cv_build_alias=$build_alias
1543 test -z "$ac_cv_build_alias" &&
1544 ac_cv_build_alias=`$ac_config_guess`
1545 test -z "$ac_cv_build_alias" &&
1546 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1547 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1548 { (exit 1); exit 1; }; }
1549 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1550 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1551 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1552 { (exit 1); exit 1; }; }
1553
1554 fi
1555 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1556 echo "${ECHO_T}$ac_cv_build" >&6
1557 build=$ac_cv_build
1558 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1559 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1560 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1561
1562
1563 echo "$as_me:$LINENO: checking host system type" >&5
1564 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1565 if test "${ac_cv_host+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 else
1568 ac_cv_host_alias=$host_alias
1569 test -z "$ac_cv_host_alias" &&
1570 ac_cv_host_alias=$ac_cv_build_alias
1571 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1572 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1573 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1574 { (exit 1); exit 1; }; }
1575
1576 fi
1577 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1578 echo "${ECHO_T}$ac_cv_host" >&6
1579 host=$ac_cv_host
1580 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1583
1584
1585 echo "$as_me:$LINENO: checking target system type" >&5
1586 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1587 if test "${ac_cv_target+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1589 else
1590 ac_cv_target_alias=$target_alias
1591 test "x$ac_cv_target_alias" = "x" &&
1592 ac_cv_target_alias=$ac_cv_host_alias
1593 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1594 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1595 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1596 { (exit 1); exit 1; }; }
1597
1598 fi
1599 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1600 echo "${ECHO_T}$ac_cv_target" >&6
1601 target=$ac_cv_target
1602 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605
1606
1607 # The aliases save the names the user supplied, while $host etc.
1608 # will get canonicalized.
1609 test -n "$target_alias" &&
1610 test "$program_prefix$program_suffix$program_transform_name" = \
1611 NONENONEs,x,x, &&
1612 program_prefix=${target_alias}-
1613
1614
1615
1616 WX_MAJOR_VERSION_NUMBER=2
1617 WX_MINOR_VERSION_NUMBER=5
1618 WX_RELEASE_NUMBER=2
1619
1620 WX_VERSION=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER.$WX_RELEASE_NUMBER
1621 WX_RELEASE=$WX_MAJOR_VERSION_NUMBER.$WX_MINOR_VERSION_NUMBER
1622
1623 WX_MSW_VERSION=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1624
1625 WX_CURRENT=2
1626 WX_REVISION=0
1627 WX_AGE=0
1628
1629
1630
1631 USE_UNIX=1
1632 USE_OS2=0
1633 USE_WIN32=0
1634 USE_DOS=0
1635 USE_BEOS=0
1636 USE_MAC=0
1637
1638 USE_AIX=
1639 USE_BSD= USE_DARWIN= USE_FREEBSD=
1640 USE_GNU= USE_HPUX=
1641 USE_LINUX=
1642 USE_NETBSD=
1643 USE_OPENBSD=
1644 USE_OSF= USE_SGI=
1645 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1646 USE_ULTRIX=
1647 USE_UNIXWARE=
1648
1649 USE_ALPHA=
1650
1651 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1652
1653 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1654
1655 DEFAULT_wxUSE_COCOA=0
1656 DEFAULT_wxUSE_GTK=0
1657 DEFAULT_wxUSE_MAC=0
1658 DEFAULT_wxUSE_MGL=0
1659 DEFAULT_wxUSE_MICROWIN=0
1660 DEFAULT_wxUSE_MOTIF=0
1661 DEFAULT_wxUSE_MSW=0
1662 DEFAULT_wxUSE_PM=0
1663 DEFAULT_wxUSE_X11=0
1664
1665 DEFAULT_DEFAULT_wxUSE_COCOA=0
1666 DEFAULT_DEFAULT_wxUSE_GTK=0
1667 DEFAULT_DEFAULT_wxUSE_MAC=0
1668 DEFAULT_DEFAULT_wxUSE_MGL=0
1669 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1670 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1671 DEFAULT_DEFAULT_wxUSE_MSW=0
1672 DEFAULT_DEFAULT_wxUSE_PM=0
1673 DEFAULT_DEFAULT_wxUSE_X11=0
1674
1675 PROGRAM_EXT=
1676 SO_SUFFIX=so
1677 SAMPLES_RPATH_FLAG=
1678 SAMPLES_RPATH_POSTLINK=
1679
1680 case "${host}" in
1681 *-hp-hpux* )
1682 USE_HPUX=1
1683 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1684 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1685 SO_SUFFIX=sl
1686 cat >>confdefs.h <<\_ACEOF
1687 #define __HPUX__ 1
1688 _ACEOF
1689
1690 ;;
1691 *-*-linux* )
1692 USE_LINUX=1
1693 cat >>confdefs.h <<\_ACEOF
1694 #define __LINUX__ 1
1695 _ACEOF
1696
1697 TMP=`uname -m`
1698 if test "x$TMP" = "xalpha"; then
1699 USE_ALPHA=1
1700 cat >>confdefs.h <<\_ACEOF
1701 #define __ALPHA__ 1
1702 _ACEOF
1703
1704 fi
1705 DEFAULT_DEFAULT_wxUSE_GTK=1
1706 ;;
1707 *-*-gnu* | *-*-k*bsd*-gnu )
1708 USE_GNU=1
1709 TMP=`uname -m`
1710 if test "x$TMP" = "xalpha"; then
1711 USE_ALPHA=1
1712 cat >>confdefs.h <<\_ACEOF
1713 #define __ALPHA__ 1
1714 _ACEOF
1715
1716 fi
1717 DEFAULT_DEFAULT_wxUSE_GTK=1
1718 ;;
1719 *-*-irix5* | *-*-irix6* )
1720 USE_SGI=1
1721 USE_SVR4=1
1722 cat >>confdefs.h <<\_ACEOF
1723 #define __SGI__ 1
1724 _ACEOF
1725
1726 cat >>confdefs.h <<\_ACEOF
1727 #define __SVR4__ 1
1728 _ACEOF
1729
1730 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1731 ;;
1732 *-*-solaris2* )
1733 USE_SUN=1
1734 USE_SOLARIS=1
1735 USE_SVR4=1
1736 cat >>confdefs.h <<\_ACEOF
1737 #define __SUN__ 1
1738 _ACEOF
1739
1740 cat >>confdefs.h <<\_ACEOF
1741 #define __SOLARIS__ 1
1742 _ACEOF
1743
1744 cat >>confdefs.h <<\_ACEOF
1745 #define __SVR4__ 1
1746 _ACEOF
1747
1748 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1750 ;;
1751 *-*-sunos4* )
1752 USE_SUN=1
1753 USE_SUNOS=1
1754 USE_BSD=1
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __SUN__ 1
1757 _ACEOF
1758
1759 cat >>confdefs.h <<\_ACEOF
1760 #define __SUNOS__ 1
1761 _ACEOF
1762
1763 cat >>confdefs.h <<\_ACEOF
1764 #define __BSD__ 1
1765 _ACEOF
1766
1767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1768 ;;
1769 *-*-freebsd*)
1770 USE_BSD=1
1771 USE_FREEBSD=1
1772 cat >>confdefs.h <<\_ACEOF
1773 #define __FREEBSD__ 1
1774 _ACEOF
1775
1776 cat >>confdefs.h <<\_ACEOF
1777 #define __BSD__ 1
1778 _ACEOF
1779
1780 DEFAULT_DEFAULT_wxUSE_GTK=1
1781 ;;
1782 *-*-openbsd*)
1783 USE_BSD=1
1784 USE_OPENBSD=1
1785 cat >>confdefs.h <<\_ACEOF
1786 #define __OPENBSD__ 1
1787 _ACEOF
1788
1789 cat >>confdefs.h <<\_ACEOF
1790 #define __BSD__ 1
1791 _ACEOF
1792
1793 DEFAULT_DEFAULT_wxUSE_GTK=1
1794 ;;
1795 *-*-netbsd*)
1796 USE_BSD=1
1797 USE_NETBSD=1
1798 cat >>confdefs.h <<\_ACEOF
1799 #define __NETBSD__ 1
1800 _ACEOF
1801
1802 cat >>confdefs.h <<\_ACEOF
1803 #define __BSD__ 1
1804 _ACEOF
1805
1806 DEFAULT_DEFAULT_wxUSE_GTK=1
1807 ;;
1808 *-*-osf* )
1809 USE_ALPHA=1
1810 USE_OSF=1
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __ALPHA__ 1
1813 _ACEOF
1814
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __OSF__ 1
1817 _ACEOF
1818
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1821 ;;
1822 *-*-dgux5* )
1823 USE_ALPHA=1
1824 USE_SVR4=1
1825 cat >>confdefs.h <<\_ACEOF
1826 #define __ALPHA__ 1
1827 _ACEOF
1828
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __SVR4__ 1
1831 _ACEOF
1832
1833 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1834 ;;
1835 *-*-sysv5* )
1836 USE_SYSV=1
1837 USE_SVR4=1
1838 cat >>confdefs.h <<\_ACEOF
1839 #define __SYSV__ 1
1840 _ACEOF
1841
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __SVR4__ 1
1844 _ACEOF
1845
1846 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1847 ;;
1848 *-*-aix* )
1849 USE_AIX=1
1850 USE_SYSV=1
1851 USE_SVR4=1
1852 SO_SUFFIX=a
1853 cat >>confdefs.h <<\_ACEOF
1854 #define __AIX__ 1
1855 _ACEOF
1856
1857 cat >>confdefs.h <<\_ACEOF
1858 #define __SYSV__ 1
1859 _ACEOF
1860
1861 cat >>confdefs.h <<\_ACEOF
1862 #define __SVR4__ 1
1863 _ACEOF
1864
1865 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1866 ;;
1867
1868 *-*-*UnixWare*)
1869 USE_SYSV=1
1870 USE_SVR4=1
1871 USE_UNIXWARE=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __UNIXWARE__ 1
1874 _ACEOF
1875
1876 ;;
1877
1878 *-*-cygwin* | *-*-mingw32* )
1879 SO_SUFFIX=dll
1880 PROGRAM_EXT=".exe"
1881 RESCOMP=windres
1882 DEFAULT_DEFAULT_wxUSE_MSW=1
1883 ;;
1884
1885 *-pc-msdosdjgpp )
1886 USE_UNIX=0
1887 USE_DOS=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __DOS__ 1
1890 _ACEOF
1891
1892 PROGRAM_EXT=".exe"
1893 DEFAULT_DEFAULT_wxUSE_MGL=1
1894 LIBS="$LIBS -lstdc++"
1895 ;;
1896
1897 *-pc-os2_emx | *-pc-os2-emx )
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __EMX__ 1
1900 _ACEOF
1901
1902 USE_OS2=1
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __OS2__ 1
1905 _ACEOF
1906
1907 PROGRAM_EXT=".exe"
1908 DEFAULT_DEFAULT_wxUSE_PM=1
1909 CXX=gcc
1910 LDFLAGS="$LDFLAGS -Zcrtdll"
1911 ac_executable_extensions=".exe"
1912 export ac_executable_extensions
1913 ac_save_IFS="$IFS"
1914 IFS='\\'
1915 ac_TEMP_PATH=
1916 for ac_dir in $PATH; do
1917 IFS=$ac_save_IFS
1918 if test -z "$ac_TEMP_PATH"; then
1919 ac_TEMP_PATH="$ac_dir"
1920 else
1921 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1922 fi
1923 done
1924 export PATH="$ac_TEMP_PATH"
1925 unset ac_TEMP_PATH
1926 ;;
1927
1928 powerpc-*-darwin* )
1929 USE_BSD=1
1930 USE_DARWIN=1
1931 SO_SUFFIX=dylib
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __BSD__ 1
1934 _ACEOF
1935
1936 cat >>confdefs.h <<\_ACEOF
1937 #define __DARWIN__ 1
1938 _ACEOF
1939
1940 cat >>confdefs.h <<\_ACEOF
1941 #define __POWERPC__ 1
1942 _ACEOF
1943
1944 cat >>confdefs.h <<\_ACEOF
1945 #define TARGET_CARBON 1
1946 _ACEOF
1947
1948 DEFAULT_DEFAULT_wxUSE_MAC=1
1949 ;;
1950
1951 *-*-beos* )
1952 USE_BEOS=1
1953 cat >>confdefs.h <<\_ACEOF
1954 #define __BEOS__ 1
1955 _ACEOF
1956
1957 ;;
1958
1959 *)
1960 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
1961 echo "$as_me: error: unknown system type ${host}." >&2;}
1962 { (exit 1); exit 1; }; }
1963 esac
1964
1965
1966
1967
1968 wx_arg_cache_file="configarg.cache"
1969 echo "loading argument cache $wx_arg_cache_file"
1970 rm -f ${wx_arg_cache_file}.tmp
1971 touch ${wx_arg_cache_file}.tmp
1972 touch ${wx_arg_cache_file}
1973
1974
1975 DEBUG_CONFIGURE=0
1976 if test $DEBUG_CONFIGURE = 1; then
1977 DEFAULT_wxUSE_UNIVERSAL=no
1978 DEFAULT_wxUSE_STL=no
1979
1980 DEFAULT_wxUSE_NANOX=no
1981
1982 DEFAULT_wxUSE_THREADS=yes
1983
1984 DEFAULT_wxUSE_SHARED=yes
1985 DEFAULT_wxUSE_OPTIMISE=no
1986 DEFAULT_wxUSE_PROFILE=no
1987 DEFAULT_wxUSE_NO_DEPS=no
1988 DEFAULT_wxUSE_NO_RTTI=no
1989 DEFAULT_wxUSE_NO_EXCEPTIONS=no
1990 DEFAULT_wxUSE_PERMISSIVE=no
1991 DEFAULT_wxUSE_DEBUG_FLAG=yes
1992 DEFAULT_wxUSE_DEBUG_INFO=yes
1993 DEFAULT_wxUSE_DEBUG_GDB=yes
1994 DEFAULT_wxUSE_MEM_TRACING=no
1995 DEFAULT_wxUSE_DEBUG_CONTEXT=no
1996 DEFAULT_wxUSE_DMALLOC=no
1997 DEFAULT_wxUSE_APPLE_IEEE=no
1998
1999 DEFAULT_wxUSE_EXCEPTIONS=no
2000 DEFAULT_wxUSE_LOG=yes
2001 DEFAULT_wxUSE_LOGWINDOW=no
2002 DEFAULT_wxUSE_LOGGUI=no
2003 DEFAULT_wxUSE_LOGDIALOG=no
2004
2005 DEFAULT_wxUSE_GUI=yes
2006 DEFAULT_wxUSE_CONTROLS=no
2007
2008 DEFAULT_wxUSE_REGEX=no
2009 DEFAULT_wxUSE_XML=no
2010 DEFAULT_wxUSE_EXPAT=no
2011 DEFAULT_wxUSE_ZLIB=no
2012 DEFAULT_wxUSE_LIBPNG=no
2013 DEFAULT_wxUSE_LIBJPEG=no
2014 DEFAULT_wxUSE_LIBTIFF=no
2015 DEFAULT_wxUSE_LIBXPM=no
2016 DEFAULT_wxUSE_LIBMSPACK=no
2017 DEFAULT_wxUSE_LIBSDL=no
2018 DEFAULT_wxUSE_ODBC=no
2019 DEFAULT_wxUSE_OPENGL=no
2020
2021 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2022 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2023 DEFAULT_wxUSE_STD_IOSTREAM=no
2024 DEFAULT_wxUSE_CMDLINE_PARSER=no
2025 DEFAULT_wxUSE_DATETIME=no
2026 DEFAULT_wxUSE_TIMER=no
2027 DEFAULT_wxUSE_STOPWATCH=no
2028 DEFAULT_wxUSE_FILE=no
2029 DEFAULT_wxUSE_FFILE=no
2030 DEFAULT_wxUSE_TEXTBUFFER=no
2031 DEFAULT_wxUSE_TEXTFILE=no
2032 DEFAULT_wxUSE_SOUND=no
2033 DEFAULT_wxUSE_INTL=no
2034 DEFAULT_wxUSE_CONFIG=no
2035 DEFAULT_wxUSE_FONTMAP=no
2036 DEFAULT_wxUSE_STREAMS=no
2037 DEFAULT_wxUSE_SOCKETS=no
2038 DEFAULT_wxUSE_OLE=no
2039 DEFAULT_wxUSE_DATAOBJ=no
2040 DEFAULT_wxUSE_DIALUP_MANAGER=no
2041 DEFAULT_wxUSE_JOYSTICK=no
2042 DEFAULT_wxUSE_DYNLIB_CLASS=no
2043 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2044 DEFAULT_wxUSE_LONGLONG=no
2045 DEFAULT_wxUSE_GEOMETRY=no
2046
2047 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2048 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2049 DEFAULT_wxUSE_POSTSCRIPT=no
2050
2051 DEFAULT_wxUSE_CLIPBOARD=no
2052 DEFAULT_wxUSE_TOOLTIPS=no
2053 DEFAULT_wxUSE_DRAG_AND_DROP=no
2054 DEFAULT_wxUSE_DRAGIMAGE=no
2055 DEFAULT_wxUSE_SPLINES=no
2056
2057 DEFAULT_wxUSE_MDI=no
2058 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2059 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2060 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2061
2062 DEFAULT_wxUSE_RESOURCES=no
2063 DEFAULT_wxUSE_CONSTRAINTS=no
2064 DEFAULT_wxUSE_IPC=no
2065 DEFAULT_wxUSE_HELP=no
2066 DEFAULT_wxUSE_MS_HTML_HELP=no
2067 DEFAULT_wxUSE_WXHTML_HELP=no
2068 DEFAULT_wxUSE_TREELAYOUT=no
2069 DEFAULT_wxUSE_METAFILE=no
2070 DEFAULT_wxUSE_MIMETYPE=no
2071 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2072 DEFAULT_wxUSE_PROTOCOL=no
2073 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2074 DEFAULT_wxUSE_PROTOCOL_FTP=no
2075 DEFAULT_wxUSE_PROTOCOL_FILE=no
2076 DEFAULT_wxUSE_URL=no
2077
2078 DEFAULT_wxUSE_COMMONDLGS=no
2079 DEFAULT_wxUSE_CHOICEDLG=no
2080 DEFAULT_wxUSE_COLOURDLG=no
2081 DEFAULT_wxUSE_DIRDLG=no
2082 DEFAULT_wxUSE_FILEDLG=no
2083 DEFAULT_wxUSE_FINDREPLDLG=no
2084 DEFAULT_wxUSE_FONTDLG=no
2085 DEFAULT_wxUSE_MSGDLG=no
2086 DEFAULT_wxUSE_NUMBERDLG=no
2087 DEFAULT_wxUSE_TEXTDLG=no
2088 DEFAULT_wxUSE_SPLASH=no
2089 DEFAULT_wxUSE_STARTUP_TIPS=no
2090 DEFAULT_wxUSE_PROGRESSDLG=no
2091 DEFAULT_wxUSE_WIZARDDLG=no
2092
2093 DEFAULT_wxUSE_MENUS=no
2094 DEFAULT_wxUSE_MINIFRAME=no
2095 DEFAULT_wxUSE_HTML=no
2096 DEFAULT_wxUSE_FILESYSTEM=no
2097 DEFAULT_wxUSE_FS_INET=no
2098 DEFAULT_wxUSE_FS_ZIP=no
2099 DEFAULT_wxUSE_BUSYINFO=no
2100 DEFAULT_wxUSE_ZIPSTREAM=no
2101 DEFAULT_wxUSE_VALIDATORS=no
2102
2103 DEFAULT_wxUSE_ACCEL=no
2104 DEFAULT_wxUSE_BUTTON=no
2105 DEFAULT_wxUSE_BMPBUTTON=no
2106 DEFAULT_wxUSE_CALCTRL=no
2107 DEFAULT_wxUSE_CARET=no
2108 DEFAULT_wxUSE_CHECKBOX=no
2109 DEFAULT_wxUSE_CHECKLST=no
2110 DEFAULT_wxUSE_CHOICE=no
2111 DEFAULT_wxUSE_COMBOBOX=no
2112 DEFAULT_wxUSE_DISPLAY=no
2113 DEFAULT_wxUSE_GAUGE=no
2114 DEFAULT_wxUSE_GRID=no
2115 DEFAULT_wxUSE_IMAGLIST=no
2116 DEFAULT_wxUSE_LISTBOOK=no
2117 DEFAULT_wxUSE_LISTBOX=no
2118 DEFAULT_wxUSE_LISTCTRL=no
2119 DEFAULT_wxUSE_NOTEBOOK=no
2120 DEFAULT_wxUSE_RADIOBOX=no
2121 DEFAULT_wxUSE_RADIOBTN=no
2122 DEFAULT_wxUSE_SASH=no
2123 DEFAULT_wxUSE_SCROLLBAR=no
2124 DEFAULT_wxUSE_SLIDER=no
2125 DEFAULT_wxUSE_SPINBTN=no
2126 DEFAULT_wxUSE_SPINCTRL=no
2127 DEFAULT_wxUSE_SPLITTER=no
2128 DEFAULT_wxUSE_STATBMP=no
2129 DEFAULT_wxUSE_STATBOX=no
2130 DEFAULT_wxUSE_STATLINE=no
2131 DEFAULT_wxUSE_STATTEXT=no
2132 DEFAULT_wxUSE_STATUSBAR=yes
2133 DEFAULT_wxUSE_TABDIALOG=no
2134 DEFAULT_wxUSE_TEXTCTRL=no
2135 DEFAULT_wxUSE_TOGGLEBTN=no
2136 DEFAULT_wxUSE_TOOLBAR=no
2137 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2138 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2139 DEFAULT_wxUSE_TREECTRL=no
2140 DEFAULT_wxUSE_POPUPWIN=no
2141 DEFAULT_wxUSE_TIPWINDOW=no
2142
2143 DEFAULT_wxUSE_UNICODE=no
2144 DEFAULT_wxUSE_UNICODE_MSLU=no
2145 DEFAULT_wxUSE_WCSRTOMBS=no
2146
2147 DEFAULT_wxUSE_PALETTE=no
2148 DEFAULT_wxUSE_IMAGE=no
2149 DEFAULT_wxUSE_GIF=no
2150 DEFAULT_wxUSE_PCX=no
2151 DEFAULT_wxUSE_PNM=no
2152 DEFAULT_wxUSE_IFF=no
2153 DEFAULT_wxUSE_XPM=no
2154 DEFAULT_wxUSE_ICO_CUR=no
2155 DEFAULT_wxUSE_ACCESSIBILITY=no
2156
2157 DEFAULT_wxUSE_MONOLITHIC=no
2158 DEFAULT_wxUSE_PLUGINS=no
2159 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2160 else
2161 DEFAULT_wxUSE_UNIVERSAL=no
2162 DEFAULT_wxUSE_STL=no
2163
2164 DEFAULT_wxUSE_NANOX=no
2165
2166 DEFAULT_wxUSE_THREADS=yes
2167
2168 DEFAULT_wxUSE_SHARED=yes
2169 DEFAULT_wxUSE_OPTIMISE=yes
2170 DEFAULT_wxUSE_PROFILE=no
2171 DEFAULT_wxUSE_NO_DEPS=no
2172 DEFAULT_wxUSE_NO_RTTI=no
2173 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2174 DEFAULT_wxUSE_PERMISSIVE=no
2175 DEFAULT_wxUSE_DEBUG_FLAG=no
2176 DEFAULT_wxUSE_DEBUG_INFO=no
2177 DEFAULT_wxUSE_DEBUG_GDB=no
2178 DEFAULT_wxUSE_MEM_TRACING=no
2179 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2180 DEFAULT_wxUSE_DMALLOC=no
2181 DEFAULT_wxUSE_APPLE_IEEE=yes
2182
2183 DEFAULT_wxUSE_EXCEPTIONS=yes
2184 DEFAULT_wxUSE_LOG=yes
2185 DEFAULT_wxUSE_LOGWINDOW=yes
2186 DEFAULT_wxUSE_LOGGUI=yes
2187 DEFAULT_wxUSE_LOGDIALOG=yes
2188
2189 DEFAULT_wxUSE_GUI=yes
2190
2191 DEFAULT_wxUSE_REGEX=yes
2192 DEFAULT_wxUSE_XML=yes
2193 DEFAULT_wxUSE_EXPAT=yes
2194 DEFAULT_wxUSE_ZLIB=yes
2195 DEFAULT_wxUSE_LIBPNG=yes
2196 DEFAULT_wxUSE_LIBJPEG=yes
2197 DEFAULT_wxUSE_LIBTIFF=yes
2198 DEFAULT_wxUSE_LIBXPM=yes
2199 DEFAULT_wxUSE_LIBMSPACK=yes
2200 DEFAULT_wxUSE_LIBSDL=no
2201 DEFAULT_wxUSE_ODBC=no
2202 DEFAULT_wxUSE_OPENGL=no
2203
2204 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2205 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2206 DEFAULT_wxUSE_STD_IOSTREAM=no
2207 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2208 DEFAULT_wxUSE_DATETIME=yes
2209 DEFAULT_wxUSE_TIMER=yes
2210 DEFAULT_wxUSE_STOPWATCH=yes
2211 DEFAULT_wxUSE_FILE=yes
2212 DEFAULT_wxUSE_FFILE=yes
2213 DEFAULT_wxUSE_TEXTBUFFER=yes
2214 DEFAULT_wxUSE_TEXTFILE=yes
2215 DEFAULT_wxUSE_SOUND=yes
2216 DEFAULT_wxUSE_INTL=yes
2217 DEFAULT_wxUSE_CONFIG=yes
2218 DEFAULT_wxUSE_FONTMAP=yes
2219 DEFAULT_wxUSE_STREAMS=yes
2220 DEFAULT_wxUSE_SOCKETS=yes
2221 DEFAULT_wxUSE_OLE=yes
2222 DEFAULT_wxUSE_DATAOBJ=yes
2223 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2224 DEFAULT_wxUSE_JOYSTICK=yes
2225 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2226 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2227 DEFAULT_wxUSE_LONGLONG=yes
2228 DEFAULT_wxUSE_GEOMETRY=yes
2229
2230 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2231 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2232 DEFAULT_wxUSE_POSTSCRIPT=yes
2233
2234 DEFAULT_wxUSE_CLIPBOARD=yes
2235 DEFAULT_wxUSE_TOOLTIPS=yes
2236 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2237 DEFAULT_wxUSE_DRAGIMAGE=yes
2238 DEFAULT_wxUSE_SPLINES=yes
2239
2240 DEFAULT_wxUSE_MDI=yes
2241 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2242 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2243 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2244
2245 DEFAULT_wxUSE_RESOURCES=no
2246 DEFAULT_wxUSE_CONSTRAINTS=yes
2247 DEFAULT_wxUSE_IPC=yes
2248 DEFAULT_wxUSE_HELP=yes
2249 DEFAULT_wxUSE_MS_HTML_HELP=yes
2250 DEFAULT_wxUSE_WXHTML_HELP=yes
2251 DEFAULT_wxUSE_TREELAYOUT=yes
2252 DEFAULT_wxUSE_METAFILE=yes
2253 DEFAULT_wxUSE_MIMETYPE=yes
2254 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2255 DEFAULT_wxUSE_PROTOCOL=yes
2256 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2257 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2258 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2259 DEFAULT_wxUSE_URL=yes
2260
2261 DEFAULT_wxUSE_COMMONDLGS=yes
2262 DEFAULT_wxUSE_CHOICEDLG=yes
2263 DEFAULT_wxUSE_COLOURDLG=yes
2264 DEFAULT_wxUSE_DIRDLG=yes
2265 DEFAULT_wxUSE_FILEDLG=yes
2266 DEFAULT_wxUSE_FINDREPLDLG=yes
2267 DEFAULT_wxUSE_FONTDLG=yes
2268 DEFAULT_wxUSE_MSGDLG=yes
2269 DEFAULT_wxUSE_NUMBERDLG=yes
2270 DEFAULT_wxUSE_TEXTDLG=yes
2271 DEFAULT_wxUSE_SPLASH=yes
2272 DEFAULT_wxUSE_STARTUP_TIPS=yes
2273 DEFAULT_wxUSE_PROGRESSDLG=yes
2274 DEFAULT_wxUSE_WIZARDDLG=yes
2275
2276 DEFAULT_wxUSE_MENUS=yes
2277 DEFAULT_wxUSE_MINIFRAME=yes
2278 DEFAULT_wxUSE_HTML=yes
2279 DEFAULT_wxUSE_FILESYSTEM=yes
2280 DEFAULT_wxUSE_FS_INET=yes
2281 DEFAULT_wxUSE_FS_ZIP=yes
2282 DEFAULT_wxUSE_BUSYINFO=yes
2283 DEFAULT_wxUSE_ZIPSTREAM=yes
2284 DEFAULT_wxUSE_VALIDATORS=yes
2285
2286 DEFAULT_wxUSE_ACCEL=yes
2287 DEFAULT_wxUSE_BUTTON=yes
2288 DEFAULT_wxUSE_BMPBUTTON=yes
2289 DEFAULT_wxUSE_CALCTRL=yes
2290 DEFAULT_wxUSE_CARET=yes
2291 DEFAULT_wxUSE_CHECKBOX=yes
2292 DEFAULT_wxUSE_CHECKLST=yes
2293 DEFAULT_wxUSE_CHOICE=yes
2294 DEFAULT_wxUSE_COMBOBOX=yes
2295 DEFAULT_wxUSE_DISPLAY=yes
2296 DEFAULT_wxUSE_GAUGE=yes
2297 DEFAULT_wxUSE_GRID=yes
2298 DEFAULT_wxUSE_IMAGLIST=yes
2299 DEFAULT_wxUSE_LISTBOOK=yes
2300 DEFAULT_wxUSE_LISTBOX=yes
2301 DEFAULT_wxUSE_LISTCTRL=yes
2302 DEFAULT_wxUSE_NOTEBOOK=yes
2303 DEFAULT_wxUSE_RADIOBOX=yes
2304 DEFAULT_wxUSE_RADIOBTN=yes
2305 DEFAULT_wxUSE_SASH=yes
2306 DEFAULT_wxUSE_SCROLLBAR=yes
2307 DEFAULT_wxUSE_SLIDER=yes
2308 DEFAULT_wxUSE_SPINBTN=yes
2309 DEFAULT_wxUSE_SPINCTRL=yes
2310 DEFAULT_wxUSE_SPLITTER=yes
2311 DEFAULT_wxUSE_STATBMP=yes
2312 DEFAULT_wxUSE_STATBOX=yes
2313 DEFAULT_wxUSE_STATLINE=yes
2314 DEFAULT_wxUSE_STATTEXT=yes
2315 DEFAULT_wxUSE_STATUSBAR=yes
2316 DEFAULT_wxUSE_TABDIALOG=no
2317 DEFAULT_wxUSE_TEXTCTRL=yes
2318 DEFAULT_wxUSE_TOGGLEBTN=yes
2319 DEFAULT_wxUSE_TOOLBAR=yes
2320 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2321 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2322 DEFAULT_wxUSE_TREECTRL=yes
2323 DEFAULT_wxUSE_POPUPWIN=yes
2324 DEFAULT_wxUSE_TIPWINDOW=yes
2325
2326 DEFAULT_wxUSE_UNICODE=no
2327 DEFAULT_wxUSE_UNICODE_MSLU=yes
2328 DEFAULT_wxUSE_WCSRTOMBS=no
2329
2330 DEFAULT_wxUSE_PALETTE=yes
2331 DEFAULT_wxUSE_IMAGE=yes
2332 DEFAULT_wxUSE_GIF=yes
2333 DEFAULT_wxUSE_PCX=yes
2334 DEFAULT_wxUSE_IFF=no
2335 DEFAULT_wxUSE_PNM=yes
2336 DEFAULT_wxUSE_XPM=yes
2337 DEFAULT_wxUSE_ICO_CUR=yes
2338 DEFAULT_wxUSE_ACCESSIBILITY=no
2339
2340 DEFAULT_wxUSE_MONOLITHIC=no
2341 DEFAULT_wxUSE_PLUGINS=no
2342 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2343 fi
2344
2345
2346
2347 for toolkit in `echo $ALL_TOOLKITS`; do
2348 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2349 if test "x$LINE" != "x" ; then
2350 has_toolkit_in_cache=1
2351 eval "DEFAULT_$LINE"
2352 eval "CACHE_$toolkit=1"
2353 fi
2354 done
2355
2356
2357
2358 enablestring=
2359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2360 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2361 no_cache=0
2362 # Check whether --enable-gui or --disable-gui was given.
2363 if test "${enable_gui+set}" = set; then
2364 enableval="$enable_gui"
2365
2366 if test "$enableval" = yes; then
2367 ac_cv_use_gui='wxUSE_GUI=yes'
2368 else
2369 ac_cv_use_gui='wxUSE_GUI=no'
2370 fi
2371
2372 else
2373
2374 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2375 if test "x$LINE" != x ; then
2376 eval "DEFAULT_$LINE"
2377 else
2378 no_cache=1
2379 fi
2380
2381 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2382
2383 fi;
2384
2385 eval "$ac_cv_use_gui"
2386 if test "$no_cache" != 1; then
2387 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2388 fi
2389
2390 if test "$wxUSE_GUI" = yes; then
2391 echo "$as_me:$LINENO: result: yes" >&5
2392 echo "${ECHO_T}yes" >&6
2393 else
2394 echo "$as_me:$LINENO: result: no" >&5
2395 echo "${ECHO_T}no" >&6
2396 fi
2397
2398
2399 enablestring=
2400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2401 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2402 no_cache=0
2403 # Check whether --enable-monolithic or --disable-monolithic was given.
2404 if test "${enable_monolithic+set}" = set; then
2405 enableval="$enable_monolithic"
2406
2407 if test "$enableval" = yes; then
2408 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2409 else
2410 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2411 fi
2412
2413 else
2414
2415 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x ; then
2417 eval "DEFAULT_$LINE"
2418 else
2419 no_cache=1
2420 fi
2421
2422 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2423
2424 fi;
2425
2426 eval "$ac_cv_use_monolithic"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2429 fi
2430
2431 if test "$wxUSE_MONOLITHIC" = yes; then
2432 echo "$as_me:$LINENO: result: yes" >&5
2433 echo "${ECHO_T}yes" >&6
2434 else
2435 echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6
2437 fi
2438
2439
2440 enablestring=
2441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2442 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2443 no_cache=0
2444 # Check whether --enable-plugins or --disable-plugins was given.
2445 if test "${enable_plugins+set}" = set; then
2446 enableval="$enable_plugins"
2447
2448 if test "$enableval" = yes; then
2449 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2450 else
2451 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2452 fi
2453
2454 else
2455
2456 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2457 if test "x$LINE" != x ; then
2458 eval "DEFAULT_$LINE"
2459 else
2460 no_cache=1
2461 fi
2462
2463 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2464
2465 fi;
2466
2467 eval "$ac_cv_use_plugins"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2470 fi
2471
2472 if test "$wxUSE_PLUGINS" = yes; then
2473 echo "$as_me:$LINENO: result: yes" >&5
2474 echo "${ECHO_T}yes" >&6
2475 else
2476 echo "$as_me:$LINENO: result: no" >&5
2477 echo "${ECHO_T}no" >&6
2478 fi
2479
2480
2481 if test "$wxUSE_GUI" = "yes"; then
2482
2483
2484 enablestring=
2485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2486 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2487 no_cache=0
2488 # Check whether --enable-universal or --disable-universal was given.
2489 if test "${enable_universal+set}" = set; then
2490 enableval="$enable_universal"
2491
2492 if test "$enableval" = yes; then
2493 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2494 else
2495 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2496 fi
2497
2498 else
2499
2500 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x ; then
2502 eval "DEFAULT_$LINE"
2503 else
2504 no_cache=1
2505 fi
2506
2507 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2508
2509 fi;
2510
2511 eval "$ac_cv_use_universal"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2514 fi
2515
2516 if test "$wxUSE_UNIVERSAL" = yes; then
2517 echo "$as_me:$LINENO: result: yes" >&5
2518 echo "${ECHO_T}yes" >&6
2519 else
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2522 fi
2523
2524
2525 # Check whether --with-gtk or --without-gtk was given.
2526 if test "${with_gtk+set}" = set; then
2527 withval="$with_gtk"
2528 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2529 fi;
2530
2531 # Check whether --with-motif or --without-motif was given.
2532 if test "${with_motif+set}" = set; then
2533 withval="$with_motif"
2534 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2535 fi;
2536
2537 # Check whether --with-mac or --without-mac was given.
2538 if test "${with_mac+set}" = set; then
2539 withval="$with_mac"
2540 wxUSE_MAC="$withval" TOOLKIT_GIVEN=1
2541 fi;
2542
2543 # Check whether --with-cocoa or --without-cocoa was given.
2544 if test "${with_cocoa+set}" = set; then
2545 withval="$with_cocoa"
2546 wxUSE_COCOA="$withval" TOOLKIT_GIVEN=1
2547 fi;
2548
2549 # Check whether --with-wine or --without-wine was given.
2550 if test "${with_wine+set}" = set; then
2551 withval="$with_wine"
2552 wxUSE_WINE="$withval" CACHE_WINE=1
2553 fi;
2554
2555 # Check whether --with-msw or --without-msw was given.
2556 if test "${with_msw+set}" = set; then
2557 withval="$with_msw"
2558 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2559 fi;
2560
2561 # Check whether --with-pm or --without-pm was given.
2562 if test "${with_pm+set}" = set; then
2563 withval="$with_pm"
2564 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2565 fi;
2566
2567 # Check whether --with-mgl or --without-mgl was given.
2568 if test "${with_mgl+set}" = set; then
2569 withval="$with_mgl"
2570 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2571 fi;
2572
2573 # Check whether --with-microwin or --without-microwin was given.
2574 if test "${with_microwin+set}" = set; then
2575 withval="$with_microwin"
2576 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2577 fi;
2578
2579 # Check whether --with-x11 or --without-x11 was given.
2580 if test "${with_x11+set}" = set; then
2581 withval="$with_x11"
2582 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2583 fi;
2584
2585 enablestring=
2586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2587 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2588 no_cache=0
2589 # Check whether --enable-nanox or --disable-nanox was given.
2590 if test "${enable_nanox+set}" = set; then
2591 enableval="$enable_nanox"
2592
2593 if test "$enableval" = yes; then
2594 ac_cv_use_nanox='wxUSE_NANOX=yes'
2595 else
2596 ac_cv_use_nanox='wxUSE_NANOX=no'
2597 fi
2598
2599 else
2600
2601 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2602 if test "x$LINE" != x ; then
2603 eval "DEFAULT_$LINE"
2604 else
2605 no_cache=1
2606 fi
2607
2608 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2609
2610 fi;
2611
2612 eval "$ac_cv_use_nanox"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2615 fi
2616
2617 if test "$wxUSE_NANOX" = yes; then
2618 echo "$as_me:$LINENO: result: yes" >&5
2619 echo "${ECHO_T}yes" >&6
2620 else
2621 echo "$as_me:$LINENO: result: no" >&5
2622 echo "${ECHO_T}no" >&6
2623 fi
2624
2625
2626
2627 enablestring=
2628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gtk2" >&5
2629 echo $ECHO_N "checking for --${enablestring:-enable}-gtk2... $ECHO_C" >&6
2630 no_cache=0
2631 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2632 if test "${enable_gtk2+set}" = set; then
2633 enableval="$enable_gtk2"
2634
2635 if test "$enableval" = yes; then
2636 ac_cv_use_gtk2='wxUSE_GTK2=yes'
2637 else
2638 ac_cv_use_gtk2='wxUSE_GTK2=no'
2639 fi
2640
2641 else
2642
2643 LINE=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x ; then
2645 eval "DEFAULT_$LINE"
2646 else
2647 no_cache=1
2648 fi
2649
2650 ac_cv_use_gtk2='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
2651
2652 fi;
2653
2654 eval "$ac_cv_use_gtk2"
2655 if test "$no_cache" != 1; then
2656 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
2657 fi
2658
2659 if test "$wxUSE_GTK2" = yes; then
2660 echo "$as_me:$LINENO: result: yes" >&5
2661 echo "${ECHO_T}yes" >&6
2662 else
2663 echo "$as_me:$LINENO: result: no" >&5
2664 echo "${ECHO_T}no" >&6
2665 fi
2666
2667
2668 enablestring=
2669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2670 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2671 no_cache=0
2672 # Check whether --enable-gpe or --disable-gpe was given.
2673 if test "${enable_gpe+set}" = set; then
2674 enableval="$enable_gpe"
2675
2676 if test "$enableval" = yes; then
2677 ac_cv_use_gpe='wxUSE_GPE=yes'
2678 else
2679 ac_cv_use_gpe='wxUSE_GPE=no'
2680 fi
2681
2682 else
2683
2684 LINE=`grep "wxUSE_GPE" ${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_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2692
2693 fi;
2694
2695 eval "$ac_cv_use_gpe"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2698 fi
2699
2700 if test "$wxUSE_GPE" = yes; then
2701 echo "$as_me:$LINENO: result: yes" >&5
2702 echo "${ECHO_T}yes" >&6
2703 else
2704 echo "$as_me:$LINENO: result: no" >&5
2705 echo "${ECHO_T}no" >&6
2706 fi
2707
2708
2709
2710 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2711 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2712 no_cache=0
2713
2714 # Check whether --with-libpng or --without-libpng was given.
2715 if test "${with_libpng+set}" = set; then
2716 withval="$with_libpng"
2717
2718 if test "$withval" = yes; then
2719 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2720 elif test "$withval" = no; then
2721 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2722 elif test "$withval" = sys; then
2723 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2724 elif test "$withval" = builtin; then
2725 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2726 else
2727 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2728 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2729 { (exit 1); exit 1; }; }
2730 fi
2731
2732 else
2733
2734 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2735 if test "x$LINE" != x ; then
2736 eval "DEFAULT_$LINE"
2737 else
2738 no_cache=1
2739 fi
2740
2741 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2742
2743 fi;
2744
2745 eval "$ac_cv_use_libpng"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2748 fi
2749
2750 if test "$wxUSE_LIBPNG" = yes; then
2751 echo "$as_me:$LINENO: result: yes" >&5
2752 echo "${ECHO_T}yes" >&6
2753 elif test "$wxUSE_LIBPNG" = no; then
2754 echo "$as_me:$LINENO: result: no" >&5
2755 echo "${ECHO_T}no" >&6
2756 elif test "$wxUSE_LIBPNG" = sys; then
2757 echo "$as_me:$LINENO: result: system version" >&5
2758 echo "${ECHO_T}system version" >&6
2759 elif test "$wxUSE_LIBPNG" = builtin; then
2760 echo "$as_me:$LINENO: result: builtin version" >&5
2761 echo "${ECHO_T}builtin version" >&6
2762 else
2763 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2764 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2765 { (exit 1); exit 1; }; }
2766 fi
2767
2768
2769 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2770 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2771 no_cache=0
2772
2773 # Check whether --with-libjpeg or --without-libjpeg was given.
2774 if test "${with_libjpeg+set}" = set; then
2775 withval="$with_libjpeg"
2776
2777 if test "$withval" = yes; then
2778 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2779 elif test "$withval" = no; then
2780 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2781 elif test "$withval" = sys; then
2782 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2783 elif test "$withval" = builtin; then
2784 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2785 else
2786 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2787 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2788 { (exit 1); exit 1; }; }
2789 fi
2790
2791 else
2792
2793 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x ; then
2795 eval "DEFAULT_$LINE"
2796 else
2797 no_cache=1
2798 fi
2799
2800 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2801
2802 fi;
2803
2804 eval "$ac_cv_use_libjpeg"
2805 if test "$no_cache" != 1; then
2806 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2807 fi
2808
2809 if test "$wxUSE_LIBJPEG" = yes; then
2810 echo "$as_me:$LINENO: result: yes" >&5
2811 echo "${ECHO_T}yes" >&6
2812 elif test "$wxUSE_LIBJPEG" = no; then
2813 echo "$as_me:$LINENO: result: no" >&5
2814 echo "${ECHO_T}no" >&6
2815 elif test "$wxUSE_LIBJPEG" = sys; then
2816 echo "$as_me:$LINENO: result: system version" >&5
2817 echo "${ECHO_T}system version" >&6
2818 elif test "$wxUSE_LIBJPEG" = builtin; then
2819 echo "$as_me:$LINENO: result: builtin version" >&5
2820 echo "${ECHO_T}builtin version" >&6
2821 else
2822 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2823 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2824 { (exit 1); exit 1; }; }
2825 fi
2826
2827
2828 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2829 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2830 no_cache=0
2831
2832 # Check whether --with-libtiff or --without-libtiff was given.
2833 if test "${with_libtiff+set}" = set; then
2834 withval="$with_libtiff"
2835
2836 if test "$withval" = yes; then
2837 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2838 elif test "$withval" = no; then
2839 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2840 elif test "$withval" = sys; then
2841 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2842 elif test "$withval" = builtin; then
2843 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2844 else
2845 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2846 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2847 { (exit 1); exit 1; }; }
2848 fi
2849
2850 else
2851
2852 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x ; then
2854 eval "DEFAULT_$LINE"
2855 else
2856 no_cache=1
2857 fi
2858
2859 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2860
2861 fi;
2862
2863 eval "$ac_cv_use_libtiff"
2864 if test "$no_cache" != 1; then
2865 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2866 fi
2867
2868 if test "$wxUSE_LIBTIFF" = yes; then
2869 echo "$as_me:$LINENO: result: yes" >&5
2870 echo "${ECHO_T}yes" >&6
2871 elif test "$wxUSE_LIBTIFF" = no; then
2872 echo "$as_me:$LINENO: result: no" >&5
2873 echo "${ECHO_T}no" >&6
2874 elif test "$wxUSE_LIBTIFF" = sys; then
2875 echo "$as_me:$LINENO: result: system version" >&5
2876 echo "${ECHO_T}system version" >&6
2877 elif test "$wxUSE_LIBTIFF" = builtin; then
2878 echo "$as_me:$LINENO: result: builtin version" >&5
2879 echo "${ECHO_T}builtin version" >&6
2880 else
2881 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2882 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2883 { (exit 1); exit 1; }; }
2884 fi
2885
2886
2887 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2888 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2889 no_cache=0
2890
2891 # Check whether --with-libxpm or --without-libxpm was given.
2892 if test "${with_libxpm+set}" = set; then
2893 withval="$with_libxpm"
2894
2895 if test "$withval" = yes; then
2896 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2897 elif test "$withval" = no; then
2898 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2899 elif test "$withval" = sys; then
2900 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
2901 elif test "$withval" = builtin; then
2902 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
2903 else
2904 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2905 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2906 { (exit 1); exit 1; }; }
2907 fi
2908
2909 else
2910
2911 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x ; then
2913 eval "DEFAULT_$LINE"
2914 else
2915 no_cache=1
2916 fi
2917
2918 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
2919
2920 fi;
2921
2922 eval "$ac_cv_use_libxpm"
2923 if test "$no_cache" != 1; then
2924 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
2925 fi
2926
2927 if test "$wxUSE_LIBXPM" = yes; then
2928 echo "$as_me:$LINENO: result: yes" >&5
2929 echo "${ECHO_T}yes" >&6
2930 elif test "$wxUSE_LIBXPM" = no; then
2931 echo "$as_me:$LINENO: result: no" >&5
2932 echo "${ECHO_T}no" >&6
2933 elif test "$wxUSE_LIBXPM" = sys; then
2934 echo "$as_me:$LINENO: result: system version" >&5
2935 echo "${ECHO_T}system version" >&6
2936 elif test "$wxUSE_LIBXPM" = builtin; then
2937 echo "$as_me:$LINENO: result: builtin version" >&5
2938 echo "${ECHO_T}builtin version" >&6
2939 else
2940 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
2941 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
2942 { (exit 1); exit 1; }; }
2943 fi
2944
2945
2946 echo "$as_me:$LINENO: checking for --with-libmspack" >&5
2947 echo $ECHO_N "checking for --with-libmspack... $ECHO_C" >&6
2948 no_cache=0
2949
2950 # Check whether --with-libmspack or --without-libmspack was given.
2951 if test "${with_libmspack+set}" = set; then
2952 withval="$with_libmspack"
2953
2954 if test "$withval" = yes; then
2955 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
2956 else
2957 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
2958 fi
2959
2960 else
2961
2962 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
2963 if test "x$LINE" != x ; then
2964 eval "DEFAULT_$LINE"
2965 else
2966 no_cache=1
2967 fi
2968
2969 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
2970
2971 fi;
2972
2973 eval "$ac_cv_use_libmspack"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
2976 fi
2977
2978 if test "$wxUSE_LIBMSPACK" = yes; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6
2981 else
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2984 fi
2985
2986
2987 echo "$as_me:$LINENO: checking for --with-sdl" >&5
2988 echo $ECHO_N "checking for --with-sdl... $ECHO_C" >&6
2989 no_cache=0
2990
2991 # Check whether --with-sdl or --without-sdl was given.
2992 if test "${with_sdl+set}" = set; then
2993 withval="$with_sdl"
2994
2995 if test "$withval" = yes; then
2996 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
2997 else
2998 ac_cv_use_sdl='wxUSE_LIBSDL=no'
2999 fi
3000
3001 else
3002
3003 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x ; then
3005 eval "DEFAULT_$LINE"
3006 else
3007 no_cache=1
3008 fi
3009
3010 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3011
3012 fi;
3013
3014 eval "$ac_cv_use_sdl"
3015 if test "$no_cache" != 1; then
3016 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3017 fi
3018
3019 if test "$wxUSE_LIBSDL" = yes; then
3020 echo "$as_me:$LINENO: result: yes" >&5
3021 echo "${ECHO_T}yes" >&6
3022 else
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3025 fi
3026
3027
3028 echo "$as_me:$LINENO: checking for --with-opengl" >&5
3029 echo $ECHO_N "checking for --with-opengl... $ECHO_C" >&6
3030 no_cache=0
3031
3032 # Check whether --with-opengl or --without-opengl was given.
3033 if test "${with_opengl+set}" = set; then
3034 withval="$with_opengl"
3035
3036 if test "$withval" = yes; then
3037 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3038 else
3039 ac_cv_use_opengl='wxUSE_OPENGL=no'
3040 fi
3041
3042 else
3043
3044 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3047 else
3048 no_cache=1
3049 fi
3050
3051 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3052
3053 fi;
3054
3055 eval "$ac_cv_use_opengl"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3058 fi
3059
3060 if test "$wxUSE_OPENGL" = yes; then
3061 echo "$as_me:$LINENO: result: yes" >&5
3062 echo "${ECHO_T}yes" >&6
3063 else
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3066 fi
3067
3068
3069 fi
3070
3071
3072 echo "$as_me:$LINENO: checking for --with-dmalloc" >&5
3073 echo $ECHO_N "checking for --with-dmalloc... $ECHO_C" >&6
3074 no_cache=0
3075
3076 # Check whether --with-dmalloc or --without-dmalloc was given.
3077 if test "${with_dmalloc+set}" = set; then
3078 withval="$with_dmalloc"
3079
3080 if test "$withval" = yes; then
3081 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3082 else
3083 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3084 fi
3085
3086 else
3087
3088 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3089 if test "x$LINE" != x ; then
3090 eval "DEFAULT_$LINE"
3091 else
3092 no_cache=1
3093 fi
3094
3095 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3096
3097 fi;
3098
3099 eval "$ac_cv_use_dmalloc"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3102 fi
3103
3104 if test "$wxUSE_DMALLOC" = yes; then
3105 echo "$as_me:$LINENO: result: yes" >&5
3106 echo "${ECHO_T}yes" >&6
3107 else
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3110 fi
3111
3112
3113 echo "$as_me:$LINENO: checking for --with-regex" >&5
3114 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3115 no_cache=0
3116
3117 # Check whether --with-regex or --without-regex was given.
3118 if test "${with_regex+set}" = set; then
3119 withval="$with_regex"
3120
3121 if test "$withval" = yes; then
3122 ac_cv_use_regex='wxUSE_REGEX=yes'
3123 elif test "$withval" = no; then
3124 ac_cv_use_regex='wxUSE_REGEX=no'
3125 elif test "$withval" = sys; then
3126 ac_cv_use_regex='wxUSE_REGEX=sys'
3127 elif test "$withval" = builtin; then
3128 ac_cv_use_regex='wxUSE_REGEX=builtin'
3129 else
3130 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3131 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3132 { (exit 1); exit 1; }; }
3133 fi
3134
3135 else
3136
3137 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x ; then
3139 eval "DEFAULT_$LINE"
3140 else
3141 no_cache=1
3142 fi
3143
3144 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3145
3146 fi;
3147
3148 eval "$ac_cv_use_regex"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3151 fi
3152
3153 if test "$wxUSE_REGEX" = yes; then
3154 echo "$as_me:$LINENO: result: yes" >&5
3155 echo "${ECHO_T}yes" >&6
3156 elif test "$wxUSE_REGEX" = no; then
3157 echo "$as_me:$LINENO: result: no" >&5
3158 echo "${ECHO_T}no" >&6
3159 elif test "$wxUSE_REGEX" = sys; then
3160 echo "$as_me:$LINENO: result: system version" >&5
3161 echo "${ECHO_T}system version" >&6
3162 elif test "$wxUSE_REGEX" = builtin; then
3163 echo "$as_me:$LINENO: result: builtin version" >&5
3164 echo "${ECHO_T}builtin version" >&6
3165 else
3166 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3167 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3168 { (exit 1); exit 1; }; }
3169 fi
3170
3171
3172 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3173 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3174 no_cache=0
3175
3176 # Check whether --with-zlib or --without-zlib was given.
3177 if test "${with_zlib+set}" = set; then
3178 withval="$with_zlib"
3179
3180 if test "$withval" = yes; then
3181 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3182 elif test "$withval" = no; then
3183 ac_cv_use_zlib='wxUSE_ZLIB=no'
3184 elif test "$withval" = sys; then
3185 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3186 elif test "$withval" = builtin; then
3187 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3188 else
3189 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3190 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3191 { (exit 1); exit 1; }; }
3192 fi
3193
3194 else
3195
3196 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x ; then
3198 eval "DEFAULT_$LINE"
3199 else
3200 no_cache=1
3201 fi
3202
3203 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3204
3205 fi;
3206
3207 eval "$ac_cv_use_zlib"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3210 fi
3211
3212 if test "$wxUSE_ZLIB" = yes; then
3213 echo "$as_me:$LINENO: result: yes" >&5
3214 echo "${ECHO_T}yes" >&6
3215 elif test "$wxUSE_ZLIB" = no; then
3216 echo "$as_me:$LINENO: result: no" >&5
3217 echo "${ECHO_T}no" >&6
3218 elif test "$wxUSE_ZLIB" = sys; then
3219 echo "$as_me:$LINENO: result: system version" >&5
3220 echo "${ECHO_T}system version" >&6
3221 elif test "$wxUSE_ZLIB" = builtin; then
3222 echo "$as_me:$LINENO: result: builtin version" >&5
3223 echo "${ECHO_T}builtin version" >&6
3224 else
3225 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3226 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3227 { (exit 1); exit 1; }; }
3228 fi
3229
3230
3231 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3232 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3233 no_cache=0
3234
3235 # Check whether --with-odbc or --without-odbc was given.
3236 if test "${with_odbc+set}" = set; then
3237 withval="$with_odbc"
3238
3239 if test "$withval" = yes; then
3240 ac_cv_use_odbc='wxUSE_ODBC=yes'
3241 elif test "$withval" = no; then
3242 ac_cv_use_odbc='wxUSE_ODBC=no'
3243 elif test "$withval" = sys; then
3244 ac_cv_use_odbc='wxUSE_ODBC=sys'
3245 elif test "$withval" = builtin; then
3246 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3247 else
3248 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3249 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3250 { (exit 1); exit 1; }; }
3251 fi
3252
3253 else
3254
3255 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x ; then
3257 eval "DEFAULT_$LINE"
3258 else
3259 no_cache=1
3260 fi
3261
3262 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3263
3264 fi;
3265
3266 eval "$ac_cv_use_odbc"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3269 fi
3270
3271 if test "$wxUSE_ODBC" = yes; then
3272 echo "$as_me:$LINENO: result: yes" >&5
3273 echo "${ECHO_T}yes" >&6
3274 elif test "$wxUSE_ODBC" = no; then
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3277 elif test "$wxUSE_ODBC" = sys; then
3278 echo "$as_me:$LINENO: result: system version" >&5
3279 echo "${ECHO_T}system version" >&6
3280 elif test "$wxUSE_ODBC" = builtin; then
3281 echo "$as_me:$LINENO: result: builtin version" >&5
3282 echo "${ECHO_T}builtin version" >&6
3283 else
3284 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3285 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3286 { (exit 1); exit 1; }; }
3287 fi
3288
3289
3290 echo "$as_me:$LINENO: checking for --with-expat" >&5
3291 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3292 no_cache=0
3293
3294 # Check whether --with-expat or --without-expat was given.
3295 if test "${with_expat+set}" = set; then
3296 withval="$with_expat"
3297
3298 if test "$withval" = yes; then
3299 ac_cv_use_expat='wxUSE_EXPAT=yes'
3300 elif test "$withval" = no; then
3301 ac_cv_use_expat='wxUSE_EXPAT=no'
3302 elif test "$withval" = sys; then
3303 ac_cv_use_expat='wxUSE_EXPAT=sys'
3304 elif test "$withval" = builtin; then
3305 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3306 else
3307 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3308 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3309 { (exit 1); exit 1; }; }
3310 fi
3311
3312 else
3313
3314 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3315 if test "x$LINE" != x ; then
3316 eval "DEFAULT_$LINE"
3317 else
3318 no_cache=1
3319 fi
3320
3321 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3322
3323 fi;
3324
3325 eval "$ac_cv_use_expat"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3328 fi
3329
3330 if test "$wxUSE_EXPAT" = yes; then
3331 echo "$as_me:$LINENO: result: yes" >&5
3332 echo "${ECHO_T}yes" >&6
3333 elif test "$wxUSE_EXPAT" = no; then
3334 echo "$as_me:$LINENO: result: no" >&5
3335 echo "${ECHO_T}no" >&6
3336 elif test "$wxUSE_EXPAT" = sys; then
3337 echo "$as_me:$LINENO: result: system version" >&5
3338 echo "${ECHO_T}system version" >&6
3339 elif test "$wxUSE_EXPAT" = builtin; then
3340 echo "$as_me:$LINENO: result: builtin version" >&5
3341 echo "${ECHO_T}builtin version" >&6
3342 else
3343 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3344 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3345 { (exit 1); exit 1; }; }
3346 fi
3347
3348
3349
3350
3351 enablestring=
3352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3353 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3354 no_cache=0
3355 # Check whether --enable-shared or --disable-shared was given.
3356 if test "${enable_shared+set}" = set; then
3357 enableval="$enable_shared"
3358
3359 if test "$enableval" = yes; then
3360 ac_cv_use_shared='wxUSE_SHARED=yes'
3361 else
3362 ac_cv_use_shared='wxUSE_SHARED=no'
3363 fi
3364
3365 else
3366
3367 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x ; then
3369 eval "DEFAULT_$LINE"
3370 else
3371 no_cache=1
3372 fi
3373
3374 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3375
3376 fi;
3377
3378 eval "$ac_cv_use_shared"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3381 fi
3382
3383 if test "$wxUSE_SHARED" = yes; then
3384 echo "$as_me:$LINENO: result: yes" >&5
3385 echo "${ECHO_T}yes" >&6
3386 else
3387 echo "$as_me:$LINENO: result: no" >&5
3388 echo "${ECHO_T}no" >&6
3389 fi
3390
3391
3392 enablestring=
3393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3394 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3395 no_cache=0
3396 # Check whether --enable-optimise or --disable-optimise was given.
3397 if test "${enable_optimise+set}" = set; then
3398 enableval="$enable_optimise"
3399
3400 if test "$enableval" = yes; then
3401 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3402 else
3403 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3404 fi
3405
3406 else
3407
3408 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x ; then
3410 eval "DEFAULT_$LINE"
3411 else
3412 no_cache=1
3413 fi
3414
3415 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3416
3417 fi;
3418
3419 eval "$ac_cv_use_optimise"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3422 fi
3423
3424 if test "$wxUSE_OPTIMISE" = yes; then
3425 echo "$as_me:$LINENO: result: yes" >&5
3426 echo "${ECHO_T}yes" >&6
3427 else
3428 echo "$as_me:$LINENO: result: no" >&5
3429 echo "${ECHO_T}no" >&6
3430 fi
3431
3432
3433 enablestring=
3434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3435 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3436 no_cache=0
3437 # Check whether --enable-debug or --disable-debug was given.
3438 if test "${enable_debug+set}" = set; then
3439 enableval="$enable_debug"
3440
3441 if test "$enableval" = yes; then
3442 ac_cv_use_debug='wxUSE_DEBUG=yes'
3443 else
3444 ac_cv_use_debug='wxUSE_DEBUG=no'
3445 fi
3446
3447 else
3448
3449 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3450 if test "x$LINE" != x ; then
3451 eval "DEFAULT_$LINE"
3452 else
3453 no_cache=1
3454 fi
3455
3456 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3457
3458 fi;
3459
3460 eval "$ac_cv_use_debug"
3461 if test "$no_cache" != 1; then
3462 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3463 fi
3464
3465 if test "$wxUSE_DEBUG" = yes; then
3466 echo "$as_me:$LINENO: result: yes" >&5
3467 echo "${ECHO_T}yes" >&6
3468 else
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3471 fi
3472
3473
3474 enablestring=
3475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3476 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3477 no_cache=0
3478 # Check whether --enable-stl or --disable-stl was given.
3479 if test "${enable_stl+set}" = set; then
3480 enableval="$enable_stl"
3481
3482 if test "$enableval" = yes; then
3483 ac_cv_use_stl='wxUSE_STL=yes'
3484 else
3485 ac_cv_use_stl='wxUSE_STL=no'
3486 fi
3487
3488 else
3489
3490 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x ; then
3492 eval "DEFAULT_$LINE"
3493 else
3494 no_cache=1
3495 fi
3496
3497 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3498
3499 fi;
3500
3501 eval "$ac_cv_use_stl"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3504 fi
3505
3506 if test "$wxUSE_STL" = yes; then
3507 echo "$as_me:$LINENO: result: yes" >&5
3508 echo "${ECHO_T}yes" >&6
3509 else
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3512 fi
3513
3514 if test "$USE_OS2" = "1"; then
3515
3516 enablestring=
3517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3519 no_cache=0
3520 # Check whether --enable-omf or --disable-omf was given.
3521 if test "${enable_omf+set}" = set; then
3522 enableval="$enable_omf"
3523
3524 if test "$enableval" = yes; then
3525 ac_cv_use_omf='wxUSE_OMF=yes'
3526 else
3527 ac_cv_use_omf='wxUSE_OMF=no'
3528 fi
3529
3530 else
3531
3532 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3540
3541 fi;
3542
3543 eval "$ac_cv_use_omf"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_OMF" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 else
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 fi
3555
3556 fi
3557
3558 if test "$wxUSE_DEBUG" = "yes"; then
3559 DEFAULT_wxUSE_DEBUG_FLAG=yes
3560 DEFAULT_wxUSE_DEBUG_INFO=yes
3561 BUILD=debug
3562 elif test "$wxUSE_DEBUG" = "no"; then
3563 DEFAULT_wxUSE_DEBUG_FLAG=no
3564 DEFAULT_wxUSE_DEBUG_INFO=no
3565 BUILD=release
3566 fi
3567
3568
3569 enablestring=
3570 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3571 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3572 no_cache=0
3573 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3574 if test "${enable_debug_flag+set}" = set; then
3575 enableval="$enable_debug_flag"
3576
3577 if test "$enableval" = yes; then
3578 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3579 else
3580 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3581 fi
3582
3583 else
3584
3585 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3593
3594 fi;
3595
3596 eval "$ac_cv_use_debug_flag"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3599 fi
3600
3601 if test "$wxUSE_DEBUG_FLAG" = yes; then
3602 echo "$as_me:$LINENO: result: yes" >&5
3603 echo "${ECHO_T}yes" >&6
3604 else
3605 echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6
3607 fi
3608
3609
3610 enablestring=
3611 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3613 no_cache=0
3614 # Check whether --enable-debug_info or --disable-debug_info was given.
3615 if test "${enable_debug_info+set}" = set; then
3616 enableval="$enable_debug_info"
3617
3618 if test "$enableval" = yes; then
3619 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3620 else
3621 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3622 fi
3623
3624 else
3625
3626 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3627 if test "x$LINE" != x ; then
3628 eval "DEFAULT_$LINE"
3629 else
3630 no_cache=1
3631 fi
3632
3633 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3634
3635 fi;
3636
3637 eval "$ac_cv_use_debug_info"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3640 fi
3641
3642 if test "$wxUSE_DEBUG_INFO" = yes; then
3643 echo "$as_me:$LINENO: result: yes" >&5
3644 echo "${ECHO_T}yes" >&6
3645 else
3646 echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6
3648 fi
3649
3650
3651 enablestring=
3652 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3653 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3654 no_cache=0
3655 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3656 if test "${enable_debug_gdb+set}" = set; then
3657 enableval="$enable_debug_gdb"
3658
3659 if test "$enableval" = yes; then
3660 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3661 else
3662 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3663 fi
3664
3665 else
3666
3667 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3668 if test "x$LINE" != x ; then
3669 eval "DEFAULT_$LINE"
3670 else
3671 no_cache=1
3672 fi
3673
3674 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3675
3676 fi;
3677
3678 eval "$ac_cv_use_debug_gdb"
3679 if test "$no_cache" != 1; then
3680 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3681 fi
3682
3683 if test "$wxUSE_DEBUG_GDB" = yes; then
3684 echo "$as_me:$LINENO: result: yes" >&5
3685 echo "${ECHO_T}yes" >&6
3686 else
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3689 fi
3690
3691
3692 enablestring=
3693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3695 no_cache=0
3696 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3697 if test "${enable_debug_cntxt+set}" = set; then
3698 enableval="$enable_debug_cntxt"
3699
3700 if test "$enableval" = yes; then
3701 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3702 else
3703 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3704 fi
3705
3706 else
3707
3708 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3711 else
3712 no_cache=1
3713 fi
3714
3715 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3716
3717 fi;
3718
3719 eval "$ac_cv_use_debug_cntxt"
3720 if test "$no_cache" != 1; then
3721 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3722 fi
3723
3724 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3725 echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6
3727 else
3728 echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6
3730 fi
3731
3732
3733 enablestring=
3734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3735 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3736 no_cache=0
3737 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3738 if test "${enable_mem_tracing+set}" = set; then
3739 enableval="$enable_mem_tracing"
3740
3741 if test "$enableval" = yes; then
3742 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3743 else
3744 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3745 fi
3746
3747 else
3748
3749 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x ; then
3751 eval "DEFAULT_$LINE"
3752 else
3753 no_cache=1
3754 fi
3755
3756 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3757
3758 fi;
3759
3760 eval "$ac_cv_use_mem_tracing"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3763 fi
3764
3765 if test "$wxUSE_MEM_TRACING" = yes; then
3766 echo "$as_me:$LINENO: result: yes" >&5
3767 echo "${ECHO_T}yes" >&6
3768 else
3769 echo "$as_me:$LINENO: result: no" >&5
3770 echo "${ECHO_T}no" >&6
3771 fi
3772
3773
3774 enablestring=
3775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3776 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3777 no_cache=0
3778 # Check whether --enable-profile or --disable-profile was given.
3779 if test "${enable_profile+set}" = set; then
3780 enableval="$enable_profile"
3781
3782 if test "$enableval" = yes; then
3783 ac_cv_use_profile='wxUSE_PROFILE=yes'
3784 else
3785 ac_cv_use_profile='wxUSE_PROFILE=no'
3786 fi
3787
3788 else
3789
3790 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3791 if test "x$LINE" != x ; then
3792 eval "DEFAULT_$LINE"
3793 else
3794 no_cache=1
3795 fi
3796
3797 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
3798
3799 fi;
3800
3801 eval "$ac_cv_use_profile"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
3804 fi
3805
3806 if test "$wxUSE_PROFILE" = yes; then
3807 echo "$as_me:$LINENO: result: yes" >&5
3808 echo "${ECHO_T}yes" >&6
3809 else
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3812 fi
3813
3814
3815 enablestring=
3816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
3817 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
3818 no_cache=0
3819 # Check whether --enable-no_rtti or --disable-no_rtti was given.
3820 if test "${enable_no_rtti+set}" = set; then
3821 enableval="$enable_no_rtti"
3822
3823 if test "$enableval" = yes; then
3824 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
3825 else
3826 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
3827 fi
3828
3829 else
3830
3831 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x ; then
3833 eval "DEFAULT_$LINE"
3834 else
3835 no_cache=1
3836 fi
3837
3838 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
3839
3840 fi;
3841
3842 eval "$ac_cv_use_no_rtti"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_NO_RTTI" = yes; then
3848 echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6
3850 else
3851 echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6
3853 fi
3854
3855
3856 enablestring=
3857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
3858 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
3859 no_cache=0
3860 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
3861 if test "${enable_no_exceptions+set}" = set; then
3862 enableval="$enable_no_exceptions"
3863
3864 if test "$enableval" = yes; then
3865 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
3866 else
3867 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
3868 fi
3869
3870 else
3871
3872 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3875 else
3876 no_cache=1
3877 fi
3878
3879 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
3880
3881 fi;
3882
3883 eval "$ac_cv_use_no_exceptions"
3884 if test "$no_cache" != 1; then
3885 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
3886 fi
3887
3888 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
3889 echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6
3891 else
3892 echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6
3894 fi
3895
3896
3897 enablestring=
3898 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
3899 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
3900 no_cache=0
3901 # Check whether --enable-permissive or --disable-permissive was given.
3902 if test "${enable_permissive+set}" = set; then
3903 enableval="$enable_permissive"
3904
3905 if test "$enableval" = yes; then
3906 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
3907 else
3908 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
3909 fi
3910
3911 else
3912
3913 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x ; then
3915 eval "DEFAULT_$LINE"
3916 else
3917 no_cache=1
3918 fi
3919
3920 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
3921
3922 fi;
3923
3924 eval "$ac_cv_use_permissive"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
3927 fi
3928
3929 if test "$wxUSE_PERMISSIVE" = yes; then
3930 echo "$as_me:$LINENO: result: yes" >&5
3931 echo "${ECHO_T}yes" >&6
3932 else
3933 echo "$as_me:$LINENO: result: no" >&5
3934 echo "${ECHO_T}no" >&6
3935 fi
3936
3937
3938 enablestring=
3939 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
3940 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
3941 no_cache=0
3942 # Check whether --enable-no_deps or --disable-no_deps was given.
3943 if test "${enable_no_deps+set}" = set; then
3944 enableval="$enable_no_deps"
3945
3946 if test "$enableval" = yes; then
3947 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
3948 else
3949 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
3950 fi
3951
3952 else
3953
3954 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x ; then
3956 eval "DEFAULT_$LINE"
3957 else
3958 no_cache=1
3959 fi
3960
3961 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
3962
3963 fi;
3964
3965 eval "$ac_cv_use_no_deps"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
3968 fi
3969
3970 if test "$wxUSE_NO_DEPS" = yes; then
3971 echo "$as_me:$LINENO: result: yes" >&5
3972 echo "${ECHO_T}yes" >&6
3973 else
3974 echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6
3976 fi
3977
3978
3979
3980 enablestring=
3981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat22" >&5
3982 echo $ECHO_N "checking for --${enablestring:-enable}-compat22... $ECHO_C" >&6
3983 no_cache=0
3984 # Check whether --enable-compat22 or --disable-compat22 was given.
3985 if test "${enable_compat22+set}" = set; then
3986 enableval="$enable_compat22"
3987
3988 if test "$enableval" = yes; then
3989 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=yes'
3990 else
3991 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2=no'
3992 fi
3993
3994 else
3995
3996 LINE=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x ; then
3998 eval "DEFAULT_$LINE"
3999 else
4000 no_cache=1
4001 fi
4002
4003 ac_cv_use_compat22='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
4004
4005 fi;
4006
4007 eval "$ac_cv_use_compat22"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
4010 fi
4011
4012 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
4013 echo "$as_me:$LINENO: result: yes" >&5
4014 echo "${ECHO_T}yes" >&6
4015 else
4016 echo "$as_me:$LINENO: result: no" >&5
4017 echo "${ECHO_T}no" >&6
4018 fi
4019
4020
4021 enablestring=disable
4022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4023 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4024 no_cache=0
4025 # Check whether --enable-compat24 or --disable-compat24 was given.
4026 if test "${enable_compat24+set}" = set; then
4027 enableval="$enable_compat24"
4028
4029 if test "$enableval" = yes; then
4030 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4031 else
4032 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4033 fi
4034
4035 else
4036
4037 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x ; then
4039 eval "DEFAULT_$LINE"
4040 else
4041 no_cache=1
4042 fi
4043
4044 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4045
4046 fi;
4047
4048 eval "$ac_cv_use_compat24"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4051 fi
4052
4053 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4054 echo "$as_me:$LINENO: result: yes" >&5
4055 echo "${ECHO_T}yes" >&6
4056 else
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4059 fi
4060
4061
4062 # Check whether --enable-rpath or --disable-rpath was given.
4063 if test "${enable_rpath+set}" = set; then
4064 enableval="$enable_rpath"
4065 wxRPATH_DIR="$enableval"
4066 fi;
4067
4068 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
4069 WXCONFIG_RPATH="-Wl,-rpath -Wl,$wxRPATH_DIR"
4070 fi
4071
4072
4073
4074
4075 enablestring=
4076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4077 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4078 no_cache=0
4079 # Check whether --enable-intl or --disable-intl was given.
4080 if test "${enable_intl+set}" = set; then
4081 enableval="$enable_intl"
4082
4083 if test "$enableval" = yes; then
4084 ac_cv_use_intl='wxUSE_INTL=yes'
4085 else
4086 ac_cv_use_intl='wxUSE_INTL=no'
4087 fi
4088
4089 else
4090
4091 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4092 if test "x$LINE" != x ; then
4093 eval "DEFAULT_$LINE"
4094 else
4095 no_cache=1
4096 fi
4097
4098 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4099
4100 fi;
4101
4102 eval "$ac_cv_use_intl"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4105 fi
4106
4107 if test "$wxUSE_INTL" = yes; then
4108 echo "$as_me:$LINENO: result: yes" >&5
4109 echo "${ECHO_T}yes" >&6
4110 else
4111 echo "$as_me:$LINENO: result: no" >&5
4112 echo "${ECHO_T}no" >&6
4113 fi
4114
4115
4116 enablestring=
4117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4118 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4119 no_cache=0
4120 # Check whether --enable-config or --disable-config was given.
4121 if test "${enable_config+set}" = set; then
4122 enableval="$enable_config"
4123
4124 if test "$enableval" = yes; then
4125 ac_cv_use_config='wxUSE_CONFIG=yes'
4126 else
4127 ac_cv_use_config='wxUSE_CONFIG=no'
4128 fi
4129
4130 else
4131
4132 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x ; then
4134 eval "DEFAULT_$LINE"
4135 else
4136 no_cache=1
4137 fi
4138
4139 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4140
4141 fi;
4142
4143 eval "$ac_cv_use_config"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4146 fi
4147
4148 if test "$wxUSE_CONFIG" = yes; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4151 else
4152 echo "$as_me:$LINENO: result: no" >&5
4153 echo "${ECHO_T}no" >&6
4154 fi
4155
4156
4157
4158 enablestring=
4159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4160 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4161 no_cache=0
4162 # Check whether --enable-protocols or --disable-protocols was given.
4163 if test "${enable_protocols+set}" = set; then
4164 enableval="$enable_protocols"
4165
4166 if test "$enableval" = yes; then
4167 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4168 else
4169 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4170 fi
4171
4172 else
4173
4174 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x ; then
4176 eval "DEFAULT_$LINE"
4177 else
4178 no_cache=1
4179 fi
4180
4181 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4182
4183 fi;
4184
4185 eval "$ac_cv_use_protocols"
4186 if test "$no_cache" != 1; then
4187 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4188 fi
4189
4190 if test "$wxUSE_PROTOCOL" = yes; then
4191 echo "$as_me:$LINENO: result: yes" >&5
4192 echo "${ECHO_T}yes" >&6
4193 else
4194 echo "$as_me:$LINENO: result: no" >&5
4195 echo "${ECHO_T}no" >&6
4196 fi
4197
4198
4199 enablestring=
4200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4201 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4202 no_cache=0
4203 # Check whether --enable-ftp or --disable-ftp was given.
4204 if test "${enable_ftp+set}" = set; then
4205 enableval="$enable_ftp"
4206
4207 if test "$enableval" = yes; then
4208 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4209 else
4210 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4211 fi
4212
4213 else
4214
4215 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x ; then
4217 eval "DEFAULT_$LINE"
4218 else
4219 no_cache=1
4220 fi
4221
4222 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4223
4224 fi;
4225
4226 eval "$ac_cv_use_ftp"
4227 if test "$no_cache" != 1; then
4228 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4229 fi
4230
4231 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4232 echo "$as_me:$LINENO: result: yes" >&5
4233 echo "${ECHO_T}yes" >&6
4234 else
4235 echo "$as_me:$LINENO: result: no" >&5
4236 echo "${ECHO_T}no" >&6
4237 fi
4238
4239
4240 enablestring=
4241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4242 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4243 no_cache=0
4244 # Check whether --enable-http or --disable-http was given.
4245 if test "${enable_http+set}" = set; then
4246 enableval="$enable_http"
4247
4248 if test "$enableval" = yes; then
4249 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4250 else
4251 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4252 fi
4253
4254 else
4255
4256 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x ; then
4258 eval "DEFAULT_$LINE"
4259 else
4260 no_cache=1
4261 fi
4262
4263 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4264
4265 fi;
4266
4267 eval "$ac_cv_use_http"
4268 if test "$no_cache" != 1; then
4269 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4270 fi
4271
4272 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4273 echo "$as_me:$LINENO: result: yes" >&5
4274 echo "${ECHO_T}yes" >&6
4275 else
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4278 fi
4279
4280
4281 enablestring=
4282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4283 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4284 no_cache=0
4285 # Check whether --enable-fileproto or --disable-fileproto was given.
4286 if test "${enable_fileproto+set}" = set; then
4287 enableval="$enable_fileproto"
4288
4289 if test "$enableval" = yes; then
4290 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4291 else
4292 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4293 fi
4294
4295 else
4296
4297 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4300 else
4301 no_cache=1
4302 fi
4303
4304 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4305
4306 fi;
4307
4308 eval "$ac_cv_use_fileproto"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4314 echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6
4316 else
4317 echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6
4319 fi
4320
4321
4322 enablestring=
4323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4324 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4325 no_cache=0
4326 # Check whether --enable-sockets or --disable-sockets was given.
4327 if test "${enable_sockets+set}" = set; then
4328 enableval="$enable_sockets"
4329
4330 if test "$enableval" = yes; then
4331 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4332 else
4333 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4334 fi
4335
4336 else
4337
4338 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x ; then
4340 eval "DEFAULT_$LINE"
4341 else
4342 no_cache=1
4343 fi
4344
4345 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4346
4347 fi;
4348
4349 eval "$ac_cv_use_sockets"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4352 fi
4353
4354 if test "$wxUSE_SOCKETS" = yes; then
4355 echo "$as_me:$LINENO: result: yes" >&5
4356 echo "${ECHO_T}yes" >&6
4357 else
4358 echo "$as_me:$LINENO: result: no" >&5
4359 echo "${ECHO_T}no" >&6
4360 fi
4361
4362
4363 enablestring=
4364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4366 no_cache=0
4367 # Check whether --enable-ole or --disable-ole was given.
4368 if test "${enable_ole+set}" = set; then
4369 enableval="$enable_ole"
4370
4371 if test "$enableval" = yes; then
4372 ac_cv_use_ole='wxUSE_OLE=yes'
4373 else
4374 ac_cv_use_ole='wxUSE_OLE=no'
4375 fi
4376
4377 else
4378
4379 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4380 if test "x$LINE" != x ; then
4381 eval "DEFAULT_$LINE"
4382 else
4383 no_cache=1
4384 fi
4385
4386 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4387
4388 fi;
4389
4390 eval "$ac_cv_use_ole"
4391 if test "$no_cache" != 1; then
4392 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4393 fi
4394
4395 if test "$wxUSE_OLE" = yes; then
4396 echo "$as_me:$LINENO: result: yes" >&5
4397 echo "${ECHO_T}yes" >&6
4398 else
4399 echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6
4401 fi
4402
4403
4404 enablestring=
4405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4406 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4407 no_cache=0
4408 # Check whether --enable-dataobj or --disable-dataobj was given.
4409 if test "${enable_dataobj+set}" = set; then
4410 enableval="$enable_dataobj"
4411
4412 if test "$enableval" = yes; then
4413 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4414 else
4415 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4416 fi
4417
4418 else
4419
4420 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4421 if test "x$LINE" != x ; then
4422 eval "DEFAULT_$LINE"
4423 else
4424 no_cache=1
4425 fi
4426
4427 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4428
4429 fi;
4430
4431 eval "$ac_cv_use_dataobj"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4434 fi
4435
4436 if test "$wxUSE_DATAOBJ" = yes; then
4437 echo "$as_me:$LINENO: result: yes" >&5
4438 echo "${ECHO_T}yes" >&6
4439 else
4440 echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6
4442 fi
4443
4444
4445
4446 enablestring=
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4449 no_cache=0
4450 # Check whether --enable-ipc or --disable-ipc was given.
4451 if test "${enable_ipc+set}" = set; then
4452 enableval="$enable_ipc"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_ipc='wxUSE_IPC=yes'
4456 else
4457 ac_cv_use_ipc='wxUSE_IPC=no'
4458 fi
4459
4460 else
4461
4462 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4470
4471 fi;
4472
4473 eval "$ac_cv_use_ipc"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4476 fi
4477
4478 if test "$wxUSE_IPC" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4481 else
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4484 fi
4485
4486
4487
4488 enablestring=
4489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4491 no_cache=0
4492 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4493 if test "${enable_apple_ieee+set}" = set; then
4494 enableval="$enable_apple_ieee"
4495
4496 if test "$enableval" = yes; then
4497 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4498 else
4499 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4500 fi
4501
4502 else
4503
4504 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x ; then
4506 eval "DEFAULT_$LINE"
4507 else
4508 no_cache=1
4509 fi
4510
4511 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4512
4513 fi;
4514
4515 eval "$ac_cv_use_apple_ieee"
4516 if test "$no_cache" != 1; then
4517 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test "$wxUSE_APPLE_IEEE" = yes; then
4521 echo "$as_me:$LINENO: result: yes" >&5
4522 echo "${ECHO_T}yes" >&6
4523 else
4524 echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6
4526 fi
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4534 if test "${enable_catch_segvs+set}" = set; then
4535 enableval="$enable_catch_segvs"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4539 else
4540 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4553
4554 fi;
4555
4556 eval "$ac_cv_use_catch_segvs"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570 enablestring=
4571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4572 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4573 no_cache=0
4574 # Check whether --enable-cmdline or --disable-cmdline was given.
4575 if test "${enable_cmdline+set}" = set; then
4576 enableval="$enable_cmdline"
4577
4578 if test "$enableval" = yes; then
4579 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4580 else
4581 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4582 fi
4583
4584 else
4585
4586 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x ; then
4588 eval "DEFAULT_$LINE"
4589 else
4590 no_cache=1
4591 fi
4592
4593 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4594
4595 fi;
4596
4597 eval "$ac_cv_use_cmdline"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4600 fi
4601
4602 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4603 echo "$as_me:$LINENO: result: yes" >&5
4604 echo "${ECHO_T}yes" >&6
4605 else
4606 echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6
4608 fi
4609
4610
4611 enablestring=
4612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4613 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4614 no_cache=0
4615 # Check whether --enable-datetime or --disable-datetime was given.
4616 if test "${enable_datetime+set}" = set; then
4617 enableval="$enable_datetime"
4618
4619 if test "$enableval" = yes; then
4620 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4621 else
4622 ac_cv_use_datetime='wxUSE_DATETIME=no'
4623 fi
4624
4625 else
4626
4627 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4628 if test "x$LINE" != x ; then
4629 eval "DEFAULT_$LINE"
4630 else
4631 no_cache=1
4632 fi
4633
4634 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4635
4636 fi;
4637
4638 eval "$ac_cv_use_datetime"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4641 fi
4642
4643 if test "$wxUSE_DATETIME" = yes; then
4644 echo "$as_me:$LINENO: result: yes" >&5
4645 echo "${ECHO_T}yes" >&6
4646 else
4647 echo "$as_me:$LINENO: result: no" >&5
4648 echo "${ECHO_T}no" >&6
4649 fi
4650
4651
4652 enablestring=
4653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
4655 no_cache=0
4656 # Check whether --enable-dialupman or --disable-dialupman was given.
4657 if test "${enable_dialupman+set}" = set; then
4658 enableval="$enable_dialupman"
4659
4660 if test "$enableval" = yes; then
4661 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
4662 else
4663 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
4676
4677 fi;
4678
4679 eval "$ac_cv_use_dialupman"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
4682 fi
4683
4684 if test "$wxUSE_DIALUP_MANAGER" = yes; then
4685 echo "$as_me:$LINENO: result: yes" >&5
4686 echo "${ECHO_T}yes" >&6
4687 else
4688 echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6
4690 fi
4691
4692
4693 enablestring=
4694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
4695 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
4696 no_cache=0
4697 # Check whether --enable-dynlib or --disable-dynlib was given.
4698 if test "${enable_dynlib+set}" = set; then
4699 enableval="$enable_dynlib"
4700
4701 if test "$enableval" = yes; then
4702 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
4703 else
4704 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
4705 fi
4706
4707 else
4708
4709 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x ; then
4711 eval "DEFAULT_$LINE"
4712 else
4713 no_cache=1
4714 fi
4715
4716 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
4717
4718 fi;
4719
4720 eval "$ac_cv_use_dynlib"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test "$wxUSE_DYNLIB_CLASS" = yes; then
4726 echo "$as_me:$LINENO: result: yes" >&5
4727 echo "${ECHO_T}yes" >&6
4728 else
4729 echo "$as_me:$LINENO: result: no" >&5
4730 echo "${ECHO_T}no" >&6
4731 fi
4732
4733
4734 enablestring=
4735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
4737 no_cache=0
4738 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
4739 if test "${enable_dynamicloader+set}" = set; then
4740 enableval="$enable_dynamicloader"
4741
4742 if test "$enableval" = yes; then
4743 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
4744 else
4745 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
4758
4759 fi;
4760
4761 eval "$ac_cv_use_dynamicloader"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
4767 echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6
4769 else
4770 echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6
4772 fi
4773
4774
4775 enablestring=
4776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
4778 no_cache=0
4779 # Check whether --enable-exceptions or --disable-exceptions was given.
4780 if test "${enable_exceptions+set}" = set; then
4781 enableval="$enable_exceptions"
4782
4783 if test "$enableval" = yes; then
4784 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
4785 else
4786 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
4787 fi
4788
4789 else
4790
4791 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x ; then
4793 eval "DEFAULT_$LINE"
4794 else
4795 no_cache=1
4796 fi
4797
4798 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
4799
4800 fi;
4801
4802 eval "$ac_cv_use_exceptions"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
4805 fi
4806
4807 if test "$wxUSE_EXCEPTIONS" = yes; then
4808 echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6
4810 else
4811 echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6
4813 fi
4814
4815
4816 enablestring=
4817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
4819 no_cache=0
4820 # Check whether --enable-ffile or --disable-ffile was given.
4821 if test "${enable_ffile+set}" = set; then
4822 enableval="$enable_ffile"
4823
4824 if test "$enableval" = yes; then
4825 ac_cv_use_ffile='wxUSE_FFILE=yes'
4826 else
4827 ac_cv_use_ffile='wxUSE_FFILE=no'
4828 fi
4829
4830 else
4831
4832 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x ; then
4834 eval "DEFAULT_$LINE"
4835 else
4836 no_cache=1
4837 fi
4838
4839 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4840
4841 fi;
4842
4843 eval "$ac_cv_use_ffile"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4846 fi
4847
4848 if test "$wxUSE_FFILE" = yes; then
4849 echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6
4851 else
4852 echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6
4854 fi
4855
4856
4857 enablestring=
4858 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
4860 no_cache=0
4861 # Check whether --enable-file or --disable-file was given.
4862 if test "${enable_file+set}" = set; then
4863 enableval="$enable_file"
4864
4865 if test "$enableval" = yes; then
4866 ac_cv_use_file='wxUSE_FILE=yes'
4867 else
4868 ac_cv_use_file='wxUSE_FILE=no'
4869 fi
4870
4871 else
4872
4873 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x ; then
4875 eval "DEFAULT_$LINE"
4876 else
4877 no_cache=1
4878 fi
4879
4880 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4881
4882 fi;
4883
4884 eval "$ac_cv_use_file"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test "$wxUSE_FILE" = yes; then
4890 echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6
4892 else
4893 echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6
4895 fi
4896
4897
4898 enablestring=
4899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
4901 no_cache=0
4902 # Check whether --enable-filesystem or --disable-filesystem was given.
4903 if test "${enable_filesystem+set}" = set; then
4904 enableval="$enable_filesystem"
4905
4906 if test "$enableval" = yes; then
4907 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
4908 else
4909 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
4910 fi
4911
4912 else
4913
4914 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x ; then
4916 eval "DEFAULT_$LINE"
4917 else
4918 no_cache=1
4919 fi
4920
4921 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4922
4923 fi;
4924
4925 eval "$ac_cv_use_filesystem"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_FILESYSTEM" = yes; then
4931 echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6
4933 else
4934 echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6
4936 fi
4937
4938
4939 enablestring=
4940 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
4942 no_cache=0
4943 # Check whether --enable-fontmap or --disable-fontmap was given.
4944 if test "${enable_fontmap+set}" = set; then
4945 enableval="$enable_fontmap"
4946
4947 if test "$enableval" = yes; then
4948 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
4949 else
4950 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
4951 fi
4952
4953 else
4954
4955 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x ; then
4957 eval "DEFAULT_$LINE"
4958 else
4959 no_cache=1
4960 fi
4961
4962 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4963
4964 fi;
4965
4966 eval "$ac_cv_use_fontmap"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_FONTMAP" = yes; then
4972 echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6
4974 else
4975 echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6
4977 fi
4978
4979
4980 enablestring=
4981 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
4983 no_cache=0
4984 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4985 if test "${enable_fs_inet+set}" = set; then
4986 enableval="$enable_fs_inet"
4987
4988 if test "$enableval" = yes; then
4989 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
4990 else
4991 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
4992 fi
4993
4994 else
4995
4996 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x ; then
4998 eval "DEFAULT_$LINE"
4999 else
5000 no_cache=1
5001 fi
5002
5003 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5004
5005 fi;
5006
5007 eval "$ac_cv_use_fs_inet"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_FS_INET" = yes; then
5013 echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6
5015 else
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5018 fi
5019
5020
5021 enablestring=
5022 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5024 no_cache=0
5025 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5026 if test "${enable_fs_zip+set}" = set; then
5027 enableval="$enable_fs_zip"
5028
5029 if test "$enableval" = yes; then
5030 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5031 else
5032 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5033 fi
5034
5035 else
5036
5037 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x ; then
5039 eval "DEFAULT_$LINE"
5040 else
5041 no_cache=1
5042 fi
5043
5044 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5045
5046 fi;
5047
5048 eval "$ac_cv_use_fs_zip"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_FS_ZIP" = yes; then
5054 echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6
5056 else
5057 echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6
5059 fi
5060
5061
5062 enablestring=
5063 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5065 no_cache=0
5066 # Check whether --enable-geometry or --disable-geometry was given.
5067 if test "${enable_geometry+set}" = set; then
5068 enableval="$enable_geometry"
5069
5070 if test "$enableval" = yes; then
5071 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5072 else
5073 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5074 fi
5075
5076 else
5077
5078 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5079 if test "x$LINE" != x ; then
5080 eval "DEFAULT_$LINE"
5081 else
5082 no_cache=1
5083 fi
5084
5085 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5086
5087 fi;
5088
5089 eval "$ac_cv_use_geometry"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5092 fi
5093
5094 if test "$wxUSE_GEOMETRY" = yes; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5097 else
5098 echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6
5100 fi
5101
5102
5103 enablestring=
5104 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5106 no_cache=0
5107 # Check whether --enable-log or --disable-log was given.
5108 if test "${enable_log+set}" = set; then
5109 enableval="$enable_log"
5110
5111 if test "$enableval" = yes; then
5112 ac_cv_use_log='wxUSE_LOG=yes'
5113 else
5114 ac_cv_use_log='wxUSE_LOG=no'
5115 fi
5116
5117 else
5118
5119 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x ; then
5121 eval "DEFAULT_$LINE"
5122 else
5123 no_cache=1
5124 fi
5125
5126 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5127
5128 fi;
5129
5130 eval "$ac_cv_use_log"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_LOG" = yes; then
5136 echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6
5138 else
5139 echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6
5141 fi
5142
5143
5144 enablestring=
5145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5147 no_cache=0
5148 # Check whether --enable-longlong or --disable-longlong was given.
5149 if test "${enable_longlong+set}" = set; then
5150 enableval="$enable_longlong"
5151
5152 if test "$enableval" = yes; then
5153 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5154 else
5155 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5156 fi
5157
5158 else
5159
5160 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x ; then
5162 eval "DEFAULT_$LINE"
5163 else
5164 no_cache=1
5165 fi
5166
5167 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5168
5169 fi;
5170
5171 eval "$ac_cv_use_longlong"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5174 fi
5175
5176 if test "$wxUSE_LONGLONG" = yes; then
5177 echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6
5179 else
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5182 fi
5183
5184
5185 enablestring=
5186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5188 no_cache=0
5189 # Check whether --enable-mimetype or --disable-mimetype was given.
5190 if test "${enable_mimetype+set}" = set; then
5191 enableval="$enable_mimetype"
5192
5193 if test "$enableval" = yes; then
5194 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5195 else
5196 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5197 fi
5198
5199 else
5200
5201 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x ; then
5203 eval "DEFAULT_$LINE"
5204 else
5205 no_cache=1
5206 fi
5207
5208 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5209
5210 fi;
5211
5212 eval "$ac_cv_use_mimetype"
5213 if test "$no_cache" != 1; then
5214 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5215 fi
5216
5217 if test "$wxUSE_MIMETYPE" = yes; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5220 else
5221 echo "$as_me:$LINENO: result: no" >&5
5222 echo "${ECHO_T}no" >&6
5223 fi
5224
5225
5226 enablestring=
5227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5228 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5229 no_cache=0
5230 # Check whether --enable-mslu or --disable-mslu was given.
5231 if test "${enable_mslu+set}" = set; then
5232 enableval="$enable_mslu"
5233
5234 if test "$enableval" = yes; then
5235 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5236 else
5237 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5238 fi
5239
5240 else
5241
5242 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x ; then
5244 eval "DEFAULT_$LINE"
5245 else
5246 no_cache=1
5247 fi
5248
5249 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5250
5251 fi;
5252
5253 eval "$ac_cv_use_mslu"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5256 fi
5257
5258 if test "$wxUSE_UNICODE_MSLU" = yes; then
5259 echo "$as_me:$LINENO: result: yes" >&5
5260 echo "${ECHO_T}yes" >&6
5261 else
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5264 fi
5265
5266
5267 enablestring=
5268 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5269 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5270 no_cache=0
5271 # Check whether --enable-snglinst or --disable-snglinst was given.
5272 if test "${enable_snglinst+set}" = set; then
5273 enableval="$enable_snglinst"
5274
5275 if test "$enableval" = yes; then
5276 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5277 else
5278 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5279 fi
5280
5281 else
5282
5283 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x ; then
5285 eval "DEFAULT_$LINE"
5286 else
5287 no_cache=1
5288 fi
5289
5290 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5291
5292 fi;
5293
5294 eval "$ac_cv_use_snglinst"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5297 fi
5298
5299 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5300 echo "$as_me:$LINENO: result: yes" >&5
5301 echo "${ECHO_T}yes" >&6
5302 else
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5305 fi
5306
5307
5308 enablestring=
5309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5311 no_cache=0
5312 # Check whether --enable-streams or --disable-streams was given.
5313 if test "${enable_streams+set}" = set; then
5314 enableval="$enable_streams"
5315
5316 if test "$enableval" = yes; then
5317 ac_cv_use_streams='wxUSE_STREAMS=yes'
5318 else
5319 ac_cv_use_streams='wxUSE_STREAMS=no'
5320 fi
5321
5322 else
5323
5324 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5325 if test "x$LINE" != x ; then
5326 eval "DEFAULT_$LINE"
5327 else
5328 no_cache=1
5329 fi
5330
5331 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5332
5333 fi;
5334
5335 eval "$ac_cv_use_streams"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5338 fi
5339
5340 if test "$wxUSE_STREAMS" = yes; then
5341 echo "$as_me:$LINENO: result: yes" >&5
5342 echo "${ECHO_T}yes" >&6
5343 else
5344 echo "$as_me:$LINENO: result: no" >&5
5345 echo "${ECHO_T}no" >&6
5346 fi
5347
5348
5349 enablestring=
5350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5351 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5352 no_cache=0
5353 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5354 if test "${enable_std_iostreams+set}" = set; then
5355 enableval="$enable_std_iostreams"
5356
5357 if test "$enableval" = yes; then
5358 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5359 else
5360 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5361 fi
5362
5363 else
5364
5365 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x ; then
5367 eval "DEFAULT_$LINE"
5368 else
5369 no_cache=1
5370 fi
5371
5372 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5373
5374 fi;
5375
5376 eval "$ac_cv_use_std_iostreams"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5379 fi
5380
5381 if test "$wxUSE_STD_IOSTREAM" = yes; then
5382 echo "$as_me:$LINENO: result: yes" >&5
5383 echo "${ECHO_T}yes" >&6
5384 else
5385 echo "$as_me:$LINENO: result: no" >&5
5386 echo "${ECHO_T}no" >&6
5387 fi
5388
5389
5390 enablestring=
5391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5392 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5393 no_cache=0
5394 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5395 if test "${enable_stopwatch+set}" = set; then
5396 enableval="$enable_stopwatch"
5397
5398 if test "$enableval" = yes; then
5399 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5400 else
5401 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5402 fi
5403
5404 else
5405
5406 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x ; then
5408 eval "DEFAULT_$LINE"
5409 else
5410 no_cache=1
5411 fi
5412
5413 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5414
5415 fi;
5416
5417 eval "$ac_cv_use_stopwatch"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5420 fi
5421
5422 if test "$wxUSE_STOPWATCH" = yes; then
5423 echo "$as_me:$LINENO: result: yes" >&5
5424 echo "${ECHO_T}yes" >&6
5425 else
5426 echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6
5428 fi
5429
5430
5431 enablestring=
5432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5433 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5434 no_cache=0
5435 # Check whether --enable-system_options or --disable-system_options was given.
5436 if test "${enable_system_options+set}" = set; then
5437 enableval="$enable_system_options"
5438
5439 if test "$enableval" = yes; then
5440 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5441 else
5442 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5443 fi
5444
5445 else
5446
5447 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x ; then
5449 eval "DEFAULT_$LINE"
5450 else
5451 no_cache=1
5452 fi
5453
5454 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5455
5456 fi;
5457
5458 eval "$ac_cv_use_system_options"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5461 fi
5462
5463 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5464 echo "$as_me:$LINENO: result: yes" >&5
5465 echo "${ECHO_T}yes" >&6
5466 else
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5469 fi
5470
5471
5472 enablestring=
5473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5474 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5475 no_cache=0
5476 # Check whether --enable-textbuf or --disable-textbuf was given.
5477 if test "${enable_textbuf+set}" = set; then
5478 enableval="$enable_textbuf"
5479
5480 if test "$enableval" = yes; then
5481 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5482 else
5483 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5484 fi
5485
5486 else
5487
5488 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x ; then
5490 eval "DEFAULT_$LINE"
5491 else
5492 no_cache=1
5493 fi
5494
5495 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5496
5497 fi;
5498
5499 eval "$ac_cv_use_textbuf"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5502 fi
5503
5504 if test "$wxUSE_TEXTBUFFER" = yes; then
5505 echo "$as_me:$LINENO: result: yes" >&5
5506 echo "${ECHO_T}yes" >&6
5507 else
5508 echo "$as_me:$LINENO: result: no" >&5
5509 echo "${ECHO_T}no" >&6
5510 fi
5511
5512
5513 enablestring=
5514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5515 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5516 no_cache=0
5517 # Check whether --enable-textfile or --disable-textfile was given.
5518 if test "${enable_textfile+set}" = set; then
5519 enableval="$enable_textfile"
5520
5521 if test "$enableval" = yes; then
5522 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
5523 else
5524 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
5525 fi
5526
5527 else
5528
5529 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x ; then
5531 eval "DEFAULT_$LINE"
5532 else
5533 no_cache=1
5534 fi
5535
5536 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5537
5538 fi;
5539
5540 eval "$ac_cv_use_textfile"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
5543 fi
5544
5545 if test "$wxUSE_TEXTFILE" = yes; then
5546 echo "$as_me:$LINENO: result: yes" >&5
5547 echo "${ECHO_T}yes" >&6
5548 else
5549 echo "$as_me:$LINENO: result: no" >&5
5550 echo "${ECHO_T}no" >&6
5551 fi
5552
5553
5554 enablestring=
5555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
5556 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
5557 no_cache=0
5558 # Check whether --enable-timer or --disable-timer was given.
5559 if test "${enable_timer+set}" = set; then
5560 enableval="$enable_timer"
5561
5562 if test "$enableval" = yes; then
5563 ac_cv_use_timer='wxUSE_TIMER=yes'
5564 else
5565 ac_cv_use_timer='wxUSE_TIMER=no'
5566 fi
5567
5568 else
5569
5570 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x ; then
5572 eval "DEFAULT_$LINE"
5573 else
5574 no_cache=1
5575 fi
5576
5577 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
5578
5579 fi;
5580
5581 eval "$ac_cv_use_timer"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
5584 fi
5585
5586 if test "$wxUSE_TIMER" = yes; then
5587 echo "$as_me:$LINENO: result: yes" >&5
5588 echo "${ECHO_T}yes" >&6
5589 else
5590 echo "$as_me:$LINENO: result: no" >&5
5591 echo "${ECHO_T}no" >&6
5592 fi
5593
5594
5595 enablestring=
5596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5597 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
5598 no_cache=0
5599 # Check whether --enable-unicode or --disable-unicode was given.
5600 if test "${enable_unicode+set}" = set; then
5601 enableval="$enable_unicode"
5602
5603 if test "$enableval" = yes; then
5604 ac_cv_use_unicode='wxUSE_UNICODE=yes'
5605 else
5606 ac_cv_use_unicode='wxUSE_UNICODE=no'
5607 fi
5608
5609 else
5610
5611 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x ; then
5613 eval "DEFAULT_$LINE"
5614 else
5615 no_cache=1
5616 fi
5617
5618 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5619
5620 fi;
5621
5622 eval "$ac_cv_use_unicode"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
5625 fi
5626
5627 if test "$wxUSE_UNICODE" = yes; then
5628 echo "$as_me:$LINENO: result: yes" >&5
5629 echo "${ECHO_T}yes" >&6
5630 else
5631 echo "$as_me:$LINENO: result: no" >&5
5632 echo "${ECHO_T}no" >&6
5633 fi
5634
5635
5636 enablestring=
5637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
5638 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
5639 no_cache=0
5640 # Check whether --enable-sound or --disable-sound was given.
5641 if test "${enable_sound+set}" = set; then
5642 enableval="$enable_sound"
5643
5644 if test "$enableval" = yes; then
5645 ac_cv_use_sound='wxUSE_SOUND=yes'
5646 else
5647 ac_cv_use_sound='wxUSE_SOUND=no'
5648 fi
5649
5650 else
5651
5652 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
5653 if test "x$LINE" != x ; then
5654 eval "DEFAULT_$LINE"
5655 else
5656 no_cache=1
5657 fi
5658
5659 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
5660
5661 fi;
5662
5663 eval "$ac_cv_use_sound"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
5666 fi
5667
5668 if test "$wxUSE_SOUND" = yes; then
5669 echo "$as_me:$LINENO: result: yes" >&5
5670 echo "${ECHO_T}yes" >&6
5671 else
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5674 fi
5675
5676
5677 enablestring=
5678 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
5680 no_cache=0
5681 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
5682 if test "${enable_wxprintfv+set}" = set; then
5683 enableval="$enable_wxprintfv"
5684
5685 if test "$enableval" = yes; then
5686 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
5687 else
5688 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
5689 fi
5690
5691 else
5692
5693 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${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_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
5701
5702 fi;
5703
5704 eval "$ac_cv_use_wxprintfv"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
5707 fi
5708
5709 if test "$wxUSE_EXPERIMENTAL_PRINTF" = 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 enablestring=
5719 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
5720 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
5721 no_cache=0
5722 # Check whether --enable-zipstream or --disable-zipstream was given.
5723 if test "${enable_zipstream+set}" = set; then
5724 enableval="$enable_zipstream"
5725
5726 if test "$enableval" = yes; then
5727 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
5728 else
5729 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
5730 fi
5731
5732 else
5733
5734 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x ; then
5736 eval "DEFAULT_$LINE"
5737 else
5738 no_cache=1
5739 fi
5740
5741 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
5742
5743 fi;
5744
5745 eval "$ac_cv_use_zipstream"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
5748 fi
5749
5750 if test "$wxUSE_ZIPSTREAM" = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5753 else
5754 echo "$as_me:$LINENO: result: no" >&5
5755 echo "${ECHO_T}no" >&6
5756 fi
5757
5758
5759
5760 enablestring=
5761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
5763 no_cache=0
5764 # Check whether --enable-url or --disable-url was given.
5765 if test "${enable_url+set}" = set; then
5766 enableval="$enable_url"
5767
5768 if test "$enableval" = yes; then
5769 ac_cv_use_url='wxUSE_URL=yes'
5770 else
5771 ac_cv_use_url='wxUSE_URL=no'
5772 fi
5773
5774 else
5775
5776 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x ; then
5778 eval "DEFAULT_$LINE"
5779 else
5780 no_cache=1
5781 fi
5782
5783 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
5784
5785 fi;
5786
5787 eval "$ac_cv_use_url"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
5790 fi
5791
5792 if test "$wxUSE_URL" = yes; then
5793 echo "$as_me:$LINENO: result: yes" >&5
5794 echo "${ECHO_T}yes" >&6
5795 else
5796 echo "$as_me:$LINENO: result: no" >&5
5797 echo "${ECHO_T}no" >&6
5798 fi
5799
5800
5801 enablestring=
5802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
5803 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
5804 no_cache=0
5805 # Check whether --enable-protocol or --disable-protocol was given.
5806 if test "${enable_protocol+set}" = set; then
5807 enableval="$enable_protocol"
5808
5809 if test "$enableval" = yes; then
5810 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
5811 else
5812 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
5813 fi
5814
5815 else
5816
5817 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5818 if test "x$LINE" != x ; then
5819 eval "DEFAULT_$LINE"
5820 else
5821 no_cache=1
5822 fi
5823
5824 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5825
5826 fi;
5827
5828 eval "$ac_cv_use_protocol"
5829 if test "$no_cache" != 1; then
5830 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
5831 fi
5832
5833 if test "$wxUSE_PROTOCOL" = yes; then
5834 echo "$as_me:$LINENO: result: yes" >&5
5835 echo "${ECHO_T}yes" >&6
5836 else
5837 echo "$as_me:$LINENO: result: no" >&5
5838 echo "${ECHO_T}no" >&6
5839 fi
5840
5841
5842 enablestring=
5843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
5845 no_cache=0
5846 # Check whether --enable-protocol_http or --disable-protocol_http was given.
5847 if test "${enable_protocol_http+set}" = set; then
5848 enableval="$enable_protocol_http"
5849
5850 if test "$enableval" = yes; then
5851 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
5852 else
5853 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
5854 fi
5855
5856 else
5857
5858 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x ; then
5860 eval "DEFAULT_$LINE"
5861 else
5862 no_cache=1
5863 fi
5864
5865 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5866
5867 fi;
5868
5869 eval "$ac_cv_use_protocol_http"
5870 if test "$no_cache" != 1; then
5871 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
5872 fi
5873
5874 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5875 echo "$as_me:$LINENO: result: yes" >&5
5876 echo "${ECHO_T}yes" >&6
5877 else
5878 echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882
5883 enablestring=
5884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
5885 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
5886 no_cache=0
5887 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
5888 if test "${enable_protocol_ftp+set}" = set; then
5889 enableval="$enable_protocol_ftp"
5890
5891 if test "$enableval" = yes; then
5892 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
5893 else
5894 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
5895 fi
5896
5897 else
5898
5899 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x ; then
5901 eval "DEFAULT_$LINE"
5902 else
5903 no_cache=1
5904 fi
5905
5906 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5907
5908 fi;
5909
5910 eval "$ac_cv_use_protocol_ftp"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
5913 fi
5914
5915 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5916 echo "$as_me:$LINENO: result: yes" >&5
5917 echo "${ECHO_T}yes" >&6
5918 else
5919 echo "$as_me:$LINENO: result: no" >&5
5920 echo "${ECHO_T}no" >&6
5921 fi
5922
5923
5924 enablestring=
5925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
5927 no_cache=0
5928 # Check whether --enable-protocol_file or --disable-protocol_file was given.
5929 if test "${enable_protocol_file+set}" = set; then
5930 enableval="$enable_protocol_file"
5931
5932 if test "$enableval" = yes; then
5933 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
5934 else
5935 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
5936 fi
5937
5938 else
5939
5940 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x ; then
5942 eval "DEFAULT_$LINE"
5943 else
5944 no_cache=1
5945 fi
5946
5947 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5948
5949 fi;
5950
5951 eval "$ac_cv_use_protocol_file"
5952 if test "$no_cache" != 1; then
5953 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5954 fi
5955
5956 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5957 echo "$as_me:$LINENO: result: yes" >&5
5958 echo "${ECHO_T}yes" >&6
5959 else
5960 echo "$as_me:$LINENO: result: no" >&5
5961 echo "${ECHO_T}no" >&6
5962 fi
5963
5964
5965
5966
5967
5968 enablestring=
5969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
5970 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
5971 no_cache=0
5972 # Check whether --enable-threads or --disable-threads was given.
5973 if test "${enable_threads+set}" = set; then
5974 enableval="$enable_threads"
5975
5976 if test "$enableval" = yes; then
5977 ac_cv_use_threads='wxUSE_THREADS=yes'
5978 else
5979 ac_cv_use_threads='wxUSE_THREADS=no'
5980 fi
5981
5982 else
5983
5984 LINE=`grep "wxUSE_THREADS" ${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_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5992
5993 fi;
5994
5995 eval "$ac_cv_use_threads"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5998 fi
5999
6000 if test "$wxUSE_THREADS" = 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 if test "$wxUSE_GUI" = "yes"; then
6010
6011
6012
6013 enablestring=
6014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6016 no_cache=0
6017 # Check whether --enable-docview or --disable-docview was given.
6018 if test "${enable_docview+set}" = set; then
6019 enableval="$enable_docview"
6020
6021 if test "$enableval" = yes; then
6022 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6023 else
6024 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6025 fi
6026
6027 else
6028
6029 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x ; then
6031 eval "DEFAULT_$LINE"
6032 else
6033 no_cache=1
6034 fi
6035
6036 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6037
6038 fi;
6039
6040 eval "$ac_cv_use_docview"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6043 fi
6044
6045 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6046 echo "$as_me:$LINENO: result: yes" >&5
6047 echo "${ECHO_T}yes" >&6
6048 else
6049 echo "$as_me:$LINENO: result: no" >&5
6050 echo "${ECHO_T}no" >&6
6051 fi
6052
6053
6054 enablestring=
6055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6056 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6057 no_cache=0
6058 # Check whether --enable-help or --disable-help was given.
6059 if test "${enable_help+set}" = set; then
6060 enableval="$enable_help"
6061
6062 if test "$enableval" = yes; then
6063 ac_cv_use_help='wxUSE_HELP=yes'
6064 else
6065 ac_cv_use_help='wxUSE_HELP=no'
6066 fi
6067
6068 else
6069
6070 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x ; then
6072 eval "DEFAULT_$LINE"
6073 else
6074 no_cache=1
6075 fi
6076
6077 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6078
6079 fi;
6080
6081 eval "$ac_cv_use_help"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6084 fi
6085
6086 if test "$wxUSE_HELP" = yes; then
6087 echo "$as_me:$LINENO: result: yes" >&5
6088 echo "${ECHO_T}yes" >&6
6089 else
6090 echo "$as_me:$LINENO: result: no" >&5
6091 echo "${ECHO_T}no" >&6
6092 fi
6093
6094
6095 enablestring=
6096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6097 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6098 no_cache=0
6099 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6100 if test "${enable_mshtmlhelp+set}" = set; then
6101 enableval="$enable_mshtmlhelp"
6102
6103 if test "$enableval" = yes; then
6104 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6105 else
6106 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6107 fi
6108
6109 else
6110
6111 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x ; then
6113 eval "DEFAULT_$LINE"
6114 else
6115 no_cache=1
6116 fi
6117
6118 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6119
6120 fi;
6121
6122 eval "$ac_cv_use_mshtmlhelp"
6123 if test "$no_cache" != 1; then
6124 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6125 fi
6126
6127 if test "$wxUSE_MS_HTML_HELP" = yes; then
6128 echo "$as_me:$LINENO: result: yes" >&5
6129 echo "${ECHO_T}yes" >&6
6130 else
6131 echo "$as_me:$LINENO: result: no" >&5
6132 echo "${ECHO_T}no" >&6
6133 fi
6134
6135
6136 enablestring=
6137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6138 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6139 no_cache=0
6140 # Check whether --enable-html or --disable-html was given.
6141 if test "${enable_html+set}" = set; then
6142 enableval="$enable_html"
6143
6144 if test "$enableval" = yes; then
6145 ac_cv_use_html='wxUSE_HTML=yes'
6146 else
6147 ac_cv_use_html='wxUSE_HTML=no'
6148 fi
6149
6150 else
6151
6152 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x ; then
6154 eval "DEFAULT_$LINE"
6155 else
6156 no_cache=1
6157 fi
6158
6159 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6160
6161 fi;
6162
6163 eval "$ac_cv_use_html"
6164 if test "$no_cache" != 1; then
6165 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6166 fi
6167
6168 if test "$wxUSE_HTML" = yes; then
6169 echo "$as_me:$LINENO: result: yes" >&5
6170 echo "${ECHO_T}yes" >&6
6171 else
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6174 fi
6175
6176
6177 enablestring=
6178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6179 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6180 no_cache=0
6181 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6182 if test "${enable_htmlhelp+set}" = set; then
6183 enableval="$enable_htmlhelp"
6184
6185 if test "$enableval" = yes; then
6186 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6187 else
6188 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6189 fi
6190
6191 else
6192
6193 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x ; then
6195 eval "DEFAULT_$LINE"
6196 else
6197 no_cache=1
6198 fi
6199
6200 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6201
6202 fi;
6203
6204 eval "$ac_cv_use_htmlhelp"
6205 if test "$no_cache" != 1; then
6206 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6207 fi
6208
6209 if test "$wxUSE_WXHTML_HELP" = yes; then
6210 echo "$as_me:$LINENO: result: yes" >&5
6211 echo "${ECHO_T}yes" >&6
6212 else
6213 echo "$as_me:$LINENO: result: no" >&5
6214 echo "${ECHO_T}no" >&6
6215 fi
6216
6217
6218 enablestring=
6219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6221 no_cache=0
6222 # Check whether --enable-constraints or --disable-constraints was given.
6223 if test "${enable_constraints+set}" = set; then
6224 enableval="$enable_constraints"
6225
6226 if test "$enableval" = yes; then
6227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6228 else
6229 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6230 fi
6231
6232 else
6233
6234 LINE=`grep "wxUSE_CONSTRAINTS" ${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_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6242
6243 fi;
6244
6245 eval "$ac_cv_use_constraints"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6248 fi
6249
6250 if test "$wxUSE_CONSTRAINTS" = 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}-printarch" >&5
6261 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6262 no_cache=0
6263 # Check whether --enable-printarch or --disable-printarch was given.
6264 if test "${enable_printarch+set}" = set; then
6265 enableval="$enable_printarch"
6266
6267 if test "$enableval" = yes; then
6268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6269 else
6270 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6271 fi
6272
6273 else
6274
6275 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${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_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6283
6284 fi;
6285
6286 eval "$ac_cv_use_printarch"
6287 if test "$no_cache" != 1; then
6288 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6289 fi
6290
6291 if test "$wxUSE_PRINTING_ARCHITECTURE" = 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 enablestring=
6301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6302 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6303 no_cache=0
6304 # Check whether --enable-mdi or --disable-mdi was given.
6305 if test "${enable_mdi+set}" = set; then
6306 enableval="$enable_mdi"
6307
6308 if test "$enableval" = yes; then
6309 ac_cv_use_mdi='wxUSE_MDI=yes'
6310 else
6311 ac_cv_use_mdi='wxUSE_MDI=no'
6312 fi
6313
6314 else
6315
6316 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x ; then
6318 eval "DEFAULT_$LINE"
6319 else
6320 no_cache=1
6321 fi
6322
6323 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6324
6325 fi;
6326
6327 eval "$ac_cv_use_mdi"
6328 if test "$no_cache" != 1; then
6329 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6330 fi
6331
6332 if test "$wxUSE_MDI" = yes; then
6333 echo "$as_me:$LINENO: result: yes" >&5
6334 echo "${ECHO_T}yes" >&6
6335 else
6336 echo "$as_me:$LINENO: result: no" >&5
6337 echo "${ECHO_T}no" >&6
6338 fi
6339
6340
6341 enablestring=
6342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6344 no_cache=0
6345 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6346 if test "${enable_mdidoc+set}" = set; then
6347 enableval="$enable_mdidoc"
6348
6349 if test "$enableval" = yes; then
6350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6351 else
6352 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6353 fi
6354
6355 else
6356
6357 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x ; then
6359 eval "DEFAULT_$LINE"
6360 else
6361 no_cache=1
6362 fi
6363
6364 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6365
6366 fi;
6367
6368 eval "$ac_cv_use_mdidoc"
6369 if test "$no_cache" != 1; then
6370 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6371 fi
6372
6373 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6376 else
6377 echo "$as_me:$LINENO: result: no" >&5
6378 echo "${ECHO_T}no" >&6
6379 fi
6380
6381
6382 enablestring=
6383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6385 no_cache=0
6386 # Check whether --enable-loggui or --disable-loggui was given.
6387 if test "${enable_loggui+set}" = set; then
6388 enableval="$enable_loggui"
6389
6390 if test "$enableval" = yes; then
6391 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6392 else
6393 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6394 fi
6395
6396 else
6397
6398 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x ; then
6400 eval "DEFAULT_$LINE"
6401 else
6402 no_cache=1
6403 fi
6404
6405 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6406
6407 fi;
6408
6409 eval "$ac_cv_use_loggui"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6412 fi
6413
6414 if test "$wxUSE_LOGGUI" = yes; then
6415 echo "$as_me:$LINENO: result: yes" >&5
6416 echo "${ECHO_T}yes" >&6
6417 else
6418 echo "$as_me:$LINENO: result: no" >&5
6419 echo "${ECHO_T}no" >&6
6420 fi
6421
6422
6423 enablestring=
6424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6426 no_cache=0
6427 # Check whether --enable-logwin or --disable-logwin was given.
6428 if test "${enable_logwin+set}" = set; then
6429 enableval="$enable_logwin"
6430
6431 if test "$enableval" = yes; then
6432 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6433 else
6434 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6435 fi
6436
6437 else
6438
6439 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x ; then
6441 eval "DEFAULT_$LINE"
6442 else
6443 no_cache=1
6444 fi
6445
6446 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
6447
6448 fi;
6449
6450 eval "$ac_cv_use_logwin"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
6453 fi
6454
6455 if test "$wxUSE_LOGWINDOW" = yes; then
6456 echo "$as_me:$LINENO: result: yes" >&5
6457 echo "${ECHO_T}yes" >&6
6458 else
6459 echo "$as_me:$LINENO: result: no" >&5
6460 echo "${ECHO_T}no" >&6
6461 fi
6462
6463
6464 enablestring=
6465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
6466 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
6467 no_cache=0
6468 # Check whether --enable-logdialog or --disable-logdialog was given.
6469 if test "${enable_logdialog+set}" = set; then
6470 enableval="$enable_logdialog"
6471
6472 if test "$enableval" = yes; then
6473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
6474 else
6475 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
6476 fi
6477
6478 else
6479
6480 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x ; then
6482 eval "DEFAULT_$LINE"
6483 else
6484 no_cache=1
6485 fi
6486
6487 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
6488
6489 fi;
6490
6491 eval "$ac_cv_use_logdialog"
6492 if test "$no_cache" != 1; then
6493 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
6494 fi
6495
6496 if test "$wxUSE_LOGDIALOG" = yes; then
6497 echo "$as_me:$LINENO: result: yes" >&5
6498 echo "${ECHO_T}yes" >&6
6499 else
6500 echo "$as_me:$LINENO: result: no" >&5
6501 echo "${ECHO_T}no" >&6
6502 fi
6503
6504
6505
6506 enablestring=
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
6509 no_cache=0
6510 # Check whether --enable-postscript or --disable-postscript was given.
6511 if test "${enable_postscript+set}" = set; then
6512 enableval="$enable_postscript"
6513
6514 if test "$enableval" = yes; then
6515 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
6516 else
6517 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
6518 fi
6519
6520 else
6521
6522 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6525 else
6526 no_cache=1
6527 fi
6528
6529 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
6530
6531 fi;
6532
6533 eval "$ac_cv_use_postscript"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test "$wxUSE_POSTSCRIPT" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6541 else
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6544 fi
6545
6546
6547
6548
6549
6550 enablestring=
6551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
6553 no_cache=0
6554 # Check whether --enable-prologio or --disable-prologio was given.
6555 if test "${enable_prologio+set}" = set; then
6556 enableval="$enable_prologio"
6557
6558 if test "$enableval" = yes; then
6559 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
6560 else
6561 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
6562 fi
6563
6564 else
6565
6566 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
6567 if test "x$LINE" != x ; then
6568 eval "DEFAULT_$LINE"
6569 else
6570 no_cache=1
6571 fi
6572
6573 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
6574
6575 fi;
6576
6577 eval "$ac_cv_use_prologio"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_PROLOGIO" = yes; then
6583 echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6
6585 else
6586 echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6
6588 fi
6589
6590
6591 enablestring=
6592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
6594 no_cache=0
6595 # Check whether --enable-resources or --disable-resources was given.
6596 if test "${enable_resources+set}" = set; then
6597 enableval="$enable_resources"
6598
6599 if test "$enableval" = yes; then
6600 ac_cv_use_resources='wxUSE_RESOURCES=yes'
6601 else
6602 ac_cv_use_resources='wxUSE_RESOURCES=no'
6603 fi
6604
6605 else
6606
6607 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x ; then
6609 eval "DEFAULT_$LINE"
6610 else
6611 no_cache=1
6612 fi
6613
6614 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
6615
6616 fi;
6617
6618 eval "$ac_cv_use_resources"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_RESOURCES" = yes; then
6624 echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6
6626 else
6627 echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6
6629 fi
6630
6631
6632
6633
6634 enablestring=
6635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
6636 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
6637 no_cache=0
6638 # Check whether --enable-clipboard or --disable-clipboard was given.
6639 if test "${enable_clipboard+set}" = set; then
6640 enableval="$enable_clipboard"
6641
6642 if test "$enableval" = yes; then
6643 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
6644 else
6645 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
6646 fi
6647
6648 else
6649
6650 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
6651 if test "x$LINE" != x ; then
6652 eval "DEFAULT_$LINE"
6653 else
6654 no_cache=1
6655 fi
6656
6657 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
6658
6659 fi;
6660
6661 eval "$ac_cv_use_clipboard"
6662 if test "$no_cache" != 1; then
6663 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
6664 fi
6665
6666 if test "$wxUSE_CLIPBOARD" = yes; then
6667 echo "$as_me:$LINENO: result: yes" >&5
6668 echo "${ECHO_T}yes" >&6
6669 else
6670 echo "$as_me:$LINENO: result: no" >&5
6671 echo "${ECHO_T}no" >&6
6672 fi
6673
6674
6675 enablestring=
6676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
6677 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
6678 no_cache=0
6679 # Check whether --enable-dnd or --disable-dnd was given.
6680 if test "${enable_dnd+set}" = set; then
6681 enableval="$enable_dnd"
6682
6683 if test "$enableval" = yes; then
6684 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
6685 else
6686 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
6687 fi
6688
6689 else
6690
6691 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
6692 if test "x$LINE" != x ; then
6693 eval "DEFAULT_$LINE"
6694 else
6695 no_cache=1
6696 fi
6697
6698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
6699
6700 fi;
6701
6702 eval "$ac_cv_use_dnd"
6703 if test "$no_cache" != 1; then
6704 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
6705 fi
6706
6707 if test "$wxUSE_DRAG_AND_DROP" = yes; then
6708 echo "$as_me:$LINENO: result: yes" >&5
6709 echo "${ECHO_T}yes" >&6
6710 else
6711 echo "$as_me:$LINENO: result: no" >&5
6712 echo "${ECHO_T}no" >&6
6713 fi
6714
6715
6716 enablestring=
6717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
6718 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
6719 no_cache=0
6720 # Check whether --enable-metafile or --disable-metafile was given.
6721 if test "${enable_metafile+set}" = set; then
6722 enableval="$enable_metafile"
6723
6724 if test "$enableval" = yes; then
6725 ac_cv_use_metafile='wxUSE_METAFILE=yes'
6726 else
6727 ac_cv_use_metafile='wxUSE_METAFILE=no'
6728 fi
6729
6730 else
6731
6732 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
6733 if test "x$LINE" != x ; then
6734 eval "DEFAULT_$LINE"
6735 else
6736 no_cache=1
6737 fi
6738
6739 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
6740
6741 fi;
6742
6743 eval "$ac_cv_use_metafile"
6744 if test "$no_cache" != 1; then
6745 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
6746 fi
6747
6748 if test "$wxUSE_METAFILE" = yes; then
6749 echo "$as_me:$LINENO: result: yes" >&5
6750 echo "${ECHO_T}yes" >&6
6751 else
6752 echo "$as_me:$LINENO: result: no" >&5
6753 echo "${ECHO_T}no" >&6
6754 fi
6755
6756
6757
6758
6759
6760 enablestring=
6761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
6762 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
6763 no_cache=0
6764 # Check whether --enable-controls or --disable-controls was given.
6765 if test "${enable_controls+set}" = set; then
6766 enableval="$enable_controls"
6767
6768 if test "$enableval" = yes; then
6769 ac_cv_use_controls='wxUSE_CONTROLS=yes'
6770 else
6771 ac_cv_use_controls='wxUSE_CONTROLS=no'
6772 fi
6773
6774 else
6775
6776 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x ; then
6778 eval "DEFAULT_$LINE"
6779 else
6780 no_cache=1
6781 fi
6782
6783 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
6784
6785 fi;
6786
6787 eval "$ac_cv_use_controls"
6788 if test "$no_cache" != 1; then
6789 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
6790 fi
6791
6792 if test "$wxUSE_CONTROLS" = yes; then
6793 echo "$as_me:$LINENO: result: yes" >&5
6794 echo "${ECHO_T}yes" >&6
6795 else
6796 echo "$as_me:$LINENO: result: no" >&5
6797 echo "${ECHO_T}no" >&6
6798 fi
6799
6800
6801 if test "$wxUSE_CONTROLS" = "yes"; then
6802 DEFAULT_wxUSE_ACCEL=yes
6803 DEFAULT_wxUSE_BMPBUTTON=yes
6804 DEFAULT_wxUSE_BUTTON=yes
6805 DEFAULT_wxUSE_CALCTRL=no
6806 DEFAULT_wxUSE_CARET=yes
6807 DEFAULT_wxUSE_COMBOBOX=yes
6808 DEFAULT_wxUSE_CHECKBOX=yes
6809 DEFAULT_wxUSE_CHECKLISTBOX=yes
6810 DEFAULT_wxUSE_CHOICE=yes
6811 DEFAULT_wxUSE_GAUGE=yes
6812 DEFAULT_wxUSE_GRID=yes
6813 DEFAULT_wxUSE_IMAGLIST=yes
6814 DEFAULT_wxUSE_LISTBOOK=yes
6815 DEFAULT_wxUSE_LISTBOX=yes
6816 DEFAULT_wxUSE_LISTCTRL=yes
6817 DEFAULT_wxUSE_NOTEBOOK=yes
6818 DEFAULT_wxUSE_RADIOBOX=yes
6819 DEFAULT_wxUSE_RADIOBTN=yes
6820 DEFAULT_wxUSE_SASH=yes
6821 DEFAULT_wxUSE_SCROLLBAR=yes
6822 DEFAULT_wxUSE_SLIDER=yes
6823 DEFAULT_wxUSE_SPINBTN=yes
6824 DEFAULT_wxUSE_SPINCTRL=yes
6825 DEFAULT_wxUSE_SPLITTER=yes
6826 DEFAULT_wxUSE_STATBMP=yes
6827 DEFAULT_wxUSE_STATBOX=yes
6828 DEFAULT_wxUSE_STATLINE=yes
6829 DEFAULT_wxUSE_STATUSBAR=yes
6830 DEFAULT_wxUSE_TAB_DIALOG=yes
6831 DEFAULT_wxUSE_TOGGLEBTN=yes
6832 DEFAULT_wxUSE_TOOLBAR=yes
6833 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
6834 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
6835 DEFAULT_wxUSE_TOOLTIPS=yes
6836 DEFAULT_wxUSE_TREECTRL=yes
6837 DEFAULT_wxUSE_POPUPWIN=yes
6838 DEFAULT_wxUSE_TIPWINDOW=yes
6839 elif test "$wxUSE_CONTROLS" = "no"; then
6840 DEFAULT_wxUSE_ACCEL=no
6841 DEFAULT_wxUSE_BMPBUTTON=no
6842 DEFAULT_wxUSE_BUTTON=no
6843 DEFAULT_wxUSE_CALCTRL=no
6844 DEFAULT_wxUSE_CARET=no
6845 DEFAULT_wxUSE_COMBOBOX=no
6846 DEFAULT_wxUSE_CHECKBOX=no
6847 DEFAULT_wxUSE_CHECKLISTBOX=no
6848 DEFAULT_wxUSE_CHOICE=no
6849 DEFAULT_wxUSE_GAUGE=no
6850 DEFAULT_wxUSE_GRID=no
6851 DEFAULT_wxUSE_IMAGLIST=no
6852 DEFAULT_wxUSE_LISTBOOK=no
6853 DEFAULT_wxUSE_LISTBOX=no
6854 DEFAULT_wxUSE_LISTCTRL=no
6855 DEFAULT_wxUSE_NOTEBOOK=no
6856 DEFAULT_wxUSE_RADIOBOX=no
6857 DEFAULT_wxUSE_RADIOBTN=no
6858 DEFAULT_wxUSE_SASH=no
6859 DEFAULT_wxUSE_SCROLLBAR=no
6860 DEFAULT_wxUSE_SLIDER=no
6861 DEFAULT_wxUSE_SPINBTN=no
6862 DEFAULT_wxUSE_SPINCTRL=no
6863 DEFAULT_wxUSE_SPLITTER=no
6864 DEFAULT_wxUSE_STATBMP=no
6865 DEFAULT_wxUSE_STATBOX=no
6866 DEFAULT_wxUSE_STATLINE=no
6867 DEFAULT_wxUSE_STATUSBAR=no
6868 DEFAULT_wxUSE_TAB_DIALOG=no
6869 DEFAULT_wxUSE_TOGGLEBTN=no
6870 DEFAULT_wxUSE_TOOLBAR=no
6871 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
6872 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
6873 DEFAULT_wxUSE_TOOLTIPS=no
6874 DEFAULT_wxUSE_TREECTRL=no
6875 DEFAULT_wxUSE_POPUPWIN=no
6876 DEFAULT_wxUSE_TIPWINDOW=no
6877 fi
6878
6879 ## FIXME: This is a blatant hack
6880 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
6881 wxUSE_PRINTING_ARCHITECTURE=no
6882 wxUSE_DRAG_AND_DROP=no
6883 # Generic notebook requires tab dialog
6884 DEFAULT_wxUSE_TABDIALOG=yes
6885 DEFAULT_wxUSE_SCROLLBAR=no
6886 DEFAULT_wxUSE_TOOLTIPS=no
6887 DEFAULT_wxUSE_DRAGIMAGE=no
6888 fi
6889
6890
6891 enablestring=
6892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
6893 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
6894 no_cache=0
6895 # Check whether --enable-accel or --disable-accel was given.
6896 if test "${enable_accel+set}" = set; then
6897 enableval="$enable_accel"
6898
6899 if test "$enableval" = yes; then
6900 ac_cv_use_accel='wxUSE_ACCEL=yes'
6901 else
6902 ac_cv_use_accel='wxUSE_ACCEL=no'
6903 fi
6904
6905 else
6906
6907 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x ; then
6909 eval "DEFAULT_$LINE"
6910 else
6911 no_cache=1
6912 fi
6913
6914 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6915
6916 fi;
6917
6918 eval "$ac_cv_use_accel"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6921 fi
6922
6923 if test "$wxUSE_ACCEL" = yes; then
6924 echo "$as_me:$LINENO: result: yes" >&5
6925 echo "${ECHO_T}yes" >&6
6926 else
6927 echo "$as_me:$LINENO: result: no" >&5
6928 echo "${ECHO_T}no" >&6
6929 fi
6930
6931
6932 enablestring=
6933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
6934 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
6935 no_cache=0
6936 # Check whether --enable-button or --disable-button was given.
6937 if test "${enable_button+set}" = set; then
6938 enableval="$enable_button"
6939
6940 if test "$enableval" = yes; then
6941 ac_cv_use_button='wxUSE_BUTTON=yes'
6942 else
6943 ac_cv_use_button='wxUSE_BUTTON=no'
6944 fi
6945
6946 else
6947
6948 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x ; then
6950 eval "DEFAULT_$LINE"
6951 else
6952 no_cache=1
6953 fi
6954
6955 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6956
6957 fi;
6958
6959 eval "$ac_cv_use_button"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6962 fi
6963
6964 if test "$wxUSE_BUTTON" = yes; then
6965 echo "$as_me:$LINENO: result: yes" >&5
6966 echo "${ECHO_T}yes" >&6
6967 else
6968 echo "$as_me:$LINENO: result: no" >&5
6969 echo "${ECHO_T}no" >&6
6970 fi
6971
6972
6973 enablestring=
6974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
6975 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
6976 no_cache=0
6977 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6978 if test "${enable_bmpbutton+set}" = set; then
6979 enableval="$enable_bmpbutton"
6980
6981 if test "$enableval" = yes; then
6982 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
6983 else
6984 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
6985 fi
6986
6987 else
6988
6989 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x ; then
6991 eval "DEFAULT_$LINE"
6992 else
6993 no_cache=1
6994 fi
6995
6996 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6997
6998 fi;
6999
7000 eval "$ac_cv_use_bmpbutton"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7003 fi
7004
7005 if test "$wxUSE_BMPBUTTON" = yes; then
7006 echo "$as_me:$LINENO: result: yes" >&5
7007 echo "${ECHO_T}yes" >&6
7008 else
7009 echo "$as_me:$LINENO: result: no" >&5
7010 echo "${ECHO_T}no" >&6
7011 fi
7012
7013
7014 enablestring=
7015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7016 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7017 no_cache=0
7018 # Check whether --enable-calendar or --disable-calendar was given.
7019 if test "${enable_calendar+set}" = set; then
7020 enableval="$enable_calendar"
7021
7022 if test "$enableval" = yes; then
7023 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7024 else
7025 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7026 fi
7027
7028 else
7029
7030 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x ; then
7032 eval "DEFAULT_$LINE"
7033 else
7034 no_cache=1
7035 fi
7036
7037 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7038
7039 fi;
7040
7041 eval "$ac_cv_use_calendar"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7044 fi
7045
7046 if test "$wxUSE_CALCTRL" = yes; then
7047 echo "$as_me:$LINENO: result: yes" >&5
7048 echo "${ECHO_T}yes" >&6
7049 else
7050 echo "$as_me:$LINENO: result: no" >&5
7051 echo "${ECHO_T}no" >&6
7052 fi
7053
7054
7055 enablestring=
7056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7058 no_cache=0
7059 # Check whether --enable-caret or --disable-caret was given.
7060 if test "${enable_caret+set}" = set; then
7061 enableval="$enable_caret"
7062
7063 if test "$enableval" = yes; then
7064 ac_cv_use_caret='wxUSE_CARET=yes'
7065 else
7066 ac_cv_use_caret='wxUSE_CARET=no'
7067 fi
7068
7069 else
7070
7071 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7072 if test "x$LINE" != x ; then
7073 eval "DEFAULT_$LINE"
7074 else
7075 no_cache=1
7076 fi
7077
7078 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7079
7080 fi;
7081
7082 eval "$ac_cv_use_caret"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7085 fi
7086
7087 if test "$wxUSE_CARET" = yes; then
7088 echo "$as_me:$LINENO: result: yes" >&5
7089 echo "${ECHO_T}yes" >&6
7090 else
7091 echo "$as_me:$LINENO: result: no" >&5
7092 echo "${ECHO_T}no" >&6
7093 fi
7094
7095
7096 enablestring=
7097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7098 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7099 no_cache=0
7100 # Check whether --enable-checkbox or --disable-checkbox was given.
7101 if test "${enable_checkbox+set}" = set; then
7102 enableval="$enable_checkbox"
7103
7104 if test "$enableval" = yes; then
7105 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7106 else
7107 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7108 fi
7109
7110 else
7111
7112 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x ; then
7114 eval "DEFAULT_$LINE"
7115 else
7116 no_cache=1
7117 fi
7118
7119 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7120
7121 fi;
7122
7123 eval "$ac_cv_use_checkbox"
7124 if test "$no_cache" != 1; then
7125 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7126 fi
7127
7128 if test "$wxUSE_CHECKBOX" = yes; then
7129 echo "$as_me:$LINENO: result: yes" >&5
7130 echo "${ECHO_T}yes" >&6
7131 else
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 fi
7135
7136
7137 enablestring=
7138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7139 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7140 no_cache=0
7141 # Check whether --enable-checklst or --disable-checklst was given.
7142 if test "${enable_checklst+set}" = set; then
7143 enableval="$enable_checklst"
7144
7145 if test "$enableval" = yes; then
7146 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7147 else
7148 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7149 fi
7150
7151 else
7152
7153 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7154 if test "x$LINE" != x ; then
7155 eval "DEFAULT_$LINE"
7156 else
7157 no_cache=1
7158 fi
7159
7160 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7161
7162 fi;
7163
7164 eval "$ac_cv_use_checklst"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7167 fi
7168
7169 if test "$wxUSE_CHECKLST" = yes; then
7170 echo "$as_me:$LINENO: result: yes" >&5
7171 echo "${ECHO_T}yes" >&6
7172 else
7173 echo "$as_me:$LINENO: result: no" >&5
7174 echo "${ECHO_T}no" >&6
7175 fi
7176
7177
7178 enablestring=
7179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7180 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7181 no_cache=0
7182 # Check whether --enable-choice or --disable-choice was given.
7183 if test "${enable_choice+set}" = set; then
7184 enableval="$enable_choice"
7185
7186 if test "$enableval" = yes; then
7187 ac_cv_use_choice='wxUSE_CHOICE=yes'
7188 else
7189 ac_cv_use_choice='wxUSE_CHOICE=no'
7190 fi
7191
7192 else
7193
7194 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7195 if test "x$LINE" != x ; then
7196 eval "DEFAULT_$LINE"
7197 else
7198 no_cache=1
7199 fi
7200
7201 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7202
7203 fi;
7204
7205 eval "$ac_cv_use_choice"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7208 fi
7209
7210 if test "$wxUSE_CHOICE" = yes; then
7211 echo "$as_me:$LINENO: result: yes" >&5
7212 echo "${ECHO_T}yes" >&6
7213 else
7214 echo "$as_me:$LINENO: result: no" >&5
7215 echo "${ECHO_T}no" >&6
7216 fi
7217
7218
7219 enablestring=
7220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7221 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7222 no_cache=0
7223 # Check whether --enable-combobox or --disable-combobox was given.
7224 if test "${enable_combobox+set}" = set; then
7225 enableval="$enable_combobox"
7226
7227 if test "$enableval" = yes; then
7228 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7229 else
7230 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7231 fi
7232
7233 else
7234
7235 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x ; then
7237 eval "DEFAULT_$LINE"
7238 else
7239 no_cache=1
7240 fi
7241
7242 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7243
7244 fi;
7245
7246 eval "$ac_cv_use_combobox"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7249 fi
7250
7251 if test "$wxUSE_COMBOBOX" = yes; then
7252 echo "$as_me:$LINENO: result: yes" >&5
7253 echo "${ECHO_T}yes" >&6
7254 else
7255 echo "$as_me:$LINENO: result: no" >&5
7256 echo "${ECHO_T}no" >&6
7257 fi
7258
7259
7260 enablestring=
7261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7263 no_cache=0
7264 # Check whether --enable-display or --disable-display was given.
7265 if test "${enable_display+set}" = set; then
7266 enableval="$enable_display"
7267
7268 if test "$enableval" = yes; then
7269 ac_cv_use_display='wxUSE_DISPLAY=yes'
7270 else
7271 ac_cv_use_display='wxUSE_DISPLAY=no'
7272 fi
7273
7274 else
7275
7276 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
7277 if test "x$LINE" != x ; then
7278 eval "DEFAULT_$LINE"
7279 else
7280 no_cache=1
7281 fi
7282
7283 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
7284
7285 fi;
7286
7287 eval "$ac_cv_use_display"
7288 if test "$no_cache" != 1; then
7289 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
7290 fi
7291
7292 if test "$wxUSE_DISPLAY" = yes; then
7293 echo "$as_me:$LINENO: result: yes" >&5
7294 echo "${ECHO_T}yes" >&6
7295 else
7296 echo "$as_me:$LINENO: result: no" >&5
7297 echo "${ECHO_T}no" >&6
7298 fi
7299
7300
7301 enablestring=
7302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
7303 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
7304 no_cache=0
7305 # Check whether --enable-gauge or --disable-gauge was given.
7306 if test "${enable_gauge+set}" = set; then
7307 enableval="$enable_gauge"
7308
7309 if test "$enableval" = yes; then
7310 ac_cv_use_gauge='wxUSE_GAUGE=yes'
7311 else
7312 ac_cv_use_gauge='wxUSE_GAUGE=no'
7313 fi
7314
7315 else
7316
7317 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
7318 if test "x$LINE" != x ; then
7319 eval "DEFAULT_$LINE"
7320 else
7321 no_cache=1
7322 fi
7323
7324 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
7325
7326 fi;
7327
7328 eval "$ac_cv_use_gauge"
7329 if test "$no_cache" != 1; then
7330 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
7331 fi
7332
7333 if test "$wxUSE_GAUGE" = yes; then
7334 echo "$as_me:$LINENO: result: yes" >&5
7335 echo "${ECHO_T}yes" >&6
7336 else
7337 echo "$as_me:$LINENO: result: no" >&5
7338 echo "${ECHO_T}no" >&6
7339 fi
7340
7341
7342 enablestring=
7343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
7345 no_cache=0
7346 # Check whether --enable-grid or --disable-grid was given.
7347 if test "${enable_grid+set}" = set; then
7348 enableval="$enable_grid"
7349
7350 if test "$enableval" = yes; then
7351 ac_cv_use_grid='wxUSE_GRID=yes'
7352 else
7353 ac_cv_use_grid='wxUSE_GRID=no'
7354 fi
7355
7356 else
7357
7358 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
7359 if test "x$LINE" != x ; then
7360 eval "DEFAULT_$LINE"
7361 else
7362 no_cache=1
7363 fi
7364
7365 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
7366
7367 fi;
7368
7369 eval "$ac_cv_use_grid"
7370 if test "$no_cache" != 1; then
7371 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
7372 fi
7373
7374 if test "$wxUSE_GRID" = yes; then
7375 echo "$as_me:$LINENO: result: yes" >&5
7376 echo "${ECHO_T}yes" >&6
7377 else
7378 echo "$as_me:$LINENO: result: no" >&5
7379 echo "${ECHO_T}no" >&6
7380 fi
7381
7382
7383 enablestring=
7384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
7386 no_cache=0
7387 # Check whether --enable-imaglist or --disable-imaglist was given.
7388 if test "${enable_imaglist+set}" = set; then
7389 enableval="$enable_imaglist"
7390
7391 if test "$enableval" = yes; then
7392 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
7393 else
7394 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
7395 fi
7396
7397 else
7398
7399 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
7400 if test "x$LINE" != x ; then
7401 eval "DEFAULT_$LINE"
7402 else
7403 no_cache=1
7404 fi
7405
7406 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
7407
7408 fi;
7409
7410 eval "$ac_cv_use_imaglist"
7411 if test "$no_cache" != 1; then
7412 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
7413 fi
7414
7415 if test "$wxUSE_IMAGLIST" = yes; then
7416 echo "$as_me:$LINENO: result: yes" >&5
7417 echo "${ECHO_T}yes" >&6
7418 else
7419 echo "$as_me:$LINENO: result: no" >&5
7420 echo "${ECHO_T}no" >&6
7421 fi
7422
7423
7424 enablestring=
7425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
7426 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
7427 no_cache=0
7428 # Check whether --enable-listbook or --disable-listbook was given.
7429 if test "${enable_listbook+set}" = set; then
7430 enableval="$enable_listbook"
7431
7432 if test "$enableval" = yes; then
7433 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
7434 else
7435 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
7436 fi
7437
7438 else
7439
7440 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
7441 if test "x$LINE" != x ; then
7442 eval "DEFAULT_$LINE"
7443 else
7444 no_cache=1
7445 fi
7446
7447 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
7448
7449 fi;
7450
7451 eval "$ac_cv_use_listbook"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test "$wxUSE_LISTBOOK" = yes; then
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7459 else
7460 echo "$as_me:$LINENO: result: no" >&5
7461 echo "${ECHO_T}no" >&6
7462 fi
7463
7464
7465 enablestring=
7466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
7467 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
7468 no_cache=0
7469 # Check whether --enable-listbox or --disable-listbox was given.
7470 if test "${enable_listbox+set}" = set; then
7471 enableval="$enable_listbox"
7472
7473 if test "$enableval" = yes; then
7474 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
7475 else
7476 ac_cv_use_listbox='wxUSE_LISTBOX=no'
7477 fi
7478
7479 else
7480
7481 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x ; then
7483 eval "DEFAULT_$LINE"
7484 else
7485 no_cache=1
7486 fi
7487
7488 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
7489
7490 fi;
7491
7492 eval "$ac_cv_use_listbox"
7493 if test "$no_cache" != 1; then
7494 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
7495 fi
7496
7497 if test "$wxUSE_LISTBOX" = yes; then
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7500 else
7501 echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7503 fi
7504
7505
7506 enablestring=
7507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
7508 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
7509 no_cache=0
7510 # Check whether --enable-listctrl or --disable-listctrl was given.
7511 if test "${enable_listctrl+set}" = set; then
7512 enableval="$enable_listctrl"
7513
7514 if test "$enableval" = yes; then
7515 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
7516 else
7517 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
7518 fi
7519
7520 else
7521
7522 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x ; then
7524 eval "DEFAULT_$LINE"
7525 else
7526 no_cache=1
7527 fi
7528
7529 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
7530
7531 fi;
7532
7533 eval "$ac_cv_use_listctrl"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
7536 fi
7537
7538 if test "$wxUSE_LISTCTRL" = yes; then
7539 echo "$as_me:$LINENO: result: yes" >&5
7540 echo "${ECHO_T}yes" >&6
7541 else
7542 echo "$as_me:$LINENO: result: no" >&5
7543 echo "${ECHO_T}no" >&6
7544 fi
7545
7546
7547 enablestring=
7548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
7549 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
7550 no_cache=0
7551 # Check whether --enable-notebook or --disable-notebook was given.
7552 if test "${enable_notebook+set}" = set; then
7553 enableval="$enable_notebook"
7554
7555 if test "$enableval" = yes; then
7556 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
7557 else
7558 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
7559 fi
7560
7561 else
7562
7563 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
7564 if test "x$LINE" != x ; then
7565 eval "DEFAULT_$LINE"
7566 else
7567 no_cache=1
7568 fi
7569
7570 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
7571
7572 fi;
7573
7574 eval "$ac_cv_use_notebook"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
7577 fi
7578
7579 if test "$wxUSE_NOTEBOOK" = yes; then
7580 echo "$as_me:$LINENO: result: yes" >&5
7581 echo "${ECHO_T}yes" >&6
7582 else
7583 echo "$as_me:$LINENO: result: no" >&5
7584 echo "${ECHO_T}no" >&6
7585 fi
7586
7587
7588 enablestring=
7589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
7590 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
7591 no_cache=0
7592 # Check whether --enable-radiobox or --disable-radiobox was given.
7593 if test "${enable_radiobox+set}" = set; then
7594 enableval="$enable_radiobox"
7595
7596 if test "$enableval" = yes; then
7597 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
7598 else
7599 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
7600 fi
7601
7602 else
7603
7604 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x ; then
7606 eval "DEFAULT_$LINE"
7607 else
7608 no_cache=1
7609 fi
7610
7611 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
7612
7613 fi;
7614
7615 eval "$ac_cv_use_radiobox"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
7618 fi
7619
7620 if test "$wxUSE_RADIOBOX" = yes; then
7621 echo "$as_me:$LINENO: result: yes" >&5
7622 echo "${ECHO_T}yes" >&6
7623 else
7624 echo "$as_me:$LINENO: result: no" >&5
7625 echo "${ECHO_T}no" >&6
7626 fi
7627
7628
7629 enablestring=
7630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
7631 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
7632 no_cache=0
7633 # Check whether --enable-radiobtn or --disable-radiobtn was given.
7634 if test "${enable_radiobtn+set}" = set; then
7635 enableval="$enable_radiobtn"
7636
7637 if test "$enableval" = yes; then
7638 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
7639 else
7640 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
7641 fi
7642
7643 else
7644
7645 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
7646 if test "x$LINE" != x ; then
7647 eval "DEFAULT_$LINE"
7648 else
7649 no_cache=1
7650 fi
7651
7652 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
7653
7654 fi;
7655
7656 eval "$ac_cv_use_radiobtn"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
7659 fi
7660
7661 if test "$wxUSE_RADIOBTN" = yes; then
7662 echo "$as_me:$LINENO: result: yes" >&5
7663 echo "${ECHO_T}yes" >&6
7664 else
7665 echo "$as_me:$LINENO: result: no" >&5
7666 echo "${ECHO_T}no" >&6
7667 fi
7668
7669
7670 enablestring=
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
7673 no_cache=0
7674 # Check whether --enable-sash or --disable-sash was given.
7675 if test "${enable_sash+set}" = set; then
7676 enableval="$enable_sash"
7677
7678 if test "$enableval" = yes; then
7679 ac_cv_use_sash='wxUSE_SASH=yes'
7680 else
7681 ac_cv_use_sash='wxUSE_SASH=no'
7682 fi
7683
7684 else
7685
7686 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7689 else
7690 no_cache=1
7691 fi
7692
7693 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
7694
7695 fi;
7696
7697 eval "$ac_cv_use_sash"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test "$wxUSE_SASH" = yes; then
7703 echo "$as_me:$LINENO: result: yes" >&5
7704 echo "${ECHO_T}yes" >&6
7705 else
7706 echo "$as_me:$LINENO: result: no" >&5
7707 echo "${ECHO_T}no" >&6
7708 fi
7709
7710
7711 enablestring=
7712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
7714 no_cache=0
7715 # Check whether --enable-scrollbar or --disable-scrollbar was given.
7716 if test "${enable_scrollbar+set}" = set; then
7717 enableval="$enable_scrollbar"
7718
7719 if test "$enableval" = yes; then
7720 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
7721 else
7722 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
7723 fi
7724
7725 else
7726
7727 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x ; then
7729 eval "DEFAULT_$LINE"
7730 else
7731 no_cache=1
7732 fi
7733
7734 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
7735
7736 fi;
7737
7738 eval "$ac_cv_use_scrollbar"
7739 if test "$no_cache" != 1; then
7740 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
7741 fi
7742
7743 if test "$wxUSE_SCROLLBAR" = yes; then
7744 echo "$as_me:$LINENO: result: yes" >&5
7745 echo "${ECHO_T}yes" >&6
7746 else
7747 echo "$as_me:$LINENO: result: no" >&5
7748 echo "${ECHO_T}no" >&6
7749 fi
7750
7751
7752 enablestring=
7753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
7754 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
7755 no_cache=0
7756 # Check whether --enable-slider or --disable-slider was given.
7757 if test "${enable_slider+set}" = set; then
7758 enableval="$enable_slider"
7759
7760 if test "$enableval" = yes; then
7761 ac_cv_use_slider='wxUSE_SLIDER=yes'
7762 else
7763 ac_cv_use_slider='wxUSE_SLIDER=no'
7764 fi
7765
7766 else
7767
7768 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x ; then
7770 eval "DEFAULT_$LINE"
7771 else
7772 no_cache=1
7773 fi
7774
7775 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
7776
7777 fi;
7778
7779 eval "$ac_cv_use_slider"
7780 if test "$no_cache" != 1; then
7781 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
7782 fi
7783
7784 if test "$wxUSE_SLIDER" = yes; then
7785 echo "$as_me:$LINENO: result: yes" >&5
7786 echo "${ECHO_T}yes" >&6
7787 else
7788 echo "$as_me:$LINENO: result: no" >&5
7789 echo "${ECHO_T}no" >&6
7790 fi
7791
7792
7793 enablestring=
7794 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
7796 no_cache=0
7797 # Check whether --enable-spinbtn or --disable-spinbtn was given.
7798 if test "${enable_spinbtn+set}" = set; then
7799 enableval="$enable_spinbtn"
7800
7801 if test "$enableval" = yes; then
7802 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
7803 else
7804 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
7805 fi
7806
7807 else
7808
7809 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
7810 if test "x$LINE" != x ; then
7811 eval "DEFAULT_$LINE"
7812 else
7813 no_cache=1
7814 fi
7815
7816 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
7817
7818 fi;
7819
7820 eval "$ac_cv_use_spinbtn"
7821 if test "$no_cache" != 1; then
7822 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
7823 fi
7824
7825 if test "$wxUSE_SPINBTN" = yes; then
7826 echo "$as_me:$LINENO: result: yes" >&5
7827 echo "${ECHO_T}yes" >&6
7828 else
7829 echo "$as_me:$LINENO: result: no" >&5
7830 echo "${ECHO_T}no" >&6
7831 fi
7832
7833
7834 enablestring=
7835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
7837 no_cache=0
7838 # Check whether --enable-spinctrl or --disable-spinctrl was given.
7839 if test "${enable_spinctrl+set}" = set; then
7840 enableval="$enable_spinctrl"
7841
7842 if test "$enableval" = yes; then
7843 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
7844 else
7845 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
7846 fi
7847
7848 else
7849
7850 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
7851 if test "x$LINE" != x ; then
7852 eval "DEFAULT_$LINE"
7853 else
7854 no_cache=1
7855 fi
7856
7857 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
7858
7859 fi;
7860
7861 eval "$ac_cv_use_spinctrl"
7862 if test "$no_cache" != 1; then
7863 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
7864 fi
7865
7866 if test "$wxUSE_SPINCTRL" = yes; then
7867 echo "$as_me:$LINENO: result: yes" >&5
7868 echo "${ECHO_T}yes" >&6
7869 else
7870 echo "$as_me:$LINENO: result: no" >&5
7871 echo "${ECHO_T}no" >&6
7872 fi
7873
7874
7875 enablestring=
7876 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
7877 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
7878 no_cache=0
7879 # Check whether --enable-splitter or --disable-splitter was given.
7880 if test "${enable_splitter+set}" = set; then
7881 enableval="$enable_splitter"
7882
7883 if test "$enableval" = yes; then
7884 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
7885 else
7886 ac_cv_use_splitter='wxUSE_SPLITTER=no'
7887 fi
7888
7889 else
7890
7891 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7894 else
7895 no_cache=1
7896 fi
7897
7898 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7899
7900 fi;
7901
7902 eval "$ac_cv_use_splitter"
7903 if test "$no_cache" != 1; then
7904 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7905 fi
7906
7907 if test "$wxUSE_SPLITTER" = yes; then
7908 echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6
7910 else
7911 echo "$as_me:$LINENO: result: no" >&5
7912 echo "${ECHO_T}no" >&6
7913 fi
7914
7915
7916 enablestring=
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
7919 no_cache=0
7920 # Check whether --enable-statbmp or --disable-statbmp was given.
7921 if test "${enable_statbmp+set}" = set; then
7922 enableval="$enable_statbmp"
7923
7924 if test "$enableval" = yes; then
7925 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
7926 else
7927 ac_cv_use_statbmp='wxUSE_STATBMP=no'
7928 fi
7929
7930 else
7931
7932 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 else
7936 no_cache=1
7937 fi
7938
7939 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7940
7941 fi;
7942
7943 eval "$ac_cv_use_statbmp"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test "$wxUSE_STATBMP" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7951 else
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7954 fi
7955
7956
7957 enablestring=
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
7960 no_cache=0
7961 # Check whether --enable-statbox or --disable-statbox was given.
7962 if test "${enable_statbox+set}" = set; then
7963 enableval="$enable_statbox"
7964
7965 if test "$enableval" = yes; then
7966 ac_cv_use_statbox='wxUSE_STATBOX=yes'
7967 else
7968 ac_cv_use_statbox='wxUSE_STATBOX=no'
7969 fi
7970
7971 else
7972
7973 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7976 else
7977 no_cache=1
7978 fi
7979
7980 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7981
7982 fi;
7983
7984 eval "$ac_cv_use_statbox"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test "$wxUSE_STATBOX" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7992 else
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7995 fi
7996
7997
7998 enablestring=
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8001 no_cache=0
8002 # Check whether --enable-statline or --disable-statline was given.
8003 if test "${enable_statline+set}" = set; then
8004 enableval="$enable_statline"
8005
8006 if test "$enableval" = yes; then
8007 ac_cv_use_statline='wxUSE_STATLINE=yes'
8008 else
8009 ac_cv_use_statline='wxUSE_STATLINE=no'
8010 fi
8011
8012 else
8013
8014 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x ; then
8016 eval "DEFAULT_$LINE"
8017 else
8018 no_cache=1
8019 fi
8020
8021 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8022
8023 fi;
8024
8025 eval "$ac_cv_use_statline"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8028 fi
8029
8030 if test "$wxUSE_STATLINE" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8033 else
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8036 fi
8037
8038
8039 enablestring=
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8042 no_cache=0
8043 # Check whether --enable-stattext or --disable-stattext was given.
8044 if test "${enable_stattext+set}" = set; then
8045 enableval="$enable_stattext"
8046
8047 if test "$enableval" = yes; then
8048 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8049 else
8050 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8051 fi
8052
8053 else
8054
8055 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 else
8059 no_cache=1
8060 fi
8061
8062 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8063
8064 fi;
8065
8066 eval "$ac_cv_use_stattext"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8069 fi
8070
8071 if test "$wxUSE_STATTEXT" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8074 else
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8077 fi
8078
8079
8080 enablestring=
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8083 no_cache=0
8084 # Check whether --enable-statusbar or --disable-statusbar was given.
8085 if test "${enable_statusbar+set}" = set; then
8086 enableval="$enable_statusbar"
8087
8088 if test "$enableval" = yes; then
8089 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8090 else
8091 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8104
8105 fi;
8106
8107 eval "$ac_cv_use_statusbar"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8110 fi
8111
8112 if test "$wxUSE_STATUSBAR" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8115 else
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8118 fi
8119
8120
8121 enablestring=
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8124 no_cache=0
8125 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8126 if test "${enable_tabdialog+set}" = set; then
8127 enableval="$enable_tabdialog"
8128
8129 if test "$enableval" = yes; then
8130 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8131 else
8132 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8133 fi
8134
8135 else
8136
8137 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8140 else
8141 no_cache=1
8142 fi
8143
8144 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8145
8146 fi;
8147
8148 eval "$ac_cv_use_tabdialog"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8151 fi
8152
8153 if test "$wxUSE_TABDIALOG" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8156 else
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8159 fi
8160
8161
8162 enablestring=
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8165 no_cache=0
8166 # Check whether --enable-textctrl or --disable-textctrl was given.
8167 if test "${enable_textctrl+set}" = set; then
8168 enableval="$enable_textctrl"
8169
8170 if test "$enableval" = yes; then
8171 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8172 else
8173 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8174 fi
8175
8176 else
8177
8178 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x ; then
8180 eval "DEFAULT_$LINE"
8181 else
8182 no_cache=1
8183 fi
8184
8185 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8186
8187 fi;
8188
8189 eval "$ac_cv_use_textctrl"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8192 fi
8193
8194 if test "$wxUSE_TEXTCTRL" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8197 else
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8200 fi
8201
8202
8203 enablestring=
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8206 no_cache=0
8207 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8208 if test "${enable_togglebtn+set}" = set; then
8209 enableval="$enable_togglebtn"
8210
8211 if test "$enableval" = yes; then
8212 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8213 else
8214 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8215 fi
8216
8217 else
8218
8219 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 else
8223 no_cache=1
8224 fi
8225
8226 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8227
8228 fi;
8229
8230 eval "$ac_cv_use_togglebtn"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8233 fi
8234
8235 if test "$wxUSE_TOGGLEBTN" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8238 else
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8241 fi
8242
8243
8244 enablestring=
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
8247 no_cache=0
8248 # Check whether --enable-toolbar or --disable-toolbar was given.
8249 if test "${enable_toolbar+set}" = set; then
8250 enableval="$enable_toolbar"
8251
8252 if test "$enableval" = yes; then
8253 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
8254 else
8255 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
8256 fi
8257
8258 else
8259
8260 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x ; then
8262 eval "DEFAULT_$LINE"
8263 else
8264 no_cache=1
8265 fi
8266
8267 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
8268
8269 fi;
8270
8271 eval "$ac_cv_use_toolbar"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
8274 fi
8275
8276 if test "$wxUSE_TOOLBAR" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8279 else
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8282 fi
8283
8284
8285 enablestring=
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
8288 no_cache=0
8289 # Check whether --enable-tbarnative or --disable-tbarnative was given.
8290 if test "${enable_tbarnative+set}" = set; then
8291 enableval="$enable_tbarnative"
8292
8293 if test "$enableval" = yes; then
8294 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
8295 else
8296 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
8297 fi
8298
8299 else
8300
8301 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8304 else
8305 no_cache=1
8306 fi
8307
8308 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
8309
8310 fi;
8311
8312 eval "$ac_cv_use_tbarnative"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
8315 fi
8316
8317 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8320 else
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8323 fi
8324
8325
8326 enablestring=
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
8329 no_cache=0
8330 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
8331 if test "${enable_tbarsmpl+set}" = set; then
8332 enableval="$enable_tbarsmpl"
8333
8334 if test "$enableval" = yes; then
8335 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
8336 else
8337 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
8338 fi
8339
8340 else
8341
8342 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x ; then
8344 eval "DEFAULT_$LINE"
8345 else
8346 no_cache=1
8347 fi
8348
8349 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
8350
8351 fi;
8352
8353 eval "$ac_cv_use_tbarsmpl"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
8356 fi
8357
8358 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8361 else
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8364 fi
8365
8366
8367 enablestring=
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
8370 no_cache=0
8371 # Check whether --enable-treectrl or --disable-treectrl was given.
8372 if test "${enable_treectrl+set}" = set; then
8373 enableval="$enable_treectrl"
8374
8375 if test "$enableval" = yes; then
8376 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
8377 else
8378 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
8379 fi
8380
8381 else
8382
8383 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x ; then
8385 eval "DEFAULT_$LINE"
8386 else
8387 no_cache=1
8388 fi
8389
8390 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
8391
8392 fi;
8393
8394 eval "$ac_cv_use_treectrl"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
8397 fi
8398
8399 if test "$wxUSE_TREECTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8402 else
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8405 fi
8406
8407
8408 enablestring=
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
8411 no_cache=0
8412 # Check whether --enable-tipwindow or --disable-tipwindow was given.
8413 if test "${enable_tipwindow+set}" = set; then
8414 enableval="$enable_tipwindow"
8415
8416 if test "$enableval" = yes; then
8417 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
8418 else
8419 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
8432
8433 fi;
8434
8435 eval "$ac_cv_use_tipwindow"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
8438 fi
8439
8440 if test "$wxUSE_TIPWINDOW" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8443 else
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8446 fi
8447
8448
8449 enablestring=
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
8452 no_cache=0
8453 # Check whether --enable-popupwin or --disable-popupwin was given.
8454 if test "${enable_popupwin+set}" = set; then
8455 enableval="$enable_popupwin"
8456
8457 if test "$enableval" = yes; then
8458 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
8459 else
8460 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
8461 fi
8462
8463 else
8464
8465 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8468 else
8469 no_cache=1
8470 fi
8471
8472 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
8473
8474 fi;
8475
8476 eval "$ac_cv_use_popupwin"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
8479 fi
8480
8481 if test "$wxUSE_POPUPWIN" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8484 else
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487 fi
8488
8489
8490
8491
8492 enablestring=
8493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
8495 no_cache=0
8496 # Check whether --enable-commondlg or --disable-commondlg was given.
8497 if test "${enable_commondlg+set}" = set; then
8498 enableval="$enable_commondlg"
8499
8500 if test "$enableval" = yes; then
8501 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
8502 else
8503 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
8504 fi
8505
8506 else
8507
8508 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
8509 if test "x$LINE" != x ; then
8510 eval "DEFAULT_$LINE"
8511 else
8512 no_cache=1
8513 fi
8514
8515 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
8516
8517 fi;
8518
8519 eval "$ac_cv_use_commondlg"
8520 if test "$no_cache" != 1; then
8521 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
8522 fi
8523
8524 if test "$wxUSE_COMMONDLGS" = yes; then
8525 echo "$as_me:$LINENO: result: yes" >&5
8526 echo "${ECHO_T}yes" >&6
8527 else
8528 echo "$as_me:$LINENO: result: no" >&5
8529 echo "${ECHO_T}no" >&6
8530 fi
8531
8532
8533 enablestring=
8534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
8536 no_cache=0
8537 # Check whether --enable-choicedlg or --disable-choicedlg was given.
8538 if test "${enable_choicedlg+set}" = set; then
8539 enableval="$enable_choicedlg"
8540
8541 if test "$enableval" = yes; then
8542 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
8543 else
8544 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
8545 fi
8546
8547 else
8548
8549 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
8550 if test "x$LINE" != x ; then
8551 eval "DEFAULT_$LINE"
8552 else
8553 no_cache=1
8554 fi
8555
8556 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
8557
8558 fi;
8559
8560 eval "$ac_cv_use_choicedlg"
8561 if test "$no_cache" != 1; then
8562 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
8563 fi
8564
8565 if test "$wxUSE_CHOICEDLG" = yes; then
8566 echo "$as_me:$LINENO: result: yes" >&5
8567 echo "${ECHO_T}yes" >&6
8568 else
8569 echo "$as_me:$LINENO: result: no" >&5
8570 echo "${ECHO_T}no" >&6
8571 fi
8572
8573
8574 enablestring=
8575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
8576 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
8577 no_cache=0
8578 # Check whether --enable-coldlg or --disable-coldlg was given.
8579 if test "${enable_coldlg+set}" = set; then
8580 enableval="$enable_coldlg"
8581
8582 if test "$enableval" = yes; then
8583 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
8584 else
8585 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
8586 fi
8587
8588 else
8589
8590 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x ; then
8592 eval "DEFAULT_$LINE"
8593 else
8594 no_cache=1
8595 fi
8596
8597 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
8598
8599 fi;
8600
8601 eval "$ac_cv_use_coldlg"
8602 if test "$no_cache" != 1; then
8603 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
8604 fi
8605
8606 if test "$wxUSE_COLOURDLG" = yes; then
8607 echo "$as_me:$LINENO: result: yes" >&5
8608 echo "${ECHO_T}yes" >&6
8609 else
8610 echo "$as_me:$LINENO: result: no" >&5
8611 echo "${ECHO_T}no" >&6
8612 fi
8613
8614
8615 enablestring=
8616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
8617 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
8618 no_cache=0
8619 # Check whether --enable-filedlg or --disable-filedlg was given.
8620 if test "${enable_filedlg+set}" = set; then
8621 enableval="$enable_filedlg"
8622
8623 if test "$enableval" = yes; then
8624 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
8625 else
8626 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
8627 fi
8628
8629 else
8630
8631 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
8632 if test "x$LINE" != x ; then
8633 eval "DEFAULT_$LINE"
8634 else
8635 no_cache=1
8636 fi
8637
8638 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
8639
8640 fi;
8641
8642 eval "$ac_cv_use_filedlg"
8643 if test "$no_cache" != 1; then
8644 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
8645 fi
8646
8647 if test "$wxUSE_FILEDLG" = yes; then
8648 echo "$as_me:$LINENO: result: yes" >&5
8649 echo "${ECHO_T}yes" >&6
8650 else
8651 echo "$as_me:$LINENO: result: no" >&5
8652 echo "${ECHO_T}no" >&6
8653 fi
8654
8655
8656 enablestring=
8657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
8658 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
8659 no_cache=0
8660 # Check whether --enable-finddlg or --disable-finddlg was given.
8661 if test "${enable_finddlg+set}" = set; then
8662 enableval="$enable_finddlg"
8663
8664 if test "$enableval" = yes; then
8665 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
8666 else
8667 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
8668 fi
8669
8670 else
8671
8672 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
8673 if test "x$LINE" != x ; then
8674 eval "DEFAULT_$LINE"
8675 else
8676 no_cache=1
8677 fi
8678
8679 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
8680
8681 fi;
8682
8683 eval "$ac_cv_use_finddlg"
8684 if test "$no_cache" != 1; then
8685 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
8686 fi
8687
8688 if test "$wxUSE_FINDREPLDLG" = yes; then
8689 echo "$as_me:$LINENO: result: yes" >&5
8690 echo "${ECHO_T}yes" >&6
8691 else
8692 echo "$as_me:$LINENO: result: no" >&5
8693 echo "${ECHO_T}no" >&6
8694 fi
8695
8696
8697 enablestring=
8698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
8699 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
8700 no_cache=0
8701 # Check whether --enable-fontdlg or --disable-fontdlg was given.
8702 if test "${enable_fontdlg+set}" = set; then
8703 enableval="$enable_fontdlg"
8704
8705 if test "$enableval" = yes; then
8706 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
8707 else
8708 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
8709 fi
8710
8711 else
8712
8713 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
8714 if test "x$LINE" != x ; then
8715 eval "DEFAULT_$LINE"
8716 else
8717 no_cache=1
8718 fi
8719
8720 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
8721
8722 fi;
8723
8724 eval "$ac_cv_use_fontdlg"
8725 if test "$no_cache" != 1; then
8726 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
8727 fi
8728
8729 if test "$wxUSE_FONTDLG" = yes; then
8730 echo "$as_me:$LINENO: result: yes" >&5
8731 echo "${ECHO_T}yes" >&6
8732 else
8733 echo "$as_me:$LINENO: result: no" >&5
8734 echo "${ECHO_T}no" >&6
8735 fi
8736
8737
8738 enablestring=
8739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
8740 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
8741 no_cache=0
8742 # Check whether --enable-dirdlg or --disable-dirdlg was given.
8743 if test "${enable_dirdlg+set}" = set; then
8744 enableval="$enable_dirdlg"
8745
8746 if test "$enableval" = yes; then
8747 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
8748 else
8749 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
8750 fi
8751
8752 else
8753
8754 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
8755 if test "x$LINE" != x ; then
8756 eval "DEFAULT_$LINE"
8757 else
8758 no_cache=1
8759 fi
8760
8761 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
8762
8763 fi;
8764
8765 eval "$ac_cv_use_dirdlg"
8766 if test "$no_cache" != 1; then
8767 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
8768 fi
8769
8770 if test "$wxUSE_DIRDLG" = yes; then
8771 echo "$as_me:$LINENO: result: yes" >&5
8772 echo "${ECHO_T}yes" >&6
8773 else
8774 echo "$as_me:$LINENO: result: no" >&5
8775 echo "${ECHO_T}no" >&6
8776 fi
8777
8778
8779 enablestring=
8780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
8781 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
8782 no_cache=0
8783 # Check whether --enable-msgdlg or --disable-msgdlg was given.
8784 if test "${enable_msgdlg+set}" = set; then
8785 enableval="$enable_msgdlg"
8786
8787 if test "$enableval" = yes; then
8788 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
8789 else
8790 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
8791 fi
8792
8793 else
8794
8795 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
8796 if test "x$LINE" != x ; then
8797 eval "DEFAULT_$LINE"
8798 else
8799 no_cache=1
8800 fi
8801
8802 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
8803
8804 fi;
8805
8806 eval "$ac_cv_use_msgdlg"
8807 if test "$no_cache" != 1; then
8808 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
8809 fi
8810
8811 if test "$wxUSE_MSGDLG" = yes; then
8812 echo "$as_me:$LINENO: result: yes" >&5
8813 echo "${ECHO_T}yes" >&6
8814 else
8815 echo "$as_me:$LINENO: result: no" >&5
8816 echo "${ECHO_T}no" >&6
8817 fi
8818
8819
8820 enablestring=
8821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
8822 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
8823 no_cache=0
8824 # Check whether --enable-numberdlg or --disable-numberdlg was given.
8825 if test "${enable_numberdlg+set}" = set; then
8826 enableval="$enable_numberdlg"
8827
8828 if test "$enableval" = yes; then
8829 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
8830 else
8831 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
8832 fi
8833
8834 else
8835
8836 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
8837 if test "x$LINE" != x ; then
8838 eval "DEFAULT_$LINE"
8839 else
8840 no_cache=1
8841 fi
8842
8843 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
8844
8845 fi;
8846
8847 eval "$ac_cv_use_numberdlg"
8848 if test "$no_cache" != 1; then
8849 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
8850 fi
8851
8852 if test "$wxUSE_NUMBERDLG" = yes; then
8853 echo "$as_me:$LINENO: result: yes" >&5
8854 echo "${ECHO_T}yes" >&6
8855 else
8856 echo "$as_me:$LINENO: result: no" >&5
8857 echo "${ECHO_T}no" >&6
8858 fi
8859
8860
8861 enablestring=
8862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
8863 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
8864 no_cache=0
8865 # Check whether --enable-splash or --disable-splash was given.
8866 if test "${enable_splash+set}" = set; then
8867 enableval="$enable_splash"
8868
8869 if test "$enableval" = yes; then
8870 ac_cv_use_splash='wxUSE_SPLASH=yes'
8871 else
8872 ac_cv_use_splash='wxUSE_SPLASH=no'
8873 fi
8874
8875 else
8876
8877 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
8878 if test "x$LINE" != x ; then
8879 eval "DEFAULT_$LINE"
8880 else
8881 no_cache=1
8882 fi
8883
8884 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
8885
8886 fi;
8887
8888 eval "$ac_cv_use_splash"
8889 if test "$no_cache" != 1; then
8890 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
8891 fi
8892
8893 if test "$wxUSE_SPLASH" = yes; then
8894 echo "$as_me:$LINENO: result: yes" >&5
8895 echo "${ECHO_T}yes" >&6
8896 else
8897 echo "$as_me:$LINENO: result: no" >&5
8898 echo "${ECHO_T}no" >&6
8899 fi
8900
8901
8902 enablestring=
8903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
8904 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
8905 no_cache=0
8906 # Check whether --enable-textdlg or --disable-textdlg was given.
8907 if test "${enable_textdlg+set}" = set; then
8908 enableval="$enable_textdlg"
8909
8910 if test "$enableval" = yes; then
8911 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
8912 else
8913 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
8914 fi
8915
8916 else
8917
8918 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8919 if test "x$LINE" != x ; then
8920 eval "DEFAULT_$LINE"
8921 else
8922 no_cache=1
8923 fi
8924
8925 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8926
8927 fi;
8928
8929 eval "$ac_cv_use_textdlg"
8930 if test "$no_cache" != 1; then
8931 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8932 fi
8933
8934 if test "$wxUSE_TEXTDLG" = yes; then
8935 echo "$as_me:$LINENO: result: yes" >&5
8936 echo "${ECHO_T}yes" >&6
8937 else
8938 echo "$as_me:$LINENO: result: no" >&5
8939 echo "${ECHO_T}no" >&6
8940 fi
8941
8942
8943 enablestring=
8944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
8945 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
8946 no_cache=0
8947 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8948 if test "${enable_tipdlg+set}" = set; then
8949 enableval="$enable_tipdlg"
8950
8951 if test "$enableval" = yes; then
8952 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
8953 else
8954 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
8955 fi
8956
8957 else
8958
8959 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8960 if test "x$LINE" != x ; then
8961 eval "DEFAULT_$LINE"
8962 else
8963 no_cache=1
8964 fi
8965
8966 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8967
8968 fi;
8969
8970 eval "$ac_cv_use_tipdlg"
8971 if test "$no_cache" != 1; then
8972 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test "$wxUSE_STARTUP_TIPS" = yes; then
8976 echo "$as_me:$LINENO: result: yes" >&5
8977 echo "${ECHO_T}yes" >&6
8978 else
8979 echo "$as_me:$LINENO: result: no" >&5
8980 echo "${ECHO_T}no" >&6
8981 fi
8982
8983
8984 enablestring=
8985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
8987 no_cache=0
8988 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8989 if test "${enable_progressdlg+set}" = set; then
8990 enableval="$enable_progressdlg"
8991
8992 if test "$enableval" = yes; then
8993 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
8994 else
8995 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
8996 fi
8997
8998 else
8999
9000 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9001 if test "x$LINE" != x ; then
9002 eval "DEFAULT_$LINE"
9003 else
9004 no_cache=1
9005 fi
9006
9007 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9008
9009 fi;
9010
9011 eval "$ac_cv_use_progressdlg"
9012 if test "$no_cache" != 1; then
9013 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9014 fi
9015
9016 if test "$wxUSE_PROGRESSDLG" = yes; then
9017 echo "$as_me:$LINENO: result: yes" >&5
9018 echo "${ECHO_T}yes" >&6
9019 else
9020 echo "$as_me:$LINENO: result: no" >&5
9021 echo "${ECHO_T}no" >&6
9022 fi
9023
9024
9025 enablestring=
9026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9027 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9028 no_cache=0
9029 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9030 if test "${enable_wizarddlg+set}" = set; then
9031 enableval="$enable_wizarddlg"
9032
9033 if test "$enableval" = yes; then
9034 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9035 else
9036 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9037 fi
9038
9039 else
9040
9041 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9042 if test "x$LINE" != x ; then
9043 eval "DEFAULT_$LINE"
9044 else
9045 no_cache=1
9046 fi
9047
9048 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9049
9050 fi;
9051
9052 eval "$ac_cv_use_wizarddlg"
9053 if test "$no_cache" != 1; then
9054 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9055 fi
9056
9057 if test "$wxUSE_WIZARDDLG" = yes; then
9058 echo "$as_me:$LINENO: result: yes" >&5
9059 echo "${ECHO_T}yes" >&6
9060 else
9061 echo "$as_me:$LINENO: result: no" >&5
9062 echo "${ECHO_T}no" >&6
9063 fi
9064
9065
9066
9067
9068 enablestring=
9069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9070 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9071 no_cache=0
9072 # Check whether --enable-menus or --disable-menus was given.
9073 if test "${enable_menus+set}" = set; then
9074 enableval="$enable_menus"
9075
9076 if test "$enableval" = yes; then
9077 ac_cv_use_menus='wxUSE_MENUS=yes'
9078 else
9079 ac_cv_use_menus='wxUSE_MENUS=no'
9080 fi
9081
9082 else
9083
9084 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9085 if test "x$LINE" != x ; then
9086 eval "DEFAULT_$LINE"
9087 else
9088 no_cache=1
9089 fi
9090
9091 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9092
9093 fi;
9094
9095 eval "$ac_cv_use_menus"
9096 if test "$no_cache" != 1; then
9097 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9098 fi
9099
9100 if test "$wxUSE_MENUS" = yes; then
9101 echo "$as_me:$LINENO: result: yes" >&5
9102 echo "${ECHO_T}yes" >&6
9103 else
9104 echo "$as_me:$LINENO: result: no" >&5
9105 echo "${ECHO_T}no" >&6
9106 fi
9107
9108
9109 enablestring=
9110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9112 no_cache=0
9113 # Check whether --enable-miniframe or --disable-miniframe was given.
9114 if test "${enable_miniframe+set}" = set; then
9115 enableval="$enable_miniframe"
9116
9117 if test "$enableval" = yes; then
9118 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9119 else
9120 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9121 fi
9122
9123 else
9124
9125 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9126 if test "x$LINE" != x ; then
9127 eval "DEFAULT_$LINE"
9128 else
9129 no_cache=1
9130 fi
9131
9132 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9133
9134 fi;
9135
9136 eval "$ac_cv_use_miniframe"
9137 if test "$no_cache" != 1; then
9138 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9139 fi
9140
9141 if test "$wxUSE_MINIFRAME" = yes; then
9142 echo "$as_me:$LINENO: result: yes" >&5
9143 echo "${ECHO_T}yes" >&6
9144 else
9145 echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6
9147 fi
9148
9149
9150 enablestring=
9151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9152 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9153 no_cache=0
9154 # Check whether --enable-tooltips or --disable-tooltips was given.
9155 if test "${enable_tooltips+set}" = set; then
9156 enableval="$enable_tooltips"
9157
9158 if test "$enableval" = yes; then
9159 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9160 else
9161 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9162 fi
9163
9164 else
9165
9166 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9167 if test "x$LINE" != x ; then
9168 eval "DEFAULT_$LINE"
9169 else
9170 no_cache=1
9171 fi
9172
9173 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9174
9175 fi;
9176
9177 eval "$ac_cv_use_tooltips"
9178 if test "$no_cache" != 1; then
9179 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9180 fi
9181
9182 if test "$wxUSE_TOOLTIPS" = yes; then
9183 echo "$as_me:$LINENO: result: yes" >&5
9184 echo "${ECHO_T}yes" >&6
9185 else
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9188 fi
9189
9190
9191 enablestring=
9192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
9194 no_cache=0
9195 # Check whether --enable-splines or --disable-splines was given.
9196 if test "${enable_splines+set}" = set; then
9197 enableval="$enable_splines"
9198
9199 if test "$enableval" = yes; then
9200 ac_cv_use_splines='wxUSE_SPLINES=yes'
9201 else
9202 ac_cv_use_splines='wxUSE_SPLINES=no'
9203 fi
9204
9205 else
9206
9207 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
9208 if test "x$LINE" != x ; then
9209 eval "DEFAULT_$LINE"
9210 else
9211 no_cache=1
9212 fi
9213
9214 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
9215
9216 fi;
9217
9218 eval "$ac_cv_use_splines"
9219 if test "$no_cache" != 1; then
9220 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
9221 fi
9222
9223 if test "$wxUSE_SPLINES" = yes; then
9224 echo "$as_me:$LINENO: result: yes" >&5
9225 echo "${ECHO_T}yes" >&6
9226 else
9227 echo "$as_me:$LINENO: result: no" >&5
9228 echo "${ECHO_T}no" >&6
9229 fi
9230
9231
9232 enablestring=
9233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
9234 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
9235 no_cache=0
9236 # Check whether --enable-validators or --disable-validators was given.
9237 if test "${enable_validators+set}" = set; then
9238 enableval="$enable_validators"
9239
9240 if test "$enableval" = yes; then
9241 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
9242 else
9243 ac_cv_use_validators='wxUSE_VALIDATORS=no'
9244 fi
9245
9246 else
9247
9248 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
9249 if test "x$LINE" != x ; then
9250 eval "DEFAULT_$LINE"
9251 else
9252 no_cache=1
9253 fi
9254
9255 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
9256
9257 fi;
9258
9259 eval "$ac_cv_use_validators"
9260 if test "$no_cache" != 1; then
9261 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
9262 fi
9263
9264 if test "$wxUSE_VALIDATORS" = yes; then
9265 echo "$as_me:$LINENO: result: yes" >&5
9266 echo "${ECHO_T}yes" >&6
9267 else
9268 echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6
9270 fi
9271
9272
9273 enablestring=
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
9276 no_cache=0
9277 # Check whether --enable-busyinfo or --disable-busyinfo was given.
9278 if test "${enable_busyinfo+set}" = set; then
9279 enableval="$enable_busyinfo"
9280
9281 if test "$enableval" = yes; then
9282 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
9283 else
9284 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
9285 fi
9286
9287 else
9288
9289 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9292 else
9293 no_cache=1
9294 fi
9295
9296 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
9297
9298 fi;
9299
9300 eval "$ac_cv_use_busyinfo"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
9303 fi
9304
9305 if test "$wxUSE_BUSYINFO" = yes; then
9306 echo "$as_me:$LINENO: result: yes" >&5
9307 echo "${ECHO_T}yes" >&6
9308 else
9309 echo "$as_me:$LINENO: result: no" >&5
9310 echo "${ECHO_T}no" >&6
9311 fi
9312
9313
9314 enablestring=
9315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
9316 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
9317 no_cache=0
9318 # Check whether --enable-joystick or --disable-joystick was given.
9319 if test "${enable_joystick+set}" = set; then
9320 enableval="$enable_joystick"
9321
9322 if test "$enableval" = yes; then
9323 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
9324 else
9325 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
9326 fi
9327
9328 else
9329
9330 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
9331 if test "x$LINE" != x ; then
9332 eval "DEFAULT_$LINE"
9333 else
9334 no_cache=1
9335 fi
9336
9337 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
9338
9339 fi;
9340
9341 eval "$ac_cv_use_joystick"
9342 if test "$no_cache" != 1; then
9343 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
9344 fi
9345
9346 if test "$wxUSE_JOYSTICK" = yes; then
9347 echo "$as_me:$LINENO: result: yes" >&5
9348 echo "${ECHO_T}yes" >&6
9349 else
9350 echo "$as_me:$LINENO: result: no" >&5
9351 echo "${ECHO_T}no" >&6
9352 fi
9353
9354
9355 enablestring=
9356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9357 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9358 no_cache=0
9359 # Check whether --enable-metafile or --disable-metafile was given.
9360 if test "${enable_metafile+set}" = set; then
9361 enableval="$enable_metafile"
9362
9363 if test "$enableval" = yes; then
9364 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9365 else
9366 ac_cv_use_metafile='wxUSE_METAFILE=no'
9367 fi
9368
9369 else
9370
9371 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
9372 if test "x$LINE" != x ; then
9373 eval "DEFAULT_$LINE"
9374 else
9375 no_cache=1
9376 fi
9377
9378 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
9379
9380 fi;
9381
9382 eval "$ac_cv_use_metafile"
9383 if test "$no_cache" != 1; then
9384 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9385 fi
9386
9387 if test "$wxUSE_METAFILE" = yes; then
9388 echo "$as_me:$LINENO: result: yes" >&5
9389 echo "${ECHO_T}yes" >&6
9390 else
9391 echo "$as_me:$LINENO: result: no" >&5
9392 echo "${ECHO_T}no" >&6
9393 fi
9394
9395
9396 enablestring=
9397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
9399 no_cache=0
9400 # Check whether --enable-dragimage or --disable-dragimage was given.
9401 if test "${enable_dragimage+set}" = set; then
9402 enableval="$enable_dragimage"
9403
9404 if test "$enableval" = yes; then
9405 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
9406 else
9407 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
9408 fi
9409
9410 else
9411
9412 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
9413 if test "x$LINE" != x ; then
9414 eval "DEFAULT_$LINE"
9415 else
9416 no_cache=1
9417 fi
9418
9419 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
9420
9421 fi;
9422
9423 eval "$ac_cv_use_dragimage"
9424 if test "$no_cache" != 1; then
9425 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
9426 fi
9427
9428 if test "$wxUSE_DRAGIMAGE" = yes; then
9429 echo "$as_me:$LINENO: result: yes" >&5
9430 echo "${ECHO_T}yes" >&6
9431 else
9432 echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6
9434 fi
9435
9436
9437 enablestring=
9438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
9439 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
9440 no_cache=0
9441 # Check whether --enable-accessibility or --disable-accessibility was given.
9442 if test "${enable_accessibility+set}" = set; then
9443 enableval="$enable_accessibility"
9444
9445 if test "$enableval" = yes; then
9446 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
9447 else
9448 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
9449 fi
9450
9451 else
9452
9453 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
9454 if test "x$LINE" != x ; then
9455 eval "DEFAULT_$LINE"
9456 else
9457 no_cache=1
9458 fi
9459
9460 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
9461
9462 fi;
9463
9464 eval "$ac_cv_use_accessibility"
9465 if test "$no_cache" != 1; then
9466 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
9467 fi
9468
9469 if test "$wxUSE_ACCESSIBILITY" = yes; then
9470 echo "$as_me:$LINENO: result: yes" >&5
9471 echo "${ECHO_T}yes" >&6
9472 else
9473 echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6
9475 fi
9476
9477
9478
9479
9480 enablestring=
9481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
9482 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
9483 no_cache=0
9484 # Check whether --enable-palette or --disable-palette was given.
9485 if test "${enable_palette+set}" = set; then
9486 enableval="$enable_palette"
9487
9488 if test "$enableval" = yes; then
9489 ac_cv_use_palette='wxUSE_PALETTE=yes'
9490 else
9491 ac_cv_use_palette='wxUSE_PALETTE=no'
9492 fi
9493
9494 else
9495
9496 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
9497 if test "x$LINE" != x ; then
9498 eval "DEFAULT_$LINE"
9499 else
9500 no_cache=1
9501 fi
9502
9503 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
9504
9505 fi;
9506
9507 eval "$ac_cv_use_palette"
9508 if test "$no_cache" != 1; then
9509 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
9510 fi
9511
9512 if test "$wxUSE_PALETTE" = yes; then
9513 echo "$as_me:$LINENO: result: yes" >&5
9514 echo "${ECHO_T}yes" >&6
9515 else
9516 echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6
9518 fi
9519
9520
9521 enablestring=
9522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
9523 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
9524 no_cache=0
9525 # Check whether --enable-image or --disable-image was given.
9526 if test "${enable_image+set}" = set; then
9527 enableval="$enable_image"
9528
9529 if test "$enableval" = yes; then
9530 ac_cv_use_image='wxUSE_IMAGE=yes'
9531 else
9532 ac_cv_use_image='wxUSE_IMAGE=no'
9533 fi
9534
9535 else
9536
9537 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
9538 if test "x$LINE" != x ; then
9539 eval "DEFAULT_$LINE"
9540 else
9541 no_cache=1
9542 fi
9543
9544 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
9545
9546 fi;
9547
9548 eval "$ac_cv_use_image"
9549 if test "$no_cache" != 1; then
9550 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
9551 fi
9552
9553 if test "$wxUSE_IMAGE" = yes; then
9554 echo "$as_me:$LINENO: result: yes" >&5
9555 echo "${ECHO_T}yes" >&6
9556 else
9557 echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6
9559 fi
9560
9561
9562 enablestring=
9563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
9564 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
9565 no_cache=0
9566 # Check whether --enable-gif or --disable-gif was given.
9567 if test "${enable_gif+set}" = set; then
9568 enableval="$enable_gif"
9569
9570 if test "$enableval" = yes; then
9571 ac_cv_use_gif='wxUSE_GIF=yes'
9572 else
9573 ac_cv_use_gif='wxUSE_GIF=no'
9574 fi
9575
9576 else
9577
9578 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
9579 if test "x$LINE" != x ; then
9580 eval "DEFAULT_$LINE"
9581 else
9582 no_cache=1
9583 fi
9584
9585 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
9586
9587 fi;
9588
9589 eval "$ac_cv_use_gif"
9590 if test "$no_cache" != 1; then
9591 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
9592 fi
9593
9594 if test "$wxUSE_GIF" = yes; then
9595 echo "$as_me:$LINENO: result: yes" >&5
9596 echo "${ECHO_T}yes" >&6
9597 else
9598 echo "$as_me:$LINENO: result: no" >&5
9599 echo "${ECHO_T}no" >&6
9600 fi
9601
9602
9603 enablestring=
9604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
9605 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
9606 no_cache=0
9607 # Check whether --enable-pcx or --disable-pcx was given.
9608 if test "${enable_pcx+set}" = set; then
9609 enableval="$enable_pcx"
9610
9611 if test "$enableval" = yes; then
9612 ac_cv_use_pcx='wxUSE_PCX=yes'
9613 else
9614 ac_cv_use_pcx='wxUSE_PCX=no'
9615 fi
9616
9617 else
9618
9619 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
9620 if test "x$LINE" != x ; then
9621 eval "DEFAULT_$LINE"
9622 else
9623 no_cache=1
9624 fi
9625
9626 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
9627
9628 fi;
9629
9630 eval "$ac_cv_use_pcx"
9631 if test "$no_cache" != 1; then
9632 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
9633 fi
9634
9635 if test "$wxUSE_PCX" = yes; then
9636 echo "$as_me:$LINENO: result: yes" >&5
9637 echo "${ECHO_T}yes" >&6
9638 else
9639 echo "$as_me:$LINENO: result: no" >&5
9640 echo "${ECHO_T}no" >&6
9641 fi
9642
9643
9644 enablestring=
9645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
9646 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
9647 no_cache=0
9648 # Check whether --enable-iff or --disable-iff was given.
9649 if test "${enable_iff+set}" = set; then
9650 enableval="$enable_iff"
9651
9652 if test "$enableval" = yes; then
9653 ac_cv_use_iff='wxUSE_IFF=yes'
9654 else
9655 ac_cv_use_iff='wxUSE_IFF=no'
9656 fi
9657
9658 else
9659
9660 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
9661 if test "x$LINE" != x ; then
9662 eval "DEFAULT_$LINE"
9663 else
9664 no_cache=1
9665 fi
9666
9667 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
9668
9669 fi;
9670
9671 eval "$ac_cv_use_iff"
9672 if test "$no_cache" != 1; then
9673 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
9674 fi
9675
9676 if test "$wxUSE_IFF" = yes; then
9677 echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6
9679 else
9680 echo "$as_me:$LINENO: result: no" >&5
9681 echo "${ECHO_T}no" >&6
9682 fi
9683
9684
9685 enablestring=
9686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
9687 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
9688 no_cache=0
9689 # Check whether --enable-pnm or --disable-pnm was given.
9690 if test "${enable_pnm+set}" = set; then
9691 enableval="$enable_pnm"
9692
9693 if test "$enableval" = yes; then
9694 ac_cv_use_pnm='wxUSE_PNM=yes'
9695 else
9696 ac_cv_use_pnm='wxUSE_PNM=no'
9697 fi
9698
9699 else
9700
9701 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
9702 if test "x$LINE" != x ; then
9703 eval "DEFAULT_$LINE"
9704 else
9705 no_cache=1
9706 fi
9707
9708 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
9709
9710 fi;
9711
9712 eval "$ac_cv_use_pnm"
9713 if test "$no_cache" != 1; then
9714 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
9715 fi
9716
9717 if test "$wxUSE_PNM" = yes; then
9718 echo "$as_me:$LINENO: result: yes" >&5
9719 echo "${ECHO_T}yes" >&6
9720 else
9721 echo "$as_me:$LINENO: result: no" >&5
9722 echo "${ECHO_T}no" >&6
9723 fi
9724
9725
9726 enablestring=
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
9729 no_cache=0
9730 # Check whether --enable-xpm or --disable-xpm was given.
9731 if test "${enable_xpm+set}" = set; then
9732 enableval="$enable_xpm"
9733
9734 if test "$enableval" = yes; then
9735 ac_cv_use_xpm='wxUSE_XPM=yes'
9736 else
9737 ac_cv_use_xpm='wxUSE_XPM=no'
9738 fi
9739
9740 else
9741
9742 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 else
9746 no_cache=1
9747 fi
9748
9749 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
9750
9751 fi;
9752
9753 eval "$ac_cv_use_xpm"
9754 if test "$no_cache" != 1; then
9755 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
9756 fi
9757
9758 if test "$wxUSE_XPM" = yes; then
9759 echo "$as_me:$LINENO: result: yes" >&5
9760 echo "${ECHO_T}yes" >&6
9761 else
9762 echo "$as_me:$LINENO: result: no" >&5
9763 echo "${ECHO_T}no" >&6
9764 fi
9765
9766
9767 enablestring=
9768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
9769 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
9770 no_cache=0
9771 # Check whether --enable-ico_cur or --disable-ico_cur was given.
9772 if test "${enable_ico_cur+set}" = set; then
9773 enableval="$enable_ico_cur"
9774
9775 if test "$enableval" = yes; then
9776 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
9777 else
9778 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
9779 fi
9780
9781 else
9782
9783 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
9784 if test "x$LINE" != x ; then
9785 eval "DEFAULT_$LINE"
9786 else
9787 no_cache=1
9788 fi
9789
9790 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
9791
9792 fi;
9793
9794 eval "$ac_cv_use_ico_cur"
9795 if test "$no_cache" != 1; then
9796 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
9797 fi
9798
9799 if test "$wxUSE_ICO_CUR" = yes; then
9800 echo "$as_me:$LINENO: result: yes" >&5
9801 echo "${ECHO_T}yes" >&6
9802 else
9803 echo "$as_me:$LINENO: result: no" >&5
9804 echo "${ECHO_T}no" >&6
9805 fi
9806
9807
9808 fi
9809
9810
9811
9812 enablestring=
9813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
9814 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
9815 no_cache=0
9816 # Check whether --enable-official_build or --disable-official_build was given.
9817 if test "${enable_official_build+set}" = set; then
9818 enableval="$enable_official_build"
9819
9820 if test "$enableval" = yes; then
9821 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
9822 else
9823 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
9824 fi
9825
9826 else
9827
9828 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
9829 if test "x$LINE" != x ; then
9830 eval "DEFAULT_$LINE"
9831 else
9832 no_cache=1
9833 fi
9834
9835 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
9836
9837 fi;
9838
9839 eval "$ac_cv_use_official_build"
9840 if test "$no_cache" != 1; then
9841 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
9842 fi
9843
9844 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
9845 echo "$as_me:$LINENO: result: yes" >&5
9846 echo "${ECHO_T}yes" >&6
9847 else
9848 echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6
9850 fi
9851
9852 # Check whether --enable-vendor or --disable-vendor was given.
9853 if test "${enable_vendor+set}" = set; then
9854 enableval="$enable_vendor"
9855 VENDOR="$enableval"
9856 fi;
9857 if test "x$VENDOR" = "x"; then
9858 VENDOR="custom"
9859 fi
9860
9861 case "${host}" in
9862 *-pc-os2_emx | *-pc-os2-emx )
9863 PATH_IFS=';'
9864 ;;
9865 *)
9866 PATH_IFS=':'
9867 ;;
9868 esac
9869
9870
9871
9872 echo "saving argument cache $wx_arg_cache_file"
9873 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
9874
9875
9876
9877 echo "$as_me:$LINENO: checking for toolkit" >&5
9878 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
9879
9880 # In Wine, we need to default to MSW, not GTK or MOTIF
9881 if test "$wxUSE_WINE" = "yes"; then
9882 DEFAULT_DEFAULT_wxUSE_GTK=0
9883 DEFAULT_DEFAULT_wxUSE_MOTIF=0
9884 DEFAULT_DEFAULT_wxUSE_MSW=1
9885 wxUSE_SHARED=no
9886 fi
9887
9888 if test "$wxUSE_GUI" = "yes"; then
9889
9890 if test "$USE_BEOS" = 1; then
9891 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
9892 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
9893 { (exit 1); exit 1; }; }
9894 fi
9895
9896 if test "$TOOLKIT_GIVEN" = 1; then
9897 for toolkit in `echo $ALL_TOOLKITS`; do
9898 var=wxUSE_$toolkit
9899 eval "value=\$${var}"
9900 eval "$var=`echo \$value | sed -e "s/yes/1/" -e "s/no/0/"`"
9901 done
9902 else
9903 for toolkit in `echo $ALL_TOOLKITS`; do
9904 if test "$has_toolkit_in_cache" != 1; then
9905 var=DEFAULT_DEFAULT_wxUSE_$toolkit
9906 else
9907 var=DEFAULT_wxUSE_$toolkit
9908 fi
9909 eval "wxUSE_$toolkit=\$${var}"
9910 done
9911 fi
9912
9913 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
9914 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
9915 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
9916
9917 case "${host}" in
9918 *-pc-os2_emx | *-pc-os2-emx )
9919 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
9920 esac
9921
9922 case "$NUM_TOOLKITS" in
9923 1)
9924 ;;
9925 0)
9926 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
9927 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
9928 { (exit 1); exit 1; }; }
9929 ;;
9930 *)
9931 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
9932 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
9933 { (exit 1); exit 1; }; }
9934 esac
9935
9936 for toolkit in `echo $ALL_TOOLKITS`; do
9937 var=wxUSE_$toolkit
9938 eval "value=\$${var}"
9939 if test "x$value" != x; then
9940 cache_var=CACHE_$toolkit
9941 eval "cache=\$${cache_var}"
9942 if test "$cache" = 1; then
9943 echo "$var=$value" >> ${wx_arg_cache_file}
9944 fi
9945 if test "$value" = 1; then
9946 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
9947 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
9948 echo "${ECHO_T}$toolkit_echo" >&6
9949 fi
9950 fi
9951 done
9952 else
9953 if test "x$host_alias" != "x"; then
9954 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
9955 echo "${ECHO_T}base ($host_alias hosted) only" >&6
9956 else
9957 echo "$as_me:$LINENO: result: base only" >&5
9958 echo "${ECHO_T}base only" >&6
9959 fi
9960 fi
9961
9962 wants_win32=0
9963 doesnt_want_win32=0
9964 case "${host}" in
9965 *-*-cygwin*)
9966 if test "$wxUSE_MSW" = 1 ; then
9967 wants_win32=1
9968 else
9969 doesnt_want_win32=1
9970 fi
9971 ;;
9972 *-*-mingw*)
9973 wants_win32=1
9974 ;;
9975 esac
9976
9977 if test "$wxUSE_WINE" = "yes"; then
9978 wants_win32=1
9979 CC=winegcc
9980 CXX=wineg++
9981 RESCOMP=wrc
9982 LDFLAGS_GUI="-mwindows"
9983 fi
9984
9985 if test "$wants_win32" = 1 ; then
9986 USE_UNIX=0
9987 USE_WIN32=1
9988 cat >>confdefs.h <<\_ACEOF
9989 #define __WIN32__ 1
9990 _ACEOF
9991
9992 cat >>confdefs.h <<\_ACEOF
9993 #define __WIN95__ 1
9994 _ACEOF
9995
9996 cat >>confdefs.h <<\_ACEOF
9997 #define __WINDOWS__ 1
9998 _ACEOF
9999
10000 cat >>confdefs.h <<\_ACEOF
10001 #define __GNUWIN32__ 1
10002 _ACEOF
10003
10004 cat >>confdefs.h <<\_ACEOF
10005 #define STRICT 1
10006 _ACEOF
10007
10008 cat >>confdefs.h <<\_ACEOF
10009 #define WINVER 0x0400
10010 _ACEOF
10011
10012 fi
10013 if test "$doesnt_want_win32" = 1 ; then
10014 USE_UNIX=1
10015 USE_WIN32=0
10016 fi
10017
10018 if test "$USE_UNIX" = 1 ; then
10019 wxUSE_UNIX=yes
10020 cat >>confdefs.h <<\_ACEOF
10021 #define __UNIX__ 1
10022 _ACEOF
10023
10024 fi
10025
10026
10027 cat >confcache <<\_ACEOF
10028 # This file is a shell script that caches the results of configure
10029 # tests run on this system so they can be shared between configure
10030 # scripts and configure runs, see configure's option --config-cache.
10031 # It is not useful on other systems. If it contains results you don't
10032 # want to keep, you may remove or edit it.
10033 #
10034 # config.status only pays attention to the cache file if you give it
10035 # the --recheck option to rerun configure.
10036 #
10037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10039 # following values.
10040
10041 _ACEOF
10042
10043 # The following way of writing the cache mishandles newlines in values,
10044 # but we know of no workaround that is simple, portable, and efficient.
10045 # So, don't put newlines in cache variables' values.
10046 # Ultrix sh set writes to stderr and can't be redirected directly,
10047 # and sets the high bit in the cache file unless we assign to the vars.
10048 {
10049 (set) 2>&1 |
10050 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10051 *ac_space=\ *)
10052 # `set' does not quote correctly, so add quotes (double-quote
10053 # substitution turns \\\\ into \\, and sed turns \\ into \).
10054 sed -n \
10055 "s/'/'\\\\''/g;
10056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10057 ;;
10058 *)
10059 # `set' quotes correctly as required by POSIX, so do not add quotes.
10060 sed -n \
10061 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10062 ;;
10063 esac;
10064 } |
10065 sed '
10066 t clear
10067 : clear
10068 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10069 t end
10070 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10071 : end' >>confcache
10072 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10073 if test -w $cache_file; then
10074 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10075 cat confcache >$cache_file
10076 else
10077 echo "not updating unwritable cache $cache_file"
10078 fi
10079 fi
10080 rm -f confcache
10081
10082 if test "$build" != "$host" ; then
10083 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
10084 CC=$host_alias-gcc
10085 CXX=$host_alias-c++
10086 AR=$host_alias-ar
10087 RANLIB=$host_alias-ranlib
10088 DLLTOOL=$host_alias-dlltool
10089 RESCOMP=$host_alias-windres
10090 LD=$host_alias-ld
10091 NM=$host_alias-nm
10092 STRIP=$host_alias-strip
10093 else
10094 { { echo "$as_me:$LINENO: error: $build_alias -> $host_alias cross compilation not supported yet." >&5
10095 echo "$as_me: error: $build_alias -> $host_alias cross compilation not supported yet." >&2;}
10096 { (exit 1); exit 1; }; }
10097 fi
10098 fi
10099
10100 CFLAGS=${CFLAGS:=}
10101 ac_ext=c
10102 ac_cpp='$CPP $CPPFLAGS'
10103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10106 if test -n "$ac_tool_prefix"; then
10107 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10108 set dummy ${ac_tool_prefix}gcc; ac_word=$2
10109 echo "$as_me:$LINENO: checking for $ac_word" >&5
10110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10111 if test "${ac_cv_prog_CC+set}" = set; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10113 else
10114 if test -n "$CC"; then
10115 ac_cv_prog_CC="$CC" # Let the user override the test.
10116 else
10117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10118 for as_dir in $PATH
10119 do
10120 IFS=$as_save_IFS
10121 test -z "$as_dir" && as_dir=.
10122 for ac_exec_ext in '' $ac_executable_extensions; do
10123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10124 ac_cv_prog_CC="${ac_tool_prefix}gcc"
10125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10126 break 2
10127 fi
10128 done
10129 done
10130
10131 fi
10132 fi
10133 CC=$ac_cv_prog_CC
10134 if test -n "$CC"; then
10135 echo "$as_me:$LINENO: result: $CC" >&5
10136 echo "${ECHO_T}$CC" >&6
10137 else
10138 echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6
10140 fi
10141
10142 fi
10143 if test -z "$ac_cv_prog_CC"; then
10144 ac_ct_CC=$CC
10145 # Extract the first word of "gcc", so it can be a program name with args.
10146 set dummy gcc; ac_word=$2
10147 echo "$as_me:$LINENO: checking for $ac_word" >&5
10148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 else
10152 if test -n "$ac_ct_CC"; then
10153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10154 else
10155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10156 for as_dir in $PATH
10157 do
10158 IFS=$as_save_IFS
10159 test -z "$as_dir" && as_dir=.
10160 for ac_exec_ext in '' $ac_executable_extensions; do
10161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10162 ac_cv_prog_ac_ct_CC="gcc"
10163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10164 break 2
10165 fi
10166 done
10167 done
10168
10169 fi
10170 fi
10171 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10172 if test -n "$ac_ct_CC"; then
10173 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10174 echo "${ECHO_T}$ac_ct_CC" >&6
10175 else
10176 echo "$as_me:$LINENO: result: no" >&5
10177 echo "${ECHO_T}no" >&6
10178 fi
10179
10180 CC=$ac_ct_CC
10181 else
10182 CC="$ac_cv_prog_CC"
10183 fi
10184
10185 if test -z "$CC"; then
10186 if test -n "$ac_tool_prefix"; then
10187 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10188 set dummy ${ac_tool_prefix}cc; ac_word=$2
10189 echo "$as_me:$LINENO: checking for $ac_word" >&5
10190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10191 if test "${ac_cv_prog_CC+set}" = set; then
10192 echo $ECHO_N "(cached) $ECHO_C" >&6
10193 else
10194 if test -n "$CC"; then
10195 ac_cv_prog_CC="$CC" # Let the user override the test.
10196 else
10197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10198 for as_dir in $PATH
10199 do
10200 IFS=$as_save_IFS
10201 test -z "$as_dir" && as_dir=.
10202 for ac_exec_ext in '' $ac_executable_extensions; do
10203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10204 ac_cv_prog_CC="${ac_tool_prefix}cc"
10205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10206 break 2
10207 fi
10208 done
10209 done
10210
10211 fi
10212 fi
10213 CC=$ac_cv_prog_CC
10214 if test -n "$CC"; then
10215 echo "$as_me:$LINENO: result: $CC" >&5
10216 echo "${ECHO_T}$CC" >&6
10217 else
10218 echo "$as_me:$LINENO: result: no" >&5
10219 echo "${ECHO_T}no" >&6
10220 fi
10221
10222 fi
10223 if test -z "$ac_cv_prog_CC"; then
10224 ac_ct_CC=$CC
10225 # Extract the first word of "cc", so it can be a program name with args.
10226 set dummy cc; ac_word=$2
10227 echo "$as_me:$LINENO: checking for $ac_word" >&5
10228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10229 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10230 echo $ECHO_N "(cached) $ECHO_C" >&6
10231 else
10232 if test -n "$ac_ct_CC"; then
10233 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10234 else
10235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10236 for as_dir in $PATH
10237 do
10238 IFS=$as_save_IFS
10239 test -z "$as_dir" && as_dir=.
10240 for ac_exec_ext in '' $ac_executable_extensions; do
10241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_prog_ac_ct_CC="cc"
10243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 break 2
10245 fi
10246 done
10247 done
10248
10249 fi
10250 fi
10251 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10252 if test -n "$ac_ct_CC"; then
10253 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10254 echo "${ECHO_T}$ac_ct_CC" >&6
10255 else
10256 echo "$as_me:$LINENO: result: no" >&5
10257 echo "${ECHO_T}no" >&6
10258 fi
10259
10260 CC=$ac_ct_CC
10261 else
10262 CC="$ac_cv_prog_CC"
10263 fi
10264
10265 fi
10266 if test -z "$CC"; then
10267 # Extract the first word of "cc", so it can be a program name with args.
10268 set dummy cc; ac_word=$2
10269 echo "$as_me:$LINENO: checking for $ac_word" >&5
10270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10271 if test "${ac_cv_prog_CC+set}" = set; then
10272 echo $ECHO_N "(cached) $ECHO_C" >&6
10273 else
10274 if test -n "$CC"; then
10275 ac_cv_prog_CC="$CC" # Let the user override the test.
10276 else
10277 ac_prog_rejected=no
10278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10279 for as_dir in $PATH
10280 do
10281 IFS=$as_save_IFS
10282 test -z "$as_dir" && as_dir=.
10283 for ac_exec_ext in '' $ac_executable_extensions; do
10284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10286 ac_prog_rejected=yes
10287 continue
10288 fi
10289 ac_cv_prog_CC="cc"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 break 2
10292 fi
10293 done
10294 done
10295
10296 if test $ac_prog_rejected = yes; then
10297 # We found a bogon in the path, so make sure we never use it.
10298 set dummy $ac_cv_prog_CC
10299 shift
10300 if test $# != 0; then
10301 # We chose a different compiler from the bogus one.
10302 # However, it has the same basename, so the bogon will be chosen
10303 # first if we set CC to just the basename; use the full file name.
10304 shift
10305 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
10306 fi
10307 fi
10308 fi
10309 fi
10310 CC=$ac_cv_prog_CC
10311 if test -n "$CC"; then
10312 echo "$as_me:$LINENO: result: $CC" >&5
10313 echo "${ECHO_T}$CC" >&6
10314 else
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10317 fi
10318
10319 fi
10320 if test -z "$CC"; then
10321 if test -n "$ac_tool_prefix"; then
10322 for ac_prog in cl
10323 do
10324 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10326 echo "$as_me:$LINENO: checking for $ac_word" >&5
10327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10328 if test "${ac_cv_prog_CC+set}" = set; then
10329 echo $ECHO_N "(cached) $ECHO_C" >&6
10330 else
10331 if test -n "$CC"; then
10332 ac_cv_prog_CC="$CC" # Let the user override the test.
10333 else
10334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10335 for as_dir in $PATH
10336 do
10337 IFS=$as_save_IFS
10338 test -z "$as_dir" && as_dir=.
10339 for ac_exec_ext in '' $ac_executable_extensions; do
10340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10341 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
10342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10343 break 2
10344 fi
10345 done
10346 done
10347
10348 fi
10349 fi
10350 CC=$ac_cv_prog_CC
10351 if test -n "$CC"; then
10352 echo "$as_me:$LINENO: result: $CC" >&5
10353 echo "${ECHO_T}$CC" >&6
10354 else
10355 echo "$as_me:$LINENO: result: no" >&5
10356 echo "${ECHO_T}no" >&6
10357 fi
10358
10359 test -n "$CC" && break
10360 done
10361 fi
10362 if test -z "$CC"; then
10363 ac_ct_CC=$CC
10364 for ac_prog in cl
10365 do
10366 # Extract the first word of "$ac_prog", so it can be a program name with args.
10367 set dummy $ac_prog; ac_word=$2
10368 echo "$as_me:$LINENO: checking for $ac_word" >&5
10369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 else
10373 if test -n "$ac_ct_CC"; then
10374 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10375 else
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10378 do
10379 IFS=$as_save_IFS
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10383 ac_cv_prog_ac_ct_CC="$ac_prog"
10384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10385 break 2
10386 fi
10387 done
10388 done
10389
10390 fi
10391 fi
10392 ac_ct_CC=$ac_cv_prog_ac_ct_CC
10393 if test -n "$ac_ct_CC"; then
10394 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10395 echo "${ECHO_T}$ac_ct_CC" >&6
10396 else
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10399 fi
10400
10401 test -n "$ac_ct_CC" && break
10402 done
10403
10404 CC=$ac_ct_CC
10405 fi
10406
10407 fi
10408
10409
10410 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10411 See \`config.log' for more details." >&5
10412 echo "$as_me: error: no acceptable C compiler found in \$PATH
10413 See \`config.log' for more details." >&2;}
10414 { (exit 1); exit 1; }; }
10415
10416 # Provide some information about the compiler.
10417 echo "$as_me:$LINENO:" \
10418 "checking for C compiler version" >&5
10419 ac_compiler=`set X $ac_compile; echo $2`
10420 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10421 (eval $ac_compiler --version </dev/null >&5) 2>&5
10422 ac_status=$?
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }
10425 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10426 (eval $ac_compiler -v </dev/null >&5) 2>&5
10427 ac_status=$?
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); }
10430 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10431 (eval $ac_compiler -V </dev/null >&5) 2>&5
10432 ac_status=$?
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }
10435
10436 cat >conftest.$ac_ext <<_ACEOF
10437 #line $LINENO "configure"
10438 /* confdefs.h. */
10439 _ACEOF
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10443
10444 int
10445 main ()
10446 {
10447
10448 ;
10449 return 0;
10450 }
10451 _ACEOF
10452 ac_clean_files_save=$ac_clean_files
10453 ac_clean_files="$ac_clean_files a.out a.exe b.out"
10454 # Try to create an executable without -o first, disregard a.out.
10455 # It will help us diagnose broken compilers, and finding out an intuition
10456 # of exeext.
10457 echo "$as_me:$LINENO: checking for C compiler default output" >&5
10458 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
10459 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
10460 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
10461 (eval $ac_link_default) 2>&5
10462 ac_status=$?
10463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464 (exit $ac_status); }; then
10465 # Find the output, starting from the most likely. This scheme is
10466 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
10467 # resort.
10468
10469 # Be careful to initialize this variable, since it used to be cached.
10470 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
10471 ac_cv_exeext=
10472 # b.out is created by i960 compilers.
10473 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
10474 do
10475 test -f "$ac_file" || continue
10476 case $ac_file in
10477 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
10478 ;;
10479 conftest.$ac_ext )
10480 # This is the source file.
10481 ;;
10482 [ab].out )
10483 # We found the default executable, but exeext='' is most
10484 # certainly right.
10485 break;;
10486 *.* )
10487 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10488 # FIXME: I believe we export ac_cv_exeext for Libtool,
10489 # but it would be cool to find out if it's true. Does anybody
10490 # maintain Libtool? --akim.
10491 export ac_cv_exeext
10492 break;;
10493 * )
10494 break;;
10495 esac
10496 done
10497 else
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.$ac_ext >&5
10500
10501 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
10502 See \`config.log' for more details." >&5
10503 echo "$as_me: error: C compiler cannot create executables
10504 See \`config.log' for more details." >&2;}
10505 { (exit 77); exit 77; }; }
10506 fi
10507
10508 ac_exeext=$ac_cv_exeext
10509 echo "$as_me:$LINENO: result: $ac_file" >&5
10510 echo "${ECHO_T}$ac_file" >&6
10511
10512 # Check the compiler produces executables we can run. If not, either
10513 # the compiler is broken, or we cross compile.
10514 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
10515 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
10516 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
10517 # If not cross compiling, check that we can run a simple program.
10518 if test "$cross_compiling" != yes; then
10519 if { ac_try='./$ac_file'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10522 ac_status=$?
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; }; then
10525 cross_compiling=no
10526 else
10527 if test "$cross_compiling" = maybe; then
10528 cross_compiling=yes
10529 else
10530 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
10531 If you meant to cross compile, use \`--host'.
10532 See \`config.log' for more details." >&5
10533 echo "$as_me: error: cannot run C compiled programs.
10534 If you meant to cross compile, use \`--host'.
10535 See \`config.log' for more details." >&2;}
10536 { (exit 1); exit 1; }; }
10537 fi
10538 fi
10539 fi
10540 echo "$as_me:$LINENO: result: yes" >&5
10541 echo "${ECHO_T}yes" >&6
10542
10543 rm -f a.out a.exe conftest$ac_cv_exeext b.out
10544 ac_clean_files=$ac_clean_files_save
10545 # Check the compiler produces executables we can run. If not, either
10546 # the compiler is broken, or we cross compile.
10547 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
10548 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
10549 echo "$as_me:$LINENO: result: $cross_compiling" >&5
10550 echo "${ECHO_T}$cross_compiling" >&6
10551
10552 echo "$as_me:$LINENO: checking for suffix of executables" >&5
10553 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
10554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10555 (eval $ac_link) 2>&5
10556 ac_status=$?
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); }; then
10559 # If both `conftest.exe' and `conftest' are `present' (well, observable)
10560 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
10561 # work properly (i.e., refer to `conftest.exe'), while it won't with
10562 # `rm'.
10563 for ac_file in conftest.exe conftest conftest.*; do
10564 test -f "$ac_file" || continue
10565 case $ac_file in
10566 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
10567 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
10568 export ac_cv_exeext
10569 break;;
10570 * ) break;;
10571 esac
10572 done
10573 else
10574 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
10575 See \`config.log' for more details." >&5
10576 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
10577 See \`config.log' for more details." >&2;}
10578 { (exit 1); exit 1; }; }
10579 fi
10580
10581 rm -f conftest$ac_cv_exeext
10582 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
10583 echo "${ECHO_T}$ac_cv_exeext" >&6
10584
10585 rm -f conftest.$ac_ext
10586 EXEEXT=$ac_cv_exeext
10587 ac_exeext=$EXEEXT
10588 echo "$as_me:$LINENO: checking for suffix of object files" >&5
10589 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
10590 if test "${ac_cv_objext+set}" = set; then
10591 echo $ECHO_N "(cached) $ECHO_C" >&6
10592 else
10593 cat >conftest.$ac_ext <<_ACEOF
10594 #line $LINENO "configure"
10595 /* confdefs.h. */
10596 _ACEOF
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10600
10601 int
10602 main ()
10603 {
10604
10605 ;
10606 return 0;
10607 }
10608 _ACEOF
10609 rm -f conftest.o conftest.obj
10610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10611 (eval $ac_compile) 2>&5
10612 ac_status=$?
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; then
10615 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
10616 case $ac_file in
10617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
10618 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
10619 break;;
10620 esac
10621 done
10622 else
10623 echo "$as_me: failed program was:" >&5
10624 sed 's/^/| /' conftest.$ac_ext >&5
10625
10626 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
10627 See \`config.log' for more details." >&5
10628 echo "$as_me: error: cannot compute suffix of object files: cannot compile
10629 See \`config.log' for more details." >&2;}
10630 { (exit 1); exit 1; }; }
10631 fi
10632
10633 rm -f conftest.$ac_cv_objext conftest.$ac_ext
10634 fi
10635 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
10636 echo "${ECHO_T}$ac_cv_objext" >&6
10637 OBJEXT=$ac_cv_objext
10638 ac_objext=$OBJEXT
10639 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10640 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10641 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10642 echo $ECHO_N "(cached) $ECHO_C" >&6
10643 else
10644 cat >conftest.$ac_ext <<_ACEOF
10645 #line $LINENO "configure"
10646 /* confdefs.h. */
10647 _ACEOF
10648 cat confdefs.h >>conftest.$ac_ext
10649 cat >>conftest.$ac_ext <<_ACEOF
10650 /* end confdefs.h. */
10651
10652 int
10653 main ()
10654 {
10655 #ifndef __GNUC__
10656 choke me
10657 #endif
10658
10659 ;
10660 return 0;
10661 }
10662 _ACEOF
10663 rm -f conftest.$ac_objext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10665 (eval $ac_compile) 2>&5
10666 ac_status=$?
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try='test -s conftest.$ac_objext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10672 ac_status=$?
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 ac_compiler_gnu=yes
10676 else
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10679
10680 ac_compiler_gnu=no
10681 fi
10682 rm -f conftest.$ac_objext conftest.$ac_ext
10683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
10684
10685 fi
10686 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10688 GCC=`test $ac_compiler_gnu = yes && echo yes`
10689 ac_test_CFLAGS=${CFLAGS+set}
10690 ac_save_CFLAGS=$CFLAGS
10691 CFLAGS="-g"
10692 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10693 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10694 if test "${ac_cv_prog_cc_g+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 else
10697 cat >conftest.$ac_ext <<_ACEOF
10698 #line $LINENO "configure"
10699 /* confdefs.h. */
10700 _ACEOF
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10704
10705 int
10706 main ()
10707 {
10708
10709 ;
10710 return 0;
10711 }
10712 _ACEOF
10713 rm -f conftest.$ac_objext
10714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10715 (eval $ac_compile) 2>&5
10716 ac_status=$?
10717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10718 (exit $ac_status); } &&
10719 { ac_try='test -s conftest.$ac_objext'
10720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10721 (eval $ac_try) 2>&5
10722 ac_status=$?
10723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10724 (exit $ac_status); }; }; then
10725 ac_cv_prog_cc_g=yes
10726 else
10727 echo "$as_me: failed program was:" >&5
10728 sed 's/^/| /' conftest.$ac_ext >&5
10729
10730 ac_cv_prog_cc_g=no
10731 fi
10732 rm -f conftest.$ac_objext conftest.$ac_ext
10733 fi
10734 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10735 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10736 if test "$ac_test_CFLAGS" = set; then
10737 CFLAGS=$ac_save_CFLAGS
10738 elif test $ac_cv_prog_cc_g = yes; then
10739 if test "$GCC" = yes; then
10740 CFLAGS="-g -O2"
10741 else
10742 CFLAGS="-g"
10743 fi
10744 else
10745 if test "$GCC" = yes; then
10746 CFLAGS="-O2"
10747 else
10748 CFLAGS=
10749 fi
10750 fi
10751 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10752 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10753 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10754 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 else
10756 ac_cv_prog_cc_stdc=no
10757 ac_save_CC=$CC
10758 cat >conftest.$ac_ext <<_ACEOF
10759 #line $LINENO "configure"
10760 /* confdefs.h. */
10761 _ACEOF
10762 cat confdefs.h >>conftest.$ac_ext
10763 cat >>conftest.$ac_ext <<_ACEOF
10764 /* end confdefs.h. */
10765 #include <stdarg.h>
10766 #include <stdio.h>
10767 #include <sys/types.h>
10768 #include <sys/stat.h>
10769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10770 struct buf { int x; };
10771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10772 static char *e (p, i)
10773 char **p;
10774 int i;
10775 {
10776 return p[i];
10777 }
10778 static char *f (char * (*g) (char **, int), char **p, ...)
10779 {
10780 char *s;
10781 va_list v;
10782 va_start (v,p);
10783 s = g (p, va_arg (v,int));
10784 va_end (v);
10785 return s;
10786 }
10787 int test (int i, double x);
10788 struct s1 {int (*f) (int a);};
10789 struct s2 {int (*f) (double a);};
10790 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10791 int argc;
10792 char **argv;
10793 int
10794 main ()
10795 {
10796 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10797 ;
10798 return 0;
10799 }
10800 _ACEOF
10801 # Don't try gcc -ansi; that turns off useful extensions and
10802 # breaks some systems' header files.
10803 # AIX -qlanglvl=ansi
10804 # Ultrix and OSF/1 -std1
10805 # HP-UX 10.20 and later -Ae
10806 # HP-UX older versions -Aa -D_HPUX_SOURCE
10807 # SVR4 -Xc -D__EXTENSIONS__
10808 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10809 do
10810 CC="$ac_save_CC $ac_arg"
10811 rm -f conftest.$ac_objext
10812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10813 (eval $ac_compile) 2>&5
10814 ac_status=$?
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); } &&
10817 { ac_try='test -s conftest.$ac_objext'
10818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10819 (eval $ac_try) 2>&5
10820 ac_status=$?
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); }; }; then
10823 ac_cv_prog_cc_stdc=$ac_arg
10824 break
10825 else
10826 echo "$as_me: failed program was:" >&5
10827 sed 's/^/| /' conftest.$ac_ext >&5
10828
10829 fi
10830 rm -f conftest.$ac_objext
10831 done
10832 rm -f conftest.$ac_ext conftest.$ac_objext
10833 CC=$ac_save_CC
10834
10835 fi
10836
10837 case "x$ac_cv_prog_cc_stdc" in
10838 x|xno)
10839 echo "$as_me:$LINENO: result: none needed" >&5
10840 echo "${ECHO_T}none needed" >&6 ;;
10841 *)
10842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10844 CC="$CC $ac_cv_prog_cc_stdc" ;;
10845 esac
10846
10847 # Some people use a C++ compiler to compile C. Since we use `exit',
10848 # in C++ we need to declare it. In case someone uses the same compiler
10849 # for both compiling C and C++ we need to have the C++ compiler decide
10850 # the declaration of exit, since it's the most demanding environment.
10851 cat >conftest.$ac_ext <<_ACEOF
10852 #ifndef __cplusplus
10853 choke me
10854 #endif
10855 _ACEOF
10856 rm -f conftest.$ac_objext
10857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10858 (eval $ac_compile) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -s conftest.$ac_objext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 for ac_declaration in \
10869 ''\
10870 '#include <stdlib.h>' \
10871 'extern "C" void std::exit (int) throw (); using std::exit;' \
10872 'extern "C" void std::exit (int); using std::exit;' \
10873 'extern "C" void exit (int) throw ();' \
10874 'extern "C" void exit (int);' \
10875 'void exit (int);'
10876 do
10877 cat >conftest.$ac_ext <<_ACEOF
10878 #line $LINENO "configure"
10879 /* confdefs.h. */
10880 _ACEOF
10881 cat confdefs.h >>conftest.$ac_ext
10882 cat >>conftest.$ac_ext <<_ACEOF
10883 /* end confdefs.h. */
10884 #include <stdlib.h>
10885 $ac_declaration
10886 int
10887 main ()
10888 {
10889 exit (42);
10890 ;
10891 return 0;
10892 }
10893 _ACEOF
10894 rm -f conftest.$ac_objext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10896 (eval $ac_compile) 2>&5
10897 ac_status=$?
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try='test -s conftest.$ac_objext'
10901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10902 (eval $ac_try) 2>&5
10903 ac_status=$?
10904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10905 (exit $ac_status); }; }; then
10906 :
10907 else
10908 echo "$as_me: failed program was:" >&5
10909 sed 's/^/| /' conftest.$ac_ext >&5
10910
10911 continue
10912 fi
10913 rm -f conftest.$ac_objext conftest.$ac_ext
10914 cat >conftest.$ac_ext <<_ACEOF
10915 #line $LINENO "configure"
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 $ac_declaration
10922 int
10923 main ()
10924 {
10925 exit (42);
10926 ;
10927 return 0;
10928 }
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>&5
10933 ac_status=$?
10934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10935 (exit $ac_status); } &&
10936 { ac_try='test -s conftest.$ac_objext'
10937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10938 (eval $ac_try) 2>&5
10939 ac_status=$?
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }; }; then
10942 break
10943 else
10944 echo "$as_me: failed program was:" >&5
10945 sed 's/^/| /' conftest.$ac_ext >&5
10946
10947 fi
10948 rm -f conftest.$ac_objext conftest.$ac_ext
10949 done
10950 rm -f conftest*
10951 if test -n "$ac_declaration"; then
10952 echo '#ifdef __cplusplus' >>confdefs.h
10953 echo $ac_declaration >>confdefs.h
10954 echo '#endif' >>confdefs.h
10955 fi
10956
10957 else
10958 echo "$as_me: failed program was:" >&5
10959 sed 's/^/| /' conftest.$ac_ext >&5
10960
10961 fi
10962 rm -f conftest.$ac_objext conftest.$ac_ext
10963 ac_ext=c
10964 ac_cpp='$CPP $CPPFLAGS'
10965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10968
10969
10970
10971 ac_ext=c
10972 ac_cpp='$CPP $CPPFLAGS'
10973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10976 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
10977 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
10978 # On Suns, sometimes $CPP names a directory.
10979 if test -n "$CPP" && test -d "$CPP"; then
10980 CPP=
10981 fi
10982 if test -z "$CPP"; then
10983 if test "${ac_cv_prog_CPP+set}" = set; then
10984 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 else
10986 # Double quotes because CPP needs to be expanded
10987 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
10988 do
10989 ac_preproc_ok=false
10990 for ac_c_preproc_warn_flag in '' yes
10991 do
10992 # Use a header file that comes with gcc, so configuring glibc
10993 # with a fresh cross-compiler works.
10994 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10995 # <limits.h> exists even on freestanding compilers.
10996 # On the NeXT, cc -E runs the code through the compiler's parser,
10997 # not just through cpp. "Syntax error" is here to catch this case.
10998 cat >conftest.$ac_ext <<_ACEOF
10999 #line $LINENO "configure"
11000 /* confdefs.h. */
11001 _ACEOF
11002 cat confdefs.h >>conftest.$ac_ext
11003 cat >>conftest.$ac_ext <<_ACEOF
11004 /* end confdefs.h. */
11005 #ifdef __STDC__
11006 # include <limits.h>
11007 #else
11008 # include <assert.h>
11009 #endif
11010 Syntax error
11011 _ACEOF
11012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11014 ac_status=$?
11015 grep -v '^ *+' conftest.er1 >conftest.err
11016 rm -f conftest.er1
11017 cat conftest.err >&5
11018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11019 (exit $ac_status); } >/dev/null; then
11020 if test -s conftest.err; then
11021 ac_cpp_err=$ac_c_preproc_warn_flag
11022 else
11023 ac_cpp_err=
11024 fi
11025 else
11026 ac_cpp_err=yes
11027 fi
11028 if test -z "$ac_cpp_err"; then
11029 :
11030 else
11031 echo "$as_me: failed program was:" >&5
11032 sed 's/^/| /' conftest.$ac_ext >&5
11033
11034 # Broken: fails on valid input.
11035 continue
11036 fi
11037 rm -f conftest.err conftest.$ac_ext
11038
11039 # OK, works on sane cases. Now check whether non-existent headers
11040 # can be detected and how.
11041 cat >conftest.$ac_ext <<_ACEOF
11042 #line $LINENO "configure"
11043 /* confdefs.h. */
11044 _ACEOF
11045 cat confdefs.h >>conftest.$ac_ext
11046 cat >>conftest.$ac_ext <<_ACEOF
11047 /* end confdefs.h. */
11048 #include <ac_nonexistent.h>
11049 _ACEOF
11050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11051 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11052 ac_status=$?
11053 grep -v '^ *+' conftest.er1 >conftest.err
11054 rm -f conftest.er1
11055 cat conftest.err >&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } >/dev/null; then
11058 if test -s conftest.err; then
11059 ac_cpp_err=$ac_c_preproc_warn_flag
11060 else
11061 ac_cpp_err=
11062 fi
11063 else
11064 ac_cpp_err=yes
11065 fi
11066 if test -z "$ac_cpp_err"; then
11067 # Broken: success on invalid input.
11068 continue
11069 else
11070 echo "$as_me: failed program was:" >&5
11071 sed 's/^/| /' conftest.$ac_ext >&5
11072
11073 # Passes both tests.
11074 ac_preproc_ok=:
11075 break
11076 fi
11077 rm -f conftest.err conftest.$ac_ext
11078
11079 done
11080 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11081 rm -f conftest.err conftest.$ac_ext
11082 if $ac_preproc_ok; then
11083 break
11084 fi
11085
11086 done
11087 ac_cv_prog_CPP=$CPP
11088
11089 fi
11090 CPP=$ac_cv_prog_CPP
11091 else
11092 ac_cv_prog_CPP=$CPP
11093 fi
11094 echo "$as_me:$LINENO: result: $CPP" >&5
11095 echo "${ECHO_T}$CPP" >&6
11096 ac_preproc_ok=false
11097 for ac_c_preproc_warn_flag in '' yes
11098 do
11099 # Use a header file that comes with gcc, so configuring glibc
11100 # with a fresh cross-compiler works.
11101 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11102 # <limits.h> exists even on freestanding compilers.
11103 # On the NeXT, cc -E runs the code through the compiler's parser,
11104 # not just through cpp. "Syntax error" is here to catch this case.
11105 cat >conftest.$ac_ext <<_ACEOF
11106 #line $LINENO "configure"
11107 /* confdefs.h. */
11108 _ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11112 #ifdef __STDC__
11113 # include <limits.h>
11114 #else
11115 # include <assert.h>
11116 #endif
11117 Syntax error
11118 _ACEOF
11119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11121 ac_status=$?
11122 grep -v '^ *+' conftest.er1 >conftest.err
11123 rm -f conftest.er1
11124 cat conftest.err >&5
11125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11126 (exit $ac_status); } >/dev/null; then
11127 if test -s conftest.err; then
11128 ac_cpp_err=$ac_c_preproc_warn_flag
11129 else
11130 ac_cpp_err=
11131 fi
11132 else
11133 ac_cpp_err=yes
11134 fi
11135 if test -z "$ac_cpp_err"; then
11136 :
11137 else
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.$ac_ext >&5
11140
11141 # Broken: fails on valid input.
11142 continue
11143 fi
11144 rm -f conftest.err conftest.$ac_ext
11145
11146 # OK, works on sane cases. Now check whether non-existent headers
11147 # can be detected and how.
11148 cat >conftest.$ac_ext <<_ACEOF
11149 #line $LINENO "configure"
11150 /* confdefs.h. */
11151 _ACEOF
11152 cat confdefs.h >>conftest.$ac_ext
11153 cat >>conftest.$ac_ext <<_ACEOF
11154 /* end confdefs.h. */
11155 #include <ac_nonexistent.h>
11156 _ACEOF
11157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11159 ac_status=$?
11160 grep -v '^ *+' conftest.er1 >conftest.err
11161 rm -f conftest.er1
11162 cat conftest.err >&5
11163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11164 (exit $ac_status); } >/dev/null; then
11165 if test -s conftest.err; then
11166 ac_cpp_err=$ac_c_preproc_warn_flag
11167 else
11168 ac_cpp_err=
11169 fi
11170 else
11171 ac_cpp_err=yes
11172 fi
11173 if test -z "$ac_cpp_err"; then
11174 # Broken: success on invalid input.
11175 continue
11176 else
11177 echo "$as_me: failed program was:" >&5
11178 sed 's/^/| /' conftest.$ac_ext >&5
11179
11180 # Passes both tests.
11181 ac_preproc_ok=:
11182 break
11183 fi
11184 rm -f conftest.err conftest.$ac_ext
11185
11186 done
11187 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11188 rm -f conftest.err conftest.$ac_ext
11189 if $ac_preproc_ok; then
11190 :
11191 else
11192 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
11193 See \`config.log' for more details." >&5
11194 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
11195 See \`config.log' for more details." >&2;}
11196 { (exit 1); exit 1; }; }
11197 fi
11198
11199 ac_ext=c
11200 ac_cpp='$CPP $CPPFLAGS'
11201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11204
11205
11206 echo "$as_me:$LINENO: checking for egrep" >&5
11207 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
11208 if test "${ac_cv_prog_egrep+set}" = set; then
11209 echo $ECHO_N "(cached) $ECHO_C" >&6
11210 else
11211 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
11212 then ac_cv_prog_egrep='grep -E'
11213 else ac_cv_prog_egrep='egrep'
11214 fi
11215 fi
11216 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
11217 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
11218 EGREP=$ac_cv_prog_egrep
11219
11220
11221 if test $ac_cv_c_compiler_gnu = yes; then
11222 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11223 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
11224 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11225 echo $ECHO_N "(cached) $ECHO_C" >&6
11226 else
11227 ac_pattern="Autoconf.*'x'"
11228 cat >conftest.$ac_ext <<_ACEOF
11229 #line $LINENO "configure"
11230 /* confdefs.h. */
11231 _ACEOF
11232 cat confdefs.h >>conftest.$ac_ext
11233 cat >>conftest.$ac_ext <<_ACEOF
11234 /* end confdefs.h. */
11235 #include <sgtty.h>
11236 Autoconf TIOCGETP
11237 _ACEOF
11238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11239 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11240 ac_cv_prog_gcc_traditional=yes
11241 else
11242 ac_cv_prog_gcc_traditional=no
11243 fi
11244 rm -f conftest*
11245
11246
11247 if test $ac_cv_prog_gcc_traditional = no; then
11248 cat >conftest.$ac_ext <<_ACEOF
11249 #line $LINENO "configure"
11250 /* confdefs.h. */
11251 _ACEOF
11252 cat confdefs.h >>conftest.$ac_ext
11253 cat >>conftest.$ac_ext <<_ACEOF
11254 /* end confdefs.h. */
11255 #include <termio.h>
11256 Autoconf TCGETA
11257 _ACEOF
11258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11259 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11260 ac_cv_prog_gcc_traditional=yes
11261 fi
11262 rm -f conftest*
11263
11264 fi
11265 fi
11266 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11267 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
11268 if test $ac_cv_prog_gcc_traditional = yes; then
11269 CC="$CC -traditional"
11270 fi
11271 fi
11272
11273
11274
11275
11276 ac_ext=cc
11277 ac_cpp='$CXXCPP $CPPFLAGS'
11278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11281
11282
11283 CXXFLAGS=${CXXFLAGS:=}
11284 ac_ext=cc
11285 ac_cpp='$CXXCPP $CPPFLAGS'
11286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11289 if test -n "$ac_tool_prefix"; then
11290 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11291 do
11292 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11293 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11294 echo "$as_me:$LINENO: checking for $ac_word" >&5
11295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11296 if test "${ac_cv_prog_CXX+set}" = set; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 else
11299 if test -n "$CXX"; then
11300 ac_cv_prog_CXX="$CXX" # Let the user override the test.
11301 else
11302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11303 for as_dir in $PATH
11304 do
11305 IFS=$as_save_IFS
11306 test -z "$as_dir" && as_dir=.
11307 for ac_exec_ext in '' $ac_executable_extensions; do
11308 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11309 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11311 break 2
11312 fi
11313 done
11314 done
11315
11316 fi
11317 fi
11318 CXX=$ac_cv_prog_CXX
11319 if test -n "$CXX"; then
11320 echo "$as_me:$LINENO: result: $CXX" >&5
11321 echo "${ECHO_T}$CXX" >&6
11322 else
11323 echo "$as_me:$LINENO: result: no" >&5
11324 echo "${ECHO_T}no" >&6
11325 fi
11326
11327 test -n "$CXX" && break
11328 done
11329 fi
11330 if test -z "$CXX"; then
11331 ac_ct_CXX=$CXX
11332 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
11333 do
11334 # Extract the first word of "$ac_prog", so it can be a program name with args.
11335 set dummy $ac_prog; ac_word=$2
11336 echo "$as_me:$LINENO: checking for $ac_word" >&5
11337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11338 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11340 else
11341 if test -n "$ac_ct_CXX"; then
11342 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11343 else
11344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11345 for as_dir in $PATH
11346 do
11347 IFS=$as_save_IFS
11348 test -z "$as_dir" && as_dir=.
11349 for ac_exec_ext in '' $ac_executable_extensions; do
11350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11351 ac_cv_prog_ac_ct_CXX="$ac_prog"
11352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11353 break 2
11354 fi
11355 done
11356 done
11357
11358 fi
11359 fi
11360 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11361 if test -n "$ac_ct_CXX"; then
11362 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
11363 echo "${ECHO_T}$ac_ct_CXX" >&6
11364 else
11365 echo "$as_me:$LINENO: result: no" >&5
11366 echo "${ECHO_T}no" >&6
11367 fi
11368
11369 test -n "$ac_ct_CXX" && break
11370 done
11371 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
11372
11373 CXX=$ac_ct_CXX
11374 fi
11375
11376
11377 # Provide some information about the compiler.
11378 echo "$as_me:$LINENO:" \
11379 "checking for C++ compiler version" >&5
11380 ac_compiler=`set X $ac_compile; echo $2`
11381 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11382 (eval $ac_compiler --version </dev/null >&5) 2>&5
11383 ac_status=$?
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }
11386 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11387 (eval $ac_compiler -v </dev/null >&5) 2>&5
11388 ac_status=$?
11389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 (exit $ac_status); }
11391 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11392 (eval $ac_compiler -V </dev/null >&5) 2>&5
11393 ac_status=$?
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); }
11396
11397 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
11398 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
11399 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
11400 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 else
11402 cat >conftest.$ac_ext <<_ACEOF
11403 #line $LINENO "configure"
11404 /* confdefs.h. */
11405 _ACEOF
11406 cat confdefs.h >>conftest.$ac_ext
11407 cat >>conftest.$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11409
11410 int
11411 main ()
11412 {
11413 #ifndef __GNUC__
11414 choke me
11415 #endif
11416
11417 ;
11418 return 0;
11419 }
11420 _ACEOF
11421 rm -f conftest.$ac_objext
11422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423 (eval $ac_compile) 2>&5
11424 ac_status=$?
11425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11426 (exit $ac_status); } &&
11427 { ac_try='test -s conftest.$ac_objext'
11428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11429 (eval $ac_try) 2>&5
11430 ac_status=$?
11431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11432 (exit $ac_status); }; }; then
11433 ac_compiler_gnu=yes
11434 else
11435 echo "$as_me: failed program was:" >&5
11436 sed 's/^/| /' conftest.$ac_ext >&5
11437
11438 ac_compiler_gnu=no
11439 fi
11440 rm -f conftest.$ac_objext conftest.$ac_ext
11441 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11442
11443 fi
11444 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11445 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11446 GXX=`test $ac_compiler_gnu = yes && echo yes`
11447 ac_test_CXXFLAGS=${CXXFLAGS+set}
11448 ac_save_CXXFLAGS=$CXXFLAGS
11449 CXXFLAGS="-g"
11450 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11451 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11452 if test "${ac_cv_prog_cxx_g+set}" = set; then
11453 echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455 cat >conftest.$ac_ext <<_ACEOF
11456 #line $LINENO "configure"
11457 /* confdefs.h. */
11458 _ACEOF
11459 cat confdefs.h >>conftest.$ac_ext
11460 cat >>conftest.$ac_ext <<_ACEOF
11461 /* end confdefs.h. */
11462
11463 int
11464 main ()
11465 {
11466
11467 ;
11468 return 0;
11469 }
11470 _ACEOF
11471 rm -f conftest.$ac_objext
11472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11473 (eval $ac_compile) 2>&5
11474 ac_status=$?
11475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11476 (exit $ac_status); } &&
11477 { ac_try='test -s conftest.$ac_objext'
11478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11479 (eval $ac_try) 2>&5
11480 ac_status=$?
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); }; }; then
11483 ac_cv_prog_cxx_g=yes
11484 else
11485 echo "$as_me: failed program was:" >&5
11486 sed 's/^/| /' conftest.$ac_ext >&5
11487
11488 ac_cv_prog_cxx_g=no
11489 fi
11490 rm -f conftest.$ac_objext conftest.$ac_ext
11491 fi
11492 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11493 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11494 if test "$ac_test_CXXFLAGS" = set; then
11495 CXXFLAGS=$ac_save_CXXFLAGS
11496 elif test $ac_cv_prog_cxx_g = yes; then
11497 if test "$GXX" = yes; then
11498 CXXFLAGS="-g -O2"
11499 else
11500 CXXFLAGS="-g"
11501 fi
11502 else
11503 if test "$GXX" = yes; then
11504 CXXFLAGS="-O2"
11505 else
11506 CXXFLAGS=
11507 fi
11508 fi
11509 for ac_declaration in \
11510 ''\
11511 '#include <stdlib.h>' \
11512 'extern "C" void std::exit (int) throw (); using std::exit;' \
11513 'extern "C" void std::exit (int); using std::exit;' \
11514 'extern "C" void exit (int) throw ();' \
11515 'extern "C" void exit (int);' \
11516 'void exit (int);'
11517 do
11518 cat >conftest.$ac_ext <<_ACEOF
11519 #line $LINENO "configure"
11520 /* confdefs.h. */
11521 _ACEOF
11522 cat confdefs.h >>conftest.$ac_ext
11523 cat >>conftest.$ac_ext <<_ACEOF
11524 /* end confdefs.h. */
11525 #include <stdlib.h>
11526 $ac_declaration
11527 int
11528 main ()
11529 {
11530 exit (42);
11531 ;
11532 return 0;
11533 }
11534 _ACEOF
11535 rm -f conftest.$ac_objext
11536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11537 (eval $ac_compile) 2>&5
11538 ac_status=$?
11539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 (exit $ac_status); } &&
11541 { ac_try='test -s conftest.$ac_objext'
11542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11543 (eval $ac_try) 2>&5
11544 ac_status=$?
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); }; }; then
11547 :
11548 else
11549 echo "$as_me: failed program was:" >&5
11550 sed 's/^/| /' conftest.$ac_ext >&5
11551
11552 continue
11553 fi
11554 rm -f conftest.$ac_objext conftest.$ac_ext
11555 cat >conftest.$ac_ext <<_ACEOF
11556 #line $LINENO "configure"
11557 /* confdefs.h. */
11558 _ACEOF
11559 cat confdefs.h >>conftest.$ac_ext
11560 cat >>conftest.$ac_ext <<_ACEOF
11561 /* end confdefs.h. */
11562 $ac_declaration
11563 int
11564 main ()
11565 {
11566 exit (42);
11567 ;
11568 return 0;
11569 }
11570 _ACEOF
11571 rm -f conftest.$ac_objext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11573 (eval $ac_compile) 2>&5
11574 ac_status=$?
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); } &&
11577 { ac_try='test -s conftest.$ac_objext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11580 ac_status=$?
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11583 break
11584 else
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11587
11588 fi
11589 rm -f conftest.$ac_objext conftest.$ac_ext
11590 done
11591 rm -f conftest*
11592 if test -n "$ac_declaration"; then
11593 echo '#ifdef __cplusplus' >>confdefs.h
11594 echo $ac_declaration >>confdefs.h
11595 echo '#endif' >>confdefs.h
11596 fi
11597
11598 ac_ext=cc
11599 ac_cpp='$CXXCPP $CPPFLAGS'
11600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11603
11604
11605 ac_ext=c
11606 ac_cpp='$CPP $CPPFLAGS'
11607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11610
11611
11612 echo "$as_me:$LINENO: checking for /usr/local/include in default include path" >&5
11613 echo $ECHO_N "checking for /usr/local/include in default include path... $ECHO_C" >&6
11614 GCC_SEARCHES_USR_LOCAL_INCLUDE="no"
11615 if test "$GCC" = "yes" ; then
11616 echo | gcc -v -x c++ -E - 2>&1 | sed -n '/^#include </,$p' | \
11617 sed -n '1,/End of search list\./p' | \
11618 grep '^ */usr/local/include$' 2>&1 /dev/null \
11619 && GCC_SEARCHES_USR_LOCAL_INCLUDE="yes"
11620 fi
11621 echo "$as_me:$LINENO: result: $GCC_SEARCHES_USR_LOCAL_INCLUDE" >&5
11622 echo "${ECHO_T}$GCC_SEARCHES_USR_LOCAL_INCLUDE" >&6
11623
11624 if test -n "$ac_tool_prefix"; then
11625 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11626 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11627 echo "$as_me:$LINENO: checking for $ac_word" >&5
11628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11629 if test "${ac_cv_prog_RANLIB+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11631 else
11632 if test -n "$RANLIB"; then
11633 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
11634 else
11635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11636 for as_dir in $PATH
11637 do
11638 IFS=$as_save_IFS
11639 test -z "$as_dir" && as_dir=.
11640 for ac_exec_ext in '' $ac_executable_extensions; do
11641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11642 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
11643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11644 break 2
11645 fi
11646 done
11647 done
11648
11649 fi
11650 fi
11651 RANLIB=$ac_cv_prog_RANLIB
11652 if test -n "$RANLIB"; then
11653 echo "$as_me:$LINENO: result: $RANLIB" >&5
11654 echo "${ECHO_T}$RANLIB" >&6
11655 else
11656 echo "$as_me:$LINENO: result: no" >&5
11657 echo "${ECHO_T}no" >&6
11658 fi
11659
11660 fi
11661 if test -z "$ac_cv_prog_RANLIB"; then
11662 ac_ct_RANLIB=$RANLIB
11663 # Extract the first word of "ranlib", so it can be a program name with args.
11664 set dummy ranlib; ac_word=$2
11665 echo "$as_me:$LINENO: checking for $ac_word" >&5
11666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11667 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11668 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 else
11670 if test -n "$ac_ct_RANLIB"; then
11671 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
11672 else
11673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11674 for as_dir in $PATH
11675 do
11676 IFS=$as_save_IFS
11677 test -z "$as_dir" && as_dir=.
11678 for ac_exec_ext in '' $ac_executable_extensions; do
11679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11680 ac_cv_prog_ac_ct_RANLIB="ranlib"
11681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11682 break 2
11683 fi
11684 done
11685 done
11686
11687 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
11688 fi
11689 fi
11690 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
11691 if test -n "$ac_ct_RANLIB"; then
11692 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11693 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11694 else
11695 echo "$as_me:$LINENO: result: no" >&5
11696 echo "${ECHO_T}no" >&6
11697 fi
11698
11699 RANLIB=$ac_ct_RANLIB
11700 else
11701 RANLIB="$ac_cv_prog_RANLIB"
11702 fi
11703
11704
11705 # Extract the first word of "ar", so it can be a program name with args.
11706 set dummy ar; ac_word=$2
11707 echo "$as_me:$LINENO: checking for $ac_word" >&5
11708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11709 if test "${ac_cv_prog_AR+set}" = set; then
11710 echo $ECHO_N "(cached) $ECHO_C" >&6
11711 else
11712 if test -n "$AR"; then
11713 ac_cv_prog_AR="$AR" # Let the user override the test.
11714 else
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11717 do
11718 IFS=$as_save_IFS
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11722 ac_cv_prog_AR="ar"
11723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11724 break 2
11725 fi
11726 done
11727 done
11728
11729 fi
11730 fi
11731 AR=$ac_cv_prog_AR
11732 if test -n "$AR"; then
11733 echo "$as_me:$LINENO: result: $AR" >&5
11734 echo "${ECHO_T}$AR" >&6
11735 else
11736 echo "$as_me:$LINENO: result: no" >&5
11737 echo "${ECHO_T}no" >&6
11738 fi
11739
11740 if test "x$AR" = "x" ; then
11741 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
11742 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
11743 { (exit 1); exit 1; }; }
11744 fi
11745
11746 # Find a good install program. We prefer a C program (faster),
11747 # so one script is as good as another. But avoid the broken or
11748 # incompatible versions:
11749 # SysV /etc/install, /usr/sbin/install
11750 # SunOS /usr/etc/install
11751 # IRIX /sbin/install
11752 # AIX /bin/install
11753 # AmigaOS /C/install, which installs bootblocks on floppy discs
11754 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
11755 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
11756 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
11757 # ./install, which can be erroneously created by make from ./install.sh.
11758 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
11759 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
11760 if test -z "$INSTALL"; then
11761 if test "${ac_cv_path_install+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 else
11764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11765 for as_dir in $PATH
11766 do
11767 IFS=$as_save_IFS
11768 test -z "$as_dir" && as_dir=.
11769 # Account for people who put trailing slashes in PATH elements.
11770 case $as_dir/ in
11771 ./ | .// | /cC/* | \
11772 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
11773 /usr/ucb/* ) ;;
11774 *)
11775 # OSF1 and SCO ODT 3.0 have their own names for install.
11776 # Don't use installbsd from OSF since it installs stuff as root
11777 # by default.
11778 for ac_prog in ginstall scoinst install; do
11779 for ac_exec_ext in '' $ac_executable_extensions; do
11780 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
11781 if test $ac_prog = install &&
11782 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11783 # AIX install. It has an incompatible calling convention.
11784 :
11785 elif test $ac_prog = install &&
11786 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
11787 # program-specific install script used by HP pwplus--don't use.
11788 :
11789 else
11790 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
11791 break 3
11792 fi
11793 fi
11794 done
11795 done
11796 ;;
11797 esac
11798 done
11799
11800
11801 fi
11802 if test "${ac_cv_path_install+set}" = set; then
11803 INSTALL=$ac_cv_path_install
11804 else
11805 # As a last resort, use the slow shell script. We don't cache a
11806 # path for INSTALL within a source directory, because that will
11807 # break other packages using the cache if that directory is
11808 # removed, or if the path is relative.
11809 INSTALL=$ac_install_sh
11810 fi
11811 fi
11812 echo "$as_me:$LINENO: result: $INSTALL" >&5
11813 echo "${ECHO_T}$INSTALL" >&6
11814
11815 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
11816 # It thinks the first close brace ends the variable substitution.
11817 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
11818
11819 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
11820
11821 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
11822
11823
11824 case ${INSTALL} in
11825 /* ) # Absolute
11826 ;;
11827 ?:* ) # Drive letter, considered as absolute.
11828 ;;
11829 *)
11830 INSTALL=`pwd`/${INSTALL} ;;
11831 esac
11832
11833 case ${host} in
11834 *-hp-hpux* )
11835 INSTALL_DIR="mkdir"
11836 ;;
11837
11838 *) INSTALL_DIR="$INSTALL -d"
11839 ;;
11840 esac
11841
11842
11843 case "${host}" in
11844
11845 powerpc-*-darwin* )
11846 INSTALL_PROGRAM="cp -fp"
11847 INSTALL_DATA="cp -fp"
11848 ;;
11849 *)
11850 ;;
11851 esac
11852
11853 # Extract the first word of "strip", so it can be a program name with args.
11854 set dummy strip; ac_word=$2
11855 echo "$as_me:$LINENO: checking for $ac_word" >&5
11856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11857 if test "${ac_cv_prog_STRIP+set}" = set; then
11858 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 else
11860 if test -n "$STRIP"; then
11861 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
11862 else
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11865 do
11866 IFS=$as_save_IFS
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11870 ac_cv_prog_STRIP="strip"
11871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11872 break 2
11873 fi
11874 done
11875 done
11876
11877 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="true"
11878 fi
11879 fi
11880 STRIP=$ac_cv_prog_STRIP
11881 if test -n "$STRIP"; then
11882 echo "$as_me:$LINENO: result: $STRIP" >&5
11883 echo "${ECHO_T}$STRIP" >&6
11884 else
11885 echo "$as_me:$LINENO: result: no" >&5
11886 echo "${ECHO_T}no" >&6
11887 fi
11888
11889
11890 echo "$as_me:$LINENO: checking if make is GNU make" >&5
11891 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
11892 if test "${wx_cv_prog_makeisgnu+set}" = set; then
11893 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 else
11895
11896 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
11897 egrep -s GNU > /dev/null); then
11898 wx_cv_prog_makeisgnu="yes"
11899 else
11900 wx_cv_prog_makeisgnu="no"
11901 fi
11902
11903 fi
11904 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
11905 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
11906
11907 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
11908 IF_GNU_MAKE=""
11909 else
11910 IF_GNU_MAKE="#"
11911 fi
11912
11913
11914
11915 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
11916 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
11917 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
11918 if test "${wx_cv_prog_makevpath+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 else
11921
11922 cat - << EOF > confMake
11923 check : file
11924 cp \$? \$@
11925 cp \$? final_file
11926 EOF
11927
11928 if test ! -d sub ; then
11929 mkdir sub
11930 fi
11931 echo dummy > sub/file
11932 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
11933 RESULT=$?
11934 rm -f sub/file check final_file confMake
11935 rmdir sub
11936 if test "$RESULT" = 0; then
11937 wx_cv_prog_makevpath="yes"
11938 else
11939 wx_cv_prog_makevpath="no"
11940 fi
11941
11942 fi
11943 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
11944 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
11945
11946 if test "x$wx_cv_prog_makevpath" != "xyes"; then
11947 { { echo "$as_me:$LINENO: error:
11948 You need a make-utility that is able to use the variable
11949 VPATH correctly.
11950 If your version of make does not support VPATH correctly,
11951 please install GNU-make (possibly as gmake), and start
11952 configure with the following command:
11953 export MAKE=gmake; ./configure for sh-type shells
11954 setenv MAKE gmake; ./configure for csh-type shells
11955 Also please do remember to use gmake in this case every time
11956 you are trying to compile.
11957 " >&5
11958 echo "$as_me: error:
11959 You need a make-utility that is able to use the variable
11960 VPATH correctly.
11961 If your version of make does not support VPATH correctly,
11962 please install GNU-make (possibly as gmake), and start
11963 configure with the following command:
11964 export MAKE=gmake; ./configure for sh-type shells
11965 setenv MAKE gmake; ./configure for csh-type shells
11966 Also please do remember to use gmake in this case every time
11967 you are trying to compile.
11968 " >&2;}
11969 { (exit 1); exit 1; }; }
11970 fi fi
11971 echo "$as_me:$LINENO: checking whether ln -s works" >&5
11972 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
11973 LN_S=$as_ln_s
11974 if test "$LN_S" = "ln -s"; then
11975 echo "$as_me:$LINENO: result: yes" >&5
11976 echo "${ECHO_T}yes" >&6
11977 else
11978 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
11979 echo "${ECHO_T}no, using $LN_S" >&6
11980 fi
11981
11982
11983
11984 case "${host}" in
11985 *-pc-os2_emx | *-pc-os2-emx )
11986 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
11987 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
11988 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
11989 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11991 else
11992 ac_check_lib_save_LIBS=$LIBS
11993 LIBS="-lcExt $LIBS"
11994 cat >conftest.$ac_ext <<_ACEOF
11995 #line $LINENO "configure"
11996 /* confdefs.h. */
11997 _ACEOF
11998 cat confdefs.h >>conftest.$ac_ext
11999 cat >>conftest.$ac_ext <<_ACEOF
12000 /* end confdefs.h. */
12001
12002 /* Override any gcc2 internal prototype to avoid an error. */
12003 #ifdef __cplusplus
12004 extern "C"
12005 #endif
12006 /* We use char because int might match the return type of a gcc2
12007 builtin and then its argument prototype would still apply. */
12008 char drand48 ();
12009 int
12010 main ()
12011 {
12012 drand48 ();
12013 ;
12014 return 0;
12015 }
12016 _ACEOF
12017 rm -f conftest.$ac_objext conftest$ac_exeext
12018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12019 (eval $ac_link) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); } &&
12023 { ac_try='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12026 ac_status=$?
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_cExt_drand48=yes
12030 else
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12033
12034 ac_cv_lib_cExt_drand48=no
12035 fi
12036 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12038 fi
12039 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
12040 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
12041 if test $ac_cv_lib_cExt_drand48 = yes; then
12042 LIBS="$LIBS -lcExt"
12043 fi
12044
12045 else
12046 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
12047 fi
12048 echo "$as_me:$LINENO: checking for gcc version" >&5
12049 echo $ECHO_N "checking for gcc version... $ECHO_C" >&6
12050 if test "${wx_cv_gccversion+set}" = set; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 else
12053
12054 cat >conftest.$ac_ext <<_ACEOF
12055 #line $LINENO "configure"
12056 /* confdefs.h. */
12057 _ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12061
12062 int
12063 main ()
12064 {
12065
12066 #if (__GNUC__ < 3)
12067 #error old gcc
12068 #endif
12069
12070 ;
12071 return 0;
12072 }
12073 _ACEOF
12074 rm -f conftest.$ac_objext
12075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12076 (eval $ac_compile) 2>&5
12077 ac_status=$?
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -s conftest.$ac_objext'
12081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082 (eval $ac_try) 2>&5
12083 ac_status=$?
12084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085 (exit $ac_status); }; }; then
12086
12087 cat >conftest.$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12089 /* confdefs.h. */
12090 _ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094
12095 int
12096 main ()
12097 {
12098
12099 #if (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
12100 #error intermediate gcc
12101 #endif
12102
12103 ;
12104 return 0;
12105 }
12106 _ACEOF
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12110 ac_status=$?
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119
12120 wx_cv_gccversion=Innotek
12121
12122 else
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12125
12126
12127 wx_cv_gccversion=3
12128
12129
12130 fi
12131 rm -f conftest.$ac_objext conftest.$ac_ext
12132
12133 else
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12136
12137
12138 wx_cv_gccversion=2
12139
12140
12141 fi
12142 rm -f conftest.$ac_objext conftest.$ac_ext
12143
12144 fi
12145 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
12146 echo "${ECHO_T}$wx_cv_gccversion" >&6
12147 if test "$wx_cv_gccversion" = "2"; then
12148 LIBS="$LIBS -lstdcpp"
12149 LDFLAGS="$LDFLAGS -Zsysv-signals"
12150 else
12151 if test "$wx_cv_gccversion" = "3"; then
12152 LIBS="$LIBS -lstdcxx"
12153 LDFLAGS="$LDFLAGS -Zsysv-signals"
12154 else
12155 LIBS="$LIBS -lstdc++"
12156 fi
12157 fi
12158 if test "$wxUSE_OMF" = "yes"; then
12159 LDFLAGS="$LDFLAGS -Zomf -Zlinker /PMTYPE:PM -Zlinker /EXEPACK"
12160 fi
12161 ;;
12162 *)
12163
12164
12165
12166 ac_ext=cc
12167 ac_cpp='$CXXCPP $CPPFLAGS'
12168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12171
12172
12173
12174 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
12175 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
12176 if test "${ac_cv_string_strcasecmp+set}" = set; then
12177 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 else
12179
12180 cat >conftest.$ac_ext <<_ACEOF
12181 #line $LINENO "configure"
12182 /* confdefs.h. */
12183 _ACEOF
12184 cat confdefs.h >>conftest.$ac_ext
12185 cat >>conftest.$ac_ext <<_ACEOF
12186 /* end confdefs.h. */
12187
12188 #include <string.h>
12189
12190 int
12191 main ()
12192 {
12193
12194 strcasecmp("foo", "bar");
12195
12196 ;
12197 return 0;
12198 }
12199 _ACEOF
12200 rm -f conftest.$ac_objext conftest$ac_exeext
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12203 ac_status=$?
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); } &&
12206 { ac_try='test -s conftest$ac_exeext'
12207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12208 (eval $ac_try) 2>&5
12209 ac_status=$?
12210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211 (exit $ac_status); }; }; then
12212 ac_cv_string_strcasecmp=yes
12213 else
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.$ac_ext >&5
12216
12217 ac_cv_string_strcasecmp=no
12218
12219 fi
12220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12221
12222 fi
12223 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
12224 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
12225
12226 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12227 cat >>confdefs.h <<\_ACEOF
12228 #define HAVE_STRCASECMP_IN_STRING_H 1
12229 _ACEOF
12230
12231 else
12232 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
12233 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
12234 if test "${ac_cv_strings_strcasecmp+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237
12238 cat >conftest.$ac_ext <<_ACEOF
12239 #line $LINENO "configure"
12240 /* confdefs.h. */
12241 _ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12245
12246 #include <strings.h>
12247
12248 int
12249 main ()
12250 {
12251
12252 strcasecmp("foo", "bar");
12253
12254 ;
12255 return 0;
12256 }
12257 _ACEOF
12258 rm -f conftest.$ac_objext conftest$ac_exeext
12259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12260 (eval $ac_link) 2>&5
12261 ac_status=$?
12262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12263 (exit $ac_status); } &&
12264 { ac_try='test -s conftest$ac_exeext'
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_cv_strings_strcasecmp=yes
12271 else
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12274
12275 ac_cv_strings_strcasecmp=no
12276
12277 fi
12278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12279
12280 fi
12281 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
12282 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
12283
12284 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
12285 cat >>confdefs.h <<\_ACEOF
12286 #define HAVE_STRCASECMP_IN_STRINGS_H 1
12287 _ACEOF
12288
12289 else
12290 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
12291 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
12292 { (exit 1); exit 1; }; }
12293 fi
12294 fi
12295
12296 ac_ext=c
12297 ac_cpp='$CPP $CPPFLAGS'
12298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12301
12302 ;;
12303 esac
12304
12305
12306 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12307 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12308 if test "${ac_cv_header_stdc+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 else
12311 cat >conftest.$ac_ext <<_ACEOF
12312 #line $LINENO "configure"
12313 /* confdefs.h. */
12314 _ACEOF
12315 cat confdefs.h >>conftest.$ac_ext
12316 cat >>conftest.$ac_ext <<_ACEOF
12317 /* end confdefs.h. */
12318 #include <stdlib.h>
12319 #include <stdarg.h>
12320 #include <string.h>
12321 #include <float.h>
12322
12323 int
12324 main ()
12325 {
12326
12327 ;
12328 return 0;
12329 }
12330 _ACEOF
12331 rm -f conftest.$ac_objext
12332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12333 (eval $ac_compile) 2>&5
12334 ac_status=$?
12335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12336 (exit $ac_status); } &&
12337 { ac_try='test -s conftest.$ac_objext'
12338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12339 (eval $ac_try) 2>&5
12340 ac_status=$?
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); }; }; then
12343 ac_cv_header_stdc=yes
12344 else
12345 echo "$as_me: failed program was:" >&5
12346 sed 's/^/| /' conftest.$ac_ext >&5
12347
12348 ac_cv_header_stdc=no
12349 fi
12350 rm -f conftest.$ac_objext conftest.$ac_ext
12351
12352 if test $ac_cv_header_stdc = yes; then
12353 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12354 cat >conftest.$ac_ext <<_ACEOF
12355 #line $LINENO "configure"
12356 /* confdefs.h. */
12357 _ACEOF
12358 cat confdefs.h >>conftest.$ac_ext
12359 cat >>conftest.$ac_ext <<_ACEOF
12360 /* end confdefs.h. */
12361 #include <string.h>
12362
12363 _ACEOF
12364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12365 $EGREP "memchr" >/dev/null 2>&1; then
12366 :
12367 else
12368 ac_cv_header_stdc=no
12369 fi
12370 rm -f conftest*
12371
12372 fi
12373
12374 if test $ac_cv_header_stdc = yes; then
12375 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12376 cat >conftest.$ac_ext <<_ACEOF
12377 #line $LINENO "configure"
12378 /* confdefs.h. */
12379 _ACEOF
12380 cat confdefs.h >>conftest.$ac_ext
12381 cat >>conftest.$ac_ext <<_ACEOF
12382 /* end confdefs.h. */
12383 #include <stdlib.h>
12384
12385 _ACEOF
12386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12387 $EGREP "free" >/dev/null 2>&1; then
12388 :
12389 else
12390 ac_cv_header_stdc=no
12391 fi
12392 rm -f conftest*
12393
12394 fi
12395
12396 if test $ac_cv_header_stdc = yes; then
12397 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12398 if test "$cross_compiling" = yes; then
12399 :
12400 else
12401 cat >conftest.$ac_ext <<_ACEOF
12402 #line $LINENO "configure"
12403 /* confdefs.h. */
12404 _ACEOF
12405 cat confdefs.h >>conftest.$ac_ext
12406 cat >>conftest.$ac_ext <<_ACEOF
12407 /* end confdefs.h. */
12408 #include <ctype.h>
12409 #if ((' ' & 0x0FF) == 0x020)
12410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12412 #else
12413 # define ISLOWER(c) \
12414 (('a' <= (c) && (c) <= 'i') \
12415 || ('j' <= (c) && (c) <= 'r') \
12416 || ('s' <= (c) && (c) <= 'z'))
12417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12418 #endif
12419
12420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12421 int
12422 main ()
12423 {
12424 int i;
12425 for (i = 0; i < 256; i++)
12426 if (XOR (islower (i), ISLOWER (i))
12427 || toupper (i) != TOUPPER (i))
12428 exit(2);
12429 exit (0);
12430 }
12431 _ACEOF
12432 rm -f conftest$ac_exeext
12433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12434 (eval $ac_link) 2>&5
12435 ac_status=$?
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12440 ac_status=$?
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; }; then
12443 :
12444 else
12445 echo "$as_me: program exited with status $ac_status" >&5
12446 echo "$as_me: failed program was:" >&5
12447 sed 's/^/| /' conftest.$ac_ext >&5
12448
12449 ( exit $ac_status )
12450 ac_cv_header_stdc=no
12451 fi
12452 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12453 fi
12454 fi
12455 fi
12456 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12457 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12458 if test $ac_cv_header_stdc = yes; then
12459
12460 cat >>confdefs.h <<\_ACEOF
12461 #define STDC_HEADERS 1
12462 _ACEOF
12463
12464 fi
12465
12466 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
12477 inttypes.h stdint.h unistd.h
12478 do
12479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12480 echo "$as_me:$LINENO: checking for $ac_header" >&5
12481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12483 echo $ECHO_N "(cached) $ECHO_C" >&6
12484 else
12485 cat >conftest.$ac_ext <<_ACEOF
12486 #line $LINENO "configure"
12487 /* confdefs.h. */
12488 _ACEOF
12489 cat confdefs.h >>conftest.$ac_ext
12490 cat >>conftest.$ac_ext <<_ACEOF
12491 /* end confdefs.h. */
12492 $ac_includes_default
12493
12494 #include <$ac_header>
12495 _ACEOF
12496 rm -f conftest.$ac_objext
12497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12498 (eval $ac_compile) 2>&5
12499 ac_status=$?
12500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12501 (exit $ac_status); } &&
12502 { ac_try='test -s conftest.$ac_objext'
12503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12504 (eval $ac_try) 2>&5
12505 ac_status=$?
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); }; }; then
12508 eval "$as_ac_Header=yes"
12509 else
12510 echo "$as_me: failed program was:" >&5
12511 sed 's/^/| /' conftest.$ac_ext >&5
12512
12513 eval "$as_ac_Header=no"
12514 fi
12515 rm -f conftest.$ac_objext conftest.$ac_ext
12516 fi
12517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12520 cat >>confdefs.h <<_ACEOF
12521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12522 _ACEOF
12523
12524 fi
12525
12526 done
12527
12528
12529
12530 for ac_header in stdlib.h
12531 do
12532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12534 echo "$as_me:$LINENO: checking for $ac_header" >&5
12535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12537 echo $ECHO_N "(cached) $ECHO_C" >&6
12538 fi
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12541 else
12542 # Is the header compilable?
12543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12545 cat >conftest.$ac_ext <<_ACEOF
12546 #line $LINENO "configure"
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12552 $ac_includes_default
12553 #include <$ac_header>
12554 _ACEOF
12555 rm -f conftest.$ac_objext
12556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12557 (eval $ac_compile) 2>&5
12558 ac_status=$?
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); } &&
12561 { ac_try='test -s conftest.$ac_objext'
12562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12563 (eval $ac_try) 2>&5
12564 ac_status=$?
12565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12566 (exit $ac_status); }; }; then
12567 ac_header_compiler=yes
12568 else
12569 echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.$ac_ext >&5
12571
12572 ac_header_compiler=no
12573 fi
12574 rm -f conftest.$ac_objext conftest.$ac_ext
12575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12576 echo "${ECHO_T}$ac_header_compiler" >&6
12577
12578 # Is the header present?
12579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12581 cat >conftest.$ac_ext <<_ACEOF
12582 #line $LINENO "configure"
12583 /* confdefs.h. */
12584 _ACEOF
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12588 #include <$ac_header>
12589 _ACEOF
12590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12592 ac_status=$?
12593 grep -v '^ *+' conftest.er1 >conftest.err
12594 rm -f conftest.er1
12595 cat conftest.err >&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); } >/dev/null; then
12598 if test -s conftest.err; then
12599 ac_cpp_err=$ac_c_preproc_warn_flag
12600 else
12601 ac_cpp_err=
12602 fi
12603 else
12604 ac_cpp_err=yes
12605 fi
12606 if test -z "$ac_cpp_err"; then
12607 ac_header_preproc=yes
12608 else
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12611
12612 ac_header_preproc=no
12613 fi
12614 rm -f conftest.err conftest.$ac_ext
12615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12616 echo "${ECHO_T}$ac_header_preproc" >&6
12617
12618 # So? What about this header?
12619 case $ac_header_compiler:$ac_header_preproc in
12620 yes:no )
12621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12624 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12625 (
12626 cat <<\_ASBOX
12627 ## ------------------------------------ ##
12628 ## Report this to bug-autoconf@gnu.org. ##
12629 ## ------------------------------------ ##
12630 _ASBOX
12631 ) |
12632 sed "s/^/$as_me: WARNING: /" >&2
12633 ;;
12634 no:yes )
12635 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12636 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12637 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12638 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12641 (
12642 cat <<\_ASBOX
12643 ## ------------------------------------ ##
12644 ## Report this to bug-autoconf@gnu.org. ##
12645 ## ------------------------------------ ##
12646 _ASBOX
12647 ) |
12648 sed "s/^/$as_me: WARNING: /" >&2
12649 ;;
12650 esac
12651 echo "$as_me:$LINENO: checking for $ac_header" >&5
12652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12654 echo $ECHO_N "(cached) $ECHO_C" >&6
12655 else
12656 eval "$as_ac_Header=$ac_header_preproc"
12657 fi
12658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12660
12661 fi
12662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12663 cat >>confdefs.h <<_ACEOF
12664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12665 _ACEOF
12666
12667 fi
12668
12669 done
12670
12671
12672 for ac_header in malloc.h
12673 do
12674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12676 echo "$as_me:$LINENO: checking for $ac_header" >&5
12677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12679 echo $ECHO_N "(cached) $ECHO_C" >&6
12680 fi
12681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12683 else
12684 # Is the header compilable?
12685 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12686 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12687 cat >conftest.$ac_ext <<_ACEOF
12688 #line $LINENO "configure"
12689 /* confdefs.h. */
12690 _ACEOF
12691 cat confdefs.h >>conftest.$ac_ext
12692 cat >>conftest.$ac_ext <<_ACEOF
12693 /* end confdefs.h. */
12694 $ac_includes_default
12695 #include <$ac_header>
12696 _ACEOF
12697 rm -f conftest.$ac_objext
12698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12699 (eval $ac_compile) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); } &&
12703 { ac_try='test -s conftest.$ac_objext'
12704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12705 (eval $ac_try) 2>&5
12706 ac_status=$?
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); }; }; then
12709 ac_header_compiler=yes
12710 else
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.$ac_ext >&5
12713
12714 ac_header_compiler=no
12715 fi
12716 rm -f conftest.$ac_objext conftest.$ac_ext
12717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12718 echo "${ECHO_T}$ac_header_compiler" >&6
12719
12720 # Is the header present?
12721 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12722 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12723 cat >conftest.$ac_ext <<_ACEOF
12724 #line $LINENO "configure"
12725 /* confdefs.h. */
12726 _ACEOF
12727 cat confdefs.h >>conftest.$ac_ext
12728 cat >>conftest.$ac_ext <<_ACEOF
12729 /* end confdefs.h. */
12730 #include <$ac_header>
12731 _ACEOF
12732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12734 ac_status=$?
12735 grep -v '^ *+' conftest.er1 >conftest.err
12736 rm -f conftest.er1
12737 cat conftest.err >&5
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); } >/dev/null; then
12740 if test -s conftest.err; then
12741 ac_cpp_err=$ac_c_preproc_warn_flag
12742 else
12743 ac_cpp_err=
12744 fi
12745 else
12746 ac_cpp_err=yes
12747 fi
12748 if test -z "$ac_cpp_err"; then
12749 ac_header_preproc=yes
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12753
12754 ac_header_preproc=no
12755 fi
12756 rm -f conftest.err conftest.$ac_ext
12757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12758 echo "${ECHO_T}$ac_header_preproc" >&6
12759
12760 # So? What about this header?
12761 case $ac_header_compiler:$ac_header_preproc in
12762 yes:no )
12763 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12764 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12765 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12766 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12767 (
12768 cat <<\_ASBOX
12769 ## ------------------------------------ ##
12770 ## Report this to bug-autoconf@gnu.org. ##
12771 ## ------------------------------------ ##
12772 _ASBOX
12773 ) |
12774 sed "s/^/$as_me: WARNING: /" >&2
12775 ;;
12776 no:yes )
12777 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12779 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12780 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12783 (
12784 cat <<\_ASBOX
12785 ## ------------------------------------ ##
12786 ## Report this to bug-autoconf@gnu.org. ##
12787 ## ------------------------------------ ##
12788 _ASBOX
12789 ) |
12790 sed "s/^/$as_me: WARNING: /" >&2
12791 ;;
12792 esac
12793 echo "$as_me:$LINENO: checking for $ac_header" >&5
12794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12797 else
12798 eval "$as_ac_Header=$ac_header_preproc"
12799 fi
12800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12802
12803 fi
12804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12805 cat >>confdefs.h <<_ACEOF
12806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12807 _ACEOF
12808
12809 fi
12810
12811 done
12812
12813
12814 for ac_header in unistd.h
12815 do
12816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12818 echo "$as_me:$LINENO: checking for $ac_header" >&5
12819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 fi
12823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12825 else
12826 # Is the header compilable?
12827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12829 cat >conftest.$ac_ext <<_ACEOF
12830 #line $LINENO "configure"
12831 /* confdefs.h. */
12832 _ACEOF
12833 cat confdefs.h >>conftest.$ac_ext
12834 cat >>conftest.$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 $ac_includes_default
12837 #include <$ac_header>
12838 _ACEOF
12839 rm -f conftest.$ac_objext
12840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12841 (eval $ac_compile) 2>&5
12842 ac_status=$?
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -s conftest.$ac_objext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12848 ac_status=$?
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 ac_header_compiler=yes
12852 else
12853 echo "$as_me: failed program was:" >&5
12854 sed 's/^/| /' conftest.$ac_ext >&5
12855
12856 ac_header_compiler=no
12857 fi
12858 rm -f conftest.$ac_objext conftest.$ac_ext
12859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12860 echo "${ECHO_T}$ac_header_compiler" >&6
12861
12862 # Is the header present?
12863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12865 cat >conftest.$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12867 /* confdefs.h. */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 #include <$ac_header>
12873 _ACEOF
12874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12876 ac_status=$?
12877 grep -v '^ *+' conftest.er1 >conftest.err
12878 rm -f conftest.er1
12879 cat conftest.err >&5
12880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12881 (exit $ac_status); } >/dev/null; then
12882 if test -s conftest.err; then
12883 ac_cpp_err=$ac_c_preproc_warn_flag
12884 else
12885 ac_cpp_err=
12886 fi
12887 else
12888 ac_cpp_err=yes
12889 fi
12890 if test -z "$ac_cpp_err"; then
12891 ac_header_preproc=yes
12892 else
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12895
12896 ac_header_preproc=no
12897 fi
12898 rm -f conftest.err conftest.$ac_ext
12899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12900 echo "${ECHO_T}$ac_header_preproc" >&6
12901
12902 # So? What about this header?
12903 case $ac_header_compiler:$ac_header_preproc in
12904 yes:no )
12905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12909 (
12910 cat <<\_ASBOX
12911 ## ------------------------------------ ##
12912 ## Report this to bug-autoconf@gnu.org. ##
12913 ## ------------------------------------ ##
12914 _ASBOX
12915 ) |
12916 sed "s/^/$as_me: WARNING: /" >&2
12917 ;;
12918 no:yes )
12919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12925 (
12926 cat <<\_ASBOX
12927 ## ------------------------------------ ##
12928 ## Report this to bug-autoconf@gnu.org. ##
12929 ## ------------------------------------ ##
12930 _ASBOX
12931 ) |
12932 sed "s/^/$as_me: WARNING: /" >&2
12933 ;;
12934 esac
12935 echo "$as_me:$LINENO: checking for $ac_header" >&5
12936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 else
12940 eval "$as_ac_Header=$ac_header_preproc"
12941 fi
12942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12944
12945 fi
12946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12947 cat >>confdefs.h <<_ACEOF
12948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12949 _ACEOF
12950
12951 fi
12952
12953 done
12954
12955
12956 for ac_header in wchar.h
12957 do
12958 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12960 echo "$as_me:$LINENO: checking for $ac_header" >&5
12961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 fi
12965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12966 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12967 else
12968 # Is the header compilable?
12969 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12970 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12971 cat >conftest.$ac_ext <<_ACEOF
12972 #line $LINENO "configure"
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 $ac_includes_default
12979 #include <$ac_header>
12980 _ACEOF
12981 rm -f conftest.$ac_objext
12982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12983 (eval $ac_compile) 2>&5
12984 ac_status=$?
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); } &&
12987 { ac_try='test -s conftest.$ac_objext'
12988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12989 (eval $ac_try) 2>&5
12990 ac_status=$?
12991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12992 (exit $ac_status); }; }; then
12993 ac_header_compiler=yes
12994 else
12995 echo "$as_me: failed program was:" >&5
12996 sed 's/^/| /' conftest.$ac_ext >&5
12997
12998 ac_header_compiler=no
12999 fi
13000 rm -f conftest.$ac_objext conftest.$ac_ext
13001 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13002 echo "${ECHO_T}$ac_header_compiler" >&6
13003
13004 # Is the header present?
13005 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13006 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13007 cat >conftest.$ac_ext <<_ACEOF
13008 #line $LINENO "configure"
13009 /* confdefs.h. */
13010 _ACEOF
13011 cat confdefs.h >>conftest.$ac_ext
13012 cat >>conftest.$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13014 #include <$ac_header>
13015 _ACEOF
13016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13017 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13018 ac_status=$?
13019 grep -v '^ *+' conftest.er1 >conftest.err
13020 rm -f conftest.er1
13021 cat conftest.err >&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); } >/dev/null; then
13024 if test -s conftest.err; then
13025 ac_cpp_err=$ac_c_preproc_warn_flag
13026 else
13027 ac_cpp_err=
13028 fi
13029 else
13030 ac_cpp_err=yes
13031 fi
13032 if test -z "$ac_cpp_err"; then
13033 ac_header_preproc=yes
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13037
13038 ac_header_preproc=no
13039 fi
13040 rm -f conftest.err conftest.$ac_ext
13041 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13042 echo "${ECHO_T}$ac_header_preproc" >&6
13043
13044 # So? What about this header?
13045 case $ac_header_compiler:$ac_header_preproc in
13046 yes:no )
13047 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13048 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13049 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13050 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13051 (
13052 cat <<\_ASBOX
13053 ## ------------------------------------ ##
13054 ## Report this to bug-autoconf@gnu.org. ##
13055 ## ------------------------------------ ##
13056 _ASBOX
13057 ) |
13058 sed "s/^/$as_me: WARNING: /" >&2
13059 ;;
13060 no:yes )
13061 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13063 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13064 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13067 (
13068 cat <<\_ASBOX
13069 ## ------------------------------------ ##
13070 ## Report this to bug-autoconf@gnu.org. ##
13071 ## ------------------------------------ ##
13072 _ASBOX
13073 ) |
13074 sed "s/^/$as_me: WARNING: /" >&2
13075 ;;
13076 esac
13077 echo "$as_me:$LINENO: checking for $ac_header" >&5
13078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 else
13082 eval "$as_ac_Header=$ac_header_preproc"
13083 fi
13084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13085 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13086
13087 fi
13088 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13089 cat >>confdefs.h <<_ACEOF
13090 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13091 _ACEOF
13092
13093 fi
13094
13095 done
13096
13097
13098 if test "$ac_cv_header_wchar_h" != "yes"; then
13099
13100 for ac_header in wcstr.h
13101 do
13102 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13104 echo "$as_me:$LINENO: checking for $ac_header" >&5
13105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13107 echo $ECHO_N "(cached) $ECHO_C" >&6
13108 fi
13109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13110 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13111 else
13112 # Is the header compilable?
13113 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13114 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13115 cat >conftest.$ac_ext <<_ACEOF
13116 #line $LINENO "configure"
13117 /* confdefs.h. */
13118 _ACEOF
13119 cat confdefs.h >>conftest.$ac_ext
13120 cat >>conftest.$ac_ext <<_ACEOF
13121 /* end confdefs.h. */
13122 $ac_includes_default
13123 #include <$ac_header>
13124 _ACEOF
13125 rm -f conftest.$ac_objext
13126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13127 (eval $ac_compile) 2>&5
13128 ac_status=$?
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -s conftest.$ac_objext'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13134 ac_status=$?
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; }; then
13137 ac_header_compiler=yes
13138 else
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.$ac_ext >&5
13141
13142 ac_header_compiler=no
13143 fi
13144 rm -f conftest.$ac_objext conftest.$ac_ext
13145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13146 echo "${ECHO_T}$ac_header_compiler" >&6
13147
13148 # Is the header present?
13149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13151 cat >conftest.$ac_ext <<_ACEOF
13152 #line $LINENO "configure"
13153 /* confdefs.h. */
13154 _ACEOF
13155 cat confdefs.h >>conftest.$ac_ext
13156 cat >>conftest.$ac_ext <<_ACEOF
13157 /* end confdefs.h. */
13158 #include <$ac_header>
13159 _ACEOF
13160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13162 ac_status=$?
13163 grep -v '^ *+' conftest.er1 >conftest.err
13164 rm -f conftest.er1
13165 cat conftest.err >&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } >/dev/null; then
13168 if test -s conftest.err; then
13169 ac_cpp_err=$ac_c_preproc_warn_flag
13170 else
13171 ac_cpp_err=
13172 fi
13173 else
13174 ac_cpp_err=yes
13175 fi
13176 if test -z "$ac_cpp_err"; then
13177 ac_header_preproc=yes
13178 else
13179 echo "$as_me: failed program was:" >&5
13180 sed 's/^/| /' conftest.$ac_ext >&5
13181
13182 ac_header_preproc=no
13183 fi
13184 rm -f conftest.err conftest.$ac_ext
13185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13186 echo "${ECHO_T}$ac_header_preproc" >&6
13187
13188 # So? What about this header?
13189 case $ac_header_compiler:$ac_header_preproc in
13190 yes:no )
13191 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13193 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13194 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13195 (
13196 cat <<\_ASBOX
13197 ## ------------------------------------ ##
13198 ## Report this to bug-autoconf@gnu.org. ##
13199 ## ------------------------------------ ##
13200 _ASBOX
13201 ) |
13202 sed "s/^/$as_me: WARNING: /" >&2
13203 ;;
13204 no:yes )
13205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13209 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13211 (
13212 cat <<\_ASBOX
13213 ## ------------------------------------ ##
13214 ## Report this to bug-autoconf@gnu.org. ##
13215 ## ------------------------------------ ##
13216 _ASBOX
13217 ) |
13218 sed "s/^/$as_me: WARNING: /" >&2
13219 ;;
13220 esac
13221 echo "$as_me:$LINENO: checking for $ac_header" >&5
13222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13224 echo $ECHO_N "(cached) $ECHO_C" >&6
13225 else
13226 eval "$as_ac_Header=$ac_header_preproc"
13227 fi
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13230
13231 fi
13232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13233 cat >>confdefs.h <<_ACEOF
13234 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13235 _ACEOF
13236
13237 fi
13238
13239 done
13240
13241 fi
13242
13243
13244 for ac_header in fnmatch.h
13245 do
13246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13248 echo "$as_me:$LINENO: checking for $ac_header" >&5
13249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13251 echo $ECHO_N "(cached) $ECHO_C" >&6
13252 fi
13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13255 else
13256 # Is the header compilable?
13257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13259 cat >conftest.$ac_ext <<_ACEOF
13260 #line $LINENO "configure"
13261 /* confdefs.h. */
13262 _ACEOF
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 $ac_includes_default
13267 #include <$ac_header>
13268 _ACEOF
13269 rm -f conftest.$ac_objext
13270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13271 (eval $ac_compile) 2>&5
13272 ac_status=$?
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } &&
13275 { ac_try='test -s conftest.$ac_objext'
13276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 (eval $ac_try) 2>&5
13278 ac_status=$?
13279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 (exit $ac_status); }; }; then
13281 ac_header_compiler=yes
13282 else
13283 echo "$as_me: failed program was:" >&5
13284 sed 's/^/| /' conftest.$ac_ext >&5
13285
13286 ac_header_compiler=no
13287 fi
13288 rm -f conftest.$ac_objext conftest.$ac_ext
13289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13290 echo "${ECHO_T}$ac_header_compiler" >&6
13291
13292 # Is the header present?
13293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13295 cat >conftest.$ac_ext <<_ACEOF
13296 #line $LINENO "configure"
13297 /* confdefs.h. */
13298 _ACEOF
13299 cat confdefs.h >>conftest.$ac_ext
13300 cat >>conftest.$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 #include <$ac_header>
13303 _ACEOF
13304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13306 ac_status=$?
13307 grep -v '^ *+' conftest.er1 >conftest.err
13308 rm -f conftest.er1
13309 cat conftest.err >&5
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); } >/dev/null; then
13312 if test -s conftest.err; then
13313 ac_cpp_err=$ac_c_preproc_warn_flag
13314 else
13315 ac_cpp_err=
13316 fi
13317 else
13318 ac_cpp_err=yes
13319 fi
13320 if test -z "$ac_cpp_err"; then
13321 ac_header_preproc=yes
13322 else
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13325
13326 ac_header_preproc=no
13327 fi
13328 rm -f conftest.err conftest.$ac_ext
13329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13330 echo "${ECHO_T}$ac_header_preproc" >&6
13331
13332 # So? What about this header?
13333 case $ac_header_compiler:$ac_header_preproc in
13334 yes:no )
13335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13339 (
13340 cat <<\_ASBOX
13341 ## ------------------------------------ ##
13342 ## Report this to bug-autoconf@gnu.org. ##
13343 ## ------------------------------------ ##
13344 _ASBOX
13345 ) |
13346 sed "s/^/$as_me: WARNING: /" >&2
13347 ;;
13348 no:yes )
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13352 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13353 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13354 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13355 (
13356 cat <<\_ASBOX
13357 ## ------------------------------------ ##
13358 ## Report this to bug-autoconf@gnu.org. ##
13359 ## ------------------------------------ ##
13360 _ASBOX
13361 ) |
13362 sed "s/^/$as_me: WARNING: /" >&2
13363 ;;
13364 esac
13365 echo "$as_me:$LINENO: checking for $ac_header" >&5
13366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13368 echo $ECHO_N "(cached) $ECHO_C" >&6
13369 else
13370 eval "$as_ac_Header=$ac_header_preproc"
13371 fi
13372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374
13375 fi
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
13386 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
13387
13388 for ac_func in fnmatch
13389 do
13390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13391 echo "$as_me:$LINENO: checking for $ac_func" >&5
13392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13393 if eval "test \"\${$as_ac_var+set}\" = set"; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13395 else
13396 cat >conftest.$ac_ext <<_ACEOF
13397 #line $LINENO "configure"
13398 /* confdefs.h. */
13399 _ACEOF
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403 /* System header to define __stub macros and hopefully few prototypes,
13404 which can conflict with char $ac_func (); below.
13405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13406 <limits.h> exists even on freestanding compilers. */
13407 #ifdef __STDC__
13408 # include <limits.h>
13409 #else
13410 # include <assert.h>
13411 #endif
13412 /* Override any gcc2 internal prototype to avoid an error. */
13413 #ifdef __cplusplus
13414 extern "C"
13415 {
13416 #endif
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13419 char $ac_func ();
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 choke me
13425 #else
13426 char (*f) () = $ac_func;
13427 #endif
13428 #ifdef __cplusplus
13429 }
13430 #endif
13431
13432 int
13433 main ()
13434 {
13435 return f != $ac_func;
13436 ;
13437 return 0;
13438 }
13439 _ACEOF
13440 rm -f conftest.$ac_objext conftest$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>&5
13443 ac_status=$?
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -s conftest$ac_exeext'
13447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13448 (eval $ac_try) 2>&5
13449 ac_status=$?
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); }; }; then
13452 eval "$as_ac_var=yes"
13453 else
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13456
13457 eval "$as_ac_var=no"
13458 fi
13459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13460 fi
13461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13463 if test `eval echo '${'$as_ac_var'}'` = yes; then
13464 cat >>confdefs.h <<_ACEOF
13465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13466 _ACEOF
13467
13468 fi
13469 done
13470
13471 fi
13472
13473
13474 for ac_header in langinfo.h
13475 do
13476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13478 echo "$as_me:$LINENO: checking for $ac_header" >&5
13479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13481 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 fi
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13485 else
13486 # Is the header compilable?
13487 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13488 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13489 cat >conftest.$ac_ext <<_ACEOF
13490 #line $LINENO "configure"
13491 /* confdefs.h. */
13492 _ACEOF
13493 cat confdefs.h >>conftest.$ac_ext
13494 cat >>conftest.$ac_ext <<_ACEOF
13495 /* end confdefs.h. */
13496 $ac_includes_default
13497 #include <$ac_header>
13498 _ACEOF
13499 rm -f conftest.$ac_objext
13500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13501 (eval $ac_compile) 2>&5
13502 ac_status=$?
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); } &&
13505 { ac_try='test -s conftest.$ac_objext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13508 ac_status=$?
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_header_compiler=yes
13512 else
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13515
13516 ac_header_compiler=no
13517 fi
13518 rm -f conftest.$ac_objext conftest.$ac_ext
13519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13520 echo "${ECHO_T}$ac_header_compiler" >&6
13521
13522 # Is the header present?
13523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13525 cat >conftest.$ac_ext <<_ACEOF
13526 #line $LINENO "configure"
13527 /* confdefs.h. */
13528 _ACEOF
13529 cat confdefs.h >>conftest.$ac_ext
13530 cat >>conftest.$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 #include <$ac_header>
13533 _ACEOF
13534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13536 ac_status=$?
13537 grep -v '^ *+' conftest.er1 >conftest.err
13538 rm -f conftest.er1
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } >/dev/null; then
13542 if test -s conftest.err; then
13543 ac_cpp_err=$ac_c_preproc_warn_flag
13544 else
13545 ac_cpp_err=
13546 fi
13547 else
13548 ac_cpp_err=yes
13549 fi
13550 if test -z "$ac_cpp_err"; then
13551 ac_header_preproc=yes
13552 else
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13555
13556 ac_header_preproc=no
13557 fi
13558 rm -f conftest.err conftest.$ac_ext
13559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13560 echo "${ECHO_T}$ac_header_preproc" >&6
13561
13562 # So? What about this header?
13563 case $ac_header_compiler:$ac_header_preproc in
13564 yes:no )
13565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13569 (
13570 cat <<\_ASBOX
13571 ## ------------------------------------ ##
13572 ## Report this to bug-autoconf@gnu.org. ##
13573 ## ------------------------------------ ##
13574 _ASBOX
13575 ) |
13576 sed "s/^/$as_me: WARNING: /" >&2
13577 ;;
13578 no:yes )
13579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13585 (
13586 cat <<\_ASBOX
13587 ## ------------------------------------ ##
13588 ## Report this to bug-autoconf@gnu.org. ##
13589 ## ------------------------------------ ##
13590 _ASBOX
13591 ) |
13592 sed "s/^/$as_me: WARNING: /" >&2
13593 ;;
13594 esac
13595 echo "$as_me:$LINENO: checking for $ac_header" >&5
13596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 else
13600 eval "$as_ac_Header=$ac_header_preproc"
13601 fi
13602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13604
13605 fi
13606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13607 cat >>confdefs.h <<_ACEOF
13608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13609 _ACEOF
13610
13611 fi
13612
13613 done
13614
13615
13616 case "${host}" in
13617 *-pc-os2_emx | *-pc-os2-emx )
13618 if test $ac_cv_header_langinfo_h = "yes"; then
13619 LIBS="$LIBS -lintl"
13620 fi
13621 ;;
13622 esac
13623
13624 if test "$wxUSE_GUI" = "yes"; then
13625 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
13626
13627 for ac_header in X11/Xlib.h
13628 do
13629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13631 echo "$as_me:$LINENO: checking for $ac_header" >&5
13632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13634 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 fi
13636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13638 else
13639 # Is the header compilable?
13640 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13641 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13642 cat >conftest.$ac_ext <<_ACEOF
13643 #line $LINENO "configure"
13644 /* confdefs.h. */
13645 _ACEOF
13646 cat confdefs.h >>conftest.$ac_ext
13647 cat >>conftest.$ac_ext <<_ACEOF
13648 /* end confdefs.h. */
13649 $ac_includes_default
13650 #include <$ac_header>
13651 _ACEOF
13652 rm -f conftest.$ac_objext
13653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13654 (eval $ac_compile) 2>&5
13655 ac_status=$?
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); } &&
13658 { ac_try='test -s conftest.$ac_objext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13661 ac_status=$?
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 ac_header_compiler=yes
13665 else
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.$ac_ext >&5
13668
13669 ac_header_compiler=no
13670 fi
13671 rm -f conftest.$ac_objext conftest.$ac_ext
13672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13673 echo "${ECHO_T}$ac_header_compiler" >&6
13674
13675 # Is the header present?
13676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13678 cat >conftest.$ac_ext <<_ACEOF
13679 #line $LINENO "configure"
13680 /* confdefs.h. */
13681 _ACEOF
13682 cat confdefs.h >>conftest.$ac_ext
13683 cat >>conftest.$ac_ext <<_ACEOF
13684 /* end confdefs.h. */
13685 #include <$ac_header>
13686 _ACEOF
13687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } >/dev/null; then
13695 if test -s conftest.err; then
13696 ac_cpp_err=$ac_c_preproc_warn_flag
13697 else
13698 ac_cpp_err=
13699 fi
13700 else
13701 ac_cpp_err=yes
13702 fi
13703 if test -z "$ac_cpp_err"; then
13704 ac_header_preproc=yes
13705 else
13706 echo "$as_me: failed program was:" >&5
13707 sed 's/^/| /' conftest.$ac_ext >&5
13708
13709 ac_header_preproc=no
13710 fi
13711 rm -f conftest.err conftest.$ac_ext
13712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13713 echo "${ECHO_T}$ac_header_preproc" >&6
13714
13715 # So? What about this header?
13716 case $ac_header_compiler:$ac_header_preproc in
13717 yes:no )
13718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13721 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13722 (
13723 cat <<\_ASBOX
13724 ## ------------------------------------ ##
13725 ## Report this to bug-autoconf@gnu.org. ##
13726 ## ------------------------------------ ##
13727 _ASBOX
13728 ) |
13729 sed "s/^/$as_me: WARNING: /" >&2
13730 ;;
13731 no:yes )
13732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13736 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13737 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13738 (
13739 cat <<\_ASBOX
13740 ## ------------------------------------ ##
13741 ## Report this to bug-autoconf@gnu.org. ##
13742 ## ------------------------------------ ##
13743 _ASBOX
13744 ) |
13745 sed "s/^/$as_me: WARNING: /" >&2
13746 ;;
13747 esac
13748 echo "$as_me:$LINENO: checking for $ac_header" >&5
13749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13753 eval "$as_ac_Header=$ac_header_preproc"
13754 fi
13755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13757
13758 fi
13759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13760 cat >>confdefs.h <<_ACEOF
13761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13762 _ACEOF
13763
13764 fi
13765
13766 done
13767
13768
13769 for ac_header in X11/XKBlib.h
13770 do
13771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13772 echo "$as_me:$LINENO: checking for $ac_header" >&5
13773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13775 echo $ECHO_N "(cached) $ECHO_C" >&6
13776 else
13777 cat >conftest.$ac_ext <<_ACEOF
13778 #line $LINENO "configure"
13779 /* confdefs.h. */
13780 _ACEOF
13781 cat confdefs.h >>conftest.$ac_ext
13782 cat >>conftest.$ac_ext <<_ACEOF
13783 /* end confdefs.h. */
13784
13785 #if HAVE_X11_XLIB_H
13786 #include <X11/Xlib.h>
13787 #endif
13788
13789
13790 #include <$ac_header>
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 eval "$as_ac_Header=yes"
13805 else
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13808
13809 eval "$as_ac_Header=no"
13810 fi
13811 rm -f conftest.$ac_objext conftest.$ac_ext
13812 fi
13813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13816 cat >>confdefs.h <<_ACEOF
13817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13818 _ACEOF
13819
13820 fi
13821
13822 done
13823
13824 fi
13825 fi
13826
13827
13828 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
13829 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
13830 if test "${ac_cv_c_const+set}" = set; then
13831 echo $ECHO_N "(cached) $ECHO_C" >&6
13832 else
13833 cat >conftest.$ac_ext <<_ACEOF
13834 #line $LINENO "configure"
13835 /* confdefs.h. */
13836 _ACEOF
13837 cat confdefs.h >>conftest.$ac_ext
13838 cat >>conftest.$ac_ext <<_ACEOF
13839 /* end confdefs.h. */
13840
13841 int
13842 main ()
13843 {
13844 /* FIXME: Include the comments suggested by Paul. */
13845 #ifndef __cplusplus
13846 /* Ultrix mips cc rejects this. */
13847 typedef int charset[2];
13848 const charset x;
13849 /* SunOS 4.1.1 cc rejects this. */
13850 char const *const *ccp;
13851 char **p;
13852 /* NEC SVR4.0.2 mips cc rejects this. */
13853 struct point {int x, y;};
13854 static struct point const zero = {0,0};
13855 /* AIX XL C 1.02.0.0 rejects this.
13856 It does not let you subtract one const X* pointer from another in
13857 an arm of an if-expression whose if-part is not a constant
13858 expression */
13859 const char *g = "string";
13860 ccp = &g + (g ? g-g : 0);
13861 /* HPUX 7.0 cc rejects these. */
13862 ++ccp;
13863 p = (char**) ccp;
13864 ccp = (char const *const *) p;
13865 { /* SCO 3.2v4 cc rejects this. */
13866 char *t;
13867 char const *s = 0 ? (char *) 0 : (char const *) 0;
13868
13869 *t++ = 0;
13870 }
13871 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13872 int x[] = {25, 17};
13873 const int *foo = &x[0];
13874 ++foo;
13875 }
13876 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13877 typedef const int *iptr;
13878 iptr p = 0;
13879 ++p;
13880 }
13881 { /* AIX XL C 1.02.0.0 rejects this saying
13882 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13883 struct s { int j; const int *ap[3]; };
13884 struct s *b; b->j = 5;
13885 }
13886 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13887 const int foo = 10;
13888 }
13889 #endif
13890
13891 ;
13892 return 0;
13893 }
13894 _ACEOF
13895 rm -f conftest.$ac_objext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13897 (eval $ac_compile) 2>&5
13898 ac_status=$?
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); } &&
13901 { ac_try='test -s conftest.$ac_objext'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13904 ac_status=$?
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; }; then
13907 ac_cv_c_const=yes
13908 else
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13911
13912 ac_cv_c_const=no
13913 fi
13914 rm -f conftest.$ac_objext conftest.$ac_ext
13915 fi
13916 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
13917 echo "${ECHO_T}$ac_cv_c_const" >&6
13918 if test $ac_cv_c_const = no; then
13919
13920 cat >>confdefs.h <<\_ACEOF
13921 #define const
13922 _ACEOF
13923
13924 fi
13925
13926 echo "$as_me:$LINENO: checking for inline" >&5
13927 echo $ECHO_N "checking for inline... $ECHO_C" >&6
13928 if test "${ac_cv_c_inline+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13930 else
13931 ac_cv_c_inline=no
13932 for ac_kw in inline __inline__ __inline; do
13933 cat >conftest.$ac_ext <<_ACEOF
13934 #line $LINENO "configure"
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13940 #ifndef __cplusplus
13941 typedef int foo_t;
13942 static $ac_kw foo_t static_foo () {return 0; }
13943 $ac_kw foo_t foo () {return 0; }
13944 #endif
13945
13946 _ACEOF
13947 rm -f conftest.$ac_objext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13949 (eval $ac_compile) 2>&5
13950 ac_status=$?
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try='test -s conftest.$ac_objext'
13954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13955 (eval $ac_try) 2>&5
13956 ac_status=$?
13957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958 (exit $ac_status); }; }; then
13959 ac_cv_c_inline=$ac_kw; break
13960 else
13961 echo "$as_me: failed program was:" >&5
13962 sed 's/^/| /' conftest.$ac_ext >&5
13963
13964 fi
13965 rm -f conftest.$ac_objext conftest.$ac_ext
13966 done
13967
13968 fi
13969 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
13970 echo "${ECHO_T}$ac_cv_c_inline" >&6
13971 case $ac_cv_c_inline in
13972 inline | yes) ;;
13973 no)
13974 cat >>confdefs.h <<\_ACEOF
13975 #define inline
13976 _ACEOF
13977 ;;
13978 *) cat >>confdefs.h <<_ACEOF
13979 #define inline $ac_cv_c_inline
13980 _ACEOF
13981 ;;
13982 esac
13983
13984
13985 echo "$as_me:$LINENO: checking for char" >&5
13986 echo $ECHO_N "checking for char... $ECHO_C" >&6
13987 if test "${ac_cv_type_char+set}" = set; then
13988 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 else
13990 cat >conftest.$ac_ext <<_ACEOF
13991 #line $LINENO "configure"
13992 /* confdefs.h. */
13993 _ACEOF
13994 cat confdefs.h >>conftest.$ac_ext
13995 cat >>conftest.$ac_ext <<_ACEOF
13996 /* end confdefs.h. */
13997 $ac_includes_default
13998 int
13999 main ()
14000 {
14001 if ((char *) 0)
14002 return 0;
14003 if (sizeof (char))
14004 return 0;
14005 ;
14006 return 0;
14007 }
14008 _ACEOF
14009 rm -f conftest.$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011 (eval $ac_compile) 2>&5
14012 ac_status=$?
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); } &&
14015 { ac_try='test -s conftest.$ac_objext'
14016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14017 (eval $ac_try) 2>&5
14018 ac_status=$?
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); }; }; then
14021 ac_cv_type_char=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 ac_cv_type_char=no
14027 fi
14028 rm -f conftest.$ac_objext conftest.$ac_ext
14029 fi
14030 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14031 echo "${ECHO_T}$ac_cv_type_char" >&6
14032
14033 echo "$as_me:$LINENO: checking size of char" >&5
14034 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14035 if test "${ac_cv_sizeof_char+set}" = set; then
14036 echo $ECHO_N "(cached) $ECHO_C" >&6
14037 else
14038 if test "$ac_cv_type_char" = yes; then
14039 # The cast to unsigned long works around a bug in the HP C Compiler
14040 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14041 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14042 # This bug is HP SR number 8606223364.
14043 if test "$cross_compiling" = yes; then
14044 # Depending upon the size, compute the lo and hi bounds.
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14047 /* confdefs.h. */
14048 _ACEOF
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 $ac_includes_default
14053 int
14054 main ()
14055 {
14056 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14057 test_array [0] = 0
14058
14059 ;
14060 return 0;
14061 }
14062 _ACEOF
14063 rm -f conftest.$ac_objext
14064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14065 (eval $ac_compile) 2>&5
14066 ac_status=$?
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -s conftest.$ac_objext'
14070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14071 (eval $ac_try) 2>&5
14072 ac_status=$?
14073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14074 (exit $ac_status); }; }; then
14075 ac_lo=0 ac_mid=0
14076 while :; do
14077 cat >conftest.$ac_ext <<_ACEOF
14078 #line $LINENO "configure"
14079 /* confdefs.h. */
14080 _ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14084 $ac_includes_default
14085 int
14086 main ()
14087 {
14088 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14089 test_array [0] = 0
14090
14091 ;
14092 return 0;
14093 }
14094 _ACEOF
14095 rm -f conftest.$ac_objext
14096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14097 (eval $ac_compile) 2>&5
14098 ac_status=$?
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); } &&
14101 { ac_try='test -s conftest.$ac_objext'
14102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14103 (eval $ac_try) 2>&5
14104 ac_status=$?
14105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14106 (exit $ac_status); }; }; then
14107 ac_hi=$ac_mid; break
14108 else
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.$ac_ext >&5
14111
14112 ac_lo=`expr $ac_mid + 1`
14113 if test $ac_lo -le $ac_mid; then
14114 ac_lo= ac_hi=
14115 break
14116 fi
14117 ac_mid=`expr 2 '*' $ac_mid + 1`
14118 fi
14119 rm -f conftest.$ac_objext conftest.$ac_ext
14120 done
14121 else
14122 echo "$as_me: failed program was:" >&5
14123 sed 's/^/| /' conftest.$ac_ext >&5
14124
14125 cat >conftest.$ac_ext <<_ACEOF
14126 #line $LINENO "configure"
14127 /* confdefs.h. */
14128 _ACEOF
14129 cat confdefs.h >>conftest.$ac_ext
14130 cat >>conftest.$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14132 $ac_includes_default
14133 int
14134 main ()
14135 {
14136 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14137 test_array [0] = 0
14138
14139 ;
14140 return 0;
14141 }
14142 _ACEOF
14143 rm -f conftest.$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>&5
14146 ac_status=$?
14147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14148 (exit $ac_status); } &&
14149 { ac_try='test -s conftest.$ac_objext'
14150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14151 (eval $ac_try) 2>&5
14152 ac_status=$?
14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14154 (exit $ac_status); }; }; then
14155 ac_hi=-1 ac_mid=-1
14156 while :; do
14157 cat >conftest.$ac_ext <<_ACEOF
14158 #line $LINENO "configure"
14159 /* confdefs.h. */
14160 _ACEOF
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 $ac_includes_default
14165 int
14166 main ()
14167 {
14168 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14169 test_array [0] = 0
14170
14171 ;
14172 return 0;
14173 }
14174 _ACEOF
14175 rm -f conftest.$ac_objext
14176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14177 (eval $ac_compile) 2>&5
14178 ac_status=$?
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); } &&
14181 { ac_try='test -s conftest.$ac_objext'
14182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14183 (eval $ac_try) 2>&5
14184 ac_status=$?
14185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); }; }; then
14187 ac_lo=$ac_mid; break
14188 else
14189 echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.$ac_ext >&5
14191
14192 ac_hi=`expr '(' $ac_mid ')' - 1`
14193 if test $ac_mid -le $ac_hi; then
14194 ac_lo= ac_hi=
14195 break
14196 fi
14197 ac_mid=`expr 2 '*' $ac_mid`
14198 fi
14199 rm -f conftest.$ac_objext conftest.$ac_ext
14200 done
14201 else
14202 echo "$as_me: failed program was:" >&5
14203 sed 's/^/| /' conftest.$ac_ext >&5
14204
14205 ac_lo= ac_hi=
14206 fi
14207 rm -f conftest.$ac_objext conftest.$ac_ext
14208 fi
14209 rm -f conftest.$ac_objext conftest.$ac_ext
14210 # Binary search between lo and hi bounds.
14211 while test "x$ac_lo" != "x$ac_hi"; do
14212 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14213 cat >conftest.$ac_ext <<_ACEOF
14214 #line $LINENO "configure"
14215 /* confdefs.h. */
14216 _ACEOF
14217 cat confdefs.h >>conftest.$ac_ext
14218 cat >>conftest.$ac_ext <<_ACEOF
14219 /* end confdefs.h. */
14220 $ac_includes_default
14221 int
14222 main ()
14223 {
14224 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14225 test_array [0] = 0
14226
14227 ;
14228 return 0;
14229 }
14230 _ACEOF
14231 rm -f conftest.$ac_objext
14232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14233 (eval $ac_compile) 2>&5
14234 ac_status=$?
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } &&
14237 { ac_try='test -s conftest.$ac_objext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 ac_hi=$ac_mid
14244 else
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14247
14248 ac_lo=`expr '(' $ac_mid ')' + 1`
14249 fi
14250 rm -f conftest.$ac_objext conftest.$ac_ext
14251 done
14252 case $ac_lo in
14253 ?*) ac_cv_sizeof_char=$ac_lo;;
14254 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14255 See \`config.log' for more details." >&5
14256 echo "$as_me: error: cannot compute sizeof (char), 77
14257 See \`config.log' for more details." >&2;}
14258 { (exit 1); exit 1; }; } ;;
14259 esac
14260 else
14261 if test "$cross_compiling" = yes; then
14262 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14263 See \`config.log' for more details." >&5
14264 echo "$as_me: error: cannot run test program while cross compiling
14265 See \`config.log' for more details." >&2;}
14266 { (exit 1); exit 1; }; }
14267 else
14268 cat >conftest.$ac_ext <<_ACEOF
14269 #line $LINENO "configure"
14270 /* confdefs.h. */
14271 _ACEOF
14272 cat confdefs.h >>conftest.$ac_ext
14273 cat >>conftest.$ac_ext <<_ACEOF
14274 /* end confdefs.h. */
14275 $ac_includes_default
14276 long longval () { return (long) (sizeof (char)); }
14277 unsigned long ulongval () { return (long) (sizeof (char)); }
14278 #include <stdio.h>
14279 #include <stdlib.h>
14280 int
14281 main ()
14282 {
14283
14284 FILE *f = fopen ("conftest.val", "w");
14285 if (! f)
14286 exit (1);
14287 if (((long) (sizeof (char))) < 0)
14288 {
14289 long i = longval ();
14290 if (i != ((long) (sizeof (char))))
14291 exit (1);
14292 fprintf (f, "%ld\n", i);
14293 }
14294 else
14295 {
14296 unsigned long i = ulongval ();
14297 if (i != ((long) (sizeof (char))))
14298 exit (1);
14299 fprintf (f, "%lu\n", i);
14300 }
14301 exit (ferror (f) || fclose (f) != 0);
14302
14303 ;
14304 return 0;
14305 }
14306 _ACEOF
14307 rm -f conftest$ac_exeext
14308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14309 (eval $ac_link) 2>&5
14310 ac_status=$?
14311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14315 ac_status=$?
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; }; then
14318 ac_cv_sizeof_char=`cat conftest.val`
14319 else
14320 echo "$as_me: program exited with status $ac_status" >&5
14321 echo "$as_me: failed program was:" >&5
14322 sed 's/^/| /' conftest.$ac_ext >&5
14323
14324 ( exit $ac_status )
14325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14326 See \`config.log' for more details." >&5
14327 echo "$as_me: error: cannot compute sizeof (char), 77
14328 See \`config.log' for more details." >&2;}
14329 { (exit 1); exit 1; }; }
14330 fi
14331 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14332 fi
14333 fi
14334 rm -f conftest.val
14335 else
14336 ac_cv_sizeof_char=0
14337 fi
14338 fi
14339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14340 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14341 cat >>confdefs.h <<_ACEOF
14342 #define SIZEOF_CHAR $ac_cv_sizeof_char
14343 _ACEOF
14344
14345
14346 echo "$as_me:$LINENO: checking for short" >&5
14347 echo $ECHO_N "checking for short... $ECHO_C" >&6
14348 if test "${ac_cv_type_short+set}" = set; then
14349 echo $ECHO_N "(cached) $ECHO_C" >&6
14350 else
14351 cat >conftest.$ac_ext <<_ACEOF
14352 #line $LINENO "configure"
14353 /* confdefs.h. */
14354 _ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358 $ac_includes_default
14359 int
14360 main ()
14361 {
14362 if ((short *) 0)
14363 return 0;
14364 if (sizeof (short))
14365 return 0;
14366 ;
14367 return 0;
14368 }
14369 _ACEOF
14370 rm -f conftest.$ac_objext
14371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14372 (eval $ac_compile) 2>&5
14373 ac_status=$?
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); } &&
14376 { ac_try='test -s conftest.$ac_objext'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; }; then
14382 ac_cv_type_short=yes
14383 else
14384 echo "$as_me: failed program was:" >&5
14385 sed 's/^/| /' conftest.$ac_ext >&5
14386
14387 ac_cv_type_short=no
14388 fi
14389 rm -f conftest.$ac_objext conftest.$ac_ext
14390 fi
14391 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
14392 echo "${ECHO_T}$ac_cv_type_short" >&6
14393
14394 echo "$as_me:$LINENO: checking size of short" >&5
14395 echo $ECHO_N "checking size of short... $ECHO_C" >&6
14396 if test "${ac_cv_sizeof_short+set}" = set; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14398 else
14399 if test "$ac_cv_type_short" = yes; then
14400 # The cast to unsigned long works around a bug in the HP C Compiler
14401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14403 # This bug is HP SR number 8606223364.
14404 if test "$cross_compiling" = yes; then
14405 # Depending upon the size, compute the lo and hi bounds.
14406 cat >conftest.$ac_ext <<_ACEOF
14407 #line $LINENO "configure"
14408 /* confdefs.h. */
14409 _ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14414 int
14415 main ()
14416 {
14417 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
14418 test_array [0] = 0
14419
14420 ;
14421 return 0;
14422 }
14423 _ACEOF
14424 rm -f conftest.$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>&5
14427 ac_status=$?
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 ac_lo=0 ac_mid=0
14437 while :; do
14438 cat >conftest.$ac_ext <<_ACEOF
14439 #line $LINENO "configure"
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14445 $ac_includes_default
14446 int
14447 main ()
14448 {
14449 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14450 test_array [0] = 0
14451
14452 ;
14453 return 0;
14454 }
14455 _ACEOF
14456 rm -f conftest.$ac_objext
14457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14458 (eval $ac_compile) 2>&5
14459 ac_status=$?
14460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14461 (exit $ac_status); } &&
14462 { ac_try='test -s conftest.$ac_objext'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; }; then
14468 ac_hi=$ac_mid; break
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14472
14473 ac_lo=`expr $ac_mid + 1`
14474 if test $ac_lo -le $ac_mid; then
14475 ac_lo= ac_hi=
14476 break
14477 fi
14478 ac_mid=`expr 2 '*' $ac_mid + 1`
14479 fi
14480 rm -f conftest.$ac_objext conftest.$ac_ext
14481 done
14482 else
14483 echo "$as_me: failed program was:" >&5
14484 sed 's/^/| /' conftest.$ac_ext >&5
14485
14486 cat >conftest.$ac_ext <<_ACEOF
14487 #line $LINENO "configure"
14488 /* confdefs.h. */
14489 _ACEOF
14490 cat confdefs.h >>conftest.$ac_ext
14491 cat >>conftest.$ac_ext <<_ACEOF
14492 /* end confdefs.h. */
14493 $ac_includes_default
14494 int
14495 main ()
14496 {
14497 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
14498 test_array [0] = 0
14499
14500 ;
14501 return 0;
14502 }
14503 _ACEOF
14504 rm -f conftest.$ac_objext
14505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14506 (eval $ac_compile) 2>&5
14507 ac_status=$?
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); } &&
14510 { ac_try='test -s conftest.$ac_objext'
14511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512 (eval $ac_try) 2>&5
14513 ac_status=$?
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); }; }; then
14516 ac_hi=-1 ac_mid=-1
14517 while :; do
14518 cat >conftest.$ac_ext <<_ACEOF
14519 #line $LINENO "configure"
14520 /* confdefs.h. */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h. */
14525 $ac_includes_default
14526 int
14527 main ()
14528 {
14529 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
14530 test_array [0] = 0
14531
14532 ;
14533 return 0;
14534 }
14535 _ACEOF
14536 rm -f conftest.$ac_objext
14537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14538 (eval $ac_compile) 2>&5
14539 ac_status=$?
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -s conftest.$ac_objext'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14545 ac_status=$?
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; }; then
14548 ac_lo=$ac_mid; break
14549 else
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14552
14553 ac_hi=`expr '(' $ac_mid ')' - 1`
14554 if test $ac_mid -le $ac_hi; then
14555 ac_lo= ac_hi=
14556 break
14557 fi
14558 ac_mid=`expr 2 '*' $ac_mid`
14559 fi
14560 rm -f conftest.$ac_objext conftest.$ac_ext
14561 done
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14565
14566 ac_lo= ac_hi=
14567 fi
14568 rm -f conftest.$ac_objext conftest.$ac_ext
14569 fi
14570 rm -f conftest.$ac_objext conftest.$ac_ext
14571 # Binary search between lo and hi bounds.
14572 while test "x$ac_lo" != "x$ac_hi"; do
14573 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14574 cat >conftest.$ac_ext <<_ACEOF
14575 #line $LINENO "configure"
14576 /* confdefs.h. */
14577 _ACEOF
14578 cat confdefs.h >>conftest.$ac_ext
14579 cat >>conftest.$ac_ext <<_ACEOF
14580 /* end confdefs.h. */
14581 $ac_includes_default
14582 int
14583 main ()
14584 {
14585 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
14586 test_array [0] = 0
14587
14588 ;
14589 return 0;
14590 }
14591 _ACEOF
14592 rm -f conftest.$ac_objext
14593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14594 (eval $ac_compile) 2>&5
14595 ac_status=$?
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); } &&
14598 { ac_try='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14601 ac_status=$?
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 ac_hi=$ac_mid
14605 else
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.$ac_ext >&5
14608
14609 ac_lo=`expr '(' $ac_mid ')' + 1`
14610 fi
14611 rm -f conftest.$ac_objext conftest.$ac_ext
14612 done
14613 case $ac_lo in
14614 ?*) ac_cv_sizeof_short=$ac_lo;;
14615 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14616 See \`config.log' for more details." >&5
14617 echo "$as_me: error: cannot compute sizeof (short), 77
14618 See \`config.log' for more details." >&2;}
14619 { (exit 1); exit 1; }; } ;;
14620 esac
14621 else
14622 if test "$cross_compiling" = yes; then
14623 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14624 See \`config.log' for more details." >&5
14625 echo "$as_me: error: cannot run test program while cross compiling
14626 See \`config.log' for more details." >&2;}
14627 { (exit 1); exit 1; }; }
14628 else
14629 cat >conftest.$ac_ext <<_ACEOF
14630 #line $LINENO "configure"
14631 /* confdefs.h. */
14632 _ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14636 $ac_includes_default
14637 long longval () { return (long) (sizeof (short)); }
14638 unsigned long ulongval () { return (long) (sizeof (short)); }
14639 #include <stdio.h>
14640 #include <stdlib.h>
14641 int
14642 main ()
14643 {
14644
14645 FILE *f = fopen ("conftest.val", "w");
14646 if (! f)
14647 exit (1);
14648 if (((long) (sizeof (short))) < 0)
14649 {
14650 long i = longval ();
14651 if (i != ((long) (sizeof (short))))
14652 exit (1);
14653 fprintf (f, "%ld\n", i);
14654 }
14655 else
14656 {
14657 unsigned long i = ulongval ();
14658 if (i != ((long) (sizeof (short))))
14659 exit (1);
14660 fprintf (f, "%lu\n", i);
14661 }
14662 exit (ferror (f) || fclose (f) != 0);
14663
14664 ;
14665 return 0;
14666 }
14667 _ACEOF
14668 rm -f conftest$ac_exeext
14669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14670 (eval $ac_link) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 ac_cv_sizeof_short=`cat conftest.val`
14680 else
14681 echo "$as_me: program exited with status $ac_status" >&5
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14684
14685 ( exit $ac_status )
14686 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
14687 See \`config.log' for more details." >&5
14688 echo "$as_me: error: cannot compute sizeof (short), 77
14689 See \`config.log' for more details." >&2;}
14690 { (exit 1); exit 1; }; }
14691 fi
14692 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14693 fi
14694 fi
14695 rm -f conftest.val
14696 else
14697 ac_cv_sizeof_short=0
14698 fi
14699 fi
14700 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
14701 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
14702 cat >>confdefs.h <<_ACEOF
14703 #define SIZEOF_SHORT $ac_cv_sizeof_short
14704 _ACEOF
14705
14706
14707 echo "$as_me:$LINENO: checking for void *" >&5
14708 echo $ECHO_N "checking for void *... $ECHO_C" >&6
14709 if test "${ac_cv_type_void_p+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 else
14712 cat >conftest.$ac_ext <<_ACEOF
14713 #line $LINENO "configure"
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 $ac_includes_default
14720 int
14721 main ()
14722 {
14723 if ((void * *) 0)
14724 return 0;
14725 if (sizeof (void *))
14726 return 0;
14727 ;
14728 return 0;
14729 }
14730 _ACEOF
14731 rm -f conftest.$ac_objext
14732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14733 (eval $ac_compile) 2>&5
14734 ac_status=$?
14735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736 (exit $ac_status); } &&
14737 { ac_try='test -s conftest.$ac_objext'
14738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14739 (eval $ac_try) 2>&5
14740 ac_status=$?
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); }; }; then
14743 ac_cv_type_void_p=yes
14744 else
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14747
14748 ac_cv_type_void_p=no
14749 fi
14750 rm -f conftest.$ac_objext conftest.$ac_ext
14751 fi
14752 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
14753 echo "${ECHO_T}$ac_cv_type_void_p" >&6
14754
14755 echo "$as_me:$LINENO: checking size of void *" >&5
14756 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
14757 if test "${ac_cv_sizeof_void_p+set}" = set; then
14758 echo $ECHO_N "(cached) $ECHO_C" >&6
14759 else
14760 if test "$ac_cv_type_void_p" = yes; then
14761 # The cast to unsigned long works around a bug in the HP C Compiler
14762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14764 # This bug is HP SR number 8606223364.
14765 if test "$cross_compiling" = yes; then
14766 # Depending upon the size, compute the lo and hi bounds.
14767 cat >conftest.$ac_ext <<_ACEOF
14768 #line $LINENO "configure"
14769 /* confdefs.h. */
14770 _ACEOF
14771 cat confdefs.h >>conftest.$ac_ext
14772 cat >>conftest.$ac_ext <<_ACEOF
14773 /* end confdefs.h. */
14774 $ac_includes_default
14775 int
14776 main ()
14777 {
14778 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
14779 test_array [0] = 0
14780
14781 ;
14782 return 0;
14783 }
14784 _ACEOF
14785 rm -f conftest.$ac_objext
14786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14787 (eval $ac_compile) 2>&5
14788 ac_status=$?
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try='test -s conftest.$ac_objext'
14792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14793 (eval $ac_try) 2>&5
14794 ac_status=$?
14795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14796 (exit $ac_status); }; }; then
14797 ac_lo=0 ac_mid=0
14798 while :; do
14799 cat >conftest.$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14801 /* confdefs.h. */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806 $ac_includes_default
14807 int
14808 main ()
14809 {
14810 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14811 test_array [0] = 0
14812
14813 ;
14814 return 0;
14815 }
14816 _ACEOF
14817 rm -f conftest.$ac_objext
14818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14819 (eval $ac_compile) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); } &&
14823 { ac_try='test -s conftest.$ac_objext'
14824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14825 (eval $ac_try) 2>&5
14826 ac_status=$?
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); }; }; then
14829 ac_hi=$ac_mid; break
14830 else
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.$ac_ext >&5
14833
14834 ac_lo=`expr $ac_mid + 1`
14835 if test $ac_lo -le $ac_mid; then
14836 ac_lo= ac_hi=
14837 break
14838 fi
14839 ac_mid=`expr 2 '*' $ac_mid + 1`
14840 fi
14841 rm -f conftest.$ac_objext conftest.$ac_ext
14842 done
14843 else
14844 echo "$as_me: failed program was:" >&5
14845 sed 's/^/| /' conftest.$ac_ext >&5
14846
14847 cat >conftest.$ac_ext <<_ACEOF
14848 #line $LINENO "configure"
14849 /* confdefs.h. */
14850 _ACEOF
14851 cat confdefs.h >>conftest.$ac_ext
14852 cat >>conftest.$ac_ext <<_ACEOF
14853 /* end confdefs.h. */
14854 $ac_includes_default
14855 int
14856 main ()
14857 {
14858 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
14859 test_array [0] = 0
14860
14861 ;
14862 return 0;
14863 }
14864 _ACEOF
14865 rm -f conftest.$ac_objext
14866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14867 (eval $ac_compile) 2>&5
14868 ac_status=$?
14869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14870 (exit $ac_status); } &&
14871 { ac_try='test -s conftest.$ac_objext'
14872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14873 (eval $ac_try) 2>&5
14874 ac_status=$?
14875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14876 (exit $ac_status); }; }; then
14877 ac_hi=-1 ac_mid=-1
14878 while :; do
14879 cat >conftest.$ac_ext <<_ACEOF
14880 #line $LINENO "configure"
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14886 $ac_includes_default
14887 int
14888 main ()
14889 {
14890 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
14891 test_array [0] = 0
14892
14893 ;
14894 return 0;
14895 }
14896 _ACEOF
14897 rm -f conftest.$ac_objext
14898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14899 (eval $ac_compile) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); } &&
14903 { ac_try='test -s conftest.$ac_objext'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14906 ac_status=$?
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14909 ac_lo=$ac_mid; break
14910 else
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14913
14914 ac_hi=`expr '(' $ac_mid ')' - 1`
14915 if test $ac_mid -le $ac_hi; then
14916 ac_lo= ac_hi=
14917 break
14918 fi
14919 ac_mid=`expr 2 '*' $ac_mid`
14920 fi
14921 rm -f conftest.$ac_objext conftest.$ac_ext
14922 done
14923 else
14924 echo "$as_me: failed program was:" >&5
14925 sed 's/^/| /' conftest.$ac_ext >&5
14926
14927 ac_lo= ac_hi=
14928 fi
14929 rm -f conftest.$ac_objext conftest.$ac_ext
14930 fi
14931 rm -f conftest.$ac_objext conftest.$ac_ext
14932 # Binary search between lo and hi bounds.
14933 while test "x$ac_lo" != "x$ac_hi"; do
14934 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14935 cat >conftest.$ac_ext <<_ACEOF
14936 #line $LINENO "configure"
14937 /* confdefs.h. */
14938 _ACEOF
14939 cat confdefs.h >>conftest.$ac_ext
14940 cat >>conftest.$ac_ext <<_ACEOF
14941 /* end confdefs.h. */
14942 $ac_includes_default
14943 int
14944 main ()
14945 {
14946 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
14947 test_array [0] = 0
14948
14949 ;
14950 return 0;
14951 }
14952 _ACEOF
14953 rm -f conftest.$ac_objext
14954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14955 (eval $ac_compile) 2>&5
14956 ac_status=$?
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } &&
14959 { ac_try='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_hi=$ac_mid
14966 else
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14969
14970 ac_lo=`expr '(' $ac_mid ')' + 1`
14971 fi
14972 rm -f conftest.$ac_objext conftest.$ac_ext
14973 done
14974 case $ac_lo in
14975 ?*) ac_cv_sizeof_void_p=$ac_lo;;
14976 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
14977 See \`config.log' for more details." >&5
14978 echo "$as_me: error: cannot compute sizeof (void *), 77
14979 See \`config.log' for more details." >&2;}
14980 { (exit 1); exit 1; }; } ;;
14981 esac
14982 else
14983 if test "$cross_compiling" = yes; then
14984 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14985 See \`config.log' for more details." >&5
14986 echo "$as_me: error: cannot run test program while cross compiling
14987 See \`config.log' for more details." >&2;}
14988 { (exit 1); exit 1; }; }
14989 else
14990 cat >conftest.$ac_ext <<_ACEOF
14991 #line $LINENO "configure"
14992 /* confdefs.h. */
14993 _ACEOF
14994 cat confdefs.h >>conftest.$ac_ext
14995 cat >>conftest.$ac_ext <<_ACEOF
14996 /* end confdefs.h. */
14997 $ac_includes_default
14998 long longval () { return (long) (sizeof (void *)); }
14999 unsigned long ulongval () { return (long) (sizeof (void *)); }
15000 #include <stdio.h>
15001 #include <stdlib.h>
15002 int
15003 main ()
15004 {
15005
15006 FILE *f = fopen ("conftest.val", "w");
15007 if (! f)
15008 exit (1);
15009 if (((long) (sizeof (void *))) < 0)
15010 {
15011 long i = longval ();
15012 if (i != ((long) (sizeof (void *))))
15013 exit (1);
15014 fprintf (f, "%ld\n", i);
15015 }
15016 else
15017 {
15018 unsigned long i = ulongval ();
15019 if (i != ((long) (sizeof (void *))))
15020 exit (1);
15021 fprintf (f, "%lu\n", i);
15022 }
15023 exit (ferror (f) || fclose (f) != 0);
15024
15025 ;
15026 return 0;
15027 }
15028 _ACEOF
15029 rm -f conftest$ac_exeext
15030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15031 (eval $ac_link) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15037 ac_status=$?
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; }; then
15040 ac_cv_sizeof_void_p=`cat conftest.val`
15041 else
15042 echo "$as_me: program exited with status $ac_status" >&5
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15045
15046 ( exit $ac_status )
15047 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15048 See \`config.log' for more details." >&5
15049 echo "$as_me: error: cannot compute sizeof (void *), 77
15050 See \`config.log' for more details." >&2;}
15051 { (exit 1); exit 1; }; }
15052 fi
15053 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15054 fi
15055 fi
15056 rm -f conftest.val
15057 else
15058 ac_cv_sizeof_void_p=0
15059 fi
15060 fi
15061 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15062 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15063 cat >>confdefs.h <<_ACEOF
15064 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15065 _ACEOF
15066
15067
15068 echo "$as_me:$LINENO: checking for int" >&5
15069 echo $ECHO_N "checking for int... $ECHO_C" >&6
15070 if test "${ac_cv_type_int+set}" = set; then
15071 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 else
15073 cat >conftest.$ac_ext <<_ACEOF
15074 #line $LINENO "configure"
15075 /* confdefs.h. */
15076 _ACEOF
15077 cat confdefs.h >>conftest.$ac_ext
15078 cat >>conftest.$ac_ext <<_ACEOF
15079 /* end confdefs.h. */
15080 $ac_includes_default
15081 int
15082 main ()
15083 {
15084 if ((int *) 0)
15085 return 0;
15086 if (sizeof (int))
15087 return 0;
15088 ;
15089 return 0;
15090 }
15091 _ACEOF
15092 rm -f conftest.$ac_objext
15093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15094 (eval $ac_compile) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } &&
15098 { ac_try='test -s conftest.$ac_objext'
15099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15100 (eval $ac_try) 2>&5
15101 ac_status=$?
15102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15103 (exit $ac_status); }; }; then
15104 ac_cv_type_int=yes
15105 else
15106 echo "$as_me: failed program was:" >&5
15107 sed 's/^/| /' conftest.$ac_ext >&5
15108
15109 ac_cv_type_int=no
15110 fi
15111 rm -f conftest.$ac_objext conftest.$ac_ext
15112 fi
15113 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15114 echo "${ECHO_T}$ac_cv_type_int" >&6
15115
15116 echo "$as_me:$LINENO: checking size of int" >&5
15117 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15118 if test "${ac_cv_sizeof_int+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 else
15121 if test "$ac_cv_type_int" = yes; then
15122 # The cast to unsigned long works around a bug in the HP C Compiler
15123 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15124 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15125 # This bug is HP SR number 8606223364.
15126 if test "$cross_compiling" = yes; then
15127 # Depending upon the size, compute the lo and hi bounds.
15128 cat >conftest.$ac_ext <<_ACEOF
15129 #line $LINENO "configure"
15130 /* confdefs.h. */
15131 _ACEOF
15132 cat confdefs.h >>conftest.$ac_ext
15133 cat >>conftest.$ac_ext <<_ACEOF
15134 /* end confdefs.h. */
15135 $ac_includes_default
15136 int
15137 main ()
15138 {
15139 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15140 test_array [0] = 0
15141
15142 ;
15143 return 0;
15144 }
15145 _ACEOF
15146 rm -f conftest.$ac_objext
15147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15148 (eval $ac_compile) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -s conftest.$ac_objext'
15153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15154 (eval $ac_try) 2>&5
15155 ac_status=$?
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); }; }; then
15158 ac_lo=0 ac_mid=0
15159 while :; do
15160 cat >conftest.$ac_ext <<_ACEOF
15161 #line $LINENO "configure"
15162 /* confdefs.h. */
15163 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167 $ac_includes_default
15168 int
15169 main ()
15170 {
15171 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15172 test_array [0] = 0
15173
15174 ;
15175 return 0;
15176 }
15177 _ACEOF
15178 rm -f conftest.$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>&5
15181 ac_status=$?
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); } &&
15184 { ac_try='test -s conftest.$ac_objext'
15185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15186 (eval $ac_try) 2>&5
15187 ac_status=$?
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); }; }; then
15190 ac_hi=$ac_mid; break
15191 else
15192 echo "$as_me: failed program was:" >&5
15193 sed 's/^/| /' conftest.$ac_ext >&5
15194
15195 ac_lo=`expr $ac_mid + 1`
15196 if test $ac_lo -le $ac_mid; then
15197 ac_lo= ac_hi=
15198 break
15199 fi
15200 ac_mid=`expr 2 '*' $ac_mid + 1`
15201 fi
15202 rm -f conftest.$ac_objext conftest.$ac_ext
15203 done
15204 else
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15207
15208 cat >conftest.$ac_ext <<_ACEOF
15209 #line $LINENO "configure"
15210 /* confdefs.h. */
15211 _ACEOF
15212 cat confdefs.h >>conftest.$ac_ext
15213 cat >>conftest.$ac_ext <<_ACEOF
15214 /* end confdefs.h. */
15215 $ac_includes_default
15216 int
15217 main ()
15218 {
15219 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15220 test_array [0] = 0
15221
15222 ;
15223 return 0;
15224 }
15225 _ACEOF
15226 rm -f conftest.$ac_objext
15227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15228 (eval $ac_compile) 2>&5
15229 ac_status=$?
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } &&
15232 { ac_try='test -s conftest.$ac_objext'
15233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15234 (eval $ac_try) 2>&5
15235 ac_status=$?
15236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15237 (exit $ac_status); }; }; then
15238 ac_hi=-1 ac_mid=-1
15239 while :; do
15240 cat >conftest.$ac_ext <<_ACEOF
15241 #line $LINENO "configure"
15242 /* confdefs.h. */
15243 _ACEOF
15244 cat confdefs.h >>conftest.$ac_ext
15245 cat >>conftest.$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15247 $ac_includes_default
15248 int
15249 main ()
15250 {
15251 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15252 test_array [0] = 0
15253
15254 ;
15255 return 0;
15256 }
15257 _ACEOF
15258 rm -f conftest.$ac_objext
15259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260 (eval $ac_compile) 2>&5
15261 ac_status=$?
15262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263 (exit $ac_status); } &&
15264 { ac_try='test -s conftest.$ac_objext'
15265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15266 (eval $ac_try) 2>&5
15267 ac_status=$?
15268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15269 (exit $ac_status); }; }; then
15270 ac_lo=$ac_mid; break
15271 else
15272 echo "$as_me: failed program was:" >&5
15273 sed 's/^/| /' conftest.$ac_ext >&5
15274
15275 ac_hi=`expr '(' $ac_mid ')' - 1`
15276 if test $ac_mid -le $ac_hi; then
15277 ac_lo= ac_hi=
15278 break
15279 fi
15280 ac_mid=`expr 2 '*' $ac_mid`
15281 fi
15282 rm -f conftest.$ac_objext conftest.$ac_ext
15283 done
15284 else
15285 echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.$ac_ext >&5
15287
15288 ac_lo= ac_hi=
15289 fi
15290 rm -f conftest.$ac_objext conftest.$ac_ext
15291 fi
15292 rm -f conftest.$ac_objext conftest.$ac_ext
15293 # Binary search between lo and hi bounds.
15294 while test "x$ac_lo" != "x$ac_hi"; do
15295 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15296 cat >conftest.$ac_ext <<_ACEOF
15297 #line $LINENO "configure"
15298 /* confdefs.h. */
15299 _ACEOF
15300 cat confdefs.h >>conftest.$ac_ext
15301 cat >>conftest.$ac_ext <<_ACEOF
15302 /* end confdefs.h. */
15303 $ac_includes_default
15304 int
15305 main ()
15306 {
15307 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15308 test_array [0] = 0
15309
15310 ;
15311 return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15316 (eval $ac_compile) 2>&5
15317 ac_status=$?
15318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15319 (exit $ac_status); } &&
15320 { ac_try='test -s conftest.$ac_objext'
15321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15322 (eval $ac_try) 2>&5
15323 ac_status=$?
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); }; }; then
15326 ac_hi=$ac_mid
15327 else
15328 echo "$as_me: failed program was:" >&5
15329 sed 's/^/| /' conftest.$ac_ext >&5
15330
15331 ac_lo=`expr '(' $ac_mid ')' + 1`
15332 fi
15333 rm -f conftest.$ac_objext conftest.$ac_ext
15334 done
15335 case $ac_lo in
15336 ?*) ac_cv_sizeof_int=$ac_lo;;
15337 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15338 See \`config.log' for more details." >&5
15339 echo "$as_me: error: cannot compute sizeof (int), 77
15340 See \`config.log' for more details." >&2;}
15341 { (exit 1); exit 1; }; } ;;
15342 esac
15343 else
15344 if test "$cross_compiling" = yes; then
15345 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15346 See \`config.log' for more details." >&5
15347 echo "$as_me: error: cannot run test program while cross compiling
15348 See \`config.log' for more details." >&2;}
15349 { (exit 1); exit 1; }; }
15350 else
15351 cat >conftest.$ac_ext <<_ACEOF
15352 #line $LINENO "configure"
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 $ac_includes_default
15359 long longval () { return (long) (sizeof (int)); }
15360 unsigned long ulongval () { return (long) (sizeof (int)); }
15361 #include <stdio.h>
15362 #include <stdlib.h>
15363 int
15364 main ()
15365 {
15366
15367 FILE *f = fopen ("conftest.val", "w");
15368 if (! f)
15369 exit (1);
15370 if (((long) (sizeof (int))) < 0)
15371 {
15372 long i = longval ();
15373 if (i != ((long) (sizeof (int))))
15374 exit (1);
15375 fprintf (f, "%ld\n", i);
15376 }
15377 else
15378 {
15379 unsigned long i = ulongval ();
15380 if (i != ((long) (sizeof (int))))
15381 exit (1);
15382 fprintf (f, "%lu\n", i);
15383 }
15384 exit (ferror (f) || fclose (f) != 0);
15385
15386 ;
15387 return 0;
15388 }
15389 _ACEOF
15390 rm -f conftest$ac_exeext
15391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15392 (eval $ac_link) 2>&5
15393 ac_status=$?
15394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 ac_cv_sizeof_int=`cat conftest.val`
15402 else
15403 echo "$as_me: program exited with status $ac_status" >&5
15404 echo "$as_me: failed program was:" >&5
15405 sed 's/^/| /' conftest.$ac_ext >&5
15406
15407 ( exit $ac_status )
15408 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15409 See \`config.log' for more details." >&5
15410 echo "$as_me: error: cannot compute sizeof (int), 77
15411 See \`config.log' for more details." >&2;}
15412 { (exit 1); exit 1; }; }
15413 fi
15414 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15415 fi
15416 fi
15417 rm -f conftest.val
15418 else
15419 ac_cv_sizeof_int=0
15420 fi
15421 fi
15422 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15423 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15424 cat >>confdefs.h <<_ACEOF
15425 #define SIZEOF_INT $ac_cv_sizeof_int
15426 _ACEOF
15427
15428
15429 echo "$as_me:$LINENO: checking for long" >&5
15430 echo $ECHO_N "checking for long... $ECHO_C" >&6
15431 if test "${ac_cv_type_long+set}" = set; then
15432 echo $ECHO_N "(cached) $ECHO_C" >&6
15433 else
15434 cat >conftest.$ac_ext <<_ACEOF
15435 #line $LINENO "configure"
15436 /* confdefs.h. */
15437 _ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 $ac_includes_default
15442 int
15443 main ()
15444 {
15445 if ((long *) 0)
15446 return 0;
15447 if (sizeof (long))
15448 return 0;
15449 ;
15450 return 0;
15451 }
15452 _ACEOF
15453 rm -f conftest.$ac_objext
15454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15455 (eval $ac_compile) 2>&5
15456 ac_status=$?
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); } &&
15459 { ac_try='test -s conftest.$ac_objext'
15460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15461 (eval $ac_try) 2>&5
15462 ac_status=$?
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); }; }; then
15465 ac_cv_type_long=yes
15466 else
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15469
15470 ac_cv_type_long=no
15471 fi
15472 rm -f conftest.$ac_objext conftest.$ac_ext
15473 fi
15474 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
15475 echo "${ECHO_T}$ac_cv_type_long" >&6
15476
15477 echo "$as_me:$LINENO: checking size of long" >&5
15478 echo $ECHO_N "checking size of long... $ECHO_C" >&6
15479 if test "${ac_cv_sizeof_long+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15481 else
15482 if test "$ac_cv_type_long" = yes; then
15483 # The cast to unsigned long works around a bug in the HP C Compiler
15484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15486 # This bug is HP SR number 8606223364.
15487 if test "$cross_compiling" = yes; then
15488 # Depending upon the size, compute the lo and hi bounds.
15489 cat >conftest.$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15491 /* confdefs.h. */
15492 _ACEOF
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 $ac_includes_default
15497 int
15498 main ()
15499 {
15500 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
15501 test_array [0] = 0
15502
15503 ;
15504 return 0;
15505 }
15506 _ACEOF
15507 rm -f conftest.$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509 (eval $ac_compile) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } &&
15513 { ac_try='test -s conftest.$ac_objext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15516 ac_status=$?
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_lo=0 ac_mid=0
15520 while :; do
15521 cat >conftest.$ac_ext <<_ACEOF
15522 #line $LINENO "configure"
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15529 int
15530 main ()
15531 {
15532 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15533 test_array [0] = 0
15534
15535 ;
15536 return 0;
15537 }
15538 _ACEOF
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>&5
15542 ac_status=$?
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } &&
15545 { ac_try='test -s conftest.$ac_objext'
15546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15547 (eval $ac_try) 2>&5
15548 ac_status=$?
15549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15550 (exit $ac_status); }; }; then
15551 ac_hi=$ac_mid; break
15552 else
15553 echo "$as_me: failed program was:" >&5
15554 sed 's/^/| /' conftest.$ac_ext >&5
15555
15556 ac_lo=`expr $ac_mid + 1`
15557 if test $ac_lo -le $ac_mid; then
15558 ac_lo= ac_hi=
15559 break
15560 fi
15561 ac_mid=`expr 2 '*' $ac_mid + 1`
15562 fi
15563 rm -f conftest.$ac_objext conftest.$ac_ext
15564 done
15565 else
15566 echo "$as_me: failed program was:" >&5
15567 sed 's/^/| /' conftest.$ac_ext >&5
15568
15569 cat >conftest.$ac_ext <<_ACEOF
15570 #line $LINENO "configure"
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15576 $ac_includes_default
15577 int
15578 main ()
15579 {
15580 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15581 test_array [0] = 0
15582
15583 ;
15584 return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>&5
15590 ac_status=$?
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); } &&
15593 { ac_try='test -s conftest.$ac_objext'
15594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15595 (eval $ac_try) 2>&5
15596 ac_status=$?
15597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15598 (exit $ac_status); }; }; then
15599 ac_hi=-1 ac_mid=-1
15600 while :; do
15601 cat >conftest.$ac_ext <<_ACEOF
15602 #line $LINENO "configure"
15603 /* confdefs.h. */
15604 _ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 $ac_includes_default
15609 int
15610 main ()
15611 {
15612 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15613 test_array [0] = 0
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 rm -f conftest.$ac_objext
15620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15621 (eval $ac_compile) 2>&5
15622 ac_status=$?
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } &&
15625 { ac_try='test -s conftest.$ac_objext'
15626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15627 (eval $ac_try) 2>&5
15628 ac_status=$?
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); }; }; then
15631 ac_lo=$ac_mid; break
15632 else
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15635
15636 ac_hi=`expr '(' $ac_mid ')' - 1`
15637 if test $ac_mid -le $ac_hi; then
15638 ac_lo= ac_hi=
15639 break
15640 fi
15641 ac_mid=`expr 2 '*' $ac_mid`
15642 fi
15643 rm -f conftest.$ac_objext conftest.$ac_ext
15644 done
15645 else
15646 echo "$as_me: failed program was:" >&5
15647 sed 's/^/| /' conftest.$ac_ext >&5
15648
15649 ac_lo= ac_hi=
15650 fi
15651 rm -f conftest.$ac_objext conftest.$ac_ext
15652 fi
15653 rm -f conftest.$ac_objext conftest.$ac_ext
15654 # Binary search between lo and hi bounds.
15655 while test "x$ac_lo" != "x$ac_hi"; do
15656 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15657 cat >conftest.$ac_ext <<_ACEOF
15658 #line $LINENO "configure"
15659 /* confdefs.h. */
15660 _ACEOF
15661 cat confdefs.h >>conftest.$ac_ext
15662 cat >>conftest.$ac_ext <<_ACEOF
15663 /* end confdefs.h. */
15664 $ac_includes_default
15665 int
15666 main ()
15667 {
15668 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15669 test_array [0] = 0
15670
15671 ;
15672 return 0;
15673 }
15674 _ACEOF
15675 rm -f conftest.$ac_objext
15676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15677 (eval $ac_compile) 2>&5
15678 ac_status=$?
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } &&
15681 { ac_try='test -s conftest.$ac_objext'
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_hi=$ac_mid
15688 else
15689 echo "$as_me: failed program was:" >&5
15690 sed 's/^/| /' conftest.$ac_ext >&5
15691
15692 ac_lo=`expr '(' $ac_mid ')' + 1`
15693 fi
15694 rm -f conftest.$ac_objext conftest.$ac_ext
15695 done
15696 case $ac_lo in
15697 ?*) ac_cv_sizeof_long=$ac_lo;;
15698 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15699 See \`config.log' for more details." >&5
15700 echo "$as_me: error: cannot compute sizeof (long), 77
15701 See \`config.log' for more details." >&2;}
15702 { (exit 1); exit 1; }; } ;;
15703 esac
15704 else
15705 if test "$cross_compiling" = yes; then
15706 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15707 See \`config.log' for more details." >&5
15708 echo "$as_me: error: cannot run test program while cross compiling
15709 See \`config.log' for more details." >&2;}
15710 { (exit 1); exit 1; }; }
15711 else
15712 cat >conftest.$ac_ext <<_ACEOF
15713 #line $LINENO "configure"
15714 /* confdefs.h. */
15715 _ACEOF
15716 cat confdefs.h >>conftest.$ac_ext
15717 cat >>conftest.$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15719 $ac_includes_default
15720 long longval () { return (long) (sizeof (long)); }
15721 unsigned long ulongval () { return (long) (sizeof (long)); }
15722 #include <stdio.h>
15723 #include <stdlib.h>
15724 int
15725 main ()
15726 {
15727
15728 FILE *f = fopen ("conftest.val", "w");
15729 if (! f)
15730 exit (1);
15731 if (((long) (sizeof (long))) < 0)
15732 {
15733 long i = longval ();
15734 if (i != ((long) (sizeof (long))))
15735 exit (1);
15736 fprintf (f, "%ld\n", i);
15737 }
15738 else
15739 {
15740 unsigned long i = ulongval ();
15741 if (i != ((long) (sizeof (long))))
15742 exit (1);
15743 fprintf (f, "%lu\n", i);
15744 }
15745 exit (ferror (f) || fclose (f) != 0);
15746
15747 ;
15748 return 0;
15749 }
15750 _ACEOF
15751 rm -f conftest$ac_exeext
15752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15753 (eval $ac_link) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15758 (eval $ac_try) 2>&5
15759 ac_status=$?
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); }; }; then
15762 ac_cv_sizeof_long=`cat conftest.val`
15763 else
15764 echo "$as_me: program exited with status $ac_status" >&5
15765 echo "$as_me: failed program was:" >&5
15766 sed 's/^/| /' conftest.$ac_ext >&5
15767
15768 ( exit $ac_status )
15769 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15770 See \`config.log' for more details." >&5
15771 echo "$as_me: error: cannot compute sizeof (long), 77
15772 See \`config.log' for more details." >&2;}
15773 { (exit 1); exit 1; }; }
15774 fi
15775 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15776 fi
15777 fi
15778 rm -f conftest.val
15779 else
15780 ac_cv_sizeof_long=0
15781 fi
15782 fi
15783 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15784 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15785 cat >>confdefs.h <<_ACEOF
15786 #define SIZEOF_LONG $ac_cv_sizeof_long
15787 _ACEOF
15788
15789
15790 echo "$as_me:$LINENO: checking for size_t" >&5
15791 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
15792 if test "${ac_cv_type_size_t+set}" = set; then
15793 echo $ECHO_N "(cached) $ECHO_C" >&6
15794 else
15795 cat >conftest.$ac_ext <<_ACEOF
15796 #line $LINENO "configure"
15797 /* confdefs.h. */
15798 _ACEOF
15799 cat confdefs.h >>conftest.$ac_ext
15800 cat >>conftest.$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 $ac_includes_default
15803 int
15804 main ()
15805 {
15806 if ((size_t *) 0)
15807 return 0;
15808 if (sizeof (size_t))
15809 return 0;
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 rm -f conftest.$ac_objext
15815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15816 (eval $ac_compile) 2>&5
15817 ac_status=$?
15818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15819 (exit $ac_status); } &&
15820 { ac_try='test -s conftest.$ac_objext'
15821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15822 (eval $ac_try) 2>&5
15823 ac_status=$?
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); }; }; then
15826 ac_cv_type_size_t=yes
15827 else
15828 echo "$as_me: failed program was:" >&5
15829 sed 's/^/| /' conftest.$ac_ext >&5
15830
15831 ac_cv_type_size_t=no
15832 fi
15833 rm -f conftest.$ac_objext conftest.$ac_ext
15834 fi
15835 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15836 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15837
15838 echo "$as_me:$LINENO: checking size of size_t" >&5
15839 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
15840 if test "${ac_cv_sizeof_size_t+set}" = set; then
15841 echo $ECHO_N "(cached) $ECHO_C" >&6
15842 else
15843 if test "$ac_cv_type_size_t" = yes; then
15844 # The cast to unsigned long works around a bug in the HP C Compiler
15845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15847 # This bug is HP SR number 8606223364.
15848 if test "$cross_compiling" = yes; then
15849 # Depending upon the size, compute the lo and hi bounds.
15850 cat >conftest.$ac_ext <<_ACEOF
15851 #line $LINENO "configure"
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15857 $ac_includes_default
15858 int
15859 main ()
15860 {
15861 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
15862 test_array [0] = 0
15863
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15870 (eval $ac_compile) 2>&5
15871 ac_status=$?
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } &&
15874 { ac_try='test -s conftest.$ac_objext'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 ac_lo=0 ac_mid=0
15881 while :; do
15882 cat >conftest.$ac_ext <<_ACEOF
15883 #line $LINENO "configure"
15884 /* confdefs.h. */
15885 _ACEOF
15886 cat confdefs.h >>conftest.$ac_ext
15887 cat >>conftest.$ac_ext <<_ACEOF
15888 /* end confdefs.h. */
15889 $ac_includes_default
15890 int
15891 main ()
15892 {
15893 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
15894 test_array [0] = 0
15895
15896 ;
15897 return 0;
15898 }
15899 _ACEOF
15900 rm -f conftest.$ac_objext
15901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15902 (eval $ac_compile) 2>&5
15903 ac_status=$?
15904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15905 (exit $ac_status); } &&
15906 { ac_try='test -s conftest.$ac_objext'
15907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15908 (eval $ac_try) 2>&5
15909 ac_status=$?
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); }; }; then
15912 ac_hi=$ac_mid; break
15913 else
15914 echo "$as_me: failed program was:" >&5
15915 sed 's/^/| /' conftest.$ac_ext >&5
15916
15917 ac_lo=`expr $ac_mid + 1`
15918 if test $ac_lo -le $ac_mid; then
15919 ac_lo= ac_hi=
15920 break
15921 fi
15922 ac_mid=`expr 2 '*' $ac_mid + 1`
15923 fi
15924 rm -f conftest.$ac_objext conftest.$ac_ext
15925 done
15926 else
15927 echo "$as_me: failed program was:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15929
15930 cat >conftest.$ac_ext <<_ACEOF
15931 #line $LINENO "configure"
15932 /* confdefs.h. */
15933 _ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15937 $ac_includes_default
15938 int
15939 main ()
15940 {
15941 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
15942 test_array [0] = 0
15943
15944 ;
15945 return 0;
15946 }
15947 _ACEOF
15948 rm -f conftest.$ac_objext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15950 (eval $ac_compile) 2>&5
15951 ac_status=$?
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15957 ac_status=$?
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15960 ac_hi=-1 ac_mid=-1
15961 while :; do
15962 cat >conftest.$ac_ext <<_ACEOF
15963 #line $LINENO "configure"
15964 /* confdefs.h. */
15965 _ACEOF
15966 cat confdefs.h >>conftest.$ac_ext
15967 cat >>conftest.$ac_ext <<_ACEOF
15968 /* end confdefs.h. */
15969 $ac_includes_default
15970 int
15971 main ()
15972 {
15973 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
15974 test_array [0] = 0
15975
15976 ;
15977 return 0;
15978 }
15979 _ACEOF
15980 rm -f conftest.$ac_objext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15982 (eval $ac_compile) 2>&5
15983 ac_status=$?
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -s conftest.$ac_objext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_lo=$ac_mid; break
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15996
15997 ac_hi=`expr '(' $ac_mid ')' - 1`
15998 if test $ac_mid -le $ac_hi; then
15999 ac_lo= ac_hi=
16000 break
16001 fi
16002 ac_mid=`expr 2 '*' $ac_mid`
16003 fi
16004 rm -f conftest.$ac_objext conftest.$ac_ext
16005 done
16006 else
16007 echo "$as_me: failed program was:" >&5
16008 sed 's/^/| /' conftest.$ac_ext >&5
16009
16010 ac_lo= ac_hi=
16011 fi
16012 rm -f conftest.$ac_objext conftest.$ac_ext
16013 fi
16014 rm -f conftest.$ac_objext conftest.$ac_ext
16015 # Binary search between lo and hi bounds.
16016 while test "x$ac_lo" != "x$ac_hi"; do
16017 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16018 cat >conftest.$ac_ext <<_ACEOF
16019 #line $LINENO "configure"
16020 /* confdefs.h. */
16021 _ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025 $ac_includes_default
16026 int
16027 main ()
16028 {
16029 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
16030 test_array [0] = 0
16031
16032 ;
16033 return 0;
16034 }
16035 _ACEOF
16036 rm -f conftest.$ac_objext
16037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16038 (eval $ac_compile) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try='test -s conftest.$ac_objext'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; }; then
16048 ac_hi=$ac_mid
16049 else
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16052
16053 ac_lo=`expr '(' $ac_mid ')' + 1`
16054 fi
16055 rm -f conftest.$ac_objext conftest.$ac_ext
16056 done
16057 case $ac_lo in
16058 ?*) ac_cv_sizeof_size_t=$ac_lo;;
16059 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16060 See \`config.log' for more details." >&5
16061 echo "$as_me: error: cannot compute sizeof (size_t), 77
16062 See \`config.log' for more details." >&2;}
16063 { (exit 1); exit 1; }; } ;;
16064 esac
16065 else
16066 if test "$cross_compiling" = yes; then
16067 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16068 See \`config.log' for more details." >&5
16069 echo "$as_me: error: cannot run test program while cross compiling
16070 See \`config.log' for more details." >&2;}
16071 { (exit 1); exit 1; }; }
16072 else
16073 cat >conftest.$ac_ext <<_ACEOF
16074 #line $LINENO "configure"
16075 /* confdefs.h. */
16076 _ACEOF
16077 cat confdefs.h >>conftest.$ac_ext
16078 cat >>conftest.$ac_ext <<_ACEOF
16079 /* end confdefs.h. */
16080 $ac_includes_default
16081 long longval () { return (long) (sizeof (size_t)); }
16082 unsigned long ulongval () { return (long) (sizeof (size_t)); }
16083 #include <stdio.h>
16084 #include <stdlib.h>
16085 int
16086 main ()
16087 {
16088
16089 FILE *f = fopen ("conftest.val", "w");
16090 if (! f)
16091 exit (1);
16092 if (((long) (sizeof (size_t))) < 0)
16093 {
16094 long i = longval ();
16095 if (i != ((long) (sizeof (size_t))))
16096 exit (1);
16097 fprintf (f, "%ld\n", i);
16098 }
16099 else
16100 {
16101 unsigned long i = ulongval ();
16102 if (i != ((long) (sizeof (size_t))))
16103 exit (1);
16104 fprintf (f, "%lu\n", i);
16105 }
16106 exit (ferror (f) || fclose (f) != 0);
16107
16108 ;
16109 return 0;
16110 }
16111 _ACEOF
16112 rm -f conftest$ac_exeext
16113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16114 (eval $ac_link) 2>&5
16115 ac_status=$?
16116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16119 (eval $ac_try) 2>&5
16120 ac_status=$?
16121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16122 (exit $ac_status); }; }; then
16123 ac_cv_sizeof_size_t=`cat conftest.val`
16124 else
16125 echo "$as_me: program exited with status $ac_status" >&5
16126 echo "$as_me: failed program was:" >&5
16127 sed 's/^/| /' conftest.$ac_ext >&5
16128
16129 ( exit $ac_status )
16130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
16131 See \`config.log' for more details." >&5
16132 echo "$as_me: error: cannot compute sizeof (size_t), 77
16133 See \`config.log' for more details." >&2;}
16134 { (exit 1); exit 1; }; }
16135 fi
16136 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16137 fi
16138 fi
16139 rm -f conftest.val
16140 else
16141 ac_cv_sizeof_size_t=0
16142 fi
16143 fi
16144 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
16145 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
16146 cat >>confdefs.h <<_ACEOF
16147 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
16148 _ACEOF
16149
16150
16151
16152 case "${host}" in
16153 arm-*-linux* )
16154 echo "$as_me:$LINENO: checking for long long" >&5
16155 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16156 if test "${ac_cv_type_long_long+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 else
16159 cat >conftest.$ac_ext <<_ACEOF
16160 #line $LINENO "configure"
16161 /* confdefs.h. */
16162 _ACEOF
16163 cat confdefs.h >>conftest.$ac_ext
16164 cat >>conftest.$ac_ext <<_ACEOF
16165 /* end confdefs.h. */
16166 $ac_includes_default
16167 int
16168 main ()
16169 {
16170 if ((long long *) 0)
16171 return 0;
16172 if (sizeof (long long))
16173 return 0;
16174 ;
16175 return 0;
16176 }
16177 _ACEOF
16178 rm -f conftest.$ac_objext
16179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16180 (eval $ac_compile) 2>&5
16181 ac_status=$?
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } &&
16184 { ac_try='test -s conftest.$ac_objext'
16185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16186 (eval $ac_try) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); }; }; then
16190 ac_cv_type_long_long=yes
16191 else
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16194
16195 ac_cv_type_long_long=no
16196 fi
16197 rm -f conftest.$ac_objext conftest.$ac_ext
16198 fi
16199 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16200 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16201
16202 echo "$as_me:$LINENO: checking size of long long" >&5
16203 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16204 if test "${ac_cv_sizeof_long_long+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 else
16207 if test "$ac_cv_type_long_long" = yes; then
16208 # The cast to unsigned long works around a bug in the HP C Compiler
16209 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16210 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16211 # This bug is HP SR number 8606223364.
16212 if test "$cross_compiling" = yes; then
16213 # Depending upon the size, compute the lo and hi bounds.
16214 cat >conftest.$ac_ext <<_ACEOF
16215 #line $LINENO "configure"
16216 /* confdefs.h. */
16217 _ACEOF
16218 cat confdefs.h >>conftest.$ac_ext
16219 cat >>conftest.$ac_ext <<_ACEOF
16220 /* end confdefs.h. */
16221 $ac_includes_default
16222 int
16223 main ()
16224 {
16225 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16226 test_array [0] = 0
16227
16228 ;
16229 return 0;
16230 }
16231 _ACEOF
16232 rm -f conftest.$ac_objext
16233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16234 (eval $ac_compile) 2>&5
16235 ac_status=$?
16236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16237 (exit $ac_status); } &&
16238 { ac_try='test -s conftest.$ac_objext'
16239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16240 (eval $ac_try) 2>&5
16241 ac_status=$?
16242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16243 (exit $ac_status); }; }; then
16244 ac_lo=0 ac_mid=0
16245 while :; do
16246 cat >conftest.$ac_ext <<_ACEOF
16247 #line $LINENO "configure"
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16254 int
16255 main ()
16256 {
16257 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16258 test_array [0] = 0
16259
16260 ;
16261 return 0;
16262 }
16263 _ACEOF
16264 rm -f conftest.$ac_objext
16265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266 (eval $ac_compile) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try='test -s conftest.$ac_objext'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16273 ac_status=$?
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; }; then
16276 ac_hi=$ac_mid; break
16277 else
16278 echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16280
16281 ac_lo=`expr $ac_mid + 1`
16282 if test $ac_lo -le $ac_mid; then
16283 ac_lo= ac_hi=
16284 break
16285 fi
16286 ac_mid=`expr 2 '*' $ac_mid + 1`
16287 fi
16288 rm -f conftest.$ac_objext conftest.$ac_ext
16289 done
16290 else
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16293
16294 cat >conftest.$ac_ext <<_ACEOF
16295 #line $LINENO "configure"
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 $ac_includes_default
16302 int
16303 main ()
16304 {
16305 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16306 test_array [0] = 0
16307
16308 ;
16309 return 0;
16310 }
16311 _ACEOF
16312 rm -f conftest.$ac_objext
16313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16314 (eval $ac_compile) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); } &&
16318 { ac_try='test -s conftest.$ac_objext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_hi=-1 ac_mid=-1
16325 while :; do
16326 cat >conftest.$ac_ext <<_ACEOF
16327 #line $LINENO "configure"
16328 /* confdefs.h. */
16329 _ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16333 $ac_includes_default
16334 int
16335 main ()
16336 {
16337 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16338 test_array [0] = 0
16339
16340 ;
16341 return 0;
16342 }
16343 _ACEOF
16344 rm -f conftest.$ac_objext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } &&
16350 { ac_try='test -s conftest.$ac_objext'
16351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16352 (eval $ac_try) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; }; then
16356 ac_lo=$ac_mid; break
16357 else
16358 echo "$as_me: failed program was:" >&5
16359 sed 's/^/| /' conftest.$ac_ext >&5
16360
16361 ac_hi=`expr '(' $ac_mid ')' - 1`
16362 if test $ac_mid -le $ac_hi; then
16363 ac_lo= ac_hi=
16364 break
16365 fi
16366 ac_mid=`expr 2 '*' $ac_mid`
16367 fi
16368 rm -f conftest.$ac_objext conftest.$ac_ext
16369 done
16370 else
16371 echo "$as_me: failed program was:" >&5
16372 sed 's/^/| /' conftest.$ac_ext >&5
16373
16374 ac_lo= ac_hi=
16375 fi
16376 rm -f conftest.$ac_objext conftest.$ac_ext
16377 fi
16378 rm -f conftest.$ac_objext conftest.$ac_ext
16379 # Binary search between lo and hi bounds.
16380 while test "x$ac_lo" != "x$ac_hi"; do
16381 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16382 cat >conftest.$ac_ext <<_ACEOF
16383 #line $LINENO "configure"
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 $ac_includes_default
16390 int
16391 main ()
16392 {
16393 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16394 test_array [0] = 0
16395
16396 ;
16397 return 0;
16398 }
16399 _ACEOF
16400 rm -f conftest.$ac_objext
16401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16402 (eval $ac_compile) 2>&5
16403 ac_status=$?
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -s conftest.$ac_objext'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16409 ac_status=$?
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; }; then
16412 ac_hi=$ac_mid
16413 else
16414 echo "$as_me: failed program was:" >&5
16415 sed 's/^/| /' conftest.$ac_ext >&5
16416
16417 ac_lo=`expr '(' $ac_mid ')' + 1`
16418 fi
16419 rm -f conftest.$ac_objext conftest.$ac_ext
16420 done
16421 case $ac_lo in
16422 ?*) ac_cv_sizeof_long_long=$ac_lo;;
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 esac
16429 else
16430 if test "$cross_compiling" = yes; then
16431 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16432 See \`config.log' for more details." >&5
16433 echo "$as_me: error: cannot run test program while cross compiling
16434 See \`config.log' for more details." >&2;}
16435 { (exit 1); exit 1; }; }
16436 else
16437 cat >conftest.$ac_ext <<_ACEOF
16438 #line $LINENO "configure"
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16444 $ac_includes_default
16445 long longval () { return (long) (sizeof (long long)); }
16446 unsigned long ulongval () { return (long) (sizeof (long long)); }
16447 #include <stdio.h>
16448 #include <stdlib.h>
16449 int
16450 main ()
16451 {
16452
16453 FILE *f = fopen ("conftest.val", "w");
16454 if (! f)
16455 exit (1);
16456 if (((long) (sizeof (long long))) < 0)
16457 {
16458 long i = longval ();
16459 if (i != ((long) (sizeof (long long))))
16460 exit (1);
16461 fprintf (f, "%ld\n", i);
16462 }
16463 else
16464 {
16465 unsigned long i = ulongval ();
16466 if (i != ((long) (sizeof (long long))))
16467 exit (1);
16468 fprintf (f, "%lu\n", i);
16469 }
16470 exit (ferror (f) || fclose (f) != 0);
16471
16472 ;
16473 return 0;
16474 }
16475 _ACEOF
16476 rm -f conftest$ac_exeext
16477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16478 (eval $ac_link) 2>&5
16479 ac_status=$?
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16483 (eval $ac_try) 2>&5
16484 ac_status=$?
16485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16486 (exit $ac_status); }; }; then
16487 ac_cv_sizeof_long_long=`cat conftest.val`
16488 else
16489 echo "$as_me: program exited with status $ac_status" >&5
16490 echo "$as_me: failed program was:" >&5
16491 sed 's/^/| /' conftest.$ac_ext >&5
16492
16493 ( exit $ac_status )
16494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16495 See \`config.log' for more details." >&5
16496 echo "$as_me: error: cannot compute sizeof (long long), 77
16497 See \`config.log' for more details." >&2;}
16498 { (exit 1); exit 1; }; }
16499 fi
16500 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16501 fi
16502 fi
16503 rm -f conftest.val
16504 else
16505 ac_cv_sizeof_long_long=0
16506 fi
16507 fi
16508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16509 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16510 cat >>confdefs.h <<_ACEOF
16511 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16512 _ACEOF
16513
16514
16515 ;;
16516 *-hp-hpux* )
16517 echo "$as_me:$LINENO: checking for long long" >&5
16518 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16519 if test "${ac_cv_type_long_long+set}" = set; then
16520 echo $ECHO_N "(cached) $ECHO_C" >&6
16521 else
16522 cat >conftest.$ac_ext <<_ACEOF
16523 #line $LINENO "configure"
16524 /* confdefs.h. */
16525 _ACEOF
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 $ac_includes_default
16530 int
16531 main ()
16532 {
16533 if ((long long *) 0)
16534 return 0;
16535 if (sizeof (long long))
16536 return 0;
16537 ;
16538 return 0;
16539 }
16540 _ACEOF
16541 rm -f conftest.$ac_objext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16543 (eval $ac_compile) 2>&5
16544 ac_status=$?
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); } &&
16547 { ac_try='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16550 ac_status=$?
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 ac_cv_type_long_long=yes
16554 else
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.$ac_ext >&5
16557
16558 ac_cv_type_long_long=no
16559 fi
16560 rm -f conftest.$ac_objext conftest.$ac_ext
16561 fi
16562 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16563 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16564
16565 echo "$as_me:$LINENO: checking size of long long" >&5
16566 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16567 if test "${ac_cv_sizeof_long_long+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16569 else
16570 if test "$ac_cv_type_long_long" = yes; then
16571 # The cast to unsigned long works around a bug in the HP C Compiler
16572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16574 # This bug is HP SR number 8606223364.
16575 if test "$cross_compiling" = yes; then
16576 # Depending upon the size, compute the lo and hi bounds.
16577 cat >conftest.$ac_ext <<_ACEOF
16578 #line $LINENO "configure"
16579 /* confdefs.h. */
16580 _ACEOF
16581 cat confdefs.h >>conftest.$ac_ext
16582 cat >>conftest.$ac_ext <<_ACEOF
16583 /* end confdefs.h. */
16584 $ac_includes_default
16585 int
16586 main ()
16587 {
16588 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16589 test_array [0] = 0
16590
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 rm -f conftest.$ac_objext
16596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16597 (eval $ac_compile) 2>&5
16598 ac_status=$?
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } &&
16601 { ac_try='test -s conftest.$ac_objext'
16602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16603 (eval $ac_try) 2>&5
16604 ac_status=$?
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); }; }; then
16607 ac_lo=0 ac_mid=0
16608 while :; do
16609 cat >conftest.$ac_ext <<_ACEOF
16610 #line $LINENO "configure"
16611 /* confdefs.h. */
16612 _ACEOF
16613 cat confdefs.h >>conftest.$ac_ext
16614 cat >>conftest.$ac_ext <<_ACEOF
16615 /* end confdefs.h. */
16616 $ac_includes_default
16617 int
16618 main ()
16619 {
16620 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16621 test_array [0] = 0
16622
16623 ;
16624 return 0;
16625 }
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } &&
16633 { ac_try='test -s conftest.$ac_objext'
16634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16635 (eval $ac_try) 2>&5
16636 ac_status=$?
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); }; }; then
16639 ac_hi=$ac_mid; break
16640 else
16641 echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.$ac_ext >&5
16643
16644 ac_lo=`expr $ac_mid + 1`
16645 if test $ac_lo -le $ac_mid; then
16646 ac_lo= ac_hi=
16647 break
16648 fi
16649 ac_mid=`expr 2 '*' $ac_mid + 1`
16650 fi
16651 rm -f conftest.$ac_objext conftest.$ac_ext
16652 done
16653 else
16654 echo "$as_me: failed program was:" >&5
16655 sed 's/^/| /' conftest.$ac_ext >&5
16656
16657 cat >conftest.$ac_ext <<_ACEOF
16658 #line $LINENO "configure"
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 $ac_includes_default
16665 int
16666 main ()
16667 {
16668 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16669 test_array [0] = 0
16670
16671 ;
16672 return 0;
16673 }
16674 _ACEOF
16675 rm -f conftest.$ac_objext
16676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16677 (eval $ac_compile) 2>&5
16678 ac_status=$?
16679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } &&
16681 { ac_try='test -s conftest.$ac_objext'
16682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16683 (eval $ac_try) 2>&5
16684 ac_status=$?
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); }; }; then
16687 ac_hi=-1 ac_mid=-1
16688 while :; do
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 $ac_includes_default
16697 int
16698 main ()
16699 {
16700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16701 test_array [0] = 0
16702
16703 ;
16704 return 0;
16705 }
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16709 (eval $ac_compile) 2>&5
16710 ac_status=$?
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16716 ac_status=$?
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_lo=$ac_mid; break
16720 else
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16723
16724 ac_hi=`expr '(' $ac_mid ')' - 1`
16725 if test $ac_mid -le $ac_hi; then
16726 ac_lo= ac_hi=
16727 break
16728 fi
16729 ac_mid=`expr 2 '*' $ac_mid`
16730 fi
16731 rm -f conftest.$ac_objext conftest.$ac_ext
16732 done
16733 else
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16736
16737 ac_lo= ac_hi=
16738 fi
16739 rm -f conftest.$ac_objext conftest.$ac_ext
16740 fi
16741 rm -f conftest.$ac_objext conftest.$ac_ext
16742 # Binary search between lo and hi bounds.
16743 while test "x$ac_lo" != "x$ac_hi"; do
16744 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16745 cat >conftest.$ac_ext <<_ACEOF
16746 #line $LINENO "configure"
16747 /* confdefs.h. */
16748 _ACEOF
16749 cat confdefs.h >>conftest.$ac_ext
16750 cat >>conftest.$ac_ext <<_ACEOF
16751 /* end confdefs.h. */
16752 $ac_includes_default
16753 int
16754 main ()
16755 {
16756 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16757 test_array [0] = 0
16758
16759 ;
16760 return 0;
16761 }
16762 _ACEOF
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>&5
16766 ac_status=$?
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_hi=$ac_mid
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 ac_lo=`expr '(' $ac_mid ')' + 1`
16781 fi
16782 rm -f conftest.$ac_objext conftest.$ac_ext
16783 done
16784 case $ac_lo in
16785 ?*) ac_cv_sizeof_long_long=$ac_lo;;
16786 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16787 See \`config.log' for more details." >&5
16788 echo "$as_me: error: cannot compute sizeof (long long), 77
16789 See \`config.log' for more details." >&2;}
16790 { (exit 1); exit 1; }; } ;;
16791 esac
16792 else
16793 if test "$cross_compiling" = yes; then
16794 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16795 See \`config.log' for more details." >&5
16796 echo "$as_me: error: cannot run test program while cross compiling
16797 See \`config.log' for more details." >&2;}
16798 { (exit 1); exit 1; }; }
16799 else
16800 cat >conftest.$ac_ext <<_ACEOF
16801 #line $LINENO "configure"
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16808 long longval () { return (long) (sizeof (long long)); }
16809 unsigned long ulongval () { return (long) (sizeof (long long)); }
16810 #include <stdio.h>
16811 #include <stdlib.h>
16812 int
16813 main ()
16814 {
16815
16816 FILE *f = fopen ("conftest.val", "w");
16817 if (! f)
16818 exit (1);
16819 if (((long) (sizeof (long long))) < 0)
16820 {
16821 long i = longval ();
16822 if (i != ((long) (sizeof (long long))))
16823 exit (1);
16824 fprintf (f, "%ld\n", i);
16825 }
16826 else
16827 {
16828 unsigned long i = ulongval ();
16829 if (i != ((long) (sizeof (long long))))
16830 exit (1);
16831 fprintf (f, "%lu\n", i);
16832 }
16833 exit (ferror (f) || fclose (f) != 0);
16834
16835 ;
16836 return 0;
16837 }
16838 _ACEOF
16839 rm -f conftest$ac_exeext
16840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16841 (eval $ac_link) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16846 (eval $ac_try) 2>&5
16847 ac_status=$?
16848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16849 (exit $ac_status); }; }; then
16850 ac_cv_sizeof_long_long=`cat conftest.val`
16851 else
16852 echo "$as_me: program exited with status $ac_status" >&5
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16855
16856 ( exit $ac_status )
16857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16858 See \`config.log' for more details." >&5
16859 echo "$as_me: error: cannot compute sizeof (long long), 77
16860 See \`config.log' for more details." >&2;}
16861 { (exit 1); exit 1; }; }
16862 fi
16863 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16864 fi
16865 fi
16866 rm -f conftest.val
16867 else
16868 ac_cv_sizeof_long_long=0
16869 fi
16870 fi
16871 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16872 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16873 cat >>confdefs.h <<_ACEOF
16874 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16875 _ACEOF
16876
16877
16878 if test "$ac_cv_sizeof_long_long" != "0"; then
16879 CPPFLAGS="$CPPFLAGS -D_INCLUDE_LONGLONG"
16880 fi
16881 ;;
16882 * )
16883 echo "$as_me:$LINENO: checking for long long" >&5
16884 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16885 if test "${ac_cv_type_long_long+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 else
16888 cat >conftest.$ac_ext <<_ACEOF
16889 #line $LINENO "configure"
16890 /* confdefs.h. */
16891 _ACEOF
16892 cat confdefs.h >>conftest.$ac_ext
16893 cat >>conftest.$ac_ext <<_ACEOF
16894 /* end confdefs.h. */
16895 $ac_includes_default
16896 int
16897 main ()
16898 {
16899 if ((long long *) 0)
16900 return 0;
16901 if (sizeof (long long))
16902 return 0;
16903 ;
16904 return 0;
16905 }
16906 _ACEOF
16907 rm -f conftest.$ac_objext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16909 (eval $ac_compile) 2>&5
16910 ac_status=$?
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -s conftest.$ac_objext'
16914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16915 (eval $ac_try) 2>&5
16916 ac_status=$?
16917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918 (exit $ac_status); }; }; then
16919 ac_cv_type_long_long=yes
16920 else
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.$ac_ext >&5
16923
16924 ac_cv_type_long_long=no
16925 fi
16926 rm -f conftest.$ac_objext conftest.$ac_ext
16927 fi
16928 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16929 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16930
16931 echo "$as_me:$LINENO: checking size of long long" >&5
16932 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16933 if test "${ac_cv_sizeof_long_long+set}" = set; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 if test "$ac_cv_type_long_long" = yes; then
16937 # The cast to unsigned long works around a bug in the HP C Compiler
16938 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16939 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16940 # This bug is HP SR number 8606223364.
16941 if test "$cross_compiling" = yes; then
16942 # Depending upon the size, compute the lo and hi bounds.
16943 cat >conftest.$ac_ext <<_ACEOF
16944 #line $LINENO "configure"
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951 int
16952 main ()
16953 {
16954 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16955 test_array [0] = 0
16956
16957 ;
16958 return 0;
16959 }
16960 _ACEOF
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>&5
16964 ac_status=$?
16965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16966 (exit $ac_status); } &&
16967 { ac_try='test -s conftest.$ac_objext'
16968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16969 (eval $ac_try) 2>&5
16970 ac_status=$?
16971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16972 (exit $ac_status); }; }; then
16973 ac_lo=0 ac_mid=0
16974 while :; do
16975 cat >conftest.$ac_ext <<_ACEOF
16976 #line $LINENO "configure"
16977 /* confdefs.h. */
16978 _ACEOF
16979 cat confdefs.h >>conftest.$ac_ext
16980 cat >>conftest.$ac_ext <<_ACEOF
16981 /* end confdefs.h. */
16982 $ac_includes_default
16983 int
16984 main ()
16985 {
16986 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16987 test_array [0] = 0
16988
16989 ;
16990 return 0;
16991 }
16992 _ACEOF
16993 rm -f conftest.$ac_objext
16994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16995 (eval $ac_compile) 2>&5
16996 ac_status=$?
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } &&
16999 { ac_try='test -s conftest.$ac_objext'
17000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17001 (eval $ac_try) 2>&5
17002 ac_status=$?
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); }; }; then
17005 ac_hi=$ac_mid; break
17006 else
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17009
17010 ac_lo=`expr $ac_mid + 1`
17011 if test $ac_lo -le $ac_mid; then
17012 ac_lo= ac_hi=
17013 break
17014 fi
17015 ac_mid=`expr 2 '*' $ac_mid + 1`
17016 fi
17017 rm -f conftest.$ac_objext conftest.$ac_ext
17018 done
17019 else
17020 echo "$as_me: failed program was:" >&5
17021 sed 's/^/| /' conftest.$ac_ext >&5
17022
17023 cat >conftest.$ac_ext <<_ACEOF
17024 #line $LINENO "configure"
17025 /* confdefs.h. */
17026 _ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030 $ac_includes_default
17031 int
17032 main ()
17033 {
17034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
17035 test_array [0] = 0
17036
17037 ;
17038 return 0;
17039 }
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17043 (eval $ac_compile) 2>&5
17044 ac_status=$?
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -s conftest.$ac_objext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17050 ac_status=$?
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_hi=-1 ac_mid=-1
17054 while :; do
17055 cat >conftest.$ac_ext <<_ACEOF
17056 #line $LINENO "configure"
17057 /* confdefs.h. */
17058 _ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 $ac_includes_default
17063 int
17064 main ()
17065 {
17066 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
17067 test_array [0] = 0
17068
17069 ;
17070 return 0;
17071 }
17072 _ACEOF
17073 rm -f conftest.$ac_objext
17074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17075 (eval $ac_compile) 2>&5
17076 ac_status=$?
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -s conftest.$ac_objext'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17082 ac_status=$?
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; }; then
17085 ac_lo=$ac_mid; break
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 ac_hi=`expr '(' $ac_mid ')' - 1`
17091 if test $ac_mid -le $ac_hi; then
17092 ac_lo= ac_hi=
17093 break
17094 fi
17095 ac_mid=`expr 2 '*' $ac_mid`
17096 fi
17097 rm -f conftest.$ac_objext conftest.$ac_ext
17098 done
17099 else
17100 echo "$as_me: failed program was:" >&5
17101 sed 's/^/| /' conftest.$ac_ext >&5
17102
17103 ac_lo= ac_hi=
17104 fi
17105 rm -f conftest.$ac_objext conftest.$ac_ext
17106 fi
17107 rm -f conftest.$ac_objext conftest.$ac_ext
17108 # Binary search between lo and hi bounds.
17109 while test "x$ac_lo" != "x$ac_hi"; do
17110 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17111 cat >conftest.$ac_ext <<_ACEOF
17112 #line $LINENO "configure"
17113 /* confdefs.h. */
17114 _ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 $ac_includes_default
17119 int
17120 main ()
17121 {
17122 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
17123 test_array [0] = 0
17124
17125 ;
17126 return 0;
17127 }
17128 _ACEOF
17129 rm -f conftest.$ac_objext
17130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17131 (eval $ac_compile) 2>&5
17132 ac_status=$?
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } &&
17135 { ac_try='test -s conftest.$ac_objext'
17136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17137 (eval $ac_try) 2>&5
17138 ac_status=$?
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); }; }; then
17141 ac_hi=$ac_mid
17142 else
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.$ac_ext >&5
17145
17146 ac_lo=`expr '(' $ac_mid ')' + 1`
17147 fi
17148 rm -f conftest.$ac_objext conftest.$ac_ext
17149 done
17150 case $ac_lo in
17151 ?*) ac_cv_sizeof_long_long=$ac_lo;;
17152 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17153 See \`config.log' for more details." >&5
17154 echo "$as_me: error: cannot compute sizeof (long long), 77
17155 See \`config.log' for more details." >&2;}
17156 { (exit 1); exit 1; }; } ;;
17157 esac
17158 else
17159 if test "$cross_compiling" = yes; then
17160 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17161 See \`config.log' for more details." >&5
17162 echo "$as_me: error: cannot run test program while cross compiling
17163 See \`config.log' for more details." >&2;}
17164 { (exit 1); exit 1; }; }
17165 else
17166 cat >conftest.$ac_ext <<_ACEOF
17167 #line $LINENO "configure"
17168 /* confdefs.h. */
17169 _ACEOF
17170 cat confdefs.h >>conftest.$ac_ext
17171 cat >>conftest.$ac_ext <<_ACEOF
17172 /* end confdefs.h. */
17173 $ac_includes_default
17174 long longval () { return (long) (sizeof (long long)); }
17175 unsigned long ulongval () { return (long) (sizeof (long long)); }
17176 #include <stdio.h>
17177 #include <stdlib.h>
17178 int
17179 main ()
17180 {
17181
17182 FILE *f = fopen ("conftest.val", "w");
17183 if (! f)
17184 exit (1);
17185 if (((long) (sizeof (long long))) < 0)
17186 {
17187 long i = longval ();
17188 if (i != ((long) (sizeof (long long))))
17189 exit (1);
17190 fprintf (f, "%ld\n", i);
17191 }
17192 else
17193 {
17194 unsigned long i = ulongval ();
17195 if (i != ((long) (sizeof (long long))))
17196 exit (1);
17197 fprintf (f, "%lu\n", i);
17198 }
17199 exit (ferror (f) || fclose (f) != 0);
17200
17201 ;
17202 return 0;
17203 }
17204 _ACEOF
17205 rm -f conftest$ac_exeext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17207 (eval $ac_link) 2>&5
17208 ac_status=$?
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17213 ac_status=$?
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 ac_cv_sizeof_long_long=`cat conftest.val`
17217 else
17218 echo "$as_me: program exited with status $ac_status" >&5
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 ( exit $ac_status )
17223 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
17224 See \`config.log' for more details." >&5
17225 echo "$as_me: error: cannot compute sizeof (long long), 77
17226 See \`config.log' for more details." >&2;}
17227 { (exit 1); exit 1; }; }
17228 fi
17229 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17230 fi
17231 fi
17232 rm -f conftest.val
17233 else
17234 ac_cv_sizeof_long_long=0
17235 fi
17236 fi
17237 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
17238 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
17239 cat >>confdefs.h <<_ACEOF
17240 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
17241 _ACEOF
17242
17243
17244 esac
17245
17246 echo "$as_me:$LINENO: checking size of wchar_t" >&5
17247 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
17248 if test "${wx_cv_sizeof_wchar_t+set}" = set; then
17249 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 else
17251
17252 if test "$cross_compiling" = yes; then
17253
17254 case "${host}" in
17255 *-pc-msdosdjgpp )
17256 wx_cv_sizeof_wchar_t=0
17257 ;;
17258 * )
17259 wx_cv_sizeof_wchar_t=4
17260 ;;
17261 esac
17262
17263
17264 else
17265 cat >conftest.$ac_ext <<_ACEOF
17266 #line $LINENO "configure"
17267 /* confdefs.h. */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17272
17273 /* DJGPP only has fake wchar_t: */
17274 #ifdef __DJGPP__
17275 # error "fake wchar_t"
17276 #endif
17277 #ifdef HAVE_WCHAR_H
17278 # ifdef __CYGWIN__
17279 # include <stddef.h>
17280 # endif
17281 # include <wchar.h>
17282 #endif
17283 #ifdef HAVE_STDLIB_H
17284 # include <stdlib.h>
17285 #endif
17286 #include <stdio.h>
17287 int main()
17288 {
17289 FILE *f=fopen("conftestval", "w");
17290 if (!f) exit(1);
17291 fprintf(f, "%i", sizeof(wchar_t));
17292 exit(0);
17293 }
17294
17295 _ACEOF
17296 rm -f conftest$ac_exeext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17304 ac_status=$?
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 wx_cv_sizeof_wchar_t=`cat conftestval`
17308 else
17309 echo "$as_me: program exited with status $ac_status" >&5
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17312
17313 ( exit $ac_status )
17314 wx_cv_sizeof_wchar_t=0
17315 fi
17316 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17317 fi
17318
17319 fi
17320 echo "$as_me:$LINENO: result: $wx_cv_sizeof_wchar_t" >&5
17321 echo "${ECHO_T}$wx_cv_sizeof_wchar_t" >&6
17322
17323 cat >>confdefs.h <<_ACEOF
17324 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
17325 _ACEOF
17326
17327
17328 # Check whether --enable-largefile or --disable-largefile was given.
17329 if test "${enable_largefile+set}" = set; then
17330 enableval="$enable_largefile"
17331
17332 fi;
17333 if test "$enable_largefile" != no; then
17334 wx_largefile=no
17335
17336 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
17337 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
17338 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341
17342 cat >conftest.$ac_ext <<_ACEOF
17343 #line $LINENO "configure"
17344 /* confdefs.h. */
17345 _ACEOF
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h. */
17349 #define _FILE_OFFSET_BITS 64
17350 #include <sys/types.h>
17351 int
17352 main ()
17353 {
17354 typedef struct {
17355 unsigned int field: sizeof(off_t) == 8;
17356 } wxlf;
17357
17358 ;
17359 return 0;
17360 }
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364 (eval $ac_compile) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } &&
17368 { ac_try='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17371 ac_status=$?
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_cv_sys_file_offset_bits=64
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17378
17379 ac_cv_sys_file_offset_bits=no
17380 fi
17381 rm -f conftest.$ac_objext conftest.$ac_ext
17382
17383
17384 fi
17385 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
17386 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
17387
17388 if test "$ac_cv_sys_file_offset_bits" != no; then
17389 wx_largefile=yes
17390 cat >>confdefs.h <<_ACEOF
17391 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
17392 _ACEOF
17393
17394 fi
17395
17396 if test "x$wx_largefile" != "xyes"; then
17397
17398 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
17399 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
17400 if test "${ac_cv_sys_large_files+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403
17404 cat >conftest.$ac_ext <<_ACEOF
17405 #line $LINENO "configure"
17406 /* confdefs.h. */
17407 _ACEOF
17408 cat confdefs.h >>conftest.$ac_ext
17409 cat >>conftest.$ac_ext <<_ACEOF
17410 /* end confdefs.h. */
17411 #define _LARGE_FILES 1
17412 #include <sys/types.h>
17413 int
17414 main ()
17415 {
17416 typedef struct {
17417 unsigned int field: sizeof(off_t) == 8;
17418 } wxlf;
17419
17420 ;
17421 return 0;
17422 }
17423 _ACEOF
17424 rm -f conftest.$ac_objext
17425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17426 (eval $ac_compile) 2>&5
17427 ac_status=$?
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } &&
17430 { ac_try='test -s conftest.$ac_objext'
17431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17432 (eval $ac_try) 2>&5
17433 ac_status=$?
17434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17435 (exit $ac_status); }; }; then
17436 ac_cv_sys_large_files=1
17437 else
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17440
17441 ac_cv_sys_large_files=no
17442 fi
17443 rm -f conftest.$ac_objext conftest.$ac_ext
17444
17445
17446 fi
17447 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
17448 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
17449
17450 if test "$ac_cv_sys_large_files" != no; then
17451 wx_largefile=yes
17452 cat >>confdefs.h <<_ACEOF
17453 #define _LARGE_FILES $ac_cv_sys_large_files
17454 _ACEOF
17455
17456 fi
17457
17458 fi
17459
17460 echo "$as_me:$LINENO: checking if large file support is available" >&5
17461 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
17462 if test "x$wx_largefile" = "xyes"; then
17463 cat >>confdefs.h <<\_ACEOF
17464 #define HAVE_LARGEFILE_SUPPORT 1
17465 _ACEOF
17466
17467 fi
17468 echo "$as_me:$LINENO: result: $wx_largefile" >&5
17469 echo "${ECHO_T}$wx_largefile" >&6
17470 fi
17471
17472
17473 if test "x$wx_largefile" = "xyes"; then
17474 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
17475 WX_LARGEFILE_FLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
17476 else
17477 WX_LARGEFILE_FLAGS="-D_LARGE_FILES"
17478 fi
17479 CPPFLAGS="$CPPFLAGS $WX_LARGEFILE_FLAGS"
17480 fi
17481
17482 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
17483 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17484 if test "${ac_cv_c_bigendian+set}" = set; then
17485 echo $ECHO_N "(cached) $ECHO_C" >&6
17486 else
17487 ac_cv_c_bigendian=unknown
17488 # See if sys/param.h defines the BYTE_ORDER macro.
17489 cat >conftest.$ac_ext <<_ACEOF
17490 #line $LINENO "configure"
17491 /* confdefs.h. */
17492 _ACEOF
17493 cat confdefs.h >>conftest.$ac_ext
17494 cat >>conftest.$ac_ext <<_ACEOF
17495 /* end confdefs.h. */
17496 #include <sys/types.h>
17497 #include <sys/param.h>
17498 int
17499 main ()
17500 {
17501
17502 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17503 bogus endian macros
17504 #endif
17505 ;
17506 return 0;
17507 }
17508 _ACEOF
17509 rm -f conftest.$ac_objext
17510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17511 (eval $ac_compile) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 # It does; now see whether it defined to BIG_ENDIAN or not.
17522 cat >conftest.$ac_ext <<_ACEOF
17523 #line $LINENO "configure"
17524 /* confdefs.h. */
17525 _ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529 #include <sys/types.h>
17530 #include <sys/param.h>
17531 int
17532 main ()
17533 {
17534
17535 #if BYTE_ORDER != BIG_ENDIAN
17536 not big endian
17537 #endif
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 ac_cv_c_bigendian=yes
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 ac_cv_c_bigendian=no
17560 fi
17561 rm -f conftest.$ac_objext conftest.$ac_ext
17562 else
17563 echo "$as_me: failed program was:" >&5
17564 sed 's/^/| /' conftest.$ac_ext >&5
17565
17566 fi
17567 rm -f conftest.$ac_objext conftest.$ac_ext
17568 if test $ac_cv_c_bigendian = unknown; then
17569 if test "$cross_compiling" = yes; then
17570 ac_cv_c_bigendian=unknown
17571 else
17572 cat >conftest.$ac_ext <<_ACEOF
17573 #line $LINENO "configure"
17574 /* confdefs.h. */
17575 _ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 main () {
17580 /* Are we little or big endian? From Harbison&Steele. */
17581 union
17582 {
17583 long l;
17584 char c[sizeof (long)];
17585 } u;
17586 u.l = 1;
17587 exit (u.c[sizeof (long) - 1] == 1);
17588 }
17589 _ACEOF
17590 rm -f conftest$ac_exeext
17591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17592 (eval $ac_link) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; }; then
17601 ac_cv_c_bigendian=no
17602 else
17603 echo "$as_me: program exited with status $ac_status" >&5
17604 echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17606
17607 ( exit $ac_status )
17608 ac_cv_c_bigendian=yes
17609 fi
17610 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17611 fi
17612 fi
17613 fi
17614 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
17615 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
17616 if test $ac_cv_c_bigendian = unknown; then
17617 { 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
17618 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;}
17619 fi
17620 if test $ac_cv_c_bigendian = yes; then
17621 cat >>confdefs.h <<\_ACEOF
17622 #define WORDS_BIGENDIAN 1
17623 _ACEOF
17624
17625 fi
17626
17627
17628 ac_ext=cc
17629 ac_cpp='$CXXCPP $CPPFLAGS'
17630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17633 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
17634 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
17635 if test -z "$CXXCPP"; then
17636 if test "${ac_cv_prog_CXXCPP+set}" = set; then
17637 echo $ECHO_N "(cached) $ECHO_C" >&6
17638 else
17639 # Double quotes because CXXCPP needs to be expanded
17640 for CXXCPP in "$CXX -E" "/lib/cpp"
17641 do
17642 ac_preproc_ok=false
17643 for ac_cxx_preproc_warn_flag in '' yes
17644 do
17645 # Use a header file that comes with gcc, so configuring glibc
17646 # with a fresh cross-compiler works.
17647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17648 # <limits.h> exists even on freestanding compilers.
17649 # On the NeXT, cc -E runs the code through the compiler's parser,
17650 # not just through cpp. "Syntax error" is here to catch this case.
17651 cat >conftest.$ac_ext <<_ACEOF
17652 #line $LINENO "configure"
17653 /* confdefs.h. */
17654 _ACEOF
17655 cat confdefs.h >>conftest.$ac_ext
17656 cat >>conftest.$ac_ext <<_ACEOF
17657 /* end confdefs.h. */
17658 #ifdef __STDC__
17659 # include <limits.h>
17660 #else
17661 # include <assert.h>
17662 #endif
17663 Syntax error
17664 _ACEOF
17665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17667 ac_status=$?
17668 grep -v '^ *+' conftest.er1 >conftest.err
17669 rm -f conftest.er1
17670 cat conftest.err >&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } >/dev/null; then
17673 if test -s conftest.err; then
17674 ac_cpp_err=$ac_cxx_preproc_warn_flag
17675 else
17676 ac_cpp_err=
17677 fi
17678 else
17679 ac_cpp_err=yes
17680 fi
17681 if test -z "$ac_cpp_err"; then
17682 :
17683 else
17684 echo "$as_me: failed program was:" >&5
17685 sed 's/^/| /' conftest.$ac_ext >&5
17686
17687 # Broken: fails on valid input.
17688 continue
17689 fi
17690 rm -f conftest.err conftest.$ac_ext
17691
17692 # OK, works on sane cases. Now check whether non-existent headers
17693 # can be detected and how.
17694 cat >conftest.$ac_ext <<_ACEOF
17695 #line $LINENO "configure"
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <ac_nonexistent.h>
17702 _ACEOF
17703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } >/dev/null; then
17711 if test -s conftest.err; then
17712 ac_cpp_err=$ac_cxx_preproc_warn_flag
17713 else
17714 ac_cpp_err=
17715 fi
17716 else
17717 ac_cpp_err=yes
17718 fi
17719 if test -z "$ac_cpp_err"; then
17720 # Broken: success on invalid input.
17721 continue
17722 else
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17725
17726 # Passes both tests.
17727 ac_preproc_ok=:
17728 break
17729 fi
17730 rm -f conftest.err conftest.$ac_ext
17731
17732 done
17733 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17734 rm -f conftest.err conftest.$ac_ext
17735 if $ac_preproc_ok; then
17736 break
17737 fi
17738
17739 done
17740 ac_cv_prog_CXXCPP=$CXXCPP
17741
17742 fi
17743 CXXCPP=$ac_cv_prog_CXXCPP
17744 else
17745 ac_cv_prog_CXXCPP=$CXXCPP
17746 fi
17747 echo "$as_me:$LINENO: result: $CXXCPP" >&5
17748 echo "${ECHO_T}$CXXCPP" >&6
17749 ac_preproc_ok=false
17750 for ac_cxx_preproc_warn_flag in '' yes
17751 do
17752 # Use a header file that comes with gcc, so configuring glibc
17753 # with a fresh cross-compiler works.
17754 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17755 # <limits.h> exists even on freestanding compilers.
17756 # On the NeXT, cc -E runs the code through the compiler's parser,
17757 # not just through cpp. "Syntax error" is here to catch this case.
17758 cat >conftest.$ac_ext <<_ACEOF
17759 #line $LINENO "configure"
17760 /* confdefs.h. */
17761 _ACEOF
17762 cat confdefs.h >>conftest.$ac_ext
17763 cat >>conftest.$ac_ext <<_ACEOF
17764 /* end confdefs.h. */
17765 #ifdef __STDC__
17766 # include <limits.h>
17767 #else
17768 # include <assert.h>
17769 #endif
17770 Syntax error
17771 _ACEOF
17772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17774 ac_status=$?
17775 grep -v '^ *+' conftest.er1 >conftest.err
17776 rm -f conftest.er1
17777 cat conftest.err >&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } >/dev/null; then
17780 if test -s conftest.err; then
17781 ac_cpp_err=$ac_cxx_preproc_warn_flag
17782 else
17783 ac_cpp_err=
17784 fi
17785 else
17786 ac_cpp_err=yes
17787 fi
17788 if test -z "$ac_cpp_err"; then
17789 :
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17793
17794 # Broken: fails on valid input.
17795 continue
17796 fi
17797 rm -f conftest.err conftest.$ac_ext
17798
17799 # OK, works on sane cases. Now check whether non-existent headers
17800 # can be detected and how.
17801 cat >conftest.$ac_ext <<_ACEOF
17802 #line $LINENO "configure"
17803 /* confdefs.h. */
17804 _ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 #include <ac_nonexistent.h>
17809 _ACEOF
17810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17812 ac_status=$?
17813 grep -v '^ *+' conftest.er1 >conftest.err
17814 rm -f conftest.er1
17815 cat conftest.err >&5
17816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17817 (exit $ac_status); } >/dev/null; then
17818 if test -s conftest.err; then
17819 ac_cpp_err=$ac_cxx_preproc_warn_flag
17820 else
17821 ac_cpp_err=
17822 fi
17823 else
17824 ac_cpp_err=yes
17825 fi
17826 if test -z "$ac_cpp_err"; then
17827 # Broken: success on invalid input.
17828 continue
17829 else
17830 echo "$as_me: failed program was:" >&5
17831 sed 's/^/| /' conftest.$ac_ext >&5
17832
17833 # Passes both tests.
17834 ac_preproc_ok=:
17835 break
17836 fi
17837 rm -f conftest.err conftest.$ac_ext
17838
17839 done
17840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17841 rm -f conftest.err conftest.$ac_ext
17842 if $ac_preproc_ok; then
17843 :
17844 else
17845 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17846 See \`config.log' for more details." >&5
17847 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
17848 See \`config.log' for more details." >&2;}
17849 { (exit 1); exit 1; }; }
17850 fi
17851
17852 ac_ext=cc
17853 ac_cpp='$CXXCPP $CPPFLAGS'
17854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17857
17858
17859
17860
17861
17862 ac_ext=cc
17863 ac_cpp='$CXXCPP $CPPFLAGS'
17864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17867
17868
17869
17870 for ac_header in iostream
17871 do
17872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17874 echo "$as_me:$LINENO: checking for $ac_header" >&5
17875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17877 echo $ECHO_N "(cached) $ECHO_C" >&6
17878 fi
17879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17881 else
17882 # Is the header compilable?
17883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17885 cat >conftest.$ac_ext <<_ACEOF
17886 #line $LINENO "configure"
17887 /* confdefs.h. */
17888 _ACEOF
17889 cat confdefs.h >>conftest.$ac_ext
17890 cat >>conftest.$ac_ext <<_ACEOF
17891 /* end confdefs.h. */
17892 $ac_includes_default
17893 #include <$ac_header>
17894 _ACEOF
17895 rm -f conftest.$ac_objext
17896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17897 (eval $ac_compile) 2>&5
17898 ac_status=$?
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -s conftest.$ac_objext'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17904 ac_status=$?
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17907 ac_header_compiler=yes
17908 else
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17911
17912 ac_header_compiler=no
17913 fi
17914 rm -f conftest.$ac_objext conftest.$ac_ext
17915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17916 echo "${ECHO_T}$ac_header_compiler" >&6
17917
17918 # Is the header present?
17919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17921 cat >conftest.$ac_ext <<_ACEOF
17922 #line $LINENO "configure"
17923 /* confdefs.h. */
17924 _ACEOF
17925 cat confdefs.h >>conftest.$ac_ext
17926 cat >>conftest.$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17928 #include <$ac_header>
17929 _ACEOF
17930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17932 ac_status=$?
17933 grep -v '^ *+' conftest.er1 >conftest.err
17934 rm -f conftest.er1
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } >/dev/null; then
17938 if test -s conftest.err; then
17939 ac_cpp_err=$ac_cxx_preproc_warn_flag
17940 else
17941 ac_cpp_err=
17942 fi
17943 else
17944 ac_cpp_err=yes
17945 fi
17946 if test -z "$ac_cpp_err"; then
17947 ac_header_preproc=yes
17948 else
17949 echo "$as_me: failed program was:" >&5
17950 sed 's/^/| /' conftest.$ac_ext >&5
17951
17952 ac_header_preproc=no
17953 fi
17954 rm -f conftest.err conftest.$ac_ext
17955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17956 echo "${ECHO_T}$ac_header_preproc" >&6
17957
17958 # So? What about this header?
17959 case $ac_header_compiler:$ac_header_preproc in
17960 yes:no )
17961 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17965 (
17966 cat <<\_ASBOX
17967 ## ------------------------------------ ##
17968 ## Report this to bug-autoconf@gnu.org. ##
17969 ## ------------------------------------ ##
17970 _ASBOX
17971 ) |
17972 sed "s/^/$as_me: WARNING: /" >&2
17973 ;;
17974 no:yes )
17975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17980 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17981 (
17982 cat <<\_ASBOX
17983 ## ------------------------------------ ##
17984 ## Report this to bug-autoconf@gnu.org. ##
17985 ## ------------------------------------ ##
17986 _ASBOX
17987 ) |
17988 sed "s/^/$as_me: WARNING: /" >&2
17989 ;;
17990 esac
17991 echo "$as_me:$LINENO: checking for $ac_header" >&5
17992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17994 echo $ECHO_N "(cached) $ECHO_C" >&6
17995 else
17996 eval "$as_ac_Header=$ac_header_preproc"
17997 fi
17998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18000
18001 fi
18002 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18003 cat >>confdefs.h <<_ACEOF
18004 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18005 _ACEOF
18006
18007 fi
18008
18009 done
18010
18011
18012 if test "$ac_cv_header_iostream" = "yes" ; then
18013 :
18014 else
18015 cat >>confdefs.h <<\_ACEOF
18016 #define wxUSE_IOSTREAMH 1
18017 _ACEOF
18018
18019 fi
18020
18021 ac_ext=c
18022 ac_cpp='$CPP $CPPFLAGS'
18023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18026
18027
18028
18029
18030 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
18031 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
18032 if test "${wx_cv_cpp_bool+set}" = set; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18034 else
18035
18036
18037
18038 ac_ext=cc
18039 ac_cpp='$CXXCPP $CPPFLAGS'
18040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18043
18044
18045 cat >conftest.$ac_ext <<_ACEOF
18046 #line $LINENO "configure"
18047 /* confdefs.h. */
18048 _ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052
18053
18054 int
18055 main ()
18056 {
18057
18058 bool b = true;
18059
18060 return 0;
18061
18062 ;
18063 return 0;
18064 }
18065 _ACEOF
18066 rm -f conftest.$ac_objext
18067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18068 (eval $ac_compile) 2>&5
18069 ac_status=$?
18070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071 (exit $ac_status); } &&
18072 { ac_try='test -s conftest.$ac_objext'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18075 ac_status=$?
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; }; then
18078
18079 wx_cv_cpp_bool=yes
18080
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085
18086 wx_cv_cpp_bool=no
18087
18088
18089 fi
18090 rm -f conftest.$ac_objext conftest.$ac_ext
18091
18092 ac_ext=c
18093 ac_cpp='$CPP $CPPFLAGS'
18094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18097
18098
18099 fi
18100 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
18101 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
18102
18103 if test "$wx_cv_cpp_bool" = "yes"; then
18104 cat >>confdefs.h <<\_ACEOF
18105 #define HAVE_BOOL 1
18106 _ACEOF
18107
18108 fi
18109
18110
18111
18112 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
18113 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
18114 if test "${wx_cv_explicit+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 else
18117
18118
18119
18120 ac_ext=cc
18121 ac_cpp='$CXXCPP $CPPFLAGS'
18122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18125
18126
18127 cat >conftest.$ac_ext <<_ACEOF
18128 #line $LINENO "configure"
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134
18135 class Foo { public: explicit Foo(int) {} };
18136
18137 int
18138 main ()
18139 {
18140
18141 return 0;
18142
18143 ;
18144 return 0;
18145 }
18146 _ACEOF
18147 rm -f conftest.$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -s conftest.$ac_objext'
18154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18155 (eval $ac_try) 2>&5
18156 ac_status=$?
18157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18158 (exit $ac_status); }; }; then
18159
18160 cat >conftest.$ac_ext <<_ACEOF
18161 #line $LINENO "configure"
18162 /* confdefs.h. */
18163 _ACEOF
18164 cat confdefs.h >>conftest.$ac_ext
18165 cat >>conftest.$ac_ext <<_ACEOF
18166 /* end confdefs.h. */
18167
18168 class Foo { public: explicit Foo(int) {} };
18169 static void TakeFoo(const Foo& foo) { }
18170
18171 int
18172 main ()
18173 {
18174
18175 TakeFoo(17);
18176 return 0;
18177
18178 ;
18179 return 0;
18180 }
18181 _ACEOF
18182 rm -f conftest.$ac_objext
18183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18184 (eval $ac_compile) 2>&5
18185 ac_status=$?
18186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18187 (exit $ac_status); } &&
18188 { ac_try='test -s conftest.$ac_objext'
18189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18190 (eval $ac_try) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); }; }; then
18194 wx_cv_explicit=no
18195 else
18196 echo "$as_me: failed program was:" >&5
18197 sed 's/^/| /' conftest.$ac_ext >&5
18198
18199 wx_cv_explicit=yes
18200
18201 fi
18202 rm -f conftest.$ac_objext conftest.$ac_ext
18203
18204 else
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18207
18208 wx_cv_explicit=no
18209
18210 fi
18211 rm -f conftest.$ac_objext conftest.$ac_ext
18212
18213 ac_ext=c
18214 ac_cpp='$CPP $CPPFLAGS'
18215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18218
18219
18220 fi
18221 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
18222 echo "${ECHO_T}$wx_cv_explicit" >&6
18223
18224 if test "$wx_cv_explicit" = "yes"; then
18225 cat >>confdefs.h <<\_ACEOF
18226 #define HAVE_EXPLICIT 1
18227 _ACEOF
18228
18229 fi
18230
18231
18232 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
18233 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
18234 if test "${ac_cv_cxx_const_cast+set}" = set; then
18235 echo $ECHO_N "(cached) $ECHO_C" >&6
18236 else
18237
18238
18239 ac_ext=cc
18240 ac_cpp='$CXXCPP $CPPFLAGS'
18241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18244
18245 cat >conftest.$ac_ext <<_ACEOF
18246 #line $LINENO "configure"
18247 /* confdefs.h. */
18248 _ACEOF
18249 cat confdefs.h >>conftest.$ac_ext
18250 cat >>conftest.$ac_ext <<_ACEOF
18251 /* end confdefs.h. */
18252
18253 int
18254 main ()
18255 {
18256 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
18257 ;
18258 return 0;
18259 }
18260 _ACEOF
18261 rm -f conftest.$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>&5
18264 ac_status=$?
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } &&
18267 { ac_try='test -s conftest.$ac_objext'
18268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18269 (eval $ac_try) 2>&5
18270 ac_status=$?
18271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18272 (exit $ac_status); }; }; then
18273 ac_cv_cxx_const_cast=yes
18274 else
18275 echo "$as_me: failed program was:" >&5
18276 sed 's/^/| /' conftest.$ac_ext >&5
18277
18278 ac_cv_cxx_const_cast=no
18279 fi
18280 rm -f conftest.$ac_objext conftest.$ac_ext
18281 ac_ext=c
18282 ac_cpp='$CPP $CPPFLAGS'
18283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18286
18287
18288 fi
18289 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
18290 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
18291 if test "$ac_cv_cxx_const_cast" = yes; then
18292
18293 cat >>confdefs.h <<\_ACEOF
18294 #define HAVE_CONST_CAST
18295 _ACEOF
18296
18297 fi
18298
18299 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
18300 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
18301 if test "${ac_cv_cxx_static_cast+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 else
18304
18305
18306 ac_ext=cc
18307 ac_cpp='$CXXCPP $CPPFLAGS'
18308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18311
18312 cat >conftest.$ac_ext <<_ACEOF
18313 #line $LINENO "configure"
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <typeinfo>
18320 class Base { public : Base () {} virtual void f () = 0; };
18321 class Derived : public Base { public : Derived () {} virtual void f () {} };
18322 int g (Derived&) { return 0; }
18323 int
18324 main ()
18325 {
18326
18327 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
18328 ;
18329 return 0;
18330 }
18331 _ACEOF
18332 rm -f conftest.$ac_objext
18333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18334 (eval $ac_compile) 2>&5
18335 ac_status=$?
18336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18337 (exit $ac_status); } &&
18338 { ac_try='test -s conftest.$ac_objext'
18339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18340 (eval $ac_try) 2>&5
18341 ac_status=$?
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); }; }; then
18344 ac_cv_cxx_static_cast=yes
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18348
18349 ac_cv_cxx_static_cast=no
18350 fi
18351 rm -f conftest.$ac_objext conftest.$ac_ext
18352 ac_ext=c
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18357
18358
18359 fi
18360 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
18361 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
18362 if test "$ac_cv_cxx_static_cast" = yes; then
18363
18364 cat >>confdefs.h <<\_ACEOF
18365 #define HAVE_STATIC_CAST
18366 _ACEOF
18367
18368 fi
18369
18370
18371 if test "$wxUSE_STL" = "yes"; then
18372 ac_ext=cc
18373 ac_cpp='$CXXCPP $CPPFLAGS'
18374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18377
18378
18379 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
18380 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
18381 cat >conftest.$ac_ext <<_ACEOF
18382 #line $LINENO "configure"
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 #include <string>
18389 #include <functional>
18390 #include <algorithm>
18391 #include <vector>
18392 #include <list>
18393 int
18394 main ()
18395 {
18396 std::vector<int> moo;
18397 std::list<int> foo;
18398 std::vector<int>::iterator it =
18399 std::find_if(moo.begin(), moo.end(),
18400 std::bind2nd(std::less<int>(), 3));
18401 ;
18402 return 0;
18403 }
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18407 (eval $ac_compile) 2>&5
18408 ac_status=$?
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } &&
18411 { ac_try='test -s conftest.$ac_objext'
18412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18413 (eval $ac_try) 2>&5
18414 ac_status=$?
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); }; }; then
18417 echo "$as_me:$LINENO: result: yes" >&5
18418 echo "${ECHO_T}yes" >&6
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423 echo "$as_me:$LINENO: result: no" >&5
18424 echo "${ECHO_T}no" >&6
18425 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
18426 echo "$as_me: error: Basic STL functionality missing" >&2;}
18427 { (exit 1); exit 1; }; }
18428 fi
18429 rm -f conftest.$ac_objext conftest.$ac_ext
18430
18431 echo "$as_me:$LINENO: checking for std::wstring in <string>" >&5
18432 echo $ECHO_N "checking for std::wstring in <string>... $ECHO_C" >&6
18433 cat >conftest.$ac_ext <<_ACEOF
18434 #line $LINENO "configure"
18435 /* confdefs.h. */
18436 _ACEOF
18437 cat confdefs.h >>conftest.$ac_ext
18438 cat >>conftest.$ac_ext <<_ACEOF
18439 /* end confdefs.h. */
18440 #include <string>
18441 int
18442 main ()
18443 {
18444 std::wstring foo;
18445 ;
18446 return 0;
18447 }
18448 _ACEOF
18449 rm -f conftest.$ac_objext
18450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18451 (eval $ac_compile) 2>&5
18452 ac_status=$?
18453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18454 (exit $ac_status); } &&
18455 { ac_try='test -s conftest.$ac_objext'
18456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18457 (eval $ac_try) 2>&5
18458 ac_status=$?
18459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18460 (exit $ac_status); }; }; then
18461 echo "$as_me:$LINENO: result: yes" >&5
18462 echo "${ECHO_T}yes" >&6
18463 cat >>confdefs.h <<\_ACEOF
18464 #define HAVE_STD_WSTRING 1
18465 _ACEOF
18466
18467 else
18468 echo "$as_me: failed program was:" >&5
18469 sed 's/^/| /' conftest.$ac_ext >&5
18470
18471 echo "$as_me:$LINENO: result: no" >&5
18472 echo "${ECHO_T}no" >&6
18473 fi
18474 rm -f conftest.$ac_objext conftest.$ac_ext
18475
18476 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
18477 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
18478 cat >conftest.$ac_ext <<_ACEOF
18479 #line $LINENO "configure"
18480 /* confdefs.h. */
18481 _ACEOF
18482 cat confdefs.h >>conftest.$ac_ext
18483 cat >>conftest.$ac_ext <<_ACEOF
18484 /* end confdefs.h. */
18485 #include <string>
18486 int
18487 main ()
18488 {
18489 std::string foo, bar;
18490 foo.compare(bar);
18491 foo.compare(1, 1, bar);
18492 foo.compare(1, 1, bar, 1, 1);
18493 foo.compare("");
18494 foo.compare(1, 1, "");
18495 foo.compare(1, 1, "", 2);
18496 ;
18497 return 0;
18498 }
18499 _ACEOF
18500 rm -f conftest.$ac_objext
18501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18502 (eval $ac_compile) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } &&
18506 { ac_try='test -s conftest.$ac_objext'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; }; then
18512 echo "$as_me:$LINENO: result: yes" >&5
18513 echo "${ECHO_T}yes" >&6
18514 cat >>confdefs.h <<\_ACEOF
18515 #define HAVE_STD_STRING_COMPARE 1
18516 _ACEOF
18517
18518 else
18519 echo "$as_me: failed program was:" >&5
18520 sed 's/^/| /' conftest.$ac_ext >&5
18521
18522 echo "$as_me:$LINENO: result: no" >&5
18523 echo "${ECHO_T}no" >&6
18524 fi
18525 rm -f conftest.$ac_objext conftest.$ac_ext
18526
18527 if test "${ac_cv_header_hash_map+set}" = set; then
18528 echo "$as_me:$LINENO: checking for hash_map" >&5
18529 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
18530 if test "${ac_cv_header_hash_map+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 fi
18533 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
18534 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
18535 else
18536 # Is the header compilable?
18537 echo "$as_me:$LINENO: checking hash_map usability" >&5
18538 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
18539 cat >conftest.$ac_ext <<_ACEOF
18540 #line $LINENO "configure"
18541 /* confdefs.h. */
18542 _ACEOF
18543 cat confdefs.h >>conftest.$ac_ext
18544 cat >>conftest.$ac_ext <<_ACEOF
18545 /* end confdefs.h. */
18546 $ac_includes_default
18547 #include <hash_map>
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>&5
18552 ac_status=$?
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try='test -s conftest.$ac_objext'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18558 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; }; then
18561 ac_header_compiler=yes
18562 else
18563 echo "$as_me: failed program was:" >&5
18564 sed 's/^/| /' conftest.$ac_ext >&5
18565
18566 ac_header_compiler=no
18567 fi
18568 rm -f conftest.$ac_objext conftest.$ac_ext
18569 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18570 echo "${ECHO_T}$ac_header_compiler" >&6
18571
18572 # Is the header present?
18573 echo "$as_me:$LINENO: checking hash_map presence" >&5
18574 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
18575 cat >conftest.$ac_ext <<_ACEOF
18576 #line $LINENO "configure"
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <hash_map>
18583 _ACEOF
18584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18585 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } >/dev/null; then
18592 if test -s conftest.err; then
18593 ac_cpp_err=$ac_cxx_preproc_warn_flag
18594 else
18595 ac_cpp_err=
18596 fi
18597 else
18598 ac_cpp_err=yes
18599 fi
18600 if test -z "$ac_cpp_err"; then
18601 ac_header_preproc=yes
18602 else
18603 echo "$as_me: failed program was:" >&5
18604 sed 's/^/| /' conftest.$ac_ext >&5
18605
18606 ac_header_preproc=no
18607 fi
18608 rm -f conftest.err conftest.$ac_ext
18609 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18610 echo "${ECHO_T}$ac_header_preproc" >&6
18611
18612 # So? What about this header?
18613 case $ac_header_compiler:$ac_header_preproc in
18614 yes:no )
18615 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
18616 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
18617 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
18618 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
18619 (
18620 cat <<\_ASBOX
18621 ## ------------------------------------ ##
18622 ## Report this to bug-autoconf@gnu.org. ##
18623 ## ------------------------------------ ##
18624 _ASBOX
18625 ) |
18626 sed "s/^/$as_me: WARNING: /" >&2
18627 ;;
18628 no:yes )
18629 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
18630 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
18631 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
18632 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
18633 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
18634 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
18635 (
18636 cat <<\_ASBOX
18637 ## ------------------------------------ ##
18638 ## Report this to bug-autoconf@gnu.org. ##
18639 ## ------------------------------------ ##
18640 _ASBOX
18641 ) |
18642 sed "s/^/$as_me: WARNING: /" >&2
18643 ;;
18644 esac
18645 echo "$as_me:$LINENO: checking for hash_map" >&5
18646 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
18647 if test "${ac_cv_header_hash_map+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650 ac_cv_header_hash_map=$ac_header_preproc
18651 fi
18652 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
18653 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
18654
18655 fi
18656 if test $ac_cv_header_hash_map = yes; then
18657 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
18658 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
18659 cat >conftest.$ac_ext <<_ACEOF
18660 #line $LINENO "configure"
18661 /* confdefs.h. */
18662 _ACEOF
18663 cat confdefs.h >>conftest.$ac_ext
18664 cat >>conftest.$ac_ext <<_ACEOF
18665 /* end confdefs.h. */
18666 #include <hash_map>
18667 #include <hash_set>
18668 int
18669 main ()
18670 {
18671 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
18672 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
18673 ;
18674 return 0;
18675 }
18676 _ACEOF
18677 rm -f conftest.$ac_objext
18678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18679 (eval $ac_compile) 2>&5
18680 ac_status=$?
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try='test -s conftest.$ac_objext'
18684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18685 (eval $ac_try) 2>&5
18686 ac_status=$?
18687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688 (exit $ac_status); }; }; then
18689 echo "$as_me:$LINENO: result: yes" >&5
18690 echo "${ECHO_T}yes" >&6
18691 cat >>confdefs.h <<\_ACEOF
18692 #define HAVE_HASH_MAP 1
18693 _ACEOF
18694
18695 cat >>confdefs.h <<\_ACEOF
18696 #define HAVE_STD_HASH_MAP 1
18697 _ACEOF
18698
18699 else
18700 echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18702
18703 echo "$as_me:$LINENO: result: no" >&5
18704 echo "${ECHO_T}no" >&6
18705 fi
18706 rm -f conftest.$ac_objext conftest.$ac_ext
18707
18708 fi
18709
18710
18711
18712 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18713 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
18714 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
18715 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18716 echo $ECHO_N "(cached) $ECHO_C" >&6
18717 fi
18718 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
18719 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
18720 else
18721 # Is the header compilable?
18722 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
18723 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
18724 cat >conftest.$ac_ext <<_ACEOF
18725 #line $LINENO "configure"
18726 /* confdefs.h. */
18727 _ACEOF
18728 cat confdefs.h >>conftest.$ac_ext
18729 cat >>conftest.$ac_ext <<_ACEOF
18730 /* end confdefs.h. */
18731 $ac_includes_default
18732 #include <ext/hash_map>
18733 _ACEOF
18734 rm -f conftest.$ac_objext
18735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18736 (eval $ac_compile) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } &&
18740 { ac_try='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_header_compiler=yes
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751 ac_header_compiler=no
18752 fi
18753 rm -f conftest.$ac_objext conftest.$ac_ext
18754 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18755 echo "${ECHO_T}$ac_header_compiler" >&6
18756
18757 # Is the header present?
18758 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
18759 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
18760 cat >conftest.$ac_ext <<_ACEOF
18761 #line $LINENO "configure"
18762 /* confdefs.h. */
18763 _ACEOF
18764 cat confdefs.h >>conftest.$ac_ext
18765 cat >>conftest.$ac_ext <<_ACEOF
18766 /* end confdefs.h. */
18767 #include <ext/hash_map>
18768 _ACEOF
18769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18771 ac_status=$?
18772 grep -v '^ *+' conftest.er1 >conftest.err
18773 rm -f conftest.er1
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } >/dev/null; then
18777 if test -s conftest.err; then
18778 ac_cpp_err=$ac_cxx_preproc_warn_flag
18779 else
18780 ac_cpp_err=
18781 fi
18782 else
18783 ac_cpp_err=yes
18784 fi
18785 if test -z "$ac_cpp_err"; then
18786 ac_header_preproc=yes
18787 else
18788 echo "$as_me: failed program was:" >&5
18789 sed 's/^/| /' conftest.$ac_ext >&5
18790
18791 ac_header_preproc=no
18792 fi
18793 rm -f conftest.err conftest.$ac_ext
18794 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18795 echo "${ECHO_T}$ac_header_preproc" >&6
18796
18797 # So? What about this header?
18798 case $ac_header_compiler:$ac_header_preproc in
18799 yes:no )
18800 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
18801 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
18802 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
18803 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
18804 (
18805 cat <<\_ASBOX
18806 ## ------------------------------------ ##
18807 ## Report this to bug-autoconf@gnu.org. ##
18808 ## ------------------------------------ ##
18809 _ASBOX
18810 ) |
18811 sed "s/^/$as_me: WARNING: /" >&2
18812 ;;
18813 no:yes )
18814 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
18815 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
18816 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
18817 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
18818 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
18819 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
18820 (
18821 cat <<\_ASBOX
18822 ## ------------------------------------ ##
18823 ## Report this to bug-autoconf@gnu.org. ##
18824 ## ------------------------------------ ##
18825 _ASBOX
18826 ) |
18827 sed "s/^/$as_me: WARNING: /" >&2
18828 ;;
18829 esac
18830 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
18831 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
18832 if test "${ac_cv_header_ext_hash_map+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18835 ac_cv_header_ext_hash_map=$ac_header_preproc
18836 fi
18837 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
18838 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
18839
18840 fi
18841 if test $ac_cv_header_ext_hash_map = yes; then
18842 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
18843 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
18844 cat >conftest.$ac_ext <<_ACEOF
18845 #line $LINENO "configure"
18846 /* confdefs.h. */
18847 _ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h. */
18851 #include <ext/hash_map>
18852 #include <ext/hash_set>
18853 int
18854 main ()
18855 {
18856 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
18857 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
18858 ;
18859 return 0;
18860 }
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>&5
18865 ac_status=$?
18866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867 (exit $ac_status); } &&
18868 { ac_try='test -s conftest.$ac_objext'
18869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18870 (eval $ac_try) 2>&5
18871 ac_status=$?
18872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18873 (exit $ac_status); }; }; then
18874 echo "$as_me:$LINENO: result: yes" >&5
18875 echo "${ECHO_T}yes" >&6
18876 cat >>confdefs.h <<\_ACEOF
18877 #define HAVE_EXT_HASH_MAP 1
18878 _ACEOF
18879
18880 cat >>confdefs.h <<\_ACEOF
18881 #define HAVE_GNU_CXX_HASH_MAP 1
18882 _ACEOF
18883
18884 else
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18887
18888 echo "$as_me:$LINENO: result: no" >&5
18889 echo "${ECHO_T}no" >&6
18890 fi
18891 rm -f conftest.$ac_objext conftest.$ac_ext
18892
18893 fi
18894
18895
18896
18897 ac_ext=c
18898 ac_cpp='$CPP $CPPFLAGS'
18899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18902
18903 fi
18904
18905
18906 SEARCH_INCLUDE="\
18907 /usr/local/include \
18908 \
18909 /usr/Motif-2.1/include \
18910 /usr/Motif-1.2/include \
18911 /usr/include/Motif1.2 \
18912 /opt/xpm/include/X11 \
18913 /opt/GBxpm/include/ \
18914 /opt/GBxpm/X11/include/ \
18915 \
18916 /usr/dt/include \
18917 /usr/openwin/include \
18918 \
18919 /usr/include/Xm \
18920 \
18921 /usr/X11R6/include \
18922 /usr/X11R6.4/include \
18923 /usr/X11R5/include \
18924 /usr/X11R4/include \
18925 \
18926 /usr/include/X11R6 \
18927 /usr/include/X11R5 \
18928 /usr/include/X11R4 \
18929 \
18930 /usr/local/X11R6/include \
18931 /usr/local/X11R5/include \
18932 /usr/local/X11R4/include \
18933 \
18934 /usr/local/include/X11R6 \
18935 /usr/local/include/X11R5 \
18936 /usr/local/include/X11R4 \
18937 \
18938 /usr/X11/include \
18939 /usr/include/X11 \
18940 /usr/local/X11/include \
18941 /usr/local/include/X11 \
18942 \
18943 /usr/X386/include \
18944 /usr/x386/include \
18945 /usr/XFree86/include/X11 \
18946 \
18947 X:/XFree86/include \
18948 X:/XFree86/include/X11 \
18949 \
18950 /usr/include/gtk \
18951 /usr/local/include/gtk \
18952 /usr/include/glib \
18953 /usr/local/include/glib \
18954 \
18955 /usr/include/qt \
18956 /usr/local/include/qt \
18957 \
18958 /usr/local/arm/3.3.2/include \
18959 \
18960 /usr/include/windows \
18961 /usr/include/wine \
18962 /usr/local/include/wine \
18963 \
18964 /usr/unsupported/include \
18965 /usr/athena/include \
18966 /usr/local/x11r5/include \
18967 /usr/lpp/Xamples/include \
18968 \
18969 /usr/openwin/share/include"
18970
18971 SEARCH_LIB="/usr/lib /usr/lib32 `echo "$SEARCH_INCLUDE" | sed s/include/lib/g` /usr/lib64 /usr/X11R6/lib64"
18972
18973
18974 cat >confcache <<\_ACEOF
18975 # This file is a shell script that caches the results of configure
18976 # tests run on this system so they can be shared between configure
18977 # scripts and configure runs, see configure's option --config-cache.
18978 # It is not useful on other systems. If it contains results you don't
18979 # want to keep, you may remove or edit it.
18980 #
18981 # config.status only pays attention to the cache file if you give it
18982 # the --recheck option to rerun configure.
18983 #
18984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18986 # following values.
18987
18988 _ACEOF
18989
18990 # The following way of writing the cache mishandles newlines in values,
18991 # but we know of no workaround that is simple, portable, and efficient.
18992 # So, don't put newlines in cache variables' values.
18993 # Ultrix sh set writes to stderr and can't be redirected directly,
18994 # and sets the high bit in the cache file unless we assign to the vars.
18995 {
18996 (set) 2>&1 |
18997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18998 *ac_space=\ *)
18999 # `set' does not quote correctly, so add quotes (double-quote
19000 # substitution turns \\\\ into \\, and sed turns \\ into \).
19001 sed -n \
19002 "s/'/'\\\\''/g;
19003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19004 ;;
19005 *)
19006 # `set' quotes correctly as required by POSIX, so do not add quotes.
19007 sed -n \
19008 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
19009 ;;
19010 esac;
19011 } |
19012 sed '
19013 t clear
19014 : clear
19015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19016 t end
19017 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19018 : end' >>confcache
19019 if diff $cache_file confcache >/dev/null 2>&1; then :; else
19020 if test -w $cache_file; then
19021 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
19022 cat confcache >$cache_file
19023 else
19024 echo "not updating unwritable cache $cache_file"
19025 fi
19026 fi
19027 rm -f confcache
19028
19029 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19030 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
19031 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
19032 if test "${wx_cv_lib_glibc21+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035
19036 cat >conftest.$ac_ext <<_ACEOF
19037 #line $LINENO "configure"
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <features.h>
19044 int
19045 main ()
19046 {
19047
19048 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
19049 #error not glibc2.1
19050 #endif
19051
19052 ;
19053 return 0;
19054 }
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } &&
19062 { ac_try='test -s conftest.$ac_objext'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; }; then
19068
19069 wx_cv_lib_glibc21=yes
19070
19071 else
19072 echo "$as_me: failed program was:" >&5
19073 sed 's/^/| /' conftest.$ac_ext >&5
19074
19075
19076 wx_cv_lib_glibc21=no
19077
19078
19079 fi
19080 rm -f conftest.$ac_objext conftest.$ac_ext
19081
19082 fi
19083 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
19084 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
19085 if test "$wx_cv_lib_glibc21" = "yes"; then
19086 cat >>confdefs.h <<\_ACEOF
19087 #define wxHAVE_GLIBC2 1
19088 _ACEOF
19089
19090 fi
19091 fi
19092
19093 if test "x$wx_cv_lib_glibc21" = "xyes"; then
19094 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
19095 cat >>confdefs.h <<\_ACEOF
19096 #define _GNU_SOURCE 1
19097 _ACEOF
19098
19099 fi
19100 fi
19101
19102
19103
19104 if test "$wxUSE_REGEX" != "no"; then
19105 cat >>confdefs.h <<\_ACEOF
19106 #define wxUSE_REGEX 1
19107 _ACEOF
19108
19109
19110 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
19111 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
19112 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
19113 wxUSE_REGEX=builtin
19114 fi
19115
19116 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
19117 if test "${ac_cv_header_regex_h+set}" = set; then
19118 echo "$as_me:$LINENO: checking for regex.h" >&5
19119 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19120 if test "${ac_cv_header_regex_h+set}" = set; then
19121 echo $ECHO_N "(cached) $ECHO_C" >&6
19122 fi
19123 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19124 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19125 else
19126 # Is the header compilable?
19127 echo "$as_me:$LINENO: checking regex.h usability" >&5
19128 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
19129 cat >conftest.$ac_ext <<_ACEOF
19130 #line $LINENO "configure"
19131 /* confdefs.h. */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 $ac_includes_default
19137 #include <regex.h>
19138 _ACEOF
19139 rm -f conftest.$ac_objext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19141 (eval $ac_compile) 2>&5
19142 ac_status=$?
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try='test -s conftest.$ac_objext'
19146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19147 (eval $ac_try) 2>&5
19148 ac_status=$?
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; }; then
19151 ac_header_compiler=yes
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_header_compiler=no
19157 fi
19158 rm -f conftest.$ac_objext conftest.$ac_ext
19159 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19160 echo "${ECHO_T}$ac_header_compiler" >&6
19161
19162 # Is the header present?
19163 echo "$as_me:$LINENO: checking regex.h presence" >&5
19164 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
19165 cat >conftest.$ac_ext <<_ACEOF
19166 #line $LINENO "configure"
19167 /* confdefs.h. */
19168 _ACEOF
19169 cat confdefs.h >>conftest.$ac_ext
19170 cat >>conftest.$ac_ext <<_ACEOF
19171 /* end confdefs.h. */
19172 #include <regex.h>
19173 _ACEOF
19174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19176 ac_status=$?
19177 grep -v '^ *+' conftest.er1 >conftest.err
19178 rm -f conftest.er1
19179 cat conftest.err >&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } >/dev/null; then
19182 if test -s conftest.err; then
19183 ac_cpp_err=$ac_c_preproc_warn_flag
19184 else
19185 ac_cpp_err=
19186 fi
19187 else
19188 ac_cpp_err=yes
19189 fi
19190 if test -z "$ac_cpp_err"; then
19191 ac_header_preproc=yes
19192 else
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19195
19196 ac_header_preproc=no
19197 fi
19198 rm -f conftest.err conftest.$ac_ext
19199 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19200 echo "${ECHO_T}$ac_header_preproc" >&6
19201
19202 # So? What about this header?
19203 case $ac_header_compiler:$ac_header_preproc in
19204 yes:no )
19205 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
19206 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19207 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19208 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19209 (
19210 cat <<\_ASBOX
19211 ## ------------------------------------ ##
19212 ## Report this to bug-autoconf@gnu.org. ##
19213 ## ------------------------------------ ##
19214 _ASBOX
19215 ) |
19216 sed "s/^/$as_me: WARNING: /" >&2
19217 ;;
19218 no:yes )
19219 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
19220 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
19221 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
19222 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
19223 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
19224 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
19225 (
19226 cat <<\_ASBOX
19227 ## ------------------------------------ ##
19228 ## Report this to bug-autoconf@gnu.org. ##
19229 ## ------------------------------------ ##
19230 _ASBOX
19231 ) |
19232 sed "s/^/$as_me: WARNING: /" >&2
19233 ;;
19234 esac
19235 echo "$as_me:$LINENO: checking for regex.h" >&5
19236 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
19237 if test "${ac_cv_header_regex_h+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240 ac_cv_header_regex_h=$ac_header_preproc
19241 fi
19242 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
19243 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
19244
19245 fi
19246 if test $ac_cv_header_regex_h = yes; then
19247
19248 for ac_func in regcomp
19249 do
19250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19251 echo "$as_me:$LINENO: checking for $ac_func" >&5
19252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19253 if eval "test \"\${$as_ac_var+set}\" = set"; then
19254 echo $ECHO_N "(cached) $ECHO_C" >&6
19255 else
19256 cat >conftest.$ac_ext <<_ACEOF
19257 #line $LINENO "configure"
19258 /* confdefs.h. */
19259 _ACEOF
19260 cat confdefs.h >>conftest.$ac_ext
19261 cat >>conftest.$ac_ext <<_ACEOF
19262 /* end confdefs.h. */
19263 /* System header to define __stub macros and hopefully few prototypes,
19264 which can conflict with char $ac_func (); below.
19265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19266 <limits.h> exists even on freestanding compilers. */
19267 #ifdef __STDC__
19268 # include <limits.h>
19269 #else
19270 # include <assert.h>
19271 #endif
19272 /* Override any gcc2 internal prototype to avoid an error. */
19273 #ifdef __cplusplus
19274 extern "C"
19275 {
19276 #endif
19277 /* We use char because int might match the return type of a gcc2
19278 builtin and then its argument prototype would still apply. */
19279 char $ac_func ();
19280 /* The GNU C library defines this for functions which it implements
19281 to always fail with ENOSYS. Some functions are actually named
19282 something starting with __ and the normal name is an alias. */
19283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19284 choke me
19285 #else
19286 char (*f) () = $ac_func;
19287 #endif
19288 #ifdef __cplusplus
19289 }
19290 #endif
19291
19292 int
19293 main ()
19294 {
19295 return f != $ac_func;
19296 ;
19297 return 0;
19298 }
19299 _ACEOF
19300 rm -f conftest.$ac_objext conftest$ac_exeext
19301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19302 (eval $ac_link) 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -s conftest$ac_exeext'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 eval "$as_ac_var=yes"
19313 else
19314 echo "$as_me: failed program was:" >&5
19315 sed 's/^/| /' conftest.$ac_ext >&5
19316
19317 eval "$as_ac_var=no"
19318 fi
19319 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19320 fi
19321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19323 if test `eval echo '${'$as_ac_var'}'` = yes; then
19324 cat >>confdefs.h <<_ACEOF
19325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19326 _ACEOF
19327
19328 fi
19329 done
19330
19331 fi
19332
19333
19334
19335 if test "x$ac_cv_func_regcomp" != "xyes"; then
19336 if test "$wxUSE_REGEX" = "sys" ; then
19337 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
19338 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
19339 { (exit 1); exit 1; }; }
19340 else
19341 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
19342 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
19343 wxUSE_REGEX=builtin
19344 fi
19345 else
19346 wxUSE_REGEX=sys
19347 cat >>confdefs.h <<\_ACEOF
19348 #define WX_NO_REGEX_ADVANCED 1
19349 _ACEOF
19350
19351 fi
19352 fi
19353 fi
19354
19355
19356 ZLIB_LINK=
19357 if test "$wxUSE_ZLIB" != "no" ; then
19358 cat >>confdefs.h <<\_ACEOF
19359 #define wxUSE_ZLIB 1
19360 _ACEOF
19361
19362
19363 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
19364 if test "$USE_DARWIN" = 1; then
19365 system_zlib_h_ok="yes"
19366 else
19367 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
19368 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
19369 if test "${ac_cv_header_zlib_h+set}" = set; then
19370 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 else
19372 if test "$cross_compiling" = yes; then
19373 unset ac_cv_header_zlib_h
19374
19375 else
19376 cat >conftest.$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383
19384 #include <zlib.h>
19385 #include <stdio.h>
19386
19387 int main()
19388 {
19389 FILE *f=fopen("conftestval", "w");
19390 if (!f) exit(1);
19391 fprintf(f, "%s",
19392 ZLIB_VERSION[0] == '1' &&
19393 (ZLIB_VERSION[2] > '1' ||
19394 (ZLIB_VERSION[2] == '1' &&
19395 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
19396 exit(0);
19397 }
19398
19399 _ACEOF
19400 rm -f conftest$ac_exeext
19401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19402 (eval $ac_link) 2>&5
19403 ac_status=$?
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19407 (eval $ac_try) 2>&5
19408 ac_status=$?
19409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19410 (exit $ac_status); }; }; then
19411 ac_cv_header_zlib_h=`cat conftestval`
19412 else
19413 echo "$as_me: program exited with status $ac_status" >&5
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 ( exit $ac_status )
19418 ac_cv_header_zlib_h=no
19419 fi
19420 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19421 fi
19422
19423 fi
19424 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19425 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19426 if test "${ac_cv_header_zlib_h+set}" = set; then
19427 echo "$as_me:$LINENO: checking for zlib.h" >&5
19428 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19429 if test "${ac_cv_header_zlib_h+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 fi
19432 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19433 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19434 else
19435 # Is the header compilable?
19436 echo "$as_me:$LINENO: checking zlib.h usability" >&5
19437 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
19438 cat >conftest.$ac_ext <<_ACEOF
19439 #line $LINENO "configure"
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19446 #include <zlib.h>
19447 _ACEOF
19448 rm -f conftest.$ac_objext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19450 (eval $ac_compile) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try='test -s conftest.$ac_objext'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19457 ac_status=$?
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; }; then
19460 ac_header_compiler=yes
19461 else
19462 echo "$as_me: failed program was:" >&5
19463 sed 's/^/| /' conftest.$ac_ext >&5
19464
19465 ac_header_compiler=no
19466 fi
19467 rm -f conftest.$ac_objext conftest.$ac_ext
19468 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19469 echo "${ECHO_T}$ac_header_compiler" >&6
19470
19471 # Is the header present?
19472 echo "$as_me:$LINENO: checking zlib.h presence" >&5
19473 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
19474 cat >conftest.$ac_ext <<_ACEOF
19475 #line $LINENO "configure"
19476 /* confdefs.h. */
19477 _ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h. */
19481 #include <zlib.h>
19482 _ACEOF
19483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } >/dev/null; then
19491 if test -s conftest.err; then
19492 ac_cpp_err=$ac_c_preproc_warn_flag
19493 else
19494 ac_cpp_err=
19495 fi
19496 else
19497 ac_cpp_err=yes
19498 fi
19499 if test -z "$ac_cpp_err"; then
19500 ac_header_preproc=yes
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505 ac_header_preproc=no
19506 fi
19507 rm -f conftest.err conftest.$ac_ext
19508 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19509 echo "${ECHO_T}$ac_header_preproc" >&6
19510
19511 # So? What about this header?
19512 case $ac_header_compiler:$ac_header_preproc in
19513 yes:no )
19514 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
19515 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19516 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19517 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19518 (
19519 cat <<\_ASBOX
19520 ## ------------------------------------ ##
19521 ## Report this to bug-autoconf@gnu.org. ##
19522 ## ------------------------------------ ##
19523 _ASBOX
19524 ) |
19525 sed "s/^/$as_me: WARNING: /" >&2
19526 ;;
19527 no:yes )
19528 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
19529 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
19530 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
19531 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
19532 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
19533 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
19534 (
19535 cat <<\_ASBOX
19536 ## ------------------------------------ ##
19537 ## Report this to bug-autoconf@gnu.org. ##
19538 ## ------------------------------------ ##
19539 _ASBOX
19540 ) |
19541 sed "s/^/$as_me: WARNING: /" >&2
19542 ;;
19543 esac
19544 echo "$as_me:$LINENO: checking for zlib.h" >&5
19545 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
19546 if test "${ac_cv_header_zlib_h+set}" = set; then
19547 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 else
19549 ac_cv_header_zlib_h=$ac_header_preproc
19550 fi
19551 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
19552 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
19553
19554 fi
19555
19556
19557
19558 system_zlib_h_ok=$ac_cv_header_zlib_h
19559 fi
19560
19561 if test "$system_zlib_h_ok" = "yes"; then
19562 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
19563 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
19564 if test "${ac_cv_lib_z_deflate+set}" = set; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19566 else
19567 ac_check_lib_save_LIBS=$LIBS
19568 LIBS="-lz $LIBS"
19569 cat >conftest.$ac_ext <<_ACEOF
19570 #line $LINENO "configure"
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576
19577 /* Override any gcc2 internal prototype to avoid an error. */
19578 #ifdef __cplusplus
19579 extern "C"
19580 #endif
19581 /* We use char because int might match the return type of a gcc2
19582 builtin and then its argument prototype would still apply. */
19583 char deflate ();
19584 int
19585 main ()
19586 {
19587 deflate ();
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext conftest$ac_exeext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19594 (eval $ac_link) 2>&5
19595 ac_status=$?
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -s conftest$ac_exeext'
19599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19600 (eval $ac_try) 2>&5
19601 ac_status=$?
19602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603 (exit $ac_status); }; }; then
19604 ac_cv_lib_z_deflate=yes
19605 else
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19608
19609 ac_cv_lib_z_deflate=no
19610 fi
19611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19612 LIBS=$ac_check_lib_save_LIBS
19613 fi
19614 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
19615 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
19616 if test $ac_cv_lib_z_deflate = yes; then
19617 ZLIB_LINK=" -lz"
19618 fi
19619
19620 fi
19621
19622 if test "x$ZLIB_LINK" = "x" ; then
19623 if test "$wxUSE_ZLIB" = "sys" ; then
19624 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
19625 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
19626 { (exit 1); exit 1; }; }
19627 else
19628 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
19629 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
19630 wxUSE_ZLIB=builtin
19631 fi
19632 else
19633 wxUSE_ZLIB=sys
19634 fi
19635 fi
19636 fi
19637
19638
19639 PNG_LINK=
19640 if test "$wxUSE_LIBPNG" != "no" ; then
19641 cat >>confdefs.h <<\_ACEOF
19642 #define wxUSE_LIBPNG 1
19643 _ACEOF
19644
19645
19646 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
19647 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
19648 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
19649 wxUSE_LIBPNG=sys
19650 fi
19651
19652 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
19653 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
19654 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
19655 wxUSE_LIBPNG=builtin
19656 fi
19657
19658 if test "$wxUSE_MGL" != 1 ; then
19659 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
19660 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
19661 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
19662 if test "${ac_cv_header_png_h+set}" = set; then
19663 echo $ECHO_N "(cached) $ECHO_C" >&6
19664 else
19665 if test "$cross_compiling" = yes; then
19666 unset ac_cv_header_png_h
19667
19668 else
19669 cat >conftest.$ac_ext <<_ACEOF
19670 #line $LINENO "configure"
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676
19677 #include <png.h>
19678 #include <stdio.h>
19679
19680 int main()
19681 {
19682 FILE *f=fopen("conftestval", "w");
19683 if (!f) exit(1);
19684 fprintf(f, "%s",
19685 PNG_LIBPNG_VER > 90 ? "yes" : "no");
19686 exit(0);
19687 }
19688
19689 _ACEOF
19690 rm -f conftest$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692 (eval $ac_link) 2>&5
19693 ac_status=$?
19694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19697 (eval $ac_try) 2>&5
19698 ac_status=$?
19699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19700 (exit $ac_status); }; }; then
19701 ac_cv_header_png_h=`cat conftestval`
19702 else
19703 echo "$as_me: program exited with status $ac_status" >&5
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 ( exit $ac_status )
19708 ac_cv_header_png_h=no
19709 fi
19710 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19711 fi
19712
19713 fi
19714 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19715 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19716 if test "${ac_cv_header_png_h+set}" = set; then
19717 echo "$as_me:$LINENO: checking for png.h" >&5
19718 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19719 if test "${ac_cv_header_png_h+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 fi
19722 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19723 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19724 else
19725 # Is the header compilable?
19726 echo "$as_me:$LINENO: checking png.h usability" >&5
19727 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
19728 cat >conftest.$ac_ext <<_ACEOF
19729 #line $LINENO "configure"
19730 /* confdefs.h. */
19731 _ACEOF
19732 cat confdefs.h >>conftest.$ac_ext
19733 cat >>conftest.$ac_ext <<_ACEOF
19734 /* end confdefs.h. */
19735 $ac_includes_default
19736 #include <png.h>
19737 _ACEOF
19738 rm -f conftest.$ac_objext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19740 (eval $ac_compile) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } &&
19744 { ac_try='test -s conftest.$ac_objext'
19745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19746 (eval $ac_try) 2>&5
19747 ac_status=$?
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); }; }; then
19750 ac_header_compiler=yes
19751 else
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19754
19755 ac_header_compiler=no
19756 fi
19757 rm -f conftest.$ac_objext conftest.$ac_ext
19758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19759 echo "${ECHO_T}$ac_header_compiler" >&6
19760
19761 # Is the header present?
19762 echo "$as_me:$LINENO: checking png.h presence" >&5
19763 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
19764 cat >conftest.$ac_ext <<_ACEOF
19765 #line $LINENO "configure"
19766 /* confdefs.h. */
19767 _ACEOF
19768 cat confdefs.h >>conftest.$ac_ext
19769 cat >>conftest.$ac_ext <<_ACEOF
19770 /* end confdefs.h. */
19771 #include <png.h>
19772 _ACEOF
19773 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19774 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19775 ac_status=$?
19776 grep -v '^ *+' conftest.er1 >conftest.err
19777 rm -f conftest.er1
19778 cat conftest.err >&5
19779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19780 (exit $ac_status); } >/dev/null; then
19781 if test -s conftest.err; then
19782 ac_cpp_err=$ac_c_preproc_warn_flag
19783 else
19784 ac_cpp_err=
19785 fi
19786 else
19787 ac_cpp_err=yes
19788 fi
19789 if test -z "$ac_cpp_err"; then
19790 ac_header_preproc=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19794
19795 ac_header_preproc=no
19796 fi
19797 rm -f conftest.err conftest.$ac_ext
19798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19799 echo "${ECHO_T}$ac_header_preproc" >&6
19800
19801 # So? What about this header?
19802 case $ac_header_compiler:$ac_header_preproc in
19803 yes:no )
19804 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
19805 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19806 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19807 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19808 (
19809 cat <<\_ASBOX
19810 ## ------------------------------------ ##
19811 ## Report this to bug-autoconf@gnu.org. ##
19812 ## ------------------------------------ ##
19813 _ASBOX
19814 ) |
19815 sed "s/^/$as_me: WARNING: /" >&2
19816 ;;
19817 no:yes )
19818 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
19819 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
19820 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
19821 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
19822 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
19823 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
19824 (
19825 cat <<\_ASBOX
19826 ## ------------------------------------ ##
19827 ## Report this to bug-autoconf@gnu.org. ##
19828 ## ------------------------------------ ##
19829 _ASBOX
19830 ) |
19831 sed "s/^/$as_me: WARNING: /" >&2
19832 ;;
19833 esac
19834 echo "$as_me:$LINENO: checking for png.h" >&5
19835 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
19836 if test "${ac_cv_header_png_h+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19839 ac_cv_header_png_h=$ac_header_preproc
19840 fi
19841 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
19842 echo "${ECHO_T}$ac_cv_header_png_h" >&6
19843
19844 fi
19845
19846
19847
19848 if test "$ac_cv_header_png_h" = "yes"; then
19849 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
19850 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
19851 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19853 else
19854 ac_check_lib_save_LIBS=$LIBS
19855 LIBS="-lpng -lz -lm $LIBS"
19856 cat >conftest.$ac_ext <<_ACEOF
19857 #line $LINENO "configure"
19858 /* confdefs.h. */
19859 _ACEOF
19860 cat confdefs.h >>conftest.$ac_ext
19861 cat >>conftest.$ac_ext <<_ACEOF
19862 /* end confdefs.h. */
19863
19864 /* Override any gcc2 internal prototype to avoid an error. */
19865 #ifdef __cplusplus
19866 extern "C"
19867 #endif
19868 /* We use char because int might match the return type of a gcc2
19869 builtin and then its argument prototype would still apply. */
19870 char png_check_sig ();
19871 int
19872 main ()
19873 {
19874 png_check_sig ();
19875 ;
19876 return 0;
19877 }
19878 _ACEOF
19879 rm -f conftest.$ac_objext conftest$ac_exeext
19880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19881 (eval $ac_link) 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try='test -s conftest$ac_exeext'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; }; then
19891 ac_cv_lib_png_png_check_sig=yes
19892 else
19893 echo "$as_me: failed program was:" >&5
19894 sed 's/^/| /' conftest.$ac_ext >&5
19895
19896 ac_cv_lib_png_png_check_sig=no
19897 fi
19898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19899 LIBS=$ac_check_lib_save_LIBS
19900 fi
19901 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
19902 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
19903 if test $ac_cv_lib_png_png_check_sig = yes; then
19904 PNG_LINK=" -lpng -lz"
19905 fi
19906
19907 fi
19908
19909 if test "x$PNG_LINK" = "x" ; then
19910 if test "$wxUSE_LIBPNG" = "sys" ; then
19911 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
19912 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
19913 { (exit 1); exit 1; }; }
19914 else
19915 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
19916 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
19917 wxUSE_LIBPNG=builtin
19918 fi
19919 else
19920 wxUSE_LIBPNG=sys
19921 fi
19922 fi
19923 fi
19924
19925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
19926 fi
19927
19928
19929 JPEG_LINK=
19930 if test "$wxUSE_LIBJPEG" != "no" ; then
19931 cat >>confdefs.h <<\_ACEOF
19932 #define wxUSE_LIBJPEG 1
19933 _ACEOF
19934
19935
19936 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
19937 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
19938 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
19939 wxUSE_LIBJPEG=sys
19940 fi
19941
19942 if test "$wxUSE_MGL" != 1 ; then
19943 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
19944 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
19945 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
19946 if test "${ac_cv_header_jpeglib_h+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949 cat >conftest.$ac_ext <<_ACEOF
19950 #line $LINENO "configure"
19951 /* confdefs.h. */
19952 _ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956
19957 #undef HAVE_STDLIB_H
19958 #include <stdio.h>
19959 #include <jpeglib.h>
19960
19961 int
19962 main ()
19963 {
19964
19965
19966 ;
19967 return 0;
19968 }
19969 _ACEOF
19970 rm -f conftest.$ac_objext
19971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19972 (eval $ac_compile) 2>&5
19973 ac_status=$?
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } &&
19976 { ac_try='test -s conftest.$ac_objext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 ac_cv_header_jpeglib_h=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19986
19987 ac_cv_header_jpeglib_h=no
19988
19989 fi
19990 rm -f conftest.$ac_objext conftest.$ac_ext
19991
19992 fi
19993
19994 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
19995 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
19996
19997 if test "$ac_cv_header_jpeglib_h" = "yes"; then
19998 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
19999 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
20000 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20002 else
20003 ac_check_lib_save_LIBS=$LIBS
20004 LIBS="-ljpeg $LIBS"
20005 cat >conftest.$ac_ext <<_ACEOF
20006 #line $LINENO "configure"
20007 /* confdefs.h. */
20008 _ACEOF
20009 cat confdefs.h >>conftest.$ac_ext
20010 cat >>conftest.$ac_ext <<_ACEOF
20011 /* end confdefs.h. */
20012
20013 /* Override any gcc2 internal prototype to avoid an error. */
20014 #ifdef __cplusplus
20015 extern "C"
20016 #endif
20017 /* We use char because int might match the return type of a gcc2
20018 builtin and then its argument prototype would still apply. */
20019 char jpeg_read_header ();
20020 int
20021 main ()
20022 {
20023 jpeg_read_header ();
20024 ;
20025 return 0;
20026 }
20027 _ACEOF
20028 rm -f conftest.$ac_objext conftest$ac_exeext
20029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20030 (eval $ac_link) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); } &&
20034 { ac_try='test -s conftest$ac_exeext'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_lib_jpeg_jpeg_read_header=yes
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_cv_lib_jpeg_jpeg_read_header=no
20046 fi
20047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20048 LIBS=$ac_check_lib_save_LIBS
20049 fi
20050 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
20051 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
20052 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
20053 JPEG_LINK=" -ljpeg"
20054 fi
20055
20056 fi
20057
20058 if test "x$JPEG_LINK" = "x" ; then
20059 if test "$wxUSE_LIBJPEG" = "sys" ; then
20060 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
20061 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
20062 { (exit 1); exit 1; }; }
20063 else
20064 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
20065 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
20066 wxUSE_LIBJPEG=builtin
20067 fi
20068 else
20069 wxUSE_LIBJPEG=sys
20070 fi
20071 fi
20072 fi
20073 fi
20074
20075
20076 TIFF_LINK=
20077 TIFF_PREREQ_LINKS=-lm
20078 if test "$wxUSE_LIBTIFF" != "no" ; then
20079 cat >>confdefs.h <<\_ACEOF
20080 #define wxUSE_LIBTIFF 1
20081 _ACEOF
20082
20083
20084 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
20085 if test "$wxUSE_LIBJPEG" = "sys"; then
20086 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
20087 fi
20088 if test "$wxUSE_ZLIB" = "sys"; then
20089 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
20090 fi
20091 if test "${ac_cv_header_tiffio_h+set}" = set; then
20092 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20093 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20094 if test "${ac_cv_header_tiffio_h+set}" = set; then
20095 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 fi
20097 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20098 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20099 else
20100 # Is the header compilable?
20101 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
20102 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
20103 cat >conftest.$ac_ext <<_ACEOF
20104 #line $LINENO "configure"
20105 /* confdefs.h. */
20106 _ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 $ac_includes_default
20111 #include <tiffio.h>
20112 _ACEOF
20113 rm -f conftest.$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>&5
20116 ac_status=$?
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_header_compiler=yes
20126 else
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20129
20130 ac_header_compiler=no
20131 fi
20132 rm -f conftest.$ac_objext conftest.$ac_ext
20133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20134 echo "${ECHO_T}$ac_header_compiler" >&6
20135
20136 # Is the header present?
20137 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
20138 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
20139 cat >conftest.$ac_ext <<_ACEOF
20140 #line $LINENO "configure"
20141 /* confdefs.h. */
20142 _ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 #include <tiffio.h>
20147 _ACEOF
20148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20150 ac_status=$?
20151 grep -v '^ *+' conftest.er1 >conftest.err
20152 rm -f conftest.er1
20153 cat conftest.err >&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } >/dev/null; then
20156 if test -s conftest.err; then
20157 ac_cpp_err=$ac_c_preproc_warn_flag
20158 else
20159 ac_cpp_err=
20160 fi
20161 else
20162 ac_cpp_err=yes
20163 fi
20164 if test -z "$ac_cpp_err"; then
20165 ac_header_preproc=yes
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ac_header_preproc=no
20171 fi
20172 rm -f conftest.err conftest.$ac_ext
20173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20174 echo "${ECHO_T}$ac_header_preproc" >&6
20175
20176 # So? What about this header?
20177 case $ac_header_compiler:$ac_header_preproc in
20178 yes:no )
20179 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
20180 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20181 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20182 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20183 (
20184 cat <<\_ASBOX
20185 ## ------------------------------------ ##
20186 ## Report this to bug-autoconf@gnu.org. ##
20187 ## ------------------------------------ ##
20188 _ASBOX
20189 ) |
20190 sed "s/^/$as_me: WARNING: /" >&2
20191 ;;
20192 no:yes )
20193 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
20194 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
20195 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
20196 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
20197 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
20198 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
20199 (
20200 cat <<\_ASBOX
20201 ## ------------------------------------ ##
20202 ## Report this to bug-autoconf@gnu.org. ##
20203 ## ------------------------------------ ##
20204 _ASBOX
20205 ) |
20206 sed "s/^/$as_me: WARNING: /" >&2
20207 ;;
20208 esac
20209 echo "$as_me:$LINENO: checking for tiffio.h" >&5
20210 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
20211 if test "${ac_cv_header_tiffio_h+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20213 else
20214 ac_cv_header_tiffio_h=$ac_header_preproc
20215 fi
20216 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
20217 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
20218
20219 fi
20220 if test $ac_cv_header_tiffio_h = yes; then
20221
20222 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
20223 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
20224 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 ac_check_lib_save_LIBS=$LIBS
20228 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
20229 cat >conftest.$ac_ext <<_ACEOF
20230 #line $LINENO "configure"
20231 /* confdefs.h. */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236
20237 /* Override any gcc2 internal prototype to avoid an error. */
20238 #ifdef __cplusplus
20239 extern "C"
20240 #endif
20241 /* We use char because int might match the return type of a gcc2
20242 builtin and then its argument prototype would still apply. */
20243 char TIFFError ();
20244 int
20245 main ()
20246 {
20247 TIFFError ();
20248 ;
20249 return 0;
20250 }
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>&5
20255 ac_status=$?
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); } &&
20258 { ac_try='test -s conftest$ac_exeext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20261 ac_status=$?
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20264 ac_cv_lib_tiff_TIFFError=yes
20265 else
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20268
20269 ac_cv_lib_tiff_TIFFError=no
20270 fi
20271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20272 LIBS=$ac_check_lib_save_LIBS
20273 fi
20274 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
20275 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
20276 if test $ac_cv_lib_tiff_TIFFError = yes; then
20277 TIFF_LINK=" -ltiff"
20278 fi
20279
20280
20281
20282 fi
20283
20284
20285
20286 if test "x$TIFF_LINK" = "x" ; then
20287 if test "$wxUSE_LIBTIFF" = "sys" ; then
20288 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
20289 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
20290 { (exit 1); exit 1; }; }
20291 else
20292 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
20293 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
20294 wxUSE_LIBTIFF=builtin
20295 fi
20296 else
20297 wxUSE_LIBTIFF=sys
20298 fi
20299 fi
20300 fi
20301
20302
20303 if test "$wxUSE_EXPAT" != "no"; then
20304 wxUSE_XML=yes
20305 cat >>confdefs.h <<\_ACEOF
20306 #define wxUSE_EXPAT 1
20307 _ACEOF
20308
20309 cat >>confdefs.h <<\_ACEOF
20310 #define wxUSE_XML 1
20311 _ACEOF
20312
20313
20314 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
20315 if test "${ac_cv_header_expat_h+set}" = set; then
20316 echo "$as_me:$LINENO: checking for expat.h" >&5
20317 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20318 if test "${ac_cv_header_expat_h+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 fi
20321 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20322 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20323 else
20324 # Is the header compilable?
20325 echo "$as_me:$LINENO: checking expat.h usability" >&5
20326 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
20327 cat >conftest.$ac_ext <<_ACEOF
20328 #line $LINENO "configure"
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 #include <expat.h>
20336 _ACEOF
20337 rm -f conftest.$ac_objext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20339 (eval $ac_compile) 2>&5
20340 ac_status=$?
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try='test -s conftest.$ac_objext'
20344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20345 (eval $ac_try) 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); }; }; then
20349 ac_header_compiler=yes
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20353
20354 ac_header_compiler=no
20355 fi
20356 rm -f conftest.$ac_objext conftest.$ac_ext
20357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20358 echo "${ECHO_T}$ac_header_compiler" >&6
20359
20360 # Is the header present?
20361 echo "$as_me:$LINENO: checking expat.h presence" >&5
20362 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
20363 cat >conftest.$ac_ext <<_ACEOF
20364 #line $LINENO "configure"
20365 /* confdefs.h. */
20366 _ACEOF
20367 cat confdefs.h >>conftest.$ac_ext
20368 cat >>conftest.$ac_ext <<_ACEOF
20369 /* end confdefs.h. */
20370 #include <expat.h>
20371 _ACEOF
20372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } >/dev/null; then
20380 if test -s conftest.err; then
20381 ac_cpp_err=$ac_c_preproc_warn_flag
20382 else
20383 ac_cpp_err=
20384 fi
20385 else
20386 ac_cpp_err=yes
20387 fi
20388 if test -z "$ac_cpp_err"; then
20389 ac_header_preproc=yes
20390 else
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20393
20394 ac_header_preproc=no
20395 fi
20396 rm -f conftest.err conftest.$ac_ext
20397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20398 echo "${ECHO_T}$ac_header_preproc" >&6
20399
20400 # So? What about this header?
20401 case $ac_header_compiler:$ac_header_preproc in
20402 yes:no )
20403 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
20404 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20405 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20406 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20407 (
20408 cat <<\_ASBOX
20409 ## ------------------------------------ ##
20410 ## Report this to bug-autoconf@gnu.org. ##
20411 ## ------------------------------------ ##
20412 _ASBOX
20413 ) |
20414 sed "s/^/$as_me: WARNING: /" >&2
20415 ;;
20416 no:yes )
20417 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
20418 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
20419 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
20420 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
20421 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
20422 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
20423 (
20424 cat <<\_ASBOX
20425 ## ------------------------------------ ##
20426 ## Report this to bug-autoconf@gnu.org. ##
20427 ## ------------------------------------ ##
20428 _ASBOX
20429 ) |
20430 sed "s/^/$as_me: WARNING: /" >&2
20431 ;;
20432 esac
20433 echo "$as_me:$LINENO: checking for expat.h" >&5
20434 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
20435 if test "${ac_cv_header_expat_h+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438 ac_cv_header_expat_h=$ac_header_preproc
20439 fi
20440 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
20441 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
20442
20443 fi
20444 if test $ac_cv_header_expat_h = yes; then
20445 found_expat_h=1
20446 fi
20447
20448
20449 if test "x$found_expat_h" = "x1"; then
20450 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
20451 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
20452 if test "${wx_cv_expat_is_not_broken+set}" = set; then
20453 echo $ECHO_N "(cached) $ECHO_C" >&6
20454 else
20455
20456
20457
20458 ac_ext=cc
20459 ac_cpp='$CXXCPP $CPPFLAGS'
20460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20463
20464 cat >conftest.$ac_ext <<_ACEOF
20465 #line $LINENO "configure"
20466 /* confdefs.h. */
20467 _ACEOF
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20471 #include <expat.h>
20472 int
20473 main ()
20474 {
20475
20476 ;
20477 return 0;
20478 }
20479 _ACEOF
20480 rm -f conftest.$ac_objext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20482 (eval $ac_compile) 2>&5
20483 ac_status=$?
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } &&
20486 { ac_try='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 wx_cv_expat_is_not_broken=yes
20493 else
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20496
20497 wx_cv_expat_is_not_broken=no
20498
20499 fi
20500 rm -f conftest.$ac_objext conftest.$ac_ext
20501 ac_ext=c
20502 ac_cpp='$CPP $CPPFLAGS'
20503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20506
20507
20508
20509 fi
20510 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
20511 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
20512 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
20513 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
20514 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
20515 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20517 else
20518 ac_check_lib_save_LIBS=$LIBS
20519 LIBS="-lexpat $LIBS"
20520 cat >conftest.$ac_ext <<_ACEOF
20521 #line $LINENO "configure"
20522 /* confdefs.h. */
20523 _ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527
20528 /* Override any gcc2 internal prototype to avoid an error. */
20529 #ifdef __cplusplus
20530 extern "C"
20531 #endif
20532 /* We use char because int might match the return type of a gcc2
20533 builtin and then its argument prototype would still apply. */
20534 char XML_ParserCreate ();
20535 int
20536 main ()
20537 {
20538 XML_ParserCreate ();
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 rm -f conftest.$ac_objext conftest$ac_exeext
20544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20545 (eval $ac_link) 2>&5
20546 ac_status=$?
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); } &&
20549 { ac_try='test -s conftest$ac_exeext'
20550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20551 (eval $ac_try) 2>&5
20552 ac_status=$?
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); }; }; then
20555 ac_cv_lib_expat_XML_ParserCreate=yes
20556 else
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ac_cv_lib_expat_XML_ParserCreate=no
20561 fi
20562 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20563 LIBS=$ac_check_lib_save_LIBS
20564 fi
20565 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
20566 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
20567 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
20568 EXPAT_LINK=" -lexpat"
20569 fi
20570
20571 fi
20572 fi
20573 if test "x$EXPAT_LINK" = "x" ; then
20574 if test "$wxUSE_EXPAT" = "sys" ; then
20575 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
20576 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
20577 { (exit 1); exit 1; }; }
20578 else
20579 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
20580 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
20581 wxUSE_EXPAT=builtin
20582 fi
20583 else
20584 wxUSE_EXPAT=sys
20585 fi
20586 fi
20587 if test "$wxUSE_EXPAT" = "builtin" ; then
20588
20589
20590 subdirs="$subdirs src/expat"
20591
20592 fi
20593 fi
20594
20595
20596
20597 if test "$wxUSE_LIBMSPACK" != "no"; then
20598
20599 if test "${ac_cv_header_mspack_h+set}" = set; then
20600 echo "$as_me:$LINENO: checking for mspack.h" >&5
20601 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20602 if test "${ac_cv_header_mspack_h+set}" = set; then
20603 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 fi
20605 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20606 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20607 else
20608 # Is the header compilable?
20609 echo "$as_me:$LINENO: checking mspack.h usability" >&5
20610 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
20611 cat >conftest.$ac_ext <<_ACEOF
20612 #line $LINENO "configure"
20613 /* confdefs.h. */
20614 _ACEOF
20615 cat confdefs.h >>conftest.$ac_ext
20616 cat >>conftest.$ac_ext <<_ACEOF
20617 /* end confdefs.h. */
20618 $ac_includes_default
20619 #include <mspack.h>
20620 _ACEOF
20621 rm -f conftest.$ac_objext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20623 (eval $ac_compile) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); } &&
20627 { ac_try='test -s conftest.$ac_objext'
20628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20629 (eval $ac_try) 2>&5
20630 ac_status=$?
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); }; }; then
20633 ac_header_compiler=yes
20634 else
20635 echo "$as_me: failed program was:" >&5
20636 sed 's/^/| /' conftest.$ac_ext >&5
20637
20638 ac_header_compiler=no
20639 fi
20640 rm -f conftest.$ac_objext conftest.$ac_ext
20641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20642 echo "${ECHO_T}$ac_header_compiler" >&6
20643
20644 # Is the header present?
20645 echo "$as_me:$LINENO: checking mspack.h presence" >&5
20646 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
20647 cat >conftest.$ac_ext <<_ACEOF
20648 #line $LINENO "configure"
20649 /* confdefs.h. */
20650 _ACEOF
20651 cat confdefs.h >>conftest.$ac_ext
20652 cat >>conftest.$ac_ext <<_ACEOF
20653 /* end confdefs.h. */
20654 #include <mspack.h>
20655 _ACEOF
20656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20658 ac_status=$?
20659 grep -v '^ *+' conftest.er1 >conftest.err
20660 rm -f conftest.er1
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } >/dev/null; then
20664 if test -s conftest.err; then
20665 ac_cpp_err=$ac_c_preproc_warn_flag
20666 else
20667 ac_cpp_err=
20668 fi
20669 else
20670 ac_cpp_err=yes
20671 fi
20672 if test -z "$ac_cpp_err"; then
20673 ac_header_preproc=yes
20674 else
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20677
20678 ac_header_preproc=no
20679 fi
20680 rm -f conftest.err conftest.$ac_ext
20681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20682 echo "${ECHO_T}$ac_header_preproc" >&6
20683
20684 # So? What about this header?
20685 case $ac_header_compiler:$ac_header_preproc in
20686 yes:no )
20687 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
20688 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20689 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20690 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20691 (
20692 cat <<\_ASBOX
20693 ## ------------------------------------ ##
20694 ## Report this to bug-autoconf@gnu.org. ##
20695 ## ------------------------------------ ##
20696 _ASBOX
20697 ) |
20698 sed "s/^/$as_me: WARNING: /" >&2
20699 ;;
20700 no:yes )
20701 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
20702 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
20703 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
20704 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
20705 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
20706 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
20707 (
20708 cat <<\_ASBOX
20709 ## ------------------------------------ ##
20710 ## Report this to bug-autoconf@gnu.org. ##
20711 ## ------------------------------------ ##
20712 _ASBOX
20713 ) |
20714 sed "s/^/$as_me: WARNING: /" >&2
20715 ;;
20716 esac
20717 echo "$as_me:$LINENO: checking for mspack.h" >&5
20718 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
20719 if test "${ac_cv_header_mspack_h+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20721 else
20722 ac_cv_header_mspack_h=$ac_header_preproc
20723 fi
20724 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
20725 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
20726
20727 fi
20728 if test $ac_cv_header_mspack_h = yes; then
20729 found_mspack_h=1
20730 fi
20731
20732
20733 if test "x$found_mspack_h" = "x1"; then
20734 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
20735 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
20736 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
20737 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 else
20739 ac_check_lib_save_LIBS=$LIBS
20740 LIBS="-lmspack $LIBS"
20741 cat >conftest.$ac_ext <<_ACEOF
20742 #line $LINENO "configure"
20743 /* confdefs.h. */
20744 _ACEOF
20745 cat confdefs.h >>conftest.$ac_ext
20746 cat >>conftest.$ac_ext <<_ACEOF
20747 /* end confdefs.h. */
20748
20749 /* Override any gcc2 internal prototype to avoid an error. */
20750 #ifdef __cplusplus
20751 extern "C"
20752 #endif
20753 /* We use char because int might match the return type of a gcc2
20754 builtin and then its argument prototype would still apply. */
20755 char mspack_create_chm_decompressor ();
20756 int
20757 main ()
20758 {
20759 mspack_create_chm_decompressor ();
20760 ;
20761 return 0;
20762 }
20763 _ACEOF
20764 rm -f conftest.$ac_objext conftest$ac_exeext
20765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20766 (eval $ac_link) 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); } &&
20770 { ac_try='test -s conftest$ac_exeext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
20782 fi
20783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20784 LIBS=$ac_check_lib_save_LIBS
20785 fi
20786 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
20787 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
20788 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
20789 MSPACK_LINK=" -lmspack"
20790 fi
20791
20792 fi
20793 if test "x$MSPACK_LINK" = "x" ; then
20794 wxUSE_LIBMSPACK=no
20795 else
20796 cat >>confdefs.h <<\_ACEOF
20797 #define wxUSE_LIBMSPACK 1
20798 _ACEOF
20799
20800 fi
20801 fi
20802
20803
20804
20805 AFMINSTALL=
20806 WIN32INSTALL=
20807
20808 TOOLKIT=
20809 TOOLKIT_INCLUDE=
20810 WIDGET_SET=
20811
20812 if test "$USE_WIN32" = 1 ; then
20813
20814 for ac_header in w32api.h
20815 do
20816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20818 echo "$as_me:$LINENO: checking for $ac_header" >&5
20819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20821 echo $ECHO_N "(cached) $ECHO_C" >&6
20822 fi
20823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20825 else
20826 # Is the header compilable?
20827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20829 cat >conftest.$ac_ext <<_ACEOF
20830 #line $LINENO "configure"
20831 /* confdefs.h. */
20832 _ACEOF
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20836 $ac_includes_default
20837 #include <$ac_header>
20838 _ACEOF
20839 rm -f conftest.$ac_objext
20840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20841 (eval $ac_compile) 2>&5
20842 ac_status=$?
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -s conftest.$ac_objext'
20846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847 (eval $ac_try) 2>&5
20848 ac_status=$?
20849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850 (exit $ac_status); }; }; then
20851 ac_header_compiler=yes
20852 else
20853 echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 ac_header_compiler=no
20857 fi
20858 rm -f conftest.$ac_objext conftest.$ac_ext
20859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20860 echo "${ECHO_T}$ac_header_compiler" >&6
20861
20862 # Is the header present?
20863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20865 cat >conftest.$ac_ext <<_ACEOF
20866 #line $LINENO "configure"
20867 /* confdefs.h. */
20868 _ACEOF
20869 cat confdefs.h >>conftest.$ac_ext
20870 cat >>conftest.$ac_ext <<_ACEOF
20871 /* end confdefs.h. */
20872 #include <$ac_header>
20873 _ACEOF
20874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20876 ac_status=$?
20877 grep -v '^ *+' conftest.er1 >conftest.err
20878 rm -f conftest.er1
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } >/dev/null; then
20882 if test -s conftest.err; then
20883 ac_cpp_err=$ac_c_preproc_warn_flag
20884 else
20885 ac_cpp_err=
20886 fi
20887 else
20888 ac_cpp_err=yes
20889 fi
20890 if test -z "$ac_cpp_err"; then
20891 ac_header_preproc=yes
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 ac_header_preproc=no
20897 fi
20898 rm -f conftest.err conftest.$ac_ext
20899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20900 echo "${ECHO_T}$ac_header_preproc" >&6
20901
20902 # So? What about this header?
20903 case $ac_header_compiler:$ac_header_preproc in
20904 yes:no )
20905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20909 (
20910 cat <<\_ASBOX
20911 ## ------------------------------------ ##
20912 ## Report this to bug-autoconf@gnu.org. ##
20913 ## ------------------------------------ ##
20914 _ASBOX
20915 ) |
20916 sed "s/^/$as_me: WARNING: /" >&2
20917 ;;
20918 no:yes )
20919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20925 (
20926 cat <<\_ASBOX
20927 ## ------------------------------------ ##
20928 ## Report this to bug-autoconf@gnu.org. ##
20929 ## ------------------------------------ ##
20930 _ASBOX
20931 ) |
20932 sed "s/^/$as_me: WARNING: /" >&2
20933 ;;
20934 esac
20935 echo "$as_me:$LINENO: checking for $ac_header" >&5
20936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20939 else
20940 eval "$as_ac_Header=$ac_header_preproc"
20941 fi
20942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20944
20945 fi
20946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20947 cat >>confdefs.h <<_ACEOF
20948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20949 _ACEOF
20950
20951 fi
20952
20953 done
20954
20955 if test "${ac_cv_header_windows_h+set}" = set; then
20956 echo "$as_me:$LINENO: checking for windows.h" >&5
20957 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
20958 if test "${ac_cv_header_windows_h+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 fi
20961 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
20962 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
20963 else
20964 # Is the header compilable?
20965 echo "$as_me:$LINENO: checking windows.h usability" >&5
20966 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
20967 cat >conftest.$ac_ext <<_ACEOF
20968 #line $LINENO "configure"
20969 /* confdefs.h. */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h. */
20974 $ac_includes_default
20975 #include <windows.h>
20976 _ACEOF
20977 rm -f conftest.$ac_objext
20978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20979 (eval $ac_compile) 2>&5
20980 ac_status=$?
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -s conftest.$ac_objext'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20986 ac_status=$?
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; }; then
20989 ac_header_compiler=yes
20990 else
20991 echo "$as_me: failed program was:" >&5
20992 sed 's/^/| /' conftest.$ac_ext >&5
20993
20994 ac_header_compiler=no
20995 fi
20996 rm -f conftest.$ac_objext conftest.$ac_ext
20997 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20998 echo "${ECHO_T}$ac_header_compiler" >&6
20999
21000 # Is the header present?
21001 echo "$as_me:$LINENO: checking windows.h presence" >&5
21002 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
21003 cat >conftest.$ac_ext <<_ACEOF
21004 #line $LINENO "configure"
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 #include <windows.h>
21011 _ACEOF
21012 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21013 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } >/dev/null; then
21020 if test -s conftest.err; then
21021 ac_cpp_err=$ac_c_preproc_warn_flag
21022 else
21023 ac_cpp_err=
21024 fi
21025 else
21026 ac_cpp_err=yes
21027 fi
21028 if test -z "$ac_cpp_err"; then
21029 ac_header_preproc=yes
21030 else
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.$ac_ext >&5
21033
21034 ac_header_preproc=no
21035 fi
21036 rm -f conftest.err conftest.$ac_ext
21037 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21038 echo "${ECHO_T}$ac_header_preproc" >&6
21039
21040 # So? What about this header?
21041 case $ac_header_compiler:$ac_header_preproc in
21042 yes:no )
21043 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
21044 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21045 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21046 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21047 (
21048 cat <<\_ASBOX
21049 ## ------------------------------------ ##
21050 ## Report this to bug-autoconf@gnu.org. ##
21051 ## ------------------------------------ ##
21052 _ASBOX
21053 ) |
21054 sed "s/^/$as_me: WARNING: /" >&2
21055 ;;
21056 no:yes )
21057 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
21058 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
21059 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
21060 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
21061 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
21062 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
21063 (
21064 cat <<\_ASBOX
21065 ## ------------------------------------ ##
21066 ## Report this to bug-autoconf@gnu.org. ##
21067 ## ------------------------------------ ##
21068 _ASBOX
21069 ) |
21070 sed "s/^/$as_me: WARNING: /" >&2
21071 ;;
21072 esac
21073 echo "$as_me:$LINENO: checking for windows.h" >&5
21074 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
21075 if test "${ac_cv_header_windows_h+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21077 else
21078 ac_cv_header_windows_h=$ac_header_preproc
21079 fi
21080 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
21081 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
21082
21083 fi
21084 if test $ac_cv_header_windows_h = yes; then
21085 :
21086 else
21087
21088 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
21089 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
21090 { (exit 1); exit 1; }; }
21091
21092 fi
21093
21094
21095
21096 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
21097
21098 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
21099 LIBS="$LIBS -loleacc"
21100 fi
21101
21102 case "${host}" in
21103 *-*-cygwin* )
21104 LIBS="$LIBS -lkernel32 -luser32"
21105 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WIN95__"
21106 esac
21107
21108 if test "$wxUSE_ODBC" = "sys" ; then
21109 wxUSE_ODBC = "yes"
21110 fi
21111 if test "$wxUSE_ODBC" = "yes" ; then
21112 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
21113 cat >>confdefs.h <<\_ACEOF
21114 #define wxUSE_ODBC 1
21115 _ACEOF
21116
21117 fi
21118
21119 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
21120 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
21121
21122 WIN32INSTALL=win32install
21123 fi
21124
21125 if test "$wxUSE_GUI" = "yes"; then
21126 USE_GUI=1
21127
21128 GUI_TK_LIBRARY=
21129
21130 WXGTK12=
21131 WXGTK127=
21132 WXGTK20=
21133 WXGPE=
21134
21135 if test "$wxUSE_MSW" = 1 ; then
21136 TOOLKIT=MSW
21137 GUIDIST=MSW_DIST
21138
21139 case "${host}" in
21140 *-*-mingw32* )
21141 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
21142 esac
21143 fi
21144
21145 if test "$wxUSE_GTK" = 1; then
21146 echo "$as_me:$LINENO: checking for GTK+ version" >&5
21147 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
21148
21149 gtk_version_cached=1
21150 if test "${wx_cv_lib_gtk+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21152 else
21153
21154 gtk_version_cached=0
21155 echo "$as_me:$LINENO: result: " >&5
21156 echo "${ECHO_T}" >&6
21157
21158 GTK_MODULES=
21159 if test "$wxUSE_THREADS" = "yes"; then
21160 GTK_MODULES=gthread
21161 fi
21162
21163 wx_cv_lib_gtk=
21164 if test "x$wxUSE_GTK2" = "xyes"; then
21165 # Check whether --enable-gtktest or --disable-gtktest was given.
21166 if test "${enable_gtktest+set}" = set; then
21167 enableval="$enable_gtktest"
21168
21169 else
21170 enable_gtktest=yes
21171 fi;
21172
21173 pkg_config_args=gtk+-2.0
21174 for module in . $GTK_MODULES
21175 do
21176 case "$module" in
21177 gthread)
21178 pkg_config_args="$pkg_config_args gthread-2.0"
21179 ;;
21180 esac
21181 done
21182
21183 no_gtk=""
21184
21185 # Extract the first word of "pkg-config", so it can be a program name with args.
21186 set dummy pkg-config; ac_word=$2
21187 echo "$as_me:$LINENO: checking for $ac_word" >&5
21188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21189 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
21190 echo $ECHO_N "(cached) $ECHO_C" >&6
21191 else
21192 case $PKG_CONFIG in
21193 [\\/]* | ?:[\\/]*)
21194 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
21195 ;;
21196 *)
21197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21198 for as_dir in $PATH
21199 do
21200 IFS=$as_save_IFS
21201 test -z "$as_dir" && as_dir=.
21202 for ac_exec_ext in '' $ac_executable_extensions; do
21203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21204 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21206 break 2
21207 fi
21208 done
21209 done
21210
21211 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
21212 ;;
21213 esac
21214 fi
21215 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
21216
21217 if test -n "$PKG_CONFIG"; then
21218 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
21219 echo "${ECHO_T}$PKG_CONFIG" >&6
21220 else
21221 echo "$as_me:$LINENO: result: no" >&5
21222 echo "${ECHO_T}no" >&6
21223 fi
21224
21225
21226 if test x$PKG_CONFIG != xno ; then
21227 if pkg-config --atleast-pkgconfig-version 0.7 ; then
21228 :
21229 else
21230 echo "*** pkg-config too old; version 0.7 or better required."
21231 no_gtk=yes
21232 PKG_CONFIG=no
21233 fi
21234 else
21235 no_gtk=yes
21236 fi
21237
21238 min_gtk_version=2.0.0
21239 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
21240 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
21241
21242 if test x$PKG_CONFIG != xno ; then
21243 ## don't try to run the test against uninstalled libtool libs
21244 if $PKG_CONFIG --uninstalled $pkg_config_args; then
21245 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
21246 enable_gtktest=no
21247 fi
21248
21249 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
21250 :
21251 else
21252 no_gtk=yes
21253 fi
21254 fi
21255
21256 if test x"$no_gtk" = x ; then
21257 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
21258 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
21259 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21261 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21263 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
21264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21265 if test "x$enable_gtktest" = "xyes" ; then
21266 ac_save_CFLAGS="$CFLAGS"
21267 ac_save_LIBS="$LIBS"
21268 CFLAGS="$CFLAGS $GTK_CFLAGS"
21269 LIBS="$GTK_LIBS $LIBS"
21270 rm -f conf.gtktest
21271 if test "$cross_compiling" = yes; then
21272 echo $ac_n "cross compiling; assumed OK... $ac_c"
21273 else
21274 cat >conftest.$ac_ext <<_ACEOF
21275 #line $LINENO "configure"
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281
21282 #include <gtk/gtk.h>
21283 #include <stdio.h>
21284 #include <stdlib.h>
21285
21286 int
21287 main ()
21288 {
21289 int major, minor, micro;
21290 char *tmp_version;
21291
21292 system ("touch conf.gtktest");
21293
21294 /* HP/UX 9 (%@#!) writes to sscanf strings */
21295 tmp_version = g_strdup("$min_gtk_version");
21296 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21297 printf("%s, bad version string\n", "$min_gtk_version");
21298 exit(1);
21299 }
21300
21301 if ((gtk_major_version != $gtk_config_major_version) ||
21302 (gtk_minor_version != $gtk_config_minor_version) ||
21303 (gtk_micro_version != $gtk_config_micro_version))
21304 {
21305 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21306 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21307 gtk_major_version, gtk_minor_version, gtk_micro_version);
21308 printf ("*** was found! If pkg-config was correct, then it is best\n");
21309 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21310 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21311 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21312 printf("*** required on your system.\n");
21313 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
21314 printf("*** to point to the correct configuration files\n");
21315 }
21316 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21317 (gtk_minor_version != GTK_MINOR_VERSION) ||
21318 (gtk_micro_version != GTK_MICRO_VERSION))
21319 {
21320 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21321 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21322 printf("*** library (version %d.%d.%d)\n",
21323 gtk_major_version, gtk_minor_version, gtk_micro_version);
21324 }
21325 else
21326 {
21327 if ((gtk_major_version > major) ||
21328 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21329 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21330 {
21331 return 0;
21332 }
21333 else
21334 {
21335 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21336 gtk_major_version, gtk_minor_version, gtk_micro_version);
21337 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21338 major, minor, micro);
21339 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21340 printf("***\n");
21341 printf("*** If you have already installed a sufficiently new version, this error\n");
21342 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
21343 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21344 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
21345 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
21346 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21347 printf("*** so that the correct libraries are found at run-time))\n");
21348 }
21349 }
21350 return 1;
21351 }
21352
21353 _ACEOF
21354 rm -f conftest$ac_exeext
21355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21356 (eval $ac_link) 2>&5
21357 ac_status=$?
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 (eval $ac_try) 2>&5
21362 ac_status=$?
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); }; }; then
21365 :
21366 else
21367 echo "$as_me: program exited with status $ac_status" >&5
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ( exit $ac_status )
21372 no_gtk=yes
21373 fi
21374 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21375 fi
21376 CFLAGS="$ac_save_CFLAGS"
21377 LIBS="$ac_save_LIBS"
21378 fi
21379 fi
21380 if test "x$no_gtk" = x ; then
21381 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
21382 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
21383 wx_cv_lib_gtk=2.0
21384 else
21385 echo "$as_me:$LINENO: result: no" >&5
21386 echo "${ECHO_T}no" >&6
21387 if test "$PKG_CONFIG" = "no" ; then
21388 echo "*** A new enough version of pkg-config was not found."
21389 echo "*** See http://pkgconfig.sourceforge.net"
21390 else
21391 if test -f conf.gtktest ; then
21392 :
21393 else
21394 echo "*** Could not run GTK+ test program, checking why..."
21395 ac_save_CFLAGS="$CFLAGS"
21396 ac_save_LIBS="$LIBS"
21397 CFLAGS="$CFLAGS $GTK_CFLAGS"
21398 LIBS="$LIBS $GTK_LIBS"
21399 cat >conftest.$ac_ext <<_ACEOF
21400 #line $LINENO "configure"
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406
21407 #include <gtk/gtk.h>
21408 #include <stdio.h>
21409
21410 int
21411 main ()
21412 {
21413 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21414 ;
21415 return 0;
21416 }
21417 _ACEOF
21418 rm -f conftest.$ac_objext conftest$ac_exeext
21419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21420 (eval $ac_link) 2>&5
21421 ac_status=$?
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } &&
21424 { ac_try='test -s conftest$ac_exeext'
21425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21426 (eval $ac_try) 2>&5
21427 ac_status=$?
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); }; }; then
21430 echo "*** The test program compiled, but did not run. This usually means"
21431 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
21432 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
21433 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21434 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21435 echo "*** is required on your system"
21436 echo "***"
21437 echo "*** If you have an old version installed, it is best to remove it, although"
21438 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21439 else
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21442
21443 echo "*** The test program failed to compile or link. See the file config.log for the"
21444 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
21445 fi
21446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21447 CFLAGS="$ac_save_CFLAGS"
21448 LIBS="$ac_save_LIBS"
21449 fi
21450 fi
21451 GTK_CFLAGS=""
21452 GTK_LIBS=""
21453 :
21454 fi
21455
21456
21457 rm -f conf.gtktest
21458
21459 else
21460
21461 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21462 if test "${with_gtk_prefix+set}" = set; then
21463 withval="$with_gtk_prefix"
21464 gtk_config_prefix="$withval"
21465 else
21466 gtk_config_prefix=""
21467 fi;
21468
21469 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21470 if test "${with_gtk_exec_prefix+set}" = set; then
21471 withval="$with_gtk_exec_prefix"
21472 gtk_config_exec_prefix="$withval"
21473 else
21474 gtk_config_exec_prefix=""
21475 fi;
21476 # Check whether --enable-gtktest or --disable-gtktest was given.
21477 if test "${enable_gtktest+set}" = set; then
21478 enableval="$enable_gtktest"
21479
21480 else
21481 enable_gtktest=yes
21482 fi;
21483
21484 for module in . $GTK_MODULES
21485 do
21486 case "$module" in
21487 gthread)
21488 gtk_config_args="$gtk_config_args gthread"
21489 ;;
21490 esac
21491 done
21492
21493 if test x$gtk_config_exec_prefix != x ; then
21494 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21495 if test x${GTK_CONFIG+set} != xset ; then
21496 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21497 fi
21498 fi
21499 if test x$gtk_config_prefix != x ; then
21500 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21501 if test x${GTK_CONFIG+set} != xset ; then
21502 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21503 fi
21504 fi
21505
21506 # Extract the first word of "gtk-config", so it can be a program name with args.
21507 set dummy gtk-config; ac_word=$2
21508 echo "$as_me:$LINENO: checking for $ac_word" >&5
21509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21510 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21512 else
21513 case $GTK_CONFIG in
21514 [\\/]* | ?:[\\/]*)
21515 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21516 ;;
21517 *)
21518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21519 for as_dir in $PATH
21520 do
21521 IFS=$as_save_IFS
21522 test -z "$as_dir" && as_dir=.
21523 for ac_exec_ext in '' $ac_executable_extensions; do
21524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21525 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21527 break 2
21528 fi
21529 done
21530 done
21531
21532 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21533 ;;
21534 esac
21535 fi
21536 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21537
21538 if test -n "$GTK_CONFIG"; then
21539 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21540 echo "${ECHO_T}$GTK_CONFIG" >&6
21541 else
21542 echo "$as_me:$LINENO: result: no" >&5
21543 echo "${ECHO_T}no" >&6
21544 fi
21545
21546 min_gtk_version=1.2.7
21547 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21548 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21549 no_gtk=""
21550 if test "$GTK_CONFIG" = "no" ; then
21551 no_gtk=yes
21552 else
21553 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21554 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21555 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21557 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21559 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21561 if test "x$enable_gtktest" = "xyes" ; then
21562 ac_save_CFLAGS="$CFLAGS"
21563 ac_save_LIBS="$LIBS"
21564 CFLAGS="$CFLAGS $GTK_CFLAGS"
21565 LIBS="$GTK_LIBS $LIBS"
21566 rm -f conf.gtktest
21567 if test "$cross_compiling" = yes; then
21568 echo $ac_n "cross compiling; assumed OK... $ac_c"
21569 else
21570 cat >conftest.$ac_ext <<_ACEOF
21571 #line $LINENO "configure"
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577
21578 #include <gtk/gtk.h>
21579 #include <stdio.h>
21580 #include <stdlib.h>
21581
21582 int
21583 main ()
21584 {
21585 int major, minor, micro;
21586 char *tmp_version;
21587
21588 system ("touch conf.gtktest");
21589
21590 /* HP/UX 9 (%@#!) writes to sscanf strings */
21591 tmp_version = g_strdup("$min_gtk_version");
21592 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21593 printf("%s, bad version string\n", "$min_gtk_version");
21594 exit(1);
21595 }
21596
21597 if ((gtk_major_version != $gtk_config_major_version) ||
21598 (gtk_minor_version != $gtk_config_minor_version) ||
21599 (gtk_micro_version != $gtk_config_micro_version))
21600 {
21601 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21602 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21603 gtk_major_version, gtk_minor_version, gtk_micro_version);
21604 printf ("*** was found! If gtk-config was correct, then it is best\n");
21605 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21606 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21607 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21608 printf("*** required on your system.\n");
21609 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21610 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21611 printf("*** before re-running configure\n");
21612 }
21613 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21614 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21615 (gtk_minor_version != GTK_MINOR_VERSION) ||
21616 (gtk_micro_version != GTK_MICRO_VERSION))
21617 {
21618 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21619 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21620 printf("*** library (version %d.%d.%d)\n",
21621 gtk_major_version, gtk_minor_version, gtk_micro_version);
21622 }
21623 #endif /* defined (GTK_MAJOR_VERSION) ... */
21624 else
21625 {
21626 if ((gtk_major_version > major) ||
21627 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21628 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21629 {
21630 return 0;
21631 }
21632 else
21633 {
21634 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21635 gtk_major_version, gtk_minor_version, gtk_micro_version);
21636 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21637 major, minor, micro);
21638 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21639 printf("***\n");
21640 printf("*** If you have already installed a sufficiently new version, this error\n");
21641 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21642 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21643 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21644 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21645 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21646 printf("*** so that the correct libraries are found at run-time))\n");
21647 }
21648 }
21649 return 1;
21650 }
21651
21652 _ACEOF
21653 rm -f conftest$ac_exeext
21654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21655 (eval $ac_link) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660 (eval $ac_try) 2>&5
21661 ac_status=$?
21662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663 (exit $ac_status); }; }; then
21664 :
21665 else
21666 echo "$as_me: program exited with status $ac_status" >&5
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21669
21670 ( exit $ac_status )
21671 no_gtk=yes
21672 fi
21673 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 CFLAGS="$ac_save_CFLAGS"
21676 LIBS="$ac_save_LIBS"
21677 fi
21678 fi
21679 if test "x$no_gtk" = x ; then
21680 echo "$as_me:$LINENO: result: yes" >&5
21681 echo "${ECHO_T}yes" >&6
21682 wx_cv_lib_gtk=1.2.7
21683 else
21684 echo "$as_me:$LINENO: result: no" >&5
21685 echo "${ECHO_T}no" >&6
21686 if test "$GTK_CONFIG" = "no" ; then
21687 echo "*** The gtk-config script installed by GTK could not be found"
21688 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21689 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21690 echo "*** full path to gtk-config."
21691 else
21692 if test -f conf.gtktest ; then
21693 :
21694 else
21695 echo "*** Could not run GTK test program, checking why..."
21696 CFLAGS="$CFLAGS $GTK_CFLAGS"
21697 LIBS="$LIBS $GTK_LIBS"
21698 cat >conftest.$ac_ext <<_ACEOF
21699 #line $LINENO "configure"
21700 /* confdefs.h. */
21701 _ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705
21706 #include <gtk/gtk.h>
21707 #include <stdio.h>
21708
21709 int
21710 main ()
21711 {
21712 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
21713 ;
21714 return 0;
21715 }
21716 _ACEOF
21717 rm -f conftest.$ac_objext conftest$ac_exeext
21718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21719 (eval $ac_link) 2>&5
21720 ac_status=$?
21721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21722 (exit $ac_status); } &&
21723 { ac_try='test -s conftest$ac_exeext'
21724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21725 (eval $ac_try) 2>&5
21726 ac_status=$?
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); }; }; then
21729 echo "*** The test program compiled, but did not run. This usually means"
21730 echo "*** that the run-time linker is not finding GTK or finding the wrong"
21731 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
21732 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
21733 echo "*** to the installed location Also, make sure you have run ldconfig if that"
21734 echo "*** is required on your system"
21735 echo "***"
21736 echo "*** If you have an old version installed, it is best to remove it, although"
21737 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
21738 echo "***"
21739 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
21740 echo "*** came with the system with the command"
21741 echo "***"
21742 echo "*** rpm --erase --nodeps gtk gtk-devel"
21743 else
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21746
21747 echo "*** The test program failed to compile or link. See the file config.log for the"
21748 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
21749 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
21750 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
21751 fi
21752 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21753 CFLAGS="$ac_save_CFLAGS"
21754 LIBS="$ac_save_LIBS"
21755 fi
21756 fi
21757 GTK_CFLAGS=""
21758 GTK_LIBS=""
21759 :
21760 fi
21761
21762
21763 rm -f conf.gtktest
21764
21765
21766 if test -z "$wx_cv_lib_gtk"; then
21767
21768 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
21769 if test "${with_gtk_prefix+set}" = set; then
21770 withval="$with_gtk_prefix"
21771 gtk_config_prefix="$withval"
21772 else
21773 gtk_config_prefix=""
21774 fi;
21775
21776 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
21777 if test "${with_gtk_exec_prefix+set}" = set; then
21778 withval="$with_gtk_exec_prefix"
21779 gtk_config_exec_prefix="$withval"
21780 else
21781 gtk_config_exec_prefix=""
21782 fi;
21783 # Check whether --enable-gtktest or --disable-gtktest was given.
21784 if test "${enable_gtktest+set}" = set; then
21785 enableval="$enable_gtktest"
21786
21787 else
21788 enable_gtktest=yes
21789 fi;
21790
21791 for module in . $GTK_MODULES
21792 do
21793 case "$module" in
21794 gthread)
21795 gtk_config_args="$gtk_config_args gthread"
21796 ;;
21797 esac
21798 done
21799
21800 if test x$gtk_config_exec_prefix != x ; then
21801 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
21802 if test x${GTK_CONFIG+set} != xset ; then
21803 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
21804 fi
21805 fi
21806 if test x$gtk_config_prefix != x ; then
21807 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
21808 if test x${GTK_CONFIG+set} != xset ; then
21809 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
21810 fi
21811 fi
21812
21813 # Extract the first word of "gtk-config", so it can be a program name with args.
21814 set dummy gtk-config; ac_word=$2
21815 echo "$as_me:$LINENO: checking for $ac_word" >&5
21816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
21817 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
21818 echo $ECHO_N "(cached) $ECHO_C" >&6
21819 else
21820 case $GTK_CONFIG in
21821 [\\/]* | ?:[\\/]*)
21822 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
21823 ;;
21824 *)
21825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21826 for as_dir in $PATH
21827 do
21828 IFS=$as_save_IFS
21829 test -z "$as_dir" && as_dir=.
21830 for ac_exec_ext in '' $ac_executable_extensions; do
21831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21832 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21834 break 2
21835 fi
21836 done
21837 done
21838
21839 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
21840 ;;
21841 esac
21842 fi
21843 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
21844
21845 if test -n "$GTK_CONFIG"; then
21846 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
21847 echo "${ECHO_T}$GTK_CONFIG" >&6
21848 else
21849 echo "$as_me:$LINENO: result: no" >&5
21850 echo "${ECHO_T}no" >&6
21851 fi
21852
21853 min_gtk_version=1.2.3
21854 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
21855 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
21856 no_gtk=""
21857 if test "$GTK_CONFIG" = "no" ; then
21858 no_gtk=yes
21859 else
21860 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
21861 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
21862 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
21863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
21864 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
21865 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
21866 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
21867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
21868 if test "x$enable_gtktest" = "xyes" ; then
21869 ac_save_CFLAGS="$CFLAGS"
21870 ac_save_LIBS="$LIBS"
21871 CFLAGS="$CFLAGS $GTK_CFLAGS"
21872 LIBS="$GTK_LIBS $LIBS"
21873 rm -f conf.gtktest
21874 if test "$cross_compiling" = yes; then
21875 echo $ac_n "cross compiling; assumed OK... $ac_c"
21876 else
21877 cat >conftest.$ac_ext <<_ACEOF
21878 #line $LINENO "configure"
21879 /* confdefs.h. */
21880 _ACEOF
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884
21885 #include <gtk/gtk.h>
21886 #include <stdio.h>
21887 #include <stdlib.h>
21888
21889 int
21890 main ()
21891 {
21892 int major, minor, micro;
21893 char *tmp_version;
21894
21895 system ("touch conf.gtktest");
21896
21897 /* HP/UX 9 (%@#!) writes to sscanf strings */
21898 tmp_version = g_strdup("$min_gtk_version");
21899 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
21900 printf("%s, bad version string\n", "$min_gtk_version");
21901 exit(1);
21902 }
21903
21904 if ((gtk_major_version != $gtk_config_major_version) ||
21905 (gtk_minor_version != $gtk_config_minor_version) ||
21906 (gtk_micro_version != $gtk_config_micro_version))
21907 {
21908 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
21909 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
21910 gtk_major_version, gtk_minor_version, gtk_micro_version);
21911 printf ("*** was found! If gtk-config was correct, then it is best\n");
21912 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
21913 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
21914 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
21915 printf("*** required on your system.\n");
21916 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
21917 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
21918 printf("*** before re-running configure\n");
21919 }
21920 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
21921 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
21922 (gtk_minor_version != GTK_MINOR_VERSION) ||
21923 (gtk_micro_version != GTK_MICRO_VERSION))
21924 {
21925 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
21926 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
21927 printf("*** library (version %d.%d.%d)\n",
21928 gtk_major_version, gtk_minor_version, gtk_micro_version);
21929 }
21930 #endif /* defined (GTK_MAJOR_VERSION) ... */
21931 else
21932 {
21933 if ((gtk_major_version > major) ||
21934 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
21935 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
21936 {
21937 return 0;
21938 }
21939 else
21940 {
21941 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
21942 gtk_major_version, gtk_minor_version, gtk_micro_version);
21943 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
21944 major, minor, micro);
21945 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
21946 printf("***\n");
21947 printf("*** If you have already installed a sufficiently new version, this error\n");
21948 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
21949 printf("*** being found. The easiest way to fix this is to remove the old version\n");
21950 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
21951 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
21952 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
21953 printf("*** so that the correct libraries are found at run-time))\n");
21954 }
21955 }
21956 return 1;
21957 }
21958
21959 _ACEOF
21960 rm -f conftest$ac_exeext
21961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21962 (eval $ac_link) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 :
21972 else
21973 echo "$as_me: program exited with status $ac_status" >&5
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 ( exit $ac_status )
21978 no_gtk=yes
21979 fi
21980 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21981 fi
21982 CFLAGS="$ac_save_CFLAGS"
21983 LIBS="$ac_save_LIBS"
21984 fi
21985 fi
21986 if test "x$no_gtk" = x ; then
21987 echo "$as_me:$LINENO: result: yes" >&5
21988 echo "${ECHO_T}yes" >&6
21989 wx_cv_lib_gtk=1.2.3
21990 else
21991 echo "$as_me:$LINENO: result: no" >&5
21992 echo "${ECHO_T}no" >&6
21993 if test "$GTK_CONFIG" = "no" ; then
21994 echo "*** The gtk-config script installed by GTK could not be found"
21995 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
21996 echo "*** your path, or set the GTK_CONFIG environment variable to the"
21997 echo "*** full path to gtk-config."
21998 else
21999 if test -f conf.gtktest ; then
22000 :
22001 else
22002 echo "*** Could not run GTK test program, checking why..."
22003 CFLAGS="$CFLAGS $GTK_CFLAGS"
22004 LIBS="$LIBS $GTK_LIBS"
22005 cat >conftest.$ac_ext <<_ACEOF
22006 #line $LINENO "configure"
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012
22013 #include <gtk/gtk.h>
22014 #include <stdio.h>
22015
22016 int
22017 main ()
22018 {
22019 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest.$ac_objext conftest$ac_exeext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22026 (eval $ac_link) 2>&5
22027 ac_status=$?
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -s conftest$ac_exeext'
22031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22032 (eval $ac_try) 2>&5
22033 ac_status=$?
22034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22035 (exit $ac_status); }; }; then
22036 echo "*** The test program compiled, but did not run. This usually means"
22037 echo "*** that the run-time linker is not finding GTK or finding the wrong"
22038 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
22039 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
22040 echo "*** to the installed location Also, make sure you have run ldconfig if that"
22041 echo "*** is required on your system"
22042 echo "***"
22043 echo "*** If you have an old version installed, it is best to remove it, although"
22044 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
22045 echo "***"
22046 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
22047 echo "*** came with the system with the command"
22048 echo "***"
22049 echo "*** rpm --erase --nodeps gtk gtk-devel"
22050 else
22051 echo "$as_me: failed program was:" >&5
22052 sed 's/^/| /' conftest.$ac_ext >&5
22053
22054 echo "*** The test program failed to compile or link. See the file config.log for the"
22055 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
22056 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
22057 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
22058 fi
22059 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22060 CFLAGS="$ac_save_CFLAGS"
22061 LIBS="$ac_save_LIBS"
22062 fi
22063 fi
22064 GTK_CFLAGS=""
22065 GTK_LIBS=""
22066 :
22067 fi
22068
22069
22070 rm -f conf.gtktest
22071
22072 fi
22073 fi
22074
22075 if test -z "$wx_cv_lib_gtk"; then
22076 wx_cv_lib_gtk=none
22077 else
22078 wx_cv_cflags_gtk=$GTK_CFLAGS
22079 wx_cv_libs_gtk=$GTK_LIBS
22080 fi
22081
22082
22083 fi
22084
22085
22086 if test "$gtk_version_cached" = 1; then
22087 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
22088 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
22089 fi
22090
22091 case "$wx_cv_lib_gtk" in
22092 2.0) WXGTK20=1
22093 TOOLKIT_VERSION=2
22094 ;;
22095 1.2.7) WXGTK127=1
22096 WXGTK12=1
22097 ;;
22098 1.2.3) WXGTK12=1
22099 ;;
22100 *) { { echo "$as_me:$LINENO: error:
22101 Please check that gtk-config is in path, the directory
22102 where GTK+ libraries are installed (returned by
22103 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22104 equivalent variable and GTK+ is version 1.2.3 or above.
22105 " >&5
22106 echo "$as_me: error:
22107 Please check that gtk-config is in path, the directory
22108 where GTK+ libraries are installed (returned by
22109 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
22110 equivalent variable and GTK+ is version 1.2.3 or above.
22111 " >&2;}
22112 { (exit 1); exit 1; }; }
22113 ;;
22114 esac
22115
22116 if test "$WXGTK20" = 1; then
22117 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
22118
22119 succeeded=no
22120
22121 if test -z "$PKG_CONFIG"; then
22122 # Extract the first word of "pkg-config", so it can be a program name with args.
22123 set dummy pkg-config; ac_word=$2
22124 echo "$as_me:$LINENO: checking for $ac_word" >&5
22125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22126 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22128 else
22129 case $PKG_CONFIG in
22130 [\\/]* | ?:[\\/]*)
22131 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22132 ;;
22133 *)
22134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22135 for as_dir in $PATH
22136 do
22137 IFS=$as_save_IFS
22138 test -z "$as_dir" && as_dir=.
22139 for ac_exec_ext in '' $ac_executable_extensions; do
22140 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22141 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22143 break 2
22144 fi
22145 done
22146 done
22147
22148 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22149 ;;
22150 esac
22151 fi
22152 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22153
22154 if test -n "$PKG_CONFIG"; then
22155 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22156 echo "${ECHO_T}$PKG_CONFIG" >&6
22157 else
22158 echo "$as_me:$LINENO: result: no" >&5
22159 echo "${ECHO_T}no" >&6
22160 fi
22161
22162 fi
22163
22164 if test "$PKG_CONFIG" = "no" ; then
22165 echo "*** The pkg-config script could not be found. Make sure it is"
22166 echo "*** in your path, or set the PKG_CONFIG environment variable"
22167 echo "*** to the full path to pkg-config."
22168 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
22169 else
22170 PKG_CONFIG_MIN_VERSION=0.9.0
22171 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
22172 echo "$as_me:$LINENO: checking for pangoft2" >&5
22173 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
22174
22175 if $PKG_CONFIG --exists "pangoft2" ; then
22176 echo "$as_me:$LINENO: result: yes" >&5
22177 echo "${ECHO_T}yes" >&6
22178 succeeded=yes
22179
22180 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
22181 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
22182 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
22183 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
22184 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
22185
22186 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
22187 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
22188 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
22189 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
22190 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
22191 else
22192 PANGOFT2_CFLAGS=""
22193 PANGOFT2_LIBS=""
22194 ## If we have a custom action on failure, don't print errors, but
22195 ## do set a variable so people can do so.
22196 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
22197
22198 fi
22199
22200
22201
22202 else
22203 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
22204 echo "*** See http://www.freedesktop.org/software/pkgconfig"
22205 fi
22206 fi
22207
22208 if test $succeeded = yes; then
22209
22210 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
22211 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
22212
22213 else
22214
22215 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
22216 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
22217 wxUSE_PRINTING_ARCHITECTURE="no"
22218
22219
22220 fi
22221
22222 fi
22223 else
22224 if test "$wxUSE_UNICODE" = "yes"; then
22225 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
22226 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
22227 wxUSE_UNICODE=no
22228 fi
22229 fi
22230
22231 if test "$USE_DARWIN" != 1; then
22232
22233 for ac_func in poll
22234 do
22235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22236 echo "$as_me:$LINENO: checking for $ac_func" >&5
22237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22238 if eval "test \"\${$as_ac_var+set}\" = set"; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22240 else
22241 cat >conftest.$ac_ext <<_ACEOF
22242 #line $LINENO "configure"
22243 /* confdefs.h. */
22244 _ACEOF
22245 cat confdefs.h >>conftest.$ac_ext
22246 cat >>conftest.$ac_ext <<_ACEOF
22247 /* end confdefs.h. */
22248 /* System header to define __stub macros and hopefully few prototypes,
22249 which can conflict with char $ac_func (); below.
22250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22251 <limits.h> exists even on freestanding compilers. */
22252 #ifdef __STDC__
22253 # include <limits.h>
22254 #else
22255 # include <assert.h>
22256 #endif
22257 /* Override any gcc2 internal prototype to avoid an error. */
22258 #ifdef __cplusplus
22259 extern "C"
22260 {
22261 #endif
22262 /* We use char because int might match the return type of a gcc2
22263 builtin and then its argument prototype would still apply. */
22264 char $ac_func ();
22265 /* The GNU C library defines this for functions which it implements
22266 to always fail with ENOSYS. Some functions are actually named
22267 something starting with __ and the normal name is an alias. */
22268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22269 choke me
22270 #else
22271 char (*f) () = $ac_func;
22272 #endif
22273 #ifdef __cplusplus
22274 }
22275 #endif
22276
22277 int
22278 main ()
22279 {
22280 return f != $ac_func;
22281 ;
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest.$ac_objext conftest$ac_exeext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22287 (eval $ac_link) 2>&5
22288 ac_status=$?
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } &&
22291 { ac_try='test -s conftest$ac_exeext'
22292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22293 (eval $ac_try) 2>&5
22294 ac_status=$?
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); }; }; then
22297 eval "$as_ac_var=yes"
22298 else
22299 echo "$as_me: failed program was:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22301
22302 eval "$as_ac_var=no"
22303 fi
22304 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22305 fi
22306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22308 if test `eval echo '${'$as_ac_var'}'` = yes; then
22309 cat >>confdefs.h <<_ACEOF
22310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22311 _ACEOF
22312
22313 fi
22314 done
22315
22316 fi
22317
22318 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
22319 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
22320
22321 AFMINSTALL=afminstall
22322 TOOLKIT=GTK
22323 GUIDIST=GTK_DIST
22324
22325 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
22326 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
22327 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 else
22330 ac_check_lib_save_LIBS=$LIBS
22331 LIBS="-lgdk $LIBS"
22332 cat >conftest.$ac_ext <<_ACEOF
22333 #line $LINENO "configure"
22334 /* confdefs.h. */
22335 _ACEOF
22336 cat confdefs.h >>conftest.$ac_ext
22337 cat >>conftest.$ac_ext <<_ACEOF
22338 /* end confdefs.h. */
22339
22340 /* Override any gcc2 internal prototype to avoid an error. */
22341 #ifdef __cplusplus
22342 extern "C"
22343 #endif
22344 /* We use char because int might match the return type of a gcc2
22345 builtin and then its argument prototype would still apply. */
22346 char gdk_im_open ();
22347 int
22348 main ()
22349 {
22350 gdk_im_open ();
22351 ;
22352 return 0;
22353 }
22354 _ACEOF
22355 rm -f conftest.$ac_objext conftest$ac_exeext
22356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22357 (eval $ac_link) 2>&5
22358 ac_status=$?
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); } &&
22361 { ac_try='test -s conftest$ac_exeext'
22362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22363 (eval $ac_try) 2>&5
22364 ac_status=$?
22365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22366 (exit $ac_status); }; }; then
22367 ac_cv_lib_gdk_gdk_im_open=yes
22368 else
22369 echo "$as_me: failed program was:" >&5
22370 sed 's/^/| /' conftest.$ac_ext >&5
22371
22372 ac_cv_lib_gdk_gdk_im_open=no
22373 fi
22374 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22375 LIBS=$ac_check_lib_save_LIBS
22376 fi
22377 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
22378 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
22379 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
22380 cat >>confdefs.h <<\_ACEOF
22381 #define HAVE_XIM 1
22382 _ACEOF
22383
22384 fi
22385
22386
22387
22388 if test "$wxUSE_GPE" = "yes"; then
22389 echo "$as_me:$LINENO: checking for gpewidget library" >&5
22390 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
22391
22392 ac_find_libraries=
22393 for ac_dir in $SEARCH_LIB /usr/lib;
22394 do
22395 for ac_extension in a so sl dylib; do
22396 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
22397 ac_find_libraries=$ac_dir
22398 break 2
22399 fi
22400 done
22401 done
22402
22403 if test "$ac_find_libraries" != "" ; then
22404
22405 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
22406 result=$?
22407 if test $result = 0; then
22408 ac_path_to_link=""
22409 else
22410 ac_path_to_link=" -L$ac_find_libraries"
22411 fi
22412
22413 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
22414 WXGPE=1
22415 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
22416 echo "${ECHO_T}found at $ac_find_libraries" >&6
22417 else
22418 echo "$as_me:$LINENO: result: not found" >&5
22419 echo "${ECHO_T}not found" >&6
22420 fi
22421
22422 fi
22423 fi
22424
22425 if test "$wxUSE_MGL" = 1; then
22426 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
22427 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
22428 if test "x$MGL_ROOT" = x ; then
22429 echo "$as_me:$LINENO: result: not found" >&5
22430 echo "${ECHO_T}not found" >&6
22431 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
22432 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
22433 { (exit 1); exit 1; }; }
22434 else
22435 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
22436 echo "${ECHO_T}$MGL_ROOT" >&6
22437 fi
22438
22439 echo "$as_me:$LINENO: checking for libmgl location" >&5
22440 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
22441 case "${host}" in
22442 *-*-linux* )
22443 if test "x$wxUSE_SHARED" = xyes ; then
22444 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
22445 else
22446 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
22447 fi
22448 ;;
22449 *-pc-msdosdjgpp )
22450 mgl_os_candidates="dos32/dj2"
22451 ;;
22452 *)
22453 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
22454 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
22455 { (exit 1); exit 1; }; }
22456 esac
22457
22458 mgl_lib_type=""
22459 mgl_os=""
22460
22461 for mgl_os_i in $mgl_os_candidates ; do
22462 if test "x$mgl_os" = x ; then
22463 if test "$wxUSE_DEBUG_FLAG" = yes ; then
22464 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
22465 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
22466 mgl_lib_type=debug
22467 mgl_os=$mgl_os_i
22468 fi
22469 fi
22470 if test "x$mgl_lib_type" = x ; then
22471 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
22472 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
22473 mgl_lib_type=release
22474 mgl_os=$mgl_os_i
22475 fi
22476 fi
22477 fi
22478 done
22479
22480 if test "x$mgl_os" = x ; then
22481 echo "$as_me:$LINENO: result: not found" >&5
22482 echo "${ECHO_T}not found" >&6
22483 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
22484 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
22485 { (exit 1); exit 1; }; }
22486 fi
22487 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
22488 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
22489
22490 wxUSE_UNIVERSAL="yes"
22491
22492 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
22493 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
22494
22495 AFMINSTALL=afminstall
22496 TOOLKIT=MGL
22497 GUIDIST=MGL_DIST
22498 fi
22499
22500 if test "$wxUSE_MICROWIN" = 1; then
22501 echo "$as_me:$LINENO: checking for MicroWindows" >&5
22502 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
22503 if test "x$MICROWINDOWS" = x ; then
22504 echo "$as_me:$LINENO: result: not found" >&5
22505 echo "${ECHO_T}not found" >&6
22506 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
22507 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
22508 { (exit 1); exit 1; }; }
22509 else
22510 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
22511 echo "${ECHO_T}$MICROWINDOWS" >&6
22512 fi
22513
22514 if test -f $MICROWINDOWS/lib/libmwin.a; then
22515 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
22516 echo "${ECHO_T}MicroWindows' libraries found." >&6
22517 else
22518 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
22519 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
22520 { (exit 1); exit 1; }; }
22521 fi
22522
22523 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
22524 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
22525
22526 wxUSE_UNIVERSAL="yes"
22527
22528 AFMINSTALL=afminstall
22529 TOOLKIT=MICROWIN
22530 GUIDIST=MICROWIN_DIST
22531
22532 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
22533 fi
22534
22535 if test "$wxUSE_X11" = 1; then
22536 echo "$as_me:$LINENO: checking for X" >&5
22537 echo $ECHO_N "checking for X... $ECHO_C" >&6
22538
22539
22540 # Check whether --with-x or --without-x was given.
22541 if test "${with_x+set}" = set; then
22542 withval="$with_x"
22543
22544 fi;
22545 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22546 if test "x$with_x" = xno; then
22547 # The user explicitly disabled X.
22548 have_x=disabled
22549 else
22550 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
22551 # Both variables are already set.
22552 have_x=yes
22553 else
22554 if test "${ac_cv_have_x+set}" = set; then
22555 echo $ECHO_N "(cached) $ECHO_C" >&6
22556 else
22557 # One or both of the vars are not set, and there is no cached value.
22558 ac_x_includes=no ac_x_libraries=no
22559 rm -fr conftest.dir
22560 if mkdir conftest.dir; then
22561 cd conftest.dir
22562 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
22563 cat >Imakefile <<'_ACEOF'
22564 acfindx:
22565 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
22566 _ACEOF
22567 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
22568 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22569 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
22570 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22571 for ac_extension in a so sl; do
22572 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
22573 test -f $ac_im_libdir/libX11.$ac_extension; then
22574 ac_im_usrlibdir=$ac_im_libdir; break
22575 fi
22576 done
22577 # Screen out bogus values from the imake configuration. They are
22578 # bogus both because they are the default anyway, and because
22579 # using them would break gcc on systems where it needs fixed includes.
22580 case $ac_im_incroot in
22581 /usr/include) ;;
22582 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22583 esac
22584 case $ac_im_usrlibdir in
22585 /usr/lib | /lib) ;;
22586 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22587 esac
22588 fi
22589 cd ..
22590 rm -fr conftest.dir
22591 fi
22592
22593 # Standard set of common directories for X headers.
22594 # Check X11 before X11Rn because it is often a symlink to the current release.
22595 ac_x_header_dirs='
22596 /usr/X11/include
22597 /usr/X11R6/include
22598 /usr/X11R5/include
22599 /usr/X11R4/include
22600
22601 /usr/include/X11
22602 /usr/include/X11R6
22603 /usr/include/X11R5
22604 /usr/include/X11R4
22605
22606 /usr/local/X11/include
22607 /usr/local/X11R6/include
22608 /usr/local/X11R5/include
22609 /usr/local/X11R4/include
22610
22611 /usr/local/include/X11
22612 /usr/local/include/X11R6
22613 /usr/local/include/X11R5
22614 /usr/local/include/X11R4
22615
22616 /usr/X386/include
22617 /usr/x386/include
22618 /usr/XFree86/include/X11
22619
22620 /usr/include
22621 /usr/local/include
22622 /usr/unsupported/include
22623 /usr/athena/include
22624 /usr/local/x11r5/include
22625 /usr/lpp/Xamples/include
22626
22627 /usr/openwin/include
22628 /usr/openwin/share/include'
22629
22630 if test "$ac_x_includes" = no; then
22631 # Guess where to find include files, by looking for Intrinsic.h.
22632 # First, try using that file with no special directory specified.
22633 cat >conftest.$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22635 /* confdefs.h. */
22636 _ACEOF
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <X11/Intrinsic.h>
22641 _ACEOF
22642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22643 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22644 ac_status=$?
22645 grep -v '^ *+' conftest.er1 >conftest.err
22646 rm -f conftest.er1
22647 cat conftest.err >&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); } >/dev/null; then
22650 if test -s conftest.err; then
22651 ac_cpp_err=$ac_c_preproc_warn_flag
22652 else
22653 ac_cpp_err=
22654 fi
22655 else
22656 ac_cpp_err=yes
22657 fi
22658 if test -z "$ac_cpp_err"; then
22659 # We can compile using X headers with no special include directory.
22660 ac_x_includes=
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22664
22665 for ac_dir in $ac_x_header_dirs; do
22666 if test -r "$ac_dir/X11/Intrinsic.h"; then
22667 ac_x_includes=$ac_dir
22668 break
22669 fi
22670 done
22671 fi
22672 rm -f conftest.err conftest.$ac_ext
22673 fi # $ac_x_includes = no
22674
22675 if test "$ac_x_libraries" = no; then
22676 # Check for the libraries.
22677 # See if we find them without any special options.
22678 # Don't add to $LIBS permanently.
22679 ac_save_LIBS=$LIBS
22680 LIBS="-lXt $LIBS"
22681 cat >conftest.$ac_ext <<_ACEOF
22682 #line $LINENO "configure"
22683 /* confdefs.h. */
22684 _ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 #include <X11/Intrinsic.h>
22689 int
22690 main ()
22691 {
22692 XtMalloc (0)
22693 ;
22694 return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext conftest$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699 (eval $ac_link) 2>&5
22700 ac_status=$?
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); } &&
22703 { ac_try='test -s conftest$ac_exeext'
22704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22705 (eval $ac_try) 2>&5
22706 ac_status=$?
22707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708 (exit $ac_status); }; }; then
22709 LIBS=$ac_save_LIBS
22710 # We can link X programs with no special library path.
22711 ac_x_libraries=
22712 else
22713 echo "$as_me: failed program was:" >&5
22714 sed 's/^/| /' conftest.$ac_ext >&5
22715
22716 LIBS=$ac_save_LIBS
22717 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22718 do
22719 # Don't even attempt the hair of trying to link an X program!
22720 for ac_extension in a so sl; do
22721 if test -r $ac_dir/libXt.$ac_extension; then
22722 ac_x_libraries=$ac_dir
22723 break 2
22724 fi
22725 done
22726 done
22727 fi
22728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22729 fi # $ac_x_libraries = no
22730
22731 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
22732 # Didn't find X anywhere. Cache the known absence of X.
22733 ac_cv_have_x="have_x=no"
22734 else
22735 # Record where we found X for the cache.
22736 ac_cv_have_x="have_x=yes \
22737 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
22738 fi
22739 fi
22740
22741 fi
22742 eval "$ac_cv_have_x"
22743 fi # $with_x != no
22744
22745 if test "$have_x" != yes; then
22746 echo "$as_me:$LINENO: result: $have_x" >&5
22747 echo "${ECHO_T}$have_x" >&6
22748 no_x=yes
22749 else
22750 # If each of the values was on the command line, it overrides each guess.
22751 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22752 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22753 # Update the cache value to reflect the command line values.
22754 ac_cv_have_x="have_x=yes \
22755 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
22756 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
22757 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
22758 fi
22759
22760 if test "$no_x" = yes; then
22761 # Not all programs may use this symbol, but it does not hurt to define it.
22762
22763 cat >>confdefs.h <<\_ACEOF
22764 #define X_DISPLAY_MISSING 1
22765 _ACEOF
22766
22767 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22768 else
22769 if test -n "$x_includes"; then
22770 X_CFLAGS="$X_CFLAGS -I$x_includes"
22771 fi
22772
22773 # It would also be nice to do this for all -L options, not just this one.
22774 if test -n "$x_libraries"; then
22775 X_LIBS="$X_LIBS -L$x_libraries"
22776 # For Solaris; some versions of Sun CC require a space after -R and
22777 # others require no space. Words are not sufficient . . . .
22778 case `(uname -sr) 2>/dev/null` in
22779 "SunOS 5"*)
22780 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
22781 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
22782 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22783 cat >conftest.$ac_ext <<_ACEOF
22784 #line $LINENO "configure"
22785 /* confdefs.h. */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790
22791 int
22792 main ()
22793 {
22794
22795 ;
22796 return 0;
22797 }
22798 _ACEOF
22799 rm -f conftest.$ac_objext conftest$ac_exeext
22800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22801 (eval $ac_link) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } &&
22805 { ac_try='test -s conftest$ac_exeext'
22806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22807 (eval $ac_try) 2>&5
22808 ac_status=$?
22809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22810 (exit $ac_status); }; }; then
22811 ac_R_nospace=yes
22812 else
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22815
22816 ac_R_nospace=no
22817 fi
22818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22819 if test $ac_R_nospace = yes; then
22820 echo "$as_me:$LINENO: result: no" >&5
22821 echo "${ECHO_T}no" >&6
22822 X_LIBS="$X_LIBS -R$x_libraries"
22823 else
22824 LIBS="$ac_xsave_LIBS -R $x_libraries"
22825 cat >conftest.$ac_ext <<_ACEOF
22826 #line $LINENO "configure"
22827 /* confdefs.h. */
22828 _ACEOF
22829 cat confdefs.h >>conftest.$ac_ext
22830 cat >>conftest.$ac_ext <<_ACEOF
22831 /* end confdefs.h. */
22832
22833 int
22834 main ()
22835 {
22836
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest.$ac_objext conftest$ac_exeext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22843 (eval $ac_link) 2>&5
22844 ac_status=$?
22845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22846 (exit $ac_status); } &&
22847 { ac_try='test -s conftest$ac_exeext'
22848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22849 (eval $ac_try) 2>&5
22850 ac_status=$?
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); }; }; then
22853 ac_R_space=yes
22854 else
22855 echo "$as_me: failed program was:" >&5
22856 sed 's/^/| /' conftest.$ac_ext >&5
22857
22858 ac_R_space=no
22859 fi
22860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22861 if test $ac_R_space = yes; then
22862 echo "$as_me:$LINENO: result: yes" >&5
22863 echo "${ECHO_T}yes" >&6
22864 X_LIBS="$X_LIBS -R $x_libraries"
22865 else
22866 echo "$as_me:$LINENO: result: neither works" >&5
22867 echo "${ECHO_T}neither works" >&6
22868 fi
22869 fi
22870 LIBS=$ac_xsave_LIBS
22871 esac
22872 fi
22873
22874 # Check for system-dependent libraries X programs must link with.
22875 # Do this before checking for the system-independent R6 libraries
22876 # (-lICE), since we may need -lsocket or whatever for X linking.
22877
22878 if test "$ISC" = yes; then
22879 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22880 else
22881 # Martyn Johnson says this is needed for Ultrix, if the X
22882 # libraries were built with DECnet support. And Karl Berry says
22883 # the Alpha needs dnet_stub (dnet does not exist).
22884 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22885 cat >conftest.$ac_ext <<_ACEOF
22886 #line $LINENO "configure"
22887 /* confdefs.h. */
22888 _ACEOF
22889 cat confdefs.h >>conftest.$ac_ext
22890 cat >>conftest.$ac_ext <<_ACEOF
22891 /* end confdefs.h. */
22892
22893 /* Override any gcc2 internal prototype to avoid an error. */
22894 #ifdef __cplusplus
22895 extern "C"
22896 #endif
22897 /* We use char because int might match the return type of a gcc2
22898 builtin and then its argument prototype would still apply. */
22899 char XOpenDisplay ();
22900 int
22901 main ()
22902 {
22903 XOpenDisplay ();
22904 ;
22905 return 0;
22906 }
22907 _ACEOF
22908 rm -f conftest.$ac_objext conftest$ac_exeext
22909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22910 (eval $ac_link) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -s conftest$ac_exeext'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; }; then
22920 :
22921 else
22922 echo "$as_me: failed program was:" >&5
22923 sed 's/^/| /' conftest.$ac_ext >&5
22924
22925 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
22926 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
22927 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 else
22930 ac_check_lib_save_LIBS=$LIBS
22931 LIBS="-ldnet $LIBS"
22932 cat >conftest.$ac_ext <<_ACEOF
22933 #line $LINENO "configure"
22934 /* confdefs.h. */
22935 _ACEOF
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22939
22940 /* Override any gcc2 internal prototype to avoid an error. */
22941 #ifdef __cplusplus
22942 extern "C"
22943 #endif
22944 /* We use char because int might match the return type of a gcc2
22945 builtin and then its argument prototype would still apply. */
22946 char dnet_ntoa ();
22947 int
22948 main ()
22949 {
22950 dnet_ntoa ();
22951 ;
22952 return 0;
22953 }
22954 _ACEOF
22955 rm -f conftest.$ac_objext conftest$ac_exeext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22957 (eval $ac_link) 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } &&
22961 { ac_try='test -s conftest$ac_exeext'
22962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22963 (eval $ac_try) 2>&5
22964 ac_status=$?
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); }; }; then
22967 ac_cv_lib_dnet_dnet_ntoa=yes
22968 else
22969 echo "$as_me: failed program was:" >&5
22970 sed 's/^/| /' conftest.$ac_ext >&5
22971
22972 ac_cv_lib_dnet_dnet_ntoa=no
22973 fi
22974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22975 LIBS=$ac_check_lib_save_LIBS
22976 fi
22977 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22978 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
22979 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
22980 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22981 fi
22982
22983 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22984 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
22985 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
22986 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
22987 echo $ECHO_N "(cached) $ECHO_C" >&6
22988 else
22989 ac_check_lib_save_LIBS=$LIBS
22990 LIBS="-ldnet_stub $LIBS"
22991 cat >conftest.$ac_ext <<_ACEOF
22992 #line $LINENO "configure"
22993 /* confdefs.h. */
22994 _ACEOF
22995 cat confdefs.h >>conftest.$ac_ext
22996 cat >>conftest.$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998
22999 /* Override any gcc2 internal prototype to avoid an error. */
23000 #ifdef __cplusplus
23001 extern "C"
23002 #endif
23003 /* We use char because int might match the return type of a gcc2
23004 builtin and then its argument prototype would still apply. */
23005 char dnet_ntoa ();
23006 int
23007 main ()
23008 {
23009 dnet_ntoa ();
23010 ;
23011 return 0;
23012 }
23013 _ACEOF
23014 rm -f conftest.$ac_objext conftest$ac_exeext
23015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23016 (eval $ac_link) 2>&5
23017 ac_status=$?
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); } &&
23020 { ac_try='test -s conftest$ac_exeext'
23021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23022 (eval $ac_try) 2>&5
23023 ac_status=$?
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); }; }; then
23026 ac_cv_lib_dnet_stub_dnet_ntoa=yes
23027 else
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23030
23031 ac_cv_lib_dnet_stub_dnet_ntoa=no
23032 fi
23033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23034 LIBS=$ac_check_lib_save_LIBS
23035 fi
23036 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
23037 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
23038 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
23039 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
23040 fi
23041
23042 fi
23043 fi
23044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23045 LIBS="$ac_xsave_LIBS"
23046
23047 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
23048 # to get the SysV transport functions.
23049 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
23050 # needs -lnsl.
23051 # The nsl library prevents programs from opening the X display
23052 # on Irix 5.2, according to T.E. Dickey.
23053 # The functions gethostbyname, getservbyname, and inet_addr are
23054 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
23055 echo "$as_me:$LINENO: checking for gethostbyname" >&5
23056 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
23057 if test "${ac_cv_func_gethostbyname+set}" = set; then
23058 echo $ECHO_N "(cached) $ECHO_C" >&6
23059 else
23060 cat >conftest.$ac_ext <<_ACEOF
23061 #line $LINENO "configure"
23062 /* confdefs.h. */
23063 _ACEOF
23064 cat confdefs.h >>conftest.$ac_ext
23065 cat >>conftest.$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23067 /* System header to define __stub macros and hopefully few prototypes,
23068 which can conflict with char gethostbyname (); below.
23069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23070 <limits.h> exists even on freestanding compilers. */
23071 #ifdef __STDC__
23072 # include <limits.h>
23073 #else
23074 # include <assert.h>
23075 #endif
23076 /* Override any gcc2 internal prototype to avoid an error. */
23077 #ifdef __cplusplus
23078 extern "C"
23079 {
23080 #endif
23081 /* We use char because int might match the return type of a gcc2
23082 builtin and then its argument prototype would still apply. */
23083 char gethostbyname ();
23084 /* The GNU C library defines this for functions which it implements
23085 to always fail with ENOSYS. Some functions are actually named
23086 something starting with __ and the normal name is an alias. */
23087 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
23088 choke me
23089 #else
23090 char (*f) () = gethostbyname;
23091 #endif
23092 #ifdef __cplusplus
23093 }
23094 #endif
23095
23096 int
23097 main ()
23098 {
23099 return f != gethostbyname;
23100 ;
23101 return 0;
23102 }
23103 _ACEOF
23104 rm -f conftest.$ac_objext conftest$ac_exeext
23105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23106 (eval $ac_link) 2>&5
23107 ac_status=$?
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try='test -s conftest$ac_exeext'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; }; then
23116 ac_cv_func_gethostbyname=yes
23117 else
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23120
23121 ac_cv_func_gethostbyname=no
23122 fi
23123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23124 fi
23125 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
23126 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
23127
23128 if test $ac_cv_func_gethostbyname = no; then
23129 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
23130 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
23131 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
23132 echo $ECHO_N "(cached) $ECHO_C" >&6
23133 else
23134 ac_check_lib_save_LIBS=$LIBS
23135 LIBS="-lnsl $LIBS"
23136 cat >conftest.$ac_ext <<_ACEOF
23137 #line $LINENO "configure"
23138 /* confdefs.h. */
23139 _ACEOF
23140 cat confdefs.h >>conftest.$ac_ext
23141 cat >>conftest.$ac_ext <<_ACEOF
23142 /* end confdefs.h. */
23143
23144 /* Override any gcc2 internal prototype to avoid an error. */
23145 #ifdef __cplusplus
23146 extern "C"
23147 #endif
23148 /* We use char because int might match the return type of a gcc2
23149 builtin and then its argument prototype would still apply. */
23150 char gethostbyname ();
23151 int
23152 main ()
23153 {
23154 gethostbyname ();
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext conftest$ac_exeext
23160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23161 (eval $ac_link) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try='test -s conftest$ac_exeext'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23168 ac_status=$?
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; }; then
23171 ac_cv_lib_nsl_gethostbyname=yes
23172 else
23173 echo "$as_me: failed program was:" >&5
23174 sed 's/^/| /' conftest.$ac_ext >&5
23175
23176 ac_cv_lib_nsl_gethostbyname=no
23177 fi
23178 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23179 LIBS=$ac_check_lib_save_LIBS
23180 fi
23181 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
23182 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
23183 if test $ac_cv_lib_nsl_gethostbyname = yes; then
23184 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23185 fi
23186
23187 if test $ac_cv_lib_nsl_gethostbyname = no; then
23188 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
23189 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
23190 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23193 ac_check_lib_save_LIBS=$LIBS
23194 LIBS="-lbsd $LIBS"
23195 cat >conftest.$ac_ext <<_ACEOF
23196 #line $LINENO "configure"
23197 /* confdefs.h. */
23198 _ACEOF
23199 cat confdefs.h >>conftest.$ac_ext
23200 cat >>conftest.$ac_ext <<_ACEOF
23201 /* end confdefs.h. */
23202
23203 /* Override any gcc2 internal prototype to avoid an error. */
23204 #ifdef __cplusplus
23205 extern "C"
23206 #endif
23207 /* We use char because int might match the return type of a gcc2
23208 builtin and then its argument prototype would still apply. */
23209 char gethostbyname ();
23210 int
23211 main ()
23212 {
23213 gethostbyname ();
23214 ;
23215 return 0;
23216 }
23217 _ACEOF
23218 rm -f conftest.$ac_objext conftest$ac_exeext
23219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23220 (eval $ac_link) 2>&5
23221 ac_status=$?
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -s conftest$ac_exeext'
23225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23226 (eval $ac_try) 2>&5
23227 ac_status=$?
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; }; then
23230 ac_cv_lib_bsd_gethostbyname=yes
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23234
23235 ac_cv_lib_bsd_gethostbyname=no
23236 fi
23237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23238 LIBS=$ac_check_lib_save_LIBS
23239 fi
23240 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
23241 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
23242 if test $ac_cv_lib_bsd_gethostbyname = yes; then
23243 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23244 fi
23245
23246 fi
23247 fi
23248
23249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23250 # socket/setsockopt and other routines are undefined under SCO ODT
23251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23252 # on later versions), says Simon Leinen: it contains gethostby*
23253 # variants that don't use the name server (or something). -lsocket
23254 # must be given before -lnsl if both are needed. We assume that
23255 # if connect needs -lnsl, so does gethostbyname.
23256 echo "$as_me:$LINENO: checking for connect" >&5
23257 echo $ECHO_N "checking for connect... $ECHO_C" >&6
23258 if test "${ac_cv_func_connect+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261 cat >conftest.$ac_ext <<_ACEOF
23262 #line $LINENO "configure"
23263 /* confdefs.h. */
23264 _ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 /* System header to define __stub macros and hopefully few prototypes,
23269 which can conflict with char connect (); below.
23270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23271 <limits.h> exists even on freestanding compilers. */
23272 #ifdef __STDC__
23273 # include <limits.h>
23274 #else
23275 # include <assert.h>
23276 #endif
23277 /* Override any gcc2 internal prototype to avoid an error. */
23278 #ifdef __cplusplus
23279 extern "C"
23280 {
23281 #endif
23282 /* We use char because int might match the return type of a gcc2
23283 builtin and then its argument prototype would still apply. */
23284 char connect ();
23285 /* The GNU C library defines this for functions which it implements
23286 to always fail with ENOSYS. Some functions are actually named
23287 something starting with __ and the normal name is an alias. */
23288 #if defined (__stub_connect) || defined (__stub___connect)
23289 choke me
23290 #else
23291 char (*f) () = connect;
23292 #endif
23293 #ifdef __cplusplus
23294 }
23295 #endif
23296
23297 int
23298 main ()
23299 {
23300 return f != connect;
23301 ;
23302 return 0;
23303 }
23304 _ACEOF
23305 rm -f conftest.$ac_objext conftest$ac_exeext
23306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23307 (eval $ac_link) 2>&5
23308 ac_status=$?
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try='test -s conftest$ac_exeext'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; }; then
23317 ac_cv_func_connect=yes
23318 else
23319 echo "$as_me: failed program was:" >&5
23320 sed 's/^/| /' conftest.$ac_ext >&5
23321
23322 ac_cv_func_connect=no
23323 fi
23324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23325 fi
23326 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
23327 echo "${ECHO_T}$ac_cv_func_connect" >&6
23328
23329 if test $ac_cv_func_connect = no; then
23330 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
23331 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
23332 if test "${ac_cv_lib_socket_connect+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23334 else
23335 ac_check_lib_save_LIBS=$LIBS
23336 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23337 cat >conftest.$ac_ext <<_ACEOF
23338 #line $LINENO "configure"
23339 /* confdefs.h. */
23340 _ACEOF
23341 cat confdefs.h >>conftest.$ac_ext
23342 cat >>conftest.$ac_ext <<_ACEOF
23343 /* end confdefs.h. */
23344
23345 /* Override any gcc2 internal prototype to avoid an error. */
23346 #ifdef __cplusplus
23347 extern "C"
23348 #endif
23349 /* We use char because int might match the return type of a gcc2
23350 builtin and then its argument prototype would still apply. */
23351 char connect ();
23352 int
23353 main ()
23354 {
23355 connect ();
23356 ;
23357 return 0;
23358 }
23359 _ACEOF
23360 rm -f conftest.$ac_objext conftest$ac_exeext
23361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23362 (eval $ac_link) 2>&5
23363 ac_status=$?
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); } &&
23366 { ac_try='test -s conftest$ac_exeext'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23369 ac_status=$?
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_lib_socket_connect=yes
23373 else
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23376
23377 ac_cv_lib_socket_connect=no
23378 fi
23379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23380 LIBS=$ac_check_lib_save_LIBS
23381 fi
23382 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
23383 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
23384 if test $ac_cv_lib_socket_connect = yes; then
23385 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23386 fi
23387
23388 fi
23389
23390 # Guillermo Gomez says -lposix is necessary on A/UX.
23391 echo "$as_me:$LINENO: checking for remove" >&5
23392 echo $ECHO_N "checking for remove... $ECHO_C" >&6
23393 if test "${ac_cv_func_remove+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23395 else
23396 cat >conftest.$ac_ext <<_ACEOF
23397 #line $LINENO "configure"
23398 /* confdefs.h. */
23399 _ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403 /* System header to define __stub macros and hopefully few prototypes,
23404 which can conflict with char remove (); below.
23405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23406 <limits.h> exists even on freestanding compilers. */
23407 #ifdef __STDC__
23408 # include <limits.h>
23409 #else
23410 # include <assert.h>
23411 #endif
23412 /* Override any gcc2 internal prototype to avoid an error. */
23413 #ifdef __cplusplus
23414 extern "C"
23415 {
23416 #endif
23417 /* We use char because int might match the return type of a gcc2
23418 builtin and then its argument prototype would still apply. */
23419 char remove ();
23420 /* The GNU C library defines this for functions which it implements
23421 to always fail with ENOSYS. Some functions are actually named
23422 something starting with __ and the normal name is an alias. */
23423 #if defined (__stub_remove) || defined (__stub___remove)
23424 choke me
23425 #else
23426 char (*f) () = remove;
23427 #endif
23428 #ifdef __cplusplus
23429 }
23430 #endif
23431
23432 int
23433 main ()
23434 {
23435 return f != remove;
23436 ;
23437 return 0;
23438 }
23439 _ACEOF
23440 rm -f conftest.$ac_objext conftest$ac_exeext
23441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23442 (eval $ac_link) 2>&5
23443 ac_status=$?
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try='test -s conftest$ac_exeext'
23447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23448 (eval $ac_try) 2>&5
23449 ac_status=$?
23450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23451 (exit $ac_status); }; }; then
23452 ac_cv_func_remove=yes
23453 else
23454 echo "$as_me: failed program was:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23456
23457 ac_cv_func_remove=no
23458 fi
23459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23460 fi
23461 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
23462 echo "${ECHO_T}$ac_cv_func_remove" >&6
23463
23464 if test $ac_cv_func_remove = no; then
23465 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
23466 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
23467 if test "${ac_cv_lib_posix_remove+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 else
23470 ac_check_lib_save_LIBS=$LIBS
23471 LIBS="-lposix $LIBS"
23472 cat >conftest.$ac_ext <<_ACEOF
23473 #line $LINENO "configure"
23474 /* confdefs.h. */
23475 _ACEOF
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479
23480 /* Override any gcc2 internal prototype to avoid an error. */
23481 #ifdef __cplusplus
23482 extern "C"
23483 #endif
23484 /* We use char because int might match the return type of a gcc2
23485 builtin and then its argument prototype would still apply. */
23486 char remove ();
23487 int
23488 main ()
23489 {
23490 remove ();
23491 ;
23492 return 0;
23493 }
23494 _ACEOF
23495 rm -f conftest.$ac_objext conftest$ac_exeext
23496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23497 (eval $ac_link) 2>&5
23498 ac_status=$?
23499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23500 (exit $ac_status); } &&
23501 { ac_try='test -s conftest$ac_exeext'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23504 ac_status=$?
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; }; then
23507 ac_cv_lib_posix_remove=yes
23508 else
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.$ac_ext >&5
23511
23512 ac_cv_lib_posix_remove=no
23513 fi
23514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23515 LIBS=$ac_check_lib_save_LIBS
23516 fi
23517 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
23518 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
23519 if test $ac_cv_lib_posix_remove = yes; then
23520 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23521 fi
23522
23523 fi
23524
23525 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23526 echo "$as_me:$LINENO: checking for shmat" >&5
23527 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
23528 if test "${ac_cv_func_shmat+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 else
23531 cat >conftest.$ac_ext <<_ACEOF
23532 #line $LINENO "configure"
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538 /* System header to define __stub macros and hopefully few prototypes,
23539 which can conflict with char shmat (); below.
23540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23541 <limits.h> exists even on freestanding compilers. */
23542 #ifdef __STDC__
23543 # include <limits.h>
23544 #else
23545 # include <assert.h>
23546 #endif
23547 /* Override any gcc2 internal prototype to avoid an error. */
23548 #ifdef __cplusplus
23549 extern "C"
23550 {
23551 #endif
23552 /* We use char because int might match the return type of a gcc2
23553 builtin and then its argument prototype would still apply. */
23554 char shmat ();
23555 /* The GNU C library defines this for functions which it implements
23556 to always fail with ENOSYS. Some functions are actually named
23557 something starting with __ and the normal name is an alias. */
23558 #if defined (__stub_shmat) || defined (__stub___shmat)
23559 choke me
23560 #else
23561 char (*f) () = shmat;
23562 #endif
23563 #ifdef __cplusplus
23564 }
23565 #endif
23566
23567 int
23568 main ()
23569 {
23570 return f != shmat;
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 rm -f conftest.$ac_objext conftest$ac_exeext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>&5
23578 ac_status=$?
23579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23580 (exit $ac_status); } &&
23581 { ac_try='test -s conftest$ac_exeext'
23582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23583 (eval $ac_try) 2>&5
23584 ac_status=$?
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); }; }; then
23587 ac_cv_func_shmat=yes
23588 else
23589 echo "$as_me: failed program was:" >&5
23590 sed 's/^/| /' conftest.$ac_ext >&5
23591
23592 ac_cv_func_shmat=no
23593 fi
23594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23595 fi
23596 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
23597 echo "${ECHO_T}$ac_cv_func_shmat" >&6
23598
23599 if test $ac_cv_func_shmat = no; then
23600 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
23601 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
23602 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
23603 echo $ECHO_N "(cached) $ECHO_C" >&6
23604 else
23605 ac_check_lib_save_LIBS=$LIBS
23606 LIBS="-lipc $LIBS"
23607 cat >conftest.$ac_ext <<_ACEOF
23608 #line $LINENO "configure"
23609 /* confdefs.h. */
23610 _ACEOF
23611 cat confdefs.h >>conftest.$ac_ext
23612 cat >>conftest.$ac_ext <<_ACEOF
23613 /* end confdefs.h. */
23614
23615 /* Override any gcc2 internal prototype to avoid an error. */
23616 #ifdef __cplusplus
23617 extern "C"
23618 #endif
23619 /* We use char because int might match the return type of a gcc2
23620 builtin and then its argument prototype would still apply. */
23621 char shmat ();
23622 int
23623 main ()
23624 {
23625 shmat ();
23626 ;
23627 return 0;
23628 }
23629 _ACEOF
23630 rm -f conftest.$ac_objext conftest$ac_exeext
23631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23632 (eval $ac_link) 2>&5
23633 ac_status=$?
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } &&
23636 { ac_try='test -s conftest$ac_exeext'
23637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638 (eval $ac_try) 2>&5
23639 ac_status=$?
23640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641 (exit $ac_status); }; }; then
23642 ac_cv_lib_ipc_shmat=yes
23643 else
23644 echo "$as_me: failed program was:" >&5
23645 sed 's/^/| /' conftest.$ac_ext >&5
23646
23647 ac_cv_lib_ipc_shmat=no
23648 fi
23649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23650 LIBS=$ac_check_lib_save_LIBS
23651 fi
23652 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
23653 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
23654 if test $ac_cv_lib_ipc_shmat = yes; then
23655 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23656 fi
23657
23658 fi
23659 fi
23660
23661 # Check for libraries that X11R6 Xt/Xaw programs need.
23662 ac_save_LDFLAGS=$LDFLAGS
23663 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23664 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23665 # check for ICE first), but we must link in the order -lSM -lICE or
23666 # we get undefined symbols. So assume we have SM if we have ICE.
23667 # These have to be linked with before -lX11, unlike the other
23668 # libraries we check for below, so use a different variable.
23669 # John Interrante, Karl Berry
23670 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
23671 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
23672 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
23673 echo $ECHO_N "(cached) $ECHO_C" >&6
23674 else
23675 ac_check_lib_save_LIBS=$LIBS
23676 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23677 cat >conftest.$ac_ext <<_ACEOF
23678 #line $LINENO "configure"
23679 /* confdefs.h. */
23680 _ACEOF
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23684
23685 /* Override any gcc2 internal prototype to avoid an error. */
23686 #ifdef __cplusplus
23687 extern "C"
23688 #endif
23689 /* We use char because int might match the return type of a gcc2
23690 builtin and then its argument prototype would still apply. */
23691 char IceConnectionNumber ();
23692 int
23693 main ()
23694 {
23695 IceConnectionNumber ();
23696 ;
23697 return 0;
23698 }
23699 _ACEOF
23700 rm -f conftest.$ac_objext conftest$ac_exeext
23701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23702 (eval $ac_link) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); } &&
23706 { ac_try='test -s conftest$ac_exeext'
23707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708 (eval $ac_try) 2>&5
23709 ac_status=$?
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); }; }; then
23712 ac_cv_lib_ICE_IceConnectionNumber=yes
23713 else
23714 echo "$as_me: failed program was:" >&5
23715 sed 's/^/| /' conftest.$ac_ext >&5
23716
23717 ac_cv_lib_ICE_IceConnectionNumber=no
23718 fi
23719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23720 LIBS=$ac_check_lib_save_LIBS
23721 fi
23722 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23723 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
23724 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
23725 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23726 fi
23727
23728 LDFLAGS=$ac_save_LDFLAGS
23729
23730 fi
23731
23732
23733 if test "$no_x" = "yes"; then
23734 { { echo "$as_me:$LINENO: error: X11 not found" >&5
23735 echo "$as_me: error: X11 not found" >&2;}
23736 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
23737 fi
23738
23739 GUI_TK_LIBRARY="$X_LIBS"
23740 TOOLKIT_INCLUDE="$X_CFLAGS"
23741 AFMINSTALL=afminstall
23742 COMPILED_X_PROGRAM=0
23743
23744 if test "$wxUSE_NANOX" = "yes"; then
23745 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
23746 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
23747 if test "x$MICROWIN" = x ; then
23748 echo "$as_me:$LINENO: result: not found" >&5
23749 echo "${ECHO_T}not found" >&6
23750 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
23751 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
23752 { (exit 1); exit 1; }; }
23753 else
23754 echo "$as_me:$LINENO: result: $MICROWIN" >&5
23755 echo "${ECHO_T}$MICROWIN" >&6
23756 cat >>confdefs.h <<\_ACEOF
23757 #define wxUSE_NANOX 1
23758 _ACEOF
23759
23760 fi
23761 fi
23762
23763 if test "$wxUSE_UNICODE" = "yes"; then
23764
23765 succeeded=no
23766
23767 if test -z "$PKG_CONFIG"; then
23768 # Extract the first word of "pkg-config", so it can be a program name with args.
23769 set dummy pkg-config; ac_word=$2
23770 echo "$as_me:$LINENO: checking for $ac_word" >&5
23771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23772 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23773 echo $ECHO_N "(cached) $ECHO_C" >&6
23774 else
23775 case $PKG_CONFIG in
23776 [\\/]* | ?:[\\/]*)
23777 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23778 ;;
23779 *)
23780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23781 for as_dir in $PATH
23782 do
23783 IFS=$as_save_IFS
23784 test -z "$as_dir" && as_dir=.
23785 for ac_exec_ext in '' $ac_executable_extensions; do
23786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23787 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23789 break 2
23790 fi
23791 done
23792 done
23793
23794 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23795 ;;
23796 esac
23797 fi
23798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23799
23800 if test -n "$PKG_CONFIG"; then
23801 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23802 echo "${ECHO_T}$PKG_CONFIG" >&6
23803 else
23804 echo "$as_me:$LINENO: result: no" >&5
23805 echo "${ECHO_T}no" >&6
23806 fi
23807
23808 fi
23809
23810 if test "$PKG_CONFIG" = "no" ; then
23811 echo "*** The pkg-config script could not be found. Make sure it is"
23812 echo "*** in your path, or set the PKG_CONFIG environment variable"
23813 echo "*** to the full path to pkg-config."
23814 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23815 else
23816 PKG_CONFIG_MIN_VERSION=0.9.0
23817 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23818 echo "$as_me:$LINENO: checking for pangox" >&5
23819 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
23820
23821 if $PKG_CONFIG --exists "pangox" ; then
23822 echo "$as_me:$LINENO: result: yes" >&5
23823 echo "${ECHO_T}yes" >&6
23824 succeeded=yes
23825
23826 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
23827 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
23828 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
23829 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
23830 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
23831
23832 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
23833 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
23834 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
23835 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
23836 echo "${ECHO_T}$PANGOX_LIBS" >&6
23837 else
23838 PANGOX_CFLAGS=""
23839 PANGOX_LIBS=""
23840 ## If we have a custom action on failure, don't print errors, but
23841 ## do set a variable so people can do so.
23842 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
23843
23844 fi
23845
23846
23847
23848 else
23849 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23850 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23851 fi
23852 fi
23853
23854 if test $succeeded = yes; then
23855
23856 CXXFLAGS="$CXXFLAGS $PANGOX_CFLAGS"
23857 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
23858
23859 else
23860
23861 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
23862 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
23863 { (exit 1); exit 1; }; }
23864
23865
23866 fi
23867
23868
23869 succeeded=no
23870
23871 if test -z "$PKG_CONFIG"; then
23872 # Extract the first word of "pkg-config", so it can be a program name with args.
23873 set dummy pkg-config; ac_word=$2
23874 echo "$as_me:$LINENO: checking for $ac_word" >&5
23875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23876 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23878 else
23879 case $PKG_CONFIG in
23880 [\\/]* | ?:[\\/]*)
23881 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23882 ;;
23883 *)
23884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23885 for as_dir in $PATH
23886 do
23887 IFS=$as_save_IFS
23888 test -z "$as_dir" && as_dir=.
23889 for ac_exec_ext in '' $ac_executable_extensions; do
23890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23891 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23893 break 2
23894 fi
23895 done
23896 done
23897
23898 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
23899 ;;
23900 esac
23901 fi
23902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
23903
23904 if test -n "$PKG_CONFIG"; then
23905 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
23906 echo "${ECHO_T}$PKG_CONFIG" >&6
23907 else
23908 echo "$as_me:$LINENO: result: no" >&5
23909 echo "${ECHO_T}no" >&6
23910 fi
23911
23912 fi
23913
23914 if test "$PKG_CONFIG" = "no" ; then
23915 echo "*** The pkg-config script could not be found. Make sure it is"
23916 echo "*** in your path, or set the PKG_CONFIG environment variable"
23917 echo "*** to the full path to pkg-config."
23918 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
23919 else
23920 PKG_CONFIG_MIN_VERSION=0.9.0
23921 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
23922 echo "$as_me:$LINENO: checking for pangoft2" >&5
23923 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
23924
23925 if $PKG_CONFIG --exists "pangoft2" ; then
23926 echo "$as_me:$LINENO: result: yes" >&5
23927 echo "${ECHO_T}yes" >&6
23928 succeeded=yes
23929
23930 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
23931 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
23932 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
23933 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
23934 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
23935
23936 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
23937 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
23938 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
23939 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
23940 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
23941 else
23942 PANGOFT2_CFLAGS=""
23943 PANGOFT2_LIBS=""
23944 ## If we have a custom action on failure, don't print errors, but
23945 ## do set a variable so people can do so.
23946 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
23947
23948 fi
23949
23950
23951
23952 else
23953 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
23954 echo "*** See http://www.freedesktop.org/software/pkgconfig"
23955 fi
23956 fi
23957
23958 if test $succeeded = yes; then
23959
23960 CXXFLAGS="$CXXFLAGS $PANGOFT2_CFLAGS"
23961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
23962
23963 else
23964
23965 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
23966 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
23967 wxUSE_PRINTING_ARCHITECTURE="no"
23968
23969
23970 fi
23971
23972
23973 succeeded=no
23974
23975 if test -z "$PKG_CONFIG"; then
23976 # Extract the first word of "pkg-config", so it can be a program name with args.
23977 set dummy pkg-config; ac_word=$2
23978 echo "$as_me:$LINENO: checking for $ac_word" >&5
23979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
23980 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 else
23983 case $PKG_CONFIG in
23984 [\\/]* | ?:[\\/]*)
23985 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
23986 ;;
23987 *)
23988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23989 for as_dir in $PATH
23990 do
23991 IFS=$as_save_IFS
23992 test -z "$as_dir" && as_dir=.
23993 for ac_exec_ext in '' $ac_executable_extensions; do
23994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23995 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23997 break 2
23998 fi
23999 done
24000 done
24001
24002 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
24003 ;;
24004 esac
24005 fi
24006 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
24007
24008 if test -n "$PKG_CONFIG"; then
24009 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
24010 echo "${ECHO_T}$PKG_CONFIG" >&6
24011 else
24012 echo "$as_me:$LINENO: result: no" >&5
24013 echo "${ECHO_T}no" >&6
24014 fi
24015
24016 fi
24017
24018 if test "$PKG_CONFIG" = "no" ; then
24019 echo "*** The pkg-config script could not be found. Make sure it is"
24020 echo "*** in your path, or set the PKG_CONFIG environment variable"
24021 echo "*** to the full path to pkg-config."
24022 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
24023 else
24024 PKG_CONFIG_MIN_VERSION=0.9.0
24025 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
24026 echo "$as_me:$LINENO: checking for pangoxft" >&5
24027 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
24028
24029 if $PKG_CONFIG --exists "pangoxft" ; then
24030 echo "$as_me:$LINENO: result: yes" >&5
24031 echo "${ECHO_T}yes" >&6
24032 succeeded=yes
24033
24034 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
24035 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
24036 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
24037 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
24038 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
24039
24040 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
24041 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
24042 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
24043 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
24044 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
24045 else
24046 PANGOXFT_CFLAGS=""
24047 PANGOXFT_LIBS=""
24048 ## If we have a custom action on failure, don't print errors, but
24049 ## do set a variable so people can do so.
24050 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
24051
24052 fi
24053
24054
24055
24056 else
24057 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
24058 echo "*** See http://www.freedesktop.org/software/pkgconfig"
24059 fi
24060 fi
24061
24062 if test $succeeded = yes; then
24063
24064 CXXFLAGS="$CXXFLAGS $PANGOXFT_CFLAGS"
24065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
24066
24067 else
24068
24069 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
24070 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
24071
24072
24073 fi
24074
24075 fi
24076
24077 wxUSE_UNIVERSAL="yes"
24078
24079 if test "$wxUSE_NANOX" = "yes"; then
24080 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
24081 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"
24082 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
24083 else
24084 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
24085 fi
24086
24087 TOOLKIT_VPATH="\${top_srcdir}/src/x11"
24088 TOOLKIT=X11
24089 GUIDIST=X11_DIST
24090 fi
24091
24092 if test "$wxUSE_MOTIF" = 1; then
24093 if test "$no_x" = yes; then
24094 # Not all programs may use this symbol, but it does not hurt to define it.
24095
24096 cat >>confdefs.h <<\_ACEOF
24097 #define X_DISPLAY_MISSING 1
24098 _ACEOF
24099
24100 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24101 else
24102 if test -n "$x_includes"; then
24103 X_CFLAGS="$X_CFLAGS -I$x_includes"
24104 fi
24105
24106 # It would also be nice to do this for all -L options, not just this one.
24107 if test -n "$x_libraries"; then
24108 X_LIBS="$X_LIBS -L$x_libraries"
24109 # For Solaris; some versions of Sun CC require a space after -R and
24110 # others require no space. Words are not sufficient . . . .
24111 case `(uname -sr) 2>/dev/null` in
24112 "SunOS 5"*)
24113 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
24114 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
24115 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24116 cat >conftest.$ac_ext <<_ACEOF
24117 #line $LINENO "configure"
24118 /* confdefs.h. */
24119 _ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24123
24124 int
24125 main ()
24126 {
24127
24128 ;
24129 return 0;
24130 }
24131 _ACEOF
24132 rm -f conftest.$ac_objext conftest$ac_exeext
24133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24134 (eval $ac_link) 2>&5
24135 ac_status=$?
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } &&
24138 { ac_try='test -s conftest$ac_exeext'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24141 ac_status=$?
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; }; then
24144 ac_R_nospace=yes
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 ac_R_nospace=no
24150 fi
24151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24152 if test $ac_R_nospace = yes; then
24153 echo "$as_me:$LINENO: result: no" >&5
24154 echo "${ECHO_T}no" >&6
24155 X_LIBS="$X_LIBS -R$x_libraries"
24156 else
24157 LIBS="$ac_xsave_LIBS -R $x_libraries"
24158 cat >conftest.$ac_ext <<_ACEOF
24159 #line $LINENO "configure"
24160 /* confdefs.h. */
24161 _ACEOF
24162 cat confdefs.h >>conftest.$ac_ext
24163 cat >>conftest.$ac_ext <<_ACEOF
24164 /* end confdefs.h. */
24165
24166 int
24167 main ()
24168 {
24169
24170 ;
24171 return 0;
24172 }
24173 _ACEOF
24174 rm -f conftest.$ac_objext conftest$ac_exeext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24176 (eval $ac_link) 2>&5
24177 ac_status=$?
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try='test -s conftest$ac_exeext'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; }; then
24186 ac_R_space=yes
24187 else
24188 echo "$as_me: failed program was:" >&5
24189 sed 's/^/| /' conftest.$ac_ext >&5
24190
24191 ac_R_space=no
24192 fi
24193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24194 if test $ac_R_space = yes; then
24195 echo "$as_me:$LINENO: result: yes" >&5
24196 echo "${ECHO_T}yes" >&6
24197 X_LIBS="$X_LIBS -R $x_libraries"
24198 else
24199 echo "$as_me:$LINENO: result: neither works" >&5
24200 echo "${ECHO_T}neither works" >&6
24201 fi
24202 fi
24203 LIBS=$ac_xsave_LIBS
24204 esac
24205 fi
24206
24207 # Check for system-dependent libraries X programs must link with.
24208 # Do this before checking for the system-independent R6 libraries
24209 # (-lICE), since we may need -lsocket or whatever for X linking.
24210
24211 if test "$ISC" = yes; then
24212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24213 else
24214 # Martyn Johnson says this is needed for Ultrix, if the X
24215 # libraries were built with DECnet support. And Karl Berry says
24216 # the Alpha needs dnet_stub (dnet does not exist).
24217 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24218 cat >conftest.$ac_ext <<_ACEOF
24219 #line $LINENO "configure"
24220 /* confdefs.h. */
24221 _ACEOF
24222 cat confdefs.h >>conftest.$ac_ext
24223 cat >>conftest.$ac_ext <<_ACEOF
24224 /* end confdefs.h. */
24225
24226 /* Override any gcc2 internal prototype to avoid an error. */
24227 #ifdef __cplusplus
24228 extern "C"
24229 #endif
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24232 char XOpenDisplay ();
24233 int
24234 main ()
24235 {
24236 XOpenDisplay ();
24237 ;
24238 return 0;
24239 }
24240 _ACEOF
24241 rm -f conftest.$ac_objext conftest$ac_exeext
24242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24243 (eval $ac_link) 2>&5
24244 ac_status=$?
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } &&
24247 { ac_try='test -s conftest$ac_exeext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24250 ac_status=$?
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 :
24254 else
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.$ac_ext >&5
24257
24258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
24259 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
24260 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
24261 echo $ECHO_N "(cached) $ECHO_C" >&6
24262 else
24263 ac_check_lib_save_LIBS=$LIBS
24264 LIBS="-ldnet $LIBS"
24265 cat >conftest.$ac_ext <<_ACEOF
24266 #line $LINENO "configure"
24267 /* confdefs.h. */
24268 _ACEOF
24269 cat confdefs.h >>conftest.$ac_ext
24270 cat >>conftest.$ac_ext <<_ACEOF
24271 /* end confdefs.h. */
24272
24273 /* Override any gcc2 internal prototype to avoid an error. */
24274 #ifdef __cplusplus
24275 extern "C"
24276 #endif
24277 /* We use char because int might match the return type of a gcc2
24278 builtin and then its argument prototype would still apply. */
24279 char dnet_ntoa ();
24280 int
24281 main ()
24282 {
24283 dnet_ntoa ();
24284 ;
24285 return 0;
24286 }
24287 _ACEOF
24288 rm -f conftest.$ac_objext conftest$ac_exeext
24289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24290 (eval $ac_link) 2>&5
24291 ac_status=$?
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } &&
24294 { ac_try='test -s conftest$ac_exeext'
24295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24296 (eval $ac_try) 2>&5
24297 ac_status=$?
24298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24299 (exit $ac_status); }; }; then
24300 ac_cv_lib_dnet_dnet_ntoa=yes
24301 else
24302 echo "$as_me: failed program was:" >&5
24303 sed 's/^/| /' conftest.$ac_ext >&5
24304
24305 ac_cv_lib_dnet_dnet_ntoa=no
24306 fi
24307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24308 LIBS=$ac_check_lib_save_LIBS
24309 fi
24310 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24311 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
24312 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
24313 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24314 fi
24315
24316 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24317 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
24318 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
24319 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
24320 echo $ECHO_N "(cached) $ECHO_C" >&6
24321 else
24322 ac_check_lib_save_LIBS=$LIBS
24323 LIBS="-ldnet_stub $LIBS"
24324 cat >conftest.$ac_ext <<_ACEOF
24325 #line $LINENO "configure"
24326 /* confdefs.h. */
24327 _ACEOF
24328 cat confdefs.h >>conftest.$ac_ext
24329 cat >>conftest.$ac_ext <<_ACEOF
24330 /* end confdefs.h. */
24331
24332 /* Override any gcc2 internal prototype to avoid an error. */
24333 #ifdef __cplusplus
24334 extern "C"
24335 #endif
24336 /* We use char because int might match the return type of a gcc2
24337 builtin and then its argument prototype would still apply. */
24338 char dnet_ntoa ();
24339 int
24340 main ()
24341 {
24342 dnet_ntoa ();
24343 ;
24344 return 0;
24345 }
24346 _ACEOF
24347 rm -f conftest.$ac_objext conftest$ac_exeext
24348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24349 (eval $ac_link) 2>&5
24350 ac_status=$?
24351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24352 (exit $ac_status); } &&
24353 { ac_try='test -s conftest$ac_exeext'
24354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24355 (eval $ac_try) 2>&5
24356 ac_status=$?
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); }; }; then
24359 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24360 else
24361 echo "$as_me: failed program was:" >&5
24362 sed 's/^/| /' conftest.$ac_ext >&5
24363
24364 ac_cv_lib_dnet_stub_dnet_ntoa=no
24365 fi
24366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24367 LIBS=$ac_check_lib_save_LIBS
24368 fi
24369 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24370 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
24371 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
24372 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24373 fi
24374
24375 fi
24376 fi
24377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24378 LIBS="$ac_xsave_LIBS"
24379
24380 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24381 # to get the SysV transport functions.
24382 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24383 # needs -lnsl.
24384 # The nsl library prevents programs from opening the X display
24385 # on Irix 5.2, according to T.E. Dickey.
24386 # The functions gethostbyname, getservbyname, and inet_addr are
24387 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24388 echo "$as_me:$LINENO: checking for gethostbyname" >&5
24389 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
24390 if test "${ac_cv_func_gethostbyname+set}" = set; then
24391 echo $ECHO_N "(cached) $ECHO_C" >&6
24392 else
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line $LINENO "configure"
24395 /* confdefs.h. */
24396 _ACEOF
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 /* System header to define __stub macros and hopefully few prototypes,
24401 which can conflict with char gethostbyname (); below.
24402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24403 <limits.h> exists even on freestanding compilers. */
24404 #ifdef __STDC__
24405 # include <limits.h>
24406 #else
24407 # include <assert.h>
24408 #endif
24409 /* Override any gcc2 internal prototype to avoid an error. */
24410 #ifdef __cplusplus
24411 extern "C"
24412 {
24413 #endif
24414 /* We use char because int might match the return type of a gcc2
24415 builtin and then its argument prototype would still apply. */
24416 char gethostbyname ();
24417 /* The GNU C library defines this for functions which it implements
24418 to always fail with ENOSYS. Some functions are actually named
24419 something starting with __ and the normal name is an alias. */
24420 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
24421 choke me
24422 #else
24423 char (*f) () = gethostbyname;
24424 #endif
24425 #ifdef __cplusplus
24426 }
24427 #endif
24428
24429 int
24430 main ()
24431 {
24432 return f != gethostbyname;
24433 ;
24434 return 0;
24435 }
24436 _ACEOF
24437 rm -f conftest.$ac_objext conftest$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>&5
24440 ac_status=$?
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); } &&
24443 { ac_try='test -s conftest$ac_exeext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24446 ac_status=$?
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 ac_cv_func_gethostbyname=yes
24450 else
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24453
24454 ac_cv_func_gethostbyname=no
24455 fi
24456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24457 fi
24458 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
24459 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
24460
24461 if test $ac_cv_func_gethostbyname = no; then
24462 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
24463 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
24464 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
24465 echo $ECHO_N "(cached) $ECHO_C" >&6
24466 else
24467 ac_check_lib_save_LIBS=$LIBS
24468 LIBS="-lnsl $LIBS"
24469 cat >conftest.$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24471 /* confdefs.h. */
24472 _ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476
24477 /* Override any gcc2 internal prototype to avoid an error. */
24478 #ifdef __cplusplus
24479 extern "C"
24480 #endif
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24483 char gethostbyname ();
24484 int
24485 main ()
24486 {
24487 gethostbyname ();
24488 ;
24489 return 0;
24490 }
24491 _ACEOF
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); } &&
24498 { ac_try='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_nsl_gethostbyname=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24508
24509 ac_cv_lib_nsl_gethostbyname=no
24510 fi
24511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24512 LIBS=$ac_check_lib_save_LIBS
24513 fi
24514 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
24515 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
24516 if test $ac_cv_lib_nsl_gethostbyname = yes; then
24517 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24518 fi
24519
24520 if test $ac_cv_lib_nsl_gethostbyname = no; then
24521 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
24522 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
24523 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
24524 echo $ECHO_N "(cached) $ECHO_C" >&6
24525 else
24526 ac_check_lib_save_LIBS=$LIBS
24527 LIBS="-lbsd $LIBS"
24528 cat >conftest.$ac_ext <<_ACEOF
24529 #line $LINENO "configure"
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535
24536 /* Override any gcc2 internal prototype to avoid an error. */
24537 #ifdef __cplusplus
24538 extern "C"
24539 #endif
24540 /* We use char because int might match the return type of a gcc2
24541 builtin and then its argument prototype would still apply. */
24542 char gethostbyname ();
24543 int
24544 main ()
24545 {
24546 gethostbyname ();
24547 ;
24548 return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest.$ac_objext conftest$ac_exeext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24553 (eval $ac_link) 2>&5
24554 ac_status=$?
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -s conftest$ac_exeext'
24558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24559 (eval $ac_try) 2>&5
24560 ac_status=$?
24561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24562 (exit $ac_status); }; }; then
24563 ac_cv_lib_bsd_gethostbyname=yes
24564 else
24565 echo "$as_me: failed program was:" >&5
24566 sed 's/^/| /' conftest.$ac_ext >&5
24567
24568 ac_cv_lib_bsd_gethostbyname=no
24569 fi
24570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24571 LIBS=$ac_check_lib_save_LIBS
24572 fi
24573 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
24574 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
24575 if test $ac_cv_lib_bsd_gethostbyname = yes; then
24576 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24577 fi
24578
24579 fi
24580 fi
24581
24582 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24583 # socket/setsockopt and other routines are undefined under SCO ODT
24584 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24585 # on later versions), says Simon Leinen: it contains gethostby*
24586 # variants that don't use the name server (or something). -lsocket
24587 # must be given before -lnsl if both are needed. We assume that
24588 # if connect needs -lnsl, so does gethostbyname.
24589 echo "$as_me:$LINENO: checking for connect" >&5
24590 echo $ECHO_N "checking for connect... $ECHO_C" >&6
24591 if test "${ac_cv_func_connect+set}" = set; then
24592 echo $ECHO_N "(cached) $ECHO_C" >&6
24593 else
24594 cat >conftest.$ac_ext <<_ACEOF
24595 #line $LINENO "configure"
24596 /* confdefs.h. */
24597 _ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24601 /* System header to define __stub macros and hopefully few prototypes,
24602 which can conflict with char connect (); below.
24603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24604 <limits.h> exists even on freestanding compilers. */
24605 #ifdef __STDC__
24606 # include <limits.h>
24607 #else
24608 # include <assert.h>
24609 #endif
24610 /* Override any gcc2 internal prototype to avoid an error. */
24611 #ifdef __cplusplus
24612 extern "C"
24613 {
24614 #endif
24615 /* We use char because int might match the return type of a gcc2
24616 builtin and then its argument prototype would still apply. */
24617 char connect ();
24618 /* The GNU C library defines this for functions which it implements
24619 to always fail with ENOSYS. Some functions are actually named
24620 something starting with __ and the normal name is an alias. */
24621 #if defined (__stub_connect) || defined (__stub___connect)
24622 choke me
24623 #else
24624 char (*f) () = connect;
24625 #endif
24626 #ifdef __cplusplus
24627 }
24628 #endif
24629
24630 int
24631 main ()
24632 {
24633 return f != connect;
24634 ;
24635 return 0;
24636 }
24637 _ACEOF
24638 rm -f conftest.$ac_objext conftest$ac_exeext
24639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24640 (eval $ac_link) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); } &&
24644 { ac_try='test -s conftest$ac_exeext'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; }; then
24650 ac_cv_func_connect=yes
24651 else
24652 echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 ac_cv_func_connect=no
24656 fi
24657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24658 fi
24659 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
24660 echo "${ECHO_T}$ac_cv_func_connect" >&6
24661
24662 if test $ac_cv_func_connect = no; then
24663 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
24664 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
24665 if test "${ac_cv_lib_socket_connect+set}" = set; then
24666 echo $ECHO_N "(cached) $ECHO_C" >&6
24667 else
24668 ac_check_lib_save_LIBS=$LIBS
24669 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24670 cat >conftest.$ac_ext <<_ACEOF
24671 #line $LINENO "configure"
24672 /* confdefs.h. */
24673 _ACEOF
24674 cat confdefs.h >>conftest.$ac_ext
24675 cat >>conftest.$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24677
24678 /* Override any gcc2 internal prototype to avoid an error. */
24679 #ifdef __cplusplus
24680 extern "C"
24681 #endif
24682 /* We use char because int might match the return type of a gcc2
24683 builtin and then its argument prototype would still apply. */
24684 char connect ();
24685 int
24686 main ()
24687 {
24688 connect ();
24689 ;
24690 return 0;
24691 }
24692 _ACEOF
24693 rm -f conftest.$ac_objext conftest$ac_exeext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24695 (eval $ac_link) 2>&5
24696 ac_status=$?
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); } &&
24699 { ac_try='test -s conftest$ac_exeext'
24700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24701 (eval $ac_try) 2>&5
24702 ac_status=$?
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); }; }; then
24705 ac_cv_lib_socket_connect=yes
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24709
24710 ac_cv_lib_socket_connect=no
24711 fi
24712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24713 LIBS=$ac_check_lib_save_LIBS
24714 fi
24715 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
24716 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
24717 if test $ac_cv_lib_socket_connect = yes; then
24718 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24719 fi
24720
24721 fi
24722
24723 # Guillermo Gomez says -lposix is necessary on A/UX.
24724 echo "$as_me:$LINENO: checking for remove" >&5
24725 echo $ECHO_N "checking for remove... $ECHO_C" >&6
24726 if test "${ac_cv_func_remove+set}" = set; then
24727 echo $ECHO_N "(cached) $ECHO_C" >&6
24728 else
24729 cat >conftest.$ac_ext <<_ACEOF
24730 #line $LINENO "configure"
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 /* System header to define __stub macros and hopefully few prototypes,
24737 which can conflict with char remove (); below.
24738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24739 <limits.h> exists even on freestanding compilers. */
24740 #ifdef __STDC__
24741 # include <limits.h>
24742 #else
24743 # include <assert.h>
24744 #endif
24745 /* Override any gcc2 internal prototype to avoid an error. */
24746 #ifdef __cplusplus
24747 extern "C"
24748 {
24749 #endif
24750 /* We use char because int might match the return type of a gcc2
24751 builtin and then its argument prototype would still apply. */
24752 char remove ();
24753 /* The GNU C library defines this for functions which it implements
24754 to always fail with ENOSYS. Some functions are actually named
24755 something starting with __ and the normal name is an alias. */
24756 #if defined (__stub_remove) || defined (__stub___remove)
24757 choke me
24758 #else
24759 char (*f) () = remove;
24760 #endif
24761 #ifdef __cplusplus
24762 }
24763 #endif
24764
24765 int
24766 main ()
24767 {
24768 return f != remove;
24769 ;
24770 return 0;
24771 }
24772 _ACEOF
24773 rm -f conftest.$ac_objext conftest$ac_exeext
24774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24775 (eval $ac_link) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try='test -s conftest$ac_exeext'
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_cv_func_remove=yes
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 ac_cv_func_remove=no
24791 fi
24792 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24793 fi
24794 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
24795 echo "${ECHO_T}$ac_cv_func_remove" >&6
24796
24797 if test $ac_cv_func_remove = no; then
24798 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
24799 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
24800 if test "${ac_cv_lib_posix_remove+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 else
24803 ac_check_lib_save_LIBS=$LIBS
24804 LIBS="-lposix $LIBS"
24805 cat >conftest.$ac_ext <<_ACEOF
24806 #line $LINENO "configure"
24807 /* confdefs.h. */
24808 _ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24812
24813 /* Override any gcc2 internal prototype to avoid an error. */
24814 #ifdef __cplusplus
24815 extern "C"
24816 #endif
24817 /* We use char because int might match the return type of a gcc2
24818 builtin and then its argument prototype would still apply. */
24819 char remove ();
24820 int
24821 main ()
24822 {
24823 remove ();
24824 ;
24825 return 0;
24826 }
24827 _ACEOF
24828 rm -f conftest.$ac_objext conftest$ac_exeext
24829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24830 (eval $ac_link) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } &&
24834 { ac_try='test -s conftest$ac_exeext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840 ac_cv_lib_posix_remove=yes
24841 else
24842 echo "$as_me: failed program was:" >&5
24843 sed 's/^/| /' conftest.$ac_ext >&5
24844
24845 ac_cv_lib_posix_remove=no
24846 fi
24847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24848 LIBS=$ac_check_lib_save_LIBS
24849 fi
24850 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
24851 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
24852 if test $ac_cv_lib_posix_remove = yes; then
24853 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24854 fi
24855
24856 fi
24857
24858 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24859 echo "$as_me:$LINENO: checking for shmat" >&5
24860 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
24861 if test "${ac_cv_func_shmat+set}" = set; then
24862 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 else
24864 cat >conftest.$ac_ext <<_ACEOF
24865 #line $LINENO "configure"
24866 /* confdefs.h. */
24867 _ACEOF
24868 cat confdefs.h >>conftest.$ac_ext
24869 cat >>conftest.$ac_ext <<_ACEOF
24870 /* end confdefs.h. */
24871 /* System header to define __stub macros and hopefully few prototypes,
24872 which can conflict with char shmat (); below.
24873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24874 <limits.h> exists even on freestanding compilers. */
24875 #ifdef __STDC__
24876 # include <limits.h>
24877 #else
24878 # include <assert.h>
24879 #endif
24880 /* Override any gcc2 internal prototype to avoid an error. */
24881 #ifdef __cplusplus
24882 extern "C"
24883 {
24884 #endif
24885 /* We use char because int might match the return type of a gcc2
24886 builtin and then its argument prototype would still apply. */
24887 char shmat ();
24888 /* The GNU C library defines this for functions which it implements
24889 to always fail with ENOSYS. Some functions are actually named
24890 something starting with __ and the normal name is an alias. */
24891 #if defined (__stub_shmat) || defined (__stub___shmat)
24892 choke me
24893 #else
24894 char (*f) () = shmat;
24895 #endif
24896 #ifdef __cplusplus
24897 }
24898 #endif
24899
24900 int
24901 main ()
24902 {
24903 return f != shmat;
24904 ;
24905 return 0;
24906 }
24907 _ACEOF
24908 rm -f conftest.$ac_objext conftest$ac_exeext
24909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24910 (eval $ac_link) 2>&5
24911 ac_status=$?
24912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24913 (exit $ac_status); } &&
24914 { ac_try='test -s conftest$ac_exeext'
24915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24916 (eval $ac_try) 2>&5
24917 ac_status=$?
24918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24919 (exit $ac_status); }; }; then
24920 ac_cv_func_shmat=yes
24921 else
24922 echo "$as_me: failed program was:" >&5
24923 sed 's/^/| /' conftest.$ac_ext >&5
24924
24925 ac_cv_func_shmat=no
24926 fi
24927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24928 fi
24929 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
24930 echo "${ECHO_T}$ac_cv_func_shmat" >&6
24931
24932 if test $ac_cv_func_shmat = no; then
24933 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
24934 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
24935 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938 ac_check_lib_save_LIBS=$LIBS
24939 LIBS="-lipc $LIBS"
24940 cat >conftest.$ac_ext <<_ACEOF
24941 #line $LINENO "configure"
24942 /* confdefs.h. */
24943 _ACEOF
24944 cat confdefs.h >>conftest.$ac_ext
24945 cat >>conftest.$ac_ext <<_ACEOF
24946 /* end confdefs.h. */
24947
24948 /* Override any gcc2 internal prototype to avoid an error. */
24949 #ifdef __cplusplus
24950 extern "C"
24951 #endif
24952 /* We use char because int might match the return type of a gcc2
24953 builtin and then its argument prototype would still apply. */
24954 char shmat ();
24955 int
24956 main ()
24957 {
24958 shmat ();
24959 ;
24960 return 0;
24961 }
24962 _ACEOF
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965 (eval $ac_link) 2>&5
24966 ac_status=$?
24967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968 (exit $ac_status); } &&
24969 { ac_try='test -s conftest$ac_exeext'
24970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24971 (eval $ac_try) 2>&5
24972 ac_status=$?
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); }; }; then
24975 ac_cv_lib_ipc_shmat=yes
24976 else
24977 echo "$as_me: failed program was:" >&5
24978 sed 's/^/| /' conftest.$ac_ext >&5
24979
24980 ac_cv_lib_ipc_shmat=no
24981 fi
24982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24983 LIBS=$ac_check_lib_save_LIBS
24984 fi
24985 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
24986 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
24987 if test $ac_cv_lib_ipc_shmat = yes; then
24988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24989 fi
24990
24991 fi
24992 fi
24993
24994 # Check for libraries that X11R6 Xt/Xaw programs need.
24995 ac_save_LDFLAGS=$LDFLAGS
24996 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24997 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24998 # check for ICE first), but we must link in the order -lSM -lICE or
24999 # we get undefined symbols. So assume we have SM if we have ICE.
25000 # These have to be linked with before -lX11, unlike the other
25001 # libraries we check for below, so use a different variable.
25002 # John Interrante, Karl Berry
25003 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
25004 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
25005 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25007 else
25008 ac_check_lib_save_LIBS=$LIBS
25009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25010 cat >conftest.$ac_ext <<_ACEOF
25011 #line $LINENO "configure"
25012 /* confdefs.h. */
25013 _ACEOF
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25017
25018 /* Override any gcc2 internal prototype to avoid an error. */
25019 #ifdef __cplusplus
25020 extern "C"
25021 #endif
25022 /* We use char because int might match the return type of a gcc2
25023 builtin and then its argument prototype would still apply. */
25024 char IceConnectionNumber ();
25025 int
25026 main ()
25027 {
25028 IceConnectionNumber ();
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 rm -f conftest.$ac_objext conftest$ac_exeext
25034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25035 (eval $ac_link) 2>&5
25036 ac_status=$?
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); } &&
25039 { ac_try='test -s conftest$ac_exeext'
25040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25041 (eval $ac_try) 2>&5
25042 ac_status=$?
25043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25044 (exit $ac_status); }; }; then
25045 ac_cv_lib_ICE_IceConnectionNumber=yes
25046 else
25047 echo "$as_me: failed program was:" >&5
25048 sed 's/^/| /' conftest.$ac_ext >&5
25049
25050 ac_cv_lib_ICE_IceConnectionNumber=no
25051 fi
25052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25053 LIBS=$ac_check_lib_save_LIBS
25054 fi
25055 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25056 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
25057 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
25058 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25059 fi
25060
25061 LDFLAGS=$ac_save_LDFLAGS
25062
25063 fi
25064
25065
25066 if test "$no_x" = "yes"; then
25067 { { echo "$as_me:$LINENO: error: X11 not found" >&5
25068 echo "$as_me: error: X11 not found" >&2;}
25069 { (exit please use --x-includes and/or --x-libraries options); exit please use --x-includes and/or --x-libraries options; }; }
25070 fi
25071
25072 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//'`
25073 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
25074 AFMINSTALL=afminstall
25075 COMPILED_X_PROGRAM=0
25076
25077 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
25078 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
25079
25080 ac_find_includes=
25081 for ac_dir in $SEARCH_INCLUDE /usr/include;
25082 do
25083 if test -f "$ac_dir/Xm/Xm.h"; then
25084 ac_find_includes=$ac_dir
25085 break
25086 fi
25087 done
25088
25089 if test "$ac_find_includes" != "" ; then
25090 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
25091 echo "${ECHO_T}found in $ac_find_includes" >&6
25092
25093 if test "x$ac_find_includes" = "x/usr/include"; then
25094 ac_path_to_include=""
25095 else
25096 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
25097 result=$?
25098 if test $result = 0; then
25099 ac_path_to_include=""
25100 else
25101 ac_path_to_include=" -I$ac_find_includes"
25102 fi
25103 fi
25104
25105 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
25106 else
25107 cat >conftest.$ac_ext <<_ACEOF
25108 #line $LINENO "configure"
25109 /* confdefs.h. */
25110 _ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114
25115 #include <Xm/Xm.h>
25116
25117 int
25118 main ()
25119 {
25120
25121 int version;
25122 version = xmUseVersion;
25123
25124 ;
25125 return 0;
25126 }
25127 _ACEOF
25128 rm -f conftest.$ac_objext
25129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25130 (eval $ac_compile) 2>&5
25131 ac_status=$?
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); } &&
25134 { ac_try='test -s conftest.$ac_objext'
25135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25136 (eval $ac_try) 2>&5
25137 ac_status=$?
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); }; }; then
25140
25141 echo "$as_me:$LINENO: result: found in default search path" >&5
25142 echo "${ECHO_T}found in default search path" >&6
25143 COMPILED_X_PROGRAM=1
25144
25145 else
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149
25150 echo "$as_me:$LINENO: result: no" >&5
25151 echo "${ECHO_T}no" >&6
25152 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of Xm/Xm.h" >&5
25153 echo "$as_me: error: please set CFLAGS to contain the location of Xm/Xm.h" >&2;}
25154 { (exit 1); exit 1; }; }
25155
25156
25157 fi
25158 rm -f conftest.$ac_objext conftest.$ac_ext
25159 fi
25160
25161 if test "$COMPILED_X_PROGRAM" = 0; then
25162 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
25163 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
25164
25165 ac_find_libraries=
25166 for ac_dir in $SEARCH_LIB /usr/lib;
25167 do
25168 for ac_extension in a so sl dylib; do
25169 if test -f "$ac_dir/libXm.$ac_extension"; then
25170 ac_find_libraries=$ac_dir
25171 break 2
25172 fi
25173 done
25174 done
25175
25176 if test "$ac_find_libraries" != "" ; then
25177 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25178 echo "${ECHO_T}found at $ac_find_libraries" >&6
25179
25180
25181 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25182 result=$?
25183 if test $result = 0; then
25184 ac_path_to_link=""
25185 else
25186 ac_path_to_link=" -L$ac_find_libraries"
25187 fi
25188
25189 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25190 else
25191 save_CFLAGS=$CFLAGS
25192 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25193
25194 cat >conftest.$ac_ext <<_ACEOF
25195 #line $LINENO "configure"
25196 /* confdefs.h. */
25197 _ACEOF
25198 cat confdefs.h >>conftest.$ac_ext
25199 cat >>conftest.$ac_ext <<_ACEOF
25200 /* end confdefs.h. */
25201
25202 #include <Xm/Xm.h>
25203
25204 int
25205 main ()
25206 {
25207
25208 int version;
25209 version = xmUseVersion;
25210
25211 ;
25212 return 0;
25213 }
25214 _ACEOF
25215 rm -f conftest.$ac_objext
25216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25217 (eval $ac_compile) 2>&5
25218 ac_status=$?
25219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220 (exit $ac_status); } &&
25221 { ac_try='test -s conftest.$ac_objext'
25222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223 (eval $ac_try) 2>&5
25224 ac_status=$?
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); }; }; then
25227
25228 echo "$as_me:$LINENO: result: found in default search path" >&5
25229 echo "${ECHO_T}found in default search path" >&6
25230 COMPILED_X_PROGRAM=1
25231
25232 else
25233 echo "$as_me: failed program was:" >&5
25234 sed 's/^/| /' conftest.$ac_ext >&5
25235
25236
25237 echo "$as_me:$LINENO: result: no" >&5
25238 echo "${ECHO_T}no" >&6
25239 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
25240 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
25241 { (exit 1); exit 1; }; }
25242
25243
25244 fi
25245 rm -f conftest.$ac_objext conftest.$ac_ext
25246
25247 CFLAGS=$save_CFLAGS
25248 fi
25249 fi
25250
25251 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
25252 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
25253 libp_link=""
25254 libsm_ice_link=""
25255 libs_found=0
25256 for libp in "" " -lXp"; do
25257 if test "$libs_found" = "0"; then
25258 for libsm_ice in "" " -lSM -lICE"; do
25259 if test "$libs_found" = "0"; then
25260 save_LIBS="$LIBS"
25261 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
25262 save_CFLAGS=$CFLAGS
25263 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25264
25265 cat >conftest.$ac_ext <<_ACEOF
25266 #line $LINENO "configure"
25267 /* confdefs.h. */
25268 _ACEOF
25269 cat confdefs.h >>conftest.$ac_ext
25270 cat >>conftest.$ac_ext <<_ACEOF
25271 /* end confdefs.h. */
25272
25273 #include <Xm/Xm.h>
25274 #include <Xm/List.h>
25275
25276 int
25277 main ()
25278 {
25279
25280 XmString string = NULL;
25281 Widget w = NULL;
25282 int position = 0;
25283 XmListAddItem(w, string, position);
25284
25285 ;
25286 return 0;
25287 }
25288 _ACEOF
25289 rm -f conftest.$ac_objext conftest$ac_exeext
25290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25291 (eval $ac_link) 2>&5
25292 ac_status=$?
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); } &&
25295 { ac_try='test -s conftest$ac_exeext'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; }; then
25301
25302 libp_link="$libp"
25303 libsm_ice_link="$libsm_ice"
25304 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
25305 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
25306 libs_found=1
25307
25308 else
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25311
25312
25313
25314 fi
25315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25316
25317 LIBS="$save_LIBS"
25318 CFLAGS=$save_CFLAGS
25319 fi
25320 done
25321 fi
25322 done
25323
25324 if test "$libs_found" = "0"; then
25325 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
25326 echo "${ECHO_T}can't find the right libraries" >&6
25327 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
25328 echo "$as_me: error: can't link a simple motif program" >&2;}
25329 { (exit 1); exit 1; }; }
25330 fi
25331
25332 save_CFLAGS=$CFLAGS
25333 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25334 echo "$as_me:$LINENO: checking for Motif 2" >&5
25335 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
25336 cat >conftest.$ac_ext <<_ACEOF
25337 #line $LINENO "configure"
25338 /* confdefs.h. */
25339 _ACEOF
25340 cat confdefs.h >>conftest.$ac_ext
25341 cat >>conftest.$ac_ext <<_ACEOF
25342 /* end confdefs.h. */
25343
25344 #include <Xm/Xm.h>
25345
25346 int
25347 main ()
25348 {
25349
25350 #if XmVersion < 2000
25351 #error "Not Motif 2"
25352 #endif
25353
25354 ;
25355 return 0;
25356 }
25357 _ACEOF
25358 rm -f conftest.$ac_objext
25359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25360 (eval $ac_compile) 2>&5
25361 ac_status=$?
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -s conftest.$ac_objext'
25365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25366 (eval $ac_try) 2>&5
25367 ac_status=$?
25368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25369 (exit $ac_status); }; }; then
25370
25371 cat >>confdefs.h <<\_ACEOF
25372 #define __WXMOTIF20__ 1
25373 _ACEOF
25374
25375 echo "$as_me:$LINENO: result: found" >&5
25376 echo "${ECHO_T}found" >&6
25377
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25381
25382
25383 cat >>confdefs.h <<\_ACEOF
25384 #define __WXMOTIF20__ 0
25385 _ACEOF
25386
25387 echo "$as_me:$LINENO: result: not found" >&5
25388 echo "${ECHO_T}not found" >&6
25389
25390 fi
25391 rm -f conftest.$ac_objext conftest.$ac_ext
25392 CFLAGS=$save_CFLAGS
25393
25394 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
25395 TOOLKIT_VPATH="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
25396 TOOLKIT=MOTIF
25397 GUIDIST=MOTIF_DIST
25398 fi
25399
25400 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
25401 if test "$wxUSE_LIBXPM" = "sys"; then
25402 echo "$as_me:$LINENO: checking for Xpm library" >&5
25403 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
25404
25405 ac_find_libraries=
25406 for ac_dir in $SEARCH_LIB /usr/lib;
25407 do
25408 for ac_extension in a so sl dylib; do
25409 if test -f "$ac_dir/libXpm.$ac_extension"; then
25410 ac_find_libraries=$ac_dir
25411 break 2
25412 fi
25413 done
25414 done
25415
25416 if test "$ac_find_libraries" != "" ; then
25417
25418 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
25419 result=$?
25420 if test $result = 0; then
25421 ac_path_to_link=""
25422 else
25423 ac_path_to_link=" -L$ac_find_libraries"
25424 fi
25425
25426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
25427 echo "$as_me:$LINENO: result: found at $ac_find_libraries" >&5
25428 echo "${ECHO_T}found at $ac_find_libraries" >&6
25429
25430 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
25431 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
25432 if test "${wx_cv_x11_xpm_h+set}" = set; then
25433 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 else
25435
25436 save_CFLAGS=$CFLAGS
25437 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25438
25439 cat >conftest.$ac_ext <<_ACEOF
25440 #line $LINENO "configure"
25441 /* confdefs.h. */
25442 _ACEOF
25443 cat confdefs.h >>conftest.$ac_ext
25444 cat >>conftest.$ac_ext <<_ACEOF
25445 /* end confdefs.h. */
25446
25447 #include <X11/xpm.h>
25448
25449 int
25450 main ()
25451 {
25452
25453 int version;
25454 version = XpmLibraryVersion();
25455
25456 ;
25457 return 0;
25458 }
25459 _ACEOF
25460 rm -f conftest.$ac_objext
25461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25462 (eval $ac_compile) 2>&5
25463 ac_status=$?
25464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25465 (exit $ac_status); } &&
25466 { ac_try='test -s conftest.$ac_objext'
25467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25468 (eval $ac_try) 2>&5
25469 ac_status=$?
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); }; }; then
25472 wx_cv_x11_xpm_h=yes
25473 else
25474 echo "$as_me: failed program was:" >&5
25475 sed 's/^/| /' conftest.$ac_ext >&5
25476
25477 wx_cv_x11_xpm_h=no
25478
25479 fi
25480 rm -f conftest.$ac_objext conftest.$ac_ext
25481
25482 CFLAGS=$save_CFLAGS
25483
25484
25485 fi
25486 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
25487 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
25488
25489 if test $wx_cv_x11_xpm_h = "yes"; then
25490 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
25491 cat >>confdefs.h <<\_ACEOF
25492 #define wxHAVE_LIB_XPM 1
25493 _ACEOF
25494
25495 else
25496 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
25497 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
25498 fi
25499 fi
25500
25501 fi
25502
25503 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
25504 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
25505 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
25506 echo $ECHO_N "(cached) $ECHO_C" >&6
25507 else
25508 ac_check_lib_save_LIBS=$LIBS
25509 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
25510 cat >conftest.$ac_ext <<_ACEOF
25511 #line $LINENO "configure"
25512 /* confdefs.h. */
25513 _ACEOF
25514 cat confdefs.h >>conftest.$ac_ext
25515 cat >>conftest.$ac_ext <<_ACEOF
25516 /* end confdefs.h. */
25517
25518 /* Override any gcc2 internal prototype to avoid an error. */
25519 #ifdef __cplusplus
25520 extern "C"
25521 #endif
25522 /* We use char because int might match the return type of a gcc2
25523 builtin and then its argument prototype would still apply. */
25524 char XShapeQueryExtension ();
25525 int
25526 main ()
25527 {
25528 XShapeQueryExtension ();
25529 ;
25530 return 0;
25531 }
25532 _ACEOF
25533 rm -f conftest.$ac_objext conftest$ac_exeext
25534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25535 (eval $ac_link) 2>&5
25536 ac_status=$?
25537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25538 (exit $ac_status); } &&
25539 { ac_try='test -s conftest$ac_exeext'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25542 ac_status=$?
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; }; then
25545 ac_cv_lib_Xext_XShapeQueryExtension=yes
25546 else
25547 echo "$as_me: failed program was:" >&5
25548 sed 's/^/| /' conftest.$ac_ext >&5
25549
25550 ac_cv_lib_Xext_XShapeQueryExtension=no
25551 fi
25552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25553 LIBS=$ac_check_lib_save_LIBS
25554 fi
25555 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
25556 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
25557 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
25558
25559 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
25560 wxHAVE_XEXT_LIB=1
25561
25562 fi
25563
25564
25565 if test "$wxHAVE_XEXT_LIB" = 1; then
25566 save_CFLAGS="$CFLAGS"
25567 CFLAGS="$CFLAGS $TOOLKIT_INCLUDE"
25568
25569 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
25570 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
25571 cat >conftest.$ac_ext <<_ACEOF
25572 #line $LINENO "configure"
25573 /* confdefs.h. */
25574 _ACEOF
25575 cat confdefs.h >>conftest.$ac_ext
25576 cat >>conftest.$ac_ext <<_ACEOF
25577 /* end confdefs.h. */
25578
25579 #include <X11/Xlib.h>
25580 #include <X11/extensions/shape.h>
25581
25582 int
25583 main ()
25584 {
25585
25586 int dummy1, dummy2;
25587 XShapeQueryExtension((Display*)NULL,
25588 (int*)NULL, (int*)NULL);
25589
25590 ;
25591 return 0;
25592 }
25593 _ACEOF
25594 rm -f conftest.$ac_objext
25595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25596 (eval $ac_compile) 2>&5
25597 ac_status=$?
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); } &&
25600 { ac_try='test -s conftest.$ac_objext'
25601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25602 (eval $ac_try) 2>&5
25603 ac_status=$?
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); }; }; then
25606
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_XSHAPE 1
25609 _ACEOF
25610
25611 echo "$as_me:$LINENO: result: found" >&5
25612 echo "${ECHO_T}found" >&6
25613
25614 else
25615 echo "$as_me: failed program was:" >&5
25616 sed 's/^/| /' conftest.$ac_ext >&5
25617
25618
25619 echo "$as_me:$LINENO: result: not found" >&5
25620 echo "${ECHO_T}not found" >&6
25621
25622 fi
25623 rm -f conftest.$ac_objext conftest.$ac_ext
25624 CFLAGS="$save_CFLAGS"
25625
25626 fi
25627 fi
25628
25629 if test "$wxUSE_MAC" = 1; then
25630 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
25631 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
25632 if test "$GCC" = yes; then
25633 echo "$as_me:$LINENO: result: gcc" >&5
25634 echo "${ECHO_T}gcc" >&6
25635 CPPFLAGS_PASCAL="-fpascal-strings"
25636 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
25637 echo "$as_me:$LINENO: result: xlc" >&5
25638 echo "${ECHO_T}xlc" >&6
25639 CPPFLAGS_PASCAL="-qmacpstr"
25640 else
25641 echo "$as_me:$LINENO: result: none" >&5
25642 echo "${ECHO_T}none" >&6
25643 fi
25644
25645 CPPFLAGS="$CPPFLAGS $CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon"
25646
25647 TOOLKIT_VPATH="\${top_srcdir}/src/mac/carbon${PATH_IFS}\${top_srcdir}/src/mac/carbon/morefilex"
25648 TOOLKIT=MAC
25649 GUIDIST=MACX_DIST
25650 WXBASEPORT="_carbon"
25651 fi
25652
25653 if test "$wxUSE_COCOA" = 1; then
25654 TOOLKIT_VPATH="\${top_srcdir}/src/cocoa"
25655 TOOLKIT=COCOA
25656 GUIDIST=COCOA_DIST
25657 fi
25658
25659 if test "$wxUSE_PM" = 1; then
25660 TOOLKIT=PM
25661 GUIDIST=PM_DIST
25662 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
25663 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
25664 if test "${wx_cv_spbcdata+set}" = set; then
25665 echo $ECHO_N "(cached) $ECHO_C" >&6
25666 else
25667
25668 cat >conftest.$ac_ext <<_ACEOF
25669 #line $LINENO "configure"
25670 /* confdefs.h. */
25671 _ACEOF
25672 cat confdefs.h >>conftest.$ac_ext
25673 cat >>conftest.$ac_ext <<_ACEOF
25674 /* end confdefs.h. */
25675
25676 #define INCL_PM
25677 #include <os2.h>
25678
25679 int
25680 main ()
25681 {
25682
25683 SPBCDATA test;
25684
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 wx_cv_spbcdata=yes
25702 else
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25705
25706 wx_cv_spbcdata=no
25707
25708 fi
25709 rm -f conftest.$ac_objext conftest.$ac_ext
25710
25711
25712 fi
25713 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
25714 echo "${ECHO_T}$wx_cv_spbcdata" >&6
25715
25716 if test $wx_cv_spbcdata = "yes"; then
25717 cat >>confdefs.h <<\_ACEOF
25718 #define HAVE_SPBCDATA 1
25719 _ACEOF
25720
25721 fi
25722 fi
25723
25724 if test "$TOOLKIT" = "PM" ; then
25725 TOOLKIT_DIR="os2"
25726 else
25727 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
25728 fi
25729
25730 PORT_FILES="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
25731
25732 if test "$wxUSE_UNIVERSAL" = "yes"; then
25733 ALL_OBJECTS="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
25734
25735 ALL_SOURCES="\$(ALL_SOURCES) \${UNIV_SOURCES}"
25736 ALL_HEADERS="\$(ALL_HEADERS) \${UNIV_HEADERS}"
25737
25738 PORT_FILES="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
25739 if test "$wxUSE_X11" = 1; then
25740 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
25741 else
25742 TOOLKIT_VPATH="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
25743 fi
25744 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
25745 WIDGET_SET=univ
25746 else
25747 ALL_OBJECTS="\$(GUIOBJS)"
25748 ALL_SOURCES="\$(ALL_SOURCES)"
25749 ALL_HEADERS="\$(ALL_HEADERS)"
25750 fi
25751
25752 ALL_OBJECTS="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
25753
25754 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
25755 ALL_OBJECTS="${ALL_OBJECTS} \$(UNIXOBJS)"
25756 fi
25757
25758 if test "$wxUSE_HTML" = "yes"; then
25759 ALL_OBJECTS="${ALL_OBJECTS} \$(HTMLOBJS)"
25760 fi
25761
25762 if test "$wxUSE_LIBJPEG" = "builtin" ; then
25763 ALL_OBJECTS="${ALL_OBJECTS} \$(JPEGOBJS)"
25764 fi
25765 if test "$wxUSE_LIBTIFF" = "builtin" ; then
25766 ALL_OBJECTS="${ALL_OBJECTS} \$(TIFFOBJS)"
25767 fi
25768 if test "$wxUSE_LIBPNG" = "builtin" ; then
25769 ALL_OBJECTS="${ALL_OBJECTS} \$(PNGOBJS)"
25770 fi
25771
25772 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
25773 DISTDIR="wx\$(TOOLKIT)"
25774 else
25775 USE_GUI=0
25776
25777 TOOLKIT_DIR="base"
25778
25779 if test "$USE_WIN32" = 1 ; then
25780 ALL_OBJECTS="\${BASE_OBJS} \${BASE_MSW_OBJS}"
25781 TOOLKIT_VPATH="\${top_srcdir}/src/msw"
25782
25783 TOOLKIT="MSW"
25784 else
25785 ALL_OBJECTS="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
25786 TOOLKIT_VPATH="\${top_srcdir}/src/unix"
25787 fi
25788
25789 ALL_SOURCES="\$(ALL_SOURCES)"
25790 ALL_HEADERS="\$(ALL_HEADERS)"
25791
25792 PORT_FILES="\${top_srcdir}/src/files.lst"
25793
25794 GUIDIST="BASE_DIST"
25795 DISTDIR="wxBase"
25796 fi
25797
25798
25799
25800
25801 IODBC_C_SRC=""
25802
25803
25804 if test "$TOOLKIT" != "MSW" ; then
25805
25806 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
25807
25808 if test "${ac_cv_header_sql_h+set}" = set; then
25809 echo "$as_me:$LINENO: checking for sql.h" >&5
25810 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25811 if test "${ac_cv_header_sql_h+set}" = set; then
25812 echo $ECHO_N "(cached) $ECHO_C" >&6
25813 fi
25814 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25815 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25816 else
25817 # Is the header compilable?
25818 echo "$as_me:$LINENO: checking sql.h usability" >&5
25819 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
25820 cat >conftest.$ac_ext <<_ACEOF
25821 #line $LINENO "configure"
25822 /* confdefs.h. */
25823 _ACEOF
25824 cat confdefs.h >>conftest.$ac_ext
25825 cat >>conftest.$ac_ext <<_ACEOF
25826 /* end confdefs.h. */
25827 $ac_includes_default
25828 #include <sql.h>
25829 _ACEOF
25830 rm -f conftest.$ac_objext
25831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25832 (eval $ac_compile) 2>&5
25833 ac_status=$?
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try='test -s conftest.$ac_objext'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; }; then
25842 ac_header_compiler=yes
25843 else
25844 echo "$as_me: failed program was:" >&5
25845 sed 's/^/| /' conftest.$ac_ext >&5
25846
25847 ac_header_compiler=no
25848 fi
25849 rm -f conftest.$ac_objext conftest.$ac_ext
25850 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25851 echo "${ECHO_T}$ac_header_compiler" >&6
25852
25853 # Is the header present?
25854 echo "$as_me:$LINENO: checking sql.h presence" >&5
25855 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
25856 cat >conftest.$ac_ext <<_ACEOF
25857 #line $LINENO "configure"
25858 /* confdefs.h. */
25859 _ACEOF
25860 cat confdefs.h >>conftest.$ac_ext
25861 cat >>conftest.$ac_ext <<_ACEOF
25862 /* end confdefs.h. */
25863 #include <sql.h>
25864 _ACEOF
25865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25866 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25867 ac_status=$?
25868 grep -v '^ *+' conftest.er1 >conftest.err
25869 rm -f conftest.er1
25870 cat conftest.err >&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); } >/dev/null; then
25873 if test -s conftest.err; then
25874 ac_cpp_err=$ac_c_preproc_warn_flag
25875 else
25876 ac_cpp_err=
25877 fi
25878 else
25879 ac_cpp_err=yes
25880 fi
25881 if test -z "$ac_cpp_err"; then
25882 ac_header_preproc=yes
25883 else
25884 echo "$as_me: failed program was:" >&5
25885 sed 's/^/| /' conftest.$ac_ext >&5
25886
25887 ac_header_preproc=no
25888 fi
25889 rm -f conftest.err conftest.$ac_ext
25890 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25891 echo "${ECHO_T}$ac_header_preproc" >&6
25892
25893 # So? What about this header?
25894 case $ac_header_compiler:$ac_header_preproc in
25895 yes:no )
25896 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
25897 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25898 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25899 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25900 (
25901 cat <<\_ASBOX
25902 ## ------------------------------------ ##
25903 ## Report this to bug-autoconf@gnu.org. ##
25904 ## ------------------------------------ ##
25905 _ASBOX
25906 ) |
25907 sed "s/^/$as_me: WARNING: /" >&2
25908 ;;
25909 no:yes )
25910 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
25911 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
25912 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
25913 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
25914 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
25915 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
25916 (
25917 cat <<\_ASBOX
25918 ## ------------------------------------ ##
25919 ## Report this to bug-autoconf@gnu.org. ##
25920 ## ------------------------------------ ##
25921 _ASBOX
25922 ) |
25923 sed "s/^/$as_me: WARNING: /" >&2
25924 ;;
25925 esac
25926 echo "$as_me:$LINENO: checking for sql.h" >&5
25927 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
25928 if test "${ac_cv_header_sql_h+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 else
25931 ac_cv_header_sql_h=$ac_header_preproc
25932 fi
25933 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
25934 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
25935
25936 fi
25937 if test $ac_cv_header_sql_h = yes; then
25938 found_sql_h=1
25939 fi
25940
25941
25942 if test "x$found_sql_h" = "x1" ; then
25943 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
25944 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
25945 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
25946 echo $ECHO_N "(cached) $ECHO_C" >&6
25947 else
25948 ac_check_lib_save_LIBS=$LIBS
25949 LIBS="-liodbc $LIBS"
25950 cat >conftest.$ac_ext <<_ACEOF
25951 #line $LINENO "configure"
25952 /* confdefs.h. */
25953 _ACEOF
25954 cat confdefs.h >>conftest.$ac_ext
25955 cat >>conftest.$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957
25958 /* Override any gcc2 internal prototype to avoid an error. */
25959 #ifdef __cplusplus
25960 extern "C"
25961 #endif
25962 /* We use char because int might match the return type of a gcc2
25963 builtin and then its argument prototype would still apply. */
25964 char SQLAllocEnv ();
25965 int
25966 main ()
25967 {
25968 SQLAllocEnv ();
25969 ;
25970 return 0;
25971 }
25972 _ACEOF
25973 rm -f conftest.$ac_objext conftest$ac_exeext
25974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25975 (eval $ac_link) 2>&5
25976 ac_status=$?
25977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25978 (exit $ac_status); } &&
25979 { ac_try='test -s conftest$ac_exeext'
25980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25981 (eval $ac_try) 2>&5
25982 ac_status=$?
25983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25984 (exit $ac_status); }; }; then
25985 ac_cv_lib_iodbc_SQLAllocEnv=yes
25986 else
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.$ac_ext >&5
25989
25990 ac_cv_lib_iodbc_SQLAllocEnv=no
25991 fi
25992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25993 LIBS=$ac_check_lib_save_LIBS
25994 fi
25995 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
25996 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
25997 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
25998 ODBC_LINK=" -liodbc"
25999 else
26000
26001 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
26002 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
26003 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 else
26006 ac_check_lib_save_LIBS=$LIBS
26007 LIBS="-lunixodbc $LIBS"
26008 cat >conftest.$ac_ext <<_ACEOF
26009 #line $LINENO "configure"
26010 /* confdefs.h. */
26011 _ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26015
26016 /* Override any gcc2 internal prototype to avoid an error. */
26017 #ifdef __cplusplus
26018 extern "C"
26019 #endif
26020 /* We use char because int might match the return type of a gcc2
26021 builtin and then its argument prototype would still apply. */
26022 char SQLAllocEnv ();
26023 int
26024 main ()
26025 {
26026 SQLAllocEnv ();
26027 ;
26028 return 0;
26029 }
26030 _ACEOF
26031 rm -f conftest.$ac_objext conftest$ac_exeext
26032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26033 (eval $ac_link) 2>&5
26034 ac_status=$?
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); } &&
26037 { ac_try='test -s conftest$ac_exeext'
26038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26039 (eval $ac_try) 2>&5
26040 ac_status=$?
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); }; }; then
26043 ac_cv_lib_unixodbc_SQLAllocEnv=yes
26044 else
26045 echo "$as_me: failed program was:" >&5
26046 sed 's/^/| /' conftest.$ac_ext >&5
26047
26048 ac_cv_lib_unixodbc_SQLAllocEnv=no
26049 fi
26050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26051 LIBS=$ac_check_lib_save_LIBS
26052 fi
26053 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
26054 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
26055 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
26056 ODBC_LINK=" -lunixodbc"
26057 else
26058
26059 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
26060 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
26061 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
26062 echo $ECHO_N "(cached) $ECHO_C" >&6
26063 else
26064 ac_check_lib_save_LIBS=$LIBS
26065 LIBS="-lodbc $LIBS"
26066 cat >conftest.$ac_ext <<_ACEOF
26067 #line $LINENO "configure"
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073
26074 /* Override any gcc2 internal prototype to avoid an error. */
26075 #ifdef __cplusplus
26076 extern "C"
26077 #endif
26078 /* We use char because int might match the return type of a gcc2
26079 builtin and then its argument prototype would still apply. */
26080 char SQLAllocEnv ();
26081 int
26082 main ()
26083 {
26084 SQLAllocEnv ();
26085 ;
26086 return 0;
26087 }
26088 _ACEOF
26089 rm -f conftest.$ac_objext conftest$ac_exeext
26090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26091 (eval $ac_link) 2>&5
26092 ac_status=$?
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } &&
26095 { ac_try='test -s conftest$ac_exeext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26098 ac_status=$?
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26101 ac_cv_lib_odbc_SQLAllocEnv=yes
26102 else
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.$ac_ext >&5
26105
26106 ac_cv_lib_odbc_SQLAllocEnv=no
26107 fi
26108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26109 LIBS=$ac_check_lib_save_LIBS
26110 fi
26111 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
26112 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
26113 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
26114 ODBC_LINK=" -lodbc"
26115 fi
26116
26117
26118 fi
26119
26120
26121 fi
26122
26123 fi
26124 if test "x$ODBC_LINK" = "x" ; then
26125 if test "$wxUSE_ODBC" = "sys" ; then
26126 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
26127 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
26128 { (exit 1); exit 1; }; }
26129 else
26130 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
26131 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
26132 wxUSE_ODBC=builtin
26133 fi
26134 else
26135 wxUSE_ODBC=sys
26136 fi
26137 fi
26138 if test "$wxUSE_ODBC" != "no" ; then
26139 cat >>confdefs.h <<\_ACEOF
26140 #define wxUSE_ODBC 1
26141 _ACEOF
26142
26143 if test "$wxUSE_ODBC" = "builtin" ; then
26144 cat >>confdefs.h <<\_ACEOF
26145 #define wxUSE_BUILTIN_IODBC 1
26146 _ACEOF
26147
26148 fi
26149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
26150
26151 WXODBCFLAG="-D_IODBC_"
26152 fi
26153 fi
26154
26155 if test "$wxUSE_REGEX" = "builtin" ; then
26156 ALL_OBJECTS="${ALL_OBJECTS} \$(REGEXOBJS)"
26157 fi
26158 if test "$wxUSE_ZLIB" = "builtin" ; then
26159 ALL_OBJECTS="${ALL_OBJECTS} \$(ZLIBOBJS)"
26160 fi
26161
26162
26163 if test "$wxUSE_DISPLAY" = "yes"; then
26164 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1; then
26165 echo "$as_me:$LINENO: checking for Xinerama" >&5
26166 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
26167
26168 ac_find_libraries=
26169 for ac_dir in $SEARCH_LIB /usr/lib;
26170 do
26171 for ac_extension in a so sl dylib; do
26172 if test -f "$ac_dir/libXinerama.$ac_extension"; then
26173 ac_find_libraries=$ac_dir
26174 break 2
26175 fi
26176 done
26177 done
26178
26179 if test "$ac_find_libraries" != "" ; then
26180
26181 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26182 result=$?
26183 if test $result = 0; then
26184 ac_path_to_link=""
26185 else
26186 ac_path_to_link=" -L$ac_find_libraries"
26187 fi
26188
26189 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26190 LDFLAGS="$LDFLAGS $ac_path_to_link"
26191 fi
26192 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
26193 echo "$as_me:$LINENO: result: yes" >&5
26194 echo "${ECHO_T}yes" >&6
26195
26196 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
26197 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
26198
26199 ac_find_libraries=
26200 for ac_dir in $SEARCH_LIB /usr/lib;
26201 do
26202 for ac_extension in a so sl dylib; do
26203 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
26204 ac_find_libraries=$ac_dir
26205 break 2
26206 fi
26207 done
26208 done
26209
26210 if test "$ac_find_libraries" != "" ; then
26211 echo "$as_me:$LINENO: result: yes" >&5
26212 echo "${ECHO_T}yes" >&6
26213
26214 for ac_header in X11/extensions/xf86vmode.h
26215 do
26216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26217 echo "$as_me:$LINENO: checking for $ac_header" >&5
26218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26220 echo $ECHO_N "(cached) $ECHO_C" >&6
26221 else
26222 cat >conftest.$ac_ext <<_ACEOF
26223 #line $LINENO "configure"
26224 /* confdefs.h. */
26225 _ACEOF
26226 cat confdefs.h >>conftest.$ac_ext
26227 cat >>conftest.$ac_ext <<_ACEOF
26228 /* end confdefs.h. */
26229
26230 #if HAVE_X11_XLIB_H
26231 #include <X11/Xlib.h>
26232 #endif
26233
26234
26235 #include <$ac_header>
26236 _ACEOF
26237 rm -f conftest.$ac_objext
26238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26239 (eval $ac_compile) 2>&5
26240 ac_status=$?
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } &&
26243 { ac_try='test -s conftest.$ac_objext'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26246 ac_status=$?
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; }; then
26249 eval "$as_ac_Header=yes"
26250 else
26251 echo "$as_me: failed program was:" >&5
26252 sed 's/^/| /' conftest.$ac_ext >&5
26253
26254 eval "$as_ac_Header=no"
26255 fi
26256 rm -f conftest.$ac_objext conftest.$ac_ext
26257 fi
26258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26261 cat >>confdefs.h <<_ACEOF
26262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26263 _ACEOF
26264
26265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
26266
26267 fi
26268
26269 done
26270
26271 else
26272 echo "$as_me:$LINENO: result: no" >&5
26273 echo "${ECHO_T}no" >&6
26274 fi
26275
26276 else
26277 echo "$as_me:$LINENO: result: no" >&5
26278 echo "${ECHO_T}no" >&6
26279 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
26280 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
26281 wxUSE_DISPLAY="no"
26282 fi
26283 elif test "$wxUSE_MSW" = 1; then
26284
26285
26286 for ac_header in multimon.h ddraw.h
26287 do
26288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26290 echo "$as_me:$LINENO: checking for $ac_header" >&5
26291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 fi
26295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26297 else
26298 # Is the header compilable?
26299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26301 cat >conftest.$ac_ext <<_ACEOF
26302 #line $LINENO "configure"
26303 /* confdefs.h. */
26304 _ACEOF
26305 cat confdefs.h >>conftest.$ac_ext
26306 cat >>conftest.$ac_ext <<_ACEOF
26307 /* end confdefs.h. */
26308 $ac_includes_default
26309 #include <$ac_header>
26310 _ACEOF
26311 rm -f conftest.$ac_objext
26312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26313 (eval $ac_compile) 2>&5
26314 ac_status=$?
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } &&
26317 { ac_try='test -s conftest.$ac_objext'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; }; then
26323 ac_header_compiler=yes
26324 else
26325 echo "$as_me: failed program was:" >&5
26326 sed 's/^/| /' conftest.$ac_ext >&5
26327
26328 ac_header_compiler=no
26329 fi
26330 rm -f conftest.$ac_objext conftest.$ac_ext
26331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26332 echo "${ECHO_T}$ac_header_compiler" >&6
26333
26334 # Is the header present?
26335 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26336 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26337 cat >conftest.$ac_ext <<_ACEOF
26338 #line $LINENO "configure"
26339 /* confdefs.h. */
26340 _ACEOF
26341 cat confdefs.h >>conftest.$ac_ext
26342 cat >>conftest.$ac_ext <<_ACEOF
26343 /* end confdefs.h. */
26344 #include <$ac_header>
26345 _ACEOF
26346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26348 ac_status=$?
26349 grep -v '^ *+' conftest.er1 >conftest.err
26350 rm -f conftest.er1
26351 cat conftest.err >&5
26352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26353 (exit $ac_status); } >/dev/null; then
26354 if test -s conftest.err; then
26355 ac_cpp_err=$ac_c_preproc_warn_flag
26356 else
26357 ac_cpp_err=
26358 fi
26359 else
26360 ac_cpp_err=yes
26361 fi
26362 if test -z "$ac_cpp_err"; then
26363 ac_header_preproc=yes
26364 else
26365 echo "$as_me: failed program was:" >&5
26366 sed 's/^/| /' conftest.$ac_ext >&5
26367
26368 ac_header_preproc=no
26369 fi
26370 rm -f conftest.err conftest.$ac_ext
26371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26372 echo "${ECHO_T}$ac_header_preproc" >&6
26373
26374 # So? What about this header?
26375 case $ac_header_compiler:$ac_header_preproc in
26376 yes:no )
26377 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26378 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26379 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26380 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26381 (
26382 cat <<\_ASBOX
26383 ## ------------------------------------ ##
26384 ## Report this to bug-autoconf@gnu.org. ##
26385 ## ------------------------------------ ##
26386 _ASBOX
26387 ) |
26388 sed "s/^/$as_me: WARNING: /" >&2
26389 ;;
26390 no:yes )
26391 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26392 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26393 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26394 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26397 (
26398 cat <<\_ASBOX
26399 ## ------------------------------------ ##
26400 ## Report this to bug-autoconf@gnu.org. ##
26401 ## ------------------------------------ ##
26402 _ASBOX
26403 ) |
26404 sed "s/^/$as_me: WARNING: /" >&2
26405 ;;
26406 esac
26407 echo "$as_me:$LINENO: checking for $ac_header" >&5
26408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26410 echo $ECHO_N "(cached) $ECHO_C" >&6
26411 else
26412 eval "$as_ac_Header=$ac_header_preproc"
26413 fi
26414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26416
26417 fi
26418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26419 cat >>confdefs.h <<_ACEOF
26420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26421 _ACEOF
26422
26423 else
26424
26425 wxUSE_DISPLAY="no"
26426 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
26427 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
26428
26429 fi
26430
26431 done
26432
26433 fi
26434 fi
26435
26436
26437 USE_OPENGL=0
26438 if test "$wxUSE_OPENGL" = "yes"; then
26439 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26440 OPENGL_LIBS="-framework OpenGL -framework AGL"
26441 elif test "$wxUSE_MSW" = 1; then
26442 OPENGL_LIBS="-lopengl32 -lglu32"
26443 else
26444
26445
26446 ac_find_includes=
26447 for ac_dir in $SEARCH_INCLUDE /usr/include;
26448 do
26449 if test -f "$ac_dir/GL/gl.h"; then
26450 ac_find_includes=$ac_dir
26451 break
26452 fi
26453 done
26454
26455 if test "$ac_find_includes" != "" ; then
26456 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
26457 echo "${ECHO_T}found in $ac_find_includes" >&6
26458
26459 if test "x$ac_find_includes" = "x/usr/include"; then
26460 ac_path_to_include=""
26461 else
26462 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
26463 result=$?
26464 if test $result = 0; then
26465 ac_path_to_include=""
26466 else
26467 ac_path_to_include=" -I$ac_find_includes"
26468 fi
26469 fi
26470
26471 CPPFLAGS="$CPPFLAGS$ac_path_to_include"
26472 fi
26473
26474 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26475 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26476 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26477 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26478 echo $ECHO_N "(cached) $ECHO_C" >&6
26479 fi
26480 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26481 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26482 else
26483 # Is the header compilable?
26484 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
26485 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
26486 cat >conftest.$ac_ext <<_ACEOF
26487 #line $LINENO "configure"
26488 /* confdefs.h. */
26489 _ACEOF
26490 cat confdefs.h >>conftest.$ac_ext
26491 cat >>conftest.$ac_ext <<_ACEOF
26492 /* end confdefs.h. */
26493 $ac_includes_default
26494 #include <GL/gl.h>
26495 _ACEOF
26496 rm -f conftest.$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498 (eval $ac_compile) 2>&5
26499 ac_status=$?
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); } &&
26502 { ac_try='test -s conftest.$ac_objext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_header_compiler=yes
26509 else
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26512
26513 ac_header_compiler=no
26514 fi
26515 rm -f conftest.$ac_objext conftest.$ac_ext
26516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26517 echo "${ECHO_T}$ac_header_compiler" >&6
26518
26519 # Is the header present?
26520 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
26521 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
26522 cat >conftest.$ac_ext <<_ACEOF
26523 #line $LINENO "configure"
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529 #include <GL/gl.h>
26530 _ACEOF
26531 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26532 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26533 ac_status=$?
26534 grep -v '^ *+' conftest.er1 >conftest.err
26535 rm -f conftest.er1
26536 cat conftest.err >&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); } >/dev/null; then
26539 if test -s conftest.err; then
26540 ac_cpp_err=$ac_c_preproc_warn_flag
26541 else
26542 ac_cpp_err=
26543 fi
26544 else
26545 ac_cpp_err=yes
26546 fi
26547 if test -z "$ac_cpp_err"; then
26548 ac_header_preproc=yes
26549 else
26550 echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.$ac_ext >&5
26552
26553 ac_header_preproc=no
26554 fi
26555 rm -f conftest.err conftest.$ac_ext
26556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26557 echo "${ECHO_T}$ac_header_preproc" >&6
26558
26559 # So? What about this header?
26560 case $ac_header_compiler:$ac_header_preproc in
26561 yes:no )
26562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26563 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26566 (
26567 cat <<\_ASBOX
26568 ## ------------------------------------ ##
26569 ## Report this to bug-autoconf@gnu.org. ##
26570 ## ------------------------------------ ##
26571 _ASBOX
26572 ) |
26573 sed "s/^/$as_me: WARNING: /" >&2
26574 ;;
26575 no:yes )
26576 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
26577 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
26578 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
26579 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
26580 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
26581 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
26582 (
26583 cat <<\_ASBOX
26584 ## ------------------------------------ ##
26585 ## Report this to bug-autoconf@gnu.org. ##
26586 ## ------------------------------------ ##
26587 _ASBOX
26588 ) |
26589 sed "s/^/$as_me: WARNING: /" >&2
26590 ;;
26591 esac
26592 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
26593 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
26594 if test "${ac_cv_header_GL_gl_h+set}" = set; then
26595 echo $ECHO_N "(cached) $ECHO_C" >&6
26596 else
26597 ac_cv_header_GL_gl_h=$ac_header_preproc
26598 fi
26599 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
26600 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
26601
26602 fi
26603 if test $ac_cv_header_GL_gl_h = yes; then
26604
26605 found_gl=0
26606
26607 echo "$as_me:$LINENO: checking for -lGL" >&5
26608 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
26609
26610 ac_find_libraries=
26611 for ac_dir in $SEARCH_LIB /usr/lib;
26612 do
26613 for ac_extension in a so sl dylib; do
26614 if test -f "$ac_dir/libGL.$ac_extension"; then
26615 ac_find_libraries=$ac_dir
26616 break 2
26617 fi
26618 done
26619 done
26620
26621 if test "$ac_find_libraries" != "" ; then
26622
26623 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26624 result=$?
26625 if test $result = 0; then
26626 ac_path_to_link=""
26627 else
26628 ac_path_to_link=" -L$ac_find_libraries"
26629 fi
26630
26631 if test "$ac_path_to_link" != " -L/usr/lib" ; then
26632 LDFLAGS_GL="$ac_path_to_link"
26633 fi
26634
26635
26636 ac_find_libraries=
26637 for ac_dir in $SEARCH_LIB /usr/lib;
26638 do
26639 for ac_extension in a so sl dylib; do
26640 if test -f "$ac_dir/libGLU.$ac_extension"; then
26641 ac_find_libraries=$ac_dir
26642 break 2
26643 fi
26644 done
26645 done
26646
26647 if test "$ac_find_libraries" != "" ; then
26648
26649 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26650 result=$?
26651 if test $result = 0; then
26652 ac_path_to_link=""
26653 else
26654 ac_path_to_link=" -L$ac_find_libraries"
26655 fi
26656
26657 if test "$ac_path_to_link" != " -L/usr/lib" -a \
26658 "$ac_path_to_link" != "$LDFLAGS_GL"; then
26659 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
26660 fi
26661
26662 found_gl=1
26663 OPENGL_LIBS="-lGL -lGLU"
26664 echo "$as_me:$LINENO: result: yes" >&5
26665 echo "${ECHO_T}yes" >&6
26666 fi
26667 fi
26668
26669 if test "$found_gl" != 1; then
26670 echo "$as_me:$LINENO: result: no" >&5
26671 echo "${ECHO_T}no" >&6
26672 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
26673 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
26674
26675 ac_find_libraries=
26676 for ac_dir in $SEARCH_LIB /usr/lib;
26677 do
26678 for ac_extension in a so sl dylib; do
26679 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
26680 ac_find_libraries=$ac_dir
26681 break 2
26682 fi
26683 done
26684 done
26685
26686 if test "$ac_find_libraries" != "" ; then
26687
26688 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
26689 result=$?
26690 if test $result = 0; then
26691 ac_path_to_link=""
26692 else
26693 ac_path_to_link=" -L$ac_find_libraries"
26694 fi
26695
26696 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
26697 OPENGL_LIBS="-lMesaGL -lMesaGLU"
26698 echo "$as_me:$LINENO: result: yes" >&5
26699 echo "${ECHO_T}yes" >&6
26700 else
26701 echo "$as_me:$LINENO: result: no" >&5
26702 echo "${ECHO_T}no" >&6
26703 fi
26704 fi
26705
26706 fi
26707
26708
26709
26710 if test "x$OPENGL_LIBS" = "x"; then
26711 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
26712 echo "$as_me: error: OpenGL libraries not available" >&2;}
26713 { (exit 1); exit 1; }; }
26714 fi
26715 fi
26716
26717 if test "$wxUSE_OPENGL" = "yes"; then
26718 USE_OPENGL=1
26719 cat >>confdefs.h <<\_ACEOF
26720 #define wxUSE_OPENGL 1
26721 _ACEOF
26722
26723 cat >>confdefs.h <<\_ACEOF
26724 #define wxUSE_GLCANVAS 1
26725 _ACEOF
26726
26727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
26728 fi
26729 fi
26730
26731 if test -z "$TOOLKIT_VPATH" ; then
26732 TOOLKIT_VPATH="\${top_srcdir}/src/${TOOLKIT_DIR}"
26733 fi
26734
26735 if test -n "$TOOLKIT" ; then
26736 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
26737 fi
26738
26739 UNICODE=0
26740 lib_unicode_suffix=
26741 if test "$wxUSE_UNICODE" = "yes"; then
26742 lib_unicode_suffix=u
26743 UNICODE=1
26744 fi
26745
26746 lib_debug_suffix=
26747 DEBUG_FLAG=0
26748 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
26749 lib_debug_suffix=d
26750 DEBUG_FLAG=1
26751 fi
26752
26753 DEBUG_INFO=0
26754 if test "$wxUSE_DEBUG_INFO" = "yes"; then
26755 DEBUG_INFO=1
26756 fi
26757
26758 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
26759
26760 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
26761 TOOLCHAIN_NAME_GL="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
26762
26763 if test "$cross_compiling" = "yes"; then
26764 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}-${host_alias}"
26765 TOOLCHAIN_NAME_GL="${TOOLCHAIN_NAME_GL}-${host_alias}"
26766 HOST_SUFFIX="-${host_alias}"
26767 fi
26768
26769 WX_LIBRARY="wx_${TOOLCHAIN_NAME}"
26770 WX_LIBRARY_GL="wx_${TOOLCHAIN_NAME_GL}"
26771 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}"
26772 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
26773
26774 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26775 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
26776
26777 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
26778 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26779 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
26780 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26781
26782 case "${host}" in
26783 *-*-cygwin* | *-*-mingw32* )
26784 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${SO_SUFFIX}"
26785 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26786 ;;
26787
26788 *-*-darwin* )
26789
26790 WX_LIBRARY_NAME_SHARED="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26791 WX_LIBRARY_NAME_SHARED_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
26792
26793 WX_LIBRARY_LINK1="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
26794 WX_LIBRARY_LINK2="lib${WX_LIBRARY}.${SO_SUFFIX}"
26795 WX_LIBRARY_LINK1_GL="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
26796 WX_LIBRARY_LINK2_GL="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
26797
26798 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
26799 WX_RESOURCES_MACOSX_ASCII="lib${WX_LIBRARY}.${WX_CURRENT}.r"
26800 WX_RESOURCES_MACOSX_DATA="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
26801 fi
26802 ;;
26803 esac
26804
26805 WX_LIBRARY_NAME_STATIC="lib${WX_LIBRARY}.a"
26806 WX_LIBRARY_NAME_STATIC_GL="lib${WX_LIBRARY_GL}.a"
26807
26808 WXCONFIG_LIBS="-l${WX_LIBRARY}"
26809 WXCONFIG_LIBS_STATIC="lib${WX_LIBRARY}.a"
26810
26811 if test "$wxUSE_OPENGL" = "yes"; then
26812 WXCONFIG_LIBS_GL="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
26813 WXCONFIG_LIBS_STATIC_GL="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
26814 fi
26815
26816
26817
26818 if test "$wxUSE_SHARED" = "yes"; then
26819 case "${host}" in
26820 *-pc-msdosdjgpp )
26821 wxUSE_SHARED=no
26822 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
26823 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
26824 ;;
26825 esac
26826 fi
26827
26828 SHARED=0
26829 if test "$wxUSE_SHARED" = "yes"; then
26830 SHARED=1
26831
26832
26833 found_versioning=no
26834
26835
26836 if test $found_versioning = no ; then
26837 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
26838 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
26839 if test "${wx_cv_version_script+set}" = set; then
26840 echo $ECHO_N "(cached) $ECHO_C" >&6
26841 else
26842
26843 echo "VER_1 { *; };" >conftest.sym
26844 echo "int main() { return 0; }" >conftest.cpp
26845
26846 if { ac_try='
26847 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
26848 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26851 ac_status=$?
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); }; } ; then
26854 if test -s conftest.stderr ; then
26855 wx_cv_version_script=no
26856 else
26857 wx_cv_version_script=yes
26858 fi
26859 else
26860 wx_cv_version_script=no
26861 fi
26862 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
26863
26864 fi
26865 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
26866 echo "${ECHO_T}$wx_cv_version_script" >&6
26867 if test $wx_cv_version_script = yes ; then
26868 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
26869 fi
26870 fi
26871
26872
26873 case "${host}" in
26874 *-*-linux* | *-*-gnu* )
26875 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26876 ;;
26877
26878 *-*-solaris2* )
26879 if test "$GCC" = yes ; then
26880 CPPFLAGS="$CPPFLAGS -isystem /usr/openwin/include"
26881
26882 saveLdflags="$LDFLAGS"
26883 LDFLAGS="$saveLdflags -Wl,-rpath,/"
26884 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
26885 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
26886 cat >conftest.$ac_ext <<_ACEOF
26887 #line $LINENO "configure"
26888 /* confdefs.h. */
26889 _ACEOF
26890 cat confdefs.h >>conftest.$ac_ext
26891 cat >>conftest.$ac_ext <<_ACEOF
26892 /* end confdefs.h. */
26893
26894 int
26895 main ()
26896 {
26897
26898 ;
26899 return 0;
26900 }
26901 _ACEOF
26902 rm -f conftest.$ac_objext conftest$ac_exeext
26903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26904 (eval $ac_link) 2>&5
26905 ac_status=$?
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); } &&
26908 { ac_try='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26911 ac_status=$?
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914
26915 echo "$as_me:$LINENO: result: yes" >&5
26916 echo "${ECHO_T}yes" >&6
26917 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
26918
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26922
26923
26924 echo "$as_me:$LINENO: result: no" >&5
26925 echo "${ECHO_T}no" >&6
26926 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
26927 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
26928 LDFLAGS="$saveLdflags -Wl,-R,/"
26929 cat >conftest.$ac_ext <<_ACEOF
26930 #line $LINENO "configure"
26931 /* confdefs.h. */
26932 _ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936
26937 int
26938 main ()
26939 {
26940
26941 ;
26942 return 0;
26943 }
26944 _ACEOF
26945 rm -f conftest.$ac_objext conftest$ac_exeext
26946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26947 (eval $ac_link) 2>&5
26948 ac_status=$?
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } &&
26951 { ac_try='test -s conftest$ac_exeext'
26952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26953 (eval $ac_try) 2>&5
26954 ac_status=$?
26955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26956 (exit $ac_status); }; }; then
26957
26958 echo "$as_me:$LINENO: result: yes" >&5
26959 echo "${ECHO_T}yes" >&6
26960 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
26961 else
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26964
26965
26966 echo "$as_me:$LINENO: result: no" >&5
26967 echo "${ECHO_T}no" >&6
26968
26969 fi
26970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26971
26972 fi
26973 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26974 LDFLAGS="$saveLdflags"
26975 else
26976 SHARED_LD="${CXX} -G -o"
26977 PIC_FLAG="-KPIC"
26978 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
26979 fi
26980 ;;
26981
26982 powerpc-*-darwin* )
26983 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
26984 cat <<EOF >change-install-names
26985 #!/bin/sh
26986 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
26987 inst_cmd="install_name_tool "
26988 for i in \${libnames} ; do
26989 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
26990 done
26991 \${inst_cmd} \${3}
26992 EOF
26993 chmod +x change-install-names
26994 ;;
26995
26996 *-*-cygwin* | *-*-mingw32* )
26997 TOOLCHAIN_DLL_DEFS="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
26998 ;;
26999
27000 esac
27001
27002 if test "x$WX_TARGET_LIBRARY" = "x"; then
27003 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_SHARED}"
27004 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_SHARED_GL}"
27005 fi
27006
27007 WX_TARGET_LIBRARY_TYPE="so"
27008 INSTALL_LIBRARY='$(INSTALL_PROGRAM)'
27009 fi
27010
27011 if test "$wxUSE_SHARED" = "no"; then
27012
27013 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
27014 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27015 fi
27016
27017 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
27018 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall"
27019 fi
27020
27021 if test "$wxUSE_OPENGL" = "yes"; then
27022 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_gl"
27023 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
27024 else
27025 WX_ALL="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
27026 fi
27027
27028 WX_TARGET_LIBRARY="${WX_LIBRARY_NAME_STATIC}"
27029 WX_TARGET_LIBRARY_GL="${WX_LIBRARY_NAME_STATIC_GL}"
27030
27031 WX_TARGET_LIBRARY_TYPE="a"
27032 INSTALL_LIBRARY='$(INSTALL_DATA)'
27033
27034 STATIC_FLAG="yes"
27035 else
27036 STATIC_FLAG="no"
27037 fi
27038
27039 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
27040 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
27041 WX_ALL="${WX_ALL} ${LIBWXMACRES}"
27042 WX_ALL_INSTALLED="${WX_ALL_INSTALLED} preinstall_res"
27043
27044 # Extract the first word of "Rez", so it can be a program name with args.
27045 set dummy Rez; ac_word=$2
27046 echo "$as_me:$LINENO: checking for $ac_word" >&5
27047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27048 if test "${ac_cv_prog_RESCOMP+set}" = set; then
27049 echo $ECHO_N "(cached) $ECHO_C" >&6
27050 else
27051 if test -n "$RESCOMP"; then
27052 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
27053 else
27054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27055 for as_dir in $PATH
27056 do
27057 IFS=$as_save_IFS
27058 test -z "$as_dir" && as_dir=.
27059 for ac_exec_ext in '' $ac_executable_extensions; do
27060 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27061 ac_cv_prog_RESCOMP="Rez"
27062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27063 break 2
27064 fi
27065 done
27066 done
27067
27068 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
27069 fi
27070 fi
27071 RESCOMP=$ac_cv_prog_RESCOMP
27072 if test -n "$RESCOMP"; then
27073 echo "$as_me:$LINENO: result: $RESCOMP" >&5
27074 echo "${ECHO_T}$RESCOMP" >&6
27075 else
27076 echo "$as_me:$LINENO: result: no" >&5
27077 echo "${ECHO_T}no" >&6
27078 fi
27079
27080 # Extract the first word of "DeRez", so it can be a program name with args.
27081 set dummy DeRez; ac_word=$2
27082 echo "$as_me:$LINENO: checking for $ac_word" >&5
27083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27084 if test "${ac_cv_prog_DEREZ+set}" = set; then
27085 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 else
27087 if test -n "$DEREZ"; then
27088 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
27089 else
27090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27091 for as_dir in $PATH
27092 do
27093 IFS=$as_save_IFS
27094 test -z "$as_dir" && as_dir=.
27095 for ac_exec_ext in '' $ac_executable_extensions; do
27096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27097 ac_cv_prog_DEREZ="DeRez"
27098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27099 break 2
27100 fi
27101 done
27102 done
27103
27104 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
27105 fi
27106 fi
27107 DEREZ=$ac_cv_prog_DEREZ
27108 if test -n "$DEREZ"; then
27109 echo "$as_me:$LINENO: result: $DEREZ" >&5
27110 echo "${ECHO_T}$DEREZ" >&6
27111 else
27112 echo "$as_me:$LINENO: result: no" >&5
27113 echo "${ECHO_T}no" >&6
27114 fi
27115
27116 # Extract the first word of "SetFile", so it can be a program name with args.
27117 set dummy SetFile; ac_word=$2
27118 echo "$as_me:$LINENO: checking for $ac_word" >&5
27119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27120 if test "${ac_cv_prog_SETFILE+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123 if test -n "$SETFILE"; then
27124 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
27125 else
27126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27127 for as_dir in $PATH
27128 do
27129 IFS=$as_save_IFS
27130 test -z "$as_dir" && as_dir=.
27131 for ac_exec_ext in '' $ac_executable_extensions; do
27132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27133 ac_cv_prog_SETFILE="SetFile"
27134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27135 break 2
27136 fi
27137 done
27138 done
27139
27140 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
27141 fi
27142 fi
27143 SETFILE=$ac_cv_prog_SETFILE
27144 if test -n "$SETFILE"; then
27145 echo "$as_me:$LINENO: result: $SETFILE" >&5
27146 echo "${ECHO_T}$SETFILE" >&6
27147 else
27148 echo "$as_me:$LINENO: result: no" >&5
27149 echo "${ECHO_T}no" >&6
27150 fi
27151
27152
27153 MACSETFILE="\$(SETFILE)"
27154
27155 if test "$wxUSE_MAC" = 1; then
27156 MACRESCOMP="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
27157
27158 MACRESWXCONFIG="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27159 else
27160 MACRESCOMP="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
27161 MACRESWXCONFIG="echo -n \\\| ${RESCOMP} -d __DARWIN__ -t APPL \\\${exec_prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
27162 fi
27163 else
27164 MACSETFILE="@#"
27165 MACRESWXCONFIG="#"
27166
27167 if test "$wxUSE_PM" = 1; then
27168 MACRESCOMP="emxbind -ep"
27169 else
27170 MACRESCOMP="@#"
27171 fi
27172 fi
27173
27174
27175
27176 echo "$as_me:$LINENO: checking for mode_t" >&5
27177 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
27178 if test "${ac_cv_type_mode_t+set}" = set; then
27179 echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27181 cat >conftest.$ac_ext <<_ACEOF
27182 #line $LINENO "configure"
27183 /* confdefs.h. */
27184 _ACEOF
27185 cat confdefs.h >>conftest.$ac_ext
27186 cat >>conftest.$ac_ext <<_ACEOF
27187 /* end confdefs.h. */
27188 $ac_includes_default
27189 int
27190 main ()
27191 {
27192 if ((mode_t *) 0)
27193 return 0;
27194 if (sizeof (mode_t))
27195 return 0;
27196 ;
27197 return 0;
27198 }
27199 _ACEOF
27200 rm -f conftest.$ac_objext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27202 (eval $ac_compile) 2>&5
27203 ac_status=$?
27204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27205 (exit $ac_status); } &&
27206 { ac_try='test -s conftest.$ac_objext'
27207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27208 (eval $ac_try) 2>&5
27209 ac_status=$?
27210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27211 (exit $ac_status); }; }; then
27212 ac_cv_type_mode_t=yes
27213 else
27214 echo "$as_me: failed program was:" >&5
27215 sed 's/^/| /' conftest.$ac_ext >&5
27216
27217 ac_cv_type_mode_t=no
27218 fi
27219 rm -f conftest.$ac_objext conftest.$ac_ext
27220 fi
27221 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
27222 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
27223 if test $ac_cv_type_mode_t = yes; then
27224 :
27225 else
27226
27227 cat >>confdefs.h <<_ACEOF
27228 #define mode_t int
27229 _ACEOF
27230
27231 fi
27232
27233 echo "$as_me:$LINENO: checking for off_t" >&5
27234 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
27235 if test "${ac_cv_type_off_t+set}" = set; then
27236 echo $ECHO_N "(cached) $ECHO_C" >&6
27237 else
27238 cat >conftest.$ac_ext <<_ACEOF
27239 #line $LINENO "configure"
27240 /* confdefs.h. */
27241 _ACEOF
27242 cat confdefs.h >>conftest.$ac_ext
27243 cat >>conftest.$ac_ext <<_ACEOF
27244 /* end confdefs.h. */
27245 $ac_includes_default
27246 int
27247 main ()
27248 {
27249 if ((off_t *) 0)
27250 return 0;
27251 if (sizeof (off_t))
27252 return 0;
27253 ;
27254 return 0;
27255 }
27256 _ACEOF
27257 rm -f conftest.$ac_objext
27258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27259 (eval $ac_compile) 2>&5
27260 ac_status=$?
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } &&
27263 { ac_try='test -s conftest.$ac_objext'
27264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27265 (eval $ac_try) 2>&5
27266 ac_status=$?
27267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27268 (exit $ac_status); }; }; then
27269 ac_cv_type_off_t=yes
27270 else
27271 echo "$as_me: failed program was:" >&5
27272 sed 's/^/| /' conftest.$ac_ext >&5
27273
27274 ac_cv_type_off_t=no
27275 fi
27276 rm -f conftest.$ac_objext conftest.$ac_ext
27277 fi
27278 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
27279 echo "${ECHO_T}$ac_cv_type_off_t" >&6
27280 if test $ac_cv_type_off_t = yes; then
27281 :
27282 else
27283
27284 cat >>confdefs.h <<_ACEOF
27285 #define off_t long
27286 _ACEOF
27287
27288 fi
27289
27290 echo "$as_me:$LINENO: checking for pid_t" >&5
27291 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
27292 if test "${ac_cv_type_pid_t+set}" = set; then
27293 echo $ECHO_N "(cached) $ECHO_C" >&6
27294 else
27295 cat >conftest.$ac_ext <<_ACEOF
27296 #line $LINENO "configure"
27297 /* confdefs.h. */
27298 _ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302 $ac_includes_default
27303 int
27304 main ()
27305 {
27306 if ((pid_t *) 0)
27307 return 0;
27308 if (sizeof (pid_t))
27309 return 0;
27310 ;
27311 return 0;
27312 }
27313 _ACEOF
27314 rm -f conftest.$ac_objext
27315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27316 (eval $ac_compile) 2>&5
27317 ac_status=$?
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } &&
27320 { ac_try='test -s conftest.$ac_objext'
27321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27322 (eval $ac_try) 2>&5
27323 ac_status=$?
27324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325 (exit $ac_status); }; }; then
27326 ac_cv_type_pid_t=yes
27327 else
27328 echo "$as_me: failed program was:" >&5
27329 sed 's/^/| /' conftest.$ac_ext >&5
27330
27331 ac_cv_type_pid_t=no
27332 fi
27333 rm -f conftest.$ac_objext conftest.$ac_ext
27334 fi
27335 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
27336 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
27337 if test $ac_cv_type_pid_t = yes; then
27338 :
27339 else
27340
27341 cat >>confdefs.h <<_ACEOF
27342 #define pid_t int
27343 _ACEOF
27344
27345 fi
27346
27347 echo "$as_me:$LINENO: checking for size_t" >&5
27348 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
27349 if test "${ac_cv_type_size_t+set}" = set; then
27350 echo $ECHO_N "(cached) $ECHO_C" >&6
27351 else
27352 cat >conftest.$ac_ext <<_ACEOF
27353 #line $LINENO "configure"
27354 /* confdefs.h. */
27355 _ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 $ac_includes_default
27360 int
27361 main ()
27362 {
27363 if ((size_t *) 0)
27364 return 0;
27365 if (sizeof (size_t))
27366 return 0;
27367 ;
27368 return 0;
27369 }
27370 _ACEOF
27371 rm -f conftest.$ac_objext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27373 (eval $ac_compile) 2>&5
27374 ac_status=$?
27375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27376 (exit $ac_status); } &&
27377 { ac_try='test -s conftest.$ac_objext'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; }; then
27383 ac_cv_type_size_t=yes
27384 else
27385 echo "$as_me: failed program was:" >&5
27386 sed 's/^/| /' conftest.$ac_ext >&5
27387
27388 ac_cv_type_size_t=no
27389 fi
27390 rm -f conftest.$ac_objext conftest.$ac_ext
27391 fi
27392 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
27393 echo "${ECHO_T}$ac_cv_type_size_t" >&6
27394 if test $ac_cv_type_size_t = yes; then
27395 :
27396 else
27397
27398 cat >>confdefs.h <<_ACEOF
27399 #define size_t unsigned
27400 _ACEOF
27401
27402 fi
27403
27404 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
27405 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
27406 if test "${ac_cv_type_uid_t+set}" = set; then
27407 echo $ECHO_N "(cached) $ECHO_C" >&6
27408 else
27409 cat >conftest.$ac_ext <<_ACEOF
27410 #line $LINENO "configure"
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416 #include <sys/types.h>
27417
27418 _ACEOF
27419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
27420 $EGREP "uid_t" >/dev/null 2>&1; then
27421 ac_cv_type_uid_t=yes
27422 else
27423 ac_cv_type_uid_t=no
27424 fi
27425 rm -f conftest*
27426
27427 fi
27428 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
27429 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
27430 if test $ac_cv_type_uid_t = no; then
27431
27432 cat >>confdefs.h <<\_ACEOF
27433 #define uid_t int
27434 _ACEOF
27435
27436
27437 cat >>confdefs.h <<\_ACEOF
27438 #define gid_t int
27439 _ACEOF
27440
27441 fi
27442
27443
27444
27445
27446 ac_ext=cc
27447 ac_cpp='$CXXCPP $CPPFLAGS'
27448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27451
27452 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
27453 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
27454 if test "${wx_cv_size_t_is_uint+set}" = set; then
27455 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 else
27457
27458 cat >conftest.$ac_ext <<_ACEOF
27459 #line $LINENO "configure"
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 #include <stddef.h>
27466 int
27467 main ()
27468 {
27469
27470 return 0; }
27471
27472 struct Foo { void foo(size_t); void foo(unsigned int); };
27473
27474 int bar() {
27475
27476 ;
27477 return 0;
27478 }
27479 _ACEOF
27480 rm -f conftest.$ac_objext
27481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27482 (eval $ac_compile) 2>&5
27483 ac_status=$?
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try='test -s conftest.$ac_objext'
27487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27488 (eval $ac_try) 2>&5
27489 ac_status=$?
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); }; }; then
27492 wx_cv_size_t_is_uint=no
27493 else
27494 echo "$as_me: failed program was:" >&5
27495 sed 's/^/| /' conftest.$ac_ext >&5
27496
27497 wx_cv_size_t_is_uint=yes
27498
27499 fi
27500 rm -f conftest.$ac_objext conftest.$ac_ext
27501
27502
27503 fi
27504 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
27505 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
27506
27507 if test "$wx_cv_size_t_is_uint" = "yes"; then
27508 cat >>confdefs.h <<\_ACEOF
27509 #define wxSIZE_T_IS_UINT 1
27510 _ACEOF
27511
27512 else
27513 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
27514 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
27515 if test "${wx_cv_size_t_is_ulong+set}" = set; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517 else
27518 cat >conftest.$ac_ext <<_ACEOF
27519 #line $LINENO "configure"
27520 /* confdefs.h. */
27521 _ACEOF
27522 cat confdefs.h >>conftest.$ac_ext
27523 cat >>conftest.$ac_ext <<_ACEOF
27524 /* end confdefs.h. */
27525 #include <stddef.h>
27526 int
27527 main ()
27528 {
27529
27530 return 0; }
27531
27532 struct Foo { void foo(size_t); void foo(unsigned long); };
27533
27534 int bar() {
27535
27536 ;
27537 return 0;
27538 }
27539 _ACEOF
27540 rm -f conftest.$ac_objext
27541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27542 (eval $ac_compile) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); } &&
27546 { ac_try='test -s conftest.$ac_objext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 wx_cv_size_t_is_ulong=no
27553 else
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.$ac_ext >&5
27556
27557 wx_cv_size_t_is_ulong=yes
27558
27559 fi
27560 rm -f conftest.$ac_objext conftest.$ac_ext
27561
27562 fi
27563 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
27564 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
27565
27566 if test "$wx_cv_size_t_is_ulong" = "yes"; then
27567 cat >>confdefs.h <<\_ACEOF
27568 #define wxSIZE_T_IS_ULONG 1
27569 _ACEOF
27570
27571 fi
27572 fi
27573
27574 ac_ext=c
27575 ac_cpp='$CPP $CPPFLAGS'
27576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27579
27580
27581
27582 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
27583 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
27584 if test "${wx_cv_struct_pw_gecos+set}" = set; then
27585 echo $ECHO_N "(cached) $ECHO_C" >&6
27586 else
27587
27588 cat >conftest.$ac_ext <<_ACEOF
27589 #line $LINENO "configure"
27590 /* confdefs.h. */
27591 _ACEOF
27592 cat confdefs.h >>conftest.$ac_ext
27593 cat >>conftest.$ac_ext <<_ACEOF
27594 /* end confdefs.h. */
27595 #include <pwd.h>
27596 int
27597 main ()
27598 {
27599
27600 char *p;
27601 struct passwd *pw;
27602 p = pw->pw_gecos;
27603
27604 ;
27605 return 0;
27606 }
27607 _ACEOF
27608 rm -f conftest.$ac_objext
27609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27610 (eval $ac_compile) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); } &&
27614 { ac_try='test -s conftest.$ac_objext'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27617 ac_status=$?
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; }; then
27620
27621 wx_cv_struct_pw_gecos=yes
27622
27623 else
27624 echo "$as_me: failed program was:" >&5
27625 sed 's/^/| /' conftest.$ac_ext >&5
27626
27627
27628 wx_cv_struct_pw_gecos=no
27629
27630
27631 fi
27632 rm -f conftest.$ac_objext conftest.$ac_ext
27633
27634
27635 fi
27636 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
27637 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
27638
27639 if test "$wx_cv_struct_pw_gecos" = "yes"; then
27640 cat >>confdefs.h <<\_ACEOF
27641 #define HAVE_PW_GECOS 1
27642 _ACEOF
27643
27644 fi
27645
27646
27647 if test "$wx_cv_sizeof_wchar_t" != "0"; then
27648 cat >>confdefs.h <<\_ACEOF
27649 #define wxUSE_WCHAR_T 1
27650 _ACEOF
27651
27652
27653 WCSLEN_FOUND=0
27654 WCHAR_LINK=
27655
27656 for ac_func in wcslen
27657 do
27658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27659 echo "$as_me:$LINENO: checking for $ac_func" >&5
27660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27661 if eval "test \"\${$as_ac_var+set}\" = set"; then
27662 echo $ECHO_N "(cached) $ECHO_C" >&6
27663 else
27664 cat >conftest.$ac_ext <<_ACEOF
27665 #line $LINENO "configure"
27666 /* confdefs.h. */
27667 _ACEOF
27668 cat confdefs.h >>conftest.$ac_ext
27669 cat >>conftest.$ac_ext <<_ACEOF
27670 /* end confdefs.h. */
27671 /* System header to define __stub macros and hopefully few prototypes,
27672 which can conflict with char $ac_func (); below.
27673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27674 <limits.h> exists even on freestanding compilers. */
27675 #ifdef __STDC__
27676 # include <limits.h>
27677 #else
27678 # include <assert.h>
27679 #endif
27680 /* Override any gcc2 internal prototype to avoid an error. */
27681 #ifdef __cplusplus
27682 extern "C"
27683 {
27684 #endif
27685 /* We use char because int might match the return type of a gcc2
27686 builtin and then its argument prototype would still apply. */
27687 char $ac_func ();
27688 /* The GNU C library defines this for functions which it implements
27689 to always fail with ENOSYS. Some functions are actually named
27690 something starting with __ and the normal name is an alias. */
27691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27692 choke me
27693 #else
27694 char (*f) () = $ac_func;
27695 #endif
27696 #ifdef __cplusplus
27697 }
27698 #endif
27699
27700 int
27701 main ()
27702 {
27703 return f != $ac_func;
27704 ;
27705 return 0;
27706 }
27707 _ACEOF
27708 rm -f conftest.$ac_objext conftest$ac_exeext
27709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27710 (eval $ac_link) 2>&5
27711 ac_status=$?
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } &&
27714 { ac_try='test -s conftest$ac_exeext'
27715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27716 (eval $ac_try) 2>&5
27717 ac_status=$?
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); }; }; then
27720 eval "$as_ac_var=yes"
27721 else
27722 echo "$as_me: failed program was:" >&5
27723 sed 's/^/| /' conftest.$ac_ext >&5
27724
27725 eval "$as_ac_var=no"
27726 fi
27727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27728 fi
27729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27731 if test `eval echo '${'$as_ac_var'}'` = yes; then
27732 cat >>confdefs.h <<_ACEOF
27733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27734 _ACEOF
27735 WCSLEN_FOUND=1
27736 fi
27737 done
27738
27739
27740 if test "$WCSLEN_FOUND" = 0; then
27741 if test "$TOOLKIT" = "MSW"; then
27742 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
27743 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
27744 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
27745 echo $ECHO_N "(cached) $ECHO_C" >&6
27746 else
27747 ac_check_lib_save_LIBS=$LIBS
27748 LIBS="-lmsvcrt $LIBS"
27749 cat >conftest.$ac_ext <<_ACEOF
27750 #line $LINENO "configure"
27751 /* confdefs.h. */
27752 _ACEOF
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756
27757 /* Override any gcc2 internal prototype to avoid an error. */
27758 #ifdef __cplusplus
27759 extern "C"
27760 #endif
27761 /* We use char because int might match the return type of a gcc2
27762 builtin and then its argument prototype would still apply. */
27763 char wcslen ();
27764 int
27765 main ()
27766 {
27767 wcslen ();
27768 ;
27769 return 0;
27770 }
27771 _ACEOF
27772 rm -f conftest.$ac_objext conftest$ac_exeext
27773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27774 (eval $ac_link) 2>&5
27775 ac_status=$?
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } &&
27778 { ac_try='test -s conftest$ac_exeext'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; }; then
27784 ac_cv_lib_msvcrt_wcslen=yes
27785 else
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27788
27789 ac_cv_lib_msvcrt_wcslen=no
27790 fi
27791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27792 LIBS=$ac_check_lib_save_LIBS
27793 fi
27794 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
27795 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
27796 if test $ac_cv_lib_msvcrt_wcslen = yes; then
27797 WCHAR_OK=1
27798 fi
27799
27800 else
27801 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
27802 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
27803 if test "${ac_cv_lib_w_wcslen+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27805 else
27806 ac_check_lib_save_LIBS=$LIBS
27807 LIBS="-lw $LIBS"
27808 cat >conftest.$ac_ext <<_ACEOF
27809 #line $LINENO "configure"
27810 /* confdefs.h. */
27811 _ACEOF
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27815
27816 /* Override any gcc2 internal prototype to avoid an error. */
27817 #ifdef __cplusplus
27818 extern "C"
27819 #endif
27820 /* We use char because int might match the return type of a gcc2
27821 builtin and then its argument prototype would still apply. */
27822 char wcslen ();
27823 int
27824 main ()
27825 {
27826 wcslen ();
27827 ;
27828 return 0;
27829 }
27830 _ACEOF
27831 rm -f conftest.$ac_objext conftest$ac_exeext
27832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27833 (eval $ac_link) 2>&5
27834 ac_status=$?
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); } &&
27837 { ac_try='test -s conftest$ac_exeext'
27838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27839 (eval $ac_try) 2>&5
27840 ac_status=$?
27841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27842 (exit $ac_status); }; }; then
27843 ac_cv_lib_w_wcslen=yes
27844 else
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.$ac_ext >&5
27847
27848 ac_cv_lib_w_wcslen=no
27849 fi
27850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27851 LIBS=$ac_check_lib_save_LIBS
27852 fi
27853 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
27854 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
27855 if test $ac_cv_lib_w_wcslen = yes; then
27856
27857 WCHAR_LINK=" -lw"
27858 WCSLEN_FOUND=1
27859
27860 fi
27861
27862 fi
27863 fi
27864
27865 if test "$WCSLEN_FOUND" = 1; then
27866 cat >>confdefs.h <<\_ACEOF
27867 #define HAVE_WCSLEN 1
27868 _ACEOF
27869
27870 fi
27871
27872 if test "$USE_HPUX" = 1 -a "x$GCC" != "xyes"; then
27873 CPPFLAGS="$CPPFLAGS -D_INCLUDE__STDC_A1_SOURCE "
27874 fi
27875
27876
27877 for ac_func in wcsrtombs
27878 do
27879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27880 echo "$as_me:$LINENO: checking for $ac_func" >&5
27881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27882 if eval "test \"\${$as_ac_var+set}\" = set"; then
27883 echo $ECHO_N "(cached) $ECHO_C" >&6
27884 else
27885 cat >conftest.$ac_ext <<_ACEOF
27886 #line $LINENO "configure"
27887 /* confdefs.h. */
27888 _ACEOF
27889 cat confdefs.h >>conftest.$ac_ext
27890 cat >>conftest.$ac_ext <<_ACEOF
27891 /* end confdefs.h. */
27892 /* System header to define __stub macros and hopefully few prototypes,
27893 which can conflict with char $ac_func (); below.
27894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27895 <limits.h> exists even on freestanding compilers. */
27896 #ifdef __STDC__
27897 # include <limits.h>
27898 #else
27899 # include <assert.h>
27900 #endif
27901 /* Override any gcc2 internal prototype to avoid an error. */
27902 #ifdef __cplusplus
27903 extern "C"
27904 {
27905 #endif
27906 /* We use char because int might match the return type of a gcc2
27907 builtin and then its argument prototype would still apply. */
27908 char $ac_func ();
27909 /* The GNU C library defines this for functions which it implements
27910 to always fail with ENOSYS. Some functions are actually named
27911 something starting with __ and the normal name is an alias. */
27912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27913 choke me
27914 #else
27915 char (*f) () = $ac_func;
27916 #endif
27917 #ifdef __cplusplus
27918 }
27919 #endif
27920
27921 int
27922 main ()
27923 {
27924 return f != $ac_func;
27925 ;
27926 return 0;
27927 }
27928 _ACEOF
27929 rm -f conftest.$ac_objext conftest$ac_exeext
27930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27931 (eval $ac_link) 2>&5
27932 ac_status=$?
27933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27934 (exit $ac_status); } &&
27935 { ac_try='test -s conftest$ac_exeext'
27936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27937 (eval $ac_try) 2>&5
27938 ac_status=$?
27939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27940 (exit $ac_status); }; }; then
27941 eval "$as_ac_var=yes"
27942 else
27943 echo "$as_me: failed program was:" >&5
27944 sed 's/^/| /' conftest.$ac_ext >&5
27945
27946 eval "$as_ac_var=no"
27947 fi
27948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27949 fi
27950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27952 if test `eval echo '${'$as_ac_var'}'` = yes; then
27953 cat >>confdefs.h <<_ACEOF
27954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27955 _ACEOF
27956
27957 fi
27958 done
27959
27960 else
27961 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
27962 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
27963 fi
27964
27965
27966
27967 ac_ext=cc
27968 ac_cpp='$CXXCPP $CPPFLAGS'
27969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27972
27973
27974
27975 for ac_func in vsnprintf
27976 do
27977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27978 echo "$as_me:$LINENO: checking for $ac_func" >&5
27979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27980 if eval "test \"\${$as_ac_var+set}\" = set"; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27982 else
27983 cat >conftest.$ac_ext <<_ACEOF
27984 #line $LINENO "configure"
27985 /* confdefs.h. */
27986 _ACEOF
27987 cat confdefs.h >>conftest.$ac_ext
27988 cat >>conftest.$ac_ext <<_ACEOF
27989 /* end confdefs.h. */
27990 /* System header to define __stub macros and hopefully few prototypes,
27991 which can conflict with char $ac_func (); below.
27992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27993 <limits.h> exists even on freestanding compilers. */
27994 #ifdef __STDC__
27995 # include <limits.h>
27996 #else
27997 # include <assert.h>
27998 #endif
27999 /* Override any gcc2 internal prototype to avoid an error. */
28000 #ifdef __cplusplus
28001 extern "C"
28002 {
28003 #endif
28004 /* We use char because int might match the return type of a gcc2
28005 builtin and then its argument prototype would still apply. */
28006 char $ac_func ();
28007 /* The GNU C library defines this for functions which it implements
28008 to always fail with ENOSYS. Some functions are actually named
28009 something starting with __ and the normal name is an alias. */
28010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28011 choke me
28012 #else
28013 char (*f) () = $ac_func;
28014 #endif
28015 #ifdef __cplusplus
28016 }
28017 #endif
28018
28019 int
28020 main ()
28021 {
28022 return f != $ac_func;
28023 ;
28024 return 0;
28025 }
28026 _ACEOF
28027 rm -f conftest.$ac_objext conftest$ac_exeext
28028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28029 (eval $ac_link) 2>&5
28030 ac_status=$?
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -s conftest$ac_exeext'
28034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28035 (eval $ac_try) 2>&5
28036 ac_status=$?
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); }; }; then
28039 eval "$as_ac_var=yes"
28040 else
28041 echo "$as_me: failed program was:" >&5
28042 sed 's/^/| /' conftest.$ac_ext >&5
28043
28044 eval "$as_ac_var=no"
28045 fi
28046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28047 fi
28048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28050 if test `eval echo '${'$as_ac_var'}'` = yes; then
28051 cat >>confdefs.h <<_ACEOF
28052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28053 _ACEOF
28054
28055 fi
28056 done
28057
28058
28059 if test "$ac_cv_func_vsnprintf" = "yes"; then
28060 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
28061 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
28062 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28064 else
28065
28066 cat >conftest.$ac_ext <<_ACEOF
28067 #line $LINENO "configure"
28068 /* confdefs.h. */
28069 _ACEOF
28070 cat confdefs.h >>conftest.$ac_ext
28071 cat >>conftest.$ac_ext <<_ACEOF
28072 /* end confdefs.h. */
28073
28074 #include <stdio.h>
28075 #include <stdarg.h>
28076
28077 int
28078 main ()
28079 {
28080
28081 char *buf;
28082 va_list ap;
28083 vsnprintf(buf, 10u, "%s", ap);
28084
28085 ;
28086 return 0;
28087 }
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>&5
28092 ac_status=$?
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } &&
28095 { ac_try='test -s conftest.$ac_objext'
28096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28097 (eval $ac_try) 2>&5
28098 ac_status=$?
28099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28100 (exit $ac_status); }; }; then
28101 wx_cv_func_vsnprintf_decl=yes
28102 else
28103 echo "$as_me: failed program was:" >&5
28104 sed 's/^/| /' conftest.$ac_ext >&5
28105
28106 wx_cv_func_vsnprintf_decl=no
28107
28108 fi
28109 rm -f conftest.$ac_objext conftest.$ac_ext
28110
28111
28112 fi
28113 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
28114 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
28115
28116 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
28117 cat >>confdefs.h <<\_ACEOF
28118 #define HAVE_VSNPRINTF_DECL 1
28119 _ACEOF
28120
28121 fi
28122 fi
28123
28124 if test "$wxUSE_UNICODE" = yes; then
28125
28126
28127
28128 for ac_func in fputwc wprintf vswprintf
28129 do
28130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28131 echo "$as_me:$LINENO: checking for $ac_func" >&5
28132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28133 if eval "test \"\${$as_ac_var+set}\" = set"; then
28134 echo $ECHO_N "(cached) $ECHO_C" >&6
28135 else
28136 cat >conftest.$ac_ext <<_ACEOF
28137 #line $LINENO "configure"
28138 /* confdefs.h. */
28139 _ACEOF
28140 cat confdefs.h >>conftest.$ac_ext
28141 cat >>conftest.$ac_ext <<_ACEOF
28142 /* end confdefs.h. */
28143 /* System header to define __stub macros and hopefully few prototypes,
28144 which can conflict with char $ac_func (); below.
28145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28146 <limits.h> exists even on freestanding compilers. */
28147 #ifdef __STDC__
28148 # include <limits.h>
28149 #else
28150 # include <assert.h>
28151 #endif
28152 /* Override any gcc2 internal prototype to avoid an error. */
28153 #ifdef __cplusplus
28154 extern "C"
28155 {
28156 #endif
28157 /* We use char because int might match the return type of a gcc2
28158 builtin and then its argument prototype would still apply. */
28159 char $ac_func ();
28160 /* The GNU C library defines this for functions which it implements
28161 to always fail with ENOSYS. Some functions are actually named
28162 something starting with __ and the normal name is an alias. */
28163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28164 choke me
28165 #else
28166 char (*f) () = $ac_func;
28167 #endif
28168 #ifdef __cplusplus
28169 }
28170 #endif
28171
28172 int
28173 main ()
28174 {
28175 return f != $ac_func;
28176 ;
28177 return 0;
28178 }
28179 _ACEOF
28180 rm -f conftest.$ac_objext conftest$ac_exeext
28181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28182 (eval $ac_link) 2>&5
28183 ac_status=$?
28184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28185 (exit $ac_status); } &&
28186 { ac_try='test -s conftest$ac_exeext'
28187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28188 (eval $ac_try) 2>&5
28189 ac_status=$?
28190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28191 (exit $ac_status); }; }; then
28192 eval "$as_ac_var=yes"
28193 else
28194 echo "$as_me: failed program was:" >&5
28195 sed 's/^/| /' conftest.$ac_ext >&5
28196
28197 eval "$as_ac_var=no"
28198 fi
28199 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28200 fi
28201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28203 if test `eval echo '${'$as_ac_var'}'` = yes; then
28204 cat >>confdefs.h <<_ACEOF
28205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28206 _ACEOF
28207
28208 fi
28209 done
28210
28211
28212 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
28213 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
28214 cat >conftest.$ac_ext <<_ACEOF
28215 #line $LINENO "configure"
28216 /* confdefs.h. */
28217 _ACEOF
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221 #include <wchar.h>
28222 int
28223 main ()
28224 {
28225 &_vsnwprintf;
28226 ;
28227 return 0;
28228 }
28229 _ACEOF
28230 rm -f conftest.$ac_objext
28231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28232 (eval $ac_compile) 2>&5
28233 ac_status=$?
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); } &&
28236 { ac_try='test -s conftest.$ac_objext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 echo "$as_me:$LINENO: result: yes" >&5
28243 echo "${ECHO_T}yes" >&6
28244 cat >>confdefs.h <<\_ACEOF
28245 #define HAVE__VSNWPRINTF 1
28246 _ACEOF
28247
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28251
28252 echo "$as_me:$LINENO: result: no" >&5
28253 echo "${ECHO_T}no" >&6
28254 fi
28255 rm -f conftest.$ac_objext conftest.$ac_ext;
28256 fi
28257
28258 ac_ext=c
28259 ac_cpp='$CPP $CPPFLAGS'
28260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28263
28264
28265
28266
28267 if test "$TOOLKIT" != "MSW"; then
28268
28269
28270
28271
28272 ac_ext=cc
28273 ac_cpp='$CXXCPP $CPPFLAGS'
28274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28277
28278
28279
28280
28281 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
28282 if test "${with_libiconv_prefix+set}" = set; then
28283 withval="$with_libiconv_prefix"
28284
28285 for dir in `echo "$withval" | tr : ' '`; do
28286 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
28287 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
28288 done
28289
28290 fi;
28291
28292 echo "$as_me:$LINENO: checking for iconv" >&5
28293 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
28294 if test "${am_cv_func_iconv+set}" = set; then
28295 echo $ECHO_N "(cached) $ECHO_C" >&6
28296 else
28297
28298 am_cv_func_iconv="no, consider installing GNU libiconv"
28299 am_cv_lib_iconv=no
28300 cat >conftest.$ac_ext <<_ACEOF
28301 #line $LINENO "configure"
28302 /* confdefs.h. */
28303 _ACEOF
28304 cat confdefs.h >>conftest.$ac_ext
28305 cat >>conftest.$ac_ext <<_ACEOF
28306 /* end confdefs.h. */
28307 #include <stdlib.h>
28308 #include <iconv.h>
28309 int
28310 main ()
28311 {
28312 iconv_t cd = iconv_open("","");
28313 iconv(cd,NULL,NULL,NULL,NULL);
28314 iconv_close(cd);
28315 ;
28316 return 0;
28317 }
28318 _ACEOF
28319 rm -f conftest.$ac_objext conftest$ac_exeext
28320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28321 (eval $ac_link) 2>&5
28322 ac_status=$?
28323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28324 (exit $ac_status); } &&
28325 { ac_try='test -s conftest$ac_exeext'
28326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28327 (eval $ac_try) 2>&5
28328 ac_status=$?
28329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28330 (exit $ac_status); }; }; then
28331 am_cv_func_iconv=yes
28332 else
28333 echo "$as_me: failed program was:" >&5
28334 sed 's/^/| /' conftest.$ac_ext >&5
28335
28336 fi
28337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28338 if test "$am_cv_func_iconv" != yes; then
28339 am_save_LIBS="$LIBS"
28340 LIBS="$LIBS -liconv"
28341 cat >conftest.$ac_ext <<_ACEOF
28342 #line $LINENO "configure"
28343 /* confdefs.h. */
28344 _ACEOF
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348 #include <stdlib.h>
28349 #include <iconv.h>
28350 int
28351 main ()
28352 {
28353 iconv_t cd = iconv_open("","");
28354 iconv(cd,NULL,NULL,NULL,NULL);
28355 iconv_close(cd);
28356 ;
28357 return 0;
28358 }
28359 _ACEOF
28360 rm -f conftest.$ac_objext conftest$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>&5
28363 ac_status=$?
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -s conftest$ac_exeext'
28367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28368 (eval $ac_try) 2>&5
28369 ac_status=$?
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); }; }; then
28372 am_cv_lib_iconv=yes
28373 am_cv_func_iconv=yes
28374 else
28375 echo "$as_me: failed program was:" >&5
28376 sed 's/^/| /' conftest.$ac_ext >&5
28377
28378 fi
28379 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28380 LIBS="$am_save_LIBS"
28381 fi
28382
28383 fi
28384 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
28385 echo "${ECHO_T}$am_cv_func_iconv" >&6
28386 if test "$am_cv_func_iconv" = yes; then
28387
28388 cat >>confdefs.h <<\_ACEOF
28389 #define HAVE_ICONV 1
28390 _ACEOF
28391
28392 echo "$as_me:$LINENO: checking if iconv needs const" >&5
28393 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
28394 if test "${wx_cv_func_iconv_const+set}" = set; then
28395 echo $ECHO_N "(cached) $ECHO_C" >&6
28396 else
28397 cat >conftest.$ac_ext <<_ACEOF
28398 #line $LINENO "configure"
28399 /* confdefs.h. */
28400 _ACEOF
28401 cat confdefs.h >>conftest.$ac_ext
28402 cat >>conftest.$ac_ext <<_ACEOF
28403 /* end confdefs.h. */
28404
28405 #include <stdlib.h>
28406 #include <iconv.h>
28407 extern
28408 #ifdef __cplusplus
28409 "C"
28410 #endif
28411 #if defined(__STDC__) || defined(__cplusplus)
28412 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28413 #else
28414 size_t iconv();
28415 #endif
28416
28417 int
28418 main ()
28419 {
28420
28421 ;
28422 return 0;
28423 }
28424 _ACEOF
28425 rm -f conftest.$ac_objext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28427 (eval $ac_compile) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); } &&
28431 { ac_try='test -s conftest.$ac_objext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28434 ac_status=$?
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 wx_cv_func_iconv_const="no"
28438 else
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28441
28442 wx_cv_func_iconv_const="yes"
28443
28444 fi
28445 rm -f conftest.$ac_objext conftest.$ac_ext
28446
28447 fi
28448 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
28449 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
28450
28451 iconv_const=
28452 if test "x$wx_cv_func_iconv_const" = "xyes"; then
28453 iconv_const="const"
28454 fi
28455
28456
28457 cat >>confdefs.h <<_ACEOF
28458 #define ICONV_CONST $iconv_const
28459 _ACEOF
28460
28461 fi
28462 LIBICONV=
28463 if test "$am_cv_lib_iconv" = yes; then
28464 LIBICONV="-liconv"
28465 fi
28466
28467
28468 LIBS="$LIBICONV $LIBS"
28469 ac_ext=c
28470 ac_cpp='$CPP $CPPFLAGS'
28471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28474
28475
28476 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
28477
28478 for ac_func in sigaction
28479 do
28480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28481 echo "$as_me:$LINENO: checking for $ac_func" >&5
28482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28483 if eval "test \"\${$as_ac_var+set}\" = set"; then
28484 echo $ECHO_N "(cached) $ECHO_C" >&6
28485 else
28486 cat >conftest.$ac_ext <<_ACEOF
28487 #line $LINENO "configure"
28488 /* confdefs.h. */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493 /* System header to define __stub macros and hopefully few prototypes,
28494 which can conflict with char $ac_func (); below.
28495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28496 <limits.h> exists even on freestanding compilers. */
28497 #ifdef __STDC__
28498 # include <limits.h>
28499 #else
28500 # include <assert.h>
28501 #endif
28502 /* Override any gcc2 internal prototype to avoid an error. */
28503 #ifdef __cplusplus
28504 extern "C"
28505 {
28506 #endif
28507 /* We use char because int might match the return type of a gcc2
28508 builtin and then its argument prototype would still apply. */
28509 char $ac_func ();
28510 /* The GNU C library defines this for functions which it implements
28511 to always fail with ENOSYS. Some functions are actually named
28512 something starting with __ and the normal name is an alias. */
28513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28514 choke me
28515 #else
28516 char (*f) () = $ac_func;
28517 #endif
28518 #ifdef __cplusplus
28519 }
28520 #endif
28521
28522 int
28523 main ()
28524 {
28525 return f != $ac_func;
28526 ;
28527 return 0;
28528 }
28529 _ACEOF
28530 rm -f conftest.$ac_objext conftest$ac_exeext
28531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28532 (eval $ac_link) 2>&5
28533 ac_status=$?
28534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28535 (exit $ac_status); } &&
28536 { ac_try='test -s conftest$ac_exeext'
28537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28538 (eval $ac_try) 2>&5
28539 ac_status=$?
28540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28541 (exit $ac_status); }; }; then
28542 eval "$as_ac_var=yes"
28543 else
28544 echo "$as_me: failed program was:" >&5
28545 sed 's/^/| /' conftest.$ac_ext >&5
28546
28547 eval "$as_ac_var=no"
28548 fi
28549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28550 fi
28551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28553 if test `eval echo '${'$as_ac_var'}'` = yes; then
28554 cat >>confdefs.h <<_ACEOF
28555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28556 _ACEOF
28557
28558 fi
28559 done
28560
28561
28562 if test "$ac_cv_func_sigaction" = "no"; then
28563 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
28564 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
28565 wxUSE_ON_FATAL_EXCEPTION=no
28566 fi
28567
28568 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
28569
28570
28571 ac_ext=cc
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576
28577
28578 echo "$as_me:$LINENO: checking for sa_handler type" >&5
28579 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
28580 if test "${wx_cv_type_sa_handler+set}" = set; then
28581 echo $ECHO_N "(cached) $ECHO_C" >&6
28582 else
28583
28584 cat >conftest.$ac_ext <<_ACEOF
28585 #line $LINENO "configure"
28586 /* confdefs.h. */
28587 _ACEOF
28588 cat confdefs.h >>conftest.$ac_ext
28589 cat >>conftest.$ac_ext <<_ACEOF
28590 /* end confdefs.h. */
28591 #include <signal.h>
28592 int
28593 main ()
28594 {
28595
28596 extern void testSigHandler(int);
28597
28598 struct sigaction sa;
28599 sa.sa_handler = testSigHandler;
28600
28601 ;
28602 return 0;
28603 }
28604 _ACEOF
28605 rm -f conftest.$ac_objext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28607 (eval $ac_compile) 2>&5
28608 ac_status=$?
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -s conftest.$ac_objext'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; }; then
28617
28618 wx_cv_type_sa_handler=int
28619
28620 else
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28623
28624
28625 wx_cv_type_sa_handler=void
28626
28627 fi
28628 rm -f conftest.$ac_objext conftest.$ac_ext
28629
28630 fi
28631 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
28632 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
28633
28634 ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639
28640
28641 cat >>confdefs.h <<_ACEOF
28642 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
28643 _ACEOF
28644
28645 fi
28646 fi
28647
28648
28649
28650 for ac_func in mkstemp mktemp
28651 do
28652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28653 echo "$as_me:$LINENO: checking for $ac_func" >&5
28654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28655 if eval "test \"\${$as_ac_var+set}\" = set"; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 else
28658 cat >conftest.$ac_ext <<_ACEOF
28659 #line $LINENO "configure"
28660 /* confdefs.h. */
28661 _ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665 /* System header to define __stub macros and hopefully few prototypes,
28666 which can conflict with char $ac_func (); below.
28667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28668 <limits.h> exists even on freestanding compilers. */
28669 #ifdef __STDC__
28670 # include <limits.h>
28671 #else
28672 # include <assert.h>
28673 #endif
28674 /* Override any gcc2 internal prototype to avoid an error. */
28675 #ifdef __cplusplus
28676 extern "C"
28677 {
28678 #endif
28679 /* We use char because int might match the return type of a gcc2
28680 builtin and then its argument prototype would still apply. */
28681 char $ac_func ();
28682 /* The GNU C library defines this for functions which it implements
28683 to always fail with ENOSYS. Some functions are actually named
28684 something starting with __ and the normal name is an alias. */
28685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28686 choke me
28687 #else
28688 char (*f) () = $ac_func;
28689 #endif
28690 #ifdef __cplusplus
28691 }
28692 #endif
28693
28694 int
28695 main ()
28696 {
28697 return f != $ac_func;
28698 ;
28699 return 0;
28700 }
28701 _ACEOF
28702 rm -f conftest.$ac_objext conftest$ac_exeext
28703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28704 (eval $ac_link) 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); } &&
28708 { ac_try='test -s conftest$ac_exeext'
28709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28710 (eval $ac_try) 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 eval "$as_ac_var=yes"
28715 else
28716 echo "$as_me: failed program was:" >&5
28717 sed 's/^/| /' conftest.$ac_ext >&5
28718
28719 eval "$as_ac_var=no"
28720 fi
28721 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28722 fi
28723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28725 if test `eval echo '${'$as_ac_var'}'` = yes; then
28726 cat >>confdefs.h <<_ACEOF
28727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28728 _ACEOF
28729 break
28730 fi
28731 done
28732
28733
28734 echo "$as_me:$LINENO: checking for statfs" >&5
28735 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
28736 if test "${wx_cv_func_statfs+set}" = set; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 else
28739 cat >conftest.$ac_ext <<_ACEOF
28740 #line $LINENO "configure"
28741 /* confdefs.h. */
28742 _ACEOF
28743 cat confdefs.h >>conftest.$ac_ext
28744 cat >>conftest.$ac_ext <<_ACEOF
28745 /* end confdefs.h. */
28746
28747 #if defined(__BSD__)
28748 #include <sys/param.h>
28749 #include <sys/mount.h>
28750 #else
28751 #include <sys/vfs.h>
28752 #endif
28753
28754 int
28755 main ()
28756 {
28757
28758 long l;
28759 struct statfs fs;
28760 statfs("/", &fs);
28761 l = fs.f_bsize;
28762 l += fs.f_blocks;
28763 l += fs.f_bavail;
28764
28765 ;
28766 return 0;
28767 }
28768 _ACEOF
28769 rm -f conftest.$ac_objext
28770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28771 (eval $ac_compile) 2>&5
28772 ac_status=$?
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try='test -s conftest.$ac_objext'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28778 ac_status=$?
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; }; then
28781
28782 wx_cv_func_statfs=yes
28783
28784 else
28785 echo "$as_me: failed program was:" >&5
28786 sed 's/^/| /' conftest.$ac_ext >&5
28787
28788
28789 wx_cv_func_statfs=no
28790
28791
28792 fi
28793 rm -f conftest.$ac_objext conftest.$ac_ext
28794
28795 fi
28796 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
28797 echo "${ECHO_T}$wx_cv_func_statfs" >&6
28798
28799 if test "$wx_cv_func_statfs" = "yes"; then
28800 wx_cv_type_statvfs_t="struct statfs"
28801 cat >>confdefs.h <<\_ACEOF
28802 #define HAVE_STATFS 1
28803 _ACEOF
28804
28805 else
28806 echo "$as_me:$LINENO: checking for statvfs" >&5
28807 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
28808 if test "${wx_cv_func_statvfs+set}" = set; then
28809 echo $ECHO_N "(cached) $ECHO_C" >&6
28810 else
28811 cat >conftest.$ac_ext <<_ACEOF
28812 #line $LINENO "configure"
28813 /* confdefs.h. */
28814 _ACEOF
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h. */
28818
28819 #include <stddef.h>
28820 #include <sys/statvfs.h>
28821
28822 int
28823 main ()
28824 {
28825
28826 statvfs("/", NULL);
28827
28828 ;
28829 return 0;
28830 }
28831 _ACEOF
28832 rm -f conftest.$ac_objext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28834 (eval $ac_compile) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); } &&
28838 { ac_try='test -s conftest.$ac_objext'
28839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28840 (eval $ac_try) 2>&5
28841 ac_status=$?
28842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28843 (exit $ac_status); }; }; then
28844 wx_cv_func_statvfs=yes
28845 else
28846 echo "$as_me: failed program was:" >&5
28847 sed 's/^/| /' conftest.$ac_ext >&5
28848
28849 wx_cv_func_statvfs=no
28850
28851 fi
28852 rm -f conftest.$ac_objext conftest.$ac_ext
28853
28854 fi
28855 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
28856 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
28857
28858 if test "$wx_cv_func_statvfs" = "yes"; then
28859
28860
28861 ac_ext=cc
28862 ac_cpp='$CXXCPP $CPPFLAGS'
28863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28866
28867
28868 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
28869 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
28870 if test "${wx_cv_type_statvfs_t+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28872 else
28873 cat >conftest.$ac_ext <<_ACEOF
28874 #line $LINENO "configure"
28875 /* confdefs.h. */
28876 _ACEOF
28877 cat confdefs.h >>conftest.$ac_ext
28878 cat >>conftest.$ac_ext <<_ACEOF
28879 /* end confdefs.h. */
28880
28881 #include <sys/statvfs.h>
28882
28883 int
28884 main ()
28885 {
28886
28887 long l;
28888 statvfs_t fs;
28889 statvfs("/", &fs);
28890 l = fs.f_bsize;
28891 l += fs.f_blocks;
28892 l += fs.f_bavail;
28893
28894 ;
28895 return 0;
28896 }
28897 _ACEOF
28898 rm -f conftest.$ac_objext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28900 (eval $ac_compile) 2>&5
28901 ac_status=$?
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); } &&
28904 { ac_try='test -s conftest.$ac_objext'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28907 ac_status=$?
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; }; then
28910 wx_cv_type_statvfs_t=statvfs_t
28911 else
28912 echo "$as_me: failed program was:" >&5
28913 sed 's/^/| /' conftest.$ac_ext >&5
28914
28915
28916 cat >conftest.$ac_ext <<_ACEOF
28917 #line $LINENO "configure"
28918 /* confdefs.h. */
28919 _ACEOF
28920 cat confdefs.h >>conftest.$ac_ext
28921 cat >>conftest.$ac_ext <<_ACEOF
28922 /* end confdefs.h. */
28923
28924 #include <sys/statvfs.h>
28925
28926 int
28927 main ()
28928 {
28929
28930 long l;
28931 struct statvfs fs;
28932 statvfs("/", &fs);
28933 l = fs.f_bsize;
28934 l += fs.f_blocks;
28935 l += fs.f_bavail;
28936
28937 ;
28938 return 0;
28939 }
28940 _ACEOF
28941 rm -f conftest.$ac_objext
28942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28943 (eval $ac_compile) 2>&5
28944 ac_status=$?
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); } &&
28947 { ac_try='test -s conftest.$ac_objext'
28948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28949 (eval $ac_try) 2>&5
28950 ac_status=$?
28951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28952 (exit $ac_status); }; }; then
28953 wx_cv_type_statvfs_t="struct statvfs"
28954 else
28955 echo "$as_me: failed program was:" >&5
28956 sed 's/^/| /' conftest.$ac_ext >&5
28957
28958 wx_cv_type_statvfs_t="unknown"
28959
28960 fi
28961 rm -f conftest.$ac_objext conftest.$ac_ext
28962
28963
28964 fi
28965 rm -f conftest.$ac_objext conftest.$ac_ext
28966
28967 fi
28968 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
28969 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
28970
28971 ac_ext=c
28972 ac_cpp='$CPP $CPPFLAGS'
28973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28976
28977
28978 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28979 cat >>confdefs.h <<\_ACEOF
28980 #define HAVE_STATVFS 1
28981 _ACEOF
28982
28983 fi
28984 else
28985 wx_cv_type_statvfs_t="unknown"
28986 fi
28987 fi
28988
28989 if test "$wx_cv_type_statvfs_t" != "unknown"; then
28990 cat >>confdefs.h <<_ACEOF
28991 #define WX_STATFS_T $wx_cv_type_statvfs_t
28992 _ACEOF
28993
28994 else
28995 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
28996 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
28997 fi
28998
28999 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
29000
29001
29002 for ac_func in fcntl flock
29003 do
29004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29005 echo "$as_me:$LINENO: checking for $ac_func" >&5
29006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29007 if eval "test \"\${$as_ac_var+set}\" = set"; then
29008 echo $ECHO_N "(cached) $ECHO_C" >&6
29009 else
29010 cat >conftest.$ac_ext <<_ACEOF
29011 #line $LINENO "configure"
29012 /* confdefs.h. */
29013 _ACEOF
29014 cat confdefs.h >>conftest.$ac_ext
29015 cat >>conftest.$ac_ext <<_ACEOF
29016 /* end confdefs.h. */
29017 /* System header to define __stub macros and hopefully few prototypes,
29018 which can conflict with char $ac_func (); below.
29019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29020 <limits.h> exists even on freestanding compilers. */
29021 #ifdef __STDC__
29022 # include <limits.h>
29023 #else
29024 # include <assert.h>
29025 #endif
29026 /* Override any gcc2 internal prototype to avoid an error. */
29027 #ifdef __cplusplus
29028 extern "C"
29029 {
29030 #endif
29031 /* We use char because int might match the return type of a gcc2
29032 builtin and then its argument prototype would still apply. */
29033 char $ac_func ();
29034 /* The GNU C library defines this for functions which it implements
29035 to always fail with ENOSYS. Some functions are actually named
29036 something starting with __ and the normal name is an alias. */
29037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29038 choke me
29039 #else
29040 char (*f) () = $ac_func;
29041 #endif
29042 #ifdef __cplusplus
29043 }
29044 #endif
29045
29046 int
29047 main ()
29048 {
29049 return f != $ac_func;
29050 ;
29051 return 0;
29052 }
29053 _ACEOF
29054 rm -f conftest.$ac_objext conftest$ac_exeext
29055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29056 (eval $ac_link) 2>&5
29057 ac_status=$?
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } &&
29060 { ac_try='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29063 ac_status=$?
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 eval "$as_ac_var=yes"
29067 else
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.$ac_ext >&5
29070
29071 eval "$as_ac_var=no"
29072 fi
29073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29074 fi
29075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29077 if test `eval echo '${'$as_ac_var'}'` = yes; then
29078 cat >>confdefs.h <<_ACEOF
29079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29080 _ACEOF
29081 break
29082 fi
29083 done
29084
29085
29086 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
29087 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
29088 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
29089 wxUSE_SNGLINST_CHECKER=no
29090 fi
29091 fi
29092
29093
29094 for ac_func in timegm
29095 do
29096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29097 echo "$as_me:$LINENO: checking for $ac_func" >&5
29098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29099 if eval "test \"\${$as_ac_var+set}\" = set"; then
29100 echo $ECHO_N "(cached) $ECHO_C" >&6
29101 else
29102 cat >conftest.$ac_ext <<_ACEOF
29103 #line $LINENO "configure"
29104 /* confdefs.h. */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109 /* System header to define __stub macros and hopefully few prototypes,
29110 which can conflict with char $ac_func (); below.
29111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29112 <limits.h> exists even on freestanding compilers. */
29113 #ifdef __STDC__
29114 # include <limits.h>
29115 #else
29116 # include <assert.h>
29117 #endif
29118 /* Override any gcc2 internal prototype to avoid an error. */
29119 #ifdef __cplusplus
29120 extern "C"
29121 {
29122 #endif
29123 /* We use char because int might match the return type of a gcc2
29124 builtin and then its argument prototype would still apply. */
29125 char $ac_func ();
29126 /* The GNU C library defines this for functions which it implements
29127 to always fail with ENOSYS. Some functions are actually named
29128 something starting with __ and the normal name is an alias. */
29129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29130 choke me
29131 #else
29132 char (*f) () = $ac_func;
29133 #endif
29134 #ifdef __cplusplus
29135 }
29136 #endif
29137
29138 int
29139 main ()
29140 {
29141 return f != $ac_func;
29142 ;
29143 return 0;
29144 }
29145 _ACEOF
29146 rm -f conftest.$ac_objext conftest$ac_exeext
29147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29148 (eval $ac_link) 2>&5
29149 ac_status=$?
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); } &&
29152 { ac_try='test -s conftest$ac_exeext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 eval "$as_ac_var=yes"
29159 else
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29162
29163 eval "$as_ac_var=no"
29164 fi
29165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29166 fi
29167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29169 if test `eval echo '${'$as_ac_var'}'` = yes; then
29170 cat >>confdefs.h <<_ACEOF
29171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29172 _ACEOF
29173
29174 fi
29175 done
29176
29177
29178
29179
29180 for ac_func in putenv setenv
29181 do
29182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29183 echo "$as_me:$LINENO: checking for $ac_func" >&5
29184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29185 if eval "test \"\${$as_ac_var+set}\" = set"; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29188 cat >conftest.$ac_ext <<_ACEOF
29189 #line $LINENO "configure"
29190 /* confdefs.h. */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h. */
29195 /* System header to define __stub macros and hopefully few prototypes,
29196 which can conflict with char $ac_func (); below.
29197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29198 <limits.h> exists even on freestanding compilers. */
29199 #ifdef __STDC__
29200 # include <limits.h>
29201 #else
29202 # include <assert.h>
29203 #endif
29204 /* Override any gcc2 internal prototype to avoid an error. */
29205 #ifdef __cplusplus
29206 extern "C"
29207 {
29208 #endif
29209 /* We use char because int might match the return type of a gcc2
29210 builtin and then its argument prototype would still apply. */
29211 char $ac_func ();
29212 /* The GNU C library defines this for functions which it implements
29213 to always fail with ENOSYS. Some functions are actually named
29214 something starting with __ and the normal name is an alias. */
29215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29216 choke me
29217 #else
29218 char (*f) () = $ac_func;
29219 #endif
29220 #ifdef __cplusplus
29221 }
29222 #endif
29223
29224 int
29225 main ()
29226 {
29227 return f != $ac_func;
29228 ;
29229 return 0;
29230 }
29231 _ACEOF
29232 rm -f conftest.$ac_objext conftest$ac_exeext
29233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29234 (eval $ac_link) 2>&5
29235 ac_status=$?
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); } &&
29238 { ac_try='test -s conftest$ac_exeext'
29239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29240 (eval $ac_try) 2>&5
29241 ac_status=$?
29242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29243 (exit $ac_status); }; }; then
29244 eval "$as_ac_var=yes"
29245 else
29246 echo "$as_me: failed program was:" >&5
29247 sed 's/^/| /' conftest.$ac_ext >&5
29248
29249 eval "$as_ac_var=no"
29250 fi
29251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29252 fi
29253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29255 if test `eval echo '${'$as_ac_var'}'` = yes; then
29256 cat >>confdefs.h <<_ACEOF
29257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29258 _ACEOF
29259 break
29260 fi
29261 done
29262
29263
29264 HAVE_SOME_SLEEP_FUNC=0
29265 if test "$USE_BEOS" = 1; then
29266 cat >>confdefs.h <<\_ACEOF
29267 #define HAVE_SLEEP 1
29268 _ACEOF
29269
29270 HAVE_SOME_SLEEP_FUNC=1
29271 fi
29272
29273 if test "$USE_DARWIN" = 1; then
29274 cat >>confdefs.h <<\_ACEOF
29275 #define HAVE_USLEEP 1
29276 _ACEOF
29277
29278 HAVE_SOME_SLEEP_FUNC=1
29279 fi
29280
29281 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
29282 POSIX4_LINK=
29283
29284 for ac_func in nanosleep
29285 do
29286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29287 echo "$as_me:$LINENO: checking for $ac_func" >&5
29288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29289 if eval "test \"\${$as_ac_var+set}\" = set"; then
29290 echo $ECHO_N "(cached) $ECHO_C" >&6
29291 else
29292 cat >conftest.$ac_ext <<_ACEOF
29293 #line $LINENO "configure"
29294 /* confdefs.h. */
29295 _ACEOF
29296 cat confdefs.h >>conftest.$ac_ext
29297 cat >>conftest.$ac_ext <<_ACEOF
29298 /* end confdefs.h. */
29299 /* System header to define __stub macros and hopefully few prototypes,
29300 which can conflict with char $ac_func (); below.
29301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29302 <limits.h> exists even on freestanding compilers. */
29303 #ifdef __STDC__
29304 # include <limits.h>
29305 #else
29306 # include <assert.h>
29307 #endif
29308 /* Override any gcc2 internal prototype to avoid an error. */
29309 #ifdef __cplusplus
29310 extern "C"
29311 {
29312 #endif
29313 /* We use char because int might match the return type of a gcc2
29314 builtin and then its argument prototype would still apply. */
29315 char $ac_func ();
29316 /* The GNU C library defines this for functions which it implements
29317 to always fail with ENOSYS. Some functions are actually named
29318 something starting with __ and the normal name is an alias. */
29319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29320 choke me
29321 #else
29322 char (*f) () = $ac_func;
29323 #endif
29324 #ifdef __cplusplus
29325 }
29326 #endif
29327
29328 int
29329 main ()
29330 {
29331 return f != $ac_func;
29332 ;
29333 return 0;
29334 }
29335 _ACEOF
29336 rm -f conftest.$ac_objext conftest$ac_exeext
29337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29338 (eval $ac_link) 2>&5
29339 ac_status=$?
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -s conftest$ac_exeext'
29343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29344 (eval $ac_try) 2>&5
29345 ac_status=$?
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); }; }; then
29348 eval "$as_ac_var=yes"
29349 else
29350 echo "$as_me: failed program was:" >&5
29351 sed 's/^/| /' conftest.$ac_ext >&5
29352
29353 eval "$as_ac_var=no"
29354 fi
29355 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29356 fi
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29359 if test `eval echo '${'$as_ac_var'}'` = yes; then
29360 cat >>confdefs.h <<_ACEOF
29361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29362 _ACEOF
29363 cat >>confdefs.h <<\_ACEOF
29364 #define HAVE_NANOSLEEP 1
29365 _ACEOF
29366
29367 else
29368
29369 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
29370 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
29371 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
29372 echo $ECHO_N "(cached) $ECHO_C" >&6
29373 else
29374 ac_check_lib_save_LIBS=$LIBS
29375 LIBS="-lposix4 $LIBS"
29376 cat >conftest.$ac_ext <<_ACEOF
29377 #line $LINENO "configure"
29378 /* confdefs.h. */
29379 _ACEOF
29380 cat confdefs.h >>conftest.$ac_ext
29381 cat >>conftest.$ac_ext <<_ACEOF
29382 /* end confdefs.h. */
29383
29384 /* Override any gcc2 internal prototype to avoid an error. */
29385 #ifdef __cplusplus
29386 extern "C"
29387 #endif
29388 /* We use char because int might match the return type of a gcc2
29389 builtin and then its argument prototype would still apply. */
29390 char nanosleep ();
29391 int
29392 main ()
29393 {
29394 nanosleep ();
29395 ;
29396 return 0;
29397 }
29398 _ACEOF
29399 rm -f conftest.$ac_objext conftest$ac_exeext
29400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29401 (eval $ac_link) 2>&5
29402 ac_status=$?
29403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29404 (exit $ac_status); } &&
29405 { ac_try='test -s conftest$ac_exeext'
29406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29407 (eval $ac_try) 2>&5
29408 ac_status=$?
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); }; }; then
29411 ac_cv_lib_posix4_nanosleep=yes
29412 else
29413 echo "$as_me: failed program was:" >&5
29414 sed 's/^/| /' conftest.$ac_ext >&5
29415
29416 ac_cv_lib_posix4_nanosleep=no
29417 fi
29418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29419 LIBS=$ac_check_lib_save_LIBS
29420 fi
29421 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
29422 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
29423 if test $ac_cv_lib_posix4_nanosleep = yes; then
29424
29425 cat >>confdefs.h <<\_ACEOF
29426 #define HAVE_NANOSLEEP 1
29427 _ACEOF
29428
29429 POSIX4_LINK=" -lposix4"
29430
29431 else
29432
29433
29434 for ac_func in usleep
29435 do
29436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29437 echo "$as_me:$LINENO: checking for $ac_func" >&5
29438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29439 if eval "test \"\${$as_ac_var+set}\" = set"; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29441 else
29442 cat >conftest.$ac_ext <<_ACEOF
29443 #line $LINENO "configure"
29444 /* confdefs.h. */
29445 _ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449 /* System header to define __stub macros and hopefully few prototypes,
29450 which can conflict with char $ac_func (); below.
29451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29452 <limits.h> exists even on freestanding compilers. */
29453 #ifdef __STDC__
29454 # include <limits.h>
29455 #else
29456 # include <assert.h>
29457 #endif
29458 /* Override any gcc2 internal prototype to avoid an error. */
29459 #ifdef __cplusplus
29460 extern "C"
29461 {
29462 #endif
29463 /* We use char because int might match the return type of a gcc2
29464 builtin and then its argument prototype would still apply. */
29465 char $ac_func ();
29466 /* The GNU C library defines this for functions which it implements
29467 to always fail with ENOSYS. Some functions are actually named
29468 something starting with __ and the normal name is an alias. */
29469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29470 choke me
29471 #else
29472 char (*f) () = $ac_func;
29473 #endif
29474 #ifdef __cplusplus
29475 }
29476 #endif
29477
29478 int
29479 main ()
29480 {
29481 return f != $ac_func;
29482 ;
29483 return 0;
29484 }
29485 _ACEOF
29486 rm -f conftest.$ac_objext conftest$ac_exeext
29487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29488 (eval $ac_link) 2>&5
29489 ac_status=$?
29490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29491 (exit $ac_status); } &&
29492 { ac_try='test -s conftest$ac_exeext'
29493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29494 (eval $ac_try) 2>&5
29495 ac_status=$?
29496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29497 (exit $ac_status); }; }; then
29498 eval "$as_ac_var=yes"
29499 else
29500 echo "$as_me: failed program was:" >&5
29501 sed 's/^/| /' conftest.$ac_ext >&5
29502
29503 eval "$as_ac_var=no"
29504 fi
29505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29506 fi
29507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29509 if test `eval echo '${'$as_ac_var'}'` = yes; then
29510 cat >>confdefs.h <<_ACEOF
29511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29512 _ACEOF
29513 cat >>confdefs.h <<\_ACEOF
29514 #define HAVE_USLEEP 1
29515 _ACEOF
29516
29517 else
29518 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
29519 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
29520
29521 fi
29522 done
29523
29524
29525
29526 fi
29527
29528
29529
29530 fi
29531 done
29532
29533 fi
29534
29535
29536
29537 for ac_func in uname gethostname
29538 do
29539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29540 echo "$as_me:$LINENO: checking for $ac_func" >&5
29541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29542 if eval "test \"\${$as_ac_var+set}\" = set"; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 else
29545 cat >conftest.$ac_ext <<_ACEOF
29546 #line $LINENO "configure"
29547 /* confdefs.h. */
29548 _ACEOF
29549 cat confdefs.h >>conftest.$ac_ext
29550 cat >>conftest.$ac_ext <<_ACEOF
29551 /* end confdefs.h. */
29552 /* System header to define __stub macros and hopefully few prototypes,
29553 which can conflict with char $ac_func (); below.
29554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29555 <limits.h> exists even on freestanding compilers. */
29556 #ifdef __STDC__
29557 # include <limits.h>
29558 #else
29559 # include <assert.h>
29560 #endif
29561 /* Override any gcc2 internal prototype to avoid an error. */
29562 #ifdef __cplusplus
29563 extern "C"
29564 {
29565 #endif
29566 /* We use char because int might match the return type of a gcc2
29567 builtin and then its argument prototype would still apply. */
29568 char $ac_func ();
29569 /* The GNU C library defines this for functions which it implements
29570 to always fail with ENOSYS. Some functions are actually named
29571 something starting with __ and the normal name is an alias. */
29572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29573 choke me
29574 #else
29575 char (*f) () = $ac_func;
29576 #endif
29577 #ifdef __cplusplus
29578 }
29579 #endif
29580
29581 int
29582 main ()
29583 {
29584 return f != $ac_func;
29585 ;
29586 return 0;
29587 }
29588 _ACEOF
29589 rm -f conftest.$ac_objext conftest$ac_exeext
29590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29591 (eval $ac_link) 2>&5
29592 ac_status=$?
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try='test -s conftest$ac_exeext'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; }; then
29601 eval "$as_ac_var=yes"
29602 else
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29605
29606 eval "$as_ac_var=no"
29607 fi
29608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29609 fi
29610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29612 if test `eval echo '${'$as_ac_var'}'` = yes; then
29613 cat >>confdefs.h <<_ACEOF
29614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29615 _ACEOF
29616 break
29617 fi
29618 done
29619
29620
29621
29622
29623 ac_ext=cc
29624 ac_cpp='$CXXCPP $CPPFLAGS'
29625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29628
29629
29630
29631 for ac_func in strtok_r
29632 do
29633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29634 echo "$as_me:$LINENO: checking for $ac_func" >&5
29635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29636 if eval "test \"\${$as_ac_var+set}\" = set"; then
29637 echo $ECHO_N "(cached) $ECHO_C" >&6
29638 else
29639 cat >conftest.$ac_ext <<_ACEOF
29640 #line $LINENO "configure"
29641 /* confdefs.h. */
29642 _ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29646 /* System header to define __stub macros and hopefully few prototypes,
29647 which can conflict with char $ac_func (); below.
29648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29649 <limits.h> exists even on freestanding compilers. */
29650 #ifdef __STDC__
29651 # include <limits.h>
29652 #else
29653 # include <assert.h>
29654 #endif
29655 /* Override any gcc2 internal prototype to avoid an error. */
29656 #ifdef __cplusplus
29657 extern "C"
29658 {
29659 #endif
29660 /* We use char because int might match the return type of a gcc2
29661 builtin and then its argument prototype would still apply. */
29662 char $ac_func ();
29663 /* The GNU C library defines this for functions which it implements
29664 to always fail with ENOSYS. Some functions are actually named
29665 something starting with __ and the normal name is an alias. */
29666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29667 choke me
29668 #else
29669 char (*f) () = $ac_func;
29670 #endif
29671 #ifdef __cplusplus
29672 }
29673 #endif
29674
29675 int
29676 main ()
29677 {
29678 return f != $ac_func;
29679 ;
29680 return 0;
29681 }
29682 _ACEOF
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685 (eval $ac_link) 2>&5
29686 ac_status=$?
29687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29688 (exit $ac_status); } &&
29689 { ac_try='test -s conftest$ac_exeext'
29690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29691 (eval $ac_try) 2>&5
29692 ac_status=$?
29693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29694 (exit $ac_status); }; }; then
29695 eval "$as_ac_var=yes"
29696 else
29697 echo "$as_me: failed program was:" >&5
29698 sed 's/^/| /' conftest.$ac_ext >&5
29699
29700 eval "$as_ac_var=no"
29701 fi
29702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29703 fi
29704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29706 if test `eval echo '${'$as_ac_var'}'` = yes; then
29707 cat >>confdefs.h <<_ACEOF
29708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29709 _ACEOF
29710
29711 fi
29712 done
29713
29714
29715 ac_ext=c
29716 ac_cpp='$CPP $CPPFLAGS'
29717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29720
29721
29722 INET_LINK=
29723
29724 for ac_func in inet_addr
29725 do
29726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29727 echo "$as_me:$LINENO: checking for $ac_func" >&5
29728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29729 if eval "test \"\${$as_ac_var+set}\" = set"; then
29730 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 else
29732 cat >conftest.$ac_ext <<_ACEOF
29733 #line $LINENO "configure"
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 /* System header to define __stub macros and hopefully few prototypes,
29740 which can conflict with char $ac_func (); below.
29741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29742 <limits.h> exists even on freestanding compilers. */
29743 #ifdef __STDC__
29744 # include <limits.h>
29745 #else
29746 # include <assert.h>
29747 #endif
29748 /* Override any gcc2 internal prototype to avoid an error. */
29749 #ifdef __cplusplus
29750 extern "C"
29751 {
29752 #endif
29753 /* We use char because int might match the return type of a gcc2
29754 builtin and then its argument prototype would still apply. */
29755 char $ac_func ();
29756 /* The GNU C library defines this for functions which it implements
29757 to always fail with ENOSYS. Some functions are actually named
29758 something starting with __ and the normal name is an alias. */
29759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29760 choke me
29761 #else
29762 char (*f) () = $ac_func;
29763 #endif
29764 #ifdef __cplusplus
29765 }
29766 #endif
29767
29768 int
29769 main ()
29770 {
29771 return f != $ac_func;
29772 ;
29773 return 0;
29774 }
29775 _ACEOF
29776 rm -f conftest.$ac_objext conftest$ac_exeext
29777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29778 (eval $ac_link) 2>&5
29779 ac_status=$?
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); } &&
29782 { ac_try='test -s conftest$ac_exeext'
29783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29784 (eval $ac_try) 2>&5
29785 ac_status=$?
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); }; }; then
29788 eval "$as_ac_var=yes"
29789 else
29790 echo "$as_me: failed program was:" >&5
29791 sed 's/^/| /' conftest.$ac_ext >&5
29792
29793 eval "$as_ac_var=no"
29794 fi
29795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29796 fi
29797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29799 if test `eval echo '${'$as_ac_var'}'` = yes; then
29800 cat >>confdefs.h <<_ACEOF
29801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29802 _ACEOF
29803 cat >>confdefs.h <<\_ACEOF
29804 #define HAVE_INET_ADDR 1
29805 _ACEOF
29806
29807 else
29808
29809 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
29810 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
29811 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
29812 echo $ECHO_N "(cached) $ECHO_C" >&6
29813 else
29814 ac_check_lib_save_LIBS=$LIBS
29815 LIBS="-lnsl $LIBS"
29816 cat >conftest.$ac_ext <<_ACEOF
29817 #line $LINENO "configure"
29818 /* confdefs.h. */
29819 _ACEOF
29820 cat confdefs.h >>conftest.$ac_ext
29821 cat >>conftest.$ac_ext <<_ACEOF
29822 /* end confdefs.h. */
29823
29824 /* Override any gcc2 internal prototype to avoid an error. */
29825 #ifdef __cplusplus
29826 extern "C"
29827 #endif
29828 /* We use char because int might match the return type of a gcc2
29829 builtin and then its argument prototype would still apply. */
29830 char inet_addr ();
29831 int
29832 main ()
29833 {
29834 inet_addr ();
29835 ;
29836 return 0;
29837 }
29838 _ACEOF
29839 rm -f conftest.$ac_objext conftest$ac_exeext
29840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29841 (eval $ac_link) 2>&5
29842 ac_status=$?
29843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844 (exit $ac_status); } &&
29845 { ac_try='test -s conftest$ac_exeext'
29846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847 (eval $ac_try) 2>&5
29848 ac_status=$?
29849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850 (exit $ac_status); }; }; then
29851 ac_cv_lib_nsl_inet_addr=yes
29852 else
29853 echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29855
29856 ac_cv_lib_nsl_inet_addr=no
29857 fi
29858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29859 LIBS=$ac_check_lib_save_LIBS
29860 fi
29861 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
29862 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
29863 if test $ac_cv_lib_nsl_inet_addr = yes; then
29864 INET_LINK="nsl"
29865 else
29866
29867 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
29868 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
29869 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
29870 echo $ECHO_N "(cached) $ECHO_C" >&6
29871 else
29872 ac_check_lib_save_LIBS=$LIBS
29873 LIBS="-lresolv $LIBS"
29874 cat >conftest.$ac_ext <<_ACEOF
29875 #line $LINENO "configure"
29876 /* confdefs.h. */
29877 _ACEOF
29878 cat confdefs.h >>conftest.$ac_ext
29879 cat >>conftest.$ac_ext <<_ACEOF
29880 /* end confdefs.h. */
29881
29882 /* Override any gcc2 internal prototype to avoid an error. */
29883 #ifdef __cplusplus
29884 extern "C"
29885 #endif
29886 /* We use char because int might match the return type of a gcc2
29887 builtin and then its argument prototype would still apply. */
29888 char inet_addr ();
29889 int
29890 main ()
29891 {
29892 inet_addr ();
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 rm -f conftest.$ac_objext conftest$ac_exeext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } &&
29903 { ac_try='test -s conftest$ac_exeext'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29906 ac_status=$?
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; }; then
29909 ac_cv_lib_resolv_inet_addr=yes
29910 else
29911 echo "$as_me: failed program was:" >&5
29912 sed 's/^/| /' conftest.$ac_ext >&5
29913
29914 ac_cv_lib_resolv_inet_addr=no
29915 fi
29916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29917 LIBS=$ac_check_lib_save_LIBS
29918 fi
29919 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
29920 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
29921 if test $ac_cv_lib_resolv_inet_addr = yes; then
29922 INET_LINK="resolv"
29923 else
29924
29925 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
29926 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
29927 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29929 else
29930 ac_check_lib_save_LIBS=$LIBS
29931 LIBS="-lsocket $LIBS"
29932 cat >conftest.$ac_ext <<_ACEOF
29933 #line $LINENO "configure"
29934 /* confdefs.h. */
29935 _ACEOF
29936 cat confdefs.h >>conftest.$ac_ext
29937 cat >>conftest.$ac_ext <<_ACEOF
29938 /* end confdefs.h. */
29939
29940 /* Override any gcc2 internal prototype to avoid an error. */
29941 #ifdef __cplusplus
29942 extern "C"
29943 #endif
29944 /* We use char because int might match the return type of a gcc2
29945 builtin and then its argument prototype would still apply. */
29946 char inet_addr ();
29947 int
29948 main ()
29949 {
29950 inet_addr ();
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 rm -f conftest.$ac_objext conftest$ac_exeext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29957 (eval $ac_link) 2>&5
29958 ac_status=$?
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); } &&
29961 { ac_try='test -s conftest$ac_exeext'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29964 ac_status=$?
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; }; then
29967 ac_cv_lib_socket_inet_addr=yes
29968 else
29969 echo "$as_me: failed program was:" >&5
29970 sed 's/^/| /' conftest.$ac_ext >&5
29971
29972 ac_cv_lib_socket_inet_addr=no
29973 fi
29974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29975 LIBS=$ac_check_lib_save_LIBS
29976 fi
29977 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
29978 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
29979 if test $ac_cv_lib_socket_inet_addr = yes; then
29980 INET_LINK="socket"
29981
29982 fi
29983
29984
29985
29986 fi
29987
29988
29989
29990 fi
29991
29992
29993
29994 fi
29995 done
29996
29997
29998
29999 for ac_func in inet_aton
30000 do
30001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30002 echo "$as_me:$LINENO: checking for $ac_func" >&5
30003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30004 if eval "test \"\${$as_ac_var+set}\" = set"; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30006 else
30007 cat >conftest.$ac_ext <<_ACEOF
30008 #line $LINENO "configure"
30009 /* confdefs.h. */
30010 _ACEOF
30011 cat confdefs.h >>conftest.$ac_ext
30012 cat >>conftest.$ac_ext <<_ACEOF
30013 /* end confdefs.h. */
30014 /* System header to define __stub macros and hopefully few prototypes,
30015 which can conflict with char $ac_func (); below.
30016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30017 <limits.h> exists even on freestanding compilers. */
30018 #ifdef __STDC__
30019 # include <limits.h>
30020 #else
30021 # include <assert.h>
30022 #endif
30023 /* Override any gcc2 internal prototype to avoid an error. */
30024 #ifdef __cplusplus
30025 extern "C"
30026 {
30027 #endif
30028 /* We use char because int might match the return type of a gcc2
30029 builtin and then its argument prototype would still apply. */
30030 char $ac_func ();
30031 /* The GNU C library defines this for functions which it implements
30032 to always fail with ENOSYS. Some functions are actually named
30033 something starting with __ and the normal name is an alias. */
30034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30035 choke me
30036 #else
30037 char (*f) () = $ac_func;
30038 #endif
30039 #ifdef __cplusplus
30040 }
30041 #endif
30042
30043 int
30044 main ()
30045 {
30046 return f != $ac_func;
30047 ;
30048 return 0;
30049 }
30050 _ACEOF
30051 rm -f conftest.$ac_objext conftest$ac_exeext
30052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30053 (eval $ac_link) 2>&5
30054 ac_status=$?
30055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30056 (exit $ac_status); } &&
30057 { ac_try='test -s conftest$ac_exeext'
30058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30059 (eval $ac_try) 2>&5
30060 ac_status=$?
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); }; }; then
30063 eval "$as_ac_var=yes"
30064 else
30065 echo "$as_me: failed program was:" >&5
30066 sed 's/^/| /' conftest.$ac_ext >&5
30067
30068 eval "$as_ac_var=no"
30069 fi
30070 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30071 fi
30072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30074 if test `eval echo '${'$as_ac_var'}'` = yes; then
30075 cat >>confdefs.h <<_ACEOF
30076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30077 _ACEOF
30078 cat >>confdefs.h <<\_ACEOF
30079 #define HAVE_INET_ATON 1
30080 _ACEOF
30081
30082 else
30083
30084 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
30085 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
30086 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
30087 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 else
30090 ac_check_lib_save_LIBS=$LIBS
30091 LIBS="-l$INET_LINK $LIBS"
30092 cat >conftest.$ac_ext <<_ACEOF
30093 #line $LINENO "configure"
30094 /* confdefs.h. */
30095 _ACEOF
30096 cat confdefs.h >>conftest.$ac_ext
30097 cat >>conftest.$ac_ext <<_ACEOF
30098 /* end confdefs.h. */
30099
30100 /* Override any gcc2 internal prototype to avoid an error. */
30101 #ifdef __cplusplus
30102 extern "C"
30103 #endif
30104 /* We use char because int might match the return type of a gcc2
30105 builtin and then its argument prototype would still apply. */
30106 char inet_aton ();
30107 int
30108 main ()
30109 {
30110 inet_aton ();
30111 ;
30112 return 0;
30113 }
30114 _ACEOF
30115 rm -f conftest.$ac_objext conftest$ac_exeext
30116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30117 (eval $ac_link) 2>&5
30118 ac_status=$?
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } &&
30121 { ac_try='test -s conftest$ac_exeext'
30122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30123 (eval $ac_try) 2>&5
30124 ac_status=$?
30125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 (exit $ac_status); }; }; then
30127 eval "$as_ac_Lib=yes"
30128 else
30129 echo "$as_me: failed program was:" >&5
30130 sed 's/^/| /' conftest.$ac_ext >&5
30131
30132 eval "$as_ac_Lib=no"
30133 fi
30134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30135 LIBS=$ac_check_lib_save_LIBS
30136 fi
30137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
30138 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
30139 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
30140 cat >>confdefs.h <<\_ACEOF
30141 #define HAVE_INET_ATON 1
30142 _ACEOF
30143
30144 fi
30145
30146
30147 fi
30148 done
30149
30150
30151 if test "x$INET_LINK" != "x"; then
30152 cat >>confdefs.h <<\_ACEOF
30153 #define HAVE_INET_ADDR 1
30154 _ACEOF
30155
30156 INET_LINK=" -l$INET_LINK"
30157 fi
30158
30159 fi
30160
30161
30162
30163 EXTRALIBS_ESD=
30164 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
30165 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
30166 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 else
30169 ac_check_lib_save_LIBS=$LIBS
30170 LIBS="-lesd $LIBS"
30171 cat >conftest.$ac_ext <<_ACEOF
30172 #line $LINENO "configure"
30173 /* confdefs.h. */
30174 _ACEOF
30175 cat confdefs.h >>conftest.$ac_ext
30176 cat >>conftest.$ac_ext <<_ACEOF
30177 /* end confdefs.h. */
30178
30179 /* Override any gcc2 internal prototype to avoid an error. */
30180 #ifdef __cplusplus
30181 extern "C"
30182 #endif
30183 /* We use char because int might match the return type of a gcc2
30184 builtin and then its argument prototype would still apply. */
30185 char esd_close ();
30186 int
30187 main ()
30188 {
30189 esd_close ();
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30196 (eval $ac_link) 2>&5
30197 ac_status=$?
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try='test -s conftest$ac_exeext'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30203 ac_status=$?
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; }; then
30206 ac_cv_lib_esd_esd_close=yes
30207 else
30208 echo "$as_me: failed program was:" >&5
30209 sed 's/^/| /' conftest.$ac_ext >&5
30210
30211 ac_cv_lib_esd_esd_close=no
30212 fi
30213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30214 LIBS=$ac_check_lib_save_LIBS
30215 fi
30216 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
30217 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
30218 if test $ac_cv_lib_esd_esd_close = yes; then
30219
30220
30221 for ac_header in esd.h
30222 do
30223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30225 echo "$as_me:$LINENO: checking for $ac_header" >&5
30226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30228 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 fi
30230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30232 else
30233 # Is the header compilable?
30234 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30235 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30236 cat >conftest.$ac_ext <<_ACEOF
30237 #line $LINENO "configure"
30238 /* confdefs.h. */
30239 _ACEOF
30240 cat confdefs.h >>conftest.$ac_ext
30241 cat >>conftest.$ac_ext <<_ACEOF
30242 /* end confdefs.h. */
30243 $ac_includes_default
30244 #include <$ac_header>
30245 _ACEOF
30246 rm -f conftest.$ac_objext
30247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30248 (eval $ac_compile) 2>&5
30249 ac_status=$?
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try='test -s conftest.$ac_objext'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; }; then
30258 ac_header_compiler=yes
30259 else
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30262
30263 ac_header_compiler=no
30264 fi
30265 rm -f conftest.$ac_objext conftest.$ac_ext
30266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30267 echo "${ECHO_T}$ac_header_compiler" >&6
30268
30269 # Is the header present?
30270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30272 cat >conftest.$ac_ext <<_ACEOF
30273 #line $LINENO "configure"
30274 /* confdefs.h. */
30275 _ACEOF
30276 cat confdefs.h >>conftest.$ac_ext
30277 cat >>conftest.$ac_ext <<_ACEOF
30278 /* end confdefs.h. */
30279 #include <$ac_header>
30280 _ACEOF
30281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30283 ac_status=$?
30284 grep -v '^ *+' conftest.er1 >conftest.err
30285 rm -f conftest.er1
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } >/dev/null; then
30289 if test -s conftest.err; then
30290 ac_cpp_err=$ac_c_preproc_warn_flag
30291 else
30292 ac_cpp_err=
30293 fi
30294 else
30295 ac_cpp_err=yes
30296 fi
30297 if test -z "$ac_cpp_err"; then
30298 ac_header_preproc=yes
30299 else
30300 echo "$as_me: failed program was:" >&5
30301 sed 's/^/| /' conftest.$ac_ext >&5
30302
30303 ac_header_preproc=no
30304 fi
30305 rm -f conftest.err conftest.$ac_ext
30306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30307 echo "${ECHO_T}$ac_header_preproc" >&6
30308
30309 # So? What about this header?
30310 case $ac_header_compiler:$ac_header_preproc in
30311 yes:no )
30312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30316 (
30317 cat <<\_ASBOX
30318 ## ------------------------------------ ##
30319 ## Report this to bug-autoconf@gnu.org. ##
30320 ## ------------------------------------ ##
30321 _ASBOX
30322 ) |
30323 sed "s/^/$as_me: WARNING: /" >&2
30324 ;;
30325 no:yes )
30326 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30327 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30328 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30329 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30330 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30332 (
30333 cat <<\_ASBOX
30334 ## ------------------------------------ ##
30335 ## Report this to bug-autoconf@gnu.org. ##
30336 ## ------------------------------------ ##
30337 _ASBOX
30338 ) |
30339 sed "s/^/$as_me: WARNING: /" >&2
30340 ;;
30341 esac
30342 echo "$as_me:$LINENO: checking for $ac_header" >&5
30343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 else
30347 eval "$as_ac_Header=$ac_header_preproc"
30348 fi
30349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30351
30352 fi
30353 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30354 cat >>confdefs.h <<_ACEOF
30355 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30356 _ACEOF
30357
30358 EXTRALIBS_ESD="-lesd"
30359
30360 fi
30361
30362 done
30363
30364
30365 fi
30366
30367
30368
30369 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
30370 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
30371 cat >conftest.$ac_ext <<_ACEOF
30372 #line $LINENO "configure"
30373 /* confdefs.h. */
30374 _ACEOF
30375 cat confdefs.h >>conftest.$ac_ext
30376 cat >>conftest.$ac_ext <<_ACEOF
30377 /* end confdefs.h. */
30378 #ifdef __linux__
30379 #include <linux/cdrom.h>
30380 #else
30381 /* For Solaris */
30382 #include <sys/cdio.h>
30383 #endif
30384
30385 int
30386 main ()
30387 {
30388 struct cdrom_tocentry entry, old_entry;
30389 ;
30390 return 0;
30391 }
30392 _ACEOF
30393 rm -f conftest.$ac_objext
30394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30395 (eval $ac_compile) 2>&5
30396 ac_status=$?
30397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 (exit $ac_status); } &&
30399 { ac_try='test -s conftest.$ac_objext'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; }; then
30405 echo "$as_me:$LINENO: result: yes" >&5
30406 echo "${ECHO_T}yes" >&6
30407 cat >>confdefs.h <<\_ACEOF
30408 #define HAVE_KNOWN_CDROM_INTERFACE 1
30409 _ACEOF
30410
30411 else
30412 echo "$as_me: failed program was:" >&5
30413 sed 's/^/| /' conftest.$ac_ext >&5
30414
30415 echo "$as_me:$LINENO: result: no" >&5
30416 echo "${ECHO_T}no" >&6
30417 fi
30418 rm -f conftest.$ac_objext conftest.$ac_ext
30419
30420
30421 cat >confcache <<\_ACEOF
30422 # This file is a shell script that caches the results of configure
30423 # tests run on this system so they can be shared between configure
30424 # scripts and configure runs, see configure's option --config-cache.
30425 # It is not useful on other systems. If it contains results you don't
30426 # want to keep, you may remove or edit it.
30427 #
30428 # config.status only pays attention to the cache file if you give it
30429 # the --recheck option to rerun configure.
30430 #
30431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30433 # following values.
30434
30435 _ACEOF
30436
30437 # The following way of writing the cache mishandles newlines in values,
30438 # but we know of no workaround that is simple, portable, and efficient.
30439 # So, don't put newlines in cache variables' values.
30440 # Ultrix sh set writes to stderr and can't be redirected directly,
30441 # and sets the high bit in the cache file unless we assign to the vars.
30442 {
30443 (set) 2>&1 |
30444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
30445 *ac_space=\ *)
30446 # `set' does not quote correctly, so add quotes (double-quote
30447 # substitution turns \\\\ into \\, and sed turns \\ into \).
30448 sed -n \
30449 "s/'/'\\\\''/g;
30450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30451 ;;
30452 *)
30453 # `set' quotes correctly as required by POSIX, so do not add quotes.
30454 sed -n \
30455 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
30456 ;;
30457 esac;
30458 } |
30459 sed '
30460 t clear
30461 : clear
30462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30463 t end
30464 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30465 : end' >>confcache
30466 if diff $cache_file confcache >/dev/null 2>&1; then :; else
30467 if test -w $cache_file; then
30468 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
30469 cat confcache >$cache_file
30470 else
30471 echo "not updating unwritable cache $cache_file"
30472 fi
30473 fi
30474 rm -f confcache
30475
30476
30477 CPP_MT_FLAG=
30478 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
30479
30480
30481 THREADS_LINK=
30482 THREADS_CFLAGS=
30483
30484 if test "$wxUSE_THREADS" = "yes" ; then
30485 if test "$USE_BEOS" = 1; then
30486 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
30487 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
30488 wxUSE_THREADS="no"
30489 fi
30490 fi
30491
30492 if test "$wxUSE_THREADS" = "yes" ; then
30493
30494
30495 THREAD_OPTS="-pthread"
30496 case "${host}" in
30497 *-*-solaris2* | *-*-sunos4* )
30498 if test "x$GCC" = "xyes"; then
30499 THREAD_OPTS="-pthreads $THREAD_OPTS"
30500 else
30501 THREAD_OPTS="-mt $THREAD_OPTS"
30502 fi
30503 ;;
30504 *-*-freebsd*)
30505 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
30506 ;;
30507 *-*-darwin* | *-*-cygwin* )
30508 THREAD_OPTS=""
30509 ;;
30510 *-*-aix*)
30511 THREAD_OPTS="pthreads"
30512 ;;
30513 *-hp-hpux* )
30514 if test "x$GCC" != "xyes"; then
30515 THREAD_OPTS=""
30516 fi
30517 ;;
30518
30519 *-*-irix* )
30520 if test "x$GCC" = "xyes"; then
30521 THREAD_OPTS=""
30522 fi
30523 ;;
30524
30525 *-*-*UnixWare*)
30526 if test "x$GCC" != "xyes"; then
30527 THREAD_OPTS="-Ethread"
30528 fi
30529 ;;
30530 esac
30531
30532 THREAD_OPTS="$THREAD_OPTS pthread none"
30533
30534 THREADS_OK=no
30535 for flag in $THREAD_OPTS; do
30536 case $flag in
30537 none)
30538 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
30539 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
30540 ;;
30541
30542 -*)
30543 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
30544 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
30545 THREADS_CFLAGS="$flag"
30546 ;;
30547
30548 *)
30549 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
30550 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
30551 THREADS_LINK="-l$flag"
30552 ;;
30553 esac
30554
30555 save_LIBS="$LIBS"
30556 save_CFLAGS="$CFLAGS"
30557 LIBS="$THREADS_LINK $LIBS"
30558 CFLAGS="$THREADS_CFLAGS $CFLAGS"
30559
30560 cat >conftest.$ac_ext <<_ACEOF
30561 #line $LINENO "configure"
30562 /* confdefs.h. */
30563 _ACEOF
30564 cat confdefs.h >>conftest.$ac_ext
30565 cat >>conftest.$ac_ext <<_ACEOF
30566 /* end confdefs.h. */
30567 #include <pthread.h>
30568 int
30569 main ()
30570 {
30571 pthread_create(0,0,0,0);
30572 ;
30573 return 0;
30574 }
30575 _ACEOF
30576 rm -f conftest.$ac_objext conftest$ac_exeext
30577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30578 (eval $ac_link) 2>&5
30579 ac_status=$?
30580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30581 (exit $ac_status); } &&
30582 { ac_try='test -s conftest$ac_exeext'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; }; then
30588 THREADS_OK=yes
30589 else
30590 echo "$as_me: failed program was:" >&5
30591 sed 's/^/| /' conftest.$ac_ext >&5
30592
30593 fi
30594 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30595
30596 LIBS="$save_LIBS"
30597 CFLAGS="$save_CFLAGS"
30598
30599 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
30600 echo "${ECHO_T}$THREADS_OK" >&6
30601 if test "x$THREADS_OK" = "xyes"; then
30602 break;
30603 fi
30604
30605 THREADS_LINK=""
30606 THREADS_CFLAGS=""
30607 done
30608
30609 if test "x$THREADS_OK" != "xyes"; then
30610 wxUSE_THREADS=no
30611 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
30612 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
30613 else
30614 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
30615 LIBS="$THREADS_LINK $LIBS"
30616
30617 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
30618 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
30619 flag=no
30620 case "${host}" in
30621 *-aix*)
30622 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
30623 flag="-D_THREAD_SAFE"
30624 ;;
30625 *-freebsd*)
30626 flag="-D_THREAD_SAFE"
30627 ;;
30628 *-hp-hpux* )
30629 flag="-D_REENTRANT"
30630 if test "x$GCC" != "xyes"; then
30631 flag="$flag -D_RWSTD_MULTI_THREAD"
30632
30633 LIBS="$LIBS -lcma"
30634 fi
30635 ;;
30636 *solaris* | alpha*-osf*)
30637 flag="-D_REENTRANT"
30638 ;;
30639 esac
30640 echo "$as_me:$LINENO: result: ${flag}" >&5
30641 echo "${ECHO_T}${flag}" >&6
30642 if test "x$flag" != xno; then
30643 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
30644 fi
30645
30646 if test "x$THREADS_CFLAGS" != "x"; then
30647 CFLAGS="$CFLAGS $THREADS_CFLAGS"
30648 CXXFLAGS="$CXXFLAGS $THREADS_CFLAGS"
30649 fi
30650 fi
30651 fi
30652
30653 if test "$wxUSE_THREADS" = "yes" ; then
30654
30655 for ac_func in thr_setconcurrency
30656 do
30657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30658 echo "$as_me:$LINENO: checking for $ac_func" >&5
30659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30660 if eval "test \"\${$as_ac_var+set}\" = set"; then
30661 echo $ECHO_N "(cached) $ECHO_C" >&6
30662 else
30663 cat >conftest.$ac_ext <<_ACEOF
30664 #line $LINENO "configure"
30665 /* confdefs.h. */
30666 _ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30670 /* System header to define __stub macros and hopefully few prototypes,
30671 which can conflict with char $ac_func (); below.
30672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30673 <limits.h> exists even on freestanding compilers. */
30674 #ifdef __STDC__
30675 # include <limits.h>
30676 #else
30677 # include <assert.h>
30678 #endif
30679 /* Override any gcc2 internal prototype to avoid an error. */
30680 #ifdef __cplusplus
30681 extern "C"
30682 {
30683 #endif
30684 /* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30686 char $ac_func ();
30687 /* The GNU C library defines this for functions which it implements
30688 to always fail with ENOSYS. Some functions are actually named
30689 something starting with __ and the normal name is an alias. */
30690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30691 choke me
30692 #else
30693 char (*f) () = $ac_func;
30694 #endif
30695 #ifdef __cplusplus
30696 }
30697 #endif
30698
30699 int
30700 main ()
30701 {
30702 return f != $ac_func;
30703 ;
30704 return 0;
30705 }
30706 _ACEOF
30707 rm -f conftest.$ac_objext conftest$ac_exeext
30708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30709 (eval $ac_link) 2>&5
30710 ac_status=$?
30711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30712 (exit $ac_status); } &&
30713 { ac_try='test -s conftest$ac_exeext'
30714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30715 (eval $ac_try) 2>&5
30716 ac_status=$?
30717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30718 (exit $ac_status); }; }; then
30719 eval "$as_ac_var=yes"
30720 else
30721 echo "$as_me: failed program was:" >&5
30722 sed 's/^/| /' conftest.$ac_ext >&5
30723
30724 eval "$as_ac_var=no"
30725 fi
30726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30727 fi
30728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30730 if test `eval echo '${'$as_ac_var'}'` = yes; then
30731 cat >>confdefs.h <<_ACEOF
30732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30733 _ACEOF
30734
30735 fi
30736 done
30737
30738
30739
30740 for ac_header in sched.h
30741 do
30742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30744 echo "$as_me:$LINENO: checking for $ac_header" >&5
30745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30747 echo $ECHO_N "(cached) $ECHO_C" >&6
30748 fi
30749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30751 else
30752 # Is the header compilable?
30753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30755 cat >conftest.$ac_ext <<_ACEOF
30756 #line $LINENO "configure"
30757 /* confdefs.h. */
30758 _ACEOF
30759 cat confdefs.h >>conftest.$ac_ext
30760 cat >>conftest.$ac_ext <<_ACEOF
30761 /* end confdefs.h. */
30762 $ac_includes_default
30763 #include <$ac_header>
30764 _ACEOF
30765 rm -f conftest.$ac_objext
30766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30767 (eval $ac_compile) 2>&5
30768 ac_status=$?
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); } &&
30771 { ac_try='test -s conftest.$ac_objext'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30774 ac_status=$?
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; }; then
30777 ac_header_compiler=yes
30778 else
30779 echo "$as_me: failed program was:" >&5
30780 sed 's/^/| /' conftest.$ac_ext >&5
30781
30782 ac_header_compiler=no
30783 fi
30784 rm -f conftest.$ac_objext conftest.$ac_ext
30785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30786 echo "${ECHO_T}$ac_header_compiler" >&6
30787
30788 # Is the header present?
30789 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30790 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30791 cat >conftest.$ac_ext <<_ACEOF
30792 #line $LINENO "configure"
30793 /* confdefs.h. */
30794 _ACEOF
30795 cat confdefs.h >>conftest.$ac_ext
30796 cat >>conftest.$ac_ext <<_ACEOF
30797 /* end confdefs.h. */
30798 #include <$ac_header>
30799 _ACEOF
30800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30802 ac_status=$?
30803 grep -v '^ *+' conftest.er1 >conftest.err
30804 rm -f conftest.er1
30805 cat conftest.err >&5
30806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30807 (exit $ac_status); } >/dev/null; then
30808 if test -s conftest.err; then
30809 ac_cpp_err=$ac_c_preproc_warn_flag
30810 else
30811 ac_cpp_err=
30812 fi
30813 else
30814 ac_cpp_err=yes
30815 fi
30816 if test -z "$ac_cpp_err"; then
30817 ac_header_preproc=yes
30818 else
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.$ac_ext >&5
30821
30822 ac_header_preproc=no
30823 fi
30824 rm -f conftest.err conftest.$ac_ext
30825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30826 echo "${ECHO_T}$ac_header_preproc" >&6
30827
30828 # So? What about this header?
30829 case $ac_header_compiler:$ac_header_preproc in
30830 yes:no )
30831 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30832 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30833 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30834 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30835 (
30836 cat <<\_ASBOX
30837 ## ------------------------------------ ##
30838 ## Report this to bug-autoconf@gnu.org. ##
30839 ## ------------------------------------ ##
30840 _ASBOX
30841 ) |
30842 sed "s/^/$as_me: WARNING: /" >&2
30843 ;;
30844 no:yes )
30845 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30846 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30847 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30848 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30851 (
30852 cat <<\_ASBOX
30853 ## ------------------------------------ ##
30854 ## Report this to bug-autoconf@gnu.org. ##
30855 ## ------------------------------------ ##
30856 _ASBOX
30857 ) |
30858 sed "s/^/$as_me: WARNING: /" >&2
30859 ;;
30860 esac
30861 echo "$as_me:$LINENO: checking for $ac_header" >&5
30862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 else
30866 eval "$as_ac_Header=$ac_header_preproc"
30867 fi
30868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30870
30871 fi
30872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30873 cat >>confdefs.h <<_ACEOF
30874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30875 _ACEOF
30876
30877 fi
30878
30879 done
30880
30881 if test "$ac_cv_header_sched_h" = "yes"; then
30882 echo "$as_me:$LINENO: checking for sched_yield" >&5
30883 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
30884 if test "${ac_cv_func_sched_yield+set}" = set; then
30885 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 else
30887 cat >conftest.$ac_ext <<_ACEOF
30888 #line $LINENO "configure"
30889 /* confdefs.h. */
30890 _ACEOF
30891 cat confdefs.h >>conftest.$ac_ext
30892 cat >>conftest.$ac_ext <<_ACEOF
30893 /* end confdefs.h. */
30894 /* System header to define __stub macros and hopefully few prototypes,
30895 which can conflict with char sched_yield (); below.
30896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30897 <limits.h> exists even on freestanding compilers. */
30898 #ifdef __STDC__
30899 # include <limits.h>
30900 #else
30901 # include <assert.h>
30902 #endif
30903 /* Override any gcc2 internal prototype to avoid an error. */
30904 #ifdef __cplusplus
30905 extern "C"
30906 {
30907 #endif
30908 /* We use char because int might match the return type of a gcc2
30909 builtin and then its argument prototype would still apply. */
30910 char sched_yield ();
30911 /* The GNU C library defines this for functions which it implements
30912 to always fail with ENOSYS. Some functions are actually named
30913 something starting with __ and the normal name is an alias. */
30914 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
30915 choke me
30916 #else
30917 char (*f) () = sched_yield;
30918 #endif
30919 #ifdef __cplusplus
30920 }
30921 #endif
30922
30923 int
30924 main ()
30925 {
30926 return f != sched_yield;
30927 ;
30928 return 0;
30929 }
30930 _ACEOF
30931 rm -f conftest.$ac_objext conftest$ac_exeext
30932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30933 (eval $ac_link) 2>&5
30934 ac_status=$?
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); } &&
30937 { ac_try='test -s conftest$ac_exeext'
30938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30939 (eval $ac_try) 2>&5
30940 ac_status=$?
30941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942 (exit $ac_status); }; }; then
30943 ac_cv_func_sched_yield=yes
30944 else
30945 echo "$as_me: failed program was:" >&5
30946 sed 's/^/| /' conftest.$ac_ext >&5
30947
30948 ac_cv_func_sched_yield=no
30949 fi
30950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30951 fi
30952 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
30953 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
30954 if test $ac_cv_func_sched_yield = yes; then
30955 cat >>confdefs.h <<\_ACEOF
30956 #define HAVE_SCHED_YIELD 1
30957 _ACEOF
30958
30959 else
30960
30961 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
30962 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
30963 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
30964 echo $ECHO_N "(cached) $ECHO_C" >&6
30965 else
30966 ac_check_lib_save_LIBS=$LIBS
30967 LIBS="-lposix4 $LIBS"
30968 cat >conftest.$ac_ext <<_ACEOF
30969 #line $LINENO "configure"
30970 /* confdefs.h. */
30971 _ACEOF
30972 cat confdefs.h >>conftest.$ac_ext
30973 cat >>conftest.$ac_ext <<_ACEOF
30974 /* end confdefs.h. */
30975
30976 /* Override any gcc2 internal prototype to avoid an error. */
30977 #ifdef __cplusplus
30978 extern "C"
30979 #endif
30980 /* We use char because int might match the return type of a gcc2
30981 builtin and then its argument prototype would still apply. */
30982 char sched_yield ();
30983 int
30984 main ()
30985 {
30986 sched_yield ();
30987 ;
30988 return 0;
30989 }
30990 _ACEOF
30991 rm -f conftest.$ac_objext conftest$ac_exeext
30992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30993 (eval $ac_link) 2>&5
30994 ac_status=$?
30995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30996 (exit $ac_status); } &&
30997 { ac_try='test -s conftest$ac_exeext'
30998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30999 (eval $ac_try) 2>&5
31000 ac_status=$?
31001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31002 (exit $ac_status); }; }; then
31003 ac_cv_lib_posix4_sched_yield=yes
31004 else
31005 echo "$as_me: failed program was:" >&5
31006 sed 's/^/| /' conftest.$ac_ext >&5
31007
31008 ac_cv_lib_posix4_sched_yield=no
31009 fi
31010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31011 LIBS=$ac_check_lib_save_LIBS
31012 fi
31013 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
31014 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
31015 if test $ac_cv_lib_posix4_sched_yield = yes; then
31016 cat >>confdefs.h <<\_ACEOF
31017 #define HAVE_SCHED_YIELD 1
31018 _ACEOF
31019 POSIX4_LINK=" -lposix4"
31020 else
31021 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
31022 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
31023
31024 fi
31025
31026
31027
31028 fi
31029
31030 fi
31031
31032 HAVE_PRIOR_FUNCS=0
31033 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
31034 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
31035 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
31036 echo $ECHO_N "(cached) $ECHO_C" >&6
31037 else
31038 cat >conftest.$ac_ext <<_ACEOF
31039 #line $LINENO "configure"
31040 /* confdefs.h. */
31041 _ACEOF
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 /* System header to define __stub macros and hopefully few prototypes,
31046 which can conflict with char pthread_attr_getschedpolicy (); below.
31047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31048 <limits.h> exists even on freestanding compilers. */
31049 #ifdef __STDC__
31050 # include <limits.h>
31051 #else
31052 # include <assert.h>
31053 #endif
31054 /* Override any gcc2 internal prototype to avoid an error. */
31055 #ifdef __cplusplus
31056 extern "C"
31057 {
31058 #endif
31059 /* We use char because int might match the return type of a gcc2
31060 builtin and then its argument prototype would still apply. */
31061 char pthread_attr_getschedpolicy ();
31062 /* The GNU C library defines this for functions which it implements
31063 to always fail with ENOSYS. Some functions are actually named
31064 something starting with __ and the normal name is an alias. */
31065 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
31066 choke me
31067 #else
31068 char (*f) () = pthread_attr_getschedpolicy;
31069 #endif
31070 #ifdef __cplusplus
31071 }
31072 #endif
31073
31074 int
31075 main ()
31076 {
31077 return f != pthread_attr_getschedpolicy;
31078 ;
31079 return 0;
31080 }
31081 _ACEOF
31082 rm -f conftest.$ac_objext conftest$ac_exeext
31083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31084 (eval $ac_link) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -s conftest$ac_exeext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31091 ac_status=$?
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094 ac_cv_func_pthread_attr_getschedpolicy=yes
31095 else
31096 echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.$ac_ext >&5
31098
31099 ac_cv_func_pthread_attr_getschedpolicy=no
31100 fi
31101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31102 fi
31103 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
31104 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
31105 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
31106 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
31107 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
31108 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
31109 echo $ECHO_N "(cached) $ECHO_C" >&6
31110 else
31111 cat >conftest.$ac_ext <<_ACEOF
31112 #line $LINENO "configure"
31113 /* confdefs.h. */
31114 _ACEOF
31115 cat confdefs.h >>conftest.$ac_ext
31116 cat >>conftest.$ac_ext <<_ACEOF
31117 /* end confdefs.h. */
31118 /* System header to define __stub macros and hopefully few prototypes,
31119 which can conflict with char pthread_attr_setschedparam (); below.
31120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31121 <limits.h> exists even on freestanding compilers. */
31122 #ifdef __STDC__
31123 # include <limits.h>
31124 #else
31125 # include <assert.h>
31126 #endif
31127 /* Override any gcc2 internal prototype to avoid an error. */
31128 #ifdef __cplusplus
31129 extern "C"
31130 {
31131 #endif
31132 /* We use char because int might match the return type of a gcc2
31133 builtin and then its argument prototype would still apply. */
31134 char pthread_attr_setschedparam ();
31135 /* The GNU C library defines this for functions which it implements
31136 to always fail with ENOSYS. Some functions are actually named
31137 something starting with __ and the normal name is an alias. */
31138 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
31139 choke me
31140 #else
31141 char (*f) () = pthread_attr_setschedparam;
31142 #endif
31143 #ifdef __cplusplus
31144 }
31145 #endif
31146
31147 int
31148 main ()
31149 {
31150 return f != pthread_attr_setschedparam;
31151 ;
31152 return 0;
31153 }
31154 _ACEOF
31155 rm -f conftest.$ac_objext conftest$ac_exeext
31156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31157 (eval $ac_link) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); } &&
31161 { ac_try='test -s conftest$ac_exeext'
31162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31163 (eval $ac_try) 2>&5
31164 ac_status=$?
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); }; }; then
31167 ac_cv_func_pthread_attr_setschedparam=yes
31168 else
31169 echo "$as_me: failed program was:" >&5
31170 sed 's/^/| /' conftest.$ac_ext >&5
31171
31172 ac_cv_func_pthread_attr_setschedparam=no
31173 fi
31174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31175 fi
31176 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
31177 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
31178 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
31179 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
31180 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
31181 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
31182 echo $ECHO_N "(cached) $ECHO_C" >&6
31183 else
31184 cat >conftest.$ac_ext <<_ACEOF
31185 #line $LINENO "configure"
31186 /* confdefs.h. */
31187 _ACEOF
31188 cat confdefs.h >>conftest.$ac_ext
31189 cat >>conftest.$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31191 /* System header to define __stub macros and hopefully few prototypes,
31192 which can conflict with char sched_get_priority_max (); below.
31193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31194 <limits.h> exists even on freestanding compilers. */
31195 #ifdef __STDC__
31196 # include <limits.h>
31197 #else
31198 # include <assert.h>
31199 #endif
31200 /* Override any gcc2 internal prototype to avoid an error. */
31201 #ifdef __cplusplus
31202 extern "C"
31203 {
31204 #endif
31205 /* We use char because int might match the return type of a gcc2
31206 builtin and then its argument prototype would still apply. */
31207 char sched_get_priority_max ();
31208 /* The GNU C library defines this for functions which it implements
31209 to always fail with ENOSYS. Some functions are actually named
31210 something starting with __ and the normal name is an alias. */
31211 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
31212 choke me
31213 #else
31214 char (*f) () = sched_get_priority_max;
31215 #endif
31216 #ifdef __cplusplus
31217 }
31218 #endif
31219
31220 int
31221 main ()
31222 {
31223 return f != sched_get_priority_max;
31224 ;
31225 return 0;
31226 }
31227 _ACEOF
31228 rm -f conftest.$ac_objext conftest$ac_exeext
31229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31230 (eval $ac_link) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); } &&
31234 { ac_try='test -s conftest$ac_exeext'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31237 ac_status=$?
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; }; then
31240 ac_cv_func_sched_get_priority_max=yes
31241 else
31242 echo "$as_me: failed program was:" >&5
31243 sed 's/^/| /' conftest.$ac_ext >&5
31244
31245 ac_cv_func_sched_get_priority_max=no
31246 fi
31247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31248 fi
31249 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
31250 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
31251 if test $ac_cv_func_sched_get_priority_max = yes; then
31252 HAVE_PRIOR_FUNCS=1
31253 else
31254 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
31255 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
31256 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
31257 echo $ECHO_N "(cached) $ECHO_C" >&6
31258 else
31259 ac_check_lib_save_LIBS=$LIBS
31260 LIBS="-lposix4 $LIBS"
31261 cat >conftest.$ac_ext <<_ACEOF
31262 #line $LINENO "configure"
31263 /* confdefs.h. */
31264 _ACEOF
31265 cat confdefs.h >>conftest.$ac_ext
31266 cat >>conftest.$ac_ext <<_ACEOF
31267 /* end confdefs.h. */
31268
31269 /* Override any gcc2 internal prototype to avoid an error. */
31270 #ifdef __cplusplus
31271 extern "C"
31272 #endif
31273 /* We use char because int might match the return type of a gcc2
31274 builtin and then its argument prototype would still apply. */
31275 char sched_get_priority_max ();
31276 int
31277 main ()
31278 {
31279 sched_get_priority_max ();
31280 ;
31281 return 0;
31282 }
31283 _ACEOF
31284 rm -f conftest.$ac_objext conftest$ac_exeext
31285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31286 (eval $ac_link) 2>&5
31287 ac_status=$?
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } &&
31290 { ac_try='test -s conftest$ac_exeext'
31291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31292 (eval $ac_try) 2>&5
31293 ac_status=$?
31294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31295 (exit $ac_status); }; }; then
31296 ac_cv_lib_posix4_sched_get_priority_max=yes
31297 else
31298 echo "$as_me: failed program was:" >&5
31299 sed 's/^/| /' conftest.$ac_ext >&5
31300
31301 ac_cv_lib_posix4_sched_get_priority_max=no
31302 fi
31303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31304 LIBS=$ac_check_lib_save_LIBS
31305 fi
31306 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
31307 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
31308 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
31309
31310 HAVE_PRIOR_FUNCS=1
31311 POSIX4_LINK=" -lposix4"
31312
31313 fi
31314
31315
31316 fi
31317
31318
31319 fi
31320
31321
31322 fi
31323
31324
31325 if test "$HAVE_PRIOR_FUNCS" = 1; then
31326 cat >>confdefs.h <<\_ACEOF
31327 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
31328 _ACEOF
31329
31330 else
31331 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
31332 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
31333 fi
31334
31335 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
31336 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
31337 if test "${ac_cv_func_pthread_cancel+set}" = set; then
31338 echo $ECHO_N "(cached) $ECHO_C" >&6
31339 else
31340 cat >conftest.$ac_ext <<_ACEOF
31341 #line $LINENO "configure"
31342 /* confdefs.h. */
31343 _ACEOF
31344 cat confdefs.h >>conftest.$ac_ext
31345 cat >>conftest.$ac_ext <<_ACEOF
31346 /* end confdefs.h. */
31347 /* System header to define __stub macros and hopefully few prototypes,
31348 which can conflict with char pthread_cancel (); below.
31349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31350 <limits.h> exists even on freestanding compilers. */
31351 #ifdef __STDC__
31352 # include <limits.h>
31353 #else
31354 # include <assert.h>
31355 #endif
31356 /* Override any gcc2 internal prototype to avoid an error. */
31357 #ifdef __cplusplus
31358 extern "C"
31359 {
31360 #endif
31361 /* We use char because int might match the return type of a gcc2
31362 builtin and then its argument prototype would still apply. */
31363 char pthread_cancel ();
31364 /* The GNU C library defines this for functions which it implements
31365 to always fail with ENOSYS. Some functions are actually named
31366 something starting with __ and the normal name is an alias. */
31367 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
31368 choke me
31369 #else
31370 char (*f) () = pthread_cancel;
31371 #endif
31372 #ifdef __cplusplus
31373 }
31374 #endif
31375
31376 int
31377 main ()
31378 {
31379 return f != pthread_cancel;
31380 ;
31381 return 0;
31382 }
31383 _ACEOF
31384 rm -f conftest.$ac_objext conftest$ac_exeext
31385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31386 (eval $ac_link) 2>&5
31387 ac_status=$?
31388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31389 (exit $ac_status); } &&
31390 { ac_try='test -s conftest$ac_exeext'
31391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31392 (eval $ac_try) 2>&5
31393 ac_status=$?
31394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31395 (exit $ac_status); }; }; then
31396 ac_cv_func_pthread_cancel=yes
31397 else
31398 echo "$as_me: failed program was:" >&5
31399 sed 's/^/| /' conftest.$ac_ext >&5
31400
31401 ac_cv_func_pthread_cancel=no
31402 fi
31403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31404 fi
31405 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
31406 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
31407 if test $ac_cv_func_pthread_cancel = yes; then
31408 cat >>confdefs.h <<\_ACEOF
31409 #define HAVE_PTHREAD_CANCEL 1
31410 _ACEOF
31411
31412 else
31413 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
31414 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
31415 fi
31416
31417
31418
31419
31420 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
31421 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
31422 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 else
31425
31426 cat >conftest.$ac_ext <<_ACEOF
31427 #line $LINENO "configure"
31428 /* confdefs.h. */
31429 _ACEOF
31430 cat confdefs.h >>conftest.$ac_ext
31431 cat >>conftest.$ac_ext <<_ACEOF
31432 /* end confdefs.h. */
31433 #include <pthread.h>
31434 int
31435 main ()
31436 {
31437
31438 pthread_mutexattr_t attr;
31439 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
31440
31441 ;
31442 return 0;
31443 }
31444 _ACEOF
31445 rm -f conftest.$ac_objext
31446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31447 (eval $ac_compile) 2>&5
31448 ac_status=$?
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); } &&
31451 { ac_try='test -s conftest.$ac_objext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31454 ac_status=$?
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457
31458 wx_cv_type_pthread_mutexattr_t=yes
31459
31460 else
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31463
31464
31465 wx_cv_type_pthread_mutexattr_t=no
31466
31467
31468 fi
31469 rm -f conftest.$ac_objext conftest.$ac_ext
31470
31471 fi
31472 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
31473 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
31474
31475 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
31476 cat >>confdefs.h <<\_ACEOF
31477 #define HAVE_PTHREAD_MUTEXATTR_T 1
31478 _ACEOF
31479
31480 else
31481 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
31482 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
31483 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31485 else
31486
31487 cat >conftest.$ac_ext <<_ACEOF
31488 #line $LINENO "configure"
31489 /* confdefs.h. */
31490 _ACEOF
31491 cat confdefs.h >>conftest.$ac_ext
31492 cat >>conftest.$ac_ext <<_ACEOF
31493 /* end confdefs.h. */
31494 #include <pthread.h>
31495 int
31496 main ()
31497 {
31498
31499 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
31500
31501 ;
31502 return 0;
31503 }
31504 _ACEOF
31505 rm -f conftest.$ac_objext
31506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31507 (eval $ac_compile) 2>&5
31508 ac_status=$?
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); } &&
31511 { ac_try='test -s conftest.$ac_objext'
31512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31513 (eval $ac_try) 2>&5
31514 ac_status=$?
31515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31516 (exit $ac_status); }; }; then
31517
31518 wx_cv_type_pthread_rec_mutex_init=yes
31519
31520 else
31521 echo "$as_me: failed program was:" >&5
31522 sed 's/^/| /' conftest.$ac_ext >&5
31523
31524
31525 wx_cv_type_pthread_rec_mutex_init=no
31526
31527
31528 fi
31529 rm -f conftest.$ac_objext conftest.$ac_ext
31530
31531 fi
31532 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
31533 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
31534 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
31535 cat >>confdefs.h <<\_ACEOF
31536 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
31537 _ACEOF
31538
31539 else
31540 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
31541 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
31542 fi
31543 fi
31544 fi
31545
31546 else
31547 if test "$wxUSE_THREADS" = "yes" ; then
31548 case "${host}" in
31549 *-*-mingw32* )
31550 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
31551 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
31552 if test "${wx_cv_cflags_mthread+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31554 else
31555
31556 CFLAGS_OLD="$CFLAGS"
31557 CFLAGS="$CFLAGS -mthreads"
31558 cat >conftest.$ac_ext <<_ACEOF
31559 #line $LINENO "configure"
31560 /* confdefs.h. */
31561 _ACEOF
31562 cat confdefs.h >>conftest.$ac_ext
31563 cat >>conftest.$ac_ext <<_ACEOF
31564 /* end confdefs.h. */
31565
31566 int
31567 main ()
31568 {
31569
31570 ;
31571 return 0;
31572 }
31573 _ACEOF
31574 rm -f conftest.$ac_objext
31575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31576 (eval $ac_compile) 2>&5
31577 ac_status=$?
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try='test -s conftest.$ac_objext'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; }; then
31586 wx_cv_cflags_mthread=yes
31587 else
31588 echo "$as_me: failed program was:" >&5
31589 sed 's/^/| /' conftest.$ac_ext >&5
31590
31591 wx_cv_cflags_mthread=no
31592
31593 fi
31594 rm -f conftest.$ac_objext conftest.$ac_ext
31595
31596
31597 fi
31598 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
31599 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
31600
31601 if test "$wx_cv_cflags_mthread" = "yes"; then
31602 CXXFLAGS="$CXXFLAGS -mthreads"
31603 TOOLCHAIN_DEFS="$TOOLCHAIN_DEFS -mthreads"
31604 LDFLAGS="$LDFLAGS -mthreads"
31605 else
31606 CFLAGS="$CFLAGS_OLD"
31607 fi
31608 ;;
31609 *-pc-os2*emx )
31610 CFLAGS="$CFLAGS -Zmt -D__ST_MT_ERRNO__"
31611 CXXFLAGS="$CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
31612 LDFLAGS="$LDFLAGS -Zmt"
31613 ;;
31614 esac
31615 fi
31616 fi
31617
31618 if test "$wxUSE_THREADS" = "yes"; then
31619 cat >>confdefs.h <<\_ACEOF
31620 #define wxUSE_THREADS 1
31621 _ACEOF
31622
31623
31624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
31625 else
31626 if test "$ac_cv_func_strtok_r" = "yes"; then
31627 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
31628 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
31629 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
31630 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D_REENTRANT"
31631 echo "$as_me:$LINENO: result: yes" >&5
31632 echo "${ECHO_T}yes" >&6
31633 else
31634 echo "$as_me:$LINENO: result: no" >&5
31635 echo "${ECHO_T}no" >&6
31636 fi
31637 fi
31638 fi
31639
31640 if test "$WXGTK20" = 1 ; then
31641 cat >>confdefs.h <<_ACEOF
31642 #define __WXGTK20__ $WXGTK20
31643 _ACEOF
31644
31645 WXGTK12=1
31646 fi
31647
31648 if test "$WXGTK12" = 1 ; then
31649 cat >>confdefs.h <<_ACEOF
31650 #define __WXGTK12__ $WXGTK12
31651 _ACEOF
31652
31653 fi
31654
31655 if test "$WXGTK127" = 1 ; then
31656 cat >>confdefs.h <<_ACEOF
31657 #define __WXGTK127__ $WXGTK127
31658 _ACEOF
31659
31660 fi
31661
31662 if test "$WXGPE" = 1 ; then
31663 cat >>confdefs.h <<_ACEOF
31664 #define __WXGPE__ $WXGPE
31665 _ACEOF
31666
31667 fi
31668
31669 WXDEBUG=
31670
31671 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
31672 WXDEBUG="-g"
31673 wxUSE_OPTIMISE=no
31674 fi
31675
31676 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
31677 wxUSE_DEBUG_INFO=yes
31678 WXDEBUG="-ggdb"
31679 fi
31680
31681 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
31682 cat >>confdefs.h <<\_ACEOF
31683 #define WXDEBUG 1
31684 _ACEOF
31685
31686 WXDEBUG_DEFINE="-D__WXDEBUG__"
31687 else
31688 if test "$wxUSE_GTK" = 1 ; then
31689 WXDEBUG_DEFINE="-DGTK_NO_CHECK_CASTS"
31690 fi
31691 fi
31692
31693 if test "$wxUSE_MEM_TRACING" = "yes" ; then
31694 cat >>confdefs.h <<\_ACEOF
31695 #define wxUSE_MEMORY_TRACING 1
31696 _ACEOF
31697
31698 cat >>confdefs.h <<\_ACEOF
31699 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
31700 _ACEOF
31701
31702 cat >>confdefs.h <<\_ACEOF
31703 #define wxUSE_DEBUG_NEW_ALWAYS 1
31704 _ACEOF
31705
31706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
31707 fi
31708
31709 if test "$wxUSE_DMALLOC" = "yes" ; then
31710 DMALLOC_LIBS="-ldmalloc"
31711 fi
31712
31713 PROFILE=
31714 if test "$wxUSE_PROFILE" = "yes" ; then
31715 PROFILE=" -pg"
31716 fi
31717
31718 CODE_GEN_FLAGS=
31719 CODE_GEN_FLAGS_CXX=
31720 if test "$GCC" = "yes" ; then
31721 if test "$wxUSE_NO_RTTI" = "yes" ; then
31722 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-rtti"
31723 fi
31724 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
31725 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fno-exceptions"
31726 fi
31727 if test "$wxUSE_PERMISSIVE" = "yes" ; then
31728 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -fpermissive"
31729 fi
31730
31731 case "${host}" in
31732 powerpc*-*-aix* )
31733 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -mminimal-toc"
31734 ;;
31735 *-hppa* )
31736 CODE_GEN_FLAGS="$CODE_GEN_FLAGS -ffunction-sections"
31737 ;;
31738 esac
31739 fi
31740
31741 OPTIMISE=
31742 if test "$wxUSE_OPTIMISE" = "no" ; then
31743 if test "$GCC" = yes ; then
31744 OPTIMISE="-O0"
31745 fi
31746 else
31747 if test "$GCC" = yes ; then
31748 OPTIMISE="-O2"
31749
31750 case "${host}" in
31751 i586-*-*|i686-*-* )
31752 OPTIMISE="${OPTIMISE} "
31753 ;;
31754 esac
31755 else
31756 OPTIMISE="-O"
31757 fi
31758 fi
31759
31760
31761 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
31762 cat >>confdefs.h <<\_ACEOF
31763 #define WXWIN_COMPATIBILITY_2_2 1
31764 _ACEOF
31765
31766
31767 WXWIN_COMPATIBILITY_2_4="yes"
31768 fi
31769
31770 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
31771 cat >>confdefs.h <<\_ACEOF
31772 #define WXWIN_COMPATIBILITY_2_4 1
31773 _ACEOF
31774
31775 fi
31776
31777
31778 if test "$wxUSE_GUI" = "yes"; then
31779 cat >>confdefs.h <<\_ACEOF
31780 #define wxUSE_GUI 1
31781 _ACEOF
31782
31783
31784 else
31785 cat >>confdefs.h <<\_ACEOF
31786 #define wxUSE_NOGUI 1
31787 _ACEOF
31788
31789 fi
31790
31791
31792 if test "$wxUSE_UNIX" = "yes"; then
31793 cat >>confdefs.h <<\_ACEOF
31794 #define wxUSE_UNIX 1
31795 _ACEOF
31796
31797 fi
31798
31799
31800 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
31801
31802 HAVE_DL_FUNCS=0
31803 HAVE_SHL_FUNCS=0
31804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
31805 if test "$USE_DARWIN" = 1; then
31806 HAVE_DL_FUNCS=1
31807 else
31808
31809 for ac_func in dlopen
31810 do
31811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31812 echo "$as_me:$LINENO: checking for $ac_func" >&5
31813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31814 if eval "test \"\${$as_ac_var+set}\" = set"; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 else
31817 cat >conftest.$ac_ext <<_ACEOF
31818 #line $LINENO "configure"
31819 /* confdefs.h. */
31820 _ACEOF
31821 cat confdefs.h >>conftest.$ac_ext
31822 cat >>conftest.$ac_ext <<_ACEOF
31823 /* end confdefs.h. */
31824 /* System header to define __stub macros and hopefully few prototypes,
31825 which can conflict with char $ac_func (); below.
31826 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31827 <limits.h> exists even on freestanding compilers. */
31828 #ifdef __STDC__
31829 # include <limits.h>
31830 #else
31831 # include <assert.h>
31832 #endif
31833 /* Override any gcc2 internal prototype to avoid an error. */
31834 #ifdef __cplusplus
31835 extern "C"
31836 {
31837 #endif
31838 /* We use char because int might match the return type of a gcc2
31839 builtin and then its argument prototype would still apply. */
31840 char $ac_func ();
31841 /* The GNU C library defines this for functions which it implements
31842 to always fail with ENOSYS. Some functions are actually named
31843 something starting with __ and the normal name is an alias. */
31844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31845 choke me
31846 #else
31847 char (*f) () = $ac_func;
31848 #endif
31849 #ifdef __cplusplus
31850 }
31851 #endif
31852
31853 int
31854 main ()
31855 {
31856 return f != $ac_func;
31857 ;
31858 return 0;
31859 }
31860 _ACEOF
31861 rm -f conftest.$ac_objext conftest$ac_exeext
31862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31863 (eval $ac_link) 2>&5
31864 ac_status=$?
31865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31866 (exit $ac_status); } &&
31867 { ac_try='test -s conftest$ac_exeext'
31868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31869 (eval $ac_try) 2>&5
31870 ac_status=$?
31871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31872 (exit $ac_status); }; }; then
31873 eval "$as_ac_var=yes"
31874 else
31875 echo "$as_me: failed program was:" >&5
31876 sed 's/^/| /' conftest.$ac_ext >&5
31877
31878 eval "$as_ac_var=no"
31879 fi
31880 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31881 fi
31882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31884 if test `eval echo '${'$as_ac_var'}'` = yes; then
31885 cat >>confdefs.h <<_ACEOF
31886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31887 _ACEOF
31888
31889 cat >>confdefs.h <<\_ACEOF
31890 #define HAVE_DLOPEN 1
31891 _ACEOF
31892
31893 HAVE_DL_FUNCS=1
31894
31895 else
31896
31897 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
31898 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
31899 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
31900 echo $ECHO_N "(cached) $ECHO_C" >&6
31901 else
31902 ac_check_lib_save_LIBS=$LIBS
31903 LIBS="-ldl $LIBS"
31904 cat >conftest.$ac_ext <<_ACEOF
31905 #line $LINENO "configure"
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 /* Override any gcc2 internal prototype to avoid an error. */
31913 #ifdef __cplusplus
31914 extern "C"
31915 #endif
31916 /* We use char because int might match the return type of a gcc2
31917 builtin and then its argument prototype would still apply. */
31918 char dlopen ();
31919 int
31920 main ()
31921 {
31922 dlopen ();
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 rm -f conftest.$ac_objext conftest$ac_exeext
31928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31929 (eval $ac_link) 2>&5
31930 ac_status=$?
31931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31932 (exit $ac_status); } &&
31933 { ac_try='test -s conftest$ac_exeext'
31934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31935 (eval $ac_try) 2>&5
31936 ac_status=$?
31937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31938 (exit $ac_status); }; }; then
31939 ac_cv_lib_dl_dlopen=yes
31940 else
31941 echo "$as_me: failed program was:" >&5
31942 sed 's/^/| /' conftest.$ac_ext >&5
31943
31944 ac_cv_lib_dl_dlopen=no
31945 fi
31946 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31947 LIBS=$ac_check_lib_save_LIBS
31948 fi
31949 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
31950 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
31951 if test $ac_cv_lib_dl_dlopen = yes; then
31952
31953 cat >>confdefs.h <<\_ACEOF
31954 #define HAVE_DLOPEN 1
31955 _ACEOF
31956
31957 HAVE_DL_FUNCS=1
31958 DL_LINK=" -ldl$DL_LINK"
31959
31960 else
31961
31962
31963 for ac_func in shl_load
31964 do
31965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31966 echo "$as_me:$LINENO: checking for $ac_func" >&5
31967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31968 if eval "test \"\${$as_ac_var+set}\" = set"; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 else
31971 cat >conftest.$ac_ext <<_ACEOF
31972 #line $LINENO "configure"
31973 /* confdefs.h. */
31974 _ACEOF
31975 cat confdefs.h >>conftest.$ac_ext
31976 cat >>conftest.$ac_ext <<_ACEOF
31977 /* end confdefs.h. */
31978 /* System header to define __stub macros and hopefully few prototypes,
31979 which can conflict with char $ac_func (); below.
31980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31981 <limits.h> exists even on freestanding compilers. */
31982 #ifdef __STDC__
31983 # include <limits.h>
31984 #else
31985 # include <assert.h>
31986 #endif
31987 /* Override any gcc2 internal prototype to avoid an error. */
31988 #ifdef __cplusplus
31989 extern "C"
31990 {
31991 #endif
31992 /* We use char because int might match the return type of a gcc2
31993 builtin and then its argument prototype would still apply. */
31994 char $ac_func ();
31995 /* The GNU C library defines this for functions which it implements
31996 to always fail with ENOSYS. Some functions are actually named
31997 something starting with __ and the normal name is an alias. */
31998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31999 choke me
32000 #else
32001 char (*f) () = $ac_func;
32002 #endif
32003 #ifdef __cplusplus
32004 }
32005 #endif
32006
32007 int
32008 main ()
32009 {
32010 return f != $ac_func;
32011 ;
32012 return 0;
32013 }
32014 _ACEOF
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>&5
32018 ac_status=$?
32019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32020 (exit $ac_status); } &&
32021 { ac_try='test -s conftest$ac_exeext'
32022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32023 (eval $ac_try) 2>&5
32024 ac_status=$?
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); }; }; then
32027 eval "$as_ac_var=yes"
32028 else
32029 echo "$as_me: failed program was:" >&5
32030 sed 's/^/| /' conftest.$ac_ext >&5
32031
32032 eval "$as_ac_var=no"
32033 fi
32034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32035 fi
32036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32038 if test `eval echo '${'$as_ac_var'}'` = yes; then
32039 cat >>confdefs.h <<_ACEOF
32040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32041 _ACEOF
32042
32043 cat >>confdefs.h <<\_ACEOF
32044 #define HAVE_SHL_LOAD 1
32045 _ACEOF
32046
32047 HAVE_SHL_FUNCS=1
32048
32049 else
32050
32051 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
32052 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
32053 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32055 else
32056 ac_check_lib_save_LIBS=$LIBS
32057 LIBS="-lshl_load $LIBS"
32058 cat >conftest.$ac_ext <<_ACEOF
32059 #line $LINENO "configure"
32060 /* confdefs.h. */
32061 _ACEOF
32062 cat confdefs.h >>conftest.$ac_ext
32063 cat >>conftest.$ac_ext <<_ACEOF
32064 /* end confdefs.h. */
32065
32066 /* Override any gcc2 internal prototype to avoid an error. */
32067 #ifdef __cplusplus
32068 extern "C"
32069 #endif
32070 /* We use char because int might match the return type of a gcc2
32071 builtin and then its argument prototype would still apply. */
32072 char dld ();
32073 int
32074 main ()
32075 {
32076 dld ();
32077 ;
32078 return 0;
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext conftest$ac_exeext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32083 (eval $ac_link) 2>&5
32084 ac_status=$?
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); } &&
32087 { ac_try='test -s conftest$ac_exeext'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32090 ac_status=$?
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; }; then
32093 ac_cv_lib_shl_load_dld=yes
32094 else
32095 echo "$as_me: failed program was:" >&5
32096 sed 's/^/| /' conftest.$ac_ext >&5
32097
32098 ac_cv_lib_shl_load_dld=no
32099 fi
32100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32101 LIBS=$ac_check_lib_save_LIBS
32102 fi
32103 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
32104 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
32105 if test $ac_cv_lib_shl_load_dld = yes; then
32106
32107 HAVE_SHL_FUNCS=1
32108 DL_LINK=" -ldld$DL_LINK"
32109
32110 fi
32111
32112
32113 fi
32114 done
32115
32116
32117 fi
32118
32119
32120 fi
32121 done
32122
32123
32124 if test "$HAVE_DL_FUNCS" = 1; then
32125
32126 for ac_func in dlerror
32127 do
32128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32129 echo "$as_me:$LINENO: checking for $ac_func" >&5
32130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32131 if eval "test \"\${$as_ac_var+set}\" = set"; then
32132 echo $ECHO_N "(cached) $ECHO_C" >&6
32133 else
32134 cat >conftest.$ac_ext <<_ACEOF
32135 #line $LINENO "configure"
32136 /* confdefs.h. */
32137 _ACEOF
32138 cat confdefs.h >>conftest.$ac_ext
32139 cat >>conftest.$ac_ext <<_ACEOF
32140 /* end confdefs.h. */
32141 /* System header to define __stub macros and hopefully few prototypes,
32142 which can conflict with char $ac_func (); below.
32143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32144 <limits.h> exists even on freestanding compilers. */
32145 #ifdef __STDC__
32146 # include <limits.h>
32147 #else
32148 # include <assert.h>
32149 #endif
32150 /* Override any gcc2 internal prototype to avoid an error. */
32151 #ifdef __cplusplus
32152 extern "C"
32153 {
32154 #endif
32155 /* We use char because int might match the return type of a gcc2
32156 builtin and then its argument prototype would still apply. */
32157 char $ac_func ();
32158 /* The GNU C library defines this for functions which it implements
32159 to always fail with ENOSYS. Some functions are actually named
32160 something starting with __ and the normal name is an alias. */
32161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32162 choke me
32163 #else
32164 char (*f) () = $ac_func;
32165 #endif
32166 #ifdef __cplusplus
32167 }
32168 #endif
32169
32170 int
32171 main ()
32172 {
32173 return f != $ac_func;
32174 ;
32175 return 0;
32176 }
32177 _ACEOF
32178 rm -f conftest.$ac_objext conftest$ac_exeext
32179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32180 (eval $ac_link) 2>&5
32181 ac_status=$?
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); } &&
32184 { ac_try='test -s conftest$ac_exeext'
32185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32186 (eval $ac_try) 2>&5
32187 ac_status=$?
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); }; }; then
32190 eval "$as_ac_var=yes"
32191 else
32192 echo "$as_me: failed program was:" >&5
32193 sed 's/^/| /' conftest.$ac_ext >&5
32194
32195 eval "$as_ac_var=no"
32196 fi
32197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32198 fi
32199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32201 if test `eval echo '${'$as_ac_var'}'` = yes; then
32202 cat >>confdefs.h <<_ACEOF
32203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32204 _ACEOF
32205 cat >>confdefs.h <<\_ACEOF
32206 #define HAVE_DLERROR 1
32207 _ACEOF
32208
32209 else
32210
32211 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
32212 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
32213 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
32214 echo $ECHO_N "(cached) $ECHO_C" >&6
32215 else
32216 ac_check_lib_save_LIBS=$LIBS
32217 LIBS="-ldl $LIBS"
32218 cat >conftest.$ac_ext <<_ACEOF
32219 #line $LINENO "configure"
32220 /* confdefs.h. */
32221 _ACEOF
32222 cat confdefs.h >>conftest.$ac_ext
32223 cat >>conftest.$ac_ext <<_ACEOF
32224 /* end confdefs.h. */
32225
32226 /* Override any gcc2 internal prototype to avoid an error. */
32227 #ifdef __cplusplus
32228 extern "C"
32229 #endif
32230 /* We use char because int might match the return type of a gcc2
32231 builtin and then its argument prototype would still apply. */
32232 char dlerror ();
32233 int
32234 main ()
32235 {
32236 dlerror ();
32237 ;
32238 return 0;
32239 }
32240 _ACEOF
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32243 (eval $ac_link) 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); } &&
32247 { ac_try='test -s conftest$ac_exeext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 ac_cv_lib_dl_dlerror=yes
32254 else
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.$ac_ext >&5
32257
32258 ac_cv_lib_dl_dlerror=no
32259 fi
32260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32261 LIBS=$ac_check_lib_save_LIBS
32262 fi
32263 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
32264 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
32265 if test $ac_cv_lib_dl_dlerror = yes; then
32266 cat >>confdefs.h <<\_ACEOF
32267 #define HAVE_DLERROR 1
32268 _ACEOF
32269
32270 fi
32271
32272
32273
32274 fi
32275 done
32276
32277 fi
32278 fi
32279
32280 if test "$HAVE_DL_FUNCS" = 0; then
32281 if test "$HAVE_SHL_FUNCS" = 0; then
32282 if test "$USE_UNIX" = 1; then
32283 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
32284 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
32285 wxUSE_DYNAMIC_LOADER=no
32286 wxUSE_DYNLIB_CLASS=no
32287 else
32288 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
32289 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
32290 fi
32291 fi
32292 fi
32293 fi
32294 fi
32295
32296 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
32297 cat >>confdefs.h <<\_ACEOF
32298 #define wxUSE_DYNAMIC_LOADER 1
32299 _ACEOF
32300
32301 fi
32302 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
32303 cat >>confdefs.h <<\_ACEOF
32304 #define wxUSE_DYNLIB_CLASS 1
32305 _ACEOF
32306
32307 fi
32308
32309
32310
32311 if test "$wxUSE_PLUGINS" = "yes" ; then
32312 if test "$wxUSE_SHARED" = "no" ; then
32313 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
32314 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
32315 wxUSE_PLUGINS=no
32316 fi
32317 if test "$wxUSE_MONOLITHIC" = "yes" ; then
32318 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
32319 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
32320 wxUSE_PLUGINS=no
32321 fi
32322 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
32323 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
32324 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
32325 wxUSE_PLUGINS=no
32326 fi
32327 if test "$wxUSE_PLUGINS" = "yes" ; then
32328 cat >>confdefs.h <<\_ACEOF
32329 #define wxUSE_PLUGINS 1
32330 _ACEOF
32331
32332 fi
32333 fi
32334
32335
32336 if test "$wxUSE_STL" = "yes"; then
32337 cat >>confdefs.h <<\_ACEOF
32338 #define wxUSE_STL 1
32339 _ACEOF
32340
32341 fi
32342
32343 if test "$wxUSE_APPLE_IEEE" = "yes"; then
32344 cat >>confdefs.h <<\_ACEOF
32345 #define wxUSE_APPLE_IEEE 1
32346 _ACEOF
32347
32348 fi
32349
32350 if test "$wxUSE_TIMER" = "yes"; then
32351 cat >>confdefs.h <<\_ACEOF
32352 #define wxUSE_TIMER 1
32353 _ACEOF
32354
32355 fi
32356
32357 WITH_PLUGIN_SDL=0
32358 if test "$wxUSE_SOUND" = "yes"; then
32359 if test "$USE_UNIX" = "1" ; then
32360
32361 for ac_header in sys/soundcard.h
32362 do
32363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32365 echo "$as_me:$LINENO: checking for $ac_header" >&5
32366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 fi
32370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32372 else
32373 # Is the header compilable?
32374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32376 cat >conftest.$ac_ext <<_ACEOF
32377 #line $LINENO "configure"
32378 /* confdefs.h. */
32379 _ACEOF
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32383 $ac_includes_default
32384 #include <$ac_header>
32385 _ACEOF
32386 rm -f conftest.$ac_objext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32388 (eval $ac_compile) 2>&5
32389 ac_status=$?
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -s conftest.$ac_objext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 ac_header_compiler=yes
32399 else
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32402
32403 ac_header_compiler=no
32404 fi
32405 rm -f conftest.$ac_objext conftest.$ac_ext
32406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32407 echo "${ECHO_T}$ac_header_compiler" >&6
32408
32409 # Is the header present?
32410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32412 cat >conftest.$ac_ext <<_ACEOF
32413 #line $LINENO "configure"
32414 /* confdefs.h. */
32415 _ACEOF
32416 cat confdefs.h >>conftest.$ac_ext
32417 cat >>conftest.$ac_ext <<_ACEOF
32418 /* end confdefs.h. */
32419 #include <$ac_header>
32420 _ACEOF
32421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32423 ac_status=$?
32424 grep -v '^ *+' conftest.er1 >conftest.err
32425 rm -f conftest.er1
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } >/dev/null; then
32429 if test -s conftest.err; then
32430 ac_cpp_err=$ac_c_preproc_warn_flag
32431 else
32432 ac_cpp_err=
32433 fi
32434 else
32435 ac_cpp_err=yes
32436 fi
32437 if test -z "$ac_cpp_err"; then
32438 ac_header_preproc=yes
32439 else
32440 echo "$as_me: failed program was:" >&5
32441 sed 's/^/| /' conftest.$ac_ext >&5
32442
32443 ac_header_preproc=no
32444 fi
32445 rm -f conftest.err conftest.$ac_ext
32446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32447 echo "${ECHO_T}$ac_header_preproc" >&6
32448
32449 # So? What about this header?
32450 case $ac_header_compiler:$ac_header_preproc in
32451 yes:no )
32452 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32454 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32455 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32456 (
32457 cat <<\_ASBOX
32458 ## ------------------------------------ ##
32459 ## Report this to bug-autoconf@gnu.org. ##
32460 ## ------------------------------------ ##
32461 _ASBOX
32462 ) |
32463 sed "s/^/$as_me: WARNING: /" >&2
32464 ;;
32465 no:yes )
32466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32472 (
32473 cat <<\_ASBOX
32474 ## ------------------------------------ ##
32475 ## Report this to bug-autoconf@gnu.org. ##
32476 ## ------------------------------------ ##
32477 _ASBOX
32478 ) |
32479 sed "s/^/$as_me: WARNING: /" >&2
32480 ;;
32481 esac
32482 echo "$as_me:$LINENO: checking for $ac_header" >&5
32483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32485 echo $ECHO_N "(cached) $ECHO_C" >&6
32486 else
32487 eval "$as_ac_Header=$ac_header_preproc"
32488 fi
32489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32491
32492 fi
32493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32494 cat >>confdefs.h <<_ACEOF
32495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32496 _ACEOF
32497
32498 fi
32499
32500 done
32501
32502
32503 if test "$wxUSE_LIBSDL" != "no"; then
32504
32505 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
32506 if test "${with_sdl_prefix+set}" = set; then
32507 withval="$with_sdl_prefix"
32508 sdl_prefix="$withval"
32509 else
32510 sdl_prefix=""
32511 fi;
32512
32513 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
32514 if test "${with_sdl_exec_prefix+set}" = set; then
32515 withval="$with_sdl_exec_prefix"
32516 sdl_exec_prefix="$withval"
32517 else
32518 sdl_exec_prefix=""
32519 fi;
32520 # Check whether --enable-sdltest or --disable-sdltest was given.
32521 if test "${enable_sdltest+set}" = set; then
32522 enableval="$enable_sdltest"
32523
32524 else
32525 enable_sdltest=yes
32526 fi;
32527
32528 if test x$sdl_exec_prefix != x ; then
32529 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
32530 if test x${SDL_CONFIG+set} != xset ; then
32531 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
32532 fi
32533 fi
32534 if test x$sdl_prefix != x ; then
32535 sdl_args="$sdl_args --prefix=$sdl_prefix"
32536 if test x${SDL_CONFIG+set} != xset ; then
32537 SDL_CONFIG=$sdl_prefix/bin/sdl-config
32538 fi
32539 fi
32540
32541
32542 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
32543 # Extract the first word of "sdl-config", so it can be a program name with args.
32544 set dummy sdl-config; ac_word=$2
32545 echo "$as_me:$LINENO: checking for $ac_word" >&5
32546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32547 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
32548 echo $ECHO_N "(cached) $ECHO_C" >&6
32549 else
32550 case $SDL_CONFIG in
32551 [\\/]* | ?:[\\/]*)
32552 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
32553 ;;
32554 *)
32555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32556 for as_dir in $PATH
32557 do
32558 IFS=$as_save_IFS
32559 test -z "$as_dir" && as_dir=.
32560 for ac_exec_ext in '' $ac_executable_extensions; do
32561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32562 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32564 break 2
32565 fi
32566 done
32567 done
32568
32569 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
32570 ;;
32571 esac
32572 fi
32573 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
32574
32575 if test -n "$SDL_CONFIG"; then
32576 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
32577 echo "${ECHO_T}$SDL_CONFIG" >&6
32578 else
32579 echo "$as_me:$LINENO: result: no" >&5
32580 echo "${ECHO_T}no" >&6
32581 fi
32582
32583 min_sdl_version=1.2.0
32584 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
32585 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
32586 no_sdl=""
32587 if test "$SDL_CONFIG" = "no" ; then
32588 no_sdl=yes
32589 else
32590 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
32591 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
32592
32593 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
32594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
32595 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
32596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
32597 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
32598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
32599 if test "x$enable_sdltest" = "xyes" ; then
32600 ac_save_CFLAGS="$CFLAGS"
32601 ac_save_LIBS="$LIBS"
32602 CFLAGS="$CFLAGS $SDL_CFLAGS"
32603 LIBS="$LIBS $SDL_LIBS"
32604 rm -f conf.sdltest
32605 if test "$cross_compiling" = yes; then
32606 echo $ac_n "cross compiling; assumed OK... $ac_c"
32607 else
32608 cat >conftest.$ac_ext <<_ACEOF
32609 #line $LINENO "configure"
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615
32616 #include <stdio.h>
32617 #include <stdlib.h>
32618 #include <string.h>
32619 #include "SDL.h"
32620
32621 char*
32622 my_strdup (char *str)
32623 {
32624 char *new_str;
32625
32626 if (str)
32627 {
32628 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
32629 strcpy (new_str, str);
32630 }
32631 else
32632 new_str = NULL;
32633
32634 return new_str;
32635 }
32636
32637 int main (int argc, char *argv[])
32638 {
32639 int major, minor, micro;
32640 char *tmp_version;
32641
32642 /* This hangs on some systems (?)
32643 system ("touch conf.sdltest");
32644 */
32645 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
32646
32647 /* HP/UX 9 (%@#!) writes to sscanf strings */
32648 tmp_version = my_strdup("$min_sdl_version");
32649 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
32650 printf("%s, bad version string\n", "$min_sdl_version");
32651 exit(1);
32652 }
32653
32654 if (($sdl_major_version > major) ||
32655 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
32656 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
32657 {
32658 return 0;
32659 }
32660 else
32661 {
32662 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
32663 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
32664 printf("*** best to upgrade to the required version.\n");
32665 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
32666 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
32667 printf("*** config.cache before re-running configure\n");
32668 return 1;
32669 }
32670 }
32671
32672
32673 _ACEOF
32674 rm -f conftest$ac_exeext
32675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32676 (eval $ac_link) 2>&5
32677 ac_status=$?
32678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32681 (eval $ac_try) 2>&5
32682 ac_status=$?
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); }; }; then
32685 :
32686 else
32687 echo "$as_me: program exited with status $ac_status" >&5
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.$ac_ext >&5
32690
32691 ( exit $ac_status )
32692 no_sdl=yes
32693 fi
32694 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32695 fi
32696 CFLAGS="$ac_save_CFLAGS"
32697 LIBS="$ac_save_LIBS"
32698 fi
32699 fi
32700 if test "x$no_sdl" = x ; then
32701 echo "$as_me:$LINENO: result: yes" >&5
32702 echo "${ECHO_T}yes" >&6
32703
32704 EXTRALIBS_SDL="$SDL_LIBS"
32705 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
32706 cat >>confdefs.h <<\_ACEOF
32707 #define wxUSE_LIBSDL 1
32708 _ACEOF
32709
32710
32711 else
32712 echo "$as_me:$LINENO: result: no" >&5
32713 echo "${ECHO_T}no" >&6
32714 if test "$SDL_CONFIG" = "no" ; then
32715 echo "*** The sdl-config script installed by SDL could not be found"
32716 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
32717 echo "*** your path, or set the SDL_CONFIG environment variable to the"
32718 echo "*** full path to sdl-config."
32719 else
32720 if test -f conf.sdltest ; then
32721 :
32722 else
32723 echo "*** Could not run SDL test program, checking why..."
32724 CFLAGS="$CFLAGS $SDL_CFLAGS"
32725 LIBS="$LIBS $SDL_LIBS"
32726 cat >conftest.$ac_ext <<_ACEOF
32727 #line $LINENO "configure"
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733
32734 #include <stdio.h>
32735 #include "SDL.h"
32736
32737 int main(int argc, char *argv[])
32738 { return 0; }
32739 #undef main
32740 #define main K_and_R_C_main
32741
32742 int
32743 main ()
32744 {
32745 return 0;
32746 ;
32747 return 0;
32748 }
32749 _ACEOF
32750 rm -f conftest.$ac_objext conftest$ac_exeext
32751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32752 (eval $ac_link) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); } &&
32756 { ac_try='test -s conftest$ac_exeext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 echo "*** The test program compiled, but did not run. This usually means"
32763 echo "*** that the run-time linker is not finding SDL or finding the wrong"
32764 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
32765 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
32766 echo "*** to the installed location Also, make sure you have run ldconfig if that"
32767 echo "*** is required on your system"
32768 echo "***"
32769 echo "*** If you have an old version installed, it is best to remove it, although"
32770 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
32771 else
32772 echo "$as_me: failed program was:" >&5
32773 sed 's/^/| /' conftest.$ac_ext >&5
32774
32775 echo "*** The test program failed to compile or link. See the file config.log for the"
32776 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
32777 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
32778 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
32779 fi
32780 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32781 CFLAGS="$ac_save_CFLAGS"
32782 LIBS="$ac_save_LIBS"
32783 fi
32784 fi
32785 SDL_CFLAGS=""
32786 SDL_LIBS=""
32787 wxUSE_LIBSDL="no"
32788 fi
32789
32790
32791 rm -f conf.sdltest
32792
32793 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
32794 WITH_PLUGIN_SDL=1
32795 fi
32796 fi
32797 fi
32798
32799 cat >>confdefs.h <<\_ACEOF
32800 #define wxUSE_SOUND 1
32801 _ACEOF
32802
32803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
32804 fi
32805
32806 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
32807 cat >>confdefs.h <<\_ACEOF
32808 #define wxUSE_CMDLINE_PARSER 1
32809 _ACEOF
32810
32811 fi
32812
32813 if test "$wxUSE_STOPWATCH" = "yes"; then
32814 cat >>confdefs.h <<\_ACEOF
32815 #define wxUSE_STOPWATCH 1
32816 _ACEOF
32817
32818 fi
32819
32820 if test "$wxUSE_DATETIME" = "yes"; then
32821 cat >>confdefs.h <<\_ACEOF
32822 #define wxUSE_DATETIME 1
32823 _ACEOF
32824
32825 fi
32826
32827 if test "$wxUSE_FILE" = "yes"; then
32828 cat >>confdefs.h <<\_ACEOF
32829 #define wxUSE_FILE 1
32830 _ACEOF
32831
32832 fi
32833
32834 if test "$wxUSE_FFILE" = "yes"; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define wxUSE_FFILE 1
32837 _ACEOF
32838
32839 fi
32840
32841 if test "$wxUSE_FILESYSTEM" = "yes"; then
32842 cat >>confdefs.h <<\_ACEOF
32843 #define wxUSE_FILESYSTEM 1
32844 _ACEOF
32845
32846 fi
32847
32848 if test "$wxUSE_FS_ZIP" = "yes"; then
32849 cat >>confdefs.h <<\_ACEOF
32850 #define wxUSE_FS_ZIP 1
32851 _ACEOF
32852
32853 fi
32854
32855 if test "$wxUSE_ZIPSTREAM" = "yes"; then
32856 cat >>confdefs.h <<\_ACEOF
32857 #define wxUSE_ZIPSTREAM 1
32858 _ACEOF
32859
32860 fi
32861
32862 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define wxUSE_ON_FATAL_EXCEPTION 1
32865 _ACEOF
32866
32867 fi
32868
32869 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
32870 cat >>confdefs.h <<\_ACEOF
32871 #define wxUSE_SNGLINST_CHECKER 1
32872 _ACEOF
32873
32874 fi
32875
32876 if test "$wxUSE_BUSYINFO" = "yes"; then
32877 cat >>confdefs.h <<\_ACEOF
32878 #define wxUSE_BUSYINFO 1
32879 _ACEOF
32880
32881 fi
32882
32883 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
32884 cat >>confdefs.h <<\_ACEOF
32885 #define wxUSE_STD_IOSTREAM 1
32886 _ACEOF
32887
32888 fi
32889
32890 if test "$wxUSE_TEXTBUFFER" = "yes"; then
32891 cat >>confdefs.h <<\_ACEOF
32892 #define wxUSE_TEXTBUFFER 1
32893 _ACEOF
32894
32895 fi
32896
32897 if test "$wxUSE_TEXTFILE" = "yes"; then
32898 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
32899 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
32900 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
32901 else
32902 cat >>confdefs.h <<\_ACEOF
32903 #define wxUSE_TEXTFILE 1
32904 _ACEOF
32905
32906 fi
32907 fi
32908
32909 if test "$wxUSE_CONFIG" = "yes" ; then
32910 if test "$wxUSE_TEXTFILE" != "yes"; then
32911 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
32912 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
32913 else
32914 cat >>confdefs.h <<\_ACEOF
32915 #define wxUSE_CONFIG 1
32916 _ACEOF
32917
32918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
32919 fi
32920 fi
32921
32922 if test "$wxUSE_INTL" = "yes" ; then
32923 if test "$wxUSE_FILE" != "yes"; then
32924 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
32925 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
32926 else
32927 cat >>confdefs.h <<\_ACEOF
32928 #define wxUSE_INTL 1
32929 _ACEOF
32930
32931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
32932 GUIDIST="$GUIDIST INTL_DIST"
32933 fi
32934 fi
32935
32936 if test "$wxUSE_LOG" = "yes"; then
32937 cat >>confdefs.h <<\_ACEOF
32938 #define wxUSE_LOG 1
32939 _ACEOF
32940
32941
32942 if test "$wxUSE_LOGGUI" = "yes"; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define wxUSE_LOGGUI 1
32945 _ACEOF
32946
32947 fi
32948
32949 if test "$wxUSE_LOGWINDOW" = "yes"; then
32950 cat >>confdefs.h <<\_ACEOF
32951 #define wxUSE_LOGWINDOW 1
32952 _ACEOF
32953
32954 fi
32955
32956 if test "$wxUSE_LOGDIALOG" = "yes"; then
32957 cat >>confdefs.h <<\_ACEOF
32958 #define wxUSE_LOG_DIALOG 1
32959 _ACEOF
32960
32961 fi
32962 fi
32963
32964 if test "$wxUSE_LONGLONG" = "yes"; then
32965 cat >>confdefs.h <<\_ACEOF
32966 #define wxUSE_LONGLONG 1
32967 _ACEOF
32968
32969 fi
32970
32971 if test "$wxUSE_GEOMETRY" = "yes"; then
32972 cat >>confdefs.h <<\_ACEOF
32973 #define wxUSE_GEOMETRY 1
32974 _ACEOF
32975
32976 fi
32977
32978 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
32979 cat >>confdefs.h <<\_ACEOF
32980 #define wxUSE_DIALUP_MANAGER 1
32981 _ACEOF
32982
32983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
32984 fi
32985
32986 if test "$wxUSE_STREAMS" = "yes" ; then
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_STREAMS 1
32989 _ACEOF
32990
32991 fi
32992
32993
32994 if test "$wxUSE_DATETIME" = "yes"; then
32995
32996 for ac_func in strptime
32997 do
32998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32999 echo "$as_me:$LINENO: checking for $ac_func" >&5
33000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33001 if eval "test \"\${$as_ac_var+set}\" = set"; then
33002 echo $ECHO_N "(cached) $ECHO_C" >&6
33003 else
33004 cat >conftest.$ac_ext <<_ACEOF
33005 #line $LINENO "configure"
33006 /* confdefs.h. */
33007 _ACEOF
33008 cat confdefs.h >>conftest.$ac_ext
33009 cat >>conftest.$ac_ext <<_ACEOF
33010 /* end confdefs.h. */
33011 /* System header to define __stub macros and hopefully few prototypes,
33012 which can conflict with char $ac_func (); below.
33013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33014 <limits.h> exists even on freestanding compilers. */
33015 #ifdef __STDC__
33016 # include <limits.h>
33017 #else
33018 # include <assert.h>
33019 #endif
33020 /* Override any gcc2 internal prototype to avoid an error. */
33021 #ifdef __cplusplus
33022 extern "C"
33023 {
33024 #endif
33025 /* We use char because int might match the return type of a gcc2
33026 builtin and then its argument prototype would still apply. */
33027 char $ac_func ();
33028 /* The GNU C library defines this for functions which it implements
33029 to always fail with ENOSYS. Some functions are actually named
33030 something starting with __ and the normal name is an alias. */
33031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33032 choke me
33033 #else
33034 char (*f) () = $ac_func;
33035 #endif
33036 #ifdef __cplusplus
33037 }
33038 #endif
33039
33040 int
33041 main ()
33042 {
33043 return f != $ac_func;
33044 ;
33045 return 0;
33046 }
33047 _ACEOF
33048 rm -f conftest.$ac_objext conftest$ac_exeext
33049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33050 (eval $ac_link) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); } &&
33054 { ac_try='test -s conftest$ac_exeext'
33055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33056 (eval $ac_try) 2>&5
33057 ac_status=$?
33058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33059 (exit $ac_status); }; }; then
33060 eval "$as_ac_var=yes"
33061 else
33062 echo "$as_me: failed program was:" >&5
33063 sed 's/^/| /' conftest.$ac_ext >&5
33064
33065 eval "$as_ac_var=no"
33066 fi
33067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33068 fi
33069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33071 if test `eval echo '${'$as_ac_var'}'` = yes; then
33072 cat >>confdefs.h <<_ACEOF
33073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33074 _ACEOF
33075
33076 fi
33077 done
33078
33079
33080 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
33081 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
33082 if test "${wx_cv_var_timezone+set}" = set; then
33083 echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085
33086 cat >conftest.$ac_ext <<_ACEOF
33087 #line $LINENO "configure"
33088 /* confdefs.h. */
33089 _ACEOF
33090 cat confdefs.h >>conftest.$ac_ext
33091 cat >>conftest.$ac_ext <<_ACEOF
33092 /* end confdefs.h. */
33093
33094 #include <time.h>
33095
33096 int
33097 main ()
33098 {
33099
33100 int tz;
33101 tz = timezone;
33102
33103 ;
33104 return 0;
33105 }
33106 _ACEOF
33107 rm -f conftest.$ac_objext
33108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33109 (eval $ac_compile) 2>&5
33110 ac_status=$?
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } &&
33113 { ac_try='test -s conftest.$ac_objext'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; }; then
33119
33120 wx_cv_var_timezone=timezone
33121
33122 else
33123 echo "$as_me: failed program was:" >&5
33124 sed 's/^/| /' conftest.$ac_ext >&5
33125
33126
33127 cat >conftest.$ac_ext <<_ACEOF
33128 #line $LINENO "configure"
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134
33135 #include <time.h>
33136
33137 int
33138 main ()
33139 {
33140
33141 int tz;
33142 tz = _timezone;
33143
33144 ;
33145 return 0;
33146 }
33147 _ACEOF
33148 rm -f conftest.$ac_objext
33149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33150 (eval $ac_compile) 2>&5
33151 ac_status=$?
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); } &&
33154 { ac_try='test -s conftest.$ac_objext'
33155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33156 (eval $ac_try) 2>&5
33157 ac_status=$?
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); }; }; then
33160
33161 wx_cv_var_timezone=_timezone
33162
33163 else
33164 echo "$as_me: failed program was:" >&5
33165 sed 's/^/| /' conftest.$ac_ext >&5
33166
33167
33168 cat >conftest.$ac_ext <<_ACEOF
33169 #line $LINENO "configure"
33170 /* confdefs.h. */
33171 _ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h. */
33175
33176 #include <time.h>
33177
33178 int
33179 main ()
33180 {
33181
33182 int tz;
33183 tz = __timezone;
33184
33185 ;
33186 return 0;
33187 }
33188 _ACEOF
33189 rm -f conftest.$ac_objext
33190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33191 (eval $ac_compile) 2>&5
33192 ac_status=$?
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); } &&
33195 { ac_try='test -s conftest.$ac_objext'
33196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33197 (eval $ac_try) 2>&5
33198 ac_status=$?
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); }; }; then
33201
33202 wx_cv_var_timezone=__timezone
33203
33204 else
33205 echo "$as_me: failed program was:" >&5
33206 sed 's/^/| /' conftest.$ac_ext >&5
33207
33208
33209 if test "$USE_DOS" = 0 ; then
33210 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
33211 echo "$as_me: WARNING: no timezone variable" >&2;}
33212 fi
33213
33214
33215 fi
33216 rm -f conftest.$ac_objext conftest.$ac_ext
33217
33218
33219 fi
33220 rm -f conftest.$ac_objext conftest.$ac_ext
33221
33222
33223 fi
33224 rm -f conftest.$ac_objext conftest.$ac_ext
33225
33226
33227 fi
33228 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
33229 echo "${ECHO_T}$wx_cv_var_timezone" >&6
33230
33231 if test "x$wx_cv_var_timezone" != x ; then
33232 cat >>confdefs.h <<_ACEOF
33233 #define WX_TIMEZONE $wx_cv_var_timezone
33234 _ACEOF
33235
33236 fi
33237
33238
33239 for ac_func in localtime
33240 do
33241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33242 echo "$as_me:$LINENO: checking for $ac_func" >&5
33243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33244 if eval "test \"\${$as_ac_var+set}\" = set"; then
33245 echo $ECHO_N "(cached) $ECHO_C" >&6
33246 else
33247 cat >conftest.$ac_ext <<_ACEOF
33248 #line $LINENO "configure"
33249 /* confdefs.h. */
33250 _ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 /* System header to define __stub macros and hopefully few prototypes,
33255 which can conflict with char $ac_func (); below.
33256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33257 <limits.h> exists even on freestanding compilers. */
33258 #ifdef __STDC__
33259 # include <limits.h>
33260 #else
33261 # include <assert.h>
33262 #endif
33263 /* Override any gcc2 internal prototype to avoid an error. */
33264 #ifdef __cplusplus
33265 extern "C"
33266 {
33267 #endif
33268 /* We use char because int might match the return type of a gcc2
33269 builtin and then its argument prototype would still apply. */
33270 char $ac_func ();
33271 /* The GNU C library defines this for functions which it implements
33272 to always fail with ENOSYS. Some functions are actually named
33273 something starting with __ and the normal name is an alias. */
33274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33275 choke me
33276 #else
33277 char (*f) () = $ac_func;
33278 #endif
33279 #ifdef __cplusplus
33280 }
33281 #endif
33282
33283 int
33284 main ()
33285 {
33286 return f != $ac_func;
33287 ;
33288 return 0;
33289 }
33290 _ACEOF
33291 rm -f conftest.$ac_objext conftest$ac_exeext
33292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33293 (eval $ac_link) 2>&5
33294 ac_status=$?
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); } &&
33297 { ac_try='test -s conftest$ac_exeext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33300 ac_status=$?
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 eval "$as_ac_var=yes"
33304 else
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33307
33308 eval "$as_ac_var=no"
33309 fi
33310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33311 fi
33312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33314 if test `eval echo '${'$as_ac_var'}'` = yes; then
33315 cat >>confdefs.h <<_ACEOF
33316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33317 _ACEOF
33318
33319 fi
33320 done
33321
33322
33323 if test "$ac_cv_func_localtime" = "yes"; then
33324 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
33325 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
33326 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 else
33329
33330 cat >conftest.$ac_ext <<_ACEOF
33331 #line $LINENO "configure"
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337
33338 #include <time.h>
33339
33340 int
33341 main ()
33342 {
33343
33344 struct tm tm;
33345 tm.tm_gmtoff++;
33346
33347 ;
33348 return 0;
33349 }
33350 _ACEOF
33351 rm -f conftest.$ac_objext
33352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33353 (eval $ac_compile) 2>&5
33354 ac_status=$?
33355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33356 (exit $ac_status); } &&
33357 { ac_try='test -s conftest.$ac_objext'
33358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33359 (eval $ac_try) 2>&5
33360 ac_status=$?
33361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33362 (exit $ac_status); }; }; then
33363
33364 wx_cv_struct_tm_has_gmtoff=yes
33365
33366 else
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 wx_cv_struct_tm_has_gmtoff=no
33371
33372 fi
33373 rm -f conftest.$ac_objext conftest.$ac_ext
33374
33375 fi
33376 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
33377 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
33378 fi
33379
33380 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
33381 cat >>confdefs.h <<\_ACEOF
33382 #define WX_GMTOFF_IN_TM 1
33383 _ACEOF
33384
33385 fi
33386
33387
33388
33389 for ac_func in gettimeofday ftime
33390 do
33391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33392 echo "$as_me:$LINENO: checking for $ac_func" >&5
33393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33394 if eval "test \"\${$as_ac_var+set}\" = set"; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397 cat >conftest.$ac_ext <<_ACEOF
33398 #line $LINENO "configure"
33399 /* confdefs.h. */
33400 _ACEOF
33401 cat confdefs.h >>conftest.$ac_ext
33402 cat >>conftest.$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 /* System header to define __stub macros and hopefully few prototypes,
33405 which can conflict with char $ac_func (); below.
33406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33407 <limits.h> exists even on freestanding compilers. */
33408 #ifdef __STDC__
33409 # include <limits.h>
33410 #else
33411 # include <assert.h>
33412 #endif
33413 /* Override any gcc2 internal prototype to avoid an error. */
33414 #ifdef __cplusplus
33415 extern "C"
33416 {
33417 #endif
33418 /* We use char because int might match the return type of a gcc2
33419 builtin and then its argument prototype would still apply. */
33420 char $ac_func ();
33421 /* The GNU C library defines this for functions which it implements
33422 to always fail with ENOSYS. Some functions are actually named
33423 something starting with __ and the normal name is an alias. */
33424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33425 choke me
33426 #else
33427 char (*f) () = $ac_func;
33428 #endif
33429 #ifdef __cplusplus
33430 }
33431 #endif
33432
33433 int
33434 main ()
33435 {
33436 return f != $ac_func;
33437 ;
33438 return 0;
33439 }
33440 _ACEOF
33441 rm -f conftest.$ac_objext conftest$ac_exeext
33442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33443 (eval $ac_link) 2>&5
33444 ac_status=$?
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } &&
33447 { ac_try='test -s conftest$ac_exeext'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }; then
33453 eval "$as_ac_var=yes"
33454 else
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.$ac_ext >&5
33457
33458 eval "$as_ac_var=no"
33459 fi
33460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33461 fi
33462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33464 if test `eval echo '${'$as_ac_var'}'` = yes; then
33465 cat >>confdefs.h <<_ACEOF
33466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33467 _ACEOF
33468 break
33469 fi
33470 done
33471
33472
33473 if test "$ac_cv_func_gettimeofday" = "yes"; then
33474 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
33475 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
33476 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
33477 echo $ECHO_N "(cached) $ECHO_C" >&6
33478 else
33479
33480
33481
33482 ac_ext=cc
33483 ac_cpp='$CXXCPP $CPPFLAGS'
33484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33487
33488
33489 cat >conftest.$ac_ext <<_ACEOF
33490 #line $LINENO "configure"
33491 /* confdefs.h. */
33492 _ACEOF
33493 cat confdefs.h >>conftest.$ac_ext
33494 cat >>conftest.$ac_ext <<_ACEOF
33495 /* end confdefs.h. */
33496
33497 #include <sys/time.h>
33498 #include <unistd.h>
33499
33500 int
33501 main ()
33502 {
33503
33504 struct timeval tv;
33505 gettimeofday(&tv, NULL);
33506
33507 ;
33508 return 0;
33509 }
33510 _ACEOF
33511 rm -f conftest.$ac_objext
33512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33513 (eval $ac_compile) 2>&5
33514 ac_status=$?
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); } &&
33517 { ac_try='test -s conftest.$ac_objext'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33520 ac_status=$?
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; }; then
33523 wx_cv_func_gettimeofday_has_2_args=yes
33524 else
33525 echo "$as_me: failed program was:" >&5
33526 sed 's/^/| /' conftest.$ac_ext >&5
33527
33528 cat >conftest.$ac_ext <<_ACEOF
33529 #line $LINENO "configure"
33530 /* confdefs.h. */
33531 _ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33535
33536 #include <sys/time.h>
33537 #include <unistd.h>
33538
33539 int
33540 main ()
33541 {
33542
33543 struct timeval tv;
33544 gettimeofday(&tv);
33545
33546 ;
33547 return 0;
33548 }
33549 _ACEOF
33550 rm -f conftest.$ac_objext
33551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33552 (eval $ac_compile) 2>&5
33553 ac_status=$?
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); } &&
33556 { ac_try='test -s conftest.$ac_objext'
33557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33558 (eval $ac_try) 2>&5
33559 ac_status=$?
33560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33561 (exit $ac_status); }; }; then
33562 wx_cv_func_gettimeofday_has_2_args=no
33563 else
33564 echo "$as_me: failed program was:" >&5
33565 sed 's/^/| /' conftest.$ac_ext >&5
33566
33567
33568 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
33569 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
33570 wx_cv_func_gettimeofday_has_2_args=unknown
33571
33572
33573 fi
33574 rm -f conftest.$ac_objext conftest.$ac_ext
33575
33576 fi
33577 rm -f conftest.$ac_objext conftest.$ac_ext
33578 ac_ext=c
33579 ac_cpp='$CPP $CPPFLAGS'
33580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33583
33584
33585 fi
33586 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
33587 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
33588
33589 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
33590 cat >>confdefs.h <<\_ACEOF
33591 #define WX_GETTIMEOFDAY_NO_TZ 1
33592 _ACEOF
33593
33594 fi
33595 fi
33596
33597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
33598 fi
33599
33600
33601 if test "$wxUSE_SOCKETS" = "yes"; then
33602 if test "$wxUSE_MGL" = "1"; then
33603 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
33604 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
33605 wxUSE_SOCKETS="no"
33606 fi
33607 fi
33608
33609 if test "$wxUSE_SOCKETS" = "yes"; then
33610 if test "$TOOLKIT" != "MSW"; then
33611 echo "$as_me:$LINENO: checking for socket" >&5
33612 echo $ECHO_N "checking for socket... $ECHO_C" >&6
33613 if test "${ac_cv_func_socket+set}" = set; then
33614 echo $ECHO_N "(cached) $ECHO_C" >&6
33615 else
33616 cat >conftest.$ac_ext <<_ACEOF
33617 #line $LINENO "configure"
33618 /* confdefs.h. */
33619 _ACEOF
33620 cat confdefs.h >>conftest.$ac_ext
33621 cat >>conftest.$ac_ext <<_ACEOF
33622 /* end confdefs.h. */
33623 /* System header to define __stub macros and hopefully few prototypes,
33624 which can conflict with char socket (); below.
33625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33626 <limits.h> exists even on freestanding compilers. */
33627 #ifdef __STDC__
33628 # include <limits.h>
33629 #else
33630 # include <assert.h>
33631 #endif
33632 /* Override any gcc2 internal prototype to avoid an error. */
33633 #ifdef __cplusplus
33634 extern "C"
33635 {
33636 #endif
33637 /* We use char because int might match the return type of a gcc2
33638 builtin and then its argument prototype would still apply. */
33639 char socket ();
33640 /* The GNU C library defines this for functions which it implements
33641 to always fail with ENOSYS. Some functions are actually named
33642 something starting with __ and the normal name is an alias. */
33643 #if defined (__stub_socket) || defined (__stub___socket)
33644 choke me
33645 #else
33646 char (*f) () = socket;
33647 #endif
33648 #ifdef __cplusplus
33649 }
33650 #endif
33651
33652 int
33653 main ()
33654 {
33655 return f != socket;
33656 ;
33657 return 0;
33658 }
33659 _ACEOF
33660 rm -f conftest.$ac_objext conftest$ac_exeext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33662 (eval $ac_link) 2>&5
33663 ac_status=$?
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); } &&
33666 { ac_try='test -s conftest$ac_exeext'
33667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33668 (eval $ac_try) 2>&5
33669 ac_status=$?
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); }; }; then
33672 ac_cv_func_socket=yes
33673 else
33674 echo "$as_me: failed program was:" >&5
33675 sed 's/^/| /' conftest.$ac_ext >&5
33676
33677 ac_cv_func_socket=no
33678 fi
33679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33680 fi
33681 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
33682 echo "${ECHO_T}$ac_cv_func_socket" >&6
33683 if test $ac_cv_func_socket = yes; then
33684 :
33685 else
33686
33687 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
33688 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
33689 if test "${ac_cv_lib_socket_socket+set}" = set; then
33690 echo $ECHO_N "(cached) $ECHO_C" >&6
33691 else
33692 ac_check_lib_save_LIBS=$LIBS
33693 LIBS="-lsocket $LIBS"
33694 cat >conftest.$ac_ext <<_ACEOF
33695 #line $LINENO "configure"
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701
33702 /* Override any gcc2 internal prototype to avoid an error. */
33703 #ifdef __cplusplus
33704 extern "C"
33705 #endif
33706 /* We use char because int might match the return type of a gcc2
33707 builtin and then its argument prototype would still apply. */
33708 char socket ();
33709 int
33710 main ()
33711 {
33712 socket ();
33713 ;
33714 return 0;
33715 }
33716 _ACEOF
33717 rm -f conftest.$ac_objext conftest$ac_exeext
33718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33719 (eval $ac_link) 2>&5
33720 ac_status=$?
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -s conftest$ac_exeext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 ac_cv_lib_socket_socket=yes
33730 else
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33733
33734 ac_cv_lib_socket_socket=no
33735 fi
33736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33737 LIBS=$ac_check_lib_save_LIBS
33738 fi
33739 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
33740 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
33741 if test $ac_cv_lib_socket_socket = yes; then
33742 if test "$INET_LINK" != " -lsocket"; then
33743 INET_LINK="$INET_LINK -lsocket"
33744 fi
33745 else
33746
33747 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
33748 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
33749 wxUSE_SOCKETS=no
33750
33751
33752 fi
33753
33754
33755
33756 fi
33757
33758 fi
33759 fi
33760
33761 if test "$wxUSE_SOCKETS" = "yes" ; then
33762 if test "$TOOLKIT" != "MSW"; then
33763 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
33764 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
33765 if test "${wx_cv_type_getsockname3+set}" = set; then
33766 echo $ECHO_N "(cached) $ECHO_C" >&6
33767 else
33768
33769 cat >conftest.$ac_ext <<_ACEOF
33770 #line $LINENO "configure"
33771 /* confdefs.h. */
33772 _ACEOF
33773 cat confdefs.h >>conftest.$ac_ext
33774 cat >>conftest.$ac_ext <<_ACEOF
33775 /* end confdefs.h. */
33776
33777 #include <sys/types.h>
33778 #include <sys/socket.h>
33779
33780 int
33781 main ()
33782 {
33783
33784 socklen_t len;
33785 getsockname(0, 0, &len);
33786
33787 ;
33788 return 0;
33789 }
33790 _ACEOF
33791 rm -f conftest.$ac_objext
33792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33793 (eval $ac_compile) 2>&5
33794 ac_status=$?
33795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796 (exit $ac_status); } &&
33797 { ac_try='test -s conftest.$ac_objext'
33798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799 (eval $ac_try) 2>&5
33800 ac_status=$?
33801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802 (exit $ac_status); }; }; then
33803 wx_cv_type_getsockname3=socklen_t
33804 else
33805 echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33807
33808
33809 CFLAGS_OLD="$CFLAGS"
33810 if test "$GCC" = yes ; then
33811 CFLAGS="$CFLAGS -Werror"
33812 fi
33813
33814 cat >conftest.$ac_ext <<_ACEOF
33815 #line $LINENO "configure"
33816 /* confdefs.h. */
33817 _ACEOF
33818 cat confdefs.h >>conftest.$ac_ext
33819 cat >>conftest.$ac_ext <<_ACEOF
33820 /* end confdefs.h. */
33821
33822 #include <sys/types.h>
33823 #include <sys/socket.h>
33824
33825 int
33826 main ()
33827 {
33828
33829 size_t len;
33830 getsockname(0, 0, &len);
33831
33832 ;
33833 return 0;
33834 }
33835 _ACEOF
33836 rm -f conftest.$ac_objext
33837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33838 (eval $ac_compile) 2>&5
33839 ac_status=$?
33840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33841 (exit $ac_status); } &&
33842 { ac_try='test -s conftest.$ac_objext'
33843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33844 (eval $ac_try) 2>&5
33845 ac_status=$?
33846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33847 (exit $ac_status); }; }; then
33848 wx_cv_type_getsockname3=size_t
33849 else
33850 echo "$as_me: failed program was:" >&5
33851 sed 's/^/| /' conftest.$ac_ext >&5
33852
33853 cat >conftest.$ac_ext <<_ACEOF
33854 #line $LINENO "configure"
33855 /* confdefs.h. */
33856 _ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33860
33861 #include <sys/types.h>
33862 #include <sys/socket.h>
33863
33864 int
33865 main ()
33866 {
33867
33868 int len;
33869 getsockname(0, 0, &len);
33870
33871 ;
33872 return 0;
33873 }
33874 _ACEOF
33875 rm -f conftest.$ac_objext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33877 (eval $ac_compile) 2>&5
33878 ac_status=$?
33879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880 (exit $ac_status); } &&
33881 { ac_try='test -s conftest.$ac_objext'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33884 ac_status=$?
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; }; then
33887 wx_cv_type_getsockname3=int
33888 else
33889 echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892 wx_cv_type_getsockname3=unknown
33893
33894 fi
33895 rm -f conftest.$ac_objext conftest.$ac_ext
33896
33897 fi
33898 rm -f conftest.$ac_objext conftest.$ac_ext
33899
33900 CFLAGS="$CFLAGS_OLD"
33901
33902
33903 fi
33904 rm -f conftest.$ac_objext conftest.$ac_ext
33905
33906 fi
33907 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
33908 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
33909
33910 if test "$wx_cv_type_getsockname3" = "unknown"; then
33911 wxUSE_SOCKETS=no
33912 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
33913 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
33914 else
33915 cat >>confdefs.h <<_ACEOF
33916 #define SOCKLEN_T $wx_cv_type_getsockname3
33917 _ACEOF
33918
33919 fi
33920 fi
33921 fi
33922
33923 if test "$wxUSE_SOCKETS" = "yes" ; then
33924 cat >>confdefs.h <<\_ACEOF
33925 #define wxUSE_SOCKETS 1
33926 _ACEOF
33927
33928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
33929 fi
33930
33931 if test "$wxUSE_PROTOCOL" = "yes"; then
33932 if test "$wxUSE_SOCKETS" != "yes"; then
33933 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
33934 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
33935 wxUSE_PROTOCOL=no
33936 fi
33937 fi
33938
33939 if test "$wxUSE_PROTOCOL" = "yes"; then
33940 cat >>confdefs.h <<\_ACEOF
33941 #define wxUSE_PROTOCOL 1
33942 _ACEOF
33943
33944
33945 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
33946 cat >>confdefs.h <<\_ACEOF
33947 #define wxUSE_PROTOCOL_HTTP 1
33948 _ACEOF
33949
33950 fi
33951 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
33952 cat >>confdefs.h <<\_ACEOF
33953 #define wxUSE_PROTOCOL_FTP 1
33954 _ACEOF
33955
33956 fi
33957 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
33958 cat >>confdefs.h <<\_ACEOF
33959 #define wxUSE_PROTOCOL_FILE 1
33960 _ACEOF
33961
33962 fi
33963 else
33964 if test "$wxUSE_FS_INET" = "yes"; then
33965 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
33966 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
33967 wxUSE_FS_INET="no"
33968 fi
33969 fi
33970
33971 if test "$wxUSE_URL" = "yes"; then
33972 if test "$wxUSE_PROTOCOL" != "yes"; then
33973 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
33974 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
33975 wxUSE_URL=no
33976 fi
33977 if test "$wxUSE_URL" = "yes"; then
33978 cat >>confdefs.h <<\_ACEOF
33979 #define wxUSE_URL 1
33980 _ACEOF
33981
33982 fi
33983 fi
33984
33985 if test "$wxUSE_FS_INET" = "yes"; then
33986 cat >>confdefs.h <<\_ACEOF
33987 #define wxUSE_FS_INET 1
33988 _ACEOF
33989
33990 fi
33991
33992
33993 if test "$wxUSE_GUI" = "yes"; then
33994
33995 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
33996 { echo "$as_me:$LINENO: WARNING: Joystick not yet supported under Mac OS X... disabled" >&5
33997 echo "$as_me: WARNING: Joystick not yet supported under Mac OS X... disabled" >&2;}
33998 wxUSE_JOYSTICK=no
33999 fi
34000
34001 if test "$TOOLKIT" != "MSW"; then
34002 if test "$wxUSE_JOYSTICK" = "yes"; then
34003
34004 for ac_header in linux/joystick.h
34005 do
34006 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34008 echo "$as_me:$LINENO: checking for $ac_header" >&5
34009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34012 fi
34013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34015 else
34016 # Is the header compilable?
34017 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34018 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34019 cat >conftest.$ac_ext <<_ACEOF
34020 #line $LINENO "configure"
34021 /* confdefs.h. */
34022 _ACEOF
34023 cat confdefs.h >>conftest.$ac_ext
34024 cat >>conftest.$ac_ext <<_ACEOF
34025 /* end confdefs.h. */
34026 $ac_includes_default
34027 #include <$ac_header>
34028 _ACEOF
34029 rm -f conftest.$ac_objext
34030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34031 (eval $ac_compile) 2>&5
34032 ac_status=$?
34033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34034 (exit $ac_status); } &&
34035 { ac_try='test -s conftest.$ac_objext'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; }; then
34041 ac_header_compiler=yes
34042 else
34043 echo "$as_me: failed program was:" >&5
34044 sed 's/^/| /' conftest.$ac_ext >&5
34045
34046 ac_header_compiler=no
34047 fi
34048 rm -f conftest.$ac_objext conftest.$ac_ext
34049 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34050 echo "${ECHO_T}$ac_header_compiler" >&6
34051
34052 # Is the header present?
34053 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34054 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34055 cat >conftest.$ac_ext <<_ACEOF
34056 #line $LINENO "configure"
34057 /* confdefs.h. */
34058 _ACEOF
34059 cat confdefs.h >>conftest.$ac_ext
34060 cat >>conftest.$ac_ext <<_ACEOF
34061 /* end confdefs.h. */
34062 #include <$ac_header>
34063 _ACEOF
34064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34066 ac_status=$?
34067 grep -v '^ *+' conftest.er1 >conftest.err
34068 rm -f conftest.er1
34069 cat conftest.err >&5
34070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34071 (exit $ac_status); } >/dev/null; then
34072 if test -s conftest.err; then
34073 ac_cpp_err=$ac_c_preproc_warn_flag
34074 else
34075 ac_cpp_err=
34076 fi
34077 else
34078 ac_cpp_err=yes
34079 fi
34080 if test -z "$ac_cpp_err"; then
34081 ac_header_preproc=yes
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 ac_header_preproc=no
34087 fi
34088 rm -f conftest.err conftest.$ac_ext
34089 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34090 echo "${ECHO_T}$ac_header_preproc" >&6
34091
34092 # So? What about this header?
34093 case $ac_header_compiler:$ac_header_preproc in
34094 yes:no )
34095 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34096 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34099 (
34100 cat <<\_ASBOX
34101 ## ------------------------------------ ##
34102 ## Report this to bug-autoconf@gnu.org. ##
34103 ## ------------------------------------ ##
34104 _ASBOX
34105 ) |
34106 sed "s/^/$as_me: WARNING: /" >&2
34107 ;;
34108 no:yes )
34109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34115 (
34116 cat <<\_ASBOX
34117 ## ------------------------------------ ##
34118 ## Report this to bug-autoconf@gnu.org. ##
34119 ## ------------------------------------ ##
34120 _ASBOX
34121 ) |
34122 sed "s/^/$as_me: WARNING: /" >&2
34123 ;;
34124 esac
34125 echo "$as_me:$LINENO: checking for $ac_header" >&5
34126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34127 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130 eval "$as_ac_Header=$ac_header_preproc"
34131 fi
34132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34134
34135 fi
34136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34137 cat >>confdefs.h <<_ACEOF
34138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34139 _ACEOF
34140
34141 fi
34142
34143 done
34144
34145 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
34146 wxUSE_JOYSTICK=no
34147 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
34148 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
34149 fi
34150 fi
34151 fi
34152
34153 if test "$wxUSE_JOYSTICK" = "yes"; then
34154 cat >>confdefs.h <<\_ACEOF
34155 #define wxUSE_JOYSTICK 1
34156 _ACEOF
34157
34158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
34159 fi
34160 fi
34161
34162
34163
34164 if test "$wxUSE_FONTMAP" = "yes" ; then
34165 cat >>confdefs.h <<\_ACEOF
34166 #define wxUSE_FONTMAP 1
34167 _ACEOF
34168
34169 fi
34170
34171 if test "$wxUSE_UNICODE" = "yes" ; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define wxUSE_UNICODE 1
34174 _ACEOF
34175
34176
34177 if test "$USE_WIN32" != 1; then
34178 wxUSE_UNICODE_MSLU=no
34179 fi
34180
34181 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
34182 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
34183 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
34184 if test "${ac_cv_lib_unicows_main+set}" = set; then
34185 echo $ECHO_N "(cached) $ECHO_C" >&6
34186 else
34187 ac_check_lib_save_LIBS=$LIBS
34188 LIBS="-lunicows $LIBS"
34189 cat >conftest.$ac_ext <<_ACEOF
34190 #line $LINENO "configure"
34191 /* confdefs.h. */
34192 _ACEOF
34193 cat confdefs.h >>conftest.$ac_ext
34194 cat >>conftest.$ac_ext <<_ACEOF
34195 /* end confdefs.h. */
34196
34197
34198 int
34199 main ()
34200 {
34201 main ();
34202 ;
34203 return 0;
34204 }
34205 _ACEOF
34206 rm -f conftest.$ac_objext conftest$ac_exeext
34207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34208 (eval $ac_link) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); } &&
34212 { ac_try='test -s conftest$ac_exeext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 ac_cv_lib_unicows_main=yes
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 ac_cv_lib_unicows_main=no
34224 fi
34225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34226 LIBS=$ac_check_lib_save_LIBS
34227 fi
34228 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
34229 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
34230 if test $ac_cv_lib_unicows_main = yes; then
34231
34232 cat >>confdefs.h <<\_ACEOF
34233 #define wxUSE_UNICODE_MSLU 1
34234 _ACEOF
34235
34236
34237 else
34238
34239 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34240 Applications will only run on Windows NT/2000/XP!" >&5
34241 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
34242 Applications will only run on Windows NT/2000/XP!" >&2;}
34243 wxUSE_UNICODE_MSLU=no
34244
34245 fi
34246
34247 fi
34248 fi
34249
34250 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
34251 cat >>confdefs.h <<\_ACEOF
34252 #define wxUSE_EXPERIMENTAL_PRINTF 1
34253 _ACEOF
34254
34255 fi
34256
34257
34258 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
34259 cat >>confdefs.h <<\_ACEOF
34260 #define wxUSE_POSTSCRIPT 1
34261 _ACEOF
34262
34263 fi
34264
34265 cat >>confdefs.h <<\_ACEOF
34266 #define wxUSE_AFM_FOR_POSTSCRIPT 1
34267 _ACEOF
34268
34269
34270 cat >>confdefs.h <<\_ACEOF
34271 #define wxUSE_NORMALIZED_PS_FONTS 1
34272 _ACEOF
34273
34274
34275
34276 if test "$wxUSE_CONSTRAINTS" = "yes"; then
34277 cat >>confdefs.h <<\_ACEOF
34278 #define wxUSE_CONSTRAINTS 1
34279 _ACEOF
34280
34281 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
34282 fi
34283
34284 if test "$wxUSE_MDI" = "yes"; then
34285 cat >>confdefs.h <<\_ACEOF
34286 #define wxUSE_MDI 1
34287 _ACEOF
34288
34289
34290 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define wxUSE_MDI_ARCHITECTURE 1
34293 _ACEOF
34294
34295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
34296 fi
34297 fi
34298
34299 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
34300 cat >>confdefs.h <<\_ACEOF
34301 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
34302 _ACEOF
34303
34304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
34305 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
34306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
34307 fi
34308 fi
34309
34310 if test "$wxUSE_HELP" = "yes"; then
34311 cat >>confdefs.h <<\_ACEOF
34312 #define wxUSE_HELP 1
34313 _ACEOF
34314
34315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
34316
34317 if test "$wxUSE_MSW" = 1; then
34318 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
34319 cat >>confdefs.h <<\_ACEOF
34320 #define wxUSE_MS_HTML_HELP 1
34321 _ACEOF
34322
34323 fi
34324 fi
34325
34326 if test "$wxUSE_WXHTML_HELP" = "yes"; then
34327 if test "$wxUSE_HTML" = "yes"; then
34328 cat >>confdefs.h <<\_ACEOF
34329 #define wxUSE_WXHTML_HELP 1
34330 _ACEOF
34331
34332 else
34333 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
34334 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
34335 wxUSE_WXHTML_HELP=no
34336 fi
34337 fi
34338 fi
34339
34340 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
34341 if test "$wxUSE_CONSTRAINTS" != "yes"; then
34342 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
34343 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
34344 else
34345 cat >>confdefs.h <<\_ACEOF
34346 #define wxUSE_PRINTING_ARCHITECTURE 1
34347 _ACEOF
34348
34349 fi
34350 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
34351 fi
34352
34353 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
34354 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
34355 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
34356 { (exit 1); exit 1; }; }
34357 fi
34358
34359
34360 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
34361 -o "$wxUSE_CLIPBOARD" = "yes" \
34362 -o "$wxUSE_OLE" = "yes" \
34363 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
34364
34365 for ac_header in ole2.h
34366 do
34367 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34369 echo "$as_me:$LINENO: checking for $ac_header" >&5
34370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34372 echo $ECHO_N "(cached) $ECHO_C" >&6
34373 fi
34374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34376 else
34377 # Is the header compilable?
34378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
34379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
34380 cat >conftest.$ac_ext <<_ACEOF
34381 #line $LINENO "configure"
34382 /* confdefs.h. */
34383 _ACEOF
34384 cat confdefs.h >>conftest.$ac_ext
34385 cat >>conftest.$ac_ext <<_ACEOF
34386 /* end confdefs.h. */
34387 $ac_includes_default
34388 #include <$ac_header>
34389 _ACEOF
34390 rm -f conftest.$ac_objext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34392 (eval $ac_compile) 2>&5
34393 ac_status=$?
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } &&
34396 { ac_try='test -s conftest.$ac_objext'
34397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34398 (eval $ac_try) 2>&5
34399 ac_status=$?
34400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34401 (exit $ac_status); }; }; then
34402 ac_header_compiler=yes
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 ac_header_compiler=no
34408 fi
34409 rm -f conftest.$ac_objext conftest.$ac_ext
34410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34411 echo "${ECHO_T}$ac_header_compiler" >&6
34412
34413 # Is the header present?
34414 echo "$as_me:$LINENO: checking $ac_header presence" >&5
34415 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
34416 cat >conftest.$ac_ext <<_ACEOF
34417 #line $LINENO "configure"
34418 /* confdefs.h. */
34419 _ACEOF
34420 cat confdefs.h >>conftest.$ac_ext
34421 cat >>conftest.$ac_ext <<_ACEOF
34422 /* end confdefs.h. */
34423 #include <$ac_header>
34424 _ACEOF
34425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34427 ac_status=$?
34428 grep -v '^ *+' conftest.er1 >conftest.err
34429 rm -f conftest.er1
34430 cat conftest.err >&5
34431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432 (exit $ac_status); } >/dev/null; then
34433 if test -s conftest.err; then
34434 ac_cpp_err=$ac_c_preproc_warn_flag
34435 else
34436 ac_cpp_err=
34437 fi
34438 else
34439 ac_cpp_err=yes
34440 fi
34441 if test -z "$ac_cpp_err"; then
34442 ac_header_preproc=yes
34443 else
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34446
34447 ac_header_preproc=no
34448 fi
34449 rm -f conftest.err conftest.$ac_ext
34450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34451 echo "${ECHO_T}$ac_header_preproc" >&6
34452
34453 # So? What about this header?
34454 case $ac_header_compiler:$ac_header_preproc in
34455 yes:no )
34456 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
34457 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
34458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34460 (
34461 cat <<\_ASBOX
34462 ## ------------------------------------ ##
34463 ## Report this to bug-autoconf@gnu.org. ##
34464 ## ------------------------------------ ##
34465 _ASBOX
34466 ) |
34467 sed "s/^/$as_me: WARNING: /" >&2
34468 ;;
34469 no:yes )
34470 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
34471 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
34472 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
34473 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
34474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
34475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
34476 (
34477 cat <<\_ASBOX
34478 ## ------------------------------------ ##
34479 ## Report this to bug-autoconf@gnu.org. ##
34480 ## ------------------------------------ ##
34481 _ASBOX
34482 ) |
34483 sed "s/^/$as_me: WARNING: /" >&2
34484 ;;
34485 esac
34486 echo "$as_me:$LINENO: checking for $ac_header" >&5
34487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 else
34491 eval "$as_ac_Header=$ac_header_preproc"
34492 fi
34493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34495
34496 fi
34497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34498 cat >>confdefs.h <<_ACEOF
34499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34500 _ACEOF
34501
34502 fi
34503
34504 done
34505
34506
34507 if test "$ac_cv_header_ole2_h" = "yes" ; then
34508 if test "$GCC" = yes ; then
34509
34510
34511 ac_ext=cc
34512 ac_cpp='$CXXCPP $CPPFLAGS'
34513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34516
34517
34518 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
34519 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
34520 cat >conftest.$ac_ext <<_ACEOF
34521 #line $LINENO "configure"
34522 /* confdefs.h. */
34523 _ACEOF
34524 cat confdefs.h >>conftest.$ac_ext
34525 cat >>conftest.$ac_ext <<_ACEOF
34526 /* end confdefs.h. */
34527 #include <windows.h>
34528 #include <ole2.h>
34529 int
34530 main ()
34531 {
34532
34533 ;
34534 return 0;
34535 }
34536 _ACEOF
34537 rm -f conftest.$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>&5
34540 ac_status=$?
34541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34542 (exit $ac_status); } &&
34543 { ac_try='test -s conftest.$ac_objext'
34544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34545 (eval $ac_try) 2>&5
34546 ac_status=$?
34547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548 (exit $ac_status); }; }; then
34549 echo "$as_me:$LINENO: result: no" >&5
34550 echo "${ECHO_T}no" >&6
34551 else
34552 echo "$as_me: failed program was:" >&5
34553 sed 's/^/| /' conftest.$ac_ext >&5
34554
34555 echo "$as_me:$LINENO: result: yes" >&5
34556 echo "${ECHO_T}yes" >&6
34557 CODE_GEN_FLAGS_CXX="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
34558 fi
34559 rm -f conftest.$ac_objext conftest.$ac_ext
34560 ac_ext=c
34561 ac_cpp='$CPP $CPPFLAGS'
34562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34565
34566 ALL_OBJECTS="$ALL_OBJECTS \$(OLEOBJS)"
34567 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
34568 if test "$wxUSE_OLE" = "yes" ; then
34569 cat >>confdefs.h <<\_ACEOF
34570 #define wxUSE_OLE 1
34571 _ACEOF
34572
34573 fi
34574 fi
34575
34576 if test "$wxUSE_DATAOBJ" = "yes" ; then
34577 cat >>confdefs.h <<\_ACEOF
34578 #define wxUSE_DATAOBJ 1
34579 _ACEOF
34580
34581 fi
34582 else
34583 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
34584 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
34585
34586 wxUSE_CLIPBOARD=no
34587 wxUSE_DRAG_AND_DROP=no
34588 wxUSE_DATAOBJ=no
34589 wxUSE_OLE=no
34590 fi
34591
34592 if test "$wxUSE_METAFILE" = "yes"; then
34593 cat >>confdefs.h <<\_ACEOF
34594 #define wxUSE_METAFILE 1
34595 _ACEOF
34596
34597
34598 cat >>confdefs.h <<\_ACEOF
34599 #define wxUSE_ENH_METAFILE 1
34600 _ACEOF
34601
34602 fi
34603 fi
34604
34605 if test "$wxUSE_IPC" = "yes"; then
34606 if test "$wxUSE_SOCKETS" != "yes"; then
34607 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
34608 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
34609 fi
34610
34611 cat >>confdefs.h <<\_ACEOF
34612 #define wxUSE_IPC 1
34613 _ACEOF
34614
34615 fi
34616
34617 if test "$wxUSE_CLIPBOARD" = "yes"; then
34618 if test "$wxUSE_MGL" = 1; then
34619 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
34620 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
34621 wxUSE_CLIPBOARD=no
34622 fi
34623
34624 if test "$wxUSE_CLIPBOARD" = "yes"; then
34625 cat >>confdefs.h <<\_ACEOF
34626 #define wxUSE_CLIPBOARD 1
34627 _ACEOF
34628
34629
34630 cat >>confdefs.h <<\_ACEOF
34631 #define wxUSE_DATAOBJ 1
34632 _ACEOF
34633
34634 fi
34635 fi
34636
34637 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
34638 if test "$wxUSE_GTK" = 1; then
34639 if test "$WXGTK12" != 1; then
34640 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
34641 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
34642 wxUSE_DRAG_AND_DROP=no
34643 fi
34644 fi
34645
34646 if test "$wxUSE_MOTIF" = 1; then
34647 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
34648 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
34649 wxUSE_DRAG_AND_DROP=no
34650 fi
34651
34652 if test "$wxUSE_X11" = 1; then
34653 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
34654 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
34655 wxUSE_DRAG_AND_DROP=no
34656 fi
34657
34658 if test "$wxUSE_MGL" = 1; then
34659 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
34660 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
34661 wxUSE_DRAG_AND_DROP=no
34662 fi
34663
34664 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
34665 cat >>confdefs.h <<\_ACEOF
34666 #define wxUSE_DRAG_AND_DROP 1
34667 _ACEOF
34668
34669 fi
34670
34671 fi
34672
34673 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
34674 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
34675 fi
34676
34677 if test "$wxUSE_SPLINES" = "yes" ; then
34678 cat >>confdefs.h <<\_ACEOF
34679 #define wxUSE_SPLINES 1
34680 _ACEOF
34681
34682 fi
34683
34684
34685 USES_CONTROLS=0
34686 if test "$wxUSE_CONTROLS" = "yes"; then
34687 USES_CONTROLS=1
34688 fi
34689
34690 if test "$wxUSE_ACCEL" = "yes"; then
34691 cat >>confdefs.h <<\_ACEOF
34692 #define wxUSE_ACCEL 1
34693 _ACEOF
34694
34695 USES_CONTROLS=1
34696 fi
34697
34698 if test "$wxUSE_BUTTON" = "yes"; then
34699 cat >>confdefs.h <<\_ACEOF
34700 #define wxUSE_BUTTON 1
34701 _ACEOF
34702
34703 USES_CONTROLS=1
34704 fi
34705
34706 if test "$wxUSE_BMPBUTTON" = "yes"; then
34707 cat >>confdefs.h <<\_ACEOF
34708 #define wxUSE_BMPBUTTON 1
34709 _ACEOF
34710
34711 USES_CONTROLS=1
34712 fi
34713
34714 if test "$wxUSE_CALCTRL" = "yes"; then
34715 cat >>confdefs.h <<\_ACEOF
34716 #define wxUSE_CALENDARCTRL 1
34717 _ACEOF
34718
34719 USES_CONTROLS=1
34720 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
34721 fi
34722
34723 if test "$wxUSE_CARET" = "yes"; then
34724 cat >>confdefs.h <<\_ACEOF
34725 #define wxUSE_CARET 1
34726 _ACEOF
34727
34728 USES_CONTROLS=1
34729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
34730 fi
34731
34732 if test "$wxUSE_COMBOBOX" = "yes"; then
34733 cat >>confdefs.h <<\_ACEOF
34734 #define wxUSE_COMBOBOX 1
34735 _ACEOF
34736
34737 USES_CONTROLS=1
34738 fi
34739
34740 if test "$wxUSE_CHOICE" = "yes"; then
34741 cat >>confdefs.h <<\_ACEOF
34742 #define wxUSE_CHOICE 1
34743 _ACEOF
34744
34745 USES_CONTROLS=1
34746 fi
34747
34748 if test "$wxUSE_CHECKBOX" = "yes"; then
34749 cat >>confdefs.h <<\_ACEOF
34750 #define wxUSE_CHECKBOX 1
34751 _ACEOF
34752
34753 USES_CONTROLS=1
34754 fi
34755
34756 if test "$wxUSE_CHECKLST" = "yes"; then
34757 cat >>confdefs.h <<\_ACEOF
34758 #define wxUSE_CHECKLISTBOX 1
34759 _ACEOF
34760
34761 USES_CONTROLS=1
34762 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
34763 fi
34764
34765 if test "$wxUSE_DISPLAY" = "yes"; then
34766 cat >>confdefs.h <<\_ACEOF
34767 #define wxUSE_DISPLAY 1
34768 _ACEOF
34769
34770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
34771 fi
34772
34773 if test "$wxUSE_GAUGE" = "yes"; then
34774 cat >>confdefs.h <<\_ACEOF
34775 #define wxUSE_GAUGE 1
34776 _ACEOF
34777
34778 USES_CONTROLS=1
34779 fi
34780
34781 if test "$wxUSE_GRID" = "yes"; then
34782 cat >>confdefs.h <<\_ACEOF
34783 #define wxUSE_GRID 1
34784 _ACEOF
34785
34786 USES_CONTROLS=1
34787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
34788 fi
34789
34790 if test "$wxUSE_IMAGLIST" = "yes"; then
34791 cat >>confdefs.h <<\_ACEOF
34792 #define wxUSE_IMAGLIST 1
34793 _ACEOF
34794
34795 fi
34796
34797 if test "$wxUSE_LISTBOOK" = "yes"; then
34798 cat >>confdefs.h <<\_ACEOF
34799 #define wxUSE_LISTBOOK 1
34800 _ACEOF
34801
34802 USES_CONTROLS=1
34803 fi
34804
34805 if test "$wxUSE_LISTBOX" = "yes"; then
34806 cat >>confdefs.h <<\_ACEOF
34807 #define wxUSE_LISTBOX 1
34808 _ACEOF
34809
34810 USES_CONTROLS=1
34811 fi
34812
34813 if test "$wxUSE_LISTCTRL" = "yes"; then
34814 if test "$wxUSE_IMAGLIST" = "yes"; then
34815 cat >>confdefs.h <<\_ACEOF
34816 #define wxUSE_LISTCTRL 1
34817 _ACEOF
34818
34819 USES_CONTROLS=1
34820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
34821 else
34822 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
34823 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
34824 fi
34825 fi
34826
34827 if test "$wxUSE_NOTEBOOK" = "yes"; then
34828 cat >>confdefs.h <<\_ACEOF
34829 #define wxUSE_NOTEBOOK 1
34830 _ACEOF
34831
34832 USES_CONTROLS=1
34833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
34834 fi
34835
34836
34837 if test "$wxUSE_RADIOBOX" = "yes"; then
34838 cat >>confdefs.h <<\_ACEOF
34839 #define wxUSE_RADIOBOX 1
34840 _ACEOF
34841
34842 USES_CONTROLS=1
34843 fi
34844
34845 if test "$wxUSE_RADIOBTN" = "yes"; then
34846 cat >>confdefs.h <<\_ACEOF
34847 #define wxUSE_RADIOBTN 1
34848 _ACEOF
34849
34850 USES_CONTROLS=1
34851 fi
34852
34853 if test "$wxUSE_SASH" = "yes"; then
34854 cat >>confdefs.h <<\_ACEOF
34855 #define wxUSE_SASH 1
34856 _ACEOF
34857
34858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
34859 fi
34860
34861 if test "$wxUSE_SCROLLBAR" = "yes"; then
34862 cat >>confdefs.h <<\_ACEOF
34863 #define wxUSE_SCROLLBAR 1
34864 _ACEOF
34865
34866 USES_CONTROLS=1
34867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
34868 fi
34869
34870 if test "$wxUSE_SLIDER" = "yes"; then
34871 cat >>confdefs.h <<\_ACEOF
34872 #define wxUSE_SLIDER 1
34873 _ACEOF
34874
34875 USES_CONTROLS=1
34876 fi
34877
34878 if test "$wxUSE_SPINBTN" = "yes"; then
34879 cat >>confdefs.h <<\_ACEOF
34880 #define wxUSE_SPINBTN 1
34881 _ACEOF
34882
34883 USES_CONTROLS=1
34884 fi
34885
34886 if test "$wxUSE_SPINCTRL" = "yes"; then
34887 cat >>confdefs.h <<\_ACEOF
34888 #define wxUSE_SPINCTRL 1
34889 _ACEOF
34890
34891 USES_CONTROLS=1
34892 fi
34893
34894 if test "$wxUSE_SPLITTER" = "yes"; then
34895 cat >>confdefs.h <<\_ACEOF
34896 #define wxUSE_SPLITTER 1
34897 _ACEOF
34898
34899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
34900 fi
34901
34902 if test "$wxUSE_STATBMP" = "yes"; then
34903 cat >>confdefs.h <<\_ACEOF
34904 #define wxUSE_STATBMP 1
34905 _ACEOF
34906
34907 USES_CONTROLS=1
34908 fi
34909
34910 if test "$wxUSE_STATBOX" = "yes"; then
34911 cat >>confdefs.h <<\_ACEOF
34912 #define wxUSE_STATBOX 1
34913 _ACEOF
34914
34915 USES_CONTROLS=1
34916 fi
34917
34918 if test "$wxUSE_STATTEXT" = "yes"; then
34919 cat >>confdefs.h <<\_ACEOF
34920 #define wxUSE_STATTEXT 1
34921 _ACEOF
34922
34923 USES_CONTROLS=1
34924 fi
34925
34926 if test "$wxUSE_STATLINE" = "yes"; then
34927 cat >>confdefs.h <<\_ACEOF
34928 #define wxUSE_STATLINE 1
34929 _ACEOF
34930
34931 USES_CONTROLS=1
34932 fi
34933
34934 if test "$wxUSE_STATUSBAR" = "yes"; then
34935 cat >>confdefs.h <<\_ACEOF
34936 #define wxUSE_STATUSBAR 1
34937 _ACEOF
34938
34939 USES_CONTROLS=1
34940
34941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
34942 fi
34943
34944 if test "$wxUSE_TABDIALOG" = "yes"; then
34945 cat >>confdefs.h <<\_ACEOF
34946 #define wxUSE_TAB_DIALOG 1
34947 _ACEOF
34948
34949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS tab"
34950 fi
34951
34952 if test "$wxUSE_TEXTCTRL" = "yes"; then
34953 cat >>confdefs.h <<\_ACEOF
34954 #define wxUSE_TEXTCTRL 1
34955 _ACEOF
34956
34957 USES_CONTROLS=1
34958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
34959 fi
34960
34961 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34962 if test "$wxUSE_COCOA" = 1 ; then
34963 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
34964 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
34965 wxUSE_TOGGLEBTN=no
34966 else
34967 if test "$wxUSE_PM" = 1; then
34968 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under PM... disabled" >&5
34969 echo "$as_me: WARNING: Toggle button not yet supported under PM... disabled" >&2;}
34970 wxUSE_TOGGLEBTN=no
34971 fi
34972 fi
34973 if test "$wxUSE_UNIVERSAL" = "yes"; then
34974 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
34975 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
34976 wxUSE_TOGGLEBTN=no
34977 fi
34978
34979 if test "$wxUSE_TOGGLEBTN" = "yes"; then
34980 cat >>confdefs.h <<\_ACEOF
34981 #define wxUSE_TOGGLEBTN 1
34982 _ACEOF
34983
34984 USES_CONTROLS=1
34985 fi
34986 fi
34987
34988 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
34989 cat >>confdefs.h <<\_ACEOF
34990 #define wxUSE_TOOLBAR_SIMPLE 1
34991 _ACEOF
34992
34993 wxUSE_TOOLBAR="yes"
34994 USES_CONTROLS=1
34995 fi
34996
34997 if test "$wxUSE_TOOLBAR" = "yes"; then
34998 cat >>confdefs.h <<\_ACEOF
34999 #define wxUSE_TOOLBAR 1
35000 _ACEOF
35001
35002 USES_CONTROLS=1
35003
35004 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
35005 wxUSE_TOOLBAR_NATIVE="yes"
35006 fi
35007
35008 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
35009 cat >>confdefs.h <<\_ACEOF
35010 #define wxUSE_TOOLBAR_NATIVE 1
35011 _ACEOF
35012
35013 USES_CONTROLS=1
35014 fi
35015
35016 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
35017 fi
35018
35019 if test "$wxUSE_TOOLTIPS" = "yes"; then
35020 if test "$wxUSE_MOTIF" = 1; then
35021 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
35022 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
35023 else
35024 if test "$wxUSE_UNIVERSAL" = "yes"; then
35025 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
35026 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
35027 else
35028 cat >>confdefs.h <<\_ACEOF
35029 #define wxUSE_TOOLTIPS 1
35030 _ACEOF
35031
35032 fi
35033 fi
35034 fi
35035
35036 if test "$wxUSE_TREECTRL" = "yes"; then
35037 if test "$wxUSE_IMAGLIST" = "yes"; then
35038 cat >>confdefs.h <<\_ACEOF
35039 #define wxUSE_TREECTRL 1
35040 _ACEOF
35041
35042 USES_CONTROLS=1
35043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
35044 else
35045 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
35046 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
35047 fi
35048 fi
35049
35050 if test "$wxUSE_POPUPWIN" = "yes"; then
35051 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
35052 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
35053 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
35054 else
35055 if test "$wxUSE_PM" = 1; then
35056 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
35057 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
35058 else
35059 cat >>confdefs.h <<\_ACEOF
35060 #define wxUSE_POPUPWIN 1
35061 _ACEOF
35062
35063
35064 USES_CONTROLS=1
35065 fi
35066 fi
35067 fi
35068
35069 if test "$wxUSE_TIPWINDOW" = "yes"; then
35070 if test "$wxUSE_PM" = 1; then
35071 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
35072 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
35073 else
35074 cat >>confdefs.h <<\_ACEOF
35075 #define wxUSE_TIPWINDOW 1
35076 _ACEOF
35077
35078 fi
35079 fi
35080
35081 if test "$USES_CONTROLS" = 1; then
35082 cat >>confdefs.h <<\_ACEOF
35083 #define wxUSE_CONTROLS 1
35084 _ACEOF
35085
35086 fi
35087
35088
35089 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
35090 cat >>confdefs.h <<\_ACEOF
35091 #define wxUSE_ACCESSIBILITY 1
35092 _ACEOF
35093
35094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
35095 fi
35096
35097 if test "$wxUSE_DRAGIMAGE" = "yes"; then
35098 cat >>confdefs.h <<\_ACEOF
35099 #define wxUSE_DRAGIMAGE 1
35100 _ACEOF
35101
35102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
35103 fi
35104
35105 if test "$wxUSE_EXCEPTIONS" = "yes"; then
35106 cat >>confdefs.h <<\_ACEOF
35107 #define wxUSE_EXCEPTIONS 1
35108 _ACEOF
35109
35110 fi
35111
35112 USE_HTML=0
35113 if test "$wxUSE_HTML" = "yes"; then
35114 cat >>confdefs.h <<\_ACEOF
35115 #define wxUSE_HTML 1
35116 _ACEOF
35117
35118 USE_HTML=1
35119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
35120 if test "$wxUSE_MAC" = 1; then
35121 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
35122 fi
35123 fi
35124
35125 if test "$wxUSE_MENUS" = "yes"; then
35126 cat >>confdefs.h <<\_ACEOF
35127 #define wxUSE_MENUS 1
35128 _ACEOF
35129
35130 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
35131 fi
35132
35133 if test "$wxUSE_METAFILE" = "yes"; then
35134 cat >>confdefs.h <<\_ACEOF
35135 #define wxUSE_METAFILE 1
35136 _ACEOF
35137
35138 fi
35139
35140 if test "$wxUSE_MIMETYPE" = "yes"; then
35141 cat >>confdefs.h <<\_ACEOF
35142 #define wxUSE_MIMETYPE 1
35143 _ACEOF
35144
35145 fi
35146
35147 if test "$wxUSE_MINIFRAME" = "yes"; then
35148 cat >>confdefs.h <<\_ACEOF
35149 #define wxUSE_MINIFRAME 1
35150 _ACEOF
35151
35152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
35153 fi
35154
35155 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
35156 cat >>confdefs.h <<\_ACEOF
35157 #define wxUSE_SYSTEM_OPTIONS 1
35158 _ACEOF
35159
35160 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
35161 "$TOOLKIT" = "MOTIF"; then
35162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
35163 fi
35164 fi
35165
35166
35167 if test "$wxUSE_VALIDATORS" = "yes"; then
35168 cat >>confdefs.h <<\_ACEOF
35169 #define wxUSE_VALIDATORS 1
35170 _ACEOF
35171
35172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
35173 fi
35174
35175 if test "$wxUSE_PALETTE" = "yes" ; then
35176 cat >>confdefs.h <<\_ACEOF
35177 #define wxUSE_PALETTE 1
35178 _ACEOF
35179
35180 fi
35181
35182 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
35183 LIBS=" -lunicows $LIBS"
35184 fi
35185
35186
35187 if test "$wxUSE_IMAGE" = "yes" ; then
35188 cat >>confdefs.h <<\_ACEOF
35189 #define wxUSE_IMAGE 1
35190 _ACEOF
35191
35192
35193 if test "$wxUSE_GIF" = "yes" ; then
35194 cat >>confdefs.h <<\_ACEOF
35195 #define wxUSE_GIF 1
35196 _ACEOF
35197
35198 fi
35199
35200 if test "$wxUSE_PCX" = "yes" ; then
35201 cat >>confdefs.h <<\_ACEOF
35202 #define wxUSE_PCX 1
35203 _ACEOF
35204
35205 fi
35206
35207 if test "$wxUSE_IFF" = "yes" ; then
35208 cat >>confdefs.h <<\_ACEOF
35209 #define wxUSE_IFF 1
35210 _ACEOF
35211
35212 fi
35213
35214 if test "$wxUSE_PNM" = "yes" ; then
35215 cat >>confdefs.h <<\_ACEOF
35216 #define wxUSE_PNM 1
35217 _ACEOF
35218
35219 fi
35220
35221 if test "$wxUSE_XPM" = "yes" ; then
35222 cat >>confdefs.h <<\_ACEOF
35223 #define wxUSE_XPM 1
35224 _ACEOF
35225
35226 fi
35227
35228 if test "$wxUSE_ICO_CUR" = "yes" ; then
35229 cat >>confdefs.h <<\_ACEOF
35230 #define wxUSE_ICO_CUR 1
35231 _ACEOF
35232
35233 fi
35234 fi
35235
35236
35237 if test "$wxUSE_CHOICEDLG" = "yes"; then
35238 cat >>confdefs.h <<\_ACEOF
35239 #define wxUSE_CHOICEDLG 1
35240 _ACEOF
35241
35242 fi
35243
35244 if test "$wxUSE_COLOURDLG" = "yes"; then
35245 cat >>confdefs.h <<\_ACEOF
35246 #define wxUSE_COLOURDLG 1
35247 _ACEOF
35248
35249 fi
35250
35251 if test "$wxUSE_FILEDLG" = "yes"; then
35252 cat >>confdefs.h <<\_ACEOF
35253 #define wxUSE_FILEDLG 1
35254 _ACEOF
35255
35256 fi
35257
35258 if test "$wxUSE_FINDREPLDLG" = "yes"; then
35259 cat >>confdefs.h <<\_ACEOF
35260 #define wxUSE_FINDREPLDLG 1
35261 _ACEOF
35262
35263 fi
35264
35265 if test "$wxUSE_FONTDLG" = "yes"; then
35266 cat >>confdefs.h <<\_ACEOF
35267 #define wxUSE_FONTDLG 1
35268 _ACEOF
35269
35270 fi
35271
35272 if test "$wxUSE_DIRDLG" = "yes"; then
35273 if test "$wxUSE_TREECTRL" != "yes"; then
35274 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
35275 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
35276 else
35277 cat >>confdefs.h <<\_ACEOF
35278 #define wxUSE_DIRDLG 1
35279 _ACEOF
35280
35281 fi
35282 fi
35283
35284 if test "$wxUSE_MSGDLG" = "yes"; then
35285 cat >>confdefs.h <<\_ACEOF
35286 #define wxUSE_MSGDLG 1
35287 _ACEOF
35288
35289 fi
35290
35291 if test "$wxUSE_NUMBERDLG" = "yes"; then
35292 cat >>confdefs.h <<\_ACEOF
35293 #define wxUSE_NUMBERDLG 1
35294 _ACEOF
35295
35296 fi
35297
35298 if test "$wxUSE_PROGRESSDLG" = "yes"; then
35299 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35300 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
35301 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
35302 else
35303 cat >>confdefs.h <<\_ACEOF
35304 #define wxUSE_PROGRESSDLG 1
35305 _ACEOF
35306
35307 fi
35308 fi
35309
35310 if test "$wxUSE_SPLASH" = "yes"; then
35311 cat >>confdefs.h <<\_ACEOF
35312 #define wxUSE_SPLASH 1
35313 _ACEOF
35314
35315 fi
35316
35317 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
35318 if test "$wxUSE_CONSTRAINTS" != "yes"; then
35319 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
35320 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
35321 else
35322 cat >>confdefs.h <<\_ACEOF
35323 #define wxUSE_STARTUP_TIPS 1
35324 _ACEOF
35325
35326 fi
35327 fi
35328
35329 if test "$wxUSE_TEXTDLG" = "yes"; then
35330 cat >>confdefs.h <<\_ACEOF
35331 #define wxUSE_TEXTDLG 1
35332 _ACEOF
35333
35334 fi
35335
35336 if test "$wxUSE_WIZARDDLG" = "yes"; then
35337 cat >>confdefs.h <<\_ACEOF
35338 #define wxUSE_WIZARDDLG 1
35339 _ACEOF
35340
35341 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
35342 fi
35343
35344
35345 if test "$cross_compiling" = "yes"; then
35346 OSINFO="\"$host\""
35347 else
35348 OSINFO=`uname -s -r -m`
35349 OSINFO="\"$OSINFO\""
35350 fi
35351
35352 cat >>confdefs.h <<_ACEOF
35353 #define WXWIN_OS_DESCRIPTION $OSINFO
35354 _ACEOF
35355
35356
35357
35358 if test "x$prefix" != "xNONE"; then
35359 wxPREFIX=$prefix
35360 else
35361 wxPREFIX=$ac_default_prefix
35362 fi
35363
35364 cat >>confdefs.h <<_ACEOF
35365 #define wxINSTALL_PREFIX "$wxPREFIX"
35366 _ACEOF
35367
35368
35369 top_builddir_wxconfig=`pwd`
35370
35371
35372
35373 CORE_BASE_LIBS="net base"
35374 CORE_GUI_LIBS="adv core"
35375
35376 if test "$wxUSE_XML" = "yes" ; then
35377 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
35378 fi
35379 if test "$wxUSE_ODBC" != "no" ; then
35380 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
35381 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
35382 fi
35383 if test "$wxUSE_HTML" = "yes" ; then
35384 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
35385 fi
35386
35387 if test "$wxUSE_GUI" != "yes"; then
35388 CORE_GUI_LIBS=""
35389 fi
35390
35391
35392
35393
35394
35395
35396
35397
35398 if test "$wxUSE_MAC" = 1 ; then
35399 LDFLAGS="$LDFLAGS -framework Carbon -framework Cocoa -framework WebKit -framework System"
35400 fi
35401 if test "$wxUSE_COCOA" = 1 ; then
35402 LDFLAGS="$LDFLAGS -framework Cocoa -framework System"
35403 fi
35404
35405
35406 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
35407
35408 have_cos=0
35409 have_floor=0
35410
35411 for ac_func in cos
35412 do
35413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35414 echo "$as_me:$LINENO: checking for $ac_func" >&5
35415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35416 if eval "test \"\${$as_ac_var+set}\" = set"; then
35417 echo $ECHO_N "(cached) $ECHO_C" >&6
35418 else
35419 cat >conftest.$ac_ext <<_ACEOF
35420 #line $LINENO "configure"
35421 /* confdefs.h. */
35422 _ACEOF
35423 cat confdefs.h >>conftest.$ac_ext
35424 cat >>conftest.$ac_ext <<_ACEOF
35425 /* end confdefs.h. */
35426 /* System header to define __stub macros and hopefully few prototypes,
35427 which can conflict with char $ac_func (); below.
35428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35429 <limits.h> exists even on freestanding compilers. */
35430 #ifdef __STDC__
35431 # include <limits.h>
35432 #else
35433 # include <assert.h>
35434 #endif
35435 /* Override any gcc2 internal prototype to avoid an error. */
35436 #ifdef __cplusplus
35437 extern "C"
35438 {
35439 #endif
35440 /* We use char because int might match the return type of a gcc2
35441 builtin and then its argument prototype would still apply. */
35442 char $ac_func ();
35443 /* The GNU C library defines this for functions which it implements
35444 to always fail with ENOSYS. Some functions are actually named
35445 something starting with __ and the normal name is an alias. */
35446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35447 choke me
35448 #else
35449 char (*f) () = $ac_func;
35450 #endif
35451 #ifdef __cplusplus
35452 }
35453 #endif
35454
35455 int
35456 main ()
35457 {
35458 return f != $ac_func;
35459 ;
35460 return 0;
35461 }
35462 _ACEOF
35463 rm -f conftest.$ac_objext conftest$ac_exeext
35464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35465 (eval $ac_link) 2>&5
35466 ac_status=$?
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); } &&
35469 { ac_try='test -s conftest$ac_exeext'
35470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35471 (eval $ac_try) 2>&5
35472 ac_status=$?
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); }; }; then
35475 eval "$as_ac_var=yes"
35476 else
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.$ac_ext >&5
35479
35480 eval "$as_ac_var=no"
35481 fi
35482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35483 fi
35484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35486 if test `eval echo '${'$as_ac_var'}'` = yes; then
35487 cat >>confdefs.h <<_ACEOF
35488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35489 _ACEOF
35490 have_cos=1
35491 fi
35492 done
35493
35494
35495 for ac_func in floor
35496 do
35497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35498 echo "$as_me:$LINENO: checking for $ac_func" >&5
35499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35500 if eval "test \"\${$as_ac_var+set}\" = set"; then
35501 echo $ECHO_N "(cached) $ECHO_C" >&6
35502 else
35503 cat >conftest.$ac_ext <<_ACEOF
35504 #line $LINENO "configure"
35505 /* confdefs.h. */
35506 _ACEOF
35507 cat confdefs.h >>conftest.$ac_ext
35508 cat >>conftest.$ac_ext <<_ACEOF
35509 /* end confdefs.h. */
35510 /* System header to define __stub macros and hopefully few prototypes,
35511 which can conflict with char $ac_func (); below.
35512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35513 <limits.h> exists even on freestanding compilers. */
35514 #ifdef __STDC__
35515 # include <limits.h>
35516 #else
35517 # include <assert.h>
35518 #endif
35519 /* Override any gcc2 internal prototype to avoid an error. */
35520 #ifdef __cplusplus
35521 extern "C"
35522 {
35523 #endif
35524 /* We use char because int might match the return type of a gcc2
35525 builtin and then its argument prototype would still apply. */
35526 char $ac_func ();
35527 /* The GNU C library defines this for functions which it implements
35528 to always fail with ENOSYS. Some functions are actually named
35529 something starting with __ and the normal name is an alias. */
35530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35531 choke me
35532 #else
35533 char (*f) () = $ac_func;
35534 #endif
35535 #ifdef __cplusplus
35536 }
35537 #endif
35538
35539 int
35540 main ()
35541 {
35542 return f != $ac_func;
35543 ;
35544 return 0;
35545 }
35546 _ACEOF
35547 rm -f conftest.$ac_objext conftest$ac_exeext
35548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35549 (eval $ac_link) 2>&5
35550 ac_status=$?
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } &&
35553 { ac_try='test -s conftest$ac_exeext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 eval "$as_ac_var=yes"
35560 else
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.$ac_ext >&5
35563
35564 eval "$as_ac_var=no"
35565 fi
35566 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35567 fi
35568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35570 if test `eval echo '${'$as_ac_var'}'` = yes; then
35571 cat >>confdefs.h <<_ACEOF
35572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35573 _ACEOF
35574 have_floor=1
35575 fi
35576 done
35577
35578 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
35579 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
35580 if test "$have_cos" = 1 -a "$have_floor" = 1; then
35581 echo "$as_me:$LINENO: result: yes" >&5
35582 echo "${ECHO_T}yes" >&6
35583 else
35584 echo "$as_me:$LINENO: result: no" >&5
35585 echo "${ECHO_T}no" >&6
35586 LIBS="$LIBS -lm"
35587 # use different functions to avoid configure caching
35588 have_sin=0
35589 have_ceil=0
35590
35591 for ac_func in sin
35592 do
35593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35594 echo "$as_me:$LINENO: checking for $ac_func" >&5
35595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35596 if eval "test \"\${$as_ac_var+set}\" = set"; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 else
35599 cat >conftest.$ac_ext <<_ACEOF
35600 #line $LINENO "configure"
35601 /* confdefs.h. */
35602 _ACEOF
35603 cat confdefs.h >>conftest.$ac_ext
35604 cat >>conftest.$ac_ext <<_ACEOF
35605 /* end confdefs.h. */
35606 /* System header to define __stub macros and hopefully few prototypes,
35607 which can conflict with char $ac_func (); below.
35608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35609 <limits.h> exists even on freestanding compilers. */
35610 #ifdef __STDC__
35611 # include <limits.h>
35612 #else
35613 # include <assert.h>
35614 #endif
35615 /* Override any gcc2 internal prototype to avoid an error. */
35616 #ifdef __cplusplus
35617 extern "C"
35618 {
35619 #endif
35620 /* We use char because int might match the return type of a gcc2
35621 builtin and then its argument prototype would still apply. */
35622 char $ac_func ();
35623 /* The GNU C library defines this for functions which it implements
35624 to always fail with ENOSYS. Some functions are actually named
35625 something starting with __ and the normal name is an alias. */
35626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35627 choke me
35628 #else
35629 char (*f) () = $ac_func;
35630 #endif
35631 #ifdef __cplusplus
35632 }
35633 #endif
35634
35635 int
35636 main ()
35637 {
35638 return f != $ac_func;
35639 ;
35640 return 0;
35641 }
35642 _ACEOF
35643 rm -f conftest.$ac_objext conftest$ac_exeext
35644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35645 (eval $ac_link) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); } &&
35649 { ac_try='test -s conftest$ac_exeext'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 eval "$as_ac_var=yes"
35656 else
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35659
35660 eval "$as_ac_var=no"
35661 fi
35662 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35663 fi
35664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35666 if test `eval echo '${'$as_ac_var'}'` = yes; then
35667 cat >>confdefs.h <<_ACEOF
35668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35669 _ACEOF
35670 have_sin=1
35671 fi
35672 done
35673
35674
35675 for ac_func in ceil
35676 do
35677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35678 echo "$as_me:$LINENO: checking for $ac_func" >&5
35679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35680 if eval "test \"\${$as_ac_var+set}\" = set"; then
35681 echo $ECHO_N "(cached) $ECHO_C" >&6
35682 else
35683 cat >conftest.$ac_ext <<_ACEOF
35684 #line $LINENO "configure"
35685 /* confdefs.h. */
35686 _ACEOF
35687 cat confdefs.h >>conftest.$ac_ext
35688 cat >>conftest.$ac_ext <<_ACEOF
35689 /* end confdefs.h. */
35690 /* System header to define __stub macros and hopefully few prototypes,
35691 which can conflict with char $ac_func (); below.
35692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35693 <limits.h> exists even on freestanding compilers. */
35694 #ifdef __STDC__
35695 # include <limits.h>
35696 #else
35697 # include <assert.h>
35698 #endif
35699 /* Override any gcc2 internal prototype to avoid an error. */
35700 #ifdef __cplusplus
35701 extern "C"
35702 {
35703 #endif
35704 /* We use char because int might match the return type of a gcc2
35705 builtin and then its argument prototype would still apply. */
35706 char $ac_func ();
35707 /* The GNU C library defines this for functions which it implements
35708 to always fail with ENOSYS. Some functions are actually named
35709 something starting with __ and the normal name is an alias. */
35710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35711 choke me
35712 #else
35713 char (*f) () = $ac_func;
35714 #endif
35715 #ifdef __cplusplus
35716 }
35717 #endif
35718
35719 int
35720 main ()
35721 {
35722 return f != $ac_func;
35723 ;
35724 return 0;
35725 }
35726 _ACEOF
35727 rm -f conftest.$ac_objext conftest$ac_exeext
35728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35729 (eval $ac_link) 2>&5
35730 ac_status=$?
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); } &&
35733 { ac_try='test -s conftest$ac_exeext'
35734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35735 (eval $ac_try) 2>&5
35736 ac_status=$?
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); }; }; then
35739 eval "$as_ac_var=yes"
35740 else
35741 echo "$as_me: failed program was:" >&5
35742 sed 's/^/| /' conftest.$ac_ext >&5
35743
35744 eval "$as_ac_var=no"
35745 fi
35746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35747 fi
35748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35750 if test `eval echo '${'$as_ac_var'}'` = yes; then
35751 cat >>confdefs.h <<_ACEOF
35752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35753 _ACEOF
35754 have_ceil=1
35755 fi
35756 done
35757
35758 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
35759 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
35760 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
35761 echo "$as_me:$LINENO: result: yes" >&5
35762 echo "${ECHO_T}yes" >&6
35763 else
35764 echo "$as_me:$LINENO: result: no" >&5
35765 echo "${ECHO_T}no" >&6
35766 # not sure we should warn the user, crash, etc.
35767 fi
35768 fi
35769
35770 if test "$wxUSE_GUI" = "yes"; then
35771
35772
35773 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs \
35774 drawing dynamic erase event exec font image \
35775 minimal propsize rotate shaped widgets render"
35776
35777 if test "$wxUSE_MONOLITHIC" != "yes"; then
35778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
35779 fi
35780 else
35781 SAMPLES_SUBDIRS="console"
35782 fi
35783
35784
35785 INCLUDES="-I\${top_builddir}lib/wx/include/${TOOLCHAIN_NAME} \
35786 -I\${top_srcdir}/include $TOOLKIT_INCLUDE"
35787
35788 if test "$GXX" = yes ; then
35789 CXXWARNINGS="-Wall"
35790 fi
35791
35792 EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
35793
35794 CPPFLAGS=`echo $WXDEBUG_DEFINE $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
35795 CFLAGS=`echo $CODE_GEN_FLAGS $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
35796 CXXFLAGS=`echo $CODE_GEN_FLAGS $CODE_GEN_FLAGS_CXX $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
35797
35798
35799 LIBS=`echo $LIBS | sed 's/ \+/ /g'`
35800 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
35801 EXTRALIBS_XML="$EXPAT_LINK"
35802 EXTRALIBS_HTML="$MSPACK_LINK"
35803 EXTRALIBS_ODBC="$ODBC_LINK"
35804 if test "$wxUSE_GUI" = "yes"; then
35805 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK | sed 's/ \+/ /g'`
35806 fi
35807 if test "$wxUSE_OPENGL" = "yes"; then
35808 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
35809 fi
35810
35811 LDFLAGS="$LDFLAGS $PROFILE"
35812
35813 if test "$wxUSE_GTK" = 1; then
35814 WXCONFIG_INCLUDE=
35815 else
35816 WXCONFIG_INCLUDE="$TOOLKIT_INCLUDE"
35817 fi
35818
35819 WXCONFIG_EXTRALIBS="$LIBS"
35820
35821 if test "$wxUSE_REGEX" = "builtin" ; then
35822 wxconfig_3rdparty="$wxconfig_3rdparty regex${lib_unicode_suffix}"
35823 fi
35824 if test "$wxUSE_EXPAT" = "builtin" ; then
35825 wxconfig_3rdparty="$wxconfig_3rdparty expat"
35826 fi
35827 if test "$wxUSE_ODBC" = "builtin" ; then
35828 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35829 fi
35830 if test "$wxUSE_LIBTIFF" = "builtin" ; then
35831 wxconfig_3rdparty="$wxconfig_3rdparty tiff"
35832 fi
35833 if test "$wxUSE_LIBJPEG" = "builtin" ; then
35834 wxconfig_3rdparty="$wxconfig_3rdparty jpeg"
35835 fi
35836 if test "$wxUSE_LIBPNG" = "builtin" ; then
35837 wxconfig_3rdparty="$wxconfig_3rdparty png"
35838 fi
35839 if test "$wxUSE_ZLIB" = "builtin" ; then
35840 wxconfig_3rdparty="$wxconfig_3rdparty zlib"
35841 fi
35842 if test "$wxUSE_ODBC" = "builtin" ; then
35843 wxconfig_3rdparty="$wxconfig_3rdparty odbc"
35844 fi
35845
35846 for i in $wxconfig_3rdparty ; do
35847 WXCONFIG_EXTRALIBS="$WXCONFIG_EXTRALIBS -lwx${i}${lib_debug_suffix}${HOST_SUFFIX}"
35848 done
35849
35850
35851 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
35852 WXUNIV=1
35853 else
35854 WXUNIV=0
35855 fi
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865 if test $wxUSE_MONOLITHIC = "yes" ; then
35866 MONOLITHIC=1
35867 else
35868 MONOLITHIC=0
35869 fi
35870
35871 if test $wxUSE_PLUGINS = "yes" ; then
35872 USE_PLUGINS=1
35873 else
35874 USE_PLUGINS=0
35875 fi
35876
35877 if test $wxUSE_ODBC != "no" ; then
35878 USE_ODBC=1
35879 else
35880 USE_ODBC=0
35881 fi
35882
35883 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
35884 OFFICIAL_BUILD=1
35885 else
35886 OFFICIAL_BUILD=0
35887 fi
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919 if test "x$BAKEFILE_HOST" = "x"; then
35920 BAKEFILE_HOST="${host}"
35921 fi
35922
35923 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
35924
35925 if test -n "$ac_tool_prefix"; then
35926 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
35927 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
35928 echo "$as_me:$LINENO: checking for $ac_word" >&5
35929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35930 if test "${ac_cv_prog_RANLIB+set}" = set; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35932 else
35933 if test -n "$RANLIB"; then
35934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
35935 else
35936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35937 for as_dir in $PATH
35938 do
35939 IFS=$as_save_IFS
35940 test -z "$as_dir" && as_dir=.
35941 for ac_exec_ext in '' $ac_executable_extensions; do
35942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35943 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
35944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35945 break 2
35946 fi
35947 done
35948 done
35949
35950 fi
35951 fi
35952 RANLIB=$ac_cv_prog_RANLIB
35953 if test -n "$RANLIB"; then
35954 echo "$as_me:$LINENO: result: $RANLIB" >&5
35955 echo "${ECHO_T}$RANLIB" >&6
35956 else
35957 echo "$as_me:$LINENO: result: no" >&5
35958 echo "${ECHO_T}no" >&6
35959 fi
35960
35961 fi
35962 if test -z "$ac_cv_prog_RANLIB"; then
35963 ac_ct_RANLIB=$RANLIB
35964 # Extract the first word of "ranlib", so it can be a program name with args.
35965 set dummy ranlib; ac_word=$2
35966 echo "$as_me:$LINENO: checking for $ac_word" >&5
35967 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35968 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
35969 echo $ECHO_N "(cached) $ECHO_C" >&6
35970 else
35971 if test -n "$ac_ct_RANLIB"; then
35972 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
35973 else
35974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35975 for as_dir in $PATH
35976 do
35977 IFS=$as_save_IFS
35978 test -z "$as_dir" && as_dir=.
35979 for ac_exec_ext in '' $ac_executable_extensions; do
35980 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35981 ac_cv_prog_ac_ct_RANLIB="ranlib"
35982 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35983 break 2
35984 fi
35985 done
35986 done
35987
35988 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
35989 fi
35990 fi
35991 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
35992 if test -n "$ac_ct_RANLIB"; then
35993 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
35994 echo "${ECHO_T}$ac_ct_RANLIB" >&6
35995 else
35996 echo "$as_me:$LINENO: result: no" >&5
35997 echo "${ECHO_T}no" >&6
35998 fi
35999
36000 RANLIB=$ac_ct_RANLIB
36001 else
36002 RANLIB="$ac_cv_prog_RANLIB"
36003 fi
36004
36005 # Find a good install program. We prefer a C program (faster),
36006 # so one script is as good as another. But avoid the broken or
36007 # incompatible versions:
36008 # SysV /etc/install, /usr/sbin/install
36009 # SunOS /usr/etc/install
36010 # IRIX /sbin/install
36011 # AIX /bin/install
36012 # AmigaOS /C/install, which installs bootblocks on floppy discs
36013 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
36014 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
36015 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
36016 # ./install, which can be erroneously created by make from ./install.sh.
36017 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
36018 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
36019 if test -z "$INSTALL"; then
36020 if test "${ac_cv_path_install+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36024 for as_dir in $PATH
36025 do
36026 IFS=$as_save_IFS
36027 test -z "$as_dir" && as_dir=.
36028 # Account for people who put trailing slashes in PATH elements.
36029 case $as_dir/ in
36030 ./ | .// | /cC/* | \
36031 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
36032 /usr/ucb/* ) ;;
36033 *)
36034 # OSF1 and SCO ODT 3.0 have their own names for install.
36035 # Don't use installbsd from OSF since it installs stuff as root
36036 # by default.
36037 for ac_prog in ginstall scoinst install; do
36038 for ac_exec_ext in '' $ac_executable_extensions; do
36039 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
36040 if test $ac_prog = install &&
36041 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36042 # AIX install. It has an incompatible calling convention.
36043 :
36044 elif test $ac_prog = install &&
36045 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
36046 # program-specific install script used by HP pwplus--don't use.
36047 :
36048 else
36049 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
36050 break 3
36051 fi
36052 fi
36053 done
36054 done
36055 ;;
36056 esac
36057 done
36058
36059
36060 fi
36061 if test "${ac_cv_path_install+set}" = set; then
36062 INSTALL=$ac_cv_path_install
36063 else
36064 # As a last resort, use the slow shell script. We don't cache a
36065 # path for INSTALL within a source directory, because that will
36066 # break other packages using the cache if that directory is
36067 # removed, or if the path is relative.
36068 INSTALL=$ac_install_sh
36069 fi
36070 fi
36071 echo "$as_me:$LINENO: result: $INSTALL" >&5
36072 echo "${ECHO_T}$INSTALL" >&6
36073
36074 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
36075 # It thinks the first close brace ends the variable substitution.
36076 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
36077
36078 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
36079
36080 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
36081
36082 echo "$as_me:$LINENO: checking whether ln -s works" >&5
36083 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
36084 LN_S=$as_ln_s
36085 if test "$LN_S" = "ln -s"; then
36086 echo "$as_me:$LINENO: result: yes" >&5
36087 echo "${ECHO_T}yes" >&6
36088 else
36089 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
36090 echo "${ECHO_T}no, using $LN_S" >&6
36091 fi
36092
36093
36094 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
36095 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
36096 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
36097 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36100 cat >conftest.make <<\_ACEOF
36101 all:
36102 @echo 'ac_maketemp="$(MAKE)"'
36103 _ACEOF
36104 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
36105 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
36106 if test -n "$ac_maketemp"; then
36107 eval ac_cv_prog_make_${ac_make}_set=yes
36108 else
36109 eval ac_cv_prog_make_${ac_make}_set=no
36110 fi
36111 rm -f conftest.make
36112 fi
36113 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
36114 echo "$as_me:$LINENO: result: yes" >&5
36115 echo "${ECHO_T}yes" >&6
36116 SET_MAKE=
36117 else
36118 echo "$as_me:$LINENO: result: no" >&5
36119 echo "${ECHO_T}no" >&6
36120 SET_MAKE="MAKE=${MAKE-make}"
36121 fi
36122
36123
36124
36125 if test -n "$ac_tool_prefix"; then
36126 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
36127 set dummy ${ac_tool_prefix}ar; ac_word=$2
36128 echo "$as_me:$LINENO: checking for $ac_word" >&5
36129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36130 if test "${ac_cv_prog_AR+set}" = set; then
36131 echo $ECHO_N "(cached) $ECHO_C" >&6
36132 else
36133 if test -n "$AR"; then
36134 ac_cv_prog_AR="$AR" # Let the user override the test.
36135 else
36136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36137 for as_dir in $PATH
36138 do
36139 IFS=$as_save_IFS
36140 test -z "$as_dir" && as_dir=.
36141 for ac_exec_ext in '' $ac_executable_extensions; do
36142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36143 ac_cv_prog_AR="${ac_tool_prefix}ar"
36144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36145 break 2
36146 fi
36147 done
36148 done
36149
36150 fi
36151 fi
36152 AR=$ac_cv_prog_AR
36153 if test -n "$AR"; then
36154 echo "$as_me:$LINENO: result: $AR" >&5
36155 echo "${ECHO_T}$AR" >&6
36156 else
36157 echo "$as_me:$LINENO: result: no" >&5
36158 echo "${ECHO_T}no" >&6
36159 fi
36160
36161 fi
36162 if test -z "$ac_cv_prog_AR"; then
36163 ac_ct_AR=$AR
36164 # Extract the first word of "ar", so it can be a program name with args.
36165 set dummy ar; ac_word=$2
36166 echo "$as_me:$LINENO: checking for $ac_word" >&5
36167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36168 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
36169 echo $ECHO_N "(cached) $ECHO_C" >&6
36170 else
36171 if test -n "$ac_ct_AR"; then
36172 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
36173 else
36174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36175 for as_dir in $PATH
36176 do
36177 IFS=$as_save_IFS
36178 test -z "$as_dir" && as_dir=.
36179 for ac_exec_ext in '' $ac_executable_extensions; do
36180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36181 ac_cv_prog_ac_ct_AR="ar"
36182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36183 break 2
36184 fi
36185 done
36186 done
36187
36188 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
36189 fi
36190 fi
36191 ac_ct_AR=$ac_cv_prog_ac_ct_AR
36192 if test -n "$ac_ct_AR"; then
36193 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
36194 echo "${ECHO_T}$ac_ct_AR" >&6
36195 else
36196 echo "$as_me:$LINENO: result: no" >&5
36197 echo "${ECHO_T}no" >&6
36198 fi
36199
36200 AR=$ac_ct_AR
36201 else
36202 AR="$ac_cv_prog_AR"
36203 fi
36204
36205 if test -n "$ac_tool_prefix"; then
36206 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
36207 set dummy ${ac_tool_prefix}strip; ac_word=$2
36208 echo "$as_me:$LINENO: checking for $ac_word" >&5
36209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36210 if test "${ac_cv_prog_STRIP+set}" = set; then
36211 echo $ECHO_N "(cached) $ECHO_C" >&6
36212 else
36213 if test -n "$STRIP"; then
36214 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
36215 else
36216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36217 for as_dir in $PATH
36218 do
36219 IFS=$as_save_IFS
36220 test -z "$as_dir" && as_dir=.
36221 for ac_exec_ext in '' $ac_executable_extensions; do
36222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36223 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
36224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36225 break 2
36226 fi
36227 done
36228 done
36229
36230 fi
36231 fi
36232 STRIP=$ac_cv_prog_STRIP
36233 if test -n "$STRIP"; then
36234 echo "$as_me:$LINENO: result: $STRIP" >&5
36235 echo "${ECHO_T}$STRIP" >&6
36236 else
36237 echo "$as_me:$LINENO: result: no" >&5
36238 echo "${ECHO_T}no" >&6
36239 fi
36240
36241 fi
36242 if test -z "$ac_cv_prog_STRIP"; then
36243 ac_ct_STRIP=$STRIP
36244 # Extract the first word of "strip", so it can be a program name with args.
36245 set dummy strip; ac_word=$2
36246 echo "$as_me:$LINENO: checking for $ac_word" >&5
36247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36248 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
36249 echo $ECHO_N "(cached) $ECHO_C" >&6
36250 else
36251 if test -n "$ac_ct_STRIP"; then
36252 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
36253 else
36254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36255 for as_dir in $PATH
36256 do
36257 IFS=$as_save_IFS
36258 test -z "$as_dir" && as_dir=.
36259 for ac_exec_ext in '' $ac_executable_extensions; do
36260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36261 ac_cv_prog_ac_ct_STRIP="strip"
36262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36263 break 2
36264 fi
36265 done
36266 done
36267
36268 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
36269 fi
36270 fi
36271 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
36272 if test -n "$ac_ct_STRIP"; then
36273 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
36274 echo "${ECHO_T}$ac_ct_STRIP" >&6
36275 else
36276 echo "$as_me:$LINENO: result: no" >&5
36277 echo "${ECHO_T}no" >&6
36278 fi
36279
36280 STRIP=$ac_ct_STRIP
36281 else
36282 STRIP="$ac_cv_prog_STRIP"
36283 fi
36284
36285 if test -n "$ac_tool_prefix"; then
36286 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
36287 set dummy ${ac_tool_prefix}nm; ac_word=$2
36288 echo "$as_me:$LINENO: checking for $ac_word" >&5
36289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36290 if test "${ac_cv_prog_NM+set}" = set; then
36291 echo $ECHO_N "(cached) $ECHO_C" >&6
36292 else
36293 if test -n "$NM"; then
36294 ac_cv_prog_NM="$NM" # Let the user override the test.
36295 else
36296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36297 for as_dir in $PATH
36298 do
36299 IFS=$as_save_IFS
36300 test -z "$as_dir" && as_dir=.
36301 for ac_exec_ext in '' $ac_executable_extensions; do
36302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36303 ac_cv_prog_NM="${ac_tool_prefix}nm"
36304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36305 break 2
36306 fi
36307 done
36308 done
36309
36310 fi
36311 fi
36312 NM=$ac_cv_prog_NM
36313 if test -n "$NM"; then
36314 echo "$as_me:$LINENO: result: $NM" >&5
36315 echo "${ECHO_T}$NM" >&6
36316 else
36317 echo "$as_me:$LINENO: result: no" >&5
36318 echo "${ECHO_T}no" >&6
36319 fi
36320
36321 fi
36322 if test -z "$ac_cv_prog_NM"; then
36323 ac_ct_NM=$NM
36324 # Extract the first word of "nm", so it can be a program name with args.
36325 set dummy nm; ac_word=$2
36326 echo "$as_me:$LINENO: checking for $ac_word" >&5
36327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36328 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
36329 echo $ECHO_N "(cached) $ECHO_C" >&6
36330 else
36331 if test -n "$ac_ct_NM"; then
36332 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
36333 else
36334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36335 for as_dir in $PATH
36336 do
36337 IFS=$as_save_IFS
36338 test -z "$as_dir" && as_dir=.
36339 for ac_exec_ext in '' $ac_executable_extensions; do
36340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36341 ac_cv_prog_ac_ct_NM="nm"
36342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36343 break 2
36344 fi
36345 done
36346 done
36347
36348 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
36349 fi
36350 fi
36351 ac_ct_NM=$ac_cv_prog_ac_ct_NM
36352 if test -n "$ac_ct_NM"; then
36353 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
36354 echo "${ECHO_T}$ac_ct_NM" >&6
36355 else
36356 echo "$as_me:$LINENO: result: no" >&5
36357 echo "${ECHO_T}no" >&6
36358 fi
36359
36360 NM=$ac_ct_NM
36361 else
36362 NM="$ac_cv_prog_NM"
36363 fi
36364
36365
36366 case ${BAKEFILE_HOST} in
36367 *-hp-hpux* )
36368 INSTALL_DIR="mkdir"
36369 ;;
36370 *) INSTALL_DIR="$INSTALL -d"
36371 ;;
36372 esac
36373
36374
36375 LDFLAGS_GUI=
36376 case ${BAKEFILE_HOST} in
36377 *-*-cygwin* | *-*-mingw32* )
36378 LDFLAGS_GUI="-mwindows"
36379 esac
36380
36381
36382 fi
36383
36384 echo "$as_me:$LINENO: checking if make is GNU make" >&5
36385 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
36386 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
36387 echo $ECHO_N "(cached) $ECHO_C" >&6
36388 else
36389
36390 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
36391 egrep -s GNU > /dev/null); then
36392 bakefile_cv_prog_makeisgnu="yes"
36393 else
36394 bakefile_cv_prog_makeisgnu="no"
36395 fi
36396
36397 fi
36398 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
36399 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
36400
36401 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
36402 IF_GNU_MAKE=""
36403 else
36404 IF_GNU_MAKE="#"
36405 fi
36406
36407
36408
36409 PLATFORM_UNIX=0
36410 PLATFORM_WIN32=0
36411 PLATFORM_MSDOS=0
36412 PLATFORM_MAC=0
36413 PLATFORM_MACOSX=0
36414 PLATFORM_OS2=0
36415
36416 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
36417 case "${BAKEFILE_HOST}" in
36418 *-*-cygwin* | *-*-mingw32* )
36419 PLATFORM_WIN32=1
36420 ;;
36421 *-pc-msdosdjgpp )
36422 PLATFORM_MSDOS=1
36423 ;;
36424 *-pc-os2_emx | *-pc-os2-emx )
36425 PLATFORM_OS2=1
36426 ;;
36427 powerpc-*-darwin* )
36428 PLATFORM_MAC=1
36429 PLATFORM_MACOSX=1
36430 ;;
36431 * )
36432 PLATFORM_UNIX=1
36433 ;;
36434 esac
36435 else
36436 case "$BAKEFILE_FORCE_PLATFORM" in
36437 win32 )
36438 PLATFORM_WIN32=1
36439 ;;
36440 msdos )
36441 PLATFORM_MSDOS=1
36442 ;;
36443 os2 )
36444 PLATFORM_OS2=1
36445 ;;
36446 darwin )
36447 PLATFORM_MAC=1
36448 PLATFORM_MACOSX=1
36449 ;;
36450 unix )
36451 PLATFORM_UNIX=1
36452 ;;
36453 * )
36454 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
36455 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
36456 { (exit 1); exit 1; }; }
36457 ;;
36458 esac
36459 fi
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469 # Check whether --enable-omf or --disable-omf was given.
36470 if test "${enable_omf+set}" = set; then
36471 enableval="$enable_omf"
36472 bk_os2_use_omf="$enableval"
36473 fi;
36474
36475 case "${BAKEFILE_HOST}" in
36476 *-*-darwin* )
36477 CFLAGS="$CFLAGS -fno-common"
36478 CXXFLAGS="$CXXFLAGS -fno-common"
36479 ;;
36480
36481 *-pc-os2_emx | *-pc-os2-emx )
36482 if test "x$bk_os2_use_omf" = "xyes" ; then
36483 AR=emxomfar
36484 RANLIB=:
36485 LDFLAGS="-Zomf $LDFLAGS"
36486 CFLAGS="-Zomf $CFLAGS"
36487 CXXFLAGS="-Zomf $CXXFLAGS"
36488 OS2_LIBEXT="lib"
36489 else
36490 OS2_LIBEXT="a"
36491 fi
36492 ;;
36493 esac
36494
36495
36496 SO_SUFFIX="so"
36497 SO_SUFFIX_MODULE="so"
36498 EXEEXT=""
36499 LIBPREFIX="lib"
36500 LIBEXT=".a"
36501 DLLPREFIX="lib"
36502 DLLPREFIX_MODULE=""
36503 DLLIMP_SUFFIX=""
36504
36505 case "${BAKEFILE_HOST}" in
36506 *-hp-hpux* )
36507 SO_SUFFIX="sl"
36508 SO_SUFFIX_MODULE="sl"
36509 ;;
36510 *-*-aix* )
36511 SO_SUFFIX="a"
36512 SO_SUFFIX_MODULE="a"
36513 ;;
36514 *-*-cygwin* | *-*-mingw32* )
36515 SO_SUFFIX="dll"
36516 SO_SUFFIX_MODULE="dll"
36517 DLLIMP_SUFFIX="dll.a"
36518 EXEEXT=".exe"
36519 DLLPREFIX=""
36520 ;;
36521 *-pc-msdosdjgpp )
36522 EXEEXT=".exe"
36523 DLLPREFIX=""
36524 ;;
36525 *-pc-os2_emx | *-pc-os2-emx )
36526 SO_SUFFIX="dll"
36527 SO_SUFFIX_MODULE="dll"
36528 DLLIMP_SUFFIX=$OS2_LIBEXT
36529 EXEEXT=".exe"
36530 DLLPREFIX=""
36531 LIBPREFIX=""
36532 LIBEXT=".$OS2_LIBEXT"
36533 ;;
36534 powerpc-*-darwin* )
36535 SO_SUFFIX="dylib"
36536 SO_SUFFIX_MODULE="bundle"
36537 ;;
36538 esac
36539
36540 if test "x$DLLIMP_SUFFIX" = "x" ; then
36541 DLLIMP_SUFFIX="$SO_SUFFIX"
36542 fi
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554 SHARED_LD_CC="\$(CC) -shared -o"
36555 SHARED_LD_CXX="\$(CXX) -shared -o"
36556
36557 if test "x$GCC" = "xyes"; then
36558 PIC_FLAG="-fPIC"
36559 fi
36560
36561 case "${BAKEFILE_HOST}" in
36562 *-hp-hpux* )
36563 if test "x$GCC" = "xyes"; then
36564 SHARED_LD_CC="${CC} -shared ${PIC_FLAG} -o"
36565 SHARED_LD_CXX="${CXX} -shared ${PIC_FLAG} -o"
36566 else
36567 LDFLAGS="$LDFLAGS -L/usr/lib"
36568
36569 SHARED_LD_CC="${CC} -b -o"
36570 SHARED_LD_CXX="${CXX} -b -o"
36571 PIC_FLAG="+Z"
36572 fi
36573 ;;
36574
36575 *-*-linux* )
36576 if test "x$GCC" != "xyes"; then
36577 echo "$as_me:$LINENO: checking for Intel compiler" >&5
36578 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
36579 if test "${bakefile_cv_prog_icc+set}" = set; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 else
36582
36583 cat >conftest.$ac_ext <<_ACEOF
36584 #line $LINENO "configure"
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590
36591 int
36592 main ()
36593 {
36594
36595 #ifndef __INTEL_COMPILER
36596 #error Not icc
36597 #endif
36598
36599 ;
36600 return 0;
36601 }
36602 _ACEOF
36603 rm -f conftest.$ac_objext
36604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36605 (eval $ac_compile) 2>&5
36606 ac_status=$?
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); } &&
36609 { ac_try='test -s conftest.$ac_objext'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; }; then
36615 bakefile_cv_prog_icc=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 bakefile_cv_prog_icc=no
36621
36622 fi
36623 rm -f conftest.$ac_objext conftest.$ac_ext
36624
36625 fi
36626 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
36627 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
36628 if test "$bakefile_cv_prog_icc" = "yes"; then
36629 PIC_FLAG="-KPIC"
36630 fi
36631 fi
36632 ;;
36633
36634 *-*-solaris2* )
36635 if test "x$GCC" != xyes ; then
36636 SHARED_LD_CC="${CC} -G -o"
36637 SHARED_LD_CXX="${CXX} -G -o"
36638 PIC_FLAG="-KPIC"
36639 fi
36640 ;;
36641
36642 *-*-darwin* )
36643
36644 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
36645 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
36646 if test "${wx_cv_gcc31+set}" = set; then
36647 echo $ECHO_N "(cached) $ECHO_C" >&6
36648 else
36649
36650 cat >conftest.$ac_ext <<_ACEOF
36651 #line $LINENO "configure"
36652 /* confdefs.h. */
36653 _ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657
36658 int
36659 main ()
36660 {
36661
36662 #if (__GNUC__ < 3) || \
36663 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
36664 #error old gcc
36665 #endif
36666
36667 ;
36668 return 0;
36669 }
36670 _ACEOF
36671 rm -f conftest.$ac_objext
36672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36673 (eval $ac_compile) 2>&5
36674 ac_status=$?
36675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36676 (exit $ac_status); } &&
36677 { ac_try='test -s conftest.$ac_objext'
36678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36679 (eval $ac_try) 2>&5
36680 ac_status=$?
36681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36682 (exit $ac_status); }; }; then
36683
36684 wx_cv_gcc31=yes
36685
36686 else
36687 echo "$as_me: failed program was:" >&5
36688 sed 's/^/| /' conftest.$ac_ext >&5
36689
36690
36691 wx_cv_gcc31=no
36692
36693
36694 fi
36695 rm -f conftest.$ac_objext conftest.$ac_ext
36696
36697 fi
36698 echo "$as_me:$LINENO: result: $wx_cv_gcc31" >&5
36699 echo "${ECHO_T}$wx_cv_gcc31" >&6
36700 if test "$wx_cv_gcc31" = "no"; then
36701
36702 D='$'
36703 cat <<EOF >shared-ld-sh
36704 #!/bin/sh
36705 #-----------------------------------------------------------------------------
36706 #-- Name: distrib/mac/shared-ld-sh
36707 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
36708 #-- Author: Gilles Depeyrot
36709 #-- Copyright: (c) 2002 Gilles Depeyrot
36710 #-- Licence: any use permitted
36711 #-----------------------------------------------------------------------------
36712
36713 verbose=0
36714 args=""
36715 objects=""
36716 linking_flag="-dynamiclib"
36717
36718 while test ${D}# -gt 0; do
36719 case ${D}1 in
36720
36721 -v)
36722 verbose=1
36723 ;;
36724
36725 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
36726 # collect these options and values
36727 args="${D}{args} ${D}1 ${D}2"
36728 shift
36729 ;;
36730
36731 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
36732 # collect these options
36733 args="${D}{args} ${D}1"
36734 ;;
36735
36736 -dynamiclib|-bundle)
36737 linking_flag="${D}1"
36738 ;;
36739
36740 -*)
36741 echo "shared-ld: unhandled option '${D}1'"
36742 exit 1
36743 ;;
36744
36745 *.o | *.a | *.dylib)
36746 # collect object files
36747 objects="${D}{objects} ${D}1"
36748 ;;
36749
36750 *)
36751 echo "shared-ld: unhandled argument '${D}1'"
36752 exit 1
36753 ;;
36754
36755 esac
36756 shift
36757 done
36758
36759 #
36760 # Link one module containing all the others
36761 #
36762 if test ${D}{verbose} = 1; then
36763 echo "c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o"
36764 fi
36765 c++ -r -keep_private_externs -nostdlib ${D}{objects} -o master.${D}${D}.o
36766 status=${D}?
36767 if test ${D}{status} != 0; then
36768 exit ${D}{status}
36769 fi
36770
36771 #
36772 # Link the shared library from the single module created
36773 #
36774 if test ${D}{verbose} = 1; then
36775 echo "cc ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
36776 fi
36777 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
36778 status=${D}?
36779 if test ${D}{status} != 0; then
36780 exit ${D}{status}
36781 fi
36782
36783 #
36784 # Remove intermediate module
36785 #
36786 rm -f master.${D}${D}.o
36787
36788 exit 0
36789 EOF
36790
36791 chmod +x shared-ld-sh
36792
36793 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
36794 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
36795 SHARED_LD_CXX="$SHARED_LD_CC"
36796 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
36797 else
36798 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
36799 SHARED_LD_MODULE_CC="\${CC} -bundle -single_module -headerpad_max_install_names -o"
36800 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
36801 SHARED_LD_MODULE_CXX="\${CXX} -bundle -single_module -headerpad_max_install_names -o"
36802 fi
36803
36804 PIC_FLAG="-dynamic -fPIC"
36805 ;;
36806
36807 *-*-aix* )
36808 if test "x$GCC" != "xyes"; then
36809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
36810 set dummy makeC++SharedLib; ac_word=$2
36811 echo "$as_me:$LINENO: checking for $ac_word" >&5
36812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
36813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816 if test -n "$AIX_CXX_LD"; then
36817 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
36818 else
36819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36820 for as_dir in $PATH
36821 do
36822 IFS=$as_save_IFS
36823 test -z "$as_dir" && as_dir=.
36824 for ac_exec_ext in '' $ac_executable_extensions; do
36825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
36826 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
36827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36828 break 2
36829 fi
36830 done
36831 done
36832
36833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
36834 fi
36835 fi
36836 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
36837 if test -n "$AIX_CXX_LD"; then
36838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
36839 echo "${ECHO_T}$AIX_CXX_LD" >&6
36840 else
36841 echo "$as_me:$LINENO: result: no" >&5
36842 echo "${ECHO_T}no" >&6
36843 fi
36844
36845 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
36846 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
36847 fi
36848 ;;
36849
36850 *-*-beos* )
36851 SHARED_LD_CC="${LD} -shared -o"
36852 SHARED_LD_CXX="${LD} -shared -o"
36853 ;;
36854
36855 *-*-irix* )
36856 if test "x$GCC" != "xyes"; then
36857 PIC_FLAG="-KPIC"
36858 fi
36859 ;;
36860
36861 *-*-cygwin* | *-*-mingw32* )
36862 PIC_FLAG=""
36863 ;;
36864
36865 *-pc-os2_emx | *-pc-os2-emx )
36866 SHARED_LD_CC="`pwd`/dllar.sh -o"
36867 SHARED_LD_CXX="`pwd`/dllar.sh -o"
36868 PIC_FLAG=""
36869
36870 D='$'
36871 cat <<EOF >dllar.sh
36872 #!/bin/sh
36873 #
36874 # dllar - a tool to build both a .dll and an .a file
36875 # from a set of object (.o) files for EMX/OS2.
36876 #
36877 # Written by Andrew Zabolotny, bit@freya.etu.ru
36878 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
36879 #
36880 # This script will accept a set of files on the command line.
36881 # All the public symbols from the .o files will be exported into
36882 # a .DEF file, then linker will be run (through gcc) against them to
36883 # build a shared library consisting of all given .o files. All libraries
36884 # (.a) will be first decompressed into component .o files then act as
36885 # described above. You can optionally give a description (-d "description")
36886 # which will be put into .DLL. To see the list of accepted options (as well
36887 # as command-line format) simply run this program without options. The .DLL
36888 # is built to be imported by name (there is no guarantee that new versions
36889 # of the library you build will have same ordinals for same symbols).
36890 #
36891 # dllar is free software; you can redistribute it and/or modify
36892 # it under the terms of the GNU General Public License as published by
36893 # the Free Software Foundation; either version 2, or (at your option)
36894 # any later version.
36895 #
36896 # dllar is distributed in the hope that it will be useful,
36897 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36898 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36899 # GNU General Public License for more details.
36900 #
36901 # You should have received a copy of the GNU General Public License
36902 # along with dllar; see the file COPYING. If not, write to the Free
36903 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
36904 # 02111-1307, USA.
36905
36906 # To successfuly run this program you will need:
36907 # - Current drive should have LFN support (HPFS, ext2, network, etc)
36908 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
36909 # - gcc
36910 # (used to build the .dll)
36911 # - emxexp
36912 # (used to create .def file from .o files)
36913 # - emximp
36914 # (used to create .a file from .def file)
36915 # - GNU text utilites (cat, sort, uniq)
36916 # used to process emxexp output
36917 # - GNU file utilities (mv, rm)
36918 # - GNU sed
36919 # - lxlite (optional, see flag below)
36920 # (used for general .dll cleanup)
36921 #
36922
36923 flag_USE_LXLITE=1;
36924
36925 #
36926 # helper functions
36927 # basnam, variant of basename, which does _not_ remove the path, _iff_
36928 # second argument (suffix to remove) is given
36929 basnam(){
36930 case ${D}# in
36931 1)
36932 echo ${D}1 | sed 's/.*\///' | sed 's/.*\\//'
36933 ;;
36934 2)
36935 echo ${D}1 | sed 's/'${D}2'${D}//'
36936 ;;
36937 *)
36938 echo "error in basnam ${D}*"
36939 exit 8
36940 ;;
36941 esac
36942 }
36943
36944 # Cleanup temporary files and output
36945 CleanUp() {
36946 cd ${D}curDir
36947 for i in ${D}inputFiles ; do
36948 case ${D}i in
36949 *!)
36950 rm -rf \`basnam ${D}i !\`
36951 ;;
36952 *)
36953 ;;
36954 esac
36955 done
36956
36957 # Kill result in case of failure as there is just to many stupid make/nmake
36958 # things out there which doesn't do this.
36959 if ${D}# -eq 0 ; then
36960 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
36961 fi
36962 }
36963
36964 # Print usage and exit script with rc=1.
36965 PrintHelp() {
36966 echo 'Usage: dllar -o[utput] output_file -i[mport] importlib_name'
36967 echo ' -d[escription] "dll descrption" -cc "CC" -f[lags] "CFLAGS"'
36968 echo ' -ord[inals] -exclude "symbol(s)"'
36969 echo ' -libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}" -nocrt[dll] -nolxl[ite]'
36970 echo ' *.o *.a'
36971 echo '*> "output_file" should have no extension.'
36972 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
36973 echo ' The import library name is derived from this and is set to "name".a,'
36974 echo ' unless overridden by -import'
36975 echo '*> "importlib_name" should have no extension.'
36976 echo ' If it has the .o, or .a extension, it is automatically removed.'
36977 echo ' This name is used as the import library name and may be longer and'
36978 echo ' more descriptive than the DLL name which has to follow the old '
36979 echo ' 8.3 convention of FAT.'
36980 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
36981 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
36982 echo ' These flags will be put at the start of GCC command line.'
36983 echo '*> -ordinals tells dllar to export entries by ordinals. Be careful.'
36984 echo '*> -exclude defines symbols which will not be exported. You can define'
36985 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
36986 echo ' If the last character of a symbol is "*", all symbols beginning'
36987 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
36988 echo '*> -libflags can be used to add INITGLOBAL/INITINSTANCE and/or'
36989 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
36990 echo '*> -nocrtdll switch will disable linking the library against emx''s'
36991 echo ' C runtime DLLs.'
36992 echo '*> -nolxlite switch will disable running lxlite on the resulting DLL.'
36993 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
36994 echo ' unchanged to GCC at the end of command line.'
36995 echo '*> If you create a DLL from a library and you do not specify -o,'
36996 echo ' the basename for DLL and import library will be set to library name,'
36997 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
36998 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
36999 echo ' library will be renamed into gcc_s.a.'
37000 echo '--------'
37001 echo 'Example:'
37002 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
37003 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
37004 CleanUp
37005 exit 1
37006 }
37007
37008 # Execute a command.
37009 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
37010 # @Uses Whatever CleanUp() uses.
37011 doCommand() {
37012 echo "${D}*"
37013 eval ${D}*
37014 rcCmd=${D}?
37015
37016 if ${D}rcCmd -ne 0 ; then
37017 echo "command failed, exit code="${D}rcCmd
37018 CleanUp
37019 exit ${D}rcCmd
37020 fi
37021 }
37022
37023 # main routine
37024 # setup globals
37025 cmdLine=${D}*
37026 outFile=""
37027 outimpFile=""
37028 inputFiles=""
37029 description=""
37030 CC=gcc.exe
37031 CFLAGS="-s -Zcrtdll"
37032 EXTRA_CFLAGS=""
37033 EXPORT_BY_ORDINALS=0
37034 exclude_symbols=""
37035 library_flags=""
37036 curDir=\`pwd\`
37037 curDirS=curDir
37038 case ${D}curDirS in
37039 */)
37040 ;;
37041 *)
37042 curDirS=${D}{curDirS}"/"
37043 ;;
37044 esac
37045 # Parse commandline
37046 libsToLink=0
37047 while ${D}1 ; do
37048 case ${D}1 in
37049 -ord*)
37050 EXPORT_BY_ORDINALS=1;
37051 ;;
37052 -o*)
37053 shift
37054 outFile=${D}1
37055 ;;
37056 -i*)
37057 shift
37058 outimpFile=${D}1
37059 ;;
37060 -d*)
37061 shift
37062 description=${D}1
37063 ;;
37064 -f*)
37065 shift
37066 CFLAGS=${D}1
37067 ;;
37068 -c*)
37069 shift
37070 CC=${D}1
37071 ;;
37072 -h*)
37073 PrintHelp
37074 ;;
37075 -ex*)
37076 shift
37077 exclude_symbols=${D}{exclude_symbols}${D}1" "
37078 ;;
37079 -libf*)
37080 shift
37081 library_flags=${D}{library_flags}${D}1" "
37082 ;;
37083 -nocrt*)
37084 CFLAGS="-s"
37085 ;;
37086 -nolxl*)
37087 flag_USE_LXLITE=0
37088 ;;
37089 -* | /*)
37090 case ${D}1 in
37091 -L* | -l*)
37092 libsToLink=1
37093 ;;
37094 *)
37095 ;;
37096 esac
37097 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
37098 ;;
37099 *)
37100 found=0;
37101 if ${D}libsToLink -ne 0 ; then
37102 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
37103 else
37104 for file in ${D}1 ; do
37105 if -f ${D}file ; then
37106 inputFiles="${D}{inputFiles} ${D}file"
37107 found=1
37108 fi
37109 done
37110 if ${D}found -eq 0 ; then
37111 echo "ERROR: No file(s) found: "${D}1
37112 exit 8
37113 fi
37114 fi
37115 ;;
37116 esac
37117 shift
37118 done # iterate cmdline words
37119
37120 #
37121 if -z "${D}inputFiles" ; then
37122 echo "dllar: no input files"
37123 PrintHelp
37124 fi
37125
37126 # Now extract all .o files from .a files
37127 newInputFiles=""
37128 for file in ${D}inputFiles ; do
37129 case ${D}file in
37130 *.a | *.lib)
37131 case ${D}file in
37132 *.a)
37133 suffix=".a"
37134 AR="ar"
37135 ;;
37136 *.lib)
37137 suffix=".lib"
37138 AR="emxomfar"
37139 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
37140 ;;
37141 *)
37142 ;;
37143 esac
37144 dirname=\`basnam ${D}file ${D}suffix\`"_%"
37145 mkdir ${D}dirname
37146 if ${D}? -ne 0 ; then
37147 echo "Failed to create subdirectory ./${D}dirname"
37148 CleanUp
37149 exit 8;
37150 fi
37151 # Append '!' to indicate archive
37152 newInputFiles="${D}newInputFiles ${D}{dirname}!"
37153 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
37154 cd ${D}curDir
37155 found=0;
37156 for subfile in ${D}dirname/*.o* ; do
37157 if -f ${D}subfile ; then
37158 found=1
37159 if -s ${D}subfile ; then
37160 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
37161 newInputFiles="${D}newInputFiles ${D}subfile"
37162 fi
37163 fi
37164 done
37165 if ${D}found -eq 0 ; then
37166 echo "WARNING: there are no files in archive \'${D}file\'"
37167 fi
37168 ;;
37169 *)
37170 newInputFiles="${D}{newInputFiles} ${D}file"
37171 ;;
37172 esac
37173 done
37174 inputFiles="${D}newInputFiles"
37175
37176 # Output filename(s).
37177 do_backup=0;
37178 if -z ${D}outFile ; then
37179 do_backup=1;
37180 set outFile ${D}inputFiles; outFile=${D}2
37181 fi
37182
37183 # If it is an archive, remove the '!' and the '_%' suffixes
37184 case ${D}outFile in
37185 *_%!)
37186 outFile=\`basnam ${D}outFile _%!\`
37187 ;;
37188 *)
37189 ;;
37190 esac
37191 case ${D}outFile in
37192 *.dll)
37193 outFile=\`basnam ${D}outFile .dll\`
37194 ;;
37195 *.DLL)
37196 outFile=\`basnam ${D}outFile .DLL\`
37197 ;;
37198 *.o)
37199 outFile=\`basnam ${D}outFile .o\`
37200 ;;
37201 *.obj)
37202 outFile=\`basnam ${D}outFile .obj\`
37203 ;;
37204 *.a)
37205 outFile=\`basnam ${D}outFile .a\`
37206 ;;
37207 *.lib)
37208 outFile=\`basnam ${D}outFile .lib\`
37209 ;;
37210 *)
37211 ;;
37212 esac
37213 case ${D}outimpFile in
37214 *.a)
37215 outimpFile=\`basnam ${D}outimpFile .a\`
37216 ;;
37217 *.lib)
37218 outimpFile=\`basnam ${D}outimpFile .lib\`
37219 ;;
37220 *)
37221 ;;
37222 esac
37223 if -z ${D}outimpFile ; then
37224 outimpFile=${D}outFile
37225 fi
37226 defFile="${D}{outFile}.def"
37227 arcFile="${D}{outimpFile}.a"
37228 arcFile2="${D}{outimpFile}.lib"
37229 dllFile="${D}outFile"
37230 # Add suffix to dllFile later, first we need a version to use as
37231 # name in .def file.
37232
37233 if ${D}do_backup -ne 0 ; then
37234 if -f ${D}arcFile ; then
37235 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
37236 fi
37237 if -f ${D}arcFile2 ; then
37238 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
37239 fi
37240 fi
37241
37242 # Extract public symbols from all the object files.
37243 tmpdefFile=${D}{defFile}_%
37244 rm -f ${D}tmpdefFile
37245 for file in ${D}inputFiles ; do
37246 case ${D}file in
37247 *!)
37248 ;;
37249 *)
37250 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
37251 ;;
37252 esac
37253 done
37254
37255 # Create the def file.
37256 rm -f ${D}defFile
37257 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
37258 dllFile="${D}dllFile.dll"
37259 if -n ${D}description ; then
37260 echo "DESCRIPTION \"${D}{description}\"" >> ${D}defFile
37261 fi
37262 echo "EXPORTS" >> ${D}defFile
37263
37264 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
37265 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
37266
37267 # Checks if the export is ok or not.
37268 for word in ${D}exclude_symbols; do
37269 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
37270 mv ${D}{tmpdefFile}% ${D}tmpdefFile
37271 done
37272
37273
37274 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
37275 sed "=" < ${D}tmpdefFile | \
37276 sed '
37277 N
37278 : loop
37279 s/^\(0-9\+\)\(^;*\)\(;.*\)\?/\2 @\1 NONAME/
37280 t loop
37281 ' > ${D}{tmpdefFile}%
37282 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
37283 else
37284 rm -f ${D}{tmpdefFile}%
37285 fi
37286 cat ${D}tmpdefFile >> ${D}defFile
37287 rm -f ${D}tmpdefFile
37288
37289 # Do linking, create implib, and apply lxlite.
37290 gccCmdl="";
37291 for file in ${D}inputFiles ; do
37292 case ${D}file in
37293 *!)
37294 ;;
37295 *)
37296 gccCmdl="${D}gccCmdl ${D}file"
37297 ;;
37298 esac
37299 done
37300 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
37301 touch "${D}{outFile}.dll"
37302
37303 doCommand "emximp -o ${D}arcFile ${D}defFile"
37304 if ${D}flag_USE_LXLITE -ne 0 ; then
37305 add_flags="";
37306 if ${D}EXPORT_BY_ORDINALS -ne 0 ; then
37307 add_flags="-ynd"
37308 fi
37309 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
37310 fi
37311 doCommand "emxomf -s -l ${D}arcFile"
37312
37313 # Successful exit.
37314 CleanUp 1
37315 exit 0
37316 EOF
37317
37318 chmod +x dllar.sh
37319 ;;
37320
37321 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
37322 *-*-sunos4* | \
37323 *-*-osf* | \
37324 *-*-dgux5* | \
37325 *-*-sysv5* )
37326 ;;
37327
37328 *)
37329 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
37330 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
37331 { (exit 1); exit 1; }; }
37332 esac
37333
37334 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
37335 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
37336 fi
37337 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
37338 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
37339 fi
37340
37341
37342
37343
37344
37345
37346
37347
37348 USE_SOVERSION=0
37349 USE_SOVERLINUX=0
37350 USE_SOVERSOLARIS=0
37351 USE_SOSYMLINKS=0
37352 USE_MACVERSION=0
37353 SONAME_FLAG=
37354
37355 case "${BAKEFILE_HOST}" in
37356 *-*-linux* )
37357 SONAME_FLAG="-Wl,-soname,"
37358 USE_SOVERSION=1
37359 USE_SOVERLINUX=1
37360 USE_SOSYMLINKS=1
37361 ;;
37362
37363 *-*-solaris2* )
37364 SONAME_FLAG="-h "
37365 USE_SOVERSION=1
37366 USE_SOVERSOLARIS=1
37367 USE_SOSYMLINKS=1
37368 ;;
37369
37370 *-*-darwin* )
37371 USE_MACVERSION=1
37372 USE_SOVERSION=1
37373 USE_SOSYMLINKS=1
37374 ;;
37375 esac
37376
37377
37378
37379
37380
37381
37382
37383
37384
37385 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
37386 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
37387 DEPS_TRACKING=0
37388
37389 if test "x$GCC" = "xyes"; then
37390 DEPSMODE=gcc
37391 DEPS_TRACKING=1
37392 case "${BAKEFILE_HOST}" in
37393 powerpc-*-darwin* )
37394 DEPSFLAG_GCC="-no-cpp-precomp -MMD"
37395 ;;
37396 * )
37397 DEPSFLAG_GCC="-MMD"
37398 ;;
37399 esac
37400 echo "$as_me:$LINENO: result: gcc" >&5
37401 echo "${ECHO_T}gcc" >&6
37402 else
37403 echo "$as_me:$LINENO: result: none" >&5
37404 echo "${ECHO_T}none" >&6
37405 fi
37406
37407 if test $DEPS_TRACKING = 1 ; then
37408
37409 D='$'
37410 cat <<EOF >bk-deps
37411 #!/bin/sh
37412
37413 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37414 # script. It is used to track C/C++ files dependencies in portable way.
37415 #
37416 # Permission is given to use this file in any way.
37417
37418 DEPSMODE=${DEPSMODE}
37419 DEPSDIR=.deps
37420 DEPSFLAG_GCC="${DEPSFLAG_GCC}"
37421
37422 mkdir -p ${D}DEPSDIR
37423
37424 if test ${D}DEPSMODE = gcc ; then
37425 ${D}* ${D}{DEPSFLAG_GCC}
37426 status=${D}?
37427 if test ${D}{status} != 0 ; then
37428 exit ${D}{status}
37429 fi
37430 # move created file to the location we want it in:
37431 while test ${D}# -gt 0; do
37432 case "${D}1" in
37433 -o )
37434 shift
37435 objfile=${D}1
37436 ;;
37437 -* )
37438 ;;
37439 * )
37440 srcfile=${D}1
37441 ;;
37442 esac
37443 shift
37444 done
37445 depfile=\`basename ${D}srcfile | sed -e 's/\..*${D}/.d/g'\`
37446 depobjname=\`echo ${D}depfile |sed -e 's/\.d/.o/g'\`
37447 if test -f ${D}depfile ; then
37448 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37449 rm -f ${D}depfile
37450 else
37451 depfile=\`basename ${D}objfile | sed -e 's/\..*${D}/.d/g'\`
37452 if test -f ${D}depfile ; then
37453 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
37454 rm -f ${D}depfile
37455 fi
37456 fi
37457 exit 0
37458 else
37459 ${D}*
37460 exit ${D}?
37461 fi
37462 EOF
37463
37464 chmod +x bk-deps
37465 fi
37466
37467
37468
37469
37470 RESCOMP=
37471 SETFILE=
37472
37473 case ${BAKEFILE_HOST} in
37474 *-*-cygwin* | *-*-mingw32* )
37475 if test "$build" != "$host" ; then
37476 RESCOMP=$host_alias-windres
37477 else
37478 # Extract the first word of "windres", so it can be a program name with args.
37479 set dummy windres; ac_word=$2
37480 echo "$as_me:$LINENO: checking for $ac_word" >&5
37481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37482 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37483 echo $ECHO_N "(cached) $ECHO_C" >&6
37484 else
37485 if test -n "$RESCOMP"; then
37486 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37487 else
37488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37489 for as_dir in $PATH
37490 do
37491 IFS=$as_save_IFS
37492 test -z "$as_dir" && as_dir=.
37493 for ac_exec_ext in '' $ac_executable_extensions; do
37494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37495 ac_cv_prog_RESCOMP="windres"
37496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37497 break 2
37498 fi
37499 done
37500 done
37501
37502 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="windres"
37503 fi
37504 fi
37505 RESCOMP=$ac_cv_prog_RESCOMP
37506 if test -n "$RESCOMP"; then
37507 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37508 echo "${ECHO_T}$RESCOMP" >&6
37509 else
37510 echo "$as_me:$LINENO: result: no" >&5
37511 echo "${ECHO_T}no" >&6
37512 fi
37513
37514 fi
37515 ;;
37516
37517 *-*-darwin* )
37518 # Extract the first word of "Rez", so it can be a program name with args.
37519 set dummy Rez; ac_word=$2
37520 echo "$as_me:$LINENO: checking for $ac_word" >&5
37521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37522 if test "${ac_cv_prog_RESCOMP+set}" = set; then
37523 echo $ECHO_N "(cached) $ECHO_C" >&6
37524 else
37525 if test -n "$RESCOMP"; then
37526 ac_cv_prog_RESCOMP="$RESCOMP" # Let the user override the test.
37527 else
37528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37529 for as_dir in $PATH
37530 do
37531 IFS=$as_save_IFS
37532 test -z "$as_dir" && as_dir=.
37533 for ac_exec_ext in '' $ac_executable_extensions; do
37534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37535 ac_cv_prog_RESCOMP="Rez"
37536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37537 break 2
37538 fi
37539 done
37540 done
37541
37542 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP="/Developer/Tools/Rez"
37543 fi
37544 fi
37545 RESCOMP=$ac_cv_prog_RESCOMP
37546 if test -n "$RESCOMP"; then
37547 echo "$as_me:$LINENO: result: $RESCOMP" >&5
37548 echo "${ECHO_T}$RESCOMP" >&6
37549 else
37550 echo "$as_me:$LINENO: result: no" >&5
37551 echo "${ECHO_T}no" >&6
37552 fi
37553
37554 # Extract the first word of "SetFile", so it can be a program name with args.
37555 set dummy SetFile; ac_word=$2
37556 echo "$as_me:$LINENO: checking for $ac_word" >&5
37557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
37558 if test "${ac_cv_prog_SETFILE+set}" = set; then
37559 echo $ECHO_N "(cached) $ECHO_C" >&6
37560 else
37561 if test -n "$SETFILE"; then
37562 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
37563 else
37564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37565 for as_dir in $PATH
37566 do
37567 IFS=$as_save_IFS
37568 test -z "$as_dir" && as_dir=.
37569 for ac_exec_ext in '' $ac_executable_extensions; do
37570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
37571 ac_cv_prog_SETFILE="SetFile"
37572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37573 break 2
37574 fi
37575 done
37576 done
37577
37578 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
37579 fi
37580 fi
37581 SETFILE=$ac_cv_prog_SETFILE
37582 if test -n "$SETFILE"; then
37583 echo "$as_me:$LINENO: result: $SETFILE" >&5
37584 echo "${ECHO_T}$SETFILE" >&6
37585 else
37586 echo "$as_me:$LINENO: result: no" >&5
37587 echo "${ECHO_T}no" >&6
37588 fi
37589
37590 ;;
37591 esac
37592
37593
37594
37595
37596
37597
37598
37599
37600
37601 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
37602
37603
37604
37605 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37606 if test "${enable_precomp_headers+set}" = set; then
37607 enableval="$enable_precomp_headers"
37608 bk_use_pch="$enableval"
37609 fi;
37610
37611 GCC_PCH=0
37612
37613 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37614 if test "x$GCC" = "xyes"; then
37615 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37616 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37617 cat >conftest.$ac_ext <<_ACEOF
37618 #line $LINENO "configure"
37619 /* confdefs.h. */
37620 _ACEOF
37621 cat confdefs.h >>conftest.$ac_ext
37622 cat >>conftest.$ac_ext <<_ACEOF
37623 /* end confdefs.h. */
37624
37625 int
37626 main ()
37627 {
37628
37629 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37630 #error "no pch support"
37631 #endif
37632 #if (__GNUC__ < 3)
37633 #error "no pch support"
37634 #endif
37635 #if (__GNUC__ == 3) && \
37636 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37637 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37638 #error "no pch support"
37639 #endif
37640
37641 ;
37642 return 0;
37643 }
37644 _ACEOF
37645 rm -f conftest.$ac_objext
37646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37647 (eval $ac_compile) 2>&5
37648 ac_status=$?
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); } &&
37651 { ac_try='test -s conftest.$ac_objext'
37652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37653 (eval $ac_try) 2>&5
37654 ac_status=$?
37655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37656 (exit $ac_status); }; }; then
37657
37658 echo "$as_me:$LINENO: result: yes" >&5
37659 echo "${ECHO_T}yes" >&6
37660 CPPFLAGS="-fpch-deps $CPPFLAGS"
37661 GCC_PCH=1
37662
37663 else
37664 echo "$as_me: failed program was:" >&5
37665 sed 's/^/| /' conftest.$ac_ext >&5
37666
37667
37668 echo "$as_me:$LINENO: result: no" >&5
37669 echo "${ECHO_T}no" >&6
37670
37671 fi
37672 rm -f conftest.$ac_objext conftest.$ac_ext
37673 if test $GCC_PCH = 1 ; then
37674 cat <<EOF >bk-make-pch
37675 #!/bin/sh
37676
37677 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37678 # script. It is used to generated precompiled headers.
37679 #
37680 # Permission is given to use this file in any way.
37681
37682 outfile="\${1}"
37683 header="\${2}"
37684 shift
37685 shift
37686
37687 compiler=
37688 headerfile=
37689 while test \${#} -gt 0; do
37690 case "\${1}" in
37691 -I* )
37692 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37693 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37694 headerfile="\${incdir}/\${header}"
37695 fi
37696 ;;
37697 esac
37698 compiler="\${compiler} \${1}"
37699 shift
37700 done
37701
37702 if test "x\${headerfile}" = "x" ; then
37703 echo "error: can't find header \${header} in include paths" >2
37704 else
37705 if test -f \${outfile} ; then
37706 rm -f \${outfile}
37707 else
37708 mkdir -p \`dirname \${outfile}\`
37709 fi
37710 depsfile=".deps/\`basename \${outfile}\`.d"
37711 mkdir -p .deps
37712 # can do this because gcc is >= 3.4:
37713 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37714 exit \${?}
37715 fi
37716 EOF
37717 chmod +x bk-make-pch
37718 fi
37719 fi
37720 fi
37721
37722
37723
37724
37725
37726
37727
37728 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
37729 if test "${enable_precomp_headers+set}" = set; then
37730 enableval="$enable_precomp_headers"
37731 bk_use_pch="$enableval"
37732 fi;
37733
37734 GCC_PCH=0
37735
37736 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
37737 if test "x$GCC" = "xyes"; then
37738 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
37739 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
37740 cat >conftest.$ac_ext <<_ACEOF
37741 #line $LINENO "configure"
37742 /* confdefs.h. */
37743 _ACEOF
37744 cat confdefs.h >>conftest.$ac_ext
37745 cat >>conftest.$ac_ext <<_ACEOF
37746 /* end confdefs.h. */
37747
37748 int
37749 main ()
37750 {
37751
37752 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
37753 #error "no pch support"
37754 #endif
37755 #if (__GNUC__ < 3)
37756 #error "no pch support"
37757 #endif
37758 #if (__GNUC__ == 3) && \
37759 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
37760 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
37761 #error "no pch support"
37762 #endif
37763
37764 ;
37765 return 0;
37766 }
37767 _ACEOF
37768 rm -f conftest.$ac_objext
37769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37770 (eval $ac_compile) 2>&5
37771 ac_status=$?
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); } &&
37774 { ac_try='test -s conftest.$ac_objext'
37775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37776 (eval $ac_try) 2>&5
37777 ac_status=$?
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); }; }; then
37780
37781 echo "$as_me:$LINENO: result: yes" >&5
37782 echo "${ECHO_T}yes" >&6
37783 CPPFLAGS="-fpch-deps $CPPFLAGS"
37784 GCC_PCH=1
37785
37786 else
37787 echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790
37791 echo "$as_me:$LINENO: result: no" >&5
37792 echo "${ECHO_T}no" >&6
37793
37794 fi
37795 rm -f conftest.$ac_objext conftest.$ac_ext
37796 if test $GCC_PCH = 1 ; then
37797 cat <<EOF >bk-make-pch
37798 #!/bin/sh
37799
37800 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
37801 # script. It is used to generated precompiled headers.
37802 #
37803 # Permission is given to use this file in any way.
37804
37805 outfile="\${1}"
37806 header="\${2}"
37807 shift
37808 shift
37809
37810 compiler=
37811 headerfile=
37812 while test \${#} -gt 0; do
37813 case "\${1}" in
37814 -I* )
37815 incdir=\`echo \${1} | sed -e 's/-I\(.*\)/\1/g'\`
37816 if test "x\${headerfile}" = "x" -a -f "\${incdir}/\${header}" ; then
37817 headerfile="\${incdir}/\${header}"
37818 fi
37819 ;;
37820 esac
37821 compiler="\${compiler} \${1}"
37822 shift
37823 done
37824
37825 if test "x\${headerfile}" = "x" ; then
37826 echo "error: can't find header \${header} in include paths" >2
37827 else
37828 if test -f \${outfile} ; then
37829 rm -f \${outfile}
37830 else
37831 mkdir -p \`dirname \${outfile}\`
37832 fi
37833 depsfile=".deps/\`basename \${outfile}\`.d"
37834 mkdir -p .deps
37835 # can do this because gcc is >= 3.4:
37836 \${compiler} -o \${outfile} -MMD -MF "\${depsfile}" "\${headerfile}"
37837 exit \${?}
37838 fi
37839 EOF
37840 chmod +x bk-make-pch
37841 fi
37842 fi
37843 fi
37844
37845
37846
37847
37848 COND_BUILD_DEBUG="#"
37849 if test "x$BUILD" = "xdebug" ; then
37850 COND_BUILD_DEBUG=""
37851 fi
37852
37853 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
37854 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
37855 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
37856 fi
37857
37858 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
37859 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
37860 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
37861 fi
37862
37863 COND_BUILD_DEBUG_UNICODE_0="#"
37864 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
37865 COND_BUILD_DEBUG_UNICODE_0=""
37866 fi
37867
37868 COND_BUILD_DEBUG_UNICODE_1="#"
37869 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
37870 COND_BUILD_DEBUG_UNICODE_1=""
37871 fi
37872
37873 COND_BUILD_RELEASE="#"
37874 if test "x$BUILD" = "xrelease" ; then
37875 COND_BUILD_RELEASE=""
37876 fi
37877
37878 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
37879 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
37880 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
37881 fi
37882
37883 COND_BUILD_RELEASE_UNICODE_0="#"
37884 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
37885 COND_BUILD_RELEASE_UNICODE_0=""
37886 fi
37887
37888 COND_BUILD_RELEASE_UNICODE_1="#"
37889 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
37890 COND_BUILD_RELEASE_UNICODE_1=""
37891 fi
37892
37893 COND_DEBUG_FLAG_1="#"
37894 if test "x$DEBUG_FLAG" = "x1" ; then
37895 COND_DEBUG_FLAG_1=""
37896 fi
37897
37898 COND_DEBUG_INFO_0="#"
37899 if test "x$DEBUG_INFO" = "x0" ; then
37900 COND_DEBUG_INFO_0=""
37901 fi
37902
37903 COND_DEBUG_INFO_1="#"
37904 if test "x$DEBUG_INFO" = "x1" ; then
37905 COND_DEBUG_INFO_1=""
37906 fi
37907
37908 COND_DEPS_TRACKING_0="#"
37909 if test "x$DEPS_TRACKING" = "x0" ; then
37910 COND_DEPS_TRACKING_0=""
37911 fi
37912
37913 COND_DEPS_TRACKING_1="#"
37914 if test "x$DEPS_TRACKING" = "x1" ; then
37915 COND_DEPS_TRACKING_1=""
37916 fi
37917
37918 COND_GCC_PCH_1="#"
37919 if test "x$GCC_PCH" = "x1" ; then
37920 COND_GCC_PCH_1=""
37921 fi
37922
37923 COND_MONOLITHIC_0="#"
37924 if test "x$MONOLITHIC" = "x0" ; then
37925 COND_MONOLITHIC_0=""
37926 fi
37927
37928 COND_MONOLITHIC_0_SHARED_0="#"
37929 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
37930 COND_MONOLITHIC_0_SHARED_0=""
37931 fi
37932
37933 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
37934 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
37935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
37936 fi
37937
37938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
37939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
37941 fi
37942
37943 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
37944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
37945 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
37946 fi
37947
37948 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
37949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
37950 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
37951 fi
37952
37953 COND_MONOLITHIC_0_SHARED_1="#"
37954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
37955 COND_MONOLITHIC_0_SHARED_1=""
37956 fi
37957
37958 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
37959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
37960 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
37961 fi
37962
37963 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
37964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
37965 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
37966 fi
37967
37968 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
37969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
37970 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
37971 fi
37972
37973 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
37974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
37975 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
37976 fi
37977
37978 COND_MONOLITHIC_0_USE_ODBC_1="#"
37979 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
37980 COND_MONOLITHIC_0_USE_ODBC_1=""
37981 fi
37982
37983 COND_MONOLITHIC_1="#"
37984 if test "x$MONOLITHIC" = "x1" ; then
37985 COND_MONOLITHIC_1=""
37986 fi
37987
37988 COND_MONOLITHIC_1_SHARED_0="#"
37989 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
37990 COND_MONOLITHIC_1_SHARED_0=""
37991 fi
37992
37993 COND_MONOLITHIC_1_SHARED_1="#"
37994 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
37995 COND_MONOLITHIC_1_SHARED_1=""
37996 fi
37997
37998 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
37999 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38000 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38001 fi
38002
38003 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38004 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38005 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38006 fi
38007
38008 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38009 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38010 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38011 fi
38012
38013 COND_PLATFORM_MACOSX_1="#"
38014 if test "x$PLATFORM_MACOSX" = "x1" ; then
38015 COND_PLATFORM_MACOSX_1=""
38016 fi
38017
38018 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38019 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38020 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38021 fi
38022
38023 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38024 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38025 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38026 fi
38027
38028 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38029 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38031 fi
38032
38033 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38034 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38035 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38036 fi
38037
38038 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38039 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38040 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38041 fi
38042
38043 COND_PLATFORM_MAC_1="#"
38044 if test "x$PLATFORM_MAC" = "x1" ; then
38045 COND_PLATFORM_MAC_1=""
38046 fi
38047
38048 COND_PLATFORM_OS2_1="#"
38049 if test "x$PLATFORM_OS2" = "x1" ; then
38050 COND_PLATFORM_OS2_1=""
38051 fi
38052
38053 COND_PLATFORM_UNIX_0="#"
38054 if test "x$PLATFORM_UNIX" = "x0" ; then
38055 COND_PLATFORM_UNIX_0=""
38056 fi
38057
38058 COND_PLATFORM_UNIX_1="#"
38059 if test "x$PLATFORM_UNIX" = "x1" ; then
38060 COND_PLATFORM_UNIX_1=""
38061 fi
38062
38063 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38064 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38065 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38066 fi
38067
38068 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38069 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38071 fi
38072
38073 COND_PLATFORM_WIN32_0="#"
38074 if test "x$PLATFORM_WIN32" = "x0" ; then
38075 COND_PLATFORM_WIN32_0=""
38076 fi
38077
38078 COND_PLATFORM_WIN32_1="#"
38079 if test "x$PLATFORM_WIN32" = "x1" ; then
38080 COND_PLATFORM_WIN32_1=""
38081 fi
38082
38083 COND_SHARED_0="#"
38084 if test "x$SHARED" = "x0" ; then
38085 COND_SHARED_0=""
38086 fi
38087
38088 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38089 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38090 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38091 fi
38092
38093 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38094 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38095 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38096 fi
38097
38098 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38099 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38100 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38101 fi
38102
38103 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38104 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38105 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38106 fi
38107
38108 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38109 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38110 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38111 fi
38112
38113 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38114 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38115 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38116 fi
38117
38118 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38119 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38120 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38121 fi
38122
38123 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38124 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38125 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38126 fi
38127
38128 COND_SHARED_1="#"
38129 if test "x$SHARED" = "x1" ; then
38130 COND_SHARED_1=""
38131 fi
38132
38133 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38134 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38136 fi
38137
38138 COND_TOOLKIT_COCOA="#"
38139 if test "x$TOOLKIT" = "xCOCOA" ; then
38140 COND_TOOLKIT_COCOA=""
38141 fi
38142
38143 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38144 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38145 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38146 fi
38147
38148 COND_TOOLKIT_GTK="#"
38149 if test "x$TOOLKIT" = "xGTK" ; then
38150 COND_TOOLKIT_GTK=""
38151 fi
38152
38153 COND_TOOLKIT_GTK_USE_GUI_1="#"
38154 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38155 COND_TOOLKIT_GTK_USE_GUI_1=""
38156 fi
38157
38158 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38159 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38160 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38161 fi
38162
38163 COND_TOOLKIT_MAC="#"
38164 if test "x$TOOLKIT" = "xMAC" ; then
38165 COND_TOOLKIT_MAC=""
38166 fi
38167
38168 COND_TOOLKIT_MAC_USE_GUI_1="#"
38169 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38170 COND_TOOLKIT_MAC_USE_GUI_1=""
38171 fi
38172
38173 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38174 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38175 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38176 fi
38177
38178 COND_TOOLKIT_MGL="#"
38179 if test "x$TOOLKIT" = "xMGL" ; then
38180 COND_TOOLKIT_MGL=""
38181 fi
38182
38183 COND_TOOLKIT_MGL_USE_GUI_1="#"
38184 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38185 COND_TOOLKIT_MGL_USE_GUI_1=""
38186 fi
38187
38188 COND_TOOLKIT_MOTIF="#"
38189 if test "x$TOOLKIT" = "xMOTIF" ; then
38190 COND_TOOLKIT_MOTIF=""
38191 fi
38192
38193 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
38194 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38195 COND_TOOLKIT_MOTIF_USE_GUI_1=""
38196 fi
38197
38198 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
38199 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38200 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
38201 fi
38202
38203 COND_TOOLKIT_MSW="#"
38204 if test "x$TOOLKIT" = "xMSW" ; then
38205 COND_TOOLKIT_MSW=""
38206 fi
38207
38208 COND_TOOLKIT_MSW_USE_GUI_1="#"
38209 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38210 COND_TOOLKIT_MSW_USE_GUI_1=""
38211 fi
38212
38213 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
38214 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38215 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
38216 fi
38217
38218 COND_TOOLKIT_PM="#"
38219 if test "x$TOOLKIT" = "xPM" ; then
38220 COND_TOOLKIT_PM=""
38221 fi
38222
38223 COND_TOOLKIT_PM_USE_GUI_1="#"
38224 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38225 COND_TOOLKIT_PM_USE_GUI_1=""
38226 fi
38227
38228 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
38229 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38230 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
38231 fi
38232
38233 COND_TOOLKIT_WINCE="#"
38234 if test "x$TOOLKIT" = "xWINCE" ; then
38235 COND_TOOLKIT_WINCE=""
38236 fi
38237
38238 COND_TOOLKIT_WINCE_USE_GUI_1="#"
38239 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
38240 COND_TOOLKIT_WINCE_USE_GUI_1=""
38241 fi
38242
38243 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
38244 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38245 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
38246 fi
38247
38248 COND_TOOLKIT_X11="#"
38249 if test "x$TOOLKIT" = "xX11" ; then
38250 COND_TOOLKIT_X11=""
38251 fi
38252
38253 COND_TOOLKIT_X11_USE_GUI_1="#"
38254 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38255 COND_TOOLKIT_X11_USE_GUI_1=""
38256 fi
38257
38258 COND_UNICODE_1="#"
38259 if test "x$UNICODE" = "x1" ; then
38260 COND_UNICODE_1=""
38261 fi
38262
38263 COND_USE_EXCEPTIONS_0="#"
38264 if test "x$USE_EXCEPTIONS" = "x0" ; then
38265 COND_USE_EXCEPTIONS_0=""
38266 fi
38267
38268 COND_USE_EXCEPTIONS_1="#"
38269 if test "x$USE_EXCEPTIONS" = "x1" ; then
38270 COND_USE_EXCEPTIONS_1=""
38271 fi
38272
38273 COND_USE_GUI_0="#"
38274 if test "x$USE_GUI" = "x0" ; then
38275 COND_USE_GUI_0=""
38276 fi
38277
38278 COND_USE_GUI_1="#"
38279 if test "x$USE_GUI" = "x1" ; then
38280 COND_USE_GUI_1=""
38281 fi
38282
38283 COND_USE_GUI_1_WXUNIV_0="#"
38284 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38285 COND_USE_GUI_1_WXUNIV_0=""
38286 fi
38287
38288 COND_USE_GUI_1_WXUNIV_1="#"
38289 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38290 COND_USE_GUI_1_WXUNIV_1=""
38291 fi
38292
38293 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38294 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38295 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38296 fi
38297
38298 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38299 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38300 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38301 fi
38302
38303 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38304 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38305 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38306 fi
38307
38308 COND_USE_ODBC_1="#"
38309 if test "x$USE_ODBC" = "x1" ; then
38310 COND_USE_ODBC_1=""
38311 fi
38312
38313 COND_USE_PLUGINS_0="#"
38314 if test "x$USE_PLUGINS" = "x0" ; then
38315 COND_USE_PLUGINS_0=""
38316 fi
38317
38318 COND_USE_SOSYMLINKS_1="#"
38319 if test "x$USE_SOSYMLINKS" = "x1" ; then
38320 COND_USE_SOSYMLINKS_1=""
38321 fi
38322
38323 COND_USE_SOVERLINUX_1="#"
38324 if test "x$USE_SOVERLINUX" = "x1" ; then
38325 COND_USE_SOVERLINUX_1=""
38326 fi
38327
38328 COND_USE_SOVERSION_0="#"
38329 if test "x$USE_SOVERSION" = "x0" ; then
38330 COND_USE_SOVERSION_0=""
38331 fi
38332
38333 COND_USE_SOVERSOLARIS_1="#"
38334 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38335 COND_USE_SOVERSOLARIS_1=""
38336 fi
38337
38338 COND_WITH_PLUGIN_SDL_1="#"
38339 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
38340 COND_WITH_PLUGIN_SDL_1=""
38341 fi
38342
38343 COND_WITH_SDL_1="#"
38344 if test "x$WITH_SDL" = "x1" ; then
38345 COND_WITH_SDL_1=""
38346 fi
38347
38348 COND_WXUNIV_1="#"
38349 if test "x$WXUNIV" = "x1" ; then
38350 COND_WXUNIV_1=""
38351 fi
38352
38353 COND_WXUSE_EXPAT_BUILTIN="#"
38354 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38355 COND_WXUSE_EXPAT_BUILTIN=""
38356 fi
38357
38358 COND_WXUSE_LIBJPEG_BUILTIN="#"
38359 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38360 COND_WXUSE_LIBJPEG_BUILTIN=""
38361 fi
38362
38363 COND_WXUSE_LIBPNG_BUILTIN="#"
38364 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38365 COND_WXUSE_LIBPNG_BUILTIN=""
38366 fi
38367
38368 COND_WXUSE_LIBTIFF_BUILTIN="#"
38369 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38370 COND_WXUSE_LIBTIFF_BUILTIN=""
38371 fi
38372
38373 COND_WXUSE_ODBC_BUILTIN="#"
38374 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38375 COND_WXUSE_ODBC_BUILTIN=""
38376 fi
38377
38378 COND_WXUSE_REGEX_BUILTIN="#"
38379 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38380 COND_WXUSE_REGEX_BUILTIN=""
38381 fi
38382
38383 COND_WXUSE_ZLIB_BUILTIN="#"
38384 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38385 COND_WXUSE_ZLIB_BUILTIN=""
38386 fi
38387
38388 COND_BUILD_DEBUG="#"
38389 if test "x$BUILD" = "xdebug" ; then
38390 COND_BUILD_DEBUG=""
38391 fi
38392
38393 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
38394 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
38395 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
38396 fi
38397
38398 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
38399 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
38400 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
38401 fi
38402
38403 COND_BUILD_DEBUG_UNICODE_0="#"
38404 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
38405 COND_BUILD_DEBUG_UNICODE_0=""
38406 fi
38407
38408 COND_BUILD_DEBUG_UNICODE_1="#"
38409 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
38410 COND_BUILD_DEBUG_UNICODE_1=""
38411 fi
38412
38413 COND_BUILD_RELEASE="#"
38414 if test "x$BUILD" = "xrelease" ; then
38415 COND_BUILD_RELEASE=""
38416 fi
38417
38418 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
38419 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
38420 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
38421 fi
38422
38423 COND_BUILD_RELEASE_UNICODE_0="#"
38424 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
38425 COND_BUILD_RELEASE_UNICODE_0=""
38426 fi
38427
38428 COND_BUILD_RELEASE_UNICODE_1="#"
38429 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
38430 COND_BUILD_RELEASE_UNICODE_1=""
38431 fi
38432
38433 COND_DEBUG_FLAG_1="#"
38434 if test "x$DEBUG_FLAG" = "x1" ; then
38435 COND_DEBUG_FLAG_1=""
38436 fi
38437
38438 COND_DEBUG_INFO_0="#"
38439 if test "x$DEBUG_INFO" = "x0" ; then
38440 COND_DEBUG_INFO_0=""
38441 fi
38442
38443 COND_DEBUG_INFO_1="#"
38444 if test "x$DEBUG_INFO" = "x1" ; then
38445 COND_DEBUG_INFO_1=""
38446 fi
38447
38448 COND_DEPS_TRACKING_0="#"
38449 if test "x$DEPS_TRACKING" = "x0" ; then
38450 COND_DEPS_TRACKING_0=""
38451 fi
38452
38453 COND_DEPS_TRACKING_1="#"
38454 if test "x$DEPS_TRACKING" = "x1" ; then
38455 COND_DEPS_TRACKING_1=""
38456 fi
38457
38458 COND_GCC_PCH_1="#"
38459 if test "x$GCC_PCH" = "x1" ; then
38460 COND_GCC_PCH_1=""
38461 fi
38462
38463 COND_MONOLITHIC_0="#"
38464 if test "x$MONOLITHIC" = "x0" ; then
38465 COND_MONOLITHIC_0=""
38466 fi
38467
38468 COND_MONOLITHIC_0_SHARED_0="#"
38469 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
38470 COND_MONOLITHIC_0_SHARED_0=""
38471 fi
38472
38473 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
38474 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
38475 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
38476 fi
38477
38478 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
38479 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38480 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
38481 fi
38482
38483 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1="#"
38484 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_HTML" = "x1" ; then
38485 COND_MONOLITHIC_0_SHARED_0_USE_HTML_1=""
38486 fi
38487
38488 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
38489 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
38490 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
38491 fi
38492
38493 COND_MONOLITHIC_0_SHARED_1="#"
38494 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
38495 COND_MONOLITHIC_0_SHARED_1=""
38496 fi
38497
38498 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
38499 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
38500 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
38501 fi
38502
38503 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
38504 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
38505 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
38506 fi
38507
38508 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1="#"
38509 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_HTML" = "x1" ; then
38510 COND_MONOLITHIC_0_SHARED_1_USE_HTML_1=""
38511 fi
38512
38513 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
38514 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
38515 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
38516 fi
38517
38518 COND_MONOLITHIC_0_USE_ODBC_1="#"
38519 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
38520 COND_MONOLITHIC_0_USE_ODBC_1=""
38521 fi
38522
38523 COND_MONOLITHIC_1="#"
38524 if test "x$MONOLITHIC" = "x1" ; then
38525 COND_MONOLITHIC_1=""
38526 fi
38527
38528 COND_MONOLITHIC_1_SHARED_0="#"
38529 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
38530 COND_MONOLITHIC_1_SHARED_0=""
38531 fi
38532
38533 COND_MONOLITHIC_1_SHARED_1="#"
38534 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
38535 COND_MONOLITHIC_1_SHARED_1=""
38536 fi
38537
38538 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
38539 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
38540 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
38541 fi
38542
38543 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
38544 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
38545 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
38546 fi
38547
38548 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
38549 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
38550 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
38551 fi
38552
38553 COND_PLATFORM_MACOSX_1="#"
38554 if test "x$PLATFORM_MACOSX" = "x1" ; then
38555 COND_PLATFORM_MACOSX_1=""
38556 fi
38557
38558 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
38559 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
38560 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
38561 fi
38562
38563 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
38564 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
38565 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
38566 fi
38567
38568 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
38569 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
38570 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
38571 fi
38572
38573 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
38574 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
38575 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
38576 fi
38577
38578 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
38579 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
38580 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
38581 fi
38582
38583 COND_PLATFORM_MAC_1="#"
38584 if test "x$PLATFORM_MAC" = "x1" ; then
38585 COND_PLATFORM_MAC_1=""
38586 fi
38587
38588 COND_PLATFORM_OS2_1="#"
38589 if test "x$PLATFORM_OS2" = "x1" ; then
38590 COND_PLATFORM_OS2_1=""
38591 fi
38592
38593 COND_PLATFORM_UNIX_0="#"
38594 if test "x$PLATFORM_UNIX" = "x0" ; then
38595 COND_PLATFORM_UNIX_0=""
38596 fi
38597
38598 COND_PLATFORM_UNIX_1="#"
38599 if test "x$PLATFORM_UNIX" = "x1" ; then
38600 COND_PLATFORM_UNIX_1=""
38601 fi
38602
38603 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
38604 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
38605 COND_PLATFORM_UNIX_1_USE_GUI_1=""
38606 fi
38607
38608 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
38609 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
38610 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
38611 fi
38612
38613 COND_PLATFORM_WIN32_0="#"
38614 if test "x$PLATFORM_WIN32" = "x0" ; then
38615 COND_PLATFORM_WIN32_0=""
38616 fi
38617
38618 COND_PLATFORM_WIN32_1="#"
38619 if test "x$PLATFORM_WIN32" = "x1" ; then
38620 COND_PLATFORM_WIN32_1=""
38621 fi
38622
38623 COND_SHARED_0="#"
38624 if test "x$SHARED" = "x0" ; then
38625 COND_SHARED_0=""
38626 fi
38627
38628 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
38629 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38630 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
38631 fi
38632
38633 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38634 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38635 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38636 fi
38637
38638 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38639 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38640 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38641 fi
38642
38643 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38644 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38645 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38646 fi
38647
38648 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
38649 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
38650 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
38651 fi
38652
38653 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
38654 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
38655 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
38656 fi
38657
38658 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
38659 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
38660 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
38661 fi
38662
38663 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
38664 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
38665 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
38666 fi
38667
38668 COND_SHARED_1="#"
38669 if test "x$SHARED" = "x1" ; then
38670 COND_SHARED_1=""
38671 fi
38672
38673 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
38674 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
38675 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
38676 fi
38677
38678 COND_TOOLKIT_COCOA="#"
38679 if test "x$TOOLKIT" = "xCOCOA" ; then
38680 COND_TOOLKIT_COCOA=""
38681 fi
38682
38683 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
38684 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38685 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
38686 fi
38687
38688 COND_TOOLKIT_GTK="#"
38689 if test "x$TOOLKIT" = "xGTK" ; then
38690 COND_TOOLKIT_GTK=""
38691 fi
38692
38693 COND_TOOLKIT_GTK_USE_GUI_1="#"
38694 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
38695 COND_TOOLKIT_GTK_USE_GUI_1=""
38696 fi
38697
38698 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0="#"
38699 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38700 COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0=""
38701 fi
38702
38703 COND_TOOLKIT_MAC="#"
38704 if test "x$TOOLKIT" = "xMAC" ; then
38705 COND_TOOLKIT_MAC=""
38706 fi
38707
38708 COND_TOOLKIT_MAC_USE_GUI_1="#"
38709 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
38710 COND_TOOLKIT_MAC_USE_GUI_1=""
38711 fi
38712
38713 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
38714 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38715 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
38716 fi
38717
38718 COND_TOOLKIT_MGL="#"
38719 if test "x$TOOLKIT" = "xMGL" ; then
38720 COND_TOOLKIT_MGL=""
38721 fi
38722
38723 COND_TOOLKIT_MGL_USE_GUI_1="#"
38724 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
38725 COND_TOOLKIT_MGL_USE_GUI_1=""
38726 fi
38727
38728 COND_TOOLKIT_MOTIF="#"
38729 if test "x$TOOLKIT" = "xMOTIF" ; then
38730 COND_TOOLKIT_MOTIF=""
38731 fi
38732
38733 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
38734 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
38735 COND_TOOLKIT_MOTIF_USE_GUI_1=""
38736 fi
38737
38738 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
38739 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38740 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
38741 fi
38742
38743 COND_TOOLKIT_MSW="#"
38744 if test "x$TOOLKIT" = "xMSW" ; then
38745 COND_TOOLKIT_MSW=""
38746 fi
38747
38748 COND_TOOLKIT_MSW_USE_GUI_1="#"
38749 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
38750 COND_TOOLKIT_MSW_USE_GUI_1=""
38751 fi
38752
38753 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
38754 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38755 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
38756 fi
38757
38758 COND_TOOLKIT_PM="#"
38759 if test "x$TOOLKIT" = "xPM" ; then
38760 COND_TOOLKIT_PM=""
38761 fi
38762
38763 COND_TOOLKIT_PM_USE_GUI_1="#"
38764 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
38765 COND_TOOLKIT_PM_USE_GUI_1=""
38766 fi
38767
38768 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
38769 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38770 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
38771 fi
38772
38773 COND_TOOLKIT_WINCE="#"
38774 if test "x$TOOLKIT" = "xWINCE" ; then
38775 COND_TOOLKIT_WINCE=""
38776 fi
38777
38778 COND_TOOLKIT_WINCE_USE_GUI_1="#"
38779 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
38780 COND_TOOLKIT_WINCE_USE_GUI_1=""
38781 fi
38782
38783 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
38784 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38785 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
38786 fi
38787
38788 COND_TOOLKIT_X11="#"
38789 if test "x$TOOLKIT" = "xX11" ; then
38790 COND_TOOLKIT_X11=""
38791 fi
38792
38793 COND_TOOLKIT_X11_USE_GUI_1="#"
38794 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
38795 COND_TOOLKIT_X11_USE_GUI_1=""
38796 fi
38797
38798 COND_UNICODE_1="#"
38799 if test "x$UNICODE" = "x1" ; then
38800 COND_UNICODE_1=""
38801 fi
38802
38803 COND_USE_EXCEPTIONS_0="#"
38804 if test "x$USE_EXCEPTIONS" = "x0" ; then
38805 COND_USE_EXCEPTIONS_0=""
38806 fi
38807
38808 COND_USE_EXCEPTIONS_1="#"
38809 if test "x$USE_EXCEPTIONS" = "x1" ; then
38810 COND_USE_EXCEPTIONS_1=""
38811 fi
38812
38813 COND_USE_GUI_0="#"
38814 if test "x$USE_GUI" = "x0" ; then
38815 COND_USE_GUI_0=""
38816 fi
38817
38818 COND_USE_GUI_1="#"
38819 if test "x$USE_GUI" = "x1" ; then
38820 COND_USE_GUI_1=""
38821 fi
38822
38823 COND_USE_GUI_1_WXUNIV_0="#"
38824 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
38825 COND_USE_GUI_1_WXUNIV_0=""
38826 fi
38827
38828 COND_USE_GUI_1_WXUNIV_1="#"
38829 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
38830 COND_USE_GUI_1_WXUNIV_1=""
38831 fi
38832
38833 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
38834 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38835 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
38836 fi
38837
38838 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
38839 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38840 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
38841 fi
38842
38843 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
38844 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38845 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
38846 fi
38847
38848 COND_USE_ODBC_1="#"
38849 if test "x$USE_ODBC" = "x1" ; then
38850 COND_USE_ODBC_1=""
38851 fi
38852
38853 COND_USE_PLUGINS_0="#"
38854 if test "x$USE_PLUGINS" = "x0" ; then
38855 COND_USE_PLUGINS_0=""
38856 fi
38857
38858 COND_USE_SOSYMLINKS_1="#"
38859 if test "x$USE_SOSYMLINKS" = "x1" ; then
38860 COND_USE_SOSYMLINKS_1=""
38861 fi
38862
38863 COND_USE_SOVERLINUX_1="#"
38864 if test "x$USE_SOVERLINUX" = "x1" ; then
38865 COND_USE_SOVERLINUX_1=""
38866 fi
38867
38868 COND_USE_SOVERSION_0="#"
38869 if test "x$USE_SOVERSION" = "x0" ; then
38870 COND_USE_SOVERSION_0=""
38871 fi
38872
38873 COND_USE_SOVERSOLARIS_1="#"
38874 if test "x$USE_SOVERSOLARIS" = "x1" ; then
38875 COND_USE_SOVERSOLARIS_1=""
38876 fi
38877
38878 COND_WITH_PLUGIN_SDL_1="#"
38879 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
38880 COND_WITH_PLUGIN_SDL_1=""
38881 fi
38882
38883 COND_WXUNIV_1="#"
38884 if test "x$WXUNIV" = "x1" ; then
38885 COND_WXUNIV_1=""
38886 fi
38887
38888 COND_WXUSE_EXPAT_BUILTIN="#"
38889 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
38890 COND_WXUSE_EXPAT_BUILTIN=""
38891 fi
38892
38893 COND_WXUSE_LIBJPEG_BUILTIN="#"
38894 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
38895 COND_WXUSE_LIBJPEG_BUILTIN=""
38896 fi
38897
38898 COND_WXUSE_LIBPNG_BUILTIN="#"
38899 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
38900 COND_WXUSE_LIBPNG_BUILTIN=""
38901 fi
38902
38903 COND_WXUSE_LIBTIFF_BUILTIN="#"
38904 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
38905 COND_WXUSE_LIBTIFF_BUILTIN=""
38906 fi
38907
38908 COND_WXUSE_ODBC_BUILTIN="#"
38909 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
38910 COND_WXUSE_ODBC_BUILTIN=""
38911 fi
38912
38913 COND_WXUSE_REGEX_BUILTIN="#"
38914 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
38915 COND_WXUSE_REGEX_BUILTIN=""
38916 fi
38917
38918 COND_WXUSE_ZLIB_BUILTIN="#"
38919 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
38920 COND_WXUSE_ZLIB_BUILTIN=""
38921 fi
38922
38923
38924
38925
38926
38927 if test $GCC_PCH = 1 ; then
38928 CODE_GEN_FLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38929 CPPFLAGS="-DWX_PRECOMP -DNO_GCC_PRAGMA $CPPFLAGS"
38930 else
38931 case "${host}" in
38932 powerpc-*-darwin* )
38933 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38934 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
38935 ;;
38936 *-*-mingw32* )
38937 if test "$wxUSE_STL" = "yes"; then
38938 echo "$as_me:$LINENO: checking If this MinGW version needs -DNO_GCC_PRAGMA" >&5
38939 echo $ECHO_N "checking If this MinGW version needs -DNO_GCC_PRAGMA... $ECHO_C" >&6
38940 cat >conftest.$ac_ext <<_ACEOF
38941 #line $LINENO "configure"
38942 /* confdefs.h. */
38943 _ACEOF
38944 cat confdefs.h >>conftest.$ac_ext
38945 cat >>conftest.$ac_ext <<_ACEOF
38946 /* end confdefs.h. */
38947
38948 int
38949 main ()
38950 {
38951 #if !(__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
38952 #error "Not GCC 3.2 or greater"
38953 #endif
38954
38955 ;
38956 return 0;
38957 }
38958 _ACEOF
38959 rm -f conftest.$ac_objext
38960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38961 (eval $ac_compile) 2>&5
38962 ac_status=$?
38963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38964 (exit $ac_status); } &&
38965 { ac_try='test -s conftest.$ac_objext'
38966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38967 (eval $ac_try) 2>&5
38968 ac_status=$?
38969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38970 (exit $ac_status); }; }; then
38971 CODE_GEN_FLAGS="-DNO_GCC_PRAGMA $CODE_GEN_FLAGS"
38972 CPPFLAGS="-DNO_GCC_PRAGMA $CPPFLAGS"
38973 echo "$as_me:$LINENO: result: yes" >&5
38974 echo "${ECHO_T}yes" >&6
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979 echo "$as_me:$LINENO: result: no" >&5
38980 echo "${ECHO_T}no" >&6
38981 fi
38982 rm -f conftest.$ac_objext conftest.$ac_ext
38983 fi
38984 ;;
38985 esac
38986 fi
38987
38988
38989 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
38990
38991
38992
38993
38994
38995
38996
38997
38998
38999
39000
39001
39002
39003
39004
39005
39006
39007
39008
39009
39010
39011
39012
39013
39014
39015
39016
39017
39018
39019
39020
39021
39022
39023
39024
39025
39026
39027
39028
39029
39030
39031
39032
39033
39034
39035
39036
39037
39038
39039
39040
39041
39042
39043
39044
39045
39046
39047
39048
39049
39050
39051
39052
39053
39054
39055
39056
39057
39058
39059
39060
39061
39062
39063
39064
39065
39066
39067
39068
39069
39070
39071
39072
39073
39074
39075
39076
39077
39078
39079
39080
39081
39082
39083
39084
39085
39086
39087
39088
39089
39090 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
39091 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
39092 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
39093 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
39094 echo $ECHO_N "(cached) $ECHO_C" >&6
39095 else
39096 cat >conftest.make <<\_ACEOF
39097 all:
39098 @echo 'ac_maketemp="$(MAKE)"'
39099 _ACEOF
39100 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
39101 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
39102 if test -n "$ac_maketemp"; then
39103 eval ac_cv_prog_make_${ac_make}_set=yes
39104 else
39105 eval ac_cv_prog_make_${ac_make}_set=no
39106 fi
39107 rm -f conftest.make
39108 fi
39109 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
39110 echo "$as_me:$LINENO: result: yes" >&5
39111 echo "${ECHO_T}yes" >&6
39112 SET_MAKE=
39113 else
39114 echo "$as_me:$LINENO: result: no" >&5
39115 echo "${ECHO_T}no" >&6
39116 SET_MAKE="MAKE=${MAKE-make}"
39117 fi
39118
39119
39120 if test -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h; then
39121 mv -f lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h setup.h
39122 fi
39123
39124 ac_config_headers="$ac_config_headers setup.h"
39125
39126
39127 ac_config_files="$ac_config_files wx-config version-script Makefile"
39128
39129
39130 ac_config_commands="$ac_config_commands default"
39131
39132
39133
39134 if test "$wxUSE_GUI" = "yes"; then
39135 SUBDIRS="samples demos utils contrib"
39136 else SUBDIRS="samples utils"
39137 fi
39138
39139
39140
39141 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
39142 if test "${with_cppunit_prefix+set}" = set; then
39143 withval="$with_cppunit_prefix"
39144 cppunit_config_prefix="$withval"
39145 else
39146 cppunit_config_prefix=""
39147 fi;
39148
39149 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
39150 if test "${with_cppunit_exec_prefix+set}" = set; then
39151 withval="$with_cppunit_exec_prefix"
39152 cppunit_config_exec_prefix="$withval"
39153 else
39154 cppunit_config_exec_prefix=""
39155 fi;
39156
39157 if test x$cppunit_config_exec_prefix != x ; then
39158 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
39159 if test x${CPPUNIT_CONFIG+set} != xset ; then
39160 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
39161 fi
39162 fi
39163 if test x$cppunit_config_prefix != x ; then
39164 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
39165 if test x${CPPUNIT_CONFIG+set} != xset ; then
39166 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
39167 fi
39168 fi
39169
39170 # Extract the first word of "cppunit-config", so it can be a program name with args.
39171 set dummy cppunit-config; ac_word=$2
39172 echo "$as_me:$LINENO: checking for $ac_word" >&5
39173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
39174 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
39175 echo $ECHO_N "(cached) $ECHO_C" >&6
39176 else
39177 case $CPPUNIT_CONFIG in
39178 [\\/]* | ?:[\\/]*)
39179 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
39180 ;;
39181 *)
39182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39183 for as_dir in $PATH
39184 do
39185 IFS=$as_save_IFS
39186 test -z "$as_dir" && as_dir=.
39187 for ac_exec_ext in '' $ac_executable_extensions; do
39188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
39189 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
39190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39191 break 2
39192 fi
39193 done
39194 done
39195
39196 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
39197 ;;
39198 esac
39199 fi
39200 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
39201
39202 if test -n "$CPPUNIT_CONFIG"; then
39203 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
39204 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
39205 else
39206 echo "$as_me:$LINENO: result: no" >&5
39207 echo "${ECHO_T}no" >&6
39208 fi
39209
39210 cppunit_version_min=1.8.0
39211
39212 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
39213 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
39214 no_cppunit=""
39215 if test "$CPPUNIT_CONFIG" = "no" ; then
39216 no_cppunit=yes
39217 echo "$as_me:$LINENO: result: no" >&5
39218 echo "${ECHO_T}no" >&6
39219 else
39220 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
39221 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
39222 cppunit_version=`$CPPUNIT_CONFIG --version`
39223
39224 cppunit_major_version=`echo $cppunit_version | \
39225 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39226 cppunit_minor_version=`echo $cppunit_version | \
39227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39228 cppunit_micro_version=`echo $cppunit_version | \
39229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39230
39231 cppunit_major_min=`echo $cppunit_version_min | \
39232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
39233 cppunit_minor_min=`echo $cppunit_version_min | \
39234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
39235 cppunit_micro_min=`echo $cppunit_version_min | \
39236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
39237
39238 cppunit_version_proper=`expr \
39239 $cppunit_major_version \> $cppunit_major_min \| \
39240 $cppunit_major_version \= $cppunit_major_min \& \
39241 $cppunit_minor_version \> $cppunit_minor_min \| \
39242 $cppunit_major_version \= $cppunit_major_min \& \
39243 $cppunit_minor_version \= $cppunit_minor_min \& \
39244 $cppunit_micro_version \>= $cppunit_micro_min `
39245
39246 if test "$cppunit_version_proper" = "1" ; then
39247 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
39248 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
39249 else
39250 echo "$as_me:$LINENO: result: no" >&5
39251 echo "${ECHO_T}no" >&6
39252 no_cppunit=yes
39253 fi
39254 fi
39255
39256 if test "x$no_cppunit" = x ; then
39257 SUBDIRS="$SUBDIRS tests"
39258 else
39259 CPPUNIT_CFLAGS=""
39260 CPPUNIT_LIBS=""
39261 :
39262 fi
39263
39264
39265
39266
39267
39268 for subdir in `echo $SUBDIRS`; do
39269 if test -d ${srcdir}/${subdir} ; then
39270 if test "$wxUSE_GUI" = "yes"; then
39271 if test ${subdir} = "samples"; then
39272 makefiles="samples/Makefile.in $makefiles"
39273 for sample in `echo $SAMPLES_SUBDIRS`; do
39274 if test -d $srcdir/samples/$sample; then
39275 makefiles="samples/$sample/Makefile.in $makefiles"
39276 fi
39277 done
39278 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39279 fi
39280 else if test ${subdir} = "samples"; then
39281 makefiles="samples/Makefile.in samples/console/Makefile.in"
39282 elif test ${subdir} = "utils"; then
39283 makefiles="utils/HelpGen/Makefile.in \
39284 utils/HelpGen/src/Makefile.in \
39285 utils/tex2rtf/Makefile.in \
39286 utils/tex2rtf/src/Makefile.in"
39287 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
39288 fi
39289 fi
39290
39291 for mkin in $makefiles ; do
39292 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
39293 ac_config_files="$ac_config_files $mk"
39294
39295 done
39296 fi
39297 done
39298
39299
39300 cat >confcache <<\_ACEOF
39301 # This file is a shell script that caches the results of configure
39302 # tests run on this system so they can be shared between configure
39303 # scripts and configure runs, see configure's option --config-cache.
39304 # It is not useful on other systems. If it contains results you don't
39305 # want to keep, you may remove or edit it.
39306 #
39307 # config.status only pays attention to the cache file if you give it
39308 # the --recheck option to rerun configure.
39309 #
39310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39312 # following values.
39313
39314 _ACEOF
39315
39316 # The following way of writing the cache mishandles newlines in values,
39317 # but we know of no workaround that is simple, portable, and efficient.
39318 # So, don't put newlines in cache variables' values.
39319 # Ultrix sh set writes to stderr and can't be redirected directly,
39320 # and sets the high bit in the cache file unless we assign to the vars.
39321 {
39322 (set) 2>&1 |
39323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39324 *ac_space=\ *)
39325 # `set' does not quote correctly, so add quotes (double-quote
39326 # substitution turns \\\\ into \\, and sed turns \\ into \).
39327 sed -n \
39328 "s/'/'\\\\''/g;
39329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39330 ;;
39331 *)
39332 # `set' quotes correctly as required by POSIX, so do not add quotes.
39333 sed -n \
39334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39335 ;;
39336 esac;
39337 } |
39338 sed '
39339 t clear
39340 : clear
39341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39342 t end
39343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39344 : end' >>confcache
39345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39346 if test -w $cache_file; then
39347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39348 cat confcache >$cache_file
39349 else
39350 echo "not updating unwritable cache $cache_file"
39351 fi
39352 fi
39353 rm -f confcache
39354
39355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
39356 # Let make expand exec_prefix.
39357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
39358
39359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
39360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
39361 # trailing colons and then remove the whole line if VPATH becomes empty
39362 # (actually we leave an empty line to preserve line numbers).
39363 if test "x$srcdir" = x.; then
39364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
39365 s/:*\$(srcdir):*/:/;
39366 s/:*\${srcdir}:*/:/;
39367 s/:*@srcdir@:*/:/;
39368 s/^\([^=]*=[ ]*\):*/\1/;
39369 s/:*$//;
39370 s/^[^=]*=[ ]*$//;
39371 }'
39372 fi
39373
39374 DEFS=-DHAVE_CONFIG_H
39375
39376 ac_libobjs=
39377 ac_ltlibobjs=
39378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
39379 # 1. Remove the extension, and $U if already installed.
39380 ac_i=`echo "$ac_i" |
39381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
39382 # 2. Add them.
39383 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
39384 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
39385 done
39386 LIBOBJS=$ac_libobjs
39387
39388 LTLIBOBJS=$ac_ltlibobjs
39389
39390
39391
39392 : ${CONFIG_STATUS=./config.status}
39393 ac_clean_files_save=$ac_clean_files
39394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
39395 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
39396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
39397 cat >$CONFIG_STATUS <<_ACEOF
39398 #! $SHELL
39399 # Generated by $as_me.
39400 # Run this file to recreate the current configuration.
39401 # Compiler output produced by configure, useful for debugging
39402 # configure, is in config.log if it exists.
39403
39404 debug=false
39405 ac_cs_recheck=false
39406 ac_cs_silent=false
39407 SHELL=\${CONFIG_SHELL-$SHELL}
39408 _ACEOF
39409
39410 cat >>$CONFIG_STATUS <<\_ACEOF
39411 ## --------------------- ##
39412 ## M4sh Initialization. ##
39413 ## --------------------- ##
39414
39415 # Be Bourne compatible
39416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
39417 emulate sh
39418 NULLCMD=:
39419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39420 # is contrary to our usage. Disable this feature.
39421 alias -g '${1+"$@"}'='"$@"'
39422 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
39423 set -o posix
39424 fi
39425
39426 # Support unset when possible.
39427 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
39428 as_unset=unset
39429 else
39430 as_unset=false
39431 fi
39432
39433
39434 # Work around bugs in pre-3.0 UWIN ksh.
39435 $as_unset ENV MAIL MAILPATH
39436 PS1='$ '
39437 PS2='> '
39438 PS4='+ '
39439
39440 # NLS nuisances.
39441 for as_var in \
39442 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
39443 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
39444 LC_TELEPHONE LC_TIME
39445 do
39446 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
39447 eval $as_var=C; export $as_var
39448 else
39449 $as_unset $as_var
39450 fi
39451 done
39452
39453 # Required to use basename.
39454 if expr a : '\(a\)' >/dev/null 2>&1; then
39455 as_expr=expr
39456 else
39457 as_expr=false
39458 fi
39459
39460 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
39461 as_basename=basename
39462 else
39463 as_basename=false
39464 fi
39465
39466
39467 # Name of the executable.
39468 as_me=`$as_basename "$0" ||
39469 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
39470 X"$0" : 'X\(//\)$' \| \
39471 X"$0" : 'X\(/\)$' \| \
39472 . : '\(.\)' 2>/dev/null ||
39473 echo X/"$0" |
39474 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
39475 /^X\/\(\/\/\)$/{ s//\1/; q; }
39476 /^X\/\(\/\).*/{ s//\1/; q; }
39477 s/.*/./; q'`
39478
39479
39480 # PATH needs CR, and LINENO needs CR and PATH.
39481 # Avoid depending upon Character Ranges.
39482 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
39483 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39484 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39485 as_cr_digits='0123456789'
39486 as_cr_alnum=$as_cr_Letters$as_cr_digits
39487
39488 # The user is always right.
39489 if test "${PATH_SEPARATOR+set}" != set; then
39490 echo "#! /bin/sh" >conf$$.sh
39491 echo "exit 0" >>conf$$.sh
39492 chmod +x conf$$.sh
39493 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
39494 PATH_SEPARATOR=';'
39495 else
39496 PATH_SEPARATOR=:
39497 fi
39498 rm -f conf$$.sh
39499 fi
39500
39501
39502 as_lineno_1=$LINENO
39503 as_lineno_2=$LINENO
39504 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39505 test "x$as_lineno_1" != "x$as_lineno_2" &&
39506 test "x$as_lineno_3" = "x$as_lineno_2" || {
39507 # Find who we are. Look in the path if we contain no path at all
39508 # relative or not.
39509 case $0 in
39510 *[\\/]* ) as_myself=$0 ;;
39511 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39512 for as_dir in $PATH
39513 do
39514 IFS=$as_save_IFS
39515 test -z "$as_dir" && as_dir=.
39516 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
39517 done
39518
39519 ;;
39520 esac
39521 # We did not find ourselves, most probably we were run as `sh COMMAND'
39522 # in which case we are not to be found in the path.
39523 if test "x$as_myself" = x; then
39524 as_myself=$0
39525 fi
39526 if test ! -f "$as_myself"; then
39527 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
39528 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
39529 { (exit 1); exit 1; }; }
39530 fi
39531 case $CONFIG_SHELL in
39532 '')
39533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39534 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
39535 do
39536 IFS=$as_save_IFS
39537 test -z "$as_dir" && as_dir=.
39538 for as_base in sh bash ksh sh5; do
39539 case $as_dir in
39540 /*)
39541 if ("$as_dir/$as_base" -c '
39542 as_lineno_1=$LINENO
39543 as_lineno_2=$LINENO
39544 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
39545 test "x$as_lineno_1" != "x$as_lineno_2" &&
39546 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
39547 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
39548 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
39549 CONFIG_SHELL=$as_dir/$as_base
39550 export CONFIG_SHELL
39551 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
39552 fi;;
39553 esac
39554 done
39555 done
39556 ;;
39557 esac
39558
39559 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
39560 # uniformly replaced by the line number. The first 'sed' inserts a
39561 # line-number line before each line; the second 'sed' does the real
39562 # work. The second script uses 'N' to pair each line-number line
39563 # with the numbered line, and appends trailing '-' during
39564 # substitution so that $LINENO is not a special case at line end.
39565 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
39566 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
39567 sed '=' <$as_myself |
39568 sed '
39569 N
39570 s,$,-,
39571 : loop
39572 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
39573 t loop
39574 s,-$,,
39575 s,^['$as_cr_digits']*\n,,
39576 ' >$as_me.lineno &&
39577 chmod +x $as_me.lineno ||
39578 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
39579 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
39580 { (exit 1); exit 1; }; }
39581
39582 # Don't try to exec as it changes $[0], causing all sort of problems
39583 # (the dirname of $[0] is not the place where we might find the
39584 # original and so on. Autoconf is especially sensible to this).
39585 . ./$as_me.lineno
39586 # Exit status is that of the last command.
39587 exit
39588 }
39589
39590
39591 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
39592 *c*,-n*) ECHO_N= ECHO_C='
39593 ' ECHO_T=' ' ;;
39594 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
39595 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
39596 esac
39597
39598 if expr a : '\(a\)' >/dev/null 2>&1; then
39599 as_expr=expr
39600 else
39601 as_expr=false
39602 fi
39603
39604 rm -f conf$$ conf$$.exe conf$$.file
39605 echo >conf$$.file
39606 if ln -s conf$$.file conf$$ 2>/dev/null; then
39607 # We could just check for DJGPP; but this test a) works b) is more generic
39608 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
39609 if test -f conf$$.exe; then
39610 # Don't use ln at all; we don't have any links
39611 as_ln_s='cp -p'
39612 else
39613 as_ln_s='ln -s'
39614 fi
39615 elif ln conf$$.file conf$$ 2>/dev/null; then
39616 as_ln_s=ln
39617 else
39618 as_ln_s='cp -p'
39619 fi
39620 rm -f conf$$ conf$$.exe conf$$.file
39621
39622 if mkdir -p . 2>/dev/null; then
39623 as_mkdir_p=:
39624 else
39625 as_mkdir_p=false
39626 fi
39627
39628 as_executable_p="test -f"
39629
39630 # Sed expression to map a string onto a valid CPP name.
39631 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
39632
39633 # Sed expression to map a string onto a valid variable name.
39634 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
39635
39636
39637 # IFS
39638 # We need space, tab and new line, in precisely that order.
39639 as_nl='
39640 '
39641 IFS=" $as_nl"
39642
39643 # CDPATH.
39644 $as_unset CDPATH
39645
39646 exec 6>&1
39647
39648 # Open the log real soon, to keep \$[0] and so on meaningful, and to
39649 # report actual input values of CONFIG_FILES etc. instead of their
39650 # values after options handling. Logging --version etc. is OK.
39651 exec 5>>config.log
39652 {
39653 echo
39654 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
39655 ## Running $as_me. ##
39656 _ASBOX
39657 } >&5
39658 cat >&5 <<_CSEOF
39659
39660 This file was extended by wxWidgets $as_me 2.5.2, which was
39661 generated by GNU Autoconf 2.57. Invocation command line was
39662
39663 CONFIG_FILES = $CONFIG_FILES
39664 CONFIG_HEADERS = $CONFIG_HEADERS
39665 CONFIG_LINKS = $CONFIG_LINKS
39666 CONFIG_COMMANDS = $CONFIG_COMMANDS
39667 $ $0 $@
39668
39669 _CSEOF
39670 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
39671 echo >&5
39672 _ACEOF
39673
39674 # Files that config.status was made for.
39675 if test -n "$ac_config_files"; then
39676 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
39677 fi
39678
39679 if test -n "$ac_config_headers"; then
39680 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
39681 fi
39682
39683 if test -n "$ac_config_links"; then
39684 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
39685 fi
39686
39687 if test -n "$ac_config_commands"; then
39688 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
39689 fi
39690
39691 cat >>$CONFIG_STATUS <<\_ACEOF
39692
39693 ac_cs_usage="\
39694 \`$as_me' instantiates files from templates according to the
39695 current configuration.
39696
39697 Usage: $0 [OPTIONS] [FILE]...
39698
39699 -h, --help print this help, then exit
39700 -V, --version print version number, then exit
39701 -q, --quiet do not print progress messages
39702 -d, --debug don't remove temporary files
39703 --recheck update $as_me by reconfiguring in the same conditions
39704 --file=FILE[:TEMPLATE]
39705 instantiate the configuration file FILE
39706 --header=FILE[:TEMPLATE]
39707 instantiate the configuration header FILE
39708
39709 Configuration files:
39710 $config_files
39711
39712 Configuration headers:
39713 $config_headers
39714
39715 Configuration commands:
39716 $config_commands
39717
39718 Report bugs to <bug-autoconf@gnu.org>."
39719 _ACEOF
39720
39721 cat >>$CONFIG_STATUS <<_ACEOF
39722 ac_cs_version="\\
39723 wxWidgets config.status 2.5.2
39724 configured by $0, generated by GNU Autoconf 2.57,
39725 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
39726
39727 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
39728 Free Software Foundation, Inc.
39729 This config.status script is free software; the Free Software Foundation
39730 gives unlimited permission to copy, distribute and modify it."
39731 srcdir=$srcdir
39732 INSTALL="$INSTALL"
39733 _ACEOF
39734
39735 cat >>$CONFIG_STATUS <<\_ACEOF
39736 # If no file are specified by the user, then we need to provide default
39737 # value. By we need to know if files were specified by the user.
39738 ac_need_defaults=:
39739 while test $# != 0
39740 do
39741 case $1 in
39742 --*=*)
39743 ac_option=`expr "x$1" : 'x\([^=]*\)='`
39744 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
39745 ac_shift=:
39746 ;;
39747 -*)
39748 ac_option=$1
39749 ac_optarg=$2
39750 ac_shift=shift
39751 ;;
39752 *) # This is not an option, so the user has probably given explicit
39753 # arguments.
39754 ac_option=$1
39755 ac_need_defaults=false;;
39756 esac
39757
39758 case $ac_option in
39759 # Handling of the options.
39760 _ACEOF
39761 cat >>$CONFIG_STATUS <<\_ACEOF
39762 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
39763 ac_cs_recheck=: ;;
39764 --version | --vers* | -V )
39765 echo "$ac_cs_version"; exit 0 ;;
39766 --he | --h)
39767 # Conflict between --help and --header
39768 { { echo "$as_me:$LINENO: error: ambiguous option: $1
39769 Try \`$0 --help' for more information." >&5
39770 echo "$as_me: error: ambiguous option: $1
39771 Try \`$0 --help' for more information." >&2;}
39772 { (exit 1); exit 1; }; };;
39773 --help | --hel | -h )
39774 echo "$ac_cs_usage"; exit 0 ;;
39775 --debug | --d* | -d )
39776 debug=: ;;
39777 --file | --fil | --fi | --f )
39778 $ac_shift
39779 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
39780 ac_need_defaults=false;;
39781 --header | --heade | --head | --hea )
39782 $ac_shift
39783 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
39784 ac_need_defaults=false;;
39785 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
39786 | -silent | --silent | --silen | --sile | --sil | --si | --s)
39787 ac_cs_silent=: ;;
39788
39789 # This is an error.
39790 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
39791 Try \`$0 --help' for more information." >&5
39792 echo "$as_me: error: unrecognized option: $1
39793 Try \`$0 --help' for more information." >&2;}
39794 { (exit 1); exit 1; }; } ;;
39795
39796 *) ac_config_targets="$ac_config_targets $1" ;;
39797
39798 esac
39799 shift
39800 done
39801
39802 ac_configure_extra_args=
39803
39804 if $ac_cs_silent; then
39805 exec 6>/dev/null
39806 ac_configure_extra_args="$ac_configure_extra_args --silent"
39807 fi
39808
39809 _ACEOF
39810 cat >>$CONFIG_STATUS <<_ACEOF
39811 if \$ac_cs_recheck; then
39812 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
39813 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
39814 fi
39815
39816 _ACEOF
39817
39818 cat >>$CONFIG_STATUS <<_ACEOF
39819 #
39820 # INIT-COMMANDS section.
39821 #
39822
39823
39824 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
39825 LN_S="${LN_S}"
39826
39827
39828
39829 _ACEOF
39830
39831
39832
39833 cat >>$CONFIG_STATUS <<\_ACEOF
39834 for ac_config_target in $ac_config_targets
39835 do
39836 case "$ac_config_target" in
39837 # Handling of arguments.
39838 "wx-config" ) CONFIG_FILES="$CONFIG_FILES wx-config" ;;
39839 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
39840 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
39841 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
39842 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
39843 "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;;
39844 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
39845 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
39846 { (exit 1); exit 1; }; };;
39847 esac
39848 done
39849
39850 # If the user did not use the arguments to specify the items to instantiate,
39851 # then the envvar interface is used. Set only those that are not.
39852 # We use the long form for the default assignment because of an extremely
39853 # bizarre bug on SunOS 4.1.3.
39854 if $ac_need_defaults; then
39855 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
39856 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
39857 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
39858 fi
39859
39860 # Have a temporary directory for convenience. Make it in the build tree
39861 # simply because there is no reason to put it here, and in addition,
39862 # creating and moving files from /tmp can sometimes cause problems.
39863 # Create a temporary directory, and hook for its removal unless debugging.
39864 $debug ||
39865 {
39866 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
39867 trap '{ (exit 1); exit 1; }' 1 2 13 15
39868 }
39869
39870 # Create a (secure) tmp directory for tmp files.
39871
39872 {
39873 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
39874 test -n "$tmp" && test -d "$tmp"
39875 } ||
39876 {
39877 tmp=./confstat$$-$RANDOM
39878 (umask 077 && mkdir $tmp)
39879 } ||
39880 {
39881 echo "$me: cannot create a temporary directory in ." >&2
39882 { (exit 1); exit 1; }
39883 }
39884
39885 _ACEOF
39886
39887 cat >>$CONFIG_STATUS <<_ACEOF
39888
39889 #
39890 # CONFIG_FILES section.
39891 #
39892
39893 # No need to generate the scripts if there are no CONFIG_FILES.
39894 # This happens for instance when ./config.status config.h
39895 if test -n "\$CONFIG_FILES"; then
39896 # Protect against being on the right side of a sed subst in config.status.
39897 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
39898 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
39899 s,@SHELL@,$SHELL,;t t
39900 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
39901 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
39902 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
39903 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
39904 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
39905 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
39906 s,@exec_prefix@,$exec_prefix,;t t
39907 s,@prefix@,$prefix,;t t
39908 s,@program_transform_name@,$program_transform_name,;t t
39909 s,@bindir@,$bindir,;t t
39910 s,@sbindir@,$sbindir,;t t
39911 s,@libexecdir@,$libexecdir,;t t
39912 s,@datadir@,$datadir,;t t
39913 s,@sysconfdir@,$sysconfdir,;t t
39914 s,@sharedstatedir@,$sharedstatedir,;t t
39915 s,@localstatedir@,$localstatedir,;t t
39916 s,@libdir@,$libdir,;t t
39917 s,@includedir@,$includedir,;t t
39918 s,@oldincludedir@,$oldincludedir,;t t
39919 s,@infodir@,$infodir,;t t
39920 s,@mandir@,$mandir,;t t
39921 s,@build_alias@,$build_alias,;t t
39922 s,@host_alias@,$host_alias,;t t
39923 s,@target_alias@,$target_alias,;t t
39924 s,@DEFS@,$DEFS,;t t
39925 s,@ECHO_C@,$ECHO_C,;t t
39926 s,@ECHO_N@,$ECHO_N,;t t
39927 s,@ECHO_T@,$ECHO_T,;t t
39928 s,@LIBS@,$LIBS,;t t
39929 s,@build@,$build,;t t
39930 s,@build_cpu@,$build_cpu,;t t
39931 s,@build_vendor@,$build_vendor,;t t
39932 s,@build_os@,$build_os,;t t
39933 s,@host@,$host,;t t
39934 s,@host_cpu@,$host_cpu,;t t
39935 s,@host_vendor@,$host_vendor,;t t
39936 s,@host_os@,$host_os,;t t
39937 s,@target@,$target,;t t
39938 s,@target_cpu@,$target_cpu,;t t
39939 s,@target_vendor@,$target_vendor,;t t
39940 s,@target_os@,$target_os,;t t
39941 s,@CC@,$CC,;t t
39942 s,@CFLAGS@,$CFLAGS,;t t
39943 s,@LDFLAGS@,$LDFLAGS,;t t
39944 s,@CPPFLAGS@,$CPPFLAGS,;t t
39945 s,@ac_ct_CC@,$ac_ct_CC,;t t
39946 s,@EXEEXT@,$EXEEXT,;t t
39947 s,@OBJEXT@,$OBJEXT,;t t
39948 s,@CPP@,$CPP,;t t
39949 s,@EGREP@,$EGREP,;t t
39950 s,@CXX@,$CXX,;t t
39951 s,@CXXFLAGS@,$CXXFLAGS,;t t
39952 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
39953 s,@RANLIB@,$RANLIB,;t t
39954 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
39955 s,@AR@,$AR,;t t
39956 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
39957 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
39958 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
39959 s,@STRIP@,$STRIP,;t t
39960 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
39961 s,@LN_S@,$LN_S,;t t
39962 s,@CXXCPP@,$CXXCPP,;t t
39963 s,@subdirs@,$subdirs,;t t
39964 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
39965 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
39966 s,@GTK_LIBS@,$GTK_LIBS,;t t
39967 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
39968 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
39969 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
39970 s,@X_CFLAGS@,$X_CFLAGS,;t t
39971 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
39972 s,@X_LIBS@,$X_LIBS,;t t
39973 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
39974 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
39975 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
39976 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
39977 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
39978 s,@RESCOMP@,$RESCOMP,;t t
39979 s,@DEREZ@,$DEREZ,;t t
39980 s,@SETFILE@,$SETFILE,;t t
39981 s,@LIBICONV@,$LIBICONV,;t t
39982 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
39983 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
39984 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
39985 s,@SDL_LIBS@,$SDL_LIBS,;t t
39986 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
39987 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
39988 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
39989 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
39990 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
39991 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
39992 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
39993 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
39994 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
39995 s,@VENDOR@,$VENDOR,;t t
39996 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
39997 s,@WXUNIV@,$WXUNIV,;t t
39998 s,@MONOLITHIC@,$MONOLITHIC,;t t
39999 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
40000 s,@EXTRALIBS@,$EXTRALIBS,;t t
40001 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
40002 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
40003 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
40004 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
40005 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
40006 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
40007 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
40008 s,@UNICODE@,$UNICODE,;t t
40009 s,@BUILD@,$BUILD,;t t
40010 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
40011 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
40012 s,@SHARED@,$SHARED,;t t
40013 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
40014 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
40015 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
40016 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
40017 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
40018 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
40019 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
40020 s,@SET_MAKE@,$SET_MAKE,;t t
40021 s,@MAKE_SET@,$MAKE_SET,;t t
40022 s,@ac_ct_AR@,$ac_ct_AR,;t t
40023 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
40024 s,@NM@,$NM,;t t
40025 s,@ac_ct_NM@,$ac_ct_NM,;t t
40026 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
40027 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
40028 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
40029 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
40030 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
40031 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
40032 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
40033 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
40034 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
40035 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
40036 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
40037 s,@LIBPREFIX@,$LIBPREFIX,;t t
40038 s,@LIBEXT@,$LIBEXT,;t t
40039 s,@DLLPREFIX@,$DLLPREFIX,;t t
40040 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
40041 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
40042 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
40043 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
40044 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
40045 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
40046 s,@PIC_FLAG@,$PIC_FLAG,;t t
40047 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
40048 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
40049 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
40050 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
40051 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
40052 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
40053 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
40054 s,@GCC_PCH@,$GCC_PCH,;t t
40055 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
40056 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
40057 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
40058 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
40059 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
40060 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
40061 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
40062 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
40063 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
40064 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
40065 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
40066 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
40067 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
40068 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
40069 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
40070 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
40071 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
40072 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
40073 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
40074 s,@COND_MONOLITHIC_0_SHARED_0_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_HTML_1,;t t
40075 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
40076 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
40077 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
40078 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
40079 s,@COND_MONOLITHIC_0_SHARED_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_HTML_1,;t t
40080 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
40081 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
40082 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
40083 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
40084 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
40085 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
40086 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
40087 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
40088 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
40089 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
40090 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
40091 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
40092 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
40093 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
40094 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
40095 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
40096 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
40097 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
40098 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
40099 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
40100 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
40101 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
40102 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
40103 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
40104 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40105 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40106 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40107 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
40108 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
40109 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
40110 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
40111 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
40112 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
40113 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
40114 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
40115 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
40116 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
40117 s,@COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_USE_GUI_1_WXUNIV_0,;t t
40118 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
40119 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
40120 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
40121 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
40122 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
40123 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
40124 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
40125 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
40126 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
40127 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
40128 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
40129 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
40130 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
40131 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
40132 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
40133 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
40134 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
40135 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
40136 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
40137 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
40138 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
40139 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
40140 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
40141 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
40142 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
40143 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
40144 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
40145 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
40146 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
40147 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
40148 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
40149 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
40150 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
40151 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
40152 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
40153 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
40154 s,@COND_WITH_SDL_1@,$COND_WITH_SDL_1,;t t
40155 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
40156 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
40157 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
40158 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
40159 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
40160 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
40161 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
40162 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
40163 s,@PATH_IFS@,$PATH_IFS,;t t
40164 s,@WX_MAJOR_VERSION_NUMBER@,$WX_MAJOR_VERSION_NUMBER,;t t
40165 s,@WX_MINOR_VERSION_NUMBER@,$WX_MINOR_VERSION_NUMBER,;t t
40166 s,@WX_RELEASE_NUMBER@,$WX_RELEASE_NUMBER,;t t
40167 s,@WX_LIBRARY_NAME_STATIC@,$WX_LIBRARY_NAME_STATIC,;t t
40168 s,@WX_LIBRARY_NAME_SHARED@,$WX_LIBRARY_NAME_SHARED,;t t
40169 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
40170 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
40171 s,@WX_LIBRARY_IMPORTLIB@,$WX_LIBRARY_IMPORTLIB,;t t
40172 s,@WX_TARGET_LIBRARY@,$WX_TARGET_LIBRARY,;t t
40173 s,@WX_LIBRARY_LINK1@,$WX_LIBRARY_LINK1,;t t
40174 s,@WX_LIBRARY_LINK2@,$WX_LIBRARY_LINK2,;t t
40175 s,@PROGRAM_EXT@,$PROGRAM_EXT,;t t
40176 s,@WX_LIBRARY_NAME_STATIC_GL@,$WX_LIBRARY_NAME_STATIC_GL,;t t
40177 s,@WX_LIBRARY_NAME_SHARED_GL@,$WX_LIBRARY_NAME_SHARED_GL,;t t
40178 s,@WX_TARGET_LIBRARY_GL@,$WX_TARGET_LIBRARY_GL,;t t
40179 s,@WX_LIBRARY_LINK1_GL@,$WX_LIBRARY_LINK1_GL,;t t
40180 s,@WX_LIBRARY_LINK2_GL@,$WX_LIBRARY_LINK2_GL,;t t
40181 s,@WX_ALL@,$WX_ALL,;t t
40182 s,@WX_ALL_INSTALLED@,$WX_ALL_INSTALLED,;t t
40183 s,@SHARED_LD@,$SHARED_LD,;t t
40184 s,@WX_TARGET_LIBRARY_TYPE@,$WX_TARGET_LIBRARY_TYPE,;t t
40185 s,@STATIC_FLAG@,$STATIC_FLAG,;t t
40186 s,@WXDEBUG_DEFINE@,$WXDEBUG_DEFINE,;t t
40187 s,@USE_GUI@,$USE_GUI,;t t
40188 s,@AFMINSTALL@,$AFMINSTALL,;t t
40189 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
40190 s,@TOOLKIT@,$TOOLKIT,;t t
40191 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
40192 s,@TOOLKIT_VPATH@,$TOOLKIT_VPATH,;t t
40193 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
40194 s,@TOOLCHAIN_DEFS@,$TOOLCHAIN_DEFS,;t t
40195 s,@TOOLCHAIN_DLL_DEFS@,$TOOLCHAIN_DLL_DEFS,;t t
40196 s,@top_builddir_wxconfig@,$top_builddir_wxconfig,;t t
40197 s,@cross_compiling@,$cross_compiling,;t t
40198 s,@WXCONFIG_EXTRALIBS@,$WXCONFIG_EXTRALIBS,;t t
40199 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
40200 s,@WXCONFIG_LIBS_GL@,$WXCONFIG_LIBS_GL,;t t
40201 s,@WXCONFIG_LIBS_STATIC@,$WXCONFIG_LIBS_STATIC,;t t
40202 s,@WXCONFIG_LIBS_STATIC_GL@,$WXCONFIG_LIBS_STATIC_GL,;t t
40203 s,@WXCONFIG_INCLUDE@,$WXCONFIG_INCLUDE,;t t
40204 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
40205 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
40206 s,@WX_LARGEFILE_FLAGS@,$WX_LARGEFILE_FLAGS,;t t
40207 s,@CODE_GEN_FLAGS@,$CODE_GEN_FLAGS,;t t
40208 s,@CODE_GEN_FLAGS_CXX@,$CODE_GEN_FLAGS_CXX,;t t
40209 s,@ALL_OBJECTS@,$ALL_OBJECTS,;t t
40210 s,@ALL_HEADERS@,$ALL_HEADERS,;t t
40211 s,@ALL_SOURCES@,$ALL_SOURCES,;t t
40212 s,@GUIDIST@,$GUIDIST,;t t
40213 s,@PORT_FILES@,$PORT_FILES,;t t
40214 s,@DISTDIR@,$DISTDIR,;t t
40215 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
40216 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
40217 s,@LDFLAGS_VERSIONING@,$LDFLAGS_VERSIONING,;t t
40218 s,@LDFLAGS_EXE@,$LDFLAGS_EXE,;t t
40219 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
40220 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
40221 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
40222 s,@RESFLAGS@,$RESFLAGS,;t t
40223 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
40224 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
40225 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
40226 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
40227 s,@MACRESCOMP@,$MACRESCOMP,;t t
40228 s,@MACSETFILE@,$MACSETFILE,;t t
40229 s,@MACRESWXCONFIG@,$MACRESWXCONFIG,;t t
40230 s,@GCC@,$GCC,;t t
40231 s,@GCC_SEARCHES_USR_LOCAL_INCLUDE@,$GCC_SEARCHES_USR_LOCAL_INCLUDE,;t t
40232 s,@DLLTOOL@,$DLLTOOL,;t t
40233 s,@AS@,$AS,;t t
40234 s,@LD@,$LD,;t t
40235 s,@MAKEINFO@,$MAKEINFO,;t t
40236 s,@INSTALL_LIBRARY@,$INSTALL_LIBRARY,;t t
40237 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
40238 s,@LIBOBJS@,$LIBOBJS,;t t
40239 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
40240 CEOF
40241
40242 _ACEOF
40243
40244 cat >>$CONFIG_STATUS <<\_ACEOF
40245 # Split the substitutions into bite-sized pieces for seds with
40246 # small command number limits, like on Digital OSF/1 and HP-UX.
40247 ac_max_sed_lines=48
40248 ac_sed_frag=1 # Number of current file.
40249 ac_beg=1 # First line for current file.
40250 ac_end=$ac_max_sed_lines # Line after last line for current file.
40251 ac_more_lines=:
40252 ac_sed_cmds=
40253 while $ac_more_lines; do
40254 if test $ac_beg -gt 1; then
40255 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40256 else
40257 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
40258 fi
40259 if test ! -s $tmp/subs.frag; then
40260 ac_more_lines=false
40261 else
40262 # The purpose of the label and of the branching condition is to
40263 # speed up the sed processing (if there are no `@' at all, there
40264 # is no need to browse any of the substitutions).
40265 # These are the two extra sed commands mentioned above.
40266 (echo ':t
40267 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
40268 if test -z "$ac_sed_cmds"; then
40269 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
40270 else
40271 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
40272 fi
40273 ac_sed_frag=`expr $ac_sed_frag + 1`
40274 ac_beg=$ac_end
40275 ac_end=`expr $ac_end + $ac_max_sed_lines`
40276 fi
40277 done
40278 if test -z "$ac_sed_cmds"; then
40279 ac_sed_cmds=cat
40280 fi
40281 fi # test -n "$CONFIG_FILES"
40282
40283 _ACEOF
40284 cat >>$CONFIG_STATUS <<\_ACEOF
40285 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
40286 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40287 case $ac_file in
40288 - | *:- | *:-:* ) # input from stdin
40289 cat >$tmp/stdin
40290 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40291 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40292 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40294 * ) ac_file_in=$ac_file.in ;;
40295 esac
40296
40297 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
40298 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40299 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40300 X"$ac_file" : 'X\(//\)[^/]' \| \
40301 X"$ac_file" : 'X\(//\)$' \| \
40302 X"$ac_file" : 'X\(/\)' \| \
40303 . : '\(.\)' 2>/dev/null ||
40304 echo X"$ac_file" |
40305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40307 /^X\(\/\/\)$/{ s//\1/; q; }
40308 /^X\(\/\).*/{ s//\1/; q; }
40309 s/.*/./; q'`
40310 { if $as_mkdir_p; then
40311 mkdir -p "$ac_dir"
40312 else
40313 as_dir="$ac_dir"
40314 as_dirs=
40315 while test ! -d "$as_dir"; do
40316 as_dirs="$as_dir $as_dirs"
40317 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40318 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40319 X"$as_dir" : 'X\(//\)[^/]' \| \
40320 X"$as_dir" : 'X\(//\)$' \| \
40321 X"$as_dir" : 'X\(/\)' \| \
40322 . : '\(.\)' 2>/dev/null ||
40323 echo X"$as_dir" |
40324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40325 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40326 /^X\(\/\/\)$/{ s//\1/; q; }
40327 /^X\(\/\).*/{ s//\1/; q; }
40328 s/.*/./; q'`
40329 done
40330 test ! -n "$as_dirs" || mkdir $as_dirs
40331 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40332 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40333 { (exit 1); exit 1; }; }; }
40334
40335 ac_builddir=.
40336
40337 if test "$ac_dir" != .; then
40338 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40339 # A "../" for each directory in $ac_dir_suffix.
40340 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40341 else
40342 ac_dir_suffix= ac_top_builddir=
40343 fi
40344
40345 case $srcdir in
40346 .) # No --srcdir option. We are building in place.
40347 ac_srcdir=.
40348 if test -z "$ac_top_builddir"; then
40349 ac_top_srcdir=.
40350 else
40351 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40352 fi ;;
40353 [\\/]* | ?:[\\/]* ) # Absolute path.
40354 ac_srcdir=$srcdir$ac_dir_suffix;
40355 ac_top_srcdir=$srcdir ;;
40356 *) # Relative path.
40357 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40358 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40359 esac
40360 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40361 # absolute.
40362 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40363 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40364 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40365 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40366
40367
40368 case $INSTALL in
40369 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
40370 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
40371 esac
40372
40373 if test x"$ac_file" != x-; then
40374 { echo "$as_me:$LINENO: creating $ac_file" >&5
40375 echo "$as_me: creating $ac_file" >&6;}
40376 rm -f "$ac_file"
40377 fi
40378 # Let's still pretend it is `configure' which instantiates (i.e., don't
40379 # use $as_me), people would be surprised to read:
40380 # /* config.h. Generated by config.status. */
40381 if test x"$ac_file" = x-; then
40382 configure_input=
40383 else
40384 configure_input="$ac_file. "
40385 fi
40386 configure_input=$configure_input"Generated from `echo $ac_file_in |
40387 sed 's,.*/,,'` by configure."
40388
40389 # First look for the input files in the build tree, otherwise in the
40390 # src tree.
40391 ac_file_inputs=`IFS=:
40392 for f in $ac_file_in; do
40393 case $f in
40394 -) echo $tmp/stdin ;;
40395 [\\/$]*)
40396 # Absolute (can't be DOS-style, as IFS=:)
40397 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40398 echo "$as_me: error: cannot find input file: $f" >&2;}
40399 { (exit 1); exit 1; }; }
40400 echo $f;;
40401 *) # Relative
40402 if test -f "$f"; then
40403 # Build tree
40404 echo $f
40405 elif test -f "$srcdir/$f"; then
40406 # Source tree
40407 echo $srcdir/$f
40408 else
40409 # /dev/null tree
40410 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40411 echo "$as_me: error: cannot find input file: $f" >&2;}
40412 { (exit 1); exit 1; }; }
40413 fi;;
40414 esac
40415 done` || { (exit 1); exit 1; }
40416 _ACEOF
40417 cat >>$CONFIG_STATUS <<_ACEOF
40418 sed "$ac_vpsub
40419 $extrasub
40420 _ACEOF
40421 cat >>$CONFIG_STATUS <<\_ACEOF
40422 :t
40423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
40424 s,@configure_input@,$configure_input,;t t
40425 s,@srcdir@,$ac_srcdir,;t t
40426 s,@abs_srcdir@,$ac_abs_srcdir,;t t
40427 s,@top_srcdir@,$ac_top_srcdir,;t t
40428 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
40429 s,@builddir@,$ac_builddir,;t t
40430 s,@abs_builddir@,$ac_abs_builddir,;t t
40431 s,@top_builddir@,$ac_top_builddir,;t t
40432 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
40433 s,@INSTALL@,$ac_INSTALL,;t t
40434 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
40435 rm -f $tmp/stdin
40436 if test x"$ac_file" != x-; then
40437 mv $tmp/out $ac_file
40438 else
40439 cat $tmp/out
40440 rm -f $tmp/out
40441 fi
40442
40443 done
40444 _ACEOF
40445 cat >>$CONFIG_STATUS <<\_ACEOF
40446
40447 #
40448 # CONFIG_HEADER section.
40449 #
40450
40451 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
40452 # NAME is the cpp macro being defined and VALUE is the value it is being given.
40453 #
40454 # ac_d sets the value in "#define NAME VALUE" lines.
40455 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
40456 ac_dB='[ ].*$,\1#\2'
40457 ac_dC=' '
40458 ac_dD=',;t'
40459 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
40460 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
40461 ac_uB='$,\1#\2define\3'
40462 ac_uC=' '
40463 ac_uD=',;t'
40464
40465 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
40466 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
40467 case $ac_file in
40468 - | *:- | *:-:* ) # input from stdin
40469 cat >$tmp/stdin
40470 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40471 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40472 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
40473 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
40474 * ) ac_file_in=$ac_file.in ;;
40475 esac
40476
40477 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
40478 echo "$as_me: creating $ac_file" >&6;}
40479
40480 # First look for the input files in the build tree, otherwise in the
40481 # src tree.
40482 ac_file_inputs=`IFS=:
40483 for f in $ac_file_in; do
40484 case $f in
40485 -) echo $tmp/stdin ;;
40486 [\\/$]*)
40487 # Absolute (can't be DOS-style, as IFS=:)
40488 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40489 echo "$as_me: error: cannot find input file: $f" >&2;}
40490 { (exit 1); exit 1; }; }
40491 echo $f;;
40492 *) # Relative
40493 if test -f "$f"; then
40494 # Build tree
40495 echo $f
40496 elif test -f "$srcdir/$f"; then
40497 # Source tree
40498 echo $srcdir/$f
40499 else
40500 # /dev/null tree
40501 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
40502 echo "$as_me: error: cannot find input file: $f" >&2;}
40503 { (exit 1); exit 1; }; }
40504 fi;;
40505 esac
40506 done` || { (exit 1); exit 1; }
40507 # Remove the trailing spaces.
40508 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
40509
40510 _ACEOF
40511
40512 # Transform confdefs.h into two sed scripts, `conftest.defines' and
40513 # `conftest.undefs', that substitutes the proper values into
40514 # config.h.in to produce config.h. The first handles `#define'
40515 # templates, and the second `#undef' templates.
40516 # And first: Protect against being on the right side of a sed subst in
40517 # config.status. Protect against being in an unquoted here document
40518 # in config.status.
40519 rm -f conftest.defines conftest.undefs
40520 # Using a here document instead of a string reduces the quoting nightmare.
40521 # Putting comments in sed scripts is not portable.
40522 #
40523 # `end' is used to avoid that the second main sed command (meant for
40524 # 0-ary CPP macros) applies to n-ary macro definitions.
40525 # See the Autoconf documentation for `clear'.
40526 cat >confdef2sed.sed <<\_ACEOF
40527 s/[\\&,]/\\&/g
40528 s,[\\$`],\\&,g
40529 t clear
40530 : clear
40531 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
40532 t end
40533 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
40534 : end
40535 _ACEOF
40536 # If some macros were called several times there might be several times
40537 # the same #defines, which is useless. Nevertheless, we may not want to
40538 # sort them, since we want the *last* AC-DEFINE to be honored.
40539 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
40540 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
40541 rm -f confdef2sed.sed
40542
40543 # This sed command replaces #undef with comments. This is necessary, for
40544 # example, in the case of _POSIX_SOURCE, which is predefined and required
40545 # on some systems where configure will not decide to define it.
40546 cat >>conftest.undefs <<\_ACEOF
40547 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
40548 _ACEOF
40549
40550 # Break up conftest.defines because some shells have a limit on the size
40551 # of here documents, and old seds have small limits too (100 cmds).
40552 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
40553 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
40554 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
40555 echo ' :' >>$CONFIG_STATUS
40556 rm -f conftest.tail
40557 while grep . conftest.defines >/dev/null
40558 do
40559 # Write a limited-size here document to $tmp/defines.sed.
40560 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
40561 # Speed up: don't consider the non `#define' lines.
40562 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
40563 # Work around the forget-to-reset-the-flag bug.
40564 echo 't clr' >>$CONFIG_STATUS
40565 echo ': clr' >>$CONFIG_STATUS
40566 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
40567 echo 'CEOF
40568 sed -f $tmp/defines.sed $tmp/in >$tmp/out
40569 rm -f $tmp/in
40570 mv $tmp/out $tmp/in
40571 ' >>$CONFIG_STATUS
40572 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
40573 rm -f conftest.defines
40574 mv conftest.tail conftest.defines
40575 done
40576 rm -f conftest.defines
40577 echo ' fi # grep' >>$CONFIG_STATUS
40578 echo >>$CONFIG_STATUS
40579
40580 # Break up conftest.undefs because some shells have a limit on the size
40581 # of here documents, and old seds have small limits too (100 cmds).
40582 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
40583 rm -f conftest.tail
40584 while grep . conftest.undefs >/dev/null
40585 do
40586 # Write a limited-size here document to $tmp/undefs.sed.
40587 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
40588 # Speed up: don't consider the non `#undef'
40589 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
40590 # Work around the forget-to-reset-the-flag bug.
40591 echo 't clr' >>$CONFIG_STATUS
40592 echo ': clr' >>$CONFIG_STATUS
40593 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
40594 echo 'CEOF
40595 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
40596 rm -f $tmp/in
40597 mv $tmp/out $tmp/in
40598 ' >>$CONFIG_STATUS
40599 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
40600 rm -f conftest.undefs
40601 mv conftest.tail conftest.undefs
40602 done
40603 rm -f conftest.undefs
40604
40605 cat >>$CONFIG_STATUS <<\_ACEOF
40606 # Let's still pretend it is `configure' which instantiates (i.e., don't
40607 # use $as_me), people would be surprised to read:
40608 # /* config.h. Generated by config.status. */
40609 if test x"$ac_file" = x-; then
40610 echo "/* Generated by configure. */" >$tmp/config.h
40611 else
40612 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
40613 fi
40614 cat $tmp/in >>$tmp/config.h
40615 rm -f $tmp/in
40616 if test x"$ac_file" != x-; then
40617 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
40618 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
40619 echo "$as_me: $ac_file is unchanged" >&6;}
40620 else
40621 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
40622 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40623 X"$ac_file" : 'X\(//\)[^/]' \| \
40624 X"$ac_file" : 'X\(//\)$' \| \
40625 X"$ac_file" : 'X\(/\)' \| \
40626 . : '\(.\)' 2>/dev/null ||
40627 echo X"$ac_file" |
40628 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40629 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40630 /^X\(\/\/\)$/{ s//\1/; q; }
40631 /^X\(\/\).*/{ s//\1/; q; }
40632 s/.*/./; q'`
40633 { if $as_mkdir_p; then
40634 mkdir -p "$ac_dir"
40635 else
40636 as_dir="$ac_dir"
40637 as_dirs=
40638 while test ! -d "$as_dir"; do
40639 as_dirs="$as_dir $as_dirs"
40640 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40642 X"$as_dir" : 'X\(//\)[^/]' \| \
40643 X"$as_dir" : 'X\(//\)$' \| \
40644 X"$as_dir" : 'X\(/\)' \| \
40645 . : '\(.\)' 2>/dev/null ||
40646 echo X"$as_dir" |
40647 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40648 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40649 /^X\(\/\/\)$/{ s//\1/; q; }
40650 /^X\(\/\).*/{ s//\1/; q; }
40651 s/.*/./; q'`
40652 done
40653 test ! -n "$as_dirs" || mkdir $as_dirs
40654 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40655 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40656 { (exit 1); exit 1; }; }; }
40657
40658 rm -f $ac_file
40659 mv $tmp/config.h $ac_file
40660 fi
40661 else
40662 cat $tmp/config.h
40663 rm -f $tmp/config.h
40664 fi
40665 done
40666 _ACEOF
40667 cat >>$CONFIG_STATUS <<\_ACEOF
40668
40669 #
40670 # CONFIG_COMMANDS section.
40671 #
40672 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
40673 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
40674 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
40675 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
40676 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40677 X"$ac_dest" : 'X\(//\)[^/]' \| \
40678 X"$ac_dest" : 'X\(//\)$' \| \
40679 X"$ac_dest" : 'X\(/\)' \| \
40680 . : '\(.\)' 2>/dev/null ||
40681 echo X"$ac_dest" |
40682 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40683 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40684 /^X\(\/\/\)$/{ s//\1/; q; }
40685 /^X\(\/\).*/{ s//\1/; q; }
40686 s/.*/./; q'`
40687 ac_builddir=.
40688
40689 if test "$ac_dir" != .; then
40690 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40691 # A "../" for each directory in $ac_dir_suffix.
40692 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40693 else
40694 ac_dir_suffix= ac_top_builddir=
40695 fi
40696
40697 case $srcdir in
40698 .) # No --srcdir option. We are building in place.
40699 ac_srcdir=.
40700 if test -z "$ac_top_builddir"; then
40701 ac_top_srcdir=.
40702 else
40703 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40704 fi ;;
40705 [\\/]* | ?:[\\/]* ) # Absolute path.
40706 ac_srcdir=$srcdir$ac_dir_suffix;
40707 ac_top_srcdir=$srcdir ;;
40708 *) # Relative path.
40709 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40710 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40711 esac
40712 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40713 # absolute.
40714 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40715 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40716 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40717 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40718
40719
40720 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
40721 echo "$as_me: executing $ac_dest commands" >&6;}
40722 case $ac_dest in
40723 default )
40724 if test ! -h wx-config; then
40725 chmod +x wx-config
40726 mv wx-config wx${TOOLCHAIN_NAME}-config
40727 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
40728 fi
40729
40730 if test ! -d lib; then
40731 mkdir lib
40732 fi
40733 if test ! -d lib/wx; then
40734 mkdir lib/wx
40735 fi
40736 if test ! -d lib/wx/include; then
40737 mkdir lib/wx/include
40738 fi
40739 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
40740 mkdir lib/wx/include/${TOOLCHAIN_NAME}
40741 fi
40742 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
40743 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
40744 fi
40745 if test -f setup.h; then
40746 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
40747 fi
40748 ;;
40749 esac
40750 done
40751 _ACEOF
40752
40753 cat >>$CONFIG_STATUS <<\_ACEOF
40754
40755 { (exit 0); exit 0; }
40756 _ACEOF
40757 chmod +x $CONFIG_STATUS
40758 ac_clean_files=$ac_clean_files_save
40759
40760
40761 # configure is writing to config.log, and then calls config.status.
40762 # config.status does its own redirection, appending to config.log.
40763 # Unfortunately, on DOS this fails, as config.log is still kept open
40764 # by configure, so config.status won't be able to write to it; its
40765 # output is simply discarded. So we exec the FD to /dev/null,
40766 # effectively closing config.log, so it can be properly (re)opened and
40767 # appended to by config.status. When coming back to configure, we
40768 # need to make the FD available again.
40769 if test "$no_create" != yes; then
40770 ac_cs_success=:
40771 ac_config_status_args=
40772 test "$silent" = yes &&
40773 ac_config_status_args="$ac_config_status_args --quiet"
40774 exec 5>/dev/null
40775 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40776 exec 5>>config.log
40777 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40778 # would make configure fail if this is the last instruction.
40779 $ac_cs_success || { (exit 1); exit 1; }
40780 fi
40781
40782 #
40783 # CONFIG_SUBDIRS section.
40784 #
40785 if test "$no_recursion" != yes; then
40786
40787 # Remove --cache-file and --srcdir arguments so they do not pile up.
40788 ac_sub_configure_args=
40789 ac_prev=
40790 for ac_arg in $ac_configure_args; do
40791 if test -n "$ac_prev"; then
40792 ac_prev=
40793 continue
40794 fi
40795 case $ac_arg in
40796 -cache-file | --cache-file | --cache-fil | --cache-fi \
40797 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
40798 ac_prev=cache_file ;;
40799 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40800 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
40801 | --c=*)
40802 ;;
40803 --config-cache | -C)
40804 ;;
40805 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
40806 ac_prev=srcdir ;;
40807 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
40808 ;;
40809 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
40810 ac_prev=prefix ;;
40811 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
40812 ;;
40813 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
40814 esac
40815 done
40816
40817 # Always prepend --prefix to ensure using the same prefix
40818 # in subdir configurations.
40819 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
40820
40821 ac_popdir=`pwd`
40822 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
40823
40824 # Do not complain, so a configure script can configure whichever
40825 # parts of a large source tree are present.
40826 test -d $srcdir/$ac_dir || continue
40827
40828 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
40829 echo "$as_me: configuring in $ac_dir" >&6;}
40830 { if $as_mkdir_p; then
40831 mkdir -p "$ac_dir"
40832 else
40833 as_dir="$ac_dir"
40834 as_dirs=
40835 while test ! -d "$as_dir"; do
40836 as_dirs="$as_dir $as_dirs"
40837 as_dir=`(dirname "$as_dir") 2>/dev/null ||
40838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40839 X"$as_dir" : 'X\(//\)[^/]' \| \
40840 X"$as_dir" : 'X\(//\)$' \| \
40841 X"$as_dir" : 'X\(/\)' \| \
40842 . : '\(.\)' 2>/dev/null ||
40843 echo X"$as_dir" |
40844 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
40845 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
40846 /^X\(\/\/\)$/{ s//\1/; q; }
40847 /^X\(\/\).*/{ s//\1/; q; }
40848 s/.*/./; q'`
40849 done
40850 test ! -n "$as_dirs" || mkdir $as_dirs
40851 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
40852 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
40853 { (exit 1); exit 1; }; }; }
40854
40855 ac_builddir=.
40856
40857 if test "$ac_dir" != .; then
40858 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
40859 # A "../" for each directory in $ac_dir_suffix.
40860 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
40861 else
40862 ac_dir_suffix= ac_top_builddir=
40863 fi
40864
40865 case $srcdir in
40866 .) # No --srcdir option. We are building in place.
40867 ac_srcdir=.
40868 if test -z "$ac_top_builddir"; then
40869 ac_top_srcdir=.
40870 else
40871 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
40872 fi ;;
40873 [\\/]* | ?:[\\/]* ) # Absolute path.
40874 ac_srcdir=$srcdir$ac_dir_suffix;
40875 ac_top_srcdir=$srcdir ;;
40876 *) # Relative path.
40877 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
40878 ac_top_srcdir=$ac_top_builddir$srcdir ;;
40879 esac
40880 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
40881 # absolute.
40882 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
40883 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
40884 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
40885 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
40886
40887
40888 cd $ac_dir
40889
40890 # Check for guested configure; otherwise get Cygnus style configure.
40891 if test -f $ac_srcdir/configure.gnu; then
40892 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
40893 elif test -f $ac_srcdir/configure; then
40894 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
40895 elif test -f $ac_srcdir/configure.in; then
40896 ac_sub_configure=$ac_configure
40897 else
40898 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
40899 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
40900 ac_sub_configure=
40901 fi
40902
40903 # The recursion is here.
40904 if test -n "$ac_sub_configure"; then
40905 # Make the cache file name correct relative to the subdirectory.
40906 case $cache_file in
40907 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
40908 *) # Relative path.
40909 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
40910 esac
40911
40912 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
40913 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
40914 # The eval makes quoting arguments work.
40915 eval $ac_sub_configure $ac_sub_configure_args \
40916 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
40917 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
40918 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
40919 { (exit 1); exit 1; }; }
40920 fi
40921
40922 cd $ac_popdir
40923 done
40924 fi
40925
40926
40927 echo
40928 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
40929 echo ""
40930 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_LOWERCASE:-base only}"
40931 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
40932
40933 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
40934 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
40935 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
40936
40937 echo " What level of wxWidgets compatibility should be enabled?"
40938 echo " wxWidgets 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
40939 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
40940
40941 echo " Which libraries should wxWidgets use?"
40942 echo " jpeg ${wxUSE_LIBJPEG-none}"
40943 echo " png ${wxUSE_LIBPNG-none}"
40944 echo " regex ${wxUSE_REGEX}"
40945 echo " tiff ${wxUSE_LIBTIFF-none}"
40946 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
40947 echo " xpm ${wxUSE_LIBXPM-none}"
40948 fi
40949 echo " zlib ${wxUSE_ZLIB}"
40950 echo " odbc ${wxUSE_ODBC}"
40951 echo " expat ${wxUSE_EXPAT}"
40952 echo " libmspack ${wxUSE_LIBMSPACK}"
40953 echo " sdl ${wxUSE_LIBSDL}"
40954
40955 echo ""
40956