]> git.saurik.com Git - wxWidgets.git/blob - configure
Fixed wxSocketBase::InterruptWait on wxBase.
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS HILDON_CFLAGS HILDON_LIBS GSTREAMER_CFLAGS GSTREAMER_LIBS GST_INSPECT CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN 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_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_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_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_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_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_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_USE_XRC_1 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_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 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_MSW_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_WINCE_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_OPENGL_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 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 SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-wxprintfv use wxWidgets implementation of vprintf()
942 --enable-zipstream use wxZip streams
943 --enable-url use wxURL class
944 --enable-protocol use wxProtocol class
945 --enable-protocol-http HTTP support in wxProtocol
946 --enable-protocol-ftp FTP support in wxProtocol
947 --enable-protocol-file FILE support in wxProtocol
948 --enable-threads use threads
949 --enable-docview use document view architecture
950 --enable-help use help subsystem
951 --enable-mshtmlhelp use MS HTML Help (win32)
952 --enable-html use wxHTML sub-library
953 --enable-htmlhelp use wxHTML-based help
954 --enable-xrc use XRC resources sub-library
955 --enable-constraints use layout-constraints system
956 --enable-printarch use printing architecture
957 --enable-mdi use multiple document interface architecture
958 --enable-mdidoc use docview architecture with MDI
959 --enable-loggui use standard GUI logger
960 --enable-logwin use wxLogWindow
961 --enable-logdialog use wxLogDialog
962 --enable-webkit use wxWebKitCtrl (Mac)
963 --enable-richtext use wxRichTextCtrl
964 --enable-postscript use wxPostscriptDC device context (default for gtk+)
965 --enable-prologio not available; see contrib
966 --enable-resources not available; see contrib
967 --enable-clipboard use wxClipboard class
968 --enable-dnd use Drag'n'Drop classes
969 --enable-metafile use win32 metafiles
970 --enable-controls use all usual controls
971 --enable-accel use accelerators
972 --enable-button use wxButton class
973 --enable-bmpbutton use wxBitmapButton class
974 --enable-calendar use wxCalendarCtrl class
975 --enable-caret use wxCaret class
976 --enable-checkbox use wxCheckBox class
977 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
978 --enable-choice use wxChoice class
979 --enable-choicebook use wxChoicebook class
980 --enable-combobox use wxComboBox class
981 --enable-datepick use wxDatePickerCtrl class
982 --enable-display use wxDisplay class
983 --enable-gauge use wxGauge class
984 --enable-grid use wxGrid class
985 --enable-dataviewctrl, use wxDataViewCtrl class
986 --enable-imaglist use wxImageList class
987 --enable-listbook use wxListbook class
988 --enable-listbox use wxListBox class
989 --enable-listctrl use wxListCtrl class
990 --enable-notebook use wxNotebook class
991 --enable-radiobox use wxRadioBox class
992 --enable-radiobtn use wxRadioButton class
993 --enable-sash use wxSashWindow class
994 --enable-scrollbar use wxScrollBar class and scrollable windows
995 --enable-slider use wxSlider class
996 --enable-spinbtn use wxSpinButton class
997 --enable-spinctrl use wxSpinCtrl class
998 --enable-splitter use wxSplitterWindow class
999 --enable-statbmp use wxStaticBitmap class
1000 --enable-statbox use wxStaticBox class
1001 --enable-statline use wxStaticLine class
1002 --enable-stattext use wxStaticText class
1003 --enable-statusbar use wxStatusBar class
1004 --enable-tabdialog use wxTabControl class
1005 --enable-textctrl use wxTextCtrl class
1006 --enable-togglebtn use wxToggleButton class
1007 --enable-toolbar use wxToolBar class
1008 --enable-tbarnative use native wxToolBar class
1009 --enable-tbarsmpl use wxToolBarSimple class
1010 --enable-treebook use wxTreebook class
1011 --enable-treectrl use wxTreeCtrl class
1012 --enable-tipwindow use wxTipWindow class
1013 --enable-popupwin use wxPopUpWindow class
1014 --enable-commondlg use all common dialogs
1015 --enable-choicedlg use wxChoiceDialog
1016 --enable-coldlg use wxColourDialog
1017 --enable-filedlg use wxFileDialog
1018 --enable-finddlg use wxFindReplaceDialog
1019 --enable-fontdlg use wxFontDialog
1020 --enable-dirdlg use wxDirDialog
1021 --enable-msgdlg use wxMessageDialog
1022 --enable-numberdlg use wxNumberEntryDialog
1023 --enable-splash use wxSplashScreen
1024 --enable-textdlg use wxTextDialog
1025 --enable-tipdlg use startup tips
1026 --enable-progressdlg use wxProgressDialog
1027 --enable-wizarddlg use wxWizard
1028 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1029 --enable-miniframe use wxMiniFrame class
1030 --enable-tooltips use wxToolTip class
1031 --enable-splines use spline drawing code
1032 --enable-mousewheel use mousewheel
1033 --enable-validators use wxValidator and derived classes
1034 --enable-busyinfo use wxBusyInfo
1035 --enable-joystick use wxJoystick
1036 --enable-metafiles use wxMetaFile (Win32 only)
1037 --enable-dragimage use wxDragImage
1038 --enable-accessibility enable accessibility support
1039 --enable-dccache cache temporary wxDC objects (Win32 only)
1040 --enable-palette use wxPalette class
1041 --enable-image use wxImage class
1042 --enable-gif use gif images (GIF file format)
1043 --enable-pcx use pcx images (PCX file format)
1044 --enable-iff use iff images (IFF file format)
1045 --enable-pnm use pnm images (PNM file format)
1046 --enable-xpm use xpm images (XPM file format)
1047 --enable-icocur use Windows ICO and CUR formats
1048 --enable-official_build official build of wxWidgets (win32 DLL only)
1049 --enable-vendor=VENDOR vendor name (win32 DLL only)
1050 --disable-largefile omit support for large files
1051 --disable-gtktest do not try to compile and run a test GTK+ program
1052 --disable-gtktest Do not try to compile and run a test GTK program
1053 --disable-sdltest Do not try to compile and run a test SDL program
1054 --enable-omf use OMF object format (OS/2)
1055 --disable-precomp-headers
1056 don't use precompiled headers even if compiler can
1057
1058 Optional Packages:
1059 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1060 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1061 --without-subdirs don't generate makefiles for samples/demos/...
1062 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1063 --with-motif use Motif/Lesstif
1064 --with-mac use Mac OS X
1065 --with-cocoa use Cocoa
1066 --with-wine use Wine
1067 --with-msw use MS-Windows
1068 --with-pm use OS/2 Presentation Manager
1069 --with-mgl use SciTech MGL
1070 --with-microwin use MicroWindows
1071 --with-x11 use X11
1072 --with-libpng use libpng (PNG image format)
1073 --with-libjpeg use libjpeg (JPEG file format)
1074 --with-libtiff use libtiff (TIFF file format)
1075 --with-libxpm use libxpm (XPM file format)
1076 --with-libmspack use libmspack (CHM help files loading)
1077 --with-sdl use SDL for audio on Unix
1078 --with-gnomeprint use GNOME print for printing under Unix
1079 --with-hildon use Hildon framework for Nokia 770
1080 --with-opengl use OpenGL (or Mesa)
1081 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1082 --with-regex enable support for wxRegEx class
1083 --with-zlib use zlib for LZW compression
1084 --with-odbc use the IODBC and wxODBC classes
1085 --with-expat enable XML support using expat parser
1086 --with-flavour=NAME specify a name to identify this build
1087 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1088 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1089 --with-x use the X Window System
1090 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1091 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1092 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1093 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1094 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1095
1096 Some influential environment variables:
1097 CC C compiler command
1098 CFLAGS C compiler flags
1099 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1100 nonstandard directory <lib dir>
1101 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1102 headers in a nonstandard directory <include dir>
1103 CPP C preprocessor
1104 CXX C++ compiler command
1105 CXXFLAGS C++ compiler flags
1106 CXXCPP C++ preprocessor
1107
1108 Use these variables to override the choices made by `configure' or to help
1109 it to find libraries and programs with nonstandard names/locations.
1110
1111 Report bugs to <wx-dev@lists.wxwidgets.org>.
1112 _ACEOF
1113 fi
1114
1115 if test "$ac_init_help" = "recursive"; then
1116 # If there are subdirs, report their specific --help.
1117 ac_popdir=`pwd`
1118 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1119 test -d $ac_dir || continue
1120 ac_builddir=.
1121
1122 if test "$ac_dir" != .; then
1123 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1124 # A "../" for each directory in $ac_dir_suffix.
1125 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1126 else
1127 ac_dir_suffix= ac_top_builddir=
1128 fi
1129
1130 case $srcdir in
1131 .) # No --srcdir option. We are building in place.
1132 ac_srcdir=.
1133 if test -z "$ac_top_builddir"; then
1134 ac_top_srcdir=.
1135 else
1136 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1137 fi ;;
1138 [\\/]* | ?:[\\/]* ) # Absolute path.
1139 ac_srcdir=$srcdir$ac_dir_suffix;
1140 ac_top_srcdir=$srcdir ;;
1141 *) # Relative path.
1142 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1143 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1144 esac
1145
1146 # Do not use `cd foo && pwd` to compute absolute paths, because
1147 # the directories may not exist.
1148 case `pwd` in
1149 .) ac_abs_builddir="$ac_dir";;
1150 *)
1151 case "$ac_dir" in
1152 .) ac_abs_builddir=`pwd`;;
1153 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1154 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1155 esac;;
1156 esac
1157 case $ac_abs_builddir in
1158 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1159 *)
1160 case ${ac_top_builddir}. in
1161 .) ac_abs_top_builddir=$ac_abs_builddir;;
1162 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1163 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1164 esac;;
1165 esac
1166 case $ac_abs_builddir in
1167 .) ac_abs_srcdir=$ac_srcdir;;
1168 *)
1169 case $ac_srcdir in
1170 .) ac_abs_srcdir=$ac_abs_builddir;;
1171 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1172 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1173 esac;;
1174 esac
1175 case $ac_abs_builddir in
1176 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1177 *)
1178 case $ac_top_srcdir in
1179 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1180 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1181 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1182 esac;;
1183 esac
1184
1185 cd $ac_dir
1186 # Check for guested configure; otherwise get Cygnus style configure.
1187 if test -f $ac_srcdir/configure.gnu; then
1188 echo
1189 $SHELL $ac_srcdir/configure.gnu --help=recursive
1190 elif test -f $ac_srcdir/configure; then
1191 echo
1192 $SHELL $ac_srcdir/configure --help=recursive
1193 elif test -f $ac_srcdir/configure.ac ||
1194 test -f $ac_srcdir/configure.in; then
1195 echo
1196 $ac_configure --help
1197 else
1198 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1199 fi
1200 cd $ac_popdir
1201 done
1202 fi
1203
1204 test -n "$ac_init_help" && exit 0
1205 if $ac_init_version; then
1206 cat <<\_ACEOF
1207 wxWidgets configure 2.7.0
1208 generated by GNU Autoconf 2.59
1209
1210 Copyright (C) 2003 Free Software Foundation, Inc.
1211 This configure script is free software; the Free Software Foundation
1212 gives unlimited permission to copy, distribute and modify it.
1213 _ACEOF
1214 exit 0
1215 fi
1216 exec 5>config.log
1217 cat >&5 <<_ACEOF
1218 This file contains any messages produced by compilers while
1219 running configure, to aid debugging if configure makes a mistake.
1220
1221 It was created by wxWidgets $as_me 2.7.0, which was
1222 generated by GNU Autoconf 2.59. Invocation command line was
1223
1224 $ $0 $@
1225
1226 _ACEOF
1227 {
1228 cat <<_ASUNAME
1229 ## --------- ##
1230 ## Platform. ##
1231 ## --------- ##
1232
1233 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1234 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1235 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1236 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1237 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1238
1239 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1240 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1241
1242 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1243 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1244 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1245 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1246 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1247 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1248 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1249
1250 _ASUNAME
1251
1252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1253 for as_dir in $PATH
1254 do
1255 IFS=$as_save_IFS
1256 test -z "$as_dir" && as_dir=.
1257 echo "PATH: $as_dir"
1258 done
1259
1260 } >&5
1261
1262 cat >&5 <<_ACEOF
1263
1264
1265 ## ----------- ##
1266 ## Core tests. ##
1267 ## ----------- ##
1268
1269 _ACEOF
1270
1271
1272 # Keep a trace of the command line.
1273 # Strip out --no-create and --no-recursion so they do not pile up.
1274 # Strip out --silent because we don't want to record it for future runs.
1275 # Also quote any args containing shell meta-characters.
1276 # Make two passes to allow for proper duplicate-argument suppression.
1277 ac_configure_args=
1278 ac_configure_args0=
1279 ac_configure_args1=
1280 ac_sep=
1281 ac_must_keep_next=false
1282 for ac_pass in 1 2
1283 do
1284 for ac_arg
1285 do
1286 case $ac_arg in
1287 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1288 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1289 | -silent | --silent | --silen | --sile | --sil)
1290 continue ;;
1291 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1292 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1293 esac
1294 case $ac_pass in
1295 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1296 2)
1297 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1298 if test $ac_must_keep_next = true; then
1299 ac_must_keep_next=false # Got value, back to normal.
1300 else
1301 case $ac_arg in
1302 *=* | --config-cache | -C | -disable-* | --disable-* \
1303 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1304 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1305 | -with-* | --with-* | -without-* | --without-* | --x)
1306 case "$ac_configure_args0 " in
1307 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1308 esac
1309 ;;
1310 -* ) ac_must_keep_next=true ;;
1311 esac
1312 fi
1313 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1314 # Get rid of the leading space.
1315 ac_sep=" "
1316 ;;
1317 esac
1318 done
1319 done
1320 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1321 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1322
1323 # When interrupted or exit'd, cleanup temporary files, and complete
1324 # config.log. We remove comments because anyway the quotes in there
1325 # would cause problems or look ugly.
1326 # WARNING: Be sure not to use single quotes in there, as some shells,
1327 # such as our DU 5.0 friend, will then `close' the trap.
1328 trap 'exit_status=$?
1329 # Save into config.log some information that might help in debugging.
1330 {
1331 echo
1332
1333 cat <<\_ASBOX
1334 ## ---------------- ##
1335 ## Cache variables. ##
1336 ## ---------------- ##
1337 _ASBOX
1338 echo
1339 # The following way of writing the cache mishandles newlines in values,
1340 {
1341 (set) 2>&1 |
1342 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1343 *ac_space=\ *)
1344 sed -n \
1345 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1347 ;;
1348 *)
1349 sed -n \
1350 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1351 ;;
1352 esac;
1353 }
1354 echo
1355
1356 cat <<\_ASBOX
1357 ## ----------------- ##
1358 ## Output variables. ##
1359 ## ----------------- ##
1360 _ASBOX
1361 echo
1362 for ac_var in $ac_subst_vars
1363 do
1364 eval ac_val=$`echo $ac_var`
1365 echo "$ac_var='"'"'$ac_val'"'"'"
1366 done | sort
1367 echo
1368
1369 if test -n "$ac_subst_files"; then
1370 cat <<\_ASBOX
1371 ## ------------- ##
1372 ## Output files. ##
1373 ## ------------- ##
1374 _ASBOX
1375 echo
1376 for ac_var in $ac_subst_files
1377 do
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1380 done | sort
1381 echo
1382 fi
1383
1384 if test -s confdefs.h; then
1385 cat <<\_ASBOX
1386 ## ----------- ##
1387 ## confdefs.h. ##
1388 ## ----------- ##
1389 _ASBOX
1390 echo
1391 sed "/^$/d" confdefs.h | sort
1392 echo
1393 fi
1394 test "$ac_signal" != 0 &&
1395 echo "$as_me: caught signal $ac_signal"
1396 echo "$as_me: exit $exit_status"
1397 } >&5
1398 rm -f core *.core &&
1399 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1400 exit $exit_status
1401 ' 0
1402 for ac_signal in 1 2 13 15; do
1403 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1404 done
1405 ac_signal=0
1406
1407 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1408 rm -rf conftest* confdefs.h
1409 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1410 echo >confdefs.h
1411
1412 # Predefined preprocessor variables.
1413
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_NAME "$PACKAGE_NAME"
1416 _ACEOF
1417
1418
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1421 _ACEOF
1422
1423
1424 cat >>confdefs.h <<_ACEOF
1425 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1426 _ACEOF
1427
1428
1429 cat >>confdefs.h <<_ACEOF
1430 #define PACKAGE_STRING "$PACKAGE_STRING"
1431 _ACEOF
1432
1433
1434 cat >>confdefs.h <<_ACEOF
1435 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1436 _ACEOF
1437
1438
1439 # Let the site file select an alternate cache file if it wants to.
1440 # Prefer explicitly selected file to automatically selected ones.
1441 if test -z "$CONFIG_SITE"; then
1442 if test "x$prefix" != xNONE; then
1443 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1444 else
1445 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1446 fi
1447 fi
1448 for ac_site_file in $CONFIG_SITE; do
1449 if test -r "$ac_site_file"; then
1450 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1451 echo "$as_me: loading site script $ac_site_file" >&6;}
1452 sed 's/^/| /' "$ac_site_file" >&5
1453 . "$ac_site_file"
1454 fi
1455 done
1456
1457 if test -r "$cache_file"; then
1458 # Some versions of bash will fail to source /dev/null (special
1459 # files actually), so we avoid doing that.
1460 if test -f "$cache_file"; then
1461 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1462 echo "$as_me: loading cache $cache_file" >&6;}
1463 case $cache_file in
1464 [\\/]* | ?:[\\/]* ) . $cache_file;;
1465 *) . ./$cache_file;;
1466 esac
1467 fi
1468 else
1469 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1470 echo "$as_me: creating cache $cache_file" >&6;}
1471 >$cache_file
1472 fi
1473
1474 # Check that the precious variables saved in the cache have kept the same
1475 # value.
1476 ac_cache_corrupted=false
1477 for ac_var in `(set) 2>&1 |
1478 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1479 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1480 eval ac_new_set=\$ac_env_${ac_var}_set
1481 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1482 eval ac_new_val="\$ac_env_${ac_var}_value"
1483 case $ac_old_set,$ac_new_set in
1484 set,)
1485 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1486 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1487 ac_cache_corrupted=: ;;
1488 ,set)
1489 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1490 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1491 ac_cache_corrupted=: ;;
1492 ,);;
1493 *)
1494 if test "x$ac_old_val" != "x$ac_new_val"; then
1495 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1496 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1497 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1498 echo "$as_me: former value: $ac_old_val" >&2;}
1499 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1500 echo "$as_me: current value: $ac_new_val" >&2;}
1501 ac_cache_corrupted=:
1502 fi;;
1503 esac
1504 # Pass precious variables to config.status.
1505 if test "$ac_new_set" = set; then
1506 case $ac_new_val in
1507 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1508 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1509 *) ac_arg=$ac_var=$ac_new_val ;;
1510 esac
1511 case " $ac_configure_args " in
1512 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1513 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1514 esac
1515 fi
1516 done
1517 if $ac_cache_corrupted; then
1518 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1519 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1520 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1521 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1522 { (exit 1); exit 1; }; }
1523 fi
1524
1525 ac_ext=c
1526 ac_cpp='$CPP $CPPFLAGS'
1527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560 ac_aux_dir=
1561 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1562 if test -f $ac_dir/install-sh; then
1563 ac_aux_dir=$ac_dir
1564 ac_install_sh="$ac_aux_dir/install-sh -c"
1565 break
1566 elif test -f $ac_dir/install.sh; then
1567 ac_aux_dir=$ac_dir
1568 ac_install_sh="$ac_aux_dir/install.sh -c"
1569 break
1570 elif test -f $ac_dir/shtool; then
1571 ac_aux_dir=$ac_dir
1572 ac_install_sh="$ac_aux_dir/shtool install -c"
1573 break
1574 fi
1575 done
1576 if test -z "$ac_aux_dir"; then
1577 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1578 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1579 { (exit 1); exit 1; }; }
1580 fi
1581 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1582 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1583 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1584
1585 # Make sure we can run config.sub.
1586 $ac_config_sub sun4 >/dev/null 2>&1 ||
1587 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1588 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1589 { (exit 1); exit 1; }; }
1590
1591 echo "$as_me:$LINENO: checking build system type" >&5
1592 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1593 if test "${ac_cv_build+set}" = set; then
1594 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 else
1596 ac_cv_build_alias=$build_alias
1597 test -z "$ac_cv_build_alias" &&
1598 ac_cv_build_alias=`$ac_config_guess`
1599 test -z "$ac_cv_build_alias" &&
1600 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1601 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1602 { (exit 1); exit 1; }; }
1603 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1604 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1605 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1606 { (exit 1); exit 1; }; }
1607
1608 fi
1609 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1610 echo "${ECHO_T}$ac_cv_build" >&6
1611 build=$ac_cv_build
1612 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1613 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1614 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1615
1616
1617 echo "$as_me:$LINENO: checking host system type" >&5
1618 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1619 if test "${ac_cv_host+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 else
1622 ac_cv_host_alias=$host_alias
1623 test -z "$ac_cv_host_alias" &&
1624 ac_cv_host_alias=$ac_cv_build_alias
1625 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1626 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1627 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1628 { (exit 1); exit 1; }; }
1629
1630 fi
1631 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1632 echo "${ECHO_T}$ac_cv_host" >&6
1633 host=$ac_cv_host
1634 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1635 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1636 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1637
1638
1639 echo "$as_me:$LINENO: checking target system type" >&5
1640 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1641 if test "${ac_cv_target+set}" = set; then
1642 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 else
1644 ac_cv_target_alias=$target_alias
1645 test "x$ac_cv_target_alias" = "x" &&
1646 ac_cv_target_alias=$ac_cv_host_alias
1647 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1648 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1649 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1650 { (exit 1); exit 1; }; }
1651
1652 fi
1653 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1654 echo "${ECHO_T}$ac_cv_target" >&6
1655 target=$ac_cv_target
1656 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1657 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1658 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1659
1660
1661 # The aliases save the names the user supplied, while $host etc.
1662 # will get canonicalized.
1663 test -n "$target_alias" &&
1664 test "$program_prefix$program_suffix$program_transform_name" = \
1665 NONENONEs,x,x, &&
1666 program_prefix=${target_alias}-
1667
1668
1669
1670 wx_major_version_number=2
1671 wx_minor_version_number=7
1672 wx_release_number=0
1673 wx_subrelease_number=0
1674
1675 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1676 WX_VERSION=$WX_RELEASE.$wx_release_number
1677 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1678
1679 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1680
1681
1682
1683
1684 USE_UNIX=1
1685 USE_OS2=0
1686 USE_WIN32=0
1687 USE_DOS=0
1688 USE_BEOS=0
1689 USE_MAC=0
1690
1691 USE_AIX=
1692 USE_BSD= USE_DARWIN= USE_FREEBSD=
1693 USE_GNU= USE_HPUX=
1694 USE_LINUX=
1695 USE_NETBSD=
1696 USE_OPENBSD=
1697 USE_OSF= USE_SGI=
1698 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1699 USE_ULTRIX=
1700 USE_UNIXWARE=
1701
1702 USE_ALPHA=
1703
1704 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1705
1706 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1707
1708 DEFAULT_wxUSE_COCOA=0
1709 DEFAULT_wxUSE_GTK=0
1710 DEFAULT_wxUSE_MAC=0
1711 DEFAULT_wxUSE_MGL=0
1712 DEFAULT_wxUSE_MICROWIN=0
1713 DEFAULT_wxUSE_MOTIF=0
1714 DEFAULT_wxUSE_MSW=0
1715 DEFAULT_wxUSE_PM=0
1716 DEFAULT_wxUSE_X11=0
1717
1718 DEFAULT_DEFAULT_wxUSE_COCOA=0
1719 DEFAULT_DEFAULT_wxUSE_GTK=0
1720 DEFAULT_DEFAULT_wxUSE_MAC=0
1721 DEFAULT_DEFAULT_wxUSE_MGL=0
1722 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1723 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1724 DEFAULT_DEFAULT_wxUSE_MSW=0
1725 DEFAULT_DEFAULT_wxUSE_PM=0
1726 DEFAULT_DEFAULT_wxUSE_X11=0
1727
1728 PROGRAM_EXT=
1729 SO_SUFFIX=so
1730 SAMPLES_RPATH_FLAG=
1731 SAMPLES_RPATH_POSTLINK=
1732
1733 DEFAULT_STD_FLAG=yes
1734
1735 case "${host}" in
1736 *-hp-hpux* )
1737 USE_HPUX=1
1738 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1740 SO_SUFFIX=sl
1741 cat >>confdefs.h <<\_ACEOF
1742 #define __HPUX__ 1
1743 _ACEOF
1744
1745
1746 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1747 ;;
1748 *-*-linux* )
1749 USE_LINUX=1
1750 cat >>confdefs.h <<\_ACEOF
1751 #define __LINUX__ 1
1752 _ACEOF
1753
1754 TMP=`uname -m`
1755 if test "x$TMP" = "xalpha"; then
1756 USE_ALPHA=1
1757 cat >>confdefs.h <<\_ACEOF
1758 #define __ALPHA__ 1
1759 _ACEOF
1760
1761 fi
1762 DEFAULT_DEFAULT_wxUSE_GTK=1
1763 ;;
1764 *-*-gnu* | *-*-k*bsd*-gnu )
1765 USE_GNU=1
1766 TMP=`uname -m`
1767 if test "x$TMP" = "xalpha"; then
1768 USE_ALPHA=1
1769 cat >>confdefs.h <<\_ACEOF
1770 #define __ALPHA__ 1
1771 _ACEOF
1772
1773 fi
1774 DEFAULT_DEFAULT_wxUSE_GTK=1
1775 ;;
1776 *-*-irix5* | *-*-irix6* )
1777 USE_SGI=1
1778 USE_SVR4=1
1779 cat >>confdefs.h <<\_ACEOF
1780 #define __SGI__ 1
1781 _ACEOF
1782
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __SVR4__ 1
1785 _ACEOF
1786
1787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1788 ;;
1789 *-*-solaris2* )
1790 USE_SUN=1
1791 USE_SOLARIS=1
1792 USE_SVR4=1
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SUN__ 1
1795 _ACEOF
1796
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SOLARIS__ 1
1799 _ACEOF
1800
1801 cat >>confdefs.h <<\_ACEOF
1802 #define __SVR4__ 1
1803 _ACEOF
1804
1805 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1806 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1807 ;;
1808 *-*-sunos4* )
1809 USE_SUN=1
1810 USE_SUNOS=1
1811 USE_BSD=1
1812 cat >>confdefs.h <<\_ACEOF
1813 #define __SUN__ 1
1814 _ACEOF
1815
1816 cat >>confdefs.h <<\_ACEOF
1817 #define __SUNOS__ 1
1818 _ACEOF
1819
1820 cat >>confdefs.h <<\_ACEOF
1821 #define __BSD__ 1
1822 _ACEOF
1823
1824 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1825 ;;
1826 *-*-freebsd*)
1827 USE_BSD=1
1828 USE_FREEBSD=1
1829 cat >>confdefs.h <<\_ACEOF
1830 #define __FREEBSD__ 1
1831 _ACEOF
1832
1833 cat >>confdefs.h <<\_ACEOF
1834 #define __BSD__ 1
1835 _ACEOF
1836
1837 DEFAULT_DEFAULT_wxUSE_GTK=1
1838 ;;
1839 *-*-openbsd*)
1840 USE_BSD=1
1841 USE_OPENBSD=1
1842 cat >>confdefs.h <<\_ACEOF
1843 #define __OPENBSD__ 1
1844 _ACEOF
1845
1846 cat >>confdefs.h <<\_ACEOF
1847 #define __BSD__ 1
1848 _ACEOF
1849
1850 DEFAULT_DEFAULT_wxUSE_GTK=1
1851 ;;
1852 *-*-netbsd*)
1853 USE_BSD=1
1854 USE_NETBSD=1
1855 cat >>confdefs.h <<\_ACEOF
1856 #define __NETBSD__ 1
1857 _ACEOF
1858
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __BSD__ 1
1861 _ACEOF
1862
1863 DEFAULT_DEFAULT_wxUSE_GTK=1
1864 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1865
1866 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1867 ;;
1868 *-*-osf* )
1869 USE_ALPHA=1
1870 USE_OSF=1
1871 cat >>confdefs.h <<\_ACEOF
1872 #define __ALPHA__ 1
1873 _ACEOF
1874
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __OSF__ 1
1877 _ACEOF
1878
1879 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1880 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1881 ;;
1882 *-*-dgux5* )
1883 USE_ALPHA=1
1884 USE_SVR4=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __ALPHA__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __SVR4__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 ;;
1895 *-*-sysv5* )
1896 USE_SYSV=1
1897 USE_SVR4=1
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __SYSV__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __SVR4__ 1
1904 _ACEOF
1905
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 ;;
1908 *-*-aix* )
1909 USE_AIX=1
1910 USE_SYSV=1
1911 USE_SVR4=1
1912 SO_SUFFIX=a
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __AIX__ 1
1915 _ACEOF
1916
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SYSV__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927
1928 *-*-*UnixWare*)
1929 USE_SYSV=1
1930 USE_SVR4=1
1931 USE_UNIXWARE=1
1932 cat >>confdefs.h <<\_ACEOF
1933 #define __UNIXWARE__ 1
1934 _ACEOF
1935
1936 ;;
1937
1938 *-*-cygwin* | *-*-mingw32* )
1939 SO_SUFFIX=dll
1940 PROGRAM_EXT=".exe"
1941 DEFAULT_DEFAULT_wxUSE_MSW=1
1942 DEFAULT_STD_FLAG=no
1943 ;;
1944
1945 *-pc-msdosdjgpp )
1946 USE_UNIX=0
1947 USE_DOS=1
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __DOS__ 1
1950 _ACEOF
1951
1952 PROGRAM_EXT=".exe"
1953 DEFAULT_DEFAULT_wxUSE_MGL=1
1954 ;;
1955
1956 *-pc-os2_emx | *-pc-os2-emx )
1957 cat >>confdefs.h <<\_ACEOF
1958 #define __EMX__ 1
1959 _ACEOF
1960
1961 USE_OS2=1
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __OS2__ 1
1964 _ACEOF
1965
1966 PROGRAM_EXT=".exe"
1967 DEFAULT_DEFAULT_wxUSE_PM=1
1968 CXX=gcc
1969 LDFLAGS="$LDFLAGS -Zcrtdll"
1970 ac_executable_extensions=".exe"
1971 export ac_executable_extensions
1972 ac_save_IFS="$IFS"
1973 IFS='\\'
1974 ac_TEMP_PATH=
1975 for ac_dir in $PATH; do
1976 IFS=$ac_save_IFS
1977 if test -z "$ac_TEMP_PATH"; then
1978 ac_TEMP_PATH="$ac_dir"
1979 else
1980 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1981 fi
1982 done
1983 export PATH="$ac_TEMP_PATH"
1984 unset ac_TEMP_PATH
1985 DEFAULT_STD_FLAG=no
1986 ;;
1987
1988 *-*-darwin* )
1989 USE_BSD=1
1990 USE_DARWIN=1
1991 SO_SUFFIX=dylib
1992 cat >>confdefs.h <<\_ACEOF
1993 #define __BSD__ 1
1994 _ACEOF
1995
1996 cat >>confdefs.h <<\_ACEOF
1997 #define __DARWIN__ 1
1998 _ACEOF
1999
2000 cat >>confdefs.h <<\_ACEOF
2001 #define TARGET_CARBON 1
2002 _ACEOF
2003
2004 DEFAULT_DEFAULT_wxUSE_MAC=1
2005 DEFAULT_STD_FLAG=no
2006 ;;
2007 powerpc-apple-macos* )
2008 USE_UNIX=0
2009 ac_cv_c_bigendian=yes
2010 SO_SUFFIX=shlib
2011 DEFAULT_DEFAULT_wxUSE_MAC=1
2012 DEFAULT_STD_FLAG=no
2013 ;;
2014
2015 *-*-beos* )
2016 USE_BEOS=1
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __BEOS__ 1
2019 _ACEOF
2020
2021 ;;
2022
2023 *)
2024 { { echo "$as_me:$LINENO: error: unknown system type ${host}." >&5
2025 echo "$as_me: error: unknown system type ${host}." >&2;}
2026 { (exit 1); exit 1; }; }
2027 esac
2028
2029
2030
2031
2032 wx_arg_cache_file="configarg.cache"
2033 echo "loading argument cache $wx_arg_cache_file"
2034 rm -f ${wx_arg_cache_file}.tmp
2035 touch ${wx_arg_cache_file}.tmp
2036 touch ${wx_arg_cache_file}
2037
2038
2039 DEBUG_CONFIGURE=0
2040 if test $DEBUG_CONFIGURE = 1; then
2041 DEFAULT_wxUSE_UNIVERSAL=no
2042 DEFAULT_wxUSE_STL=no
2043
2044 DEFAULT_wxUSE_NANOX=no
2045
2046 DEFAULT_wxUSE_THREADS=yes
2047
2048 DEFAULT_wxUSE_SHARED=yes
2049 DEFAULT_wxUSE_OPTIMISE=no
2050 DEFAULT_wxUSE_PROFILE=no
2051 DEFAULT_wxUSE_NO_DEPS=no
2052 DEFAULT_wxUSE_NO_RTTI=no
2053 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2054 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2055 DEFAULT_wxUSE_RPATH=yes
2056 DEFAULT_wxUSE_PERMISSIVE=no
2057 DEFAULT_wxUSE_DEBUG_FLAG=yes
2058 DEFAULT_wxUSE_DEBUG_INFO=yes
2059 DEFAULT_wxUSE_DEBUG_GDB=yes
2060 DEFAULT_wxUSE_MEM_TRACING=no
2061 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2062 DEFAULT_wxUSE_DMALLOC=no
2063 DEFAULT_wxUSE_APPLE_IEEE=no
2064
2065 DEFAULT_wxUSE_EXCEPTIONS=no
2066 DEFAULT_wxUSE_LOG=yes
2067 DEFAULT_wxUSE_LOGWINDOW=no
2068 DEFAULT_wxUSE_LOGGUI=no
2069 DEFAULT_wxUSE_LOGDIALOG=no
2070
2071 DEFAULT_wxUSE_GUI=yes
2072 DEFAULT_wxUSE_CONTROLS=no
2073
2074 DEFAULT_wxUSE_REGEX=no
2075 DEFAULT_wxUSE_XML=no
2076 DEFAULT_wxUSE_EXPAT=no
2077 DEFAULT_wxUSE_ZLIB=no
2078 DEFAULT_wxUSE_LIBPNG=no
2079 DEFAULT_wxUSE_LIBJPEG=no
2080 DEFAULT_wxUSE_LIBTIFF=no
2081 DEFAULT_wxUSE_LIBXPM=no
2082 DEFAULT_wxUSE_LIBMSPACK=no
2083 DEFAULT_wxUSE_LIBSDL=no
2084 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2085 DEFAULT_wxUSE_LIBHILDON=no
2086 DEFAULT_wxUSE_ODBC=no
2087 DEFAULT_wxUSE_OPENGL=no
2088
2089 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2090 DEFAULT_wxUSE_STACKWALKER=no
2091 DEFAULT_wxUSE_DEBUGREPORT=no
2092 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2093 DEFAULT_wxUSE_STD_IOSTREAM=no
2094 DEFAULT_wxUSE_STD_STRING=no
2095 DEFAULT_wxUSE_CMDLINE_PARSER=no
2096 DEFAULT_wxUSE_DATETIME=no
2097 DEFAULT_wxUSE_TIMER=no
2098 DEFAULT_wxUSE_STOPWATCH=no
2099 DEFAULT_wxUSE_FILE=no
2100 DEFAULT_wxUSE_FFILE=no
2101 DEFAULT_wxUSE_STDPATHS=no
2102 DEFAULT_wxUSE_TEXTBUFFER=no
2103 DEFAULT_wxUSE_TEXTFILE=no
2104 DEFAULT_wxUSE_SOUND=no
2105 DEFAULT_wxUSE_MEDIACTRL=no
2106 DEFAULT_wxUSE_INTL=no
2107 DEFAULT_wxUSE_CONFIG=no
2108 DEFAULT_wxUSE_FONTMAP=no
2109 DEFAULT_wxUSE_STREAMS=no
2110 DEFAULT_wxUSE_SOCKETS=no
2111 DEFAULT_wxUSE_OLE=no
2112 DEFAULT_wxUSE_DATAOBJ=no
2113 DEFAULT_wxUSE_DIALUP_MANAGER=no
2114 DEFAULT_wxUSE_JOYSTICK=no
2115 DEFAULT_wxUSE_DYNLIB_CLASS=no
2116 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2117 DEFAULT_wxUSE_LONGLONG=no
2118 DEFAULT_wxUSE_GEOMETRY=no
2119
2120 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2121 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2122 DEFAULT_wxUSE_POSTSCRIPT=no
2123
2124 DEFAULT_wxUSE_CLIPBOARD=no
2125 DEFAULT_wxUSE_TOOLTIPS=no
2126 DEFAULT_wxUSE_DRAG_AND_DROP=no
2127 DEFAULT_wxUSE_DRAGIMAGE=no
2128 DEFAULT_wxUSE_SPLINES=no
2129 DEFAULT_wxUSE_MOUSEWHEEL=no
2130
2131 DEFAULT_wxUSE_MDI=no
2132 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2133 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2134 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2135
2136 DEFAULT_wxUSE_RESOURCES=no
2137 DEFAULT_wxUSE_CONSTRAINTS=no
2138 DEFAULT_wxUSE_IPC=no
2139 DEFAULT_wxUSE_HELP=no
2140 DEFAULT_wxUSE_MS_HTML_HELP=no
2141 DEFAULT_wxUSE_WXHTML_HELP=no
2142 DEFAULT_wxUSE_TREELAYOUT=no
2143 DEFAULT_wxUSE_METAFILE=no
2144 DEFAULT_wxUSE_MIMETYPE=no
2145 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2146 DEFAULT_wxUSE_PROTOCOL=no
2147 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2148 DEFAULT_wxUSE_PROTOCOL_FTP=no
2149 DEFAULT_wxUSE_PROTOCOL_FILE=no
2150 DEFAULT_wxUSE_URL=no
2151
2152 DEFAULT_wxUSE_COMMONDLGS=no
2153 DEFAULT_wxUSE_CHOICEDLG=no
2154 DEFAULT_wxUSE_COLOURDLG=no
2155 DEFAULT_wxUSE_DIRDLG=no
2156 DEFAULT_wxUSE_FILEDLG=no
2157 DEFAULT_wxUSE_FINDREPLDLG=no
2158 DEFAULT_wxUSE_FONTDLG=no
2159 DEFAULT_wxUSE_MSGDLG=no
2160 DEFAULT_wxUSE_NUMBERDLG=no
2161 DEFAULT_wxUSE_TEXTDLG=no
2162 DEFAULT_wxUSE_SPLASH=no
2163 DEFAULT_wxUSE_STARTUP_TIPS=no
2164 DEFAULT_wxUSE_PROGRESSDLG=no
2165 DEFAULT_wxUSE_WIZARDDLG=no
2166
2167 DEFAULT_wxUSE_MENUS=no
2168 DEFAULT_wxUSE_MINIFRAME=no
2169 DEFAULT_wxUSE_HTML=no
2170 DEFAULT_wxUSE_RICHTEXT=no
2171 DEFAULT_wxUSE_XRC=no
2172 DEFAULT_wxUSE_WEBKIT=no
2173 DEFAULT_wxUSE_FILESYSTEM=no
2174 DEFAULT_wxUSE_FS_INET=no
2175 DEFAULT_wxUSE_FS_ZIP=no
2176 DEFAULT_wxUSE_BUSYINFO=no
2177 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2178 DEFAULT_wxUSE_ZIPSTREAM=no
2179 DEFAULT_wxUSE_VALIDATORS=no
2180
2181 DEFAULT_wxUSE_ACCEL=no
2182 DEFAULT_wxUSE_BUTTON=no
2183 DEFAULT_wxUSE_BMPBUTTON=no
2184 DEFAULT_wxUSE_CALCTRL=no
2185 DEFAULT_wxUSE_CARET=no
2186 DEFAULT_wxUSE_CHECKBOX=no
2187 DEFAULT_wxUSE_CHECKLST=no
2188 DEFAULT_wxUSE_CHOICE=no
2189 DEFAULT_wxUSE_CHOICEBOOK=no
2190 DEFAULT_wxUSE_COMBOBOX=no
2191 DEFAULT_wxUSE_DATEPICKCTRL=no
2192 DEFAULT_wxUSE_DISPLAY=no
2193 DEFAULT_wxUSE_GAUGE=no
2194 DEFAULT_wxUSE_GRID=no
2195 DEFAULT_wxUSE_DATAVIEWCTRL=no
2196 DEFAULT_wxUSE_IMAGLIST=no
2197 DEFAULT_wxUSE_LISTBOOK=no
2198 DEFAULT_wxUSE_LISTBOX=no
2199 DEFAULT_wxUSE_LISTCTRL=no
2200 DEFAULT_wxUSE_NOTEBOOK=no
2201 DEFAULT_wxUSE_RADIOBOX=no
2202 DEFAULT_wxUSE_RADIOBTN=no
2203 DEFAULT_wxUSE_SASH=no
2204 DEFAULT_wxUSE_SCROLLBAR=no
2205 DEFAULT_wxUSE_SLIDER=no
2206 DEFAULT_wxUSE_SPINBTN=no
2207 DEFAULT_wxUSE_SPINCTRL=no
2208 DEFAULT_wxUSE_SPLITTER=no
2209 DEFAULT_wxUSE_STATBMP=no
2210 DEFAULT_wxUSE_STATBOX=no
2211 DEFAULT_wxUSE_STATLINE=no
2212 DEFAULT_wxUSE_STATTEXT=no
2213 DEFAULT_wxUSE_STATUSBAR=yes
2214 DEFAULT_wxUSE_TABDIALOG=no
2215 DEFAULT_wxUSE_TEXTCTRL=no
2216 DEFAULT_wxUSE_TOGGLEBTN=no
2217 DEFAULT_wxUSE_TOOLBAR=no
2218 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2219 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2220 DEFAULT_wxUSE_TREEBOOK=no
2221 DEFAULT_wxUSE_TREECTRL=no
2222 DEFAULT_wxUSE_POPUPWIN=no
2223 DEFAULT_wxUSE_TIPWINDOW=no
2224
2225 DEFAULT_wxUSE_UNICODE=no
2226 DEFAULT_wxUSE_UNICODE_MSLU=no
2227 DEFAULT_wxUSE_WCSRTOMBS=no
2228
2229 DEFAULT_wxUSE_PALETTE=no
2230 DEFAULT_wxUSE_IMAGE=no
2231 DEFAULT_wxUSE_GIF=no
2232 DEFAULT_wxUSE_PCX=no
2233 DEFAULT_wxUSE_PNM=no
2234 DEFAULT_wxUSE_IFF=no
2235 DEFAULT_wxUSE_XPM=no
2236 DEFAULT_wxUSE_ICO_CUR=no
2237 DEFAULT_wxUSE_ACCESSIBILITY=no
2238
2239 DEFAULT_wxUSE_MONOLITHIC=no
2240 DEFAULT_wxUSE_PLUGINS=no
2241 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2242 else
2243 DEFAULT_wxUSE_UNIVERSAL=no
2244 DEFAULT_wxUSE_STL=no
2245
2246 DEFAULT_wxUSE_NANOX=no
2247
2248 DEFAULT_wxUSE_THREADS=yes
2249
2250 DEFAULT_wxUSE_SHARED=yes
2251 DEFAULT_wxUSE_OPTIMISE=yes
2252 DEFAULT_wxUSE_PROFILE=no
2253 DEFAULT_wxUSE_NO_DEPS=no
2254 DEFAULT_wxUSE_NO_RTTI=no
2255 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2256 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2257 DEFAULT_wxUSE_RPATH=yes
2258 DEFAULT_wxUSE_PERMISSIVE=no
2259 DEFAULT_wxUSE_DEBUG_FLAG=no
2260 DEFAULT_wxUSE_DEBUG_INFO=no
2261 DEFAULT_wxUSE_DEBUG_GDB=no
2262 DEFAULT_wxUSE_MEM_TRACING=no
2263 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2264 DEFAULT_wxUSE_DMALLOC=no
2265 DEFAULT_wxUSE_APPLE_IEEE=yes
2266
2267 DEFAULT_wxUSE_EXCEPTIONS=yes
2268 DEFAULT_wxUSE_LOG=yes
2269 DEFAULT_wxUSE_LOGWINDOW=yes
2270 DEFAULT_wxUSE_LOGGUI=yes
2271 DEFAULT_wxUSE_LOGDIALOG=yes
2272
2273 DEFAULT_wxUSE_GUI=yes
2274
2275 DEFAULT_wxUSE_REGEX=yes
2276 DEFAULT_wxUSE_XML=yes
2277 DEFAULT_wxUSE_EXPAT=yes
2278 DEFAULT_wxUSE_ZLIB=yes
2279 DEFAULT_wxUSE_LIBPNG=yes
2280 DEFAULT_wxUSE_LIBJPEG=yes
2281 DEFAULT_wxUSE_LIBTIFF=yes
2282 DEFAULT_wxUSE_LIBXPM=yes
2283 DEFAULT_wxUSE_LIBMSPACK=yes
2284 DEFAULT_wxUSE_LIBSDL=no
2285 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2286 DEFAULT_wxUSE_LIBHILDON=no
2287 DEFAULT_wxUSE_ODBC=no
2288 DEFAULT_wxUSE_OPENGL=no
2289
2290 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2291 DEFAULT_wxUSE_STACKWALKER=yes
2292 DEFAULT_wxUSE_DEBUGREPORT=yes
2293 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2294 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2295 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2296 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2297 DEFAULT_wxUSE_DATETIME=yes
2298 DEFAULT_wxUSE_TIMER=yes
2299 DEFAULT_wxUSE_STOPWATCH=yes
2300 DEFAULT_wxUSE_FILE=yes
2301 DEFAULT_wxUSE_FFILE=yes
2302 DEFAULT_wxUSE_STDPATHS=yes
2303 DEFAULT_wxUSE_TEXTBUFFER=yes
2304 DEFAULT_wxUSE_TEXTFILE=yes
2305 DEFAULT_wxUSE_SOUND=yes
2306 DEFAULT_wxUSE_MEDIACTRL=no
2307 DEFAULT_wxUSE_INTL=yes
2308 DEFAULT_wxUSE_CONFIG=yes
2309 DEFAULT_wxUSE_FONTMAP=yes
2310 DEFAULT_wxUSE_STREAMS=yes
2311 DEFAULT_wxUSE_SOCKETS=yes
2312 DEFAULT_wxUSE_OLE=yes
2313 DEFAULT_wxUSE_DATAOBJ=yes
2314 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2315 DEFAULT_wxUSE_JOYSTICK=yes
2316 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2317 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2318 DEFAULT_wxUSE_LONGLONG=yes
2319 DEFAULT_wxUSE_GEOMETRY=yes
2320
2321 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2322 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2323 DEFAULT_wxUSE_POSTSCRIPT=yes
2324
2325 DEFAULT_wxUSE_CLIPBOARD=yes
2326 DEFAULT_wxUSE_TOOLTIPS=yes
2327 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2328 DEFAULT_wxUSE_DRAGIMAGE=yes
2329 DEFAULT_wxUSE_SPLINES=yes
2330 DEFAULT_wxUSE_MOUSEWHEEL=yes
2331
2332 DEFAULT_wxUSE_MDI=yes
2333 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2334 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2335 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2336
2337 DEFAULT_wxUSE_RESOURCES=no
2338 DEFAULT_wxUSE_CONSTRAINTS=yes
2339 DEFAULT_wxUSE_IPC=yes
2340 DEFAULT_wxUSE_HELP=yes
2341 DEFAULT_wxUSE_MS_HTML_HELP=yes
2342 DEFAULT_wxUSE_WXHTML_HELP=yes
2343 DEFAULT_wxUSE_TREELAYOUT=yes
2344 DEFAULT_wxUSE_METAFILE=yes
2345 DEFAULT_wxUSE_MIMETYPE=yes
2346 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2347 DEFAULT_wxUSE_PROTOCOL=yes
2348 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2349 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2350 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2351 DEFAULT_wxUSE_URL=yes
2352
2353 DEFAULT_wxUSE_COMMONDLGS=yes
2354 DEFAULT_wxUSE_CHOICEDLG=yes
2355 DEFAULT_wxUSE_COLOURDLG=yes
2356 DEFAULT_wxUSE_DIRDLG=yes
2357 DEFAULT_wxUSE_FILEDLG=yes
2358 DEFAULT_wxUSE_FINDREPLDLG=yes
2359 DEFAULT_wxUSE_FONTDLG=yes
2360 DEFAULT_wxUSE_MSGDLG=yes
2361 DEFAULT_wxUSE_NUMBERDLG=yes
2362 DEFAULT_wxUSE_TEXTDLG=yes
2363 DEFAULT_wxUSE_SPLASH=yes
2364 DEFAULT_wxUSE_STARTUP_TIPS=yes
2365 DEFAULT_wxUSE_PROGRESSDLG=yes
2366 DEFAULT_wxUSE_WIZARDDLG=yes
2367
2368 DEFAULT_wxUSE_MENUS=yes
2369 DEFAULT_wxUSE_MINIFRAME=yes
2370 DEFAULT_wxUSE_HTML=yes
2371 DEFAULT_wxUSE_RICHTEXT=yes
2372 DEFAULT_wxUSE_XRC=yes
2373 DEFAULT_wxUSE_WEBKIT=yes
2374 DEFAULT_wxUSE_FILESYSTEM=yes
2375 DEFAULT_wxUSE_FS_INET=yes
2376 DEFAULT_wxUSE_FS_ZIP=yes
2377 DEFAULT_wxUSE_BUSYINFO=yes
2378 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2379 DEFAULT_wxUSE_ZIPSTREAM=yes
2380 DEFAULT_wxUSE_VALIDATORS=yes
2381
2382 DEFAULT_wxUSE_ACCEL=yes
2383 DEFAULT_wxUSE_BUTTON=yes
2384 DEFAULT_wxUSE_BMPBUTTON=yes
2385 DEFAULT_wxUSE_CALCTRL=yes
2386 DEFAULT_wxUSE_CARET=yes
2387 DEFAULT_wxUSE_CHECKBOX=yes
2388 DEFAULT_wxUSE_CHECKLST=yes
2389 DEFAULT_wxUSE_CHOICE=yes
2390 DEFAULT_wxUSE_CHOICEBOOK=yes
2391 DEFAULT_wxUSE_COMBOBOX=yes
2392 DEFAULT_wxUSE_DATEPICKCTRL=yes
2393 DEFAULT_wxUSE_DISPLAY=yes
2394 DEFAULT_wxUSE_GAUGE=yes
2395 DEFAULT_wxUSE_GRID=yes
2396 DEFAULT_wxUSE_DATAVIEWCTRL=no
2397 DEFAULT_wxUSE_IMAGLIST=yes
2398 DEFAULT_wxUSE_LISTBOOK=yes
2399 DEFAULT_wxUSE_LISTBOX=yes
2400 DEFAULT_wxUSE_LISTCTRL=yes
2401 DEFAULT_wxUSE_NOTEBOOK=yes
2402 DEFAULT_wxUSE_RADIOBOX=yes
2403 DEFAULT_wxUSE_RADIOBTN=yes
2404 DEFAULT_wxUSE_SASH=yes
2405 DEFAULT_wxUSE_SCROLLBAR=yes
2406 DEFAULT_wxUSE_SLIDER=yes
2407 DEFAULT_wxUSE_SPINBTN=yes
2408 DEFAULT_wxUSE_SPINCTRL=yes
2409 DEFAULT_wxUSE_SPLITTER=yes
2410 DEFAULT_wxUSE_STATBMP=yes
2411 DEFAULT_wxUSE_STATBOX=yes
2412 DEFAULT_wxUSE_STATLINE=yes
2413 DEFAULT_wxUSE_STATTEXT=yes
2414 DEFAULT_wxUSE_STATUSBAR=yes
2415 DEFAULT_wxUSE_TABDIALOG=no
2416 DEFAULT_wxUSE_TEXTCTRL=yes
2417 DEFAULT_wxUSE_TOGGLEBTN=yes
2418 DEFAULT_wxUSE_TOOLBAR=yes
2419 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2420 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2421 DEFAULT_wxUSE_TREEBOOK=yes
2422 DEFAULT_wxUSE_TREECTRL=yes
2423 DEFAULT_wxUSE_POPUPWIN=yes
2424 DEFAULT_wxUSE_TIPWINDOW=yes
2425
2426 DEFAULT_wxUSE_UNICODE=no
2427 DEFAULT_wxUSE_UNICODE_MSLU=yes
2428 DEFAULT_wxUSE_WCSRTOMBS=no
2429
2430 DEFAULT_wxUSE_PALETTE=yes
2431 DEFAULT_wxUSE_IMAGE=yes
2432 DEFAULT_wxUSE_GIF=yes
2433 DEFAULT_wxUSE_PCX=yes
2434 DEFAULT_wxUSE_IFF=no
2435 DEFAULT_wxUSE_PNM=yes
2436 DEFAULT_wxUSE_XPM=yes
2437 DEFAULT_wxUSE_ICO_CUR=yes
2438 DEFAULT_wxUSE_ACCESSIBILITY=no
2439
2440 DEFAULT_wxUSE_MONOLITHIC=no
2441 DEFAULT_wxUSE_PLUGINS=no
2442 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2443
2444 DEFAULT_wxUSE_GTK2=yes
2445 fi
2446
2447
2448
2449
2450 for toolkit in `echo $ALL_TOOLKITS`; do
2451 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2452 if test "x$LINE" != "x" ; then
2453 has_toolkit_in_cache=1
2454 eval "DEFAULT_$LINE"
2455 eval "CACHE_$toolkit=1"
2456
2457 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2458 if test "x$LINE" != "x" ; then
2459 eval "DEFAULT_$LINE"
2460 fi
2461 fi
2462 done
2463
2464
2465
2466 enablestring=
2467 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2468 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2469 no_cache=0
2470 # Check whether --enable-gui or --disable-gui was given.
2471 if test "${enable_gui+set}" = set; then
2472 enableval="$enable_gui"
2473
2474 if test "$enableval" = yes; then
2475 ac_cv_use_gui='wxUSE_GUI=yes'
2476 else
2477 ac_cv_use_gui='wxUSE_GUI=no'
2478 fi
2479
2480 else
2481
2482 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2483 if test "x$LINE" != x ; then
2484 eval "DEFAULT_$LINE"
2485 else
2486 no_cache=1
2487 fi
2488
2489 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2490
2491 fi;
2492
2493 eval "$ac_cv_use_gui"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2496 fi
2497
2498 if test "$wxUSE_GUI" = yes; then
2499 echo "$as_me:$LINENO: result: yes" >&5
2500 echo "${ECHO_T}yes" >&6
2501 else
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2504 fi
2505
2506
2507 enablestring=
2508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2509 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2510 no_cache=0
2511 # Check whether --enable-monolithic or --disable-monolithic was given.
2512 if test "${enable_monolithic+set}" = set; then
2513 enableval="$enable_monolithic"
2514
2515 if test "$enableval" = yes; then
2516 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2517 else
2518 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2519 fi
2520
2521 else
2522
2523 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2524 if test "x$LINE" != x ; then
2525 eval "DEFAULT_$LINE"
2526 else
2527 no_cache=1
2528 fi
2529
2530 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2531
2532 fi;
2533
2534 eval "$ac_cv_use_monolithic"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2537 fi
2538
2539 if test "$wxUSE_MONOLITHIC" = yes; then
2540 echo "$as_me:$LINENO: result: yes" >&5
2541 echo "${ECHO_T}yes" >&6
2542 else
2543 echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6
2545 fi
2546
2547
2548 enablestring=
2549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2550 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2551 no_cache=0
2552 # Check whether --enable-plugins or --disable-plugins was given.
2553 if test "${enable_plugins+set}" = set; then
2554 enableval="$enable_plugins"
2555
2556 if test "$enableval" = yes; then
2557 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2558 else
2559 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2560 fi
2561
2562 else
2563
2564 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x ; then
2566 eval "DEFAULT_$LINE"
2567 else
2568 no_cache=1
2569 fi
2570
2571 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2572
2573 fi;
2574
2575 eval "$ac_cv_use_plugins"
2576 if test "$no_cache" != 1; then
2577 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2578 fi
2579
2580 if test "$wxUSE_PLUGINS" = yes; then
2581 echo "$as_me:$LINENO: result: yes" >&5
2582 echo "${ECHO_T}yes" >&6
2583 else
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2586 fi
2587
2588
2589 withstring=without
2590 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2591 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2592 no_cache=0
2593
2594 # Check whether --with-subdirs or --without-subdirs was given.
2595 if test "${with_subdirs+set}" = set; then
2596 withval="$with_subdirs"
2597
2598 if test "$withval" = yes; then
2599 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2600 else
2601 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2602 fi
2603
2604 else
2605
2606 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x ; then
2608 eval "DEFAULT_$LINE"
2609 else
2610 no_cache=1
2611 fi
2612
2613 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2614
2615 fi;
2616
2617 eval "$ac_cv_use_subdirs"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2620 fi
2621
2622 if test "$wxWITH_SUBDIRS" = yes; then
2623 echo "$as_me:$LINENO: result: yes" >&5
2624 echo "${ECHO_T}yes" >&6
2625 else
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2628 fi
2629
2630
2631 if test "$wxUSE_GUI" = "yes"; then
2632
2633
2634 enablestring=
2635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2636 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2637 no_cache=0
2638 # Check whether --enable-universal or --disable-universal was given.
2639 if test "${enable_universal+set}" = set; then
2640 enableval="$enable_universal"
2641
2642 if test "$enableval" = yes; then
2643 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2644 else
2645 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2646 fi
2647
2648 else
2649
2650 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x ; then
2652 eval "DEFAULT_$LINE"
2653 else
2654 no_cache=1
2655 fi
2656
2657 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2658
2659 fi;
2660
2661 eval "$ac_cv_use_universal"
2662 if test "$no_cache" != 1; then
2663 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2664 fi
2665
2666 if test "$wxUSE_UNIVERSAL" = yes; then
2667 echo "$as_me:$LINENO: result: yes" >&5
2668 echo "${ECHO_T}yes" >&6
2669 else
2670 echo "$as_me:$LINENO: result: no" >&5
2671 echo "${ECHO_T}no" >&6
2672 fi
2673
2674
2675 # Check whether --with-gtk or --without-gtk was given.
2676 if test "${with_gtk+set}" = set; then
2677 withval="$with_gtk"
2678 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2679 fi;
2680
2681 # Check whether --with-motif or --without-motif was given.
2682 if test "${with_motif+set}" = set; then
2683 withval="$with_motif"
2684 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2685 fi;
2686
2687 # Check whether --with-mac or --without-mac was given.
2688 if test "${with_mac+set}" = set; then
2689 withval="$with_mac"
2690 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2691 fi;
2692
2693 # Check whether --with-cocoa or --without-cocoa was given.
2694 if test "${with_cocoa+set}" = set; then
2695 withval="$with_cocoa"
2696 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2697 fi;
2698
2699 # Check whether --with-wine or --without-wine was given.
2700 if test "${with_wine+set}" = set; then
2701 withval="$with_wine"
2702 wxUSE_WINE="$withval" CACHE_WINE=1
2703 fi;
2704
2705 # Check whether --with-msw or --without-msw was given.
2706 if test "${with_msw+set}" = set; then
2707 withval="$with_msw"
2708 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2709 fi;
2710
2711 # Check whether --with-pm or --without-pm was given.
2712 if test "${with_pm+set}" = set; then
2713 withval="$with_pm"
2714 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2715 fi;
2716
2717 # Check whether --with-mgl or --without-mgl was given.
2718 if test "${with_mgl+set}" = set; then
2719 withval="$with_mgl"
2720 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2721 fi;
2722
2723 # Check whether --with-microwin or --without-microwin was given.
2724 if test "${with_microwin+set}" = set; then
2725 withval="$with_microwin"
2726 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2727 fi;
2728
2729 # Check whether --with-x11 or --without-x11 was given.
2730 if test "${with_x11+set}" = set; then
2731 withval="$with_x11"
2732 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2733 fi;
2734
2735 enablestring=
2736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2737 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2738 no_cache=0
2739 # Check whether --enable-nanox or --disable-nanox was given.
2740 if test "${enable_nanox+set}" = set; then
2741 enableval="$enable_nanox"
2742
2743 if test "$enableval" = yes; then
2744 ac_cv_use_nanox='wxUSE_NANOX=yes'
2745 else
2746 ac_cv_use_nanox='wxUSE_NANOX=no'
2747 fi
2748
2749 else
2750
2751 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2759
2760 fi;
2761
2762 eval "$ac_cv_use_nanox"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxUSE_NANOX" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 else
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 fi
2774
2775
2776 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2777 if test "${enable_gtk2+set}" = set; then
2778 enableval="$enable_gtk2"
2779 wxUSE_GTK2="$enableval"
2780 fi;
2781
2782 enablestring=
2783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2784 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2785 no_cache=0
2786 # Check whether --enable-gpe or --disable-gpe was given.
2787 if test "${enable_gpe+set}" = set; then
2788 enableval="$enable_gpe"
2789
2790 if test "$enableval" = yes; then
2791 ac_cv_use_gpe='wxUSE_GPE=yes'
2792 else
2793 ac_cv_use_gpe='wxUSE_GPE=no'
2794 fi
2795
2796 else
2797
2798 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x ; then
2800 eval "DEFAULT_$LINE"
2801 else
2802 no_cache=1
2803 fi
2804
2805 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2806
2807 fi;
2808
2809 eval "$ac_cv_use_gpe"
2810 if test "$no_cache" != 1; then
2811 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2812 fi
2813
2814 if test "$wxUSE_GPE" = yes; then
2815 echo "$as_me:$LINENO: result: yes" >&5
2816 echo "${ECHO_T}yes" >&6
2817 else
2818 echo "$as_me:$LINENO: result: no" >&5
2819 echo "${ECHO_T}no" >&6
2820 fi
2821
2822
2823
2824 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2825 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2826 no_cache=0
2827
2828 # Check whether --with-libpng or --without-libpng was given.
2829 if test "${with_libpng+set}" = set; then
2830 withval="$with_libpng"
2831
2832 if test "$withval" = yes; then
2833 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2834 elif test "$withval" = no; then
2835 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2836 elif test "$withval" = sys; then
2837 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2838 elif test "$withval" = builtin; then
2839 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2840 else
2841 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2842 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2843 { (exit 1); exit 1; }; }
2844 fi
2845
2846 else
2847
2848 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2849 if test "x$LINE" != x ; then
2850 eval "DEFAULT_$LINE"
2851 else
2852 no_cache=1
2853 fi
2854
2855 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2856
2857 fi;
2858
2859 eval "$ac_cv_use_libpng"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2862 fi
2863
2864 if test "$wxUSE_LIBPNG" = yes; then
2865 echo "$as_me:$LINENO: result: yes" >&5
2866 echo "${ECHO_T}yes" >&6
2867 elif test "$wxUSE_LIBPNG" = no; then
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2870 elif test "$wxUSE_LIBPNG" = sys; then
2871 echo "$as_me:$LINENO: result: system version" >&5
2872 echo "${ECHO_T}system version" >&6
2873 elif test "$wxUSE_LIBPNG" = builtin; then
2874 echo "$as_me:$LINENO: result: builtin version" >&5
2875 echo "${ECHO_T}builtin version" >&6
2876 else
2877 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2878 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2879 { (exit 1); exit 1; }; }
2880 fi
2881
2882
2883 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2884 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2885 no_cache=0
2886
2887 # Check whether --with-libjpeg or --without-libjpeg was given.
2888 if test "${with_libjpeg+set}" = set; then
2889 withval="$with_libjpeg"
2890
2891 if test "$withval" = yes; then
2892 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2893 elif test "$withval" = no; then
2894 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2895 elif test "$withval" = sys; then
2896 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2897 elif test "$withval" = builtin; then
2898 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2899 else
2900 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2901 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2902 { (exit 1); exit 1; }; }
2903 fi
2904
2905 else
2906
2907 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2908 if test "x$LINE" != x ; then
2909 eval "DEFAULT_$LINE"
2910 else
2911 no_cache=1
2912 fi
2913
2914 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2915
2916 fi;
2917
2918 eval "$ac_cv_use_libjpeg"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2921 fi
2922
2923 if test "$wxUSE_LIBJPEG" = yes; then
2924 echo "$as_me:$LINENO: result: yes" >&5
2925 echo "${ECHO_T}yes" >&6
2926 elif test "$wxUSE_LIBJPEG" = no; then
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2929 elif test "$wxUSE_LIBJPEG" = sys; then
2930 echo "$as_me:$LINENO: result: system version" >&5
2931 echo "${ECHO_T}system version" >&6
2932 elif test "$wxUSE_LIBJPEG" = builtin; then
2933 echo "$as_me:$LINENO: result: builtin version" >&5
2934 echo "${ECHO_T}builtin version" >&6
2935 else
2936 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2937 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2938 { (exit 1); exit 1; }; }
2939 fi
2940
2941
2942 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2943 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2944 no_cache=0
2945
2946 # Check whether --with-libtiff or --without-libtiff was given.
2947 if test "${with_libtiff+set}" = set; then
2948 withval="$with_libtiff"
2949
2950 if test "$withval" = yes; then
2951 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2952 elif test "$withval" = no; then
2953 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2954 elif test "$withval" = sys; then
2955 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2956 elif test "$withval" = builtin; then
2957 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2958 else
2959 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2960 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2961 { (exit 1); exit 1; }; }
2962 fi
2963
2964 else
2965
2966 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2967 if test "x$LINE" != x ; then
2968 eval "DEFAULT_$LINE"
2969 else
2970 no_cache=1
2971 fi
2972
2973 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2974
2975 fi;
2976
2977 eval "$ac_cv_use_libtiff"
2978 if test "$no_cache" != 1; then
2979 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2980 fi
2981
2982 if test "$wxUSE_LIBTIFF" = yes; then
2983 echo "$as_me:$LINENO: result: yes" >&5
2984 echo "${ECHO_T}yes" >&6
2985 elif test "$wxUSE_LIBTIFF" = no; then
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2988 elif test "$wxUSE_LIBTIFF" = sys; then
2989 echo "$as_me:$LINENO: result: system version" >&5
2990 echo "${ECHO_T}system version" >&6
2991 elif test "$wxUSE_LIBTIFF" = builtin; then
2992 echo "$as_me:$LINENO: result: builtin version" >&5
2993 echo "${ECHO_T}builtin version" >&6
2994 else
2995 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2996 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2997 { (exit 1); exit 1; }; }
2998 fi
2999
3000
3001 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3002 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3003 no_cache=0
3004
3005 # Check whether --with-libxpm or --without-libxpm was given.
3006 if test "${with_libxpm+set}" = set; then
3007 withval="$with_libxpm"
3008
3009 if test "$withval" = yes; then
3010 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3011 elif test "$withval" = no; then
3012 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3013 elif test "$withval" = sys; then
3014 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3015 elif test "$withval" = builtin; then
3016 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3017 else
3018 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3019 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3020 { (exit 1); exit 1; }; }
3021 fi
3022
3023 else
3024
3025 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x ; then
3027 eval "DEFAULT_$LINE"
3028 else
3029 no_cache=1
3030 fi
3031
3032 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3033
3034 fi;
3035
3036 eval "$ac_cv_use_libxpm"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3039 fi
3040
3041 if test "$wxUSE_LIBXPM" = yes; then
3042 echo "$as_me:$LINENO: result: yes" >&5
3043 echo "${ECHO_T}yes" >&6
3044 elif test "$wxUSE_LIBXPM" = no; then
3045 echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6
3047 elif test "$wxUSE_LIBXPM" = sys; then
3048 echo "$as_me:$LINENO: result: system version" >&5
3049 echo "${ECHO_T}system version" >&6
3050 elif test "$wxUSE_LIBXPM" = builtin; then
3051 echo "$as_me:$LINENO: result: builtin version" >&5
3052 echo "${ECHO_T}builtin version" >&6
3053 else
3054 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3055 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3056 { (exit 1); exit 1; }; }
3057 fi
3058
3059
3060 withstring=
3061 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3062 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3063 no_cache=0
3064
3065 # Check whether --with-libmspack or --without-libmspack was given.
3066 if test "${with_libmspack+set}" = set; then
3067 withval="$with_libmspack"
3068
3069 if test "$withval" = yes; then
3070 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3071 else
3072 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3073 fi
3074
3075 else
3076
3077 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x ; then
3079 eval "DEFAULT_$LINE"
3080 else
3081 no_cache=1
3082 fi
3083
3084 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3085
3086 fi;
3087
3088 eval "$ac_cv_use_libmspack"
3089 if test "$no_cache" != 1; then
3090 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3091 fi
3092
3093 if test "$wxUSE_LIBMSPACK" = yes; then
3094 echo "$as_me:$LINENO: result: yes" >&5
3095 echo "${ECHO_T}yes" >&6
3096 else
3097 echo "$as_me:$LINENO: result: no" >&5
3098 echo "${ECHO_T}no" >&6
3099 fi
3100
3101
3102 withstring=
3103 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3104 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-sdl or --without-sdl was given.
3108 if test "${with_sdl+set}" = set; then
3109 withval="$with_sdl"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3113 else
3114 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3115 fi
3116
3117 else
3118
3119 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3120 if test "x$LINE" != x ; then
3121 eval "DEFAULT_$LINE"
3122 else
3123 no_cache=1
3124 fi
3125
3126 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3127
3128 fi;
3129
3130 eval "$ac_cv_use_sdl"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3133 fi
3134
3135 if test "$wxUSE_LIBSDL" = yes; then
3136 echo "$as_me:$LINENO: result: yes" >&5
3137 echo "${ECHO_T}yes" >&6
3138 else
3139 echo "$as_me:$LINENO: result: no" >&5
3140 echo "${ECHO_T}no" >&6
3141 fi
3142
3143
3144 withstring=
3145 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3146 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3147 no_cache=0
3148
3149 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3150 if test "${with_gnomeprint+set}" = set; then
3151 withval="$with_gnomeprint"
3152
3153 if test "$withval" = yes; then
3154 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3155 else
3156 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3157 fi
3158
3159 else
3160
3161 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3162 if test "x$LINE" != x ; then
3163 eval "DEFAULT_$LINE"
3164 else
3165 no_cache=1
3166 fi
3167
3168 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3169
3170 fi;
3171
3172 eval "$ac_cv_use_gnomeprint"
3173 if test "$no_cache" != 1; then
3174 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3175 fi
3176
3177 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3178 echo "$as_me:$LINENO: result: yes" >&5
3179 echo "${ECHO_T}yes" >&6
3180 else
3181 echo "$as_me:$LINENO: result: no" >&5
3182 echo "${ECHO_T}no" >&6
3183 fi
3184
3185
3186 withstring=
3187 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3188 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3189 no_cache=0
3190
3191 # Check whether --with-hildon or --without-hildon was given.
3192 if test "${with_hildon+set}" = set; then
3193 withval="$with_hildon"
3194
3195 if test "$withval" = yes; then
3196 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3197 else
3198 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3199 fi
3200
3201 else
3202
3203 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3204 if test "x$LINE" != x ; then
3205 eval "DEFAULT_$LINE"
3206 else
3207 no_cache=1
3208 fi
3209
3210 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3211
3212 fi;
3213
3214 eval "$ac_cv_use_hildon"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3217 fi
3218
3219 if test "$wxUSE_LIBHILDON" = yes; then
3220 echo "$as_me:$LINENO: result: yes" >&5
3221 echo "${ECHO_T}yes" >&6
3222 else
3223 echo "$as_me:$LINENO: result: no" >&5
3224 echo "${ECHO_T}no" >&6
3225 fi
3226
3227
3228 withstring=
3229 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3230 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3231 no_cache=0
3232
3233 # Check whether --with-opengl or --without-opengl was given.
3234 if test "${with_opengl+set}" = set; then
3235 withval="$with_opengl"
3236
3237 if test "$withval" = yes; then
3238 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3239 else
3240 ac_cv_use_opengl='wxUSE_OPENGL=no'
3241 fi
3242
3243 else
3244
3245 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3246 if test "x$LINE" != x ; then
3247 eval "DEFAULT_$LINE"
3248 else
3249 no_cache=1
3250 fi
3251
3252 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3253
3254 fi;
3255
3256 eval "$ac_cv_use_opengl"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3259 fi
3260
3261 if test "$wxUSE_OPENGL" = yes; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3264 else
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3267 fi
3268
3269
3270 fi
3271
3272
3273 withstring=
3274 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3275 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3276 no_cache=0
3277
3278 # Check whether --with-dmalloc or --without-dmalloc was given.
3279 if test "${with_dmalloc+set}" = set; then
3280 withval="$with_dmalloc"
3281
3282 if test "$withval" = yes; then
3283 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3284 else
3285 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3286 fi
3287
3288 else
3289
3290 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x ; then
3292 eval "DEFAULT_$LINE"
3293 else
3294 no_cache=1
3295 fi
3296
3297 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3298
3299 fi;
3300
3301 eval "$ac_cv_use_dmalloc"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3304 fi
3305
3306 if test "$wxUSE_DMALLOC" = yes; then
3307 echo "$as_me:$LINENO: result: yes" >&5
3308 echo "${ECHO_T}yes" >&6
3309 else
3310 echo "$as_me:$LINENO: result: no" >&5
3311 echo "${ECHO_T}no" >&6
3312 fi
3313
3314
3315 echo "$as_me:$LINENO: checking for --with-regex" >&5
3316 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3317 no_cache=0
3318
3319 # Check whether --with-regex or --without-regex was given.
3320 if test "${with_regex+set}" = set; then
3321 withval="$with_regex"
3322
3323 if test "$withval" = yes; then
3324 ac_cv_use_regex='wxUSE_REGEX=yes'
3325 elif test "$withval" = no; then
3326 ac_cv_use_regex='wxUSE_REGEX=no'
3327 elif test "$withval" = sys; then
3328 ac_cv_use_regex='wxUSE_REGEX=sys'
3329 elif test "$withval" = builtin; then
3330 ac_cv_use_regex='wxUSE_REGEX=builtin'
3331 else
3332 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3333 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3334 { (exit 1); exit 1; }; }
3335 fi
3336
3337 else
3338
3339 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x ; then
3341 eval "DEFAULT_$LINE"
3342 else
3343 no_cache=1
3344 fi
3345
3346 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3347
3348 fi;
3349
3350 eval "$ac_cv_use_regex"
3351 if test "$no_cache" != 1; then
3352 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3353 fi
3354
3355 if test "$wxUSE_REGEX" = yes; then
3356 echo "$as_me:$LINENO: result: yes" >&5
3357 echo "${ECHO_T}yes" >&6
3358 elif test "$wxUSE_REGEX" = no; then
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3361 elif test "$wxUSE_REGEX" = sys; then
3362 echo "$as_me:$LINENO: result: system version" >&5
3363 echo "${ECHO_T}system version" >&6
3364 elif test "$wxUSE_REGEX" = builtin; then
3365 echo "$as_me:$LINENO: result: builtin version" >&5
3366 echo "${ECHO_T}builtin version" >&6
3367 else
3368 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3369 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3370 { (exit 1); exit 1; }; }
3371 fi
3372
3373
3374 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3375 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3376 no_cache=0
3377
3378 # Check whether --with-zlib or --without-zlib was given.
3379 if test "${with_zlib+set}" = set; then
3380 withval="$with_zlib"
3381
3382 if test "$withval" = yes; then
3383 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3384 elif test "$withval" = no; then
3385 ac_cv_use_zlib='wxUSE_ZLIB=no'
3386 elif test "$withval" = sys; then
3387 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3388 elif test "$withval" = builtin; then
3389 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3390 else
3391 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3392 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3393 { (exit 1); exit 1; }; }
3394 fi
3395
3396 else
3397
3398 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x ; then
3400 eval "DEFAULT_$LINE"
3401 else
3402 no_cache=1
3403 fi
3404
3405 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3406
3407 fi;
3408
3409 eval "$ac_cv_use_zlib"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3412 fi
3413
3414 if test "$wxUSE_ZLIB" = yes; then
3415 echo "$as_me:$LINENO: result: yes" >&5
3416 echo "${ECHO_T}yes" >&6
3417 elif test "$wxUSE_ZLIB" = no; then
3418 echo "$as_me:$LINENO: result: no" >&5
3419 echo "${ECHO_T}no" >&6
3420 elif test "$wxUSE_ZLIB" = sys; then
3421 echo "$as_me:$LINENO: result: system version" >&5
3422 echo "${ECHO_T}system version" >&6
3423 elif test "$wxUSE_ZLIB" = builtin; then
3424 echo "$as_me:$LINENO: result: builtin version" >&5
3425 echo "${ECHO_T}builtin version" >&6
3426 else
3427 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3428 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3429 { (exit 1); exit 1; }; }
3430 fi
3431
3432
3433 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3434 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3435 no_cache=0
3436
3437 # Check whether --with-odbc or --without-odbc was given.
3438 if test "${with_odbc+set}" = set; then
3439 withval="$with_odbc"
3440
3441 if test "$withval" = yes; then
3442 ac_cv_use_odbc='wxUSE_ODBC=yes'
3443 elif test "$withval" = no; then
3444 ac_cv_use_odbc='wxUSE_ODBC=no'
3445 elif test "$withval" = sys; then
3446 ac_cv_use_odbc='wxUSE_ODBC=sys'
3447 elif test "$withval" = builtin; then
3448 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3449 else
3450 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3451 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3452 { (exit 1); exit 1; }; }
3453 fi
3454
3455 else
3456
3457 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3458 if test "x$LINE" != x ; then
3459 eval "DEFAULT_$LINE"
3460 else
3461 no_cache=1
3462 fi
3463
3464 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3465
3466 fi;
3467
3468 eval "$ac_cv_use_odbc"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3471 fi
3472
3473 if test "$wxUSE_ODBC" = yes; then
3474 echo "$as_me:$LINENO: result: yes" >&5
3475 echo "${ECHO_T}yes" >&6
3476 elif test "$wxUSE_ODBC" = no; then
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3479 elif test "$wxUSE_ODBC" = sys; then
3480 echo "$as_me:$LINENO: result: system version" >&5
3481 echo "${ECHO_T}system version" >&6
3482 elif test "$wxUSE_ODBC" = builtin; then
3483 echo "$as_me:$LINENO: result: builtin version" >&5
3484 echo "${ECHO_T}builtin version" >&6
3485 else
3486 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3487 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3488 { (exit 1); exit 1; }; }
3489 fi
3490
3491
3492 echo "$as_me:$LINENO: checking for --with-expat" >&5
3493 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3494 no_cache=0
3495
3496 # Check whether --with-expat or --without-expat was given.
3497 if test "${with_expat+set}" = set; then
3498 withval="$with_expat"
3499
3500 if test "$withval" = yes; then
3501 ac_cv_use_expat='wxUSE_EXPAT=yes'
3502 elif test "$withval" = no; then
3503 ac_cv_use_expat='wxUSE_EXPAT=no'
3504 elif test "$withval" = sys; then
3505 ac_cv_use_expat='wxUSE_EXPAT=sys'
3506 elif test "$withval" = builtin; then
3507 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3508 else
3509 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3510 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3511 { (exit 1); exit 1; }; }
3512 fi
3513
3514 else
3515
3516 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x ; then
3518 eval "DEFAULT_$LINE"
3519 else
3520 no_cache=1
3521 fi
3522
3523 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3524
3525 fi;
3526
3527 eval "$ac_cv_use_expat"
3528 if test "$no_cache" != 1; then
3529 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3530 fi
3531
3532 if test "$wxUSE_EXPAT" = yes; then
3533 echo "$as_me:$LINENO: result: yes" >&5
3534 echo "${ECHO_T}yes" >&6
3535 elif test "$wxUSE_EXPAT" = no; then
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3538 elif test "$wxUSE_EXPAT" = sys; then
3539 echo "$as_me:$LINENO: result: system version" >&5
3540 echo "${ECHO_T}system version" >&6
3541 elif test "$wxUSE_EXPAT" = builtin; then
3542 echo "$as_me:$LINENO: result: builtin version" >&5
3543 echo "${ECHO_T}builtin version" >&6
3544 else
3545 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3546 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3547 { (exit 1); exit 1; }; }
3548 fi
3549
3550
3551
3552
3553 enablestring=
3554 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3555 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3556 no_cache=0
3557 # Check whether --enable-shared or --disable-shared was given.
3558 if test "${enable_shared+set}" = set; then
3559 enableval="$enable_shared"
3560
3561 if test "$enableval" = yes; then
3562 ac_cv_use_shared='wxUSE_SHARED=yes'
3563 else
3564 ac_cv_use_shared='wxUSE_SHARED=no'
3565 fi
3566
3567 else
3568
3569 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x ; then
3571 eval "DEFAULT_$LINE"
3572 else
3573 no_cache=1
3574 fi
3575
3576 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3577
3578 fi;
3579
3580 eval "$ac_cv_use_shared"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3583 fi
3584
3585 if test "$wxUSE_SHARED" = yes; then
3586 echo "$as_me:$LINENO: result: yes" >&5
3587 echo "${ECHO_T}yes" >&6
3588 else
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3591 fi
3592
3593
3594 enablestring=
3595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3596 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3597 no_cache=0
3598 # Check whether --enable-optimise or --disable-optimise was given.
3599 if test "${enable_optimise+set}" = set; then
3600 enableval="$enable_optimise"
3601
3602 if test "$enableval" = yes; then
3603 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3604 else
3605 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3606 fi
3607
3608 else
3609
3610 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x ; then
3612 eval "DEFAULT_$LINE"
3613 else
3614 no_cache=1
3615 fi
3616
3617 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3618
3619 fi;
3620
3621 eval "$ac_cv_use_optimise"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3624 fi
3625
3626 if test "$wxUSE_OPTIMISE" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3629 else
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 fi
3633
3634
3635 enablestring=
3636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3637 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3638 no_cache=0
3639 # Check whether --enable-debug or --disable-debug was given.
3640 if test "${enable_debug+set}" = set; then
3641 enableval="$enable_debug"
3642
3643 if test "$enableval" = yes; then
3644 ac_cv_use_debug='wxUSE_DEBUG=yes'
3645 else
3646 ac_cv_use_debug='wxUSE_DEBUG=no'
3647 fi
3648
3649 else
3650
3651 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x ; then
3653 eval "DEFAULT_$LINE"
3654 else
3655 no_cache=1
3656 fi
3657
3658 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3659
3660 fi;
3661
3662 eval "$ac_cv_use_debug"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3665 fi
3666
3667 if test "$wxUSE_DEBUG" = yes; then
3668 echo "$as_me:$LINENO: result: yes" >&5
3669 echo "${ECHO_T}yes" >&6
3670 else
3671 echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3673 fi
3674
3675
3676 enablestring=
3677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3678 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3679 no_cache=0
3680 # Check whether --enable-stl or --disable-stl was given.
3681 if test "${enable_stl+set}" = set; then
3682 enableval="$enable_stl"
3683
3684 if test "$enableval" = yes; then
3685 ac_cv_use_stl='wxUSE_STL=yes'
3686 else
3687 ac_cv_use_stl='wxUSE_STL=no'
3688 fi
3689
3690 else
3691
3692 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3693 if test "x$LINE" != x ; then
3694 eval "DEFAULT_$LINE"
3695 else
3696 no_cache=1
3697 fi
3698
3699 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3700
3701 fi;
3702
3703 eval "$ac_cv_use_stl"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3706 fi
3707
3708 if test "$wxUSE_STL" = yes; then
3709 echo "$as_me:$LINENO: result: yes" >&5
3710 echo "${ECHO_T}yes" >&6
3711 else
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3714 fi
3715
3716 if test "$USE_OS2" = "1"; then
3717 DEFAULT_wxUSE_OMF=no
3718
3719 enablestring=
3720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3721 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3722 no_cache=0
3723 # Check whether --enable-omf or --disable-omf was given.
3724 if test "${enable_omf+set}" = set; then
3725 enableval="$enable_omf"
3726
3727 if test "$enableval" = yes; then
3728 ac_cv_use_omf='wxUSE_OMF=yes'
3729 else
3730 ac_cv_use_omf='wxUSE_OMF=no'
3731 fi
3732
3733 else
3734
3735 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x ; then
3737 eval "DEFAULT_$LINE"
3738 else
3739 no_cache=1
3740 fi
3741
3742 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3743
3744 fi;
3745
3746 eval "$ac_cv_use_omf"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3749 fi
3750
3751 if test "$wxUSE_OMF" = yes; then
3752 echo "$as_me:$LINENO: result: yes" >&5
3753 echo "${ECHO_T}yes" >&6
3754 else
3755 echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6
3757 fi
3758
3759 fi
3760
3761 if test "$wxUSE_DEBUG" = "yes"; then
3762 DEFAULT_wxUSE_DEBUG_FLAG=yes
3763 DEFAULT_wxUSE_DEBUG_INFO=yes
3764 BUILD=debug
3765 elif test "$wxUSE_DEBUG" = "no"; then
3766 DEFAULT_wxUSE_DEBUG_FLAG=no
3767 DEFAULT_wxUSE_DEBUG_INFO=no
3768 BUILD=release
3769 fi
3770
3771
3772 enablestring=
3773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3774 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3775 no_cache=0
3776 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3777 if test "${enable_debug_flag+set}" = set; then
3778 enableval="$enable_debug_flag"
3779
3780 if test "$enableval" = yes; then
3781 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3782 else
3783 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3784 fi
3785
3786 else
3787
3788 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3789 if test "x$LINE" != x ; then
3790 eval "DEFAULT_$LINE"
3791 else
3792 no_cache=1
3793 fi
3794
3795 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3796
3797 fi;
3798
3799 eval "$ac_cv_use_debug_flag"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3802 fi
3803
3804 if test "$wxUSE_DEBUG_FLAG" = yes; then
3805 echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6
3807 else
3808 echo "$as_me:$LINENO: result: no" >&5
3809 echo "${ECHO_T}no" >&6
3810 fi
3811
3812
3813 enablestring=
3814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3815 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3816 no_cache=0
3817 # Check whether --enable-debug_info or --disable-debug_info was given.
3818 if test "${enable_debug_info+set}" = set; then
3819 enableval="$enable_debug_info"
3820
3821 if test "$enableval" = yes; then
3822 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3823 else
3824 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3825 fi
3826
3827 else
3828
3829 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3830 if test "x$LINE" != x ; then
3831 eval "DEFAULT_$LINE"
3832 else
3833 no_cache=1
3834 fi
3835
3836 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3837
3838 fi;
3839
3840 eval "$ac_cv_use_debug_info"
3841 if test "$no_cache" != 1; then
3842 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3843 fi
3844
3845 if test "$wxUSE_DEBUG_INFO" = yes; then
3846 echo "$as_me:$LINENO: result: yes" >&5
3847 echo "${ECHO_T}yes" >&6
3848 else
3849 echo "$as_me:$LINENO: result: no" >&5
3850 echo "${ECHO_T}no" >&6
3851 fi
3852
3853
3854 enablestring=
3855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3856 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3857 no_cache=0
3858 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3859 if test "${enable_debug_gdb+set}" = set; then
3860 enableval="$enable_debug_gdb"
3861
3862 if test "$enableval" = yes; then
3863 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3864 else
3865 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3866 fi
3867
3868 else
3869
3870 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x ; then
3872 eval "DEFAULT_$LINE"
3873 else
3874 no_cache=1
3875 fi
3876
3877 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3878
3879 fi;
3880
3881 eval "$ac_cv_use_debug_gdb"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3884 fi
3885
3886 if test "$wxUSE_DEBUG_GDB" = yes; then
3887 echo "$as_me:$LINENO: result: yes" >&5
3888 echo "${ECHO_T}yes" >&6
3889 else
3890 echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6
3892 fi
3893
3894
3895 enablestring=
3896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3897 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3898 no_cache=0
3899 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3900 if test "${enable_debug_cntxt+set}" = set; then
3901 enableval="$enable_debug_cntxt"
3902
3903 if test "$enableval" = yes; then
3904 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3905 else
3906 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3907 fi
3908
3909 else
3910
3911 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3912 if test "x$LINE" != x ; then
3913 eval "DEFAULT_$LINE"
3914 else
3915 no_cache=1
3916 fi
3917
3918 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
3919
3920 fi;
3921
3922 eval "$ac_cv_use_debug_cntxt"
3923 if test "$no_cache" != 1; then
3924 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
3925 fi
3926
3927 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
3928 echo "$as_me:$LINENO: result: yes" >&5
3929 echo "${ECHO_T}yes" >&6
3930 else
3931 echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6
3933 fi
3934
3935
3936 enablestring=
3937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
3938 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
3939 no_cache=0
3940 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
3941 if test "${enable_mem_tracing+set}" = set; then
3942 enableval="$enable_mem_tracing"
3943
3944 if test "$enableval" = yes; then
3945 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
3946 else
3947 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
3948 fi
3949
3950 else
3951
3952 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x ; then
3954 eval "DEFAULT_$LINE"
3955 else
3956 no_cache=1
3957 fi
3958
3959 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
3960
3961 fi;
3962
3963 eval "$ac_cv_use_mem_tracing"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
3966 fi
3967
3968 if test "$wxUSE_MEM_TRACING" = yes; then
3969 echo "$as_me:$LINENO: result: yes" >&5
3970 echo "${ECHO_T}yes" >&6
3971 else
3972 echo "$as_me:$LINENO: result: no" >&5
3973 echo "${ECHO_T}no" >&6
3974 fi
3975
3976
3977 enablestring=
3978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
3979 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
3980 no_cache=0
3981 # Check whether --enable-profile or --disable-profile was given.
3982 if test "${enable_profile+set}" = set; then
3983 enableval="$enable_profile"
3984
3985 if test "$enableval" = yes; then
3986 ac_cv_use_profile='wxUSE_PROFILE=yes'
3987 else
3988 ac_cv_use_profile='wxUSE_PROFILE=no'
3989 fi
3990
3991 else
3992
3993 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x ; then
3995 eval "DEFAULT_$LINE"
3996 else
3997 no_cache=1
3998 fi
3999
4000 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4001
4002 fi;
4003
4004 eval "$ac_cv_use_profile"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4007 fi
4008
4009 if test "$wxUSE_PROFILE" = yes; then
4010 echo "$as_me:$LINENO: result: yes" >&5
4011 echo "${ECHO_T}yes" >&6
4012 else
4013 echo "$as_me:$LINENO: result: no" >&5
4014 echo "${ECHO_T}no" >&6
4015 fi
4016
4017
4018 enablestring=
4019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4020 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4021 no_cache=0
4022 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4023 if test "${enable_no_rtti+set}" = set; then
4024 enableval="$enable_no_rtti"
4025
4026 if test "$enableval" = yes; then
4027 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4028 else
4029 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4030 fi
4031
4032 else
4033
4034 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x ; then
4036 eval "DEFAULT_$LINE"
4037 else
4038 no_cache=1
4039 fi
4040
4041 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4042
4043 fi;
4044
4045 eval "$ac_cv_use_no_rtti"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4048 fi
4049
4050 if test "$wxUSE_NO_RTTI" = yes; then
4051 echo "$as_me:$LINENO: result: yes" >&5
4052 echo "${ECHO_T}yes" >&6
4053 else
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4056 fi
4057
4058
4059 enablestring=
4060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4061 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4062 no_cache=0
4063 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4064 if test "${enable_no_exceptions+set}" = set; then
4065 enableval="$enable_no_exceptions"
4066
4067 if test "$enableval" = yes; then
4068 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4069 else
4070 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4071 fi
4072
4073 else
4074
4075 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x ; then
4077 eval "DEFAULT_$LINE"
4078 else
4079 no_cache=1
4080 fi
4081
4082 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4083
4084 fi;
4085
4086 eval "$ac_cv_use_no_exceptions"
4087 if test "$no_cache" != 1; then
4088 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4089 fi
4090
4091 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4092 echo "$as_me:$LINENO: result: yes" >&5
4093 echo "${ECHO_T}yes" >&6
4094 else
4095 echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6
4097 fi
4098
4099
4100 enablestring=
4101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4102 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4103 no_cache=0
4104 # Check whether --enable-permissive or --disable-permissive was given.
4105 if test "${enable_permissive+set}" = set; then
4106 enableval="$enable_permissive"
4107
4108 if test "$enableval" = yes; then
4109 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4110 else
4111 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4112 fi
4113
4114 else
4115
4116 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x ; then
4118 eval "DEFAULT_$LINE"
4119 else
4120 no_cache=1
4121 fi
4122
4123 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4124
4125 fi;
4126
4127 eval "$ac_cv_use_permissive"
4128 if test "$no_cache" != 1; then
4129 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4130 fi
4131
4132 if test "$wxUSE_PERMISSIVE" = yes; then
4133 echo "$as_me:$LINENO: result: yes" >&5
4134 echo "${ECHO_T}yes" >&6
4135 else
4136 echo "$as_me:$LINENO: result: no" >&5
4137 echo "${ECHO_T}no" >&6
4138 fi
4139
4140
4141 enablestring=
4142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4143 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4144 no_cache=0
4145 # Check whether --enable-no_deps or --disable-no_deps was given.
4146 if test "${enable_no_deps+set}" = set; then
4147 enableval="$enable_no_deps"
4148
4149 if test "$enableval" = yes; then
4150 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4151 else
4152 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4153 fi
4154
4155 else
4156
4157 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x ; then
4159 eval "DEFAULT_$LINE"
4160 else
4161 no_cache=1
4162 fi
4163
4164 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4165
4166 fi;
4167
4168 eval "$ac_cv_use_no_deps"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4171 fi
4172
4173 if test "$wxUSE_NO_DEPS" = yes; then
4174 echo "$as_me:$LINENO: result: yes" >&5
4175 echo "${ECHO_T}yes" >&6
4176 else
4177 echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6
4179 fi
4180
4181
4182 enablestring=
4183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4184 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4185 no_cache=0
4186 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4187 if test "${enable_universal_binary+set}" = set; then
4188 enableval="$enable_universal_binary"
4189
4190 if test "$enableval" = yes; then
4191 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4192 else
4193 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4194 fi
4195
4196 else
4197
4198 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4199 if test "x$LINE" != x ; then
4200 eval "DEFAULT_$LINE"
4201 else
4202 no_cache=1
4203 fi
4204
4205 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4206
4207 fi;
4208
4209 eval "$ac_cv_use_universal_binary"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4212 fi
4213
4214 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4215 echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6
4217 else
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4220 fi
4221
4222
4223
4224 enablestring=enable
4225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4226 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4227 no_cache=0
4228 # Check whether --enable-compat24 or --disable-compat24 was given.
4229 if test "${enable_compat24+set}" = set; then
4230 enableval="$enable_compat24"
4231
4232 if test "$enableval" = yes; then
4233 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4234 else
4235 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4236 fi
4237
4238 else
4239
4240 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x ; then
4242 eval "DEFAULT_$LINE"
4243 else
4244 no_cache=1
4245 fi
4246
4247 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4248
4249 fi;
4250
4251 eval "$ac_cv_use_compat24"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4254 fi
4255
4256 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4257 echo "$as_me:$LINENO: result: yes" >&5
4258 echo "${ECHO_T}yes" >&6
4259 else
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4262 fi
4263
4264
4265 enablestring=disable
4266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4267 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4268 no_cache=0
4269 # Check whether --enable-compat26 or --disable-compat26 was given.
4270 if test "${enable_compat26+set}" = set; then
4271 enableval="$enable_compat26"
4272
4273 if test "$enableval" = yes; then
4274 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4275 else
4276 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4277 fi
4278
4279 else
4280
4281 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x ; then
4283 eval "DEFAULT_$LINE"
4284 else
4285 no_cache=1
4286 fi
4287
4288 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4289
4290 fi;
4291
4292 eval "$ac_cv_use_compat26"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4295 fi
4296
4297 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4298 echo "$as_me:$LINENO: result: yes" >&5
4299 echo "${ECHO_T}yes" >&6
4300 else
4301 echo "$as_me:$LINENO: result: no" >&5
4302 echo "${ECHO_T}no" >&6
4303 fi
4304
4305
4306
4307 enablestring=
4308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4309 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4310 no_cache=0
4311 # Check whether --enable-rpath or --disable-rpath was given.
4312 if test "${enable_rpath+set}" = set; then
4313 enableval="$enable_rpath"
4314
4315 if test "$enableval" = yes; then
4316 ac_cv_use_rpath='wxUSE_RPATH=yes'
4317 else
4318 ac_cv_use_rpath='wxUSE_RPATH=no'
4319 fi
4320
4321 else
4322
4323 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x ; then
4325 eval "DEFAULT_$LINE"
4326 else
4327 no_cache=1
4328 fi
4329
4330 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4331
4332 fi;
4333
4334 eval "$ac_cv_use_rpath"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4337 fi
4338
4339 if test "$wxUSE_RPATH" = yes; then
4340 echo "$as_me:$LINENO: result: yes" >&5
4341 echo "${ECHO_T}yes" >&6
4342 else
4343 echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347
4348
4349
4350
4351 enablestring=
4352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4353 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4354 no_cache=0
4355 # Check whether --enable-intl or --disable-intl was given.
4356 if test "${enable_intl+set}" = set; then
4357 enableval="$enable_intl"
4358
4359 if test "$enableval" = yes; then
4360 ac_cv_use_intl='wxUSE_INTL=yes'
4361 else
4362 ac_cv_use_intl='wxUSE_INTL=no'
4363 fi
4364
4365 else
4366
4367 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x ; then
4369 eval "DEFAULT_$LINE"
4370 else
4371 no_cache=1
4372 fi
4373
4374 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4375
4376 fi;
4377
4378 eval "$ac_cv_use_intl"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4381 fi
4382
4383 if test "$wxUSE_INTL" = yes; then
4384 echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4389 fi
4390
4391
4392 enablestring=
4393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4394 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4395 no_cache=0
4396 # Check whether --enable-config or --disable-config was given.
4397 if test "${enable_config+set}" = set; then
4398 enableval="$enable_config"
4399
4400 if test "$enableval" = yes; then
4401 ac_cv_use_config='wxUSE_CONFIG=yes'
4402 else
4403 ac_cv_use_config='wxUSE_CONFIG=no'
4404 fi
4405
4406 else
4407
4408 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x ; then
4410 eval "DEFAULT_$LINE"
4411 else
4412 no_cache=1
4413 fi
4414
4415 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4416
4417 fi;
4418
4419 eval "$ac_cv_use_config"
4420 if test "$no_cache" != 1; then
4421 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4422 fi
4423
4424 if test "$wxUSE_CONFIG" = yes; then
4425 echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6
4427 else
4428 echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6
4430 fi
4431
4432
4433
4434 enablestring=
4435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4436 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4437 no_cache=0
4438 # Check whether --enable-protocols or --disable-protocols was given.
4439 if test "${enable_protocols+set}" = set; then
4440 enableval="$enable_protocols"
4441
4442 if test "$enableval" = yes; then
4443 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4444 else
4445 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4446 fi
4447
4448 else
4449
4450 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4451 if test "x$LINE" != x ; then
4452 eval "DEFAULT_$LINE"
4453 else
4454 no_cache=1
4455 fi
4456
4457 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4458
4459 fi;
4460
4461 eval "$ac_cv_use_protocols"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4464 fi
4465
4466 if test "$wxUSE_PROTOCOL" = yes; then
4467 echo "$as_me:$LINENO: result: yes" >&5
4468 echo "${ECHO_T}yes" >&6
4469 else
4470 echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6
4472 fi
4473
4474
4475 enablestring=
4476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4477 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4478 no_cache=0
4479 # Check whether --enable-ftp or --disable-ftp was given.
4480 if test "${enable_ftp+set}" = set; then
4481 enableval="$enable_ftp"
4482
4483 if test "$enableval" = yes; then
4484 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4485 else
4486 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4487 fi
4488
4489 else
4490
4491 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x ; then
4493 eval "DEFAULT_$LINE"
4494 else
4495 no_cache=1
4496 fi
4497
4498 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4499
4500 fi;
4501
4502 eval "$ac_cv_use_ftp"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4508 echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6
4510 else
4511 echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6
4513 fi
4514
4515
4516 enablestring=
4517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4518 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4519 no_cache=0
4520 # Check whether --enable-http or --disable-http was given.
4521 if test "${enable_http+set}" = set; then
4522 enableval="$enable_http"
4523
4524 if test "$enableval" = yes; then
4525 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4526 else
4527 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4528 fi
4529
4530 else
4531
4532 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4533 if test "x$LINE" != x ; then
4534 eval "DEFAULT_$LINE"
4535 else
4536 no_cache=1
4537 fi
4538
4539 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4540
4541 fi;
4542
4543 eval "$ac_cv_use_http"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4546 fi
4547
4548 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4551 else
4552 echo "$as_me:$LINENO: result: no" >&5
4553 echo "${ECHO_T}no" >&6
4554 fi
4555
4556
4557 enablestring=
4558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4559 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4560 no_cache=0
4561 # Check whether --enable-fileproto or --disable-fileproto was given.
4562 if test "${enable_fileproto+set}" = set; then
4563 enableval="$enable_fileproto"
4564
4565 if test "$enableval" = yes; then
4566 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4567 else
4568 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4569 fi
4570
4571 else
4572
4573 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x ; then
4575 eval "DEFAULT_$LINE"
4576 else
4577 no_cache=1
4578 fi
4579
4580 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4581
4582 fi;
4583
4584 eval "$ac_cv_use_fileproto"
4585 if test "$no_cache" != 1; then
4586 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4587 fi
4588
4589 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4590 echo "$as_me:$LINENO: result: yes" >&5
4591 echo "${ECHO_T}yes" >&6
4592 else
4593 echo "$as_me:$LINENO: result: no" >&5
4594 echo "${ECHO_T}no" >&6
4595 fi
4596
4597
4598 enablestring=
4599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4601 no_cache=0
4602 # Check whether --enable-sockets or --disable-sockets was given.
4603 if test "${enable_sockets+set}" = set; then
4604 enableval="$enable_sockets"
4605
4606 if test "$enableval" = yes; then
4607 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4608 else
4609 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4610 fi
4611
4612 else
4613
4614 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x ; then
4616 eval "DEFAULT_$LINE"
4617 else
4618 no_cache=1
4619 fi
4620
4621 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4622
4623 fi;
4624
4625 eval "$ac_cv_use_sockets"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test "$wxUSE_SOCKETS" = yes; then
4631 echo "$as_me:$LINENO: result: yes" >&5
4632 echo "${ECHO_T}yes" >&6
4633 else
4634 echo "$as_me:$LINENO: result: no" >&5
4635 echo "${ECHO_T}no" >&6
4636 fi
4637
4638
4639 enablestring=
4640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4641 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4642 no_cache=0
4643 # Check whether --enable-ole or --disable-ole was given.
4644 if test "${enable_ole+set}" = set; then
4645 enableval="$enable_ole"
4646
4647 if test "$enableval" = yes; then
4648 ac_cv_use_ole='wxUSE_OLE=yes'
4649 else
4650 ac_cv_use_ole='wxUSE_OLE=no'
4651 fi
4652
4653 else
4654
4655 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4656 if test "x$LINE" != x ; then
4657 eval "DEFAULT_$LINE"
4658 else
4659 no_cache=1
4660 fi
4661
4662 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4663
4664 fi;
4665
4666 eval "$ac_cv_use_ole"
4667 if test "$no_cache" != 1; then
4668 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4669 fi
4670
4671 if test "$wxUSE_OLE" = yes; then
4672 echo "$as_me:$LINENO: result: yes" >&5
4673 echo "${ECHO_T}yes" >&6
4674 else
4675 echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6
4677 fi
4678
4679
4680 enablestring=
4681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4682 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4683 no_cache=0
4684 # Check whether --enable-dataobj or --disable-dataobj was given.
4685 if test "${enable_dataobj+set}" = set; then
4686 enableval="$enable_dataobj"
4687
4688 if test "$enableval" = yes; then
4689 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4690 else
4691 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4692 fi
4693
4694 else
4695
4696 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4704
4705 fi;
4706
4707 eval "$ac_cv_use_dataobj"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4710 fi
4711
4712 if test "$wxUSE_DATAOBJ" = yes; then
4713 echo "$as_me:$LINENO: result: yes" >&5
4714 echo "${ECHO_T}yes" >&6
4715 else
4716 echo "$as_me:$LINENO: result: no" >&5
4717 echo "${ECHO_T}no" >&6
4718 fi
4719
4720
4721
4722 enablestring=
4723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4724 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4725 no_cache=0
4726 # Check whether --enable-ipc or --disable-ipc was given.
4727 if test "${enable_ipc+set}" = set; then
4728 enableval="$enable_ipc"
4729
4730 if test "$enableval" = yes; then
4731 ac_cv_use_ipc='wxUSE_IPC=yes'
4732 else
4733 ac_cv_use_ipc='wxUSE_IPC=no'
4734 fi
4735
4736 else
4737
4738 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x ; then
4740 eval "DEFAULT_$LINE"
4741 else
4742 no_cache=1
4743 fi
4744
4745 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4746
4747 fi;
4748
4749 eval "$ac_cv_use_ipc"
4750 if test "$no_cache" != 1; then
4751 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4752 fi
4753
4754 if test "$wxUSE_IPC" = yes; then
4755 echo "$as_me:$LINENO: result: yes" >&5
4756 echo "${ECHO_T}yes" >&6
4757 else
4758 echo "$as_me:$LINENO: result: no" >&5
4759 echo "${ECHO_T}no" >&6
4760 fi
4761
4762
4763
4764 enablestring=
4765 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4766 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4767 no_cache=0
4768 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4769 if test "${enable_apple_ieee+set}" = set; then
4770 enableval="$enable_apple_ieee"
4771
4772 if test "$enableval" = yes; then
4773 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4774 else
4775 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4776 fi
4777
4778 else
4779
4780 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x ; then
4782 eval "DEFAULT_$LINE"
4783 else
4784 no_cache=1
4785 fi
4786
4787 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4788
4789 fi;
4790
4791 eval "$ac_cv_use_apple_ieee"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4794 fi
4795
4796 if test "$wxUSE_APPLE_IEEE" = yes; then
4797 echo "$as_me:$LINENO: result: yes" >&5
4798 echo "${ECHO_T}yes" >&6
4799 else
4800 echo "$as_me:$LINENO: result: no" >&5
4801 echo "${ECHO_T}no" >&6
4802 fi
4803
4804
4805 enablestring=
4806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4807 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4808 no_cache=0
4809 # Check whether --enable-arcstream or --disable-arcstream was given.
4810 if test "${enable_arcstream+set}" = set; then
4811 enableval="$enable_arcstream"
4812
4813 if test "$enableval" = yes; then
4814 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4815 else
4816 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4817 fi
4818
4819 else
4820
4821 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x ; then
4823 eval "DEFAULT_$LINE"
4824 else
4825 no_cache=1
4826 fi
4827
4828 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4829
4830 fi;
4831
4832 eval "$ac_cv_use_arcstream"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4835 fi
4836
4837 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4838 echo "$as_me:$LINENO: result: yes" >&5
4839 echo "${ECHO_T}yes" >&6
4840 else
4841 echo "$as_me:$LINENO: result: no" >&5
4842 echo "${ECHO_T}no" >&6
4843 fi
4844
4845
4846 enablestring=
4847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4848 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4849 no_cache=0
4850 # Check whether --enable-backtrace or --disable-backtrace was given.
4851 if test "${enable_backtrace+set}" = set; then
4852 enableval="$enable_backtrace"
4853
4854 if test "$enableval" = yes; then
4855 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4856 else
4857 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4858 fi
4859
4860 else
4861
4862 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x ; then
4864 eval "DEFAULT_$LINE"
4865 else
4866 no_cache=1
4867 fi
4868
4869 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4870
4871 fi;
4872
4873 eval "$ac_cv_use_backtrace"
4874 if test "$no_cache" != 1; then
4875 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4876 fi
4877
4878 if test "$wxUSE_STACKWALKER" = yes; then
4879 echo "$as_me:$LINENO: result: yes" >&5
4880 echo "${ECHO_T}yes" >&6
4881 else
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4884 fi
4885
4886
4887 enablestring=
4888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4890 no_cache=0
4891 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4892 if test "${enable_catch_segvs+set}" = set; then
4893 enableval="$enable_catch_segvs"
4894
4895 if test "$enableval" = yes; then
4896 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4897 else
4898 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4899 fi
4900
4901 else
4902
4903 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x ; then
4905 eval "DEFAULT_$LINE"
4906 else
4907 no_cache=1
4908 fi
4909
4910 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4911
4912 fi;
4913
4914 eval "$ac_cv_use_catch_segvs"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4917 fi
4918
4919 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4920 echo "$as_me:$LINENO: result: yes" >&5
4921 echo "${ECHO_T}yes" >&6
4922 else
4923 echo "$as_me:$LINENO: result: no" >&5
4924 echo "${ECHO_T}no" >&6
4925 fi
4926
4927
4928 enablestring=
4929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
4930 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
4931 no_cache=0
4932 # Check whether --enable-cmdline or --disable-cmdline was given.
4933 if test "${enable_cmdline+set}" = set; then
4934 enableval="$enable_cmdline"
4935
4936 if test "$enableval" = yes; then
4937 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
4938 else
4939 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
4940 fi
4941
4942 else
4943
4944 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x ; then
4946 eval "DEFAULT_$LINE"
4947 else
4948 no_cache=1
4949 fi
4950
4951 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
4952
4953 fi;
4954
4955 eval "$ac_cv_use_cmdline"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
4958 fi
4959
4960 if test "$wxUSE_CMDLINE_PARSER" = yes; then
4961 echo "$as_me:$LINENO: result: yes" >&5
4962 echo "${ECHO_T}yes" >&6
4963 else
4964 echo "$as_me:$LINENO: result: no" >&5
4965 echo "${ECHO_T}no" >&6
4966 fi
4967
4968
4969 enablestring=
4970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
4971 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
4972 no_cache=0
4973 # Check whether --enable-datetime or --disable-datetime was given.
4974 if test "${enable_datetime+set}" = set; then
4975 enableval="$enable_datetime"
4976
4977 if test "$enableval" = yes; then
4978 ac_cv_use_datetime='wxUSE_DATETIME=yes'
4979 else
4980 ac_cv_use_datetime='wxUSE_DATETIME=no'
4981 fi
4982
4983 else
4984
4985 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x ; then
4987 eval "DEFAULT_$LINE"
4988 else
4989 no_cache=1
4990 fi
4991
4992 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
4993
4994 fi;
4995
4996 eval "$ac_cv_use_datetime"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
4999 fi
5000
5001 if test "$wxUSE_DATETIME" = yes; then
5002 echo "$as_me:$LINENO: result: yes" >&5
5003 echo "${ECHO_T}yes" >&6
5004 else
5005 echo "$as_me:$LINENO: result: no" >&5
5006 echo "${ECHO_T}no" >&6
5007 fi
5008
5009
5010 enablestring=
5011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5012 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5013 no_cache=0
5014 # Check whether --enable-debugreport or --disable-debugreport was given.
5015 if test "${enable_debugreport+set}" = set; then
5016 enableval="$enable_debugreport"
5017
5018 if test "$enableval" = yes; then
5019 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5020 else
5021 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5022 fi
5023
5024 else
5025
5026 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x ; then
5028 eval "DEFAULT_$LINE"
5029 else
5030 no_cache=1
5031 fi
5032
5033 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5034
5035 fi;
5036
5037 eval "$ac_cv_use_debugreport"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5040 fi
5041
5042 if test "$wxUSE_DEBUGREPORT" = yes; then
5043 echo "$as_me:$LINENO: result: yes" >&5
5044 echo "${ECHO_T}yes" >&6
5045 else
5046 echo "$as_me:$LINENO: result: no" >&5
5047 echo "${ECHO_T}no" >&6
5048 fi
5049
5050
5051 enablestring=
5052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5053 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5054 no_cache=0
5055 # Check whether --enable-dialupman or --disable-dialupman was given.
5056 if test "${enable_dialupman+set}" = set; then
5057 enableval="$enable_dialupman"
5058
5059 if test "$enableval" = yes; then
5060 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5061 else
5062 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5063 fi
5064
5065 else
5066
5067 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x ; then
5069 eval "DEFAULT_$LINE"
5070 else
5071 no_cache=1
5072 fi
5073
5074 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5075
5076 fi;
5077
5078 eval "$ac_cv_use_dialupman"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5081 fi
5082
5083 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5084 echo "$as_me:$LINENO: result: yes" >&5
5085 echo "${ECHO_T}yes" >&6
5086 else
5087 echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6
5089 fi
5090
5091
5092 enablestring=
5093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5094 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5095 no_cache=0
5096 # Check whether --enable-dynlib or --disable-dynlib was given.
5097 if test "${enable_dynlib+set}" = set; then
5098 enableval="$enable_dynlib"
5099
5100 if test "$enableval" = yes; then
5101 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5102 else
5103 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5104 fi
5105
5106 else
5107
5108 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x ; then
5110 eval "DEFAULT_$LINE"
5111 else
5112 no_cache=1
5113 fi
5114
5115 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5116
5117 fi;
5118
5119 eval "$ac_cv_use_dynlib"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5122 fi
5123
5124 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5125 echo "$as_me:$LINENO: result: yes" >&5
5126 echo "${ECHO_T}yes" >&6
5127 else
5128 echo "$as_me:$LINENO: result: no" >&5
5129 echo "${ECHO_T}no" >&6
5130 fi
5131
5132
5133 enablestring=
5134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5135 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5136 no_cache=0
5137 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5138 if test "${enable_dynamicloader+set}" = set; then
5139 enableval="$enable_dynamicloader"
5140
5141 if test "$enableval" = yes; then
5142 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5143 else
5144 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5145 fi
5146
5147 else
5148
5149 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x ; then
5151 eval "DEFAULT_$LINE"
5152 else
5153 no_cache=1
5154 fi
5155
5156 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5157
5158 fi;
5159
5160 eval "$ac_cv_use_dynamicloader"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5163 fi
5164
5165 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5166 echo "$as_me:$LINENO: result: yes" >&5
5167 echo "${ECHO_T}yes" >&6
5168 else
5169 echo "$as_me:$LINENO: result: no" >&5
5170 echo "${ECHO_T}no" >&6
5171 fi
5172
5173
5174 enablestring=
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5177 no_cache=0
5178 # Check whether --enable-exceptions or --disable-exceptions was given.
5179 if test "${enable_exceptions+set}" = set; then
5180 enableval="$enable_exceptions"
5181
5182 if test "$enableval" = yes; then
5183 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5184 else
5185 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5186 fi
5187
5188 else
5189
5190 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 else
5194 no_cache=1
5195 fi
5196
5197 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5198
5199 fi;
5200
5201 eval "$ac_cv_use_exceptions"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5204 fi
5205
5206 if test "$wxUSE_EXCEPTIONS" = yes; then
5207 echo "$as_me:$LINENO: result: yes" >&5
5208 echo "${ECHO_T}yes" >&6
5209 else
5210 echo "$as_me:$LINENO: result: no" >&5
5211 echo "${ECHO_T}no" >&6
5212 fi
5213
5214
5215 enablestring=
5216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5218 no_cache=0
5219 # Check whether --enable-ffile or --disable-ffile was given.
5220 if test "${enable_ffile+set}" = set; then
5221 enableval="$enable_ffile"
5222
5223 if test "$enableval" = yes; then
5224 ac_cv_use_ffile='wxUSE_FFILE=yes'
5225 else
5226 ac_cv_use_ffile='wxUSE_FFILE=no'
5227 fi
5228
5229 else
5230
5231 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x ; then
5233 eval "DEFAULT_$LINE"
5234 else
5235 no_cache=1
5236 fi
5237
5238 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5239
5240 fi;
5241
5242 eval "$ac_cv_use_ffile"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5245 fi
5246
5247 if test "$wxUSE_FFILE" = yes; then
5248 echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5253 fi
5254
5255
5256 enablestring=
5257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5259 no_cache=0
5260 # Check whether --enable-file or --disable-file was given.
5261 if test "${enable_file+set}" = set; then
5262 enableval="$enable_file"
5263
5264 if test "$enableval" = yes; then
5265 ac_cv_use_file='wxUSE_FILE=yes'
5266 else
5267 ac_cv_use_file='wxUSE_FILE=no'
5268 fi
5269
5270 else
5271
5272 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5273 if test "x$LINE" != x ; then
5274 eval "DEFAULT_$LINE"
5275 else
5276 no_cache=1
5277 fi
5278
5279 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5280
5281 fi;
5282
5283 eval "$ac_cv_use_file"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5286 fi
5287
5288 if test "$wxUSE_FILE" = yes; then
5289 echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6
5291 else
5292 echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6
5294 fi
5295
5296
5297 enablestring=
5298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5300 no_cache=0
5301 # Check whether --enable-filesystem or --disable-filesystem was given.
5302 if test "${enable_filesystem+set}" = set; then
5303 enableval="$enable_filesystem"
5304
5305 if test "$enableval" = yes; then
5306 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5307 else
5308 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5309 fi
5310
5311 else
5312
5313 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5321
5322 fi;
5323
5324 eval "$ac_cv_use_filesystem"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_FILESYSTEM" = yes; then
5330 echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6
5332 else
5333 echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6
5335 fi
5336
5337
5338 enablestring=
5339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5341 no_cache=0
5342 # Check whether --enable-fontmap or --disable-fontmap was given.
5343 if test "${enable_fontmap+set}" = set; then
5344 enableval="$enable_fontmap"
5345
5346 if test "$enableval" = yes; then
5347 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5348 else
5349 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5350 fi
5351
5352 else
5353
5354 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x ; then
5356 eval "DEFAULT_$LINE"
5357 else
5358 no_cache=1
5359 fi
5360
5361 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5362
5363 fi;
5364
5365 eval "$ac_cv_use_fontmap"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5368 fi
5369
5370 if test "$wxUSE_FONTMAP" = yes; then
5371 echo "$as_me:$LINENO: result: yes" >&5
5372 echo "${ECHO_T}yes" >&6
5373 else
5374 echo "$as_me:$LINENO: result: no" >&5
5375 echo "${ECHO_T}no" >&6
5376 fi
5377
5378
5379 enablestring=
5380 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5381 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5382 no_cache=0
5383 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5384 if test "${enable_fs_inet+set}" = set; then
5385 enableval="$enable_fs_inet"
5386
5387 if test "$enableval" = yes; then
5388 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5389 else
5390 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5391 fi
5392
5393 else
5394
5395 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5396 if test "x$LINE" != x ; then
5397 eval "DEFAULT_$LINE"
5398 else
5399 no_cache=1
5400 fi
5401
5402 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5403
5404 fi;
5405
5406 eval "$ac_cv_use_fs_inet"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5409 fi
5410
5411 if test "$wxUSE_FS_INET" = yes; then
5412 echo "$as_me:$LINENO: result: yes" >&5
5413 echo "${ECHO_T}yes" >&6
5414 else
5415 echo "$as_me:$LINENO: result: no" >&5
5416 echo "${ECHO_T}no" >&6
5417 fi
5418
5419
5420 enablestring=
5421 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5422 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5423 no_cache=0
5424 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5425 if test "${enable_fs_zip+set}" = set; then
5426 enableval="$enable_fs_zip"
5427
5428 if test "$enableval" = yes; then
5429 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5430 else
5431 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5432 fi
5433
5434 else
5435
5436 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x ; then
5438 eval "DEFAULT_$LINE"
5439 else
5440 no_cache=1
5441 fi
5442
5443 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5444
5445 fi;
5446
5447 eval "$ac_cv_use_fs_zip"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5450 fi
5451
5452 if test "$wxUSE_FS_ZIP" = yes; then
5453 echo "$as_me:$LINENO: result: yes" >&5
5454 echo "${ECHO_T}yes" >&6
5455 else
5456 echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6
5458 fi
5459
5460
5461 enablestring=
5462 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5463 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5464 no_cache=0
5465 # Check whether --enable-geometry or --disable-geometry was given.
5466 if test "${enable_geometry+set}" = set; then
5467 enableval="$enable_geometry"
5468
5469 if test "$enableval" = yes; then
5470 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5471 else
5472 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5473 fi
5474
5475 else
5476
5477 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x ; then
5479 eval "DEFAULT_$LINE"
5480 else
5481 no_cache=1
5482 fi
5483
5484 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5485
5486 fi;
5487
5488 eval "$ac_cv_use_geometry"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5491 fi
5492
5493 if test "$wxUSE_GEOMETRY" = yes; then
5494 echo "$as_me:$LINENO: result: yes" >&5
5495 echo "${ECHO_T}yes" >&6
5496 else
5497 echo "$as_me:$LINENO: result: no" >&5
5498 echo "${ECHO_T}no" >&6
5499 fi
5500
5501
5502 enablestring=
5503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5504 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5505 no_cache=0
5506 # Check whether --enable-log or --disable-log was given.
5507 if test "${enable_log+set}" = set; then
5508 enableval="$enable_log"
5509
5510 if test "$enableval" = yes; then
5511 ac_cv_use_log='wxUSE_LOG=yes'
5512 else
5513 ac_cv_use_log='wxUSE_LOG=no'
5514 fi
5515
5516 else
5517
5518 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5519 if test "x$LINE" != x ; then
5520 eval "DEFAULT_$LINE"
5521 else
5522 no_cache=1
5523 fi
5524
5525 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5526
5527 fi;
5528
5529 eval "$ac_cv_use_log"
5530 if test "$no_cache" != 1; then
5531 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5532 fi
5533
5534 if test "$wxUSE_LOG" = yes; then
5535 echo "$as_me:$LINENO: result: yes" >&5
5536 echo "${ECHO_T}yes" >&6
5537 else
5538 echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6
5540 fi
5541
5542
5543 enablestring=
5544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5546 no_cache=0
5547 # Check whether --enable-longlong or --disable-longlong was given.
5548 if test "${enable_longlong+set}" = set; then
5549 enableval="$enable_longlong"
5550
5551 if test "$enableval" = yes; then
5552 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5553 else
5554 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5555 fi
5556
5557 else
5558
5559 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x ; then
5561 eval "DEFAULT_$LINE"
5562 else
5563 no_cache=1
5564 fi
5565
5566 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5567
5568 fi;
5569
5570 eval "$ac_cv_use_longlong"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5573 fi
5574
5575 if test "$wxUSE_LONGLONG" = yes; then
5576 echo "$as_me:$LINENO: result: yes" >&5
5577 echo "${ECHO_T}yes" >&6
5578 else
5579 echo "$as_me:$LINENO: result: no" >&5
5580 echo "${ECHO_T}no" >&6
5581 fi
5582
5583
5584 enablestring=
5585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5586 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5587 no_cache=0
5588 # Check whether --enable-mimetype or --disable-mimetype was given.
5589 if test "${enable_mimetype+set}" = set; then
5590 enableval="$enable_mimetype"
5591
5592 if test "$enableval" = yes; then
5593 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5594 else
5595 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5596 fi
5597
5598 else
5599
5600 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5601 if test "x$LINE" != x ; then
5602 eval "DEFAULT_$LINE"
5603 else
5604 no_cache=1
5605 fi
5606
5607 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5608
5609 fi;
5610
5611 eval "$ac_cv_use_mimetype"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5614 fi
5615
5616 if test "$wxUSE_MIMETYPE" = yes; then
5617 echo "$as_me:$LINENO: result: yes" >&5
5618 echo "${ECHO_T}yes" >&6
5619 else
5620 echo "$as_me:$LINENO: result: no" >&5
5621 echo "${ECHO_T}no" >&6
5622 fi
5623
5624
5625 enablestring=
5626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5628 no_cache=0
5629 # Check whether --enable-mslu or --disable-mslu was given.
5630 if test "${enable_mslu+set}" = set; then
5631 enableval="$enable_mslu"
5632
5633 if test "$enableval" = yes; then
5634 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5635 else
5636 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5637 fi
5638
5639 else
5640
5641 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x ; then
5643 eval "DEFAULT_$LINE"
5644 else
5645 no_cache=1
5646 fi
5647
5648 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5649
5650 fi;
5651
5652 eval "$ac_cv_use_mslu"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5655 fi
5656
5657 if test "$wxUSE_UNICODE_MSLU" = yes; then
5658 echo "$as_me:$LINENO: result: yes" >&5
5659 echo "${ECHO_T}yes" >&6
5660 else
5661 echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6
5663 fi
5664
5665
5666 enablestring=
5667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5669 no_cache=0
5670 # Check whether --enable-snglinst or --disable-snglinst was given.
5671 if test "${enable_snglinst+set}" = set; then
5672 enableval="$enable_snglinst"
5673
5674 if test "$enableval" = yes; then
5675 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5676 else
5677 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5678 fi
5679
5680 else
5681
5682 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x ; then
5684 eval "DEFAULT_$LINE"
5685 else
5686 no_cache=1
5687 fi
5688
5689 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5690
5691 fi;
5692
5693 eval "$ac_cv_use_snglinst"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5696 fi
5697
5698 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5699 echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6
5701 else
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5704 fi
5705
5706
5707 enablestring=
5708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5709 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5710 no_cache=0
5711 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5712 if test "${enable_std_iostreams+set}" = set; then
5713 enableval="$enable_std_iostreams"
5714
5715 if test "$enableval" = yes; then
5716 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5717 else
5718 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5719 fi
5720
5721 else
5722
5723 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x ; then
5725 eval "DEFAULT_$LINE"
5726 else
5727 no_cache=1
5728 fi
5729
5730 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5731
5732 fi;
5733
5734 eval "$ac_cv_use_std_iostreams"
5735 if test "$no_cache" != 1; then
5736 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5737 fi
5738
5739 if test "$wxUSE_STD_IOSTREAM" = yes; then
5740 echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6
5742 else
5743 echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6
5745 fi
5746
5747
5748 enablestring=
5749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5750 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5751 no_cache=0
5752 # Check whether --enable-std_string or --disable-std_string was given.
5753 if test "${enable_std_string+set}" = set; then
5754 enableval="$enable_std_string"
5755
5756 if test "$enableval" = yes; then
5757 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5758 else
5759 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5760 fi
5761
5762 else
5763
5764 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x ; then
5766 eval "DEFAULT_$LINE"
5767 else
5768 no_cache=1
5769 fi
5770
5771 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5772
5773 fi;
5774
5775 eval "$ac_cv_use_std_string"
5776 if test "$no_cache" != 1; then
5777 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5778 fi
5779
5780 if test "$wxUSE_STD_STRING" = yes; then
5781 echo "$as_me:$LINENO: result: yes" >&5
5782 echo "${ECHO_T}yes" >&6
5783 else
5784 echo "$as_me:$LINENO: result: no" >&5
5785 echo "${ECHO_T}no" >&6
5786 fi
5787
5788
5789 enablestring=
5790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5791 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5792 no_cache=0
5793 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5794 if test "${enable_stdpaths+set}" = set; then
5795 enableval="$enable_stdpaths"
5796
5797 if test "$enableval" = yes; then
5798 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5799 else
5800 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5801 fi
5802
5803 else
5804
5805 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x ; then
5807 eval "DEFAULT_$LINE"
5808 else
5809 no_cache=1
5810 fi
5811
5812 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5813
5814 fi;
5815
5816 eval "$ac_cv_use_stdpaths"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5819 fi
5820
5821 if test "$wxUSE_STDPATHS" = yes; then
5822 echo "$as_me:$LINENO: result: yes" >&5
5823 echo "${ECHO_T}yes" >&6
5824 else
5825 echo "$as_me:$LINENO: result: no" >&5
5826 echo "${ECHO_T}no" >&6
5827 fi
5828
5829
5830 enablestring=
5831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5832 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5833 no_cache=0
5834 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5835 if test "${enable_stopwatch+set}" = set; then
5836 enableval="$enable_stopwatch"
5837
5838 if test "$enableval" = yes; then
5839 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5840 else
5841 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5842 fi
5843
5844 else
5845
5846 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x ; then
5848 eval "DEFAULT_$LINE"
5849 else
5850 no_cache=1
5851 fi
5852
5853 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5854
5855 fi;
5856
5857 eval "$ac_cv_use_stopwatch"
5858 if test "$no_cache" != 1; then
5859 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5860 fi
5861
5862 if test "$wxUSE_STOPWATCH" = yes; then
5863 echo "$as_me:$LINENO: result: yes" >&5
5864 echo "${ECHO_T}yes" >&6
5865 else
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5868 fi
5869
5870
5871 enablestring=
5872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5873 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5874 no_cache=0
5875 # Check whether --enable-streams or --disable-streams was given.
5876 if test "${enable_streams+set}" = set; then
5877 enableval="$enable_streams"
5878
5879 if test "$enableval" = yes; then
5880 ac_cv_use_streams='wxUSE_STREAMS=yes'
5881 else
5882 ac_cv_use_streams='wxUSE_STREAMS=no'
5883 fi
5884
5885 else
5886
5887 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x ; then
5889 eval "DEFAULT_$LINE"
5890 else
5891 no_cache=1
5892 fi
5893
5894 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5895
5896 fi;
5897
5898 eval "$ac_cv_use_streams"
5899 if test "$no_cache" != 1; then
5900 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5901 fi
5902
5903 if test "$wxUSE_STREAMS" = yes; then
5904 echo "$as_me:$LINENO: result: yes" >&5
5905 echo "${ECHO_T}yes" >&6
5906 else
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5909 fi
5910
5911
5912 enablestring=
5913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5914 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5915 no_cache=0
5916 # Check whether --enable-system_options or --disable-system_options was given.
5917 if test "${enable_system_options+set}" = set; then
5918 enableval="$enable_system_options"
5919
5920 if test "$enableval" = yes; then
5921 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
5922 else
5923 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
5924 fi
5925
5926 else
5927
5928 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x ; then
5930 eval "DEFAULT_$LINE"
5931 else
5932 no_cache=1
5933 fi
5934
5935 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
5936
5937 fi;
5938
5939 eval "$ac_cv_use_system_options"
5940 if test "$no_cache" != 1; then
5941 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
5942 fi
5943
5944 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
5945 echo "$as_me:$LINENO: result: yes" >&5
5946 echo "${ECHO_T}yes" >&6
5947 else
5948 echo "$as_me:$LINENO: result: no" >&5
5949 echo "${ECHO_T}no" >&6
5950 fi
5951
5952
5953 enablestring=
5954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
5955 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
5956 no_cache=0
5957 # Check whether --enable-textbuf or --disable-textbuf was given.
5958 if test "${enable_textbuf+set}" = set; then
5959 enableval="$enable_textbuf"
5960
5961 if test "$enableval" = yes; then
5962 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
5963 else
5964 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
5965 fi
5966
5967 else
5968
5969 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x ; then
5971 eval "DEFAULT_$LINE"
5972 else
5973 no_cache=1
5974 fi
5975
5976 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
5977
5978 fi;
5979
5980 eval "$ac_cv_use_textbuf"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
5983 fi
5984
5985 if test "$wxUSE_TEXTBUFFER" = yes; then
5986 echo "$as_me:$LINENO: result: yes" >&5
5987 echo "${ECHO_T}yes" >&6
5988 else
5989 echo "$as_me:$LINENO: result: no" >&5
5990 echo "${ECHO_T}no" >&6
5991 fi
5992
5993
5994 enablestring=
5995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
5996 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
5997 no_cache=0
5998 # Check whether --enable-textfile or --disable-textfile was given.
5999 if test "${enable_textfile+set}" = set; then
6000 enableval="$enable_textfile"
6001
6002 if test "$enableval" = yes; then
6003 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6004 else
6005 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6006 fi
6007
6008 else
6009
6010 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x ; then
6012 eval "DEFAULT_$LINE"
6013 else
6014 no_cache=1
6015 fi
6016
6017 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6018
6019 fi;
6020
6021 eval "$ac_cv_use_textfile"
6022 if test "$no_cache" != 1; then
6023 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6024 fi
6025
6026 if test "$wxUSE_TEXTFILE" = yes; then
6027 echo "$as_me:$LINENO: result: yes" >&5
6028 echo "${ECHO_T}yes" >&6
6029 else
6030 echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6
6032 fi
6033
6034
6035 enablestring=
6036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6037 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6038 no_cache=0
6039 # Check whether --enable-timer or --disable-timer was given.
6040 if test "${enable_timer+set}" = set; then
6041 enableval="$enable_timer"
6042
6043 if test "$enableval" = yes; then
6044 ac_cv_use_timer='wxUSE_TIMER=yes'
6045 else
6046 ac_cv_use_timer='wxUSE_TIMER=no'
6047 fi
6048
6049 else
6050
6051 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6052 if test "x$LINE" != x ; then
6053 eval "DEFAULT_$LINE"
6054 else
6055 no_cache=1
6056 fi
6057
6058 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6059
6060 fi;
6061
6062 eval "$ac_cv_use_timer"
6063 if test "$no_cache" != 1; then
6064 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6065 fi
6066
6067 if test "$wxUSE_TIMER" = yes; then
6068 echo "$as_me:$LINENO: result: yes" >&5
6069 echo "${ECHO_T}yes" >&6
6070 else
6071 echo "$as_me:$LINENO: result: no" >&5
6072 echo "${ECHO_T}no" >&6
6073 fi
6074
6075
6076 enablestring=
6077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6078 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6079 no_cache=0
6080 # Check whether --enable-unicode or --disable-unicode was given.
6081 if test "${enable_unicode+set}" = set; then
6082 enableval="$enable_unicode"
6083
6084 if test "$enableval" = yes; then
6085 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6086 else
6087 ac_cv_use_unicode='wxUSE_UNICODE=no'
6088 fi
6089
6090 else
6091
6092 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x ; then
6094 eval "DEFAULT_$LINE"
6095 else
6096 no_cache=1
6097 fi
6098
6099 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6100
6101 fi;
6102
6103 eval "$ac_cv_use_unicode"
6104 if test "$no_cache" != 1; then
6105 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6106 fi
6107
6108 if test "$wxUSE_UNICODE" = yes; then
6109 echo "$as_me:$LINENO: result: yes" >&5
6110 echo "${ECHO_T}yes" >&6
6111 else
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6114 fi
6115
6116
6117 enablestring=
6118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6120 no_cache=0
6121 # Check whether --enable-sound or --disable-sound was given.
6122 if test "${enable_sound+set}" = set; then
6123 enableval="$enable_sound"
6124
6125 if test "$enableval" = yes; then
6126 ac_cv_use_sound='wxUSE_SOUND=yes'
6127 else
6128 ac_cv_use_sound='wxUSE_SOUND=no'
6129 fi
6130
6131 else
6132
6133 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x ; then
6135 eval "DEFAULT_$LINE"
6136 else
6137 no_cache=1
6138 fi
6139
6140 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6141
6142 fi;
6143
6144 eval "$ac_cv_use_sound"
6145 if test "$no_cache" != 1; then
6146 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6147 fi
6148
6149 if test "$wxUSE_SOUND" = yes; then
6150 echo "$as_me:$LINENO: result: yes" >&5
6151 echo "${ECHO_T}yes" >&6
6152 else
6153 echo "$as_me:$LINENO: result: no" >&5
6154 echo "${ECHO_T}no" >&6
6155 fi
6156
6157
6158 enablestring=
6159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6160 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6161 no_cache=0
6162 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6163 if test "${enable_mediactrl+set}" = set; then
6164 enableval="$enable_mediactrl"
6165
6166 if test "$enableval" = yes; then
6167 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6168 else
6169 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6170 fi
6171
6172 else
6173
6174 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x ; then
6176 eval "DEFAULT_$LINE"
6177 else
6178 no_cache=1
6179 fi
6180
6181 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6182
6183 fi;
6184
6185 eval "$ac_cv_use_mediactrl"
6186 if test "$no_cache" != 1; then
6187 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6188 fi
6189
6190 if test "$wxUSE_MEDIACTRL" = yes; then
6191 echo "$as_me:$LINENO: result: yes" >&5
6192 echo "${ECHO_T}yes" >&6
6193 else
6194 echo "$as_me:$LINENO: result: no" >&5
6195 echo "${ECHO_T}no" >&6
6196 fi
6197
6198
6199 enablestring=
6200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxprintfv" >&5
6201 echo $ECHO_N "checking for --${enablestring:-enable}-wxprintfv... $ECHO_C" >&6
6202 no_cache=0
6203 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
6204 if test "${enable_wxprintfv+set}" = set; then
6205 enableval="$enable_wxprintfv"
6206
6207 if test "$enableval" = yes; then
6208 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=yes'
6209 else
6210 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF=no'
6211 fi
6212
6213 else
6214
6215 LINE=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
6216 if test "x$LINE" != x ; then
6217 eval "DEFAULT_$LINE"
6218 else
6219 no_cache=1
6220 fi
6221
6222 ac_cv_use_wxprintfv='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
6223
6224 fi;
6225
6226 eval "$ac_cv_use_wxprintfv"
6227 if test "$no_cache" != 1; then
6228 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
6229 fi
6230
6231 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
6232 echo "$as_me:$LINENO: result: yes" >&5
6233 echo "${ECHO_T}yes" >&6
6234 else
6235 echo "$as_me:$LINENO: result: no" >&5
6236 echo "${ECHO_T}no" >&6
6237 fi
6238
6239
6240 enablestring=
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6243 no_cache=0
6244 # Check whether --enable-zipstream or --disable-zipstream was given.
6245 if test "${enable_zipstream+set}" = set; then
6246 enableval="$enable_zipstream"
6247
6248 if test "$enableval" = yes; then
6249 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6250 else
6251 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6264
6265 fi;
6266
6267 eval "$ac_cv_use_zipstream"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6270 fi
6271
6272 if test "$wxUSE_ZIPSTREAM" = yes; then
6273 echo "$as_me:$LINENO: result: yes" >&5
6274 echo "${ECHO_T}yes" >&6
6275 else
6276 echo "$as_me:$LINENO: result: no" >&5
6277 echo "${ECHO_T}no" >&6
6278 fi
6279
6280
6281
6282 enablestring=
6283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6284 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6285 no_cache=0
6286 # Check whether --enable-url or --disable-url was given.
6287 if test "${enable_url+set}" = set; then
6288 enableval="$enable_url"
6289
6290 if test "$enableval" = yes; then
6291 ac_cv_use_url='wxUSE_URL=yes'
6292 else
6293 ac_cv_use_url='wxUSE_URL=no'
6294 fi
6295
6296 else
6297
6298 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6299 if test "x$LINE" != x ; then
6300 eval "DEFAULT_$LINE"
6301 else
6302 no_cache=1
6303 fi
6304
6305 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6306
6307 fi;
6308
6309 eval "$ac_cv_use_url"
6310 if test "$no_cache" != 1; then
6311 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6312 fi
6313
6314 if test "$wxUSE_URL" = yes; then
6315 echo "$as_me:$LINENO: result: yes" >&5
6316 echo "${ECHO_T}yes" >&6
6317 else
6318 echo "$as_me:$LINENO: result: no" >&5
6319 echo "${ECHO_T}no" >&6
6320 fi
6321
6322
6323 enablestring=
6324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6325 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6326 no_cache=0
6327 # Check whether --enable-protocol or --disable-protocol was given.
6328 if test "${enable_protocol+set}" = set; then
6329 enableval="$enable_protocol"
6330
6331 if test "$enableval" = yes; then
6332 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6333 else
6334 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6335 fi
6336
6337 else
6338
6339 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6340 if test "x$LINE" != x ; then
6341 eval "DEFAULT_$LINE"
6342 else
6343 no_cache=1
6344 fi
6345
6346 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6347
6348 fi;
6349
6350 eval "$ac_cv_use_protocol"
6351 if test "$no_cache" != 1; then
6352 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6353 fi
6354
6355 if test "$wxUSE_PROTOCOL" = yes; then
6356 echo "$as_me:$LINENO: result: yes" >&5
6357 echo "${ECHO_T}yes" >&6
6358 else
6359 echo "$as_me:$LINENO: result: no" >&5
6360 echo "${ECHO_T}no" >&6
6361 fi
6362
6363
6364 enablestring=
6365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6366 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6367 no_cache=0
6368 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6369 if test "${enable_protocol_http+set}" = set; then
6370 enableval="$enable_protocol_http"
6371
6372 if test "$enableval" = yes; then
6373 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6374 else
6375 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6376 fi
6377
6378 else
6379
6380 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6381 if test "x$LINE" != x ; then
6382 eval "DEFAULT_$LINE"
6383 else
6384 no_cache=1
6385 fi
6386
6387 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6388
6389 fi;
6390
6391 eval "$ac_cv_use_protocol_http"
6392 if test "$no_cache" != 1; then
6393 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6394 fi
6395
6396 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6397 echo "$as_me:$LINENO: result: yes" >&5
6398 echo "${ECHO_T}yes" >&6
6399 else
6400 echo "$as_me:$LINENO: result: no" >&5
6401 echo "${ECHO_T}no" >&6
6402 fi
6403
6404
6405 enablestring=
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6408 no_cache=0
6409 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6410 if test "${enable_protocol_ftp+set}" = set; then
6411 enableval="$enable_protocol_ftp"
6412
6413 if test "$enableval" = yes; then
6414 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6415 else
6416 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6417 fi
6418
6419 else
6420
6421 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6424 else
6425 no_cache=1
6426 fi
6427
6428 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6429
6430 fi;
6431
6432 eval "$ac_cv_use_protocol_ftp"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6438 echo "$as_me:$LINENO: result: yes" >&5
6439 echo "${ECHO_T}yes" >&6
6440 else
6441 echo "$as_me:$LINENO: result: no" >&5
6442 echo "${ECHO_T}no" >&6
6443 fi
6444
6445
6446 enablestring=
6447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6448 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6449 no_cache=0
6450 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6451 if test "${enable_protocol_file+set}" = set; then
6452 enableval="$enable_protocol_file"
6453
6454 if test "$enableval" = yes; then
6455 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6456 else
6457 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6458 fi
6459
6460 else
6461
6462 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6463 if test "x$LINE" != x ; then
6464 eval "DEFAULT_$LINE"
6465 else
6466 no_cache=1
6467 fi
6468
6469 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6470
6471 fi;
6472
6473 eval "$ac_cv_use_protocol_file"
6474 if test "$no_cache" != 1; then
6475 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6476 fi
6477
6478 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6479 echo "$as_me:$LINENO: result: yes" >&5
6480 echo "${ECHO_T}yes" >&6
6481 else
6482 echo "$as_me:$LINENO: result: no" >&5
6483 echo "${ECHO_T}no" >&6
6484 fi
6485
6486
6487
6488
6489
6490 enablestring=
6491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6492 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6493 no_cache=0
6494 # Check whether --enable-threads or --disable-threads was given.
6495 if test "${enable_threads+set}" = set; then
6496 enableval="$enable_threads"
6497
6498 if test "$enableval" = yes; then
6499 ac_cv_use_threads='wxUSE_THREADS=yes'
6500 else
6501 ac_cv_use_threads='wxUSE_THREADS=no'
6502 fi
6503
6504 else
6505
6506 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x ; then
6508 eval "DEFAULT_$LINE"
6509 else
6510 no_cache=1
6511 fi
6512
6513 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6514
6515 fi;
6516
6517 eval "$ac_cv_use_threads"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6520 fi
6521
6522 if test "$wxUSE_THREADS" = yes; then
6523 echo "$as_me:$LINENO: result: yes" >&5
6524 echo "${ECHO_T}yes" >&6
6525 else
6526 echo "$as_me:$LINENO: result: no" >&5
6527 echo "${ECHO_T}no" >&6
6528 fi
6529
6530
6531 if test "$wxUSE_GUI" = "yes"; then
6532
6533
6534
6535 enablestring=
6536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6537 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6538 no_cache=0
6539 # Check whether --enable-docview or --disable-docview was given.
6540 if test "${enable_docview+set}" = set; then
6541 enableval="$enable_docview"
6542
6543 if test "$enableval" = yes; then
6544 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6545 else
6546 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6547 fi
6548
6549 else
6550
6551 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6552 if test "x$LINE" != x ; then
6553 eval "DEFAULT_$LINE"
6554 else
6555 no_cache=1
6556 fi
6557
6558 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6559
6560 fi;
6561
6562 eval "$ac_cv_use_docview"
6563 if test "$no_cache" != 1; then
6564 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6565 fi
6566
6567 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6568 echo "$as_me:$LINENO: result: yes" >&5
6569 echo "${ECHO_T}yes" >&6
6570 else
6571 echo "$as_me:$LINENO: result: no" >&5
6572 echo "${ECHO_T}no" >&6
6573 fi
6574
6575
6576 enablestring=
6577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6578 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6579 no_cache=0
6580 # Check whether --enable-help or --disable-help was given.
6581 if test "${enable_help+set}" = set; then
6582 enableval="$enable_help"
6583
6584 if test "$enableval" = yes; then
6585 ac_cv_use_help='wxUSE_HELP=yes'
6586 else
6587 ac_cv_use_help='wxUSE_HELP=no'
6588 fi
6589
6590 else
6591
6592 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x ; then
6594 eval "DEFAULT_$LINE"
6595 else
6596 no_cache=1
6597 fi
6598
6599 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6600
6601 fi;
6602
6603 eval "$ac_cv_use_help"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6606 fi
6607
6608 if test "$wxUSE_HELP" = yes; then
6609 echo "$as_me:$LINENO: result: yes" >&5
6610 echo "${ECHO_T}yes" >&6
6611 else
6612 echo "$as_me:$LINENO: result: no" >&5
6613 echo "${ECHO_T}no" >&6
6614 fi
6615
6616
6617 enablestring=
6618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6619 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6620 no_cache=0
6621 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6622 if test "${enable_mshtmlhelp+set}" = set; then
6623 enableval="$enable_mshtmlhelp"
6624
6625 if test "$enableval" = yes; then
6626 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6627 else
6628 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6629 fi
6630
6631 else
6632
6633 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6634 if test "x$LINE" != x ; then
6635 eval "DEFAULT_$LINE"
6636 else
6637 no_cache=1
6638 fi
6639
6640 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6641
6642 fi;
6643
6644 eval "$ac_cv_use_mshtmlhelp"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6647 fi
6648
6649 if test "$wxUSE_MS_HTML_HELP" = yes; then
6650 echo "$as_me:$LINENO: result: yes" >&5
6651 echo "${ECHO_T}yes" >&6
6652 else
6653 echo "$as_me:$LINENO: result: no" >&5
6654 echo "${ECHO_T}no" >&6
6655 fi
6656
6657
6658 enablestring=
6659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6660 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6661 no_cache=0
6662 # Check whether --enable-html or --disable-html was given.
6663 if test "${enable_html+set}" = set; then
6664 enableval="$enable_html"
6665
6666 if test "$enableval" = yes; then
6667 ac_cv_use_html='wxUSE_HTML=yes'
6668 else
6669 ac_cv_use_html='wxUSE_HTML=no'
6670 fi
6671
6672 else
6673
6674 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x ; then
6676 eval "DEFAULT_$LINE"
6677 else
6678 no_cache=1
6679 fi
6680
6681 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6682
6683 fi;
6684
6685 eval "$ac_cv_use_html"
6686 if test "$no_cache" != 1; then
6687 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6688 fi
6689
6690 if test "$wxUSE_HTML" = yes; then
6691 echo "$as_me:$LINENO: result: yes" >&5
6692 echo "${ECHO_T}yes" >&6
6693 else
6694 echo "$as_me:$LINENO: result: no" >&5
6695 echo "${ECHO_T}no" >&6
6696 fi
6697
6698
6699 enablestring=
6700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6701 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6702 no_cache=0
6703 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6704 if test "${enable_htmlhelp+set}" = set; then
6705 enableval="$enable_htmlhelp"
6706
6707 if test "$enableval" = yes; then
6708 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6709 else
6710 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6711 fi
6712
6713 else
6714
6715 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6716 if test "x$LINE" != x ; then
6717 eval "DEFAULT_$LINE"
6718 else
6719 no_cache=1
6720 fi
6721
6722 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6723
6724 fi;
6725
6726 eval "$ac_cv_use_htmlhelp"
6727 if test "$no_cache" != 1; then
6728 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6729 fi
6730
6731 if test "$wxUSE_WXHTML_HELP" = yes; then
6732 echo "$as_me:$LINENO: result: yes" >&5
6733 echo "${ECHO_T}yes" >&6
6734 else
6735 echo "$as_me:$LINENO: result: no" >&5
6736 echo "${ECHO_T}no" >&6
6737 fi
6738
6739
6740 enablestring=
6741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6742 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6743 no_cache=0
6744 # Check whether --enable-xrc or --disable-xrc was given.
6745 if test "${enable_xrc+set}" = set; then
6746 enableval="$enable_xrc"
6747
6748 if test "$enableval" = yes; then
6749 ac_cv_use_xrc='wxUSE_XRC=yes'
6750 else
6751 ac_cv_use_xrc='wxUSE_XRC=no'
6752 fi
6753
6754 else
6755
6756 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x ; then
6758 eval "DEFAULT_$LINE"
6759 else
6760 no_cache=1
6761 fi
6762
6763 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6764
6765 fi;
6766
6767 eval "$ac_cv_use_xrc"
6768 if test "$no_cache" != 1; then
6769 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6770 fi
6771
6772 if test "$wxUSE_XRC" = yes; then
6773 echo "$as_me:$LINENO: result: yes" >&5
6774 echo "${ECHO_T}yes" >&6
6775 else
6776 echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6
6778 fi
6779
6780
6781 enablestring=
6782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6784 no_cache=0
6785 # Check whether --enable-constraints or --disable-constraints was given.
6786 if test "${enable_constraints+set}" = set; then
6787 enableval="$enable_constraints"
6788
6789 if test "$enableval" = yes; then
6790 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6791 else
6792 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6793 fi
6794
6795 else
6796
6797 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6798 if test "x$LINE" != x ; then
6799 eval "DEFAULT_$LINE"
6800 else
6801 no_cache=1
6802 fi
6803
6804 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6805
6806 fi;
6807
6808 eval "$ac_cv_use_constraints"
6809 if test "$no_cache" != 1; then
6810 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6811 fi
6812
6813 if test "$wxUSE_CONSTRAINTS" = yes; then
6814 echo "$as_me:$LINENO: result: yes" >&5
6815 echo "${ECHO_T}yes" >&6
6816 else
6817 echo "$as_me:$LINENO: result: no" >&5
6818 echo "${ECHO_T}no" >&6
6819 fi
6820
6821
6822 enablestring=
6823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6825 no_cache=0
6826 # Check whether --enable-printarch or --disable-printarch was given.
6827 if test "${enable_printarch+set}" = set; then
6828 enableval="$enable_printarch"
6829
6830 if test "$enableval" = yes; then
6831 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6832 else
6833 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6834 fi
6835
6836 else
6837
6838 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
6839 if test "x$LINE" != x ; then
6840 eval "DEFAULT_$LINE"
6841 else
6842 no_cache=1
6843 fi
6844
6845 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6846
6847 fi;
6848
6849 eval "$ac_cv_use_printarch"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
6852 fi
6853
6854 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
6855 echo "$as_me:$LINENO: result: yes" >&5
6856 echo "${ECHO_T}yes" >&6
6857 else
6858 echo "$as_me:$LINENO: result: no" >&5
6859 echo "${ECHO_T}no" >&6
6860 fi
6861
6862
6863 enablestring=
6864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
6866 no_cache=0
6867 # Check whether --enable-mdi or --disable-mdi was given.
6868 if test "${enable_mdi+set}" = set; then
6869 enableval="$enable_mdi"
6870
6871 if test "$enableval" = yes; then
6872 ac_cv_use_mdi='wxUSE_MDI=yes'
6873 else
6874 ac_cv_use_mdi='wxUSE_MDI=no'
6875 fi
6876
6877 else
6878
6879 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6882 else
6883 no_cache=1
6884 fi
6885
6886 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
6887
6888 fi;
6889
6890 eval "$ac_cv_use_mdi"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
6893 fi
6894
6895 if test "$wxUSE_MDI" = yes; then
6896 echo "$as_me:$LINENO: result: yes" >&5
6897 echo "${ECHO_T}yes" >&6
6898 else
6899 echo "$as_me:$LINENO: result: no" >&5
6900 echo "${ECHO_T}no" >&6
6901 fi
6902
6903
6904 enablestring=
6905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
6906 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
6907 no_cache=0
6908 # Check whether --enable-mdidoc or --disable-mdidoc was given.
6909 if test "${enable_mdidoc+set}" = set; then
6910 enableval="$enable_mdidoc"
6911
6912 if test "$enableval" = yes; then
6913 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
6914 else
6915 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
6916 fi
6917
6918 else
6919
6920 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x ; then
6922 eval "DEFAULT_$LINE"
6923 else
6924 no_cache=1
6925 fi
6926
6927 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
6928
6929 fi;
6930
6931 eval "$ac_cv_use_mdidoc"
6932 if test "$no_cache" != 1; then
6933 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
6934 fi
6935
6936 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
6937 echo "$as_me:$LINENO: result: yes" >&5
6938 echo "${ECHO_T}yes" >&6
6939 else
6940 echo "$as_me:$LINENO: result: no" >&5
6941 echo "${ECHO_T}no" >&6
6942 fi
6943
6944
6945 enablestring=
6946 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
6947 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
6948 no_cache=0
6949 # Check whether --enable-loggui or --disable-loggui was given.
6950 if test "${enable_loggui+set}" = set; then
6951 enableval="$enable_loggui"
6952
6953 if test "$enableval" = yes; then
6954 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
6955 else
6956 ac_cv_use_loggui='wxUSE_LOGGUI=no'
6957 fi
6958
6959 else
6960
6961 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x ; then
6963 eval "DEFAULT_$LINE"
6964 else
6965 no_cache=1
6966 fi
6967
6968 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
6969
6970 fi;
6971
6972 eval "$ac_cv_use_loggui"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
6975 fi
6976
6977 if test "$wxUSE_LOGGUI" = yes; then
6978 echo "$as_me:$LINENO: result: yes" >&5
6979 echo "${ECHO_T}yes" >&6
6980 else
6981 echo "$as_me:$LINENO: result: no" >&5
6982 echo "${ECHO_T}no" >&6
6983 fi
6984
6985
6986 enablestring=
6987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
6988 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
6989 no_cache=0
6990 # Check whether --enable-logwin or --disable-logwin was given.
6991 if test "${enable_logwin+set}" = set; then
6992 enableval="$enable_logwin"
6993
6994 if test "$enableval" = yes; then
6995 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
6996 else
6997 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
6998 fi
6999
7000 else
7001
7002 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7003 if test "x$LINE" != x ; then
7004 eval "DEFAULT_$LINE"
7005 else
7006 no_cache=1
7007 fi
7008
7009 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7010
7011 fi;
7012
7013 eval "$ac_cv_use_logwin"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7016 fi
7017
7018 if test "$wxUSE_LOGWINDOW" = yes; then
7019 echo "$as_me:$LINENO: result: yes" >&5
7020 echo "${ECHO_T}yes" >&6
7021 else
7022 echo "$as_me:$LINENO: result: no" >&5
7023 echo "${ECHO_T}no" >&6
7024 fi
7025
7026
7027 enablestring=
7028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7029 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7030 no_cache=0
7031 # Check whether --enable-logdialog or --disable-logdialog was given.
7032 if test "${enable_logdialog+set}" = set; then
7033 enableval="$enable_logdialog"
7034
7035 if test "$enableval" = yes; then
7036 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7037 else
7038 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7039 fi
7040
7041 else
7042
7043 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7044 if test "x$LINE" != x ; then
7045 eval "DEFAULT_$LINE"
7046 else
7047 no_cache=1
7048 fi
7049
7050 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7051
7052 fi;
7053
7054 eval "$ac_cv_use_logdialog"
7055 if test "$no_cache" != 1; then
7056 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7057 fi
7058
7059 if test "$wxUSE_LOGDIALOG" = yes; then
7060 echo "$as_me:$LINENO: result: yes" >&5
7061 echo "${ECHO_T}yes" >&6
7062 else
7063 echo "$as_me:$LINENO: result: no" >&5
7064 echo "${ECHO_T}no" >&6
7065 fi
7066
7067
7068 enablestring=
7069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7070 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7071 no_cache=0
7072 # Check whether --enable-webkit or --disable-webkit was given.
7073 if test "${enable_webkit+set}" = set; then
7074 enableval="$enable_webkit"
7075
7076 if test "$enableval" = yes; then
7077 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7078 else
7079 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7080 fi
7081
7082 else
7083
7084 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7085 if test "x$LINE" != x ; then
7086 eval "DEFAULT_$LINE"
7087 else
7088 no_cache=1
7089 fi
7090
7091 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7092
7093 fi;
7094
7095 eval "$ac_cv_use_webkit"
7096 if test "$no_cache" != 1; then
7097 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7098 fi
7099
7100 if test "$wxUSE_WEBKIT" = yes; then
7101 echo "$as_me:$LINENO: result: yes" >&5
7102 echo "${ECHO_T}yes" >&6
7103 else
7104 echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7106 fi
7107
7108
7109 enablestring=
7110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7111 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7112 no_cache=0
7113 # Check whether --enable-html or --disable-html was given.
7114 if test "${enable_html+set}" = set; then
7115 enableval="$enable_html"
7116
7117 if test "$enableval" = yes; then
7118 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7119 else
7120 ac_cv_use_html='wxUSE_RICHTEXT=no'
7121 fi
7122
7123 else
7124
7125 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x ; then
7127 eval "DEFAULT_$LINE"
7128 else
7129 no_cache=1
7130 fi
7131
7132 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7133
7134 fi;
7135
7136 eval "$ac_cv_use_html"
7137 if test "$no_cache" != 1; then
7138 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7139 fi
7140
7141 if test "$wxUSE_RICHTEXT" = yes; then
7142 echo "$as_me:$LINENO: result: yes" >&5
7143 echo "${ECHO_T}yes" >&6
7144 else
7145 echo "$as_me:$LINENO: result: no" >&5
7146 echo "${ECHO_T}no" >&6
7147 fi
7148
7149
7150
7151 enablestring=
7152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7153 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7154 no_cache=0
7155 # Check whether --enable-postscript or --disable-postscript was given.
7156 if test "${enable_postscript+set}" = set; then
7157 enableval="$enable_postscript"
7158
7159 if test "$enableval" = yes; then
7160 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7161 else
7162 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7175
7176 fi;
7177
7178 eval "$ac_cv_use_postscript"
7179 if test "$no_cache" != 1; then
7180 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7181 fi
7182
7183 if test "$wxUSE_POSTSCRIPT" = yes; then
7184 echo "$as_me:$LINENO: result: yes" >&5
7185 echo "${ECHO_T}yes" >&6
7186 else
7187 echo "$as_me:$LINENO: result: no" >&5
7188 echo "${ECHO_T}no" >&6
7189 fi
7190
7191
7192
7193
7194
7195 enablestring=
7196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7197 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7198 no_cache=0
7199 # Check whether --enable-prologio or --disable-prologio was given.
7200 if test "${enable_prologio+set}" = set; then
7201 enableval="$enable_prologio"
7202
7203 if test "$enableval" = yes; then
7204 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7205 else
7206 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7207 fi
7208
7209 else
7210
7211 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x ; then
7213 eval "DEFAULT_$LINE"
7214 else
7215 no_cache=1
7216 fi
7217
7218 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7219
7220 fi;
7221
7222 eval "$ac_cv_use_prologio"
7223 if test "$no_cache" != 1; then
7224 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7225 fi
7226
7227 if test "$wxUSE_PROLOGIO" = yes; then
7228 echo "$as_me:$LINENO: result: yes" >&5
7229 echo "${ECHO_T}yes" >&6
7230 else
7231 echo "$as_me:$LINENO: result: no" >&5
7232 echo "${ECHO_T}no" >&6
7233 fi
7234
7235
7236 enablestring=
7237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7238 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7239 no_cache=0
7240 # Check whether --enable-resources or --disable-resources was given.
7241 if test "${enable_resources+set}" = set; then
7242 enableval="$enable_resources"
7243
7244 if test "$enableval" = yes; then
7245 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7246 else
7247 ac_cv_use_resources='wxUSE_RESOURCES=no'
7248 fi
7249
7250 else
7251
7252 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x ; then
7254 eval "DEFAULT_$LINE"
7255 else
7256 no_cache=1
7257 fi
7258
7259 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7260
7261 fi;
7262
7263 eval "$ac_cv_use_resources"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7266 fi
7267
7268 if test "$wxUSE_RESOURCES" = yes; then
7269 echo "$as_me:$LINENO: result: yes" >&5
7270 echo "${ECHO_T}yes" >&6
7271 else
7272 echo "$as_me:$LINENO: result: no" >&5
7273 echo "${ECHO_T}no" >&6
7274 fi
7275
7276
7277
7278
7279 enablestring=
7280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7282 no_cache=0
7283 # Check whether --enable-clipboard or --disable-clipboard was given.
7284 if test "${enable_clipboard+set}" = set; then
7285 enableval="$enable_clipboard"
7286
7287 if test "$enableval" = yes; then
7288 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7289 else
7290 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7291 fi
7292
7293 else
7294
7295 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x ; then
7297 eval "DEFAULT_$LINE"
7298 else
7299 no_cache=1
7300 fi
7301
7302 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7303
7304 fi;
7305
7306 eval "$ac_cv_use_clipboard"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_CLIPBOARD" = yes; then
7312 echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6
7314 else
7315 echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7317 fi
7318
7319
7320 enablestring=
7321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7323 no_cache=0
7324 # Check whether --enable-dnd or --disable-dnd was given.
7325 if test "${enable_dnd+set}" = set; then
7326 enableval="$enable_dnd"
7327
7328 if test "$enableval" = yes; then
7329 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7330 else
7331 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7332 fi
7333
7334 else
7335
7336 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x ; then
7338 eval "DEFAULT_$LINE"
7339 else
7340 no_cache=1
7341 fi
7342
7343 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7344
7345 fi;
7346
7347 eval "$ac_cv_use_dnd"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7353 echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6
7355 else
7356 echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6
7358 fi
7359
7360
7361 enablestring=
7362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7364 no_cache=0
7365 # Check whether --enable-metafile or --disable-metafile was given.
7366 if test "${enable_metafile+set}" = set; then
7367 enableval="$enable_metafile"
7368
7369 if test "$enableval" = yes; then
7370 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7371 else
7372 ac_cv_use_metafile='wxUSE_METAFILE=no'
7373 fi
7374
7375 else
7376
7377 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x ; then
7379 eval "DEFAULT_$LINE"
7380 else
7381 no_cache=1
7382 fi
7383
7384 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7385
7386 fi;
7387
7388 eval "$ac_cv_use_metafile"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_METAFILE" = yes; then
7394 echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6
7396 else
7397 echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6
7399 fi
7400
7401
7402
7403
7404
7405 enablestring=
7406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7407 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7408 no_cache=0
7409 # Check whether --enable-controls or --disable-controls was given.
7410 if test "${enable_controls+set}" = set; then
7411 enableval="$enable_controls"
7412
7413 if test "$enableval" = yes; then
7414 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7415 else
7416 ac_cv_use_controls='wxUSE_CONTROLS=no'
7417 fi
7418
7419 else
7420
7421 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x ; then
7423 eval "DEFAULT_$LINE"
7424 else
7425 no_cache=1
7426 fi
7427
7428 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7429
7430 fi;
7431
7432 eval "$ac_cv_use_controls"
7433 if test "$no_cache" != 1; then
7434 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7435 fi
7436
7437 if test "$wxUSE_CONTROLS" = yes; then
7438 echo "$as_me:$LINENO: result: yes" >&5
7439 echo "${ECHO_T}yes" >&6
7440 else
7441 echo "$as_me:$LINENO: result: no" >&5
7442 echo "${ECHO_T}no" >&6
7443 fi
7444
7445
7446 if test "$wxUSE_CONTROLS" = "yes"; then
7447 DEFAULT_wxUSE_ACCEL=yes
7448 DEFAULT_wxUSE_BMPBUTTON=yes
7449 DEFAULT_wxUSE_BUTTON=yes
7450 DEFAULT_wxUSE_CALCTRL=yes
7451 DEFAULT_wxUSE_CARET=yes
7452 DEFAULT_wxUSE_COMBOBOX=yes
7453 DEFAULT_wxUSE_CHECKBOX=yes
7454 DEFAULT_wxUSE_CHECKLISTBOX=yes
7455 DEFAULT_wxUSE_CHOICE=yes
7456 DEFAULT_wxUSE_CHOICEBOOK=yes
7457 DEFAULT_wxUSE_DATEPICKCTRL=yes
7458 DEFAULT_wxUSE_GAUGE=yes
7459 DEFAULT_wxUSE_GRID=yes
7460 DEFAULT_wxUSE_DATAVIEWCTRL=no
7461 DEFAULT_wxUSE_IMAGLIST=yes
7462 DEFAULT_wxUSE_LISTBOOK=yes
7463 DEFAULT_wxUSE_LISTBOX=yes
7464 DEFAULT_wxUSE_LISTCTRL=yes
7465 DEFAULT_wxUSE_NOTEBOOK=yes
7466 DEFAULT_wxUSE_RADIOBOX=yes
7467 DEFAULT_wxUSE_RADIOBTN=yes
7468 DEFAULT_wxUSE_SASH=yes
7469 DEFAULT_wxUSE_SCROLLBAR=yes
7470 DEFAULT_wxUSE_SLIDER=yes
7471 DEFAULT_wxUSE_SPINBTN=yes
7472 DEFAULT_wxUSE_SPINCTRL=yes
7473 DEFAULT_wxUSE_SPLITTER=yes
7474 DEFAULT_wxUSE_STATBMP=yes
7475 DEFAULT_wxUSE_STATBOX=yes
7476 DEFAULT_wxUSE_STATLINE=yes
7477 DEFAULT_wxUSE_STATUSBAR=yes
7478 DEFAULT_wxUSE_TAB_DIALOG=yes
7479 DEFAULT_wxUSE_TOGGLEBTN=yes
7480 DEFAULT_wxUSE_TOOLBAR=yes
7481 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7482 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7483 DEFAULT_wxUSE_TOOLTIPS=yes
7484 DEFAULT_wxUSE_TREEBOOK=yes
7485 DEFAULT_wxUSE_TREECTRL=yes
7486 DEFAULT_wxUSE_POPUPWIN=yes
7487 DEFAULT_wxUSE_TIPWINDOW=yes
7488 elif test "$wxUSE_CONTROLS" = "no"; then
7489 DEFAULT_wxUSE_ACCEL=no
7490 DEFAULT_wxUSE_BMPBUTTON=no
7491 DEFAULT_wxUSE_BUTTON=no
7492 DEFAULT_wxUSE_CALCTRL=no
7493 DEFAULT_wxUSE_CARET=no
7494 DEFAULT_wxUSE_COMBOBOX=no
7495 DEFAULT_wxUSE_CHECKBOX=no
7496 DEFAULT_wxUSE_CHECKLISTBOX=no
7497 DEFAULT_wxUSE_CHOICE=no
7498 DEFAULT_wxUSE_CHOICEBOOK=no
7499 DEFAULT_wxUSE_DATEPICKCTRL=no
7500 DEFAULT_wxUSE_GAUGE=no
7501 DEFAULT_wxUSE_GRID=no
7502 DEFAULT_wxUSE_DATAVIEWCTRL=no
7503 DEFAULT_wxUSE_IMAGLIST=no
7504 DEFAULT_wxUSE_LISTBOOK=no
7505 DEFAULT_wxUSE_LISTBOX=no
7506 DEFAULT_wxUSE_LISTCTRL=no
7507 DEFAULT_wxUSE_NOTEBOOK=no
7508 DEFAULT_wxUSE_RADIOBOX=no
7509 DEFAULT_wxUSE_RADIOBTN=no
7510 DEFAULT_wxUSE_SASH=no
7511 DEFAULT_wxUSE_SCROLLBAR=no
7512 DEFAULT_wxUSE_SLIDER=no
7513 DEFAULT_wxUSE_SPINBTN=no
7514 DEFAULT_wxUSE_SPINCTRL=no
7515 DEFAULT_wxUSE_SPLITTER=no
7516 DEFAULT_wxUSE_STATBMP=no
7517 DEFAULT_wxUSE_STATBOX=no
7518 DEFAULT_wxUSE_STATLINE=no
7519 DEFAULT_wxUSE_STATUSBAR=no
7520 DEFAULT_wxUSE_TAB_DIALOG=no
7521 DEFAULT_wxUSE_TOGGLEBTN=no
7522 DEFAULT_wxUSE_TOOLBAR=no
7523 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7524 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7525 DEFAULT_wxUSE_TOOLTIPS=no
7526 DEFAULT_wxUSE_TREEBOOK=no
7527 DEFAULT_wxUSE_TREECTRL=no
7528 DEFAULT_wxUSE_POPUPWIN=no
7529 DEFAULT_wxUSE_TIPWINDOW=no
7530 fi
7531
7532
7533 enablestring=
7534 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7535 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7536 no_cache=0
7537 # Check whether --enable-accel or --disable-accel was given.
7538 if test "${enable_accel+set}" = set; then
7539 enableval="$enable_accel"
7540
7541 if test "$enableval" = yes; then
7542 ac_cv_use_accel='wxUSE_ACCEL=yes'
7543 else
7544 ac_cv_use_accel='wxUSE_ACCEL=no'
7545 fi
7546
7547 else
7548
7549 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x ; then
7551 eval "DEFAULT_$LINE"
7552 else
7553 no_cache=1
7554 fi
7555
7556 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7557
7558 fi;
7559
7560 eval "$ac_cv_use_accel"
7561 if test "$no_cache" != 1; then
7562 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7563 fi
7564
7565 if test "$wxUSE_ACCEL" = yes; then
7566 echo "$as_me:$LINENO: result: yes" >&5
7567 echo "${ECHO_T}yes" >&6
7568 else
7569 echo "$as_me:$LINENO: result: no" >&5
7570 echo "${ECHO_T}no" >&6
7571 fi
7572
7573
7574 enablestring=
7575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7576 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7577 no_cache=0
7578 # Check whether --enable-button or --disable-button was given.
7579 if test "${enable_button+set}" = set; then
7580 enableval="$enable_button"
7581
7582 if test "$enableval" = yes; then
7583 ac_cv_use_button='wxUSE_BUTTON=yes'
7584 else
7585 ac_cv_use_button='wxUSE_BUTTON=no'
7586 fi
7587
7588 else
7589
7590 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x ; then
7592 eval "DEFAULT_$LINE"
7593 else
7594 no_cache=1
7595 fi
7596
7597 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7598
7599 fi;
7600
7601 eval "$ac_cv_use_button"
7602 if test "$no_cache" != 1; then
7603 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7604 fi
7605
7606 if test "$wxUSE_BUTTON" = yes; then
7607 echo "$as_me:$LINENO: result: yes" >&5
7608 echo "${ECHO_T}yes" >&6
7609 else
7610 echo "$as_me:$LINENO: result: no" >&5
7611 echo "${ECHO_T}no" >&6
7612 fi
7613
7614
7615 enablestring=
7616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7618 no_cache=0
7619 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7620 if test "${enable_bmpbutton+set}" = set; then
7621 enableval="$enable_bmpbutton"
7622
7623 if test "$enableval" = yes; then
7624 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7625 else
7626 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7627 fi
7628
7629 else
7630
7631 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7632 if test "x$LINE" != x ; then
7633 eval "DEFAULT_$LINE"
7634 else
7635 no_cache=1
7636 fi
7637
7638 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7639
7640 fi;
7641
7642 eval "$ac_cv_use_bmpbutton"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7645 fi
7646
7647 if test "$wxUSE_BMPBUTTON" = yes; then
7648 echo "$as_me:$LINENO: result: yes" >&5
7649 echo "${ECHO_T}yes" >&6
7650 else
7651 echo "$as_me:$LINENO: result: no" >&5
7652 echo "${ECHO_T}no" >&6
7653 fi
7654
7655
7656 enablestring=
7657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7659 no_cache=0
7660 # Check whether --enable-calendar or --disable-calendar was given.
7661 if test "${enable_calendar+set}" = set; then
7662 enableval="$enable_calendar"
7663
7664 if test "$enableval" = yes; then
7665 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7666 else
7667 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7668 fi
7669
7670 else
7671
7672 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7673 if test "x$LINE" != x ; then
7674 eval "DEFAULT_$LINE"
7675 else
7676 no_cache=1
7677 fi
7678
7679 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7680
7681 fi;
7682
7683 eval "$ac_cv_use_calendar"
7684 if test "$no_cache" != 1; then
7685 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7686 fi
7687
7688 if test "$wxUSE_CALCTRL" = yes; then
7689 echo "$as_me:$LINENO: result: yes" >&5
7690 echo "${ECHO_T}yes" >&6
7691 else
7692 echo "$as_me:$LINENO: result: no" >&5
7693 echo "${ECHO_T}no" >&6
7694 fi
7695
7696
7697 enablestring=
7698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7699 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7700 no_cache=0
7701 # Check whether --enable-caret or --disable-caret was given.
7702 if test "${enable_caret+set}" = set; then
7703 enableval="$enable_caret"
7704
7705 if test "$enableval" = yes; then
7706 ac_cv_use_caret='wxUSE_CARET=yes'
7707 else
7708 ac_cv_use_caret='wxUSE_CARET=no'
7709 fi
7710
7711 else
7712
7713 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7714 if test "x$LINE" != x ; then
7715 eval "DEFAULT_$LINE"
7716 else
7717 no_cache=1
7718 fi
7719
7720 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7721
7722 fi;
7723
7724 eval "$ac_cv_use_caret"
7725 if test "$no_cache" != 1; then
7726 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7727 fi
7728
7729 if test "$wxUSE_CARET" = yes; then
7730 echo "$as_me:$LINENO: result: yes" >&5
7731 echo "${ECHO_T}yes" >&6
7732 else
7733 echo "$as_me:$LINENO: result: no" >&5
7734 echo "${ECHO_T}no" >&6
7735 fi
7736
7737
7738 enablestring=
7739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7741 no_cache=0
7742 # Check whether --enable-checkbox or --disable-checkbox was given.
7743 if test "${enable_checkbox+set}" = set; then
7744 enableval="$enable_checkbox"
7745
7746 if test "$enableval" = yes; then
7747 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7748 else
7749 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7750 fi
7751
7752 else
7753
7754 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7755 if test "x$LINE" != x ; then
7756 eval "DEFAULT_$LINE"
7757 else
7758 no_cache=1
7759 fi
7760
7761 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7762
7763 fi;
7764
7765 eval "$ac_cv_use_checkbox"
7766 if test "$no_cache" != 1; then
7767 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7768 fi
7769
7770 if test "$wxUSE_CHECKBOX" = yes; then
7771 echo "$as_me:$LINENO: result: yes" >&5
7772 echo "${ECHO_T}yes" >&6
7773 else
7774 echo "$as_me:$LINENO: result: no" >&5
7775 echo "${ECHO_T}no" >&6
7776 fi
7777
7778
7779 enablestring=
7780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7782 no_cache=0
7783 # Check whether --enable-checklst or --disable-checklst was given.
7784 if test "${enable_checklst+set}" = set; then
7785 enableval="$enable_checklst"
7786
7787 if test "$enableval" = yes; then
7788 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7789 else
7790 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7791 fi
7792
7793 else
7794
7795 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7796 if test "x$LINE" != x ; then
7797 eval "DEFAULT_$LINE"
7798 else
7799 no_cache=1
7800 fi
7801
7802 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7803
7804 fi;
7805
7806 eval "$ac_cv_use_checklst"
7807 if test "$no_cache" != 1; then
7808 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7809 fi
7810
7811 if test "$wxUSE_CHECKLST" = yes; then
7812 echo "$as_me:$LINENO: result: yes" >&5
7813 echo "${ECHO_T}yes" >&6
7814 else
7815 echo "$as_me:$LINENO: result: no" >&5
7816 echo "${ECHO_T}no" >&6
7817 fi
7818
7819
7820 enablestring=
7821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
7823 no_cache=0
7824 # Check whether --enable-choice or --disable-choice was given.
7825 if test "${enable_choice+set}" = set; then
7826 enableval="$enable_choice"
7827
7828 if test "$enableval" = yes; then
7829 ac_cv_use_choice='wxUSE_CHOICE=yes'
7830 else
7831 ac_cv_use_choice='wxUSE_CHOICE=no'
7832 fi
7833
7834 else
7835
7836 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x ; then
7838 eval "DEFAULT_$LINE"
7839 else
7840 no_cache=1
7841 fi
7842
7843 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
7844
7845 fi;
7846
7847 eval "$ac_cv_use_choice"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_CHOICE" = yes; then
7853 echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6
7855 else
7856 echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6
7858 fi
7859
7860
7861 enablestring=
7862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
7864 no_cache=0
7865 # Check whether --enable-choicebook or --disable-choicebook was given.
7866 if test "${enable_choicebook+set}" = set; then
7867 enableval="$enable_choicebook"
7868
7869 if test "$enableval" = yes; then
7870 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
7871 else
7872 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
7873 fi
7874
7875 else
7876
7877 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
7878 if test "x$LINE" != x ; then
7879 eval "DEFAULT_$LINE"
7880 else
7881 no_cache=1
7882 fi
7883
7884 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
7885
7886 fi;
7887
7888 eval "$ac_cv_use_choicebook"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test "$wxUSE_CHOICEBOOK" = yes; then
7894 echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6
7896 else
7897 echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6
7899 fi
7900
7901
7902 enablestring=
7903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
7905 no_cache=0
7906 # Check whether --enable-combobox or --disable-combobox was given.
7907 if test "${enable_combobox+set}" = set; then
7908 enableval="$enable_combobox"
7909
7910 if test "$enableval" = yes; then
7911 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
7912 else
7913 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
7914 fi
7915
7916 else
7917
7918 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
7919 if test "x$LINE" != x ; then
7920 eval "DEFAULT_$LINE"
7921 else
7922 no_cache=1
7923 fi
7924
7925 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
7926
7927 fi;
7928
7929 eval "$ac_cv_use_combobox"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_COMBOBOX" = yes; then
7935 echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6
7937 else
7938 echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6
7940 fi
7941
7942
7943 enablestring=
7944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
7946 no_cache=0
7947 # Check whether --enable-datepick or --disable-datepick was given.
7948 if test "${enable_datepick+set}" = set; then
7949 enableval="$enable_datepick"
7950
7951 if test "$enableval" = yes; then
7952 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
7953 else
7954 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
7955 fi
7956
7957 else
7958
7959 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
7960 if test "x$LINE" != x ; then
7961 eval "DEFAULT_$LINE"
7962 else
7963 no_cache=1
7964 fi
7965
7966 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
7967
7968 fi;
7969
7970 eval "$ac_cv_use_datepick"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
7973 fi
7974
7975 if test "$wxUSE_DATEPICKCTRL" = yes; then
7976 echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6
7978 else
7979 echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6
7981 fi
7982
7983
7984 enablestring=
7985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
7987 no_cache=0
7988 # Check whether --enable-display or --disable-display was given.
7989 if test "${enable_display+set}" = set; then
7990 enableval="$enable_display"
7991
7992 if test "$enableval" = yes; then
7993 ac_cv_use_display='wxUSE_DISPLAY=yes'
7994 else
7995 ac_cv_use_display='wxUSE_DISPLAY=no'
7996 fi
7997
7998 else
7999
8000 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8001 if test "x$LINE" != x ; then
8002 eval "DEFAULT_$LINE"
8003 else
8004 no_cache=1
8005 fi
8006
8007 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8008
8009 fi;
8010
8011 eval "$ac_cv_use_display"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_DISPLAY" = yes; then
8017 echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6
8019 else
8020 echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6
8022 fi
8023
8024
8025 enablestring=
8026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8028 no_cache=0
8029 # Check whether --enable-gauge or --disable-gauge was given.
8030 if test "${enable_gauge+set}" = set; then
8031 enableval="$enable_gauge"
8032
8033 if test "$enableval" = yes; then
8034 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8035 else
8036 ac_cv_use_gauge='wxUSE_GAUGE=no'
8037 fi
8038
8039 else
8040
8041 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8042 if test "x$LINE" != x ; then
8043 eval "DEFAULT_$LINE"
8044 else
8045 no_cache=1
8046 fi
8047
8048 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8049
8050 fi;
8051
8052 eval "$ac_cv_use_gauge"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8055 fi
8056
8057 if test "$wxUSE_GAUGE" = yes; then
8058 echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6
8060 else
8061 echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6
8063 fi
8064
8065
8066 enablestring=
8067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8069 no_cache=0
8070 # Check whether --enable-grid or --disable-grid was given.
8071 if test "${enable_grid+set}" = set; then
8072 enableval="$enable_grid"
8073
8074 if test "$enableval" = yes; then
8075 ac_cv_use_grid='wxUSE_GRID=yes'
8076 else
8077 ac_cv_use_grid='wxUSE_GRID=no'
8078 fi
8079
8080 else
8081
8082 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8083 if test "x$LINE" != x ; then
8084 eval "DEFAULT_$LINE"
8085 else
8086 no_cache=1
8087 fi
8088
8089 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8090
8091 fi;
8092
8093 eval "$ac_cv_use_grid"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8096 fi
8097
8098 if test "$wxUSE_GRID" = yes; then
8099 echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6
8101 else
8102 echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6
8104 fi
8105
8106
8107 enablestring=
8108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8110 no_cache=0
8111 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8112 if test "${enable_dataviewctrl+set}" = set; then
8113 enableval="$enable_dataviewctrl"
8114
8115 if test "$enableval" = yes; then
8116 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8117 else
8118 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8119 fi
8120
8121 else
8122
8123 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8124 if test "x$LINE" != x ; then
8125 eval "DEFAULT_$LINE"
8126 else
8127 no_cache=1
8128 fi
8129
8130 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8131
8132 fi;
8133
8134 eval "$ac_cv_use_dataviewctrl"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8137 fi
8138
8139 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8140 echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6
8142 else
8143 echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6
8145 fi
8146
8147
8148 enablestring=
8149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8151 no_cache=0
8152 # Check whether --enable-imaglist or --disable-imaglist was given.
8153 if test "${enable_imaglist+set}" = set; then
8154 enableval="$enable_imaglist"
8155
8156 if test "$enableval" = yes; then
8157 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8158 else
8159 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8160 fi
8161
8162 else
8163
8164 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x ; then
8166 eval "DEFAULT_$LINE"
8167 else
8168 no_cache=1
8169 fi
8170
8171 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8172
8173 fi;
8174
8175 eval "$ac_cv_use_imaglist"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8178 fi
8179
8180 if test "$wxUSE_IMAGLIST" = yes; then
8181 echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6
8183 else
8184 echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6
8186 fi
8187
8188
8189 enablestring=
8190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8192 no_cache=0
8193 # Check whether --enable-listbook or --disable-listbook was given.
8194 if test "${enable_listbook+set}" = set; then
8195 enableval="$enable_listbook"
8196
8197 if test "$enableval" = yes; then
8198 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8199 else
8200 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8201 fi
8202
8203 else
8204
8205 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8206 if test "x$LINE" != x ; then
8207 eval "DEFAULT_$LINE"
8208 else
8209 no_cache=1
8210 fi
8211
8212 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8213
8214 fi;
8215
8216 eval "$ac_cv_use_listbook"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test "$wxUSE_LISTBOOK" = yes; then
8222 echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6
8224 else
8225 echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6
8227 fi
8228
8229
8230 enablestring=
8231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8233 no_cache=0
8234 # Check whether --enable-listbox or --disable-listbox was given.
8235 if test "${enable_listbox+set}" = set; then
8236 enableval="$enable_listbox"
8237
8238 if test "$enableval" = yes; then
8239 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8240 else
8241 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8242 fi
8243
8244 else
8245
8246 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8247 if test "x$LINE" != x ; then
8248 eval "DEFAULT_$LINE"
8249 else
8250 no_cache=1
8251 fi
8252
8253 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8254
8255 fi;
8256
8257 eval "$ac_cv_use_listbox"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8260 fi
8261
8262 if test "$wxUSE_LISTBOX" = yes; then
8263 echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6
8265 else
8266 echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6
8268 fi
8269
8270
8271 enablestring=
8272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8274 no_cache=0
8275 # Check whether --enable-listctrl or --disable-listctrl was given.
8276 if test "${enable_listctrl+set}" = set; then
8277 enableval="$enable_listctrl"
8278
8279 if test "$enableval" = yes; then
8280 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8281 else
8282 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8283 fi
8284
8285 else
8286
8287 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8288 if test "x$LINE" != x ; then
8289 eval "DEFAULT_$LINE"
8290 else
8291 no_cache=1
8292 fi
8293
8294 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8295
8296 fi;
8297
8298 eval "$ac_cv_use_listctrl"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_LISTCTRL" = yes; then
8304 echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6
8306 else
8307 echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6
8309 fi
8310
8311
8312 enablestring=
8313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8315 no_cache=0
8316 # Check whether --enable-notebook or --disable-notebook was given.
8317 if test "${enable_notebook+set}" = set; then
8318 enableval="$enable_notebook"
8319
8320 if test "$enableval" = yes; then
8321 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8322 else
8323 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8324 fi
8325
8326 else
8327
8328 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x ; then
8330 eval "DEFAULT_$LINE"
8331 else
8332 no_cache=1
8333 fi
8334
8335 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8336
8337 fi;
8338
8339 eval "$ac_cv_use_notebook"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8342 fi
8343
8344 if test "$wxUSE_NOTEBOOK" = yes; then
8345 echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6
8347 else
8348 echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6
8350 fi
8351
8352
8353 enablestring=
8354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8356 no_cache=0
8357 # Check whether --enable-radiobox or --disable-radiobox was given.
8358 if test "${enable_radiobox+set}" = set; then
8359 enableval="$enable_radiobox"
8360
8361 if test "$enableval" = yes; then
8362 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8363 else
8364 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8365 fi
8366
8367 else
8368
8369 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x ; then
8371 eval "DEFAULT_$LINE"
8372 else
8373 no_cache=1
8374 fi
8375
8376 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8377
8378 fi;
8379
8380 eval "$ac_cv_use_radiobox"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test "$wxUSE_RADIOBOX" = yes; then
8386 echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6
8388 else
8389 echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6
8391 fi
8392
8393
8394 enablestring=
8395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8397 no_cache=0
8398 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8399 if test "${enable_radiobtn+set}" = set; then
8400 enableval="$enable_radiobtn"
8401
8402 if test "$enableval" = yes; then
8403 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8404 else
8405 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8406 fi
8407
8408 else
8409
8410 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8411 if test "x$LINE" != x ; then
8412 eval "DEFAULT_$LINE"
8413 else
8414 no_cache=1
8415 fi
8416
8417 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8418
8419 fi;
8420
8421 eval "$ac_cv_use_radiobtn"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_RADIOBTN" = yes; then
8427 echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6
8429 else
8430 echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6
8432 fi
8433
8434
8435 enablestring=
8436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8438 no_cache=0
8439 # Check whether --enable-sash or --disable-sash was given.
8440 if test "${enable_sash+set}" = set; then
8441 enableval="$enable_sash"
8442
8443 if test "$enableval" = yes; then
8444 ac_cv_use_sash='wxUSE_SASH=yes'
8445 else
8446 ac_cv_use_sash='wxUSE_SASH=no'
8447 fi
8448
8449 else
8450
8451 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8452 if test "x$LINE" != x ; then
8453 eval "DEFAULT_$LINE"
8454 else
8455 no_cache=1
8456 fi
8457
8458 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8459
8460 fi;
8461
8462 eval "$ac_cv_use_sash"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8465 fi
8466
8467 if test "$wxUSE_SASH" = yes; then
8468 echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6
8470 else
8471 echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6
8473 fi
8474
8475
8476 enablestring=
8477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8479 no_cache=0
8480 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8481 if test "${enable_scrollbar+set}" = set; then
8482 enableval="$enable_scrollbar"
8483
8484 if test "$enableval" = yes; then
8485 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8486 else
8487 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8488 fi
8489
8490 else
8491
8492 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8493 if test "x$LINE" != x ; then
8494 eval "DEFAULT_$LINE"
8495 else
8496 no_cache=1
8497 fi
8498
8499 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8500
8501 fi;
8502
8503 eval "$ac_cv_use_scrollbar"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_SCROLLBAR" = yes; then
8509 echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6
8511 else
8512 echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6
8514 fi
8515
8516
8517 enablestring=
8518 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8520 no_cache=0
8521 # Check whether --enable-slider or --disable-slider was given.
8522 if test "${enable_slider+set}" = set; then
8523 enableval="$enable_slider"
8524
8525 if test "$enableval" = yes; then
8526 ac_cv_use_slider='wxUSE_SLIDER=yes'
8527 else
8528 ac_cv_use_slider='wxUSE_SLIDER=no'
8529 fi
8530
8531 else
8532
8533 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
8534 if test "x$LINE" != x ; then
8535 eval "DEFAULT_$LINE"
8536 else
8537 no_cache=1
8538 fi
8539
8540 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
8541
8542 fi;
8543
8544 eval "$ac_cv_use_slider"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_SLIDER" = yes; then
8550 echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6
8552 else
8553 echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6
8555 fi
8556
8557
8558 enablestring=
8559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
8561 no_cache=0
8562 # Check whether --enable-spinbtn or --disable-spinbtn was given.
8563 if test "${enable_spinbtn+set}" = set; then
8564 enableval="$enable_spinbtn"
8565
8566 if test "$enableval" = yes; then
8567 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
8568 else
8569 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
8570 fi
8571
8572 else
8573
8574 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8577 else
8578 no_cache=1
8579 fi
8580
8581 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
8582
8583 fi;
8584
8585 eval "$ac_cv_use_spinbtn"
8586 if test "$no_cache" != 1; then
8587 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
8588 fi
8589
8590 if test "$wxUSE_SPINBTN" = yes; then
8591 echo "$as_me:$LINENO: result: yes" >&5
8592 echo "${ECHO_T}yes" >&6
8593 else
8594 echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6
8596 fi
8597
8598
8599 enablestring=
8600 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
8601 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
8602 no_cache=0
8603 # Check whether --enable-spinctrl or --disable-spinctrl was given.
8604 if test "${enable_spinctrl+set}" = set; then
8605 enableval="$enable_spinctrl"
8606
8607 if test "$enableval" = yes; then
8608 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
8609 else
8610 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
8611 fi
8612
8613 else
8614
8615 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
8616 if test "x$LINE" != x ; then
8617 eval "DEFAULT_$LINE"
8618 else
8619 no_cache=1
8620 fi
8621
8622 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
8623
8624 fi;
8625
8626 eval "$ac_cv_use_spinctrl"
8627 if test "$no_cache" != 1; then
8628 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
8629 fi
8630
8631 if test "$wxUSE_SPINCTRL" = yes; then
8632 echo "$as_me:$LINENO: result: yes" >&5
8633 echo "${ECHO_T}yes" >&6
8634 else
8635 echo "$as_me:$LINENO: result: no" >&5
8636 echo "${ECHO_T}no" >&6
8637 fi
8638
8639
8640 enablestring=
8641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
8642 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
8643 no_cache=0
8644 # Check whether --enable-splitter or --disable-splitter was given.
8645 if test "${enable_splitter+set}" = set; then
8646 enableval="$enable_splitter"
8647
8648 if test "$enableval" = yes; then
8649 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
8650 else
8651 ac_cv_use_splitter='wxUSE_SPLITTER=no'
8652 fi
8653
8654 else
8655
8656 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
8657 if test "x$LINE" != x ; then
8658 eval "DEFAULT_$LINE"
8659 else
8660 no_cache=1
8661 fi
8662
8663 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
8664
8665 fi;
8666
8667 eval "$ac_cv_use_splitter"
8668 if test "$no_cache" != 1; then
8669 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
8670 fi
8671
8672 if test "$wxUSE_SPLITTER" = yes; then
8673 echo "$as_me:$LINENO: result: yes" >&5
8674 echo "${ECHO_T}yes" >&6
8675 else
8676 echo "$as_me:$LINENO: result: no" >&5
8677 echo "${ECHO_T}no" >&6
8678 fi
8679
8680
8681 enablestring=
8682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
8683 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
8684 no_cache=0
8685 # Check whether --enable-statbmp or --disable-statbmp was given.
8686 if test "${enable_statbmp+set}" = set; then
8687 enableval="$enable_statbmp"
8688
8689 if test "$enableval" = yes; then
8690 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
8691 else
8692 ac_cv_use_statbmp='wxUSE_STATBMP=no'
8693 fi
8694
8695 else
8696
8697 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
8698 if test "x$LINE" != x ; then
8699 eval "DEFAULT_$LINE"
8700 else
8701 no_cache=1
8702 fi
8703
8704 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
8705
8706 fi;
8707
8708 eval "$ac_cv_use_statbmp"
8709 if test "$no_cache" != 1; then
8710 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
8711 fi
8712
8713 if test "$wxUSE_STATBMP" = yes; then
8714 echo "$as_me:$LINENO: result: yes" >&5
8715 echo "${ECHO_T}yes" >&6
8716 else
8717 echo "$as_me:$LINENO: result: no" >&5
8718 echo "${ECHO_T}no" >&6
8719 fi
8720
8721
8722 enablestring=
8723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
8724 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
8725 no_cache=0
8726 # Check whether --enable-statbox or --disable-statbox was given.
8727 if test "${enable_statbox+set}" = set; then
8728 enableval="$enable_statbox"
8729
8730 if test "$enableval" = yes; then
8731 ac_cv_use_statbox='wxUSE_STATBOX=yes'
8732 else
8733 ac_cv_use_statbox='wxUSE_STATBOX=no'
8734 fi
8735
8736 else
8737
8738 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
8739 if test "x$LINE" != x ; then
8740 eval "DEFAULT_$LINE"
8741 else
8742 no_cache=1
8743 fi
8744
8745 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
8746
8747 fi;
8748
8749 eval "$ac_cv_use_statbox"
8750 if test "$no_cache" != 1; then
8751 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
8752 fi
8753
8754 if test "$wxUSE_STATBOX" = yes; then
8755 echo "$as_me:$LINENO: result: yes" >&5
8756 echo "${ECHO_T}yes" >&6
8757 else
8758 echo "$as_me:$LINENO: result: no" >&5
8759 echo "${ECHO_T}no" >&6
8760 fi
8761
8762
8763 enablestring=
8764 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
8766 no_cache=0
8767 # Check whether --enable-statline or --disable-statline was given.
8768 if test "${enable_statline+set}" = set; then
8769 enableval="$enable_statline"
8770
8771 if test "$enableval" = yes; then
8772 ac_cv_use_statline='wxUSE_STATLINE=yes'
8773 else
8774 ac_cv_use_statline='wxUSE_STATLINE=no'
8775 fi
8776
8777 else
8778
8779 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
8780 if test "x$LINE" != x ; then
8781 eval "DEFAULT_$LINE"
8782 else
8783 no_cache=1
8784 fi
8785
8786 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
8787
8788 fi;
8789
8790 eval "$ac_cv_use_statline"
8791 if test "$no_cache" != 1; then
8792 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
8793 fi
8794
8795 if test "$wxUSE_STATLINE" = yes; then
8796 echo "$as_me:$LINENO: result: yes" >&5
8797 echo "${ECHO_T}yes" >&6
8798 else
8799 echo "$as_me:$LINENO: result: no" >&5
8800 echo "${ECHO_T}no" >&6
8801 fi
8802
8803
8804 enablestring=
8805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
8806 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
8807 no_cache=0
8808 # Check whether --enable-stattext or --disable-stattext was given.
8809 if test "${enable_stattext+set}" = set; then
8810 enableval="$enable_stattext"
8811
8812 if test "$enableval" = yes; then
8813 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
8814 else
8815 ac_cv_use_stattext='wxUSE_STATTEXT=no'
8816 fi
8817
8818 else
8819
8820 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
8821 if test "x$LINE" != x ; then
8822 eval "DEFAULT_$LINE"
8823 else
8824 no_cache=1
8825 fi
8826
8827 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
8828
8829 fi;
8830
8831 eval "$ac_cv_use_stattext"
8832 if test "$no_cache" != 1; then
8833 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
8834 fi
8835
8836 if test "$wxUSE_STATTEXT" = yes; then
8837 echo "$as_me:$LINENO: result: yes" >&5
8838 echo "${ECHO_T}yes" >&6
8839 else
8840 echo "$as_me:$LINENO: result: no" >&5
8841 echo "${ECHO_T}no" >&6
8842 fi
8843
8844
8845 enablestring=
8846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
8848 no_cache=0
8849 # Check whether --enable-statusbar or --disable-statusbar was given.
8850 if test "${enable_statusbar+set}" = set; then
8851 enableval="$enable_statusbar"
8852
8853 if test "$enableval" = yes; then
8854 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
8855 else
8856 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
8857 fi
8858
8859 else
8860
8861 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
8862 if test "x$LINE" != x ; then
8863 eval "DEFAULT_$LINE"
8864 else
8865 no_cache=1
8866 fi
8867
8868 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
8869
8870 fi;
8871
8872 eval "$ac_cv_use_statusbar"
8873 if test "$no_cache" != 1; then
8874 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
8875 fi
8876
8877 if test "$wxUSE_STATUSBAR" = yes; then
8878 echo "$as_me:$LINENO: result: yes" >&5
8879 echo "${ECHO_T}yes" >&6
8880 else
8881 echo "$as_me:$LINENO: result: no" >&5
8882 echo "${ECHO_T}no" >&6
8883 fi
8884
8885
8886 enablestring=
8887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
8889 no_cache=0
8890 # Check whether --enable-tabdialog or --disable-tabdialog was given.
8891 if test "${enable_tabdialog+set}" = set; then
8892 enableval="$enable_tabdialog"
8893
8894 if test "$enableval" = yes; then
8895 ac_cv_use_tabdialog='wxUSE_TABDIALOG=yes'
8896 else
8897 ac_cv_use_tabdialog='wxUSE_TABDIALOG=no'
8898 fi
8899
8900 else
8901
8902 LINE=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
8903 if test "x$LINE" != x ; then
8904 eval "DEFAULT_$LINE"
8905 else
8906 no_cache=1
8907 fi
8908
8909 ac_cv_use_tabdialog='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
8910
8911 fi;
8912
8913 eval "$ac_cv_use_tabdialog"
8914 if test "$no_cache" != 1; then
8915 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
8916 fi
8917
8918 if test "$wxUSE_TABDIALOG" = yes; then
8919 echo "$as_me:$LINENO: result: yes" >&5
8920 echo "${ECHO_T}yes" >&6
8921 else
8922 echo "$as_me:$LINENO: result: no" >&5
8923 echo "${ECHO_T}no" >&6
8924 fi
8925
8926
8927 enablestring=
8928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
8930 no_cache=0
8931 # Check whether --enable-textctrl or --disable-textctrl was given.
8932 if test "${enable_textctrl+set}" = set; then
8933 enableval="$enable_textctrl"
8934
8935 if test "$enableval" = yes; then
8936 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
8937 else
8938 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
8939 fi
8940
8941 else
8942
8943 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
8944 if test "x$LINE" != x ; then
8945 eval "DEFAULT_$LINE"
8946 else
8947 no_cache=1
8948 fi
8949
8950 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
8951
8952 fi;
8953
8954 eval "$ac_cv_use_textctrl"
8955 if test "$no_cache" != 1; then
8956 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
8957 fi
8958
8959 if test "$wxUSE_TEXTCTRL" = yes; then
8960 echo "$as_me:$LINENO: result: yes" >&5
8961 echo "${ECHO_T}yes" >&6
8962 else
8963 echo "$as_me:$LINENO: result: no" >&5
8964 echo "${ECHO_T}no" >&6
8965 fi
8966
8967
8968 enablestring=
8969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
8970 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
8971 no_cache=0
8972 # Check whether --enable-togglebtn or --disable-togglebtn was given.
8973 if test "${enable_togglebtn+set}" = set; then
8974 enableval="$enable_togglebtn"
8975
8976 if test "$enableval" = yes; then
8977 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
8978 else
8979 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
8980 fi
8981
8982 else
8983
8984 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
8985 if test "x$LINE" != x ; then
8986 eval "DEFAULT_$LINE"
8987 else
8988 no_cache=1
8989 fi
8990
8991 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
8992
8993 fi;
8994
8995 eval "$ac_cv_use_togglebtn"
8996 if test "$no_cache" != 1; then
8997 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
8998 fi
8999
9000 if test "$wxUSE_TOGGLEBTN" = yes; then
9001 echo "$as_me:$LINENO: result: yes" >&5
9002 echo "${ECHO_T}yes" >&6
9003 else
9004 echo "$as_me:$LINENO: result: no" >&5
9005 echo "${ECHO_T}no" >&6
9006 fi
9007
9008
9009 enablestring=
9010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9011 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9012 no_cache=0
9013 # Check whether --enable-toolbar or --disable-toolbar was given.
9014 if test "${enable_toolbar+set}" = set; then
9015 enableval="$enable_toolbar"
9016
9017 if test "$enableval" = yes; then
9018 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9019 else
9020 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9021 fi
9022
9023 else
9024
9025 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9026 if test "x$LINE" != x ; then
9027 eval "DEFAULT_$LINE"
9028 else
9029 no_cache=1
9030 fi
9031
9032 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9033
9034 fi;
9035
9036 eval "$ac_cv_use_toolbar"
9037 if test "$no_cache" != 1; then
9038 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9039 fi
9040
9041 if test "$wxUSE_TOOLBAR" = yes; then
9042 echo "$as_me:$LINENO: result: yes" >&5
9043 echo "${ECHO_T}yes" >&6
9044 else
9045 echo "$as_me:$LINENO: result: no" >&5
9046 echo "${ECHO_T}no" >&6
9047 fi
9048
9049
9050 enablestring=
9051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9052 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9053 no_cache=0
9054 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9055 if test "${enable_tbarnative+set}" = set; then
9056 enableval="$enable_tbarnative"
9057
9058 if test "$enableval" = yes; then
9059 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9060 else
9061 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9062 fi
9063
9064 else
9065
9066 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9067 if test "x$LINE" != x ; then
9068 eval "DEFAULT_$LINE"
9069 else
9070 no_cache=1
9071 fi
9072
9073 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9074
9075 fi;
9076
9077 eval "$ac_cv_use_tbarnative"
9078 if test "$no_cache" != 1; then
9079 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9080 fi
9081
9082 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9083 echo "$as_me:$LINENO: result: yes" >&5
9084 echo "${ECHO_T}yes" >&6
9085 else
9086 echo "$as_me:$LINENO: result: no" >&5
9087 echo "${ECHO_T}no" >&6
9088 fi
9089
9090
9091 enablestring=
9092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9093 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9094 no_cache=0
9095 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9096 if test "${enable_tbarsmpl+set}" = set; then
9097 enableval="$enable_tbarsmpl"
9098
9099 if test "$enableval" = yes; then
9100 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9101 else
9102 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9103 fi
9104
9105 else
9106
9107 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9108 if test "x$LINE" != x ; then
9109 eval "DEFAULT_$LINE"
9110 else
9111 no_cache=1
9112 fi
9113
9114 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9115
9116 fi;
9117
9118 eval "$ac_cv_use_tbarsmpl"
9119 if test "$no_cache" != 1; then
9120 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9121 fi
9122
9123 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9124 echo "$as_me:$LINENO: result: yes" >&5
9125 echo "${ECHO_T}yes" >&6
9126 else
9127 echo "$as_me:$LINENO: result: no" >&5
9128 echo "${ECHO_T}no" >&6
9129 fi
9130
9131
9132 enablestring=
9133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9134 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9135 no_cache=0
9136 # Check whether --enable-treebook or --disable-treebook was given.
9137 if test "${enable_treebook+set}" = set; then
9138 enableval="$enable_treebook"
9139
9140 if test "$enableval" = yes; then
9141 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9142 else
9143 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9144 fi
9145
9146 else
9147
9148 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9149 if test "x$LINE" != x ; then
9150 eval "DEFAULT_$LINE"
9151 else
9152 no_cache=1
9153 fi
9154
9155 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9156
9157 fi;
9158
9159 eval "$ac_cv_use_treebook"
9160 if test "$no_cache" != 1; then
9161 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9162 fi
9163
9164 if test "$wxUSE_TREEBOOK" = yes; then
9165 echo "$as_me:$LINENO: result: yes" >&5
9166 echo "${ECHO_T}yes" >&6
9167 else
9168 echo "$as_me:$LINENO: result: no" >&5
9169 echo "${ECHO_T}no" >&6
9170 fi
9171
9172
9173 enablestring=
9174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9175 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9176 no_cache=0
9177 # Check whether --enable-treectrl or --disable-treectrl was given.
9178 if test "${enable_treectrl+set}" = set; then
9179 enableval="$enable_treectrl"
9180
9181 if test "$enableval" = yes; then
9182 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9183 else
9184 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9185 fi
9186
9187 else
9188
9189 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9190 if test "x$LINE" != x ; then
9191 eval "DEFAULT_$LINE"
9192 else
9193 no_cache=1
9194 fi
9195
9196 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9197
9198 fi;
9199
9200 eval "$ac_cv_use_treectrl"
9201 if test "$no_cache" != 1; then
9202 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9203 fi
9204
9205 if test "$wxUSE_TREECTRL" = yes; then
9206 echo "$as_me:$LINENO: result: yes" >&5
9207 echo "${ECHO_T}yes" >&6
9208 else
9209 echo "$as_me:$LINENO: result: no" >&5
9210 echo "${ECHO_T}no" >&6
9211 fi
9212
9213
9214 enablestring=
9215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9216 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9217 no_cache=0
9218 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9219 if test "${enable_tipwindow+set}" = set; then
9220 enableval="$enable_tipwindow"
9221
9222 if test "$enableval" = yes; then
9223 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9224 else
9225 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9226 fi
9227
9228 else
9229
9230 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9231 if test "x$LINE" != x ; then
9232 eval "DEFAULT_$LINE"
9233 else
9234 no_cache=1
9235 fi
9236
9237 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9238
9239 fi;
9240
9241 eval "$ac_cv_use_tipwindow"
9242 if test "$no_cache" != 1; then
9243 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9244 fi
9245
9246 if test "$wxUSE_TIPWINDOW" = yes; then
9247 echo "$as_me:$LINENO: result: yes" >&5
9248 echo "${ECHO_T}yes" >&6
9249 else
9250 echo "$as_me:$LINENO: result: no" >&5
9251 echo "${ECHO_T}no" >&6
9252 fi
9253
9254
9255 enablestring=
9256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9257 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9258 no_cache=0
9259 # Check whether --enable-popupwin or --disable-popupwin was given.
9260 if test "${enable_popupwin+set}" = set; then
9261 enableval="$enable_popupwin"
9262
9263 if test "$enableval" = yes; then
9264 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9265 else
9266 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9267 fi
9268
9269 else
9270
9271 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9272 if test "x$LINE" != x ; then
9273 eval "DEFAULT_$LINE"
9274 else
9275 no_cache=1
9276 fi
9277
9278 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9279
9280 fi;
9281
9282 eval "$ac_cv_use_popupwin"
9283 if test "$no_cache" != 1; then
9284 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9285 fi
9286
9287 if test "$wxUSE_POPUPWIN" = yes; then
9288 echo "$as_me:$LINENO: result: yes" >&5
9289 echo "${ECHO_T}yes" >&6
9290 else
9291 echo "$as_me:$LINENO: result: no" >&5
9292 echo "${ECHO_T}no" >&6
9293 fi
9294
9295
9296
9297
9298 enablestring=
9299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9301 no_cache=0
9302 # Check whether --enable-commondlg or --disable-commondlg was given.
9303 if test "${enable_commondlg+set}" = set; then
9304 enableval="$enable_commondlg"
9305
9306 if test "$enableval" = yes; then
9307 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9308 else
9309 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9310 fi
9311
9312 else
9313
9314 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9315 if test "x$LINE" != x ; then
9316 eval "DEFAULT_$LINE"
9317 else
9318 no_cache=1
9319 fi
9320
9321 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9322
9323 fi;
9324
9325 eval "$ac_cv_use_commondlg"
9326 if test "$no_cache" != 1; then
9327 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9328 fi
9329
9330 if test "$wxUSE_COMMONDLGS" = yes; then
9331 echo "$as_me:$LINENO: result: yes" >&5
9332 echo "${ECHO_T}yes" >&6
9333 else
9334 echo "$as_me:$LINENO: result: no" >&5
9335 echo "${ECHO_T}no" >&6
9336 fi
9337
9338
9339 enablestring=
9340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9341 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9342 no_cache=0
9343 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9344 if test "${enable_choicedlg+set}" = set; then
9345 enableval="$enable_choicedlg"
9346
9347 if test "$enableval" = yes; then
9348 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9349 else
9350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9351 fi
9352
9353 else
9354
9355 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9356 if test "x$LINE" != x ; then
9357 eval "DEFAULT_$LINE"
9358 else
9359 no_cache=1
9360 fi
9361
9362 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9363
9364 fi;
9365
9366 eval "$ac_cv_use_choicedlg"
9367 if test "$no_cache" != 1; then
9368 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9369 fi
9370
9371 if test "$wxUSE_CHOICEDLG" = yes; then
9372 echo "$as_me:$LINENO: result: yes" >&5
9373 echo "${ECHO_T}yes" >&6
9374 else
9375 echo "$as_me:$LINENO: result: no" >&5
9376 echo "${ECHO_T}no" >&6
9377 fi
9378
9379
9380 enablestring=
9381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9382 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9383 no_cache=0
9384 # Check whether --enable-coldlg or --disable-coldlg was given.
9385 if test "${enable_coldlg+set}" = set; then
9386 enableval="$enable_coldlg"
9387
9388 if test "$enableval" = yes; then
9389 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9390 else
9391 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9392 fi
9393
9394 else
9395
9396 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9397 if test "x$LINE" != x ; then
9398 eval "DEFAULT_$LINE"
9399 else
9400 no_cache=1
9401 fi
9402
9403 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9404
9405 fi;
9406
9407 eval "$ac_cv_use_coldlg"
9408 if test "$no_cache" != 1; then
9409 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9410 fi
9411
9412 if test "$wxUSE_COLOURDLG" = yes; then
9413 echo "$as_me:$LINENO: result: yes" >&5
9414 echo "${ECHO_T}yes" >&6
9415 else
9416 echo "$as_me:$LINENO: result: no" >&5
9417 echo "${ECHO_T}no" >&6
9418 fi
9419
9420
9421 enablestring=
9422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9423 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9424 no_cache=0
9425 # Check whether --enable-filedlg or --disable-filedlg was given.
9426 if test "${enable_filedlg+set}" = set; then
9427 enableval="$enable_filedlg"
9428
9429 if test "$enableval" = yes; then
9430 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9431 else
9432 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9433 fi
9434
9435 else
9436
9437 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9438 if test "x$LINE" != x ; then
9439 eval "DEFAULT_$LINE"
9440 else
9441 no_cache=1
9442 fi
9443
9444 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9445
9446 fi;
9447
9448 eval "$ac_cv_use_filedlg"
9449 if test "$no_cache" != 1; then
9450 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9451 fi
9452
9453 if test "$wxUSE_FILEDLG" = yes; then
9454 echo "$as_me:$LINENO: result: yes" >&5
9455 echo "${ECHO_T}yes" >&6
9456 else
9457 echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6
9459 fi
9460
9461
9462 enablestring=
9463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9465 no_cache=0
9466 # Check whether --enable-finddlg or --disable-finddlg was given.
9467 if test "${enable_finddlg+set}" = set; then
9468 enableval="$enable_finddlg"
9469
9470 if test "$enableval" = yes; then
9471 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9472 else
9473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9474 fi
9475
9476 else
9477
9478 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9479 if test "x$LINE" != x ; then
9480 eval "DEFAULT_$LINE"
9481 else
9482 no_cache=1
9483 fi
9484
9485 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9486
9487 fi;
9488
9489 eval "$ac_cv_use_finddlg"
9490 if test "$no_cache" != 1; then
9491 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9492 fi
9493
9494 if test "$wxUSE_FINDREPLDLG" = yes; then
9495 echo "$as_me:$LINENO: result: yes" >&5
9496 echo "${ECHO_T}yes" >&6
9497 else
9498 echo "$as_me:$LINENO: result: no" >&5
9499 echo "${ECHO_T}no" >&6
9500 fi
9501
9502
9503 enablestring=
9504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
9505 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
9506 no_cache=0
9507 # Check whether --enable-fontdlg or --disable-fontdlg was given.
9508 if test "${enable_fontdlg+set}" = set; then
9509 enableval="$enable_fontdlg"
9510
9511 if test "$enableval" = yes; then
9512 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
9513 else
9514 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
9515 fi
9516
9517 else
9518
9519 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
9520 if test "x$LINE" != x ; then
9521 eval "DEFAULT_$LINE"
9522 else
9523 no_cache=1
9524 fi
9525
9526 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
9527
9528 fi;
9529
9530 eval "$ac_cv_use_fontdlg"
9531 if test "$no_cache" != 1; then
9532 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
9533 fi
9534
9535 if test "$wxUSE_FONTDLG" = yes; then
9536 echo "$as_me:$LINENO: result: yes" >&5
9537 echo "${ECHO_T}yes" >&6
9538 else
9539 echo "$as_me:$LINENO: result: no" >&5
9540 echo "${ECHO_T}no" >&6
9541 fi
9542
9543
9544 enablestring=
9545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
9546 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
9547 no_cache=0
9548 # Check whether --enable-dirdlg or --disable-dirdlg was given.
9549 if test "${enable_dirdlg+set}" = set; then
9550 enableval="$enable_dirdlg"
9551
9552 if test "$enableval" = yes; then
9553 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
9554 else
9555 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
9556 fi
9557
9558 else
9559
9560 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
9561 if test "x$LINE" != x ; then
9562 eval "DEFAULT_$LINE"
9563 else
9564 no_cache=1
9565 fi
9566
9567 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
9568
9569 fi;
9570
9571 eval "$ac_cv_use_dirdlg"
9572 if test "$no_cache" != 1; then
9573 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
9574 fi
9575
9576 if test "$wxUSE_DIRDLG" = yes; then
9577 echo "$as_me:$LINENO: result: yes" >&5
9578 echo "${ECHO_T}yes" >&6
9579 else
9580 echo "$as_me:$LINENO: result: no" >&5
9581 echo "${ECHO_T}no" >&6
9582 fi
9583
9584
9585 enablestring=
9586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
9588 no_cache=0
9589 # Check whether --enable-msgdlg or --disable-msgdlg was given.
9590 if test "${enable_msgdlg+set}" = set; then
9591 enableval="$enable_msgdlg"
9592
9593 if test "$enableval" = yes; then
9594 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
9595 else
9596 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
9597 fi
9598
9599 else
9600
9601 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
9602 if test "x$LINE" != x ; then
9603 eval "DEFAULT_$LINE"
9604 else
9605 no_cache=1
9606 fi
9607
9608 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
9609
9610 fi;
9611
9612 eval "$ac_cv_use_msgdlg"
9613 if test "$no_cache" != 1; then
9614 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
9615 fi
9616
9617 if test "$wxUSE_MSGDLG" = yes; then
9618 echo "$as_me:$LINENO: result: yes" >&5
9619 echo "${ECHO_T}yes" >&6
9620 else
9621 echo "$as_me:$LINENO: result: no" >&5
9622 echo "${ECHO_T}no" >&6
9623 fi
9624
9625
9626 enablestring=
9627 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
9628 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
9629 no_cache=0
9630 # Check whether --enable-numberdlg or --disable-numberdlg was given.
9631 if test "${enable_numberdlg+set}" = set; then
9632 enableval="$enable_numberdlg"
9633
9634 if test "$enableval" = yes; then
9635 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
9636 else
9637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
9638 fi
9639
9640 else
9641
9642 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
9643 if test "x$LINE" != x ; then
9644 eval "DEFAULT_$LINE"
9645 else
9646 no_cache=1
9647 fi
9648
9649 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
9650
9651 fi;
9652
9653 eval "$ac_cv_use_numberdlg"
9654 if test "$no_cache" != 1; then
9655 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
9656 fi
9657
9658 if test "$wxUSE_NUMBERDLG" = yes; then
9659 echo "$as_me:$LINENO: result: yes" >&5
9660 echo "${ECHO_T}yes" >&6
9661 else
9662 echo "$as_me:$LINENO: result: no" >&5
9663 echo "${ECHO_T}no" >&6
9664 fi
9665
9666
9667 enablestring=
9668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
9670 no_cache=0
9671 # Check whether --enable-splash or --disable-splash was given.
9672 if test "${enable_splash+set}" = set; then
9673 enableval="$enable_splash"
9674
9675 if test "$enableval" = yes; then
9676 ac_cv_use_splash='wxUSE_SPLASH=yes'
9677 else
9678 ac_cv_use_splash='wxUSE_SPLASH=no'
9679 fi
9680
9681 else
9682
9683 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
9684 if test "x$LINE" != x ; then
9685 eval "DEFAULT_$LINE"
9686 else
9687 no_cache=1
9688 fi
9689
9690 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
9691
9692 fi;
9693
9694 eval "$ac_cv_use_splash"
9695 if test "$no_cache" != 1; then
9696 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
9697 fi
9698
9699 if test "$wxUSE_SPLASH" = yes; then
9700 echo "$as_me:$LINENO: result: yes" >&5
9701 echo "${ECHO_T}yes" >&6
9702 else
9703 echo "$as_me:$LINENO: result: no" >&5
9704 echo "${ECHO_T}no" >&6
9705 fi
9706
9707
9708 enablestring=
9709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
9710 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
9711 no_cache=0
9712 # Check whether --enable-textdlg or --disable-textdlg was given.
9713 if test "${enable_textdlg+set}" = set; then
9714 enableval="$enable_textdlg"
9715
9716 if test "$enableval" = yes; then
9717 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
9718 else
9719 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
9720 fi
9721
9722 else
9723
9724 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
9725 if test "x$LINE" != x ; then
9726 eval "DEFAULT_$LINE"
9727 else
9728 no_cache=1
9729 fi
9730
9731 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
9732
9733 fi;
9734
9735 eval "$ac_cv_use_textdlg"
9736 if test "$no_cache" != 1; then
9737 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
9738 fi
9739
9740 if test "$wxUSE_TEXTDLG" = yes; then
9741 echo "$as_me:$LINENO: result: yes" >&5
9742 echo "${ECHO_T}yes" >&6
9743 else
9744 echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6
9746 fi
9747
9748
9749 enablestring=
9750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
9751 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
9752 no_cache=0
9753 # Check whether --enable-tipdlg or --disable-tipdlg was given.
9754 if test "${enable_tipdlg+set}" = set; then
9755 enableval="$enable_tipdlg"
9756
9757 if test "$enableval" = yes; then
9758 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
9759 else
9760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
9761 fi
9762
9763 else
9764
9765 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
9766 if test "x$LINE" != x ; then
9767 eval "DEFAULT_$LINE"
9768 else
9769 no_cache=1
9770 fi
9771
9772 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
9773
9774 fi;
9775
9776 eval "$ac_cv_use_tipdlg"
9777 if test "$no_cache" != 1; then
9778 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
9779 fi
9780
9781 if test "$wxUSE_STARTUP_TIPS" = yes; then
9782 echo "$as_me:$LINENO: result: yes" >&5
9783 echo "${ECHO_T}yes" >&6
9784 else
9785 echo "$as_me:$LINENO: result: no" >&5
9786 echo "${ECHO_T}no" >&6
9787 fi
9788
9789
9790 enablestring=
9791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
9792 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
9793 no_cache=0
9794 # Check whether --enable-progressdlg or --disable-progressdlg was given.
9795 if test "${enable_progressdlg+set}" = set; then
9796 enableval="$enable_progressdlg"
9797
9798 if test "$enableval" = yes; then
9799 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
9800 else
9801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
9802 fi
9803
9804 else
9805
9806 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
9807 if test "x$LINE" != x ; then
9808 eval "DEFAULT_$LINE"
9809 else
9810 no_cache=1
9811 fi
9812
9813 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
9814
9815 fi;
9816
9817 eval "$ac_cv_use_progressdlg"
9818 if test "$no_cache" != 1; then
9819 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
9820 fi
9821
9822 if test "$wxUSE_PROGRESSDLG" = yes; then
9823 echo "$as_me:$LINENO: result: yes" >&5
9824 echo "${ECHO_T}yes" >&6
9825 else
9826 echo "$as_me:$LINENO: result: no" >&5
9827 echo "${ECHO_T}no" >&6
9828 fi
9829
9830
9831 enablestring=
9832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
9833 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
9834 no_cache=0
9835 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
9836 if test "${enable_wizarddlg+set}" = set; then
9837 enableval="$enable_wizarddlg"
9838
9839 if test "$enableval" = yes; then
9840 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
9841 else
9842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
9843 fi
9844
9845 else
9846
9847 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
9848 if test "x$LINE" != x ; then
9849 eval "DEFAULT_$LINE"
9850 else
9851 no_cache=1
9852 fi
9853
9854 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
9855
9856 fi;
9857
9858 eval "$ac_cv_use_wizarddlg"
9859 if test "$no_cache" != 1; then
9860 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
9861 fi
9862
9863 if test "$wxUSE_WIZARDDLG" = yes; then
9864 echo "$as_me:$LINENO: result: yes" >&5
9865 echo "${ECHO_T}yes" >&6
9866 else
9867 echo "$as_me:$LINENO: result: no" >&5
9868 echo "${ECHO_T}no" >&6
9869 fi
9870
9871
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-menus or --disable-menus was given.
9879 if test "${enable_menus+set}" = set; then
9880 enableval="$enable_menus"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_menus='wxUSE_MENUS=yes'
9884 else
9885 ac_cv_use_menus='wxUSE_MENUS=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
9898
9899 fi;
9900
9901 eval "$ac_cv_use_menus"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_MENUS" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-miniframe or --disable-miniframe was given.
9920 if test "${enable_miniframe+set}" = set; then
9921 enableval="$enable_miniframe"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
9925 else
9926 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
9939
9940 fi;
9941
9942 eval "$ac_cv_use_miniframe"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_MINIFRAME" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-tooltips or --disable-tooltips was given.
9961 if test "${enable_tooltips+set}" = set; then
9962 enableval="$enable_tooltips"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
9966 else
9967 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
9980
9981 fi;
9982
9983 eval "$ac_cv_use_tooltips"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLTIPS" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-splines or --disable-splines was given.
10002 if test "${enable_splines+set}" = set; then
10003 enableval="$enable_splines"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_splines='wxUSE_SPLINES=yes'
10007 else
10008 ac_cv_use_splines='wxUSE_SPLINES=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10021
10022 fi;
10023
10024 eval "$ac_cv_use_splines"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_SPLINES" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10043 if test "${enable_mousewheel+set}" = set; then
10044 enableval="$enable_mousewheel"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10048 else
10049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10062
10063 fi;
10064
10065 eval "$ac_cv_use_mousewheel"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_MOUSEWHEEL" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-validators or --disable-validators was given.
10084 if test "${enable_validators+set}" = set; then
10085 enableval="$enable_validators"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10089 else
10090 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10103
10104 fi;
10105
10106 eval "$ac_cv_use_validators"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_VALIDATORS" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10125 if test "${enable_busyinfo+set}" = set; then
10126 enableval="$enable_busyinfo"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10130 else
10131 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10144
10145 fi;
10146
10147 eval "$ac_cv_use_busyinfo"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_BUSYINFO" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-joystick or --disable-joystick was given.
10166 if test "${enable_joystick+set}" = set; then
10167 enableval="$enable_joystick"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10171 else
10172 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10185
10186 fi;
10187
10188 eval "$ac_cv_use_joystick"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_JOYSTICK" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-metafile or --disable-metafile was given.
10207 if test "${enable_metafile+set}" = set; then
10208 enableval="$enable_metafile"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10212 else
10213 ac_cv_use_metafile='wxUSE_METAFILE=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10226
10227 fi;
10228
10229 eval "$ac_cv_use_metafile"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_METAFILE" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243 enablestring=
10244 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10245 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10246 no_cache=0
10247 # Check whether --enable-dragimage or --disable-dragimage was given.
10248 if test "${enable_dragimage+set}" = set; then
10249 enableval="$enable_dragimage"
10250
10251 if test "$enableval" = yes; then
10252 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10253 else
10254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10255 fi
10256
10257 else
10258
10259 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10260 if test "x$LINE" != x ; then
10261 eval "DEFAULT_$LINE"
10262 else
10263 no_cache=1
10264 fi
10265
10266 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10267
10268 fi;
10269
10270 eval "$ac_cv_use_dragimage"
10271 if test "$no_cache" != 1; then
10272 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10273 fi
10274
10275 if test "$wxUSE_DRAGIMAGE" = yes; then
10276 echo "$as_me:$LINENO: result: yes" >&5
10277 echo "${ECHO_T}yes" >&6
10278 else
10279 echo "$as_me:$LINENO: result: no" >&5
10280 echo "${ECHO_T}no" >&6
10281 fi
10282
10283
10284 enablestring=
10285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10286 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10287 no_cache=0
10288 # Check whether --enable-accessibility or --disable-accessibility was given.
10289 if test "${enable_accessibility+set}" = set; then
10290 enableval="$enable_accessibility"
10291
10292 if test "$enableval" = yes; then
10293 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10294 else
10295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10296 fi
10297
10298 else
10299
10300 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10301 if test "x$LINE" != x ; then
10302 eval "DEFAULT_$LINE"
10303 else
10304 no_cache=1
10305 fi
10306
10307 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10308
10309 fi;
10310
10311 eval "$ac_cv_use_accessibility"
10312 if test "$no_cache" != 1; then
10313 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10314 fi
10315
10316 if test "$wxUSE_ACCESSIBILITY" = yes; then
10317 echo "$as_me:$LINENO: result: yes" >&5
10318 echo "${ECHO_T}yes" >&6
10319 else
10320 echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10322 fi
10323
10324
10325 if test "$wxUSE_MSW" = "1"; then
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-dccache or --disable-dccache was given.
10332 if test "${enable_dccache+set}" = set; then
10333 enableval="$enable_dccache"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10337 else
10338 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10351
10352 fi;
10353
10354 eval "$ac_cv_use_dccache"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_DC_CACHEING" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367 fi
10368
10369
10370
10371 enablestring=
10372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10374 no_cache=0
10375 # Check whether --enable-palette or --disable-palette was given.
10376 if test "${enable_palette+set}" = set; then
10377 enableval="$enable_palette"
10378
10379 if test "$enableval" = yes; then
10380 ac_cv_use_palette='wxUSE_PALETTE=yes'
10381 else
10382 ac_cv_use_palette='wxUSE_PALETTE=no'
10383 fi
10384
10385 else
10386
10387 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10388 if test "x$LINE" != x ; then
10389 eval "DEFAULT_$LINE"
10390 else
10391 no_cache=1
10392 fi
10393
10394 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10395
10396 fi;
10397
10398 eval "$ac_cv_use_palette"
10399 if test "$no_cache" != 1; then
10400 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10401 fi
10402
10403 if test "$wxUSE_PALETTE" = yes; then
10404 echo "$as_me:$LINENO: result: yes" >&5
10405 echo "${ECHO_T}yes" >&6
10406 else
10407 echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6
10409 fi
10410
10411
10412 enablestring=
10413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10415 no_cache=0
10416 # Check whether --enable-image or --disable-image was given.
10417 if test "${enable_image+set}" = set; then
10418 enableval="$enable_image"
10419
10420 if test "$enableval" = yes; then
10421 ac_cv_use_image='wxUSE_IMAGE=yes'
10422 else
10423 ac_cv_use_image='wxUSE_IMAGE=no'
10424 fi
10425
10426 else
10427
10428 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10429 if test "x$LINE" != x ; then
10430 eval "DEFAULT_$LINE"
10431 else
10432 no_cache=1
10433 fi
10434
10435 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10436
10437 fi;
10438
10439 eval "$ac_cv_use_image"
10440 if test "$no_cache" != 1; then
10441 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10442 fi
10443
10444 if test "$wxUSE_IMAGE" = yes; then
10445 echo "$as_me:$LINENO: result: yes" >&5
10446 echo "${ECHO_T}yes" >&6
10447 else
10448 echo "$as_me:$LINENO: result: no" >&5
10449 echo "${ECHO_T}no" >&6
10450 fi
10451
10452
10453 enablestring=
10454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10456 no_cache=0
10457 # Check whether --enable-gif or --disable-gif was given.
10458 if test "${enable_gif+set}" = set; then
10459 enableval="$enable_gif"
10460
10461 if test "$enableval" = yes; then
10462 ac_cv_use_gif='wxUSE_GIF=yes'
10463 else
10464 ac_cv_use_gif='wxUSE_GIF=no'
10465 fi
10466
10467 else
10468
10469 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10470 if test "x$LINE" != x ; then
10471 eval "DEFAULT_$LINE"
10472 else
10473 no_cache=1
10474 fi
10475
10476 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10477
10478 fi;
10479
10480 eval "$ac_cv_use_gif"
10481 if test "$no_cache" != 1; then
10482 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10483 fi
10484
10485 if test "$wxUSE_GIF" = yes; then
10486 echo "$as_me:$LINENO: result: yes" >&5
10487 echo "${ECHO_T}yes" >&6
10488 else
10489 echo "$as_me:$LINENO: result: no" >&5
10490 echo "${ECHO_T}no" >&6
10491 fi
10492
10493
10494 enablestring=
10495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
10496 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
10497 no_cache=0
10498 # Check whether --enable-pcx or --disable-pcx was given.
10499 if test "${enable_pcx+set}" = set; then
10500 enableval="$enable_pcx"
10501
10502 if test "$enableval" = yes; then
10503 ac_cv_use_pcx='wxUSE_PCX=yes'
10504 else
10505 ac_cv_use_pcx='wxUSE_PCX=no'
10506 fi
10507
10508 else
10509
10510 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
10511 if test "x$LINE" != x ; then
10512 eval "DEFAULT_$LINE"
10513 else
10514 no_cache=1
10515 fi
10516
10517 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
10518
10519 fi;
10520
10521 eval "$ac_cv_use_pcx"
10522 if test "$no_cache" != 1; then
10523 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
10524 fi
10525
10526 if test "$wxUSE_PCX" = yes; then
10527 echo "$as_me:$LINENO: result: yes" >&5
10528 echo "${ECHO_T}yes" >&6
10529 else
10530 echo "$as_me:$LINENO: result: no" >&5
10531 echo "${ECHO_T}no" >&6
10532 fi
10533
10534
10535 enablestring=
10536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
10537 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
10538 no_cache=0
10539 # Check whether --enable-iff or --disable-iff was given.
10540 if test "${enable_iff+set}" = set; then
10541 enableval="$enable_iff"
10542
10543 if test "$enableval" = yes; then
10544 ac_cv_use_iff='wxUSE_IFF=yes'
10545 else
10546 ac_cv_use_iff='wxUSE_IFF=no'
10547 fi
10548
10549 else
10550
10551 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
10552 if test "x$LINE" != x ; then
10553 eval "DEFAULT_$LINE"
10554 else
10555 no_cache=1
10556 fi
10557
10558 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
10559
10560 fi;
10561
10562 eval "$ac_cv_use_iff"
10563 if test "$no_cache" != 1; then
10564 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
10565 fi
10566
10567 if test "$wxUSE_IFF" = yes; then
10568 echo "$as_me:$LINENO: result: yes" >&5
10569 echo "${ECHO_T}yes" >&6
10570 else
10571 echo "$as_me:$LINENO: result: no" >&5
10572 echo "${ECHO_T}no" >&6
10573 fi
10574
10575
10576 enablestring=
10577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
10578 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
10579 no_cache=0
10580 # Check whether --enable-pnm or --disable-pnm was given.
10581 if test "${enable_pnm+set}" = set; then
10582 enableval="$enable_pnm"
10583
10584 if test "$enableval" = yes; then
10585 ac_cv_use_pnm='wxUSE_PNM=yes'
10586 else
10587 ac_cv_use_pnm='wxUSE_PNM=no'
10588 fi
10589
10590 else
10591
10592 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
10593 if test "x$LINE" != x ; then
10594 eval "DEFAULT_$LINE"
10595 else
10596 no_cache=1
10597 fi
10598
10599 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
10600
10601 fi;
10602
10603 eval "$ac_cv_use_pnm"
10604 if test "$no_cache" != 1; then
10605 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
10606 fi
10607
10608 if test "$wxUSE_PNM" = yes; then
10609 echo "$as_me:$LINENO: result: yes" >&5
10610 echo "${ECHO_T}yes" >&6
10611 else
10612 echo "$as_me:$LINENO: result: no" >&5
10613 echo "${ECHO_T}no" >&6
10614 fi
10615
10616
10617 enablestring=
10618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
10619 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
10620 no_cache=0
10621 # Check whether --enable-xpm or --disable-xpm was given.
10622 if test "${enable_xpm+set}" = set; then
10623 enableval="$enable_xpm"
10624
10625 if test "$enableval" = yes; then
10626 ac_cv_use_xpm='wxUSE_XPM=yes'
10627 else
10628 ac_cv_use_xpm='wxUSE_XPM=no'
10629 fi
10630
10631 else
10632
10633 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
10634 if test "x$LINE" != x ; then
10635 eval "DEFAULT_$LINE"
10636 else
10637 no_cache=1
10638 fi
10639
10640 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
10641
10642 fi;
10643
10644 eval "$ac_cv_use_xpm"
10645 if test "$no_cache" != 1; then
10646 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
10647 fi
10648
10649 if test "$wxUSE_XPM" = yes; then
10650 echo "$as_me:$LINENO: result: yes" >&5
10651 echo "${ECHO_T}yes" >&6
10652 else
10653 echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6
10655 fi
10656
10657
10658 enablestring=
10659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
10660 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
10661 no_cache=0
10662 # Check whether --enable-ico_cur or --disable-ico_cur was given.
10663 if test "${enable_ico_cur+set}" = set; then
10664 enableval="$enable_ico_cur"
10665
10666 if test "$enableval" = yes; then
10667 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
10668 else
10669 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
10670 fi
10671
10672 else
10673
10674 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
10675 if test "x$LINE" != x ; then
10676 eval "DEFAULT_$LINE"
10677 else
10678 no_cache=1
10679 fi
10680
10681 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
10682
10683 fi;
10684
10685 eval "$ac_cv_use_ico_cur"
10686 if test "$no_cache" != 1; then
10687 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
10688 fi
10689
10690 if test "$wxUSE_ICO_CUR" = yes; then
10691 echo "$as_me:$LINENO: result: yes" >&5
10692 echo "${ECHO_T}yes" >&6
10693 else
10694 echo "$as_me:$LINENO: result: no" >&5
10695 echo "${ECHO_T}no" >&6
10696 fi
10697
10698
10699 fi
10700
10701
10702
10703 # Check whether --with-flavour or --without-flavour was given.
10704 if test "${with_flavour+set}" = set; then
10705 withval="$with_flavour"
10706 WX_FLAVOUR="$withval"
10707 fi;
10708
10709
10710
10711 enablestring=
10712 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
10713 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
10714 no_cache=0
10715 # Check whether --enable-official_build or --disable-official_build was given.
10716 if test "${enable_official_build+set}" = set; then
10717 enableval="$enable_official_build"
10718
10719 if test "$enableval" = yes; then
10720 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
10721 else
10722 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
10723 fi
10724
10725 else
10726
10727 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
10728 if test "x$LINE" != x ; then
10729 eval "DEFAULT_$LINE"
10730 else
10731 no_cache=1
10732 fi
10733
10734 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
10735
10736 fi;
10737
10738 eval "$ac_cv_use_official_build"
10739 if test "$no_cache" != 1; then
10740 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
10741 fi
10742
10743 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
10744 echo "$as_me:$LINENO: result: yes" >&5
10745 echo "${ECHO_T}yes" >&6
10746 else
10747 echo "$as_me:$LINENO: result: no" >&5
10748 echo "${ECHO_T}no" >&6
10749 fi
10750
10751 # Check whether --enable-vendor or --disable-vendor was given.
10752 if test "${enable_vendor+set}" = set; then
10753 enableval="$enable_vendor"
10754 VENDOR="$enableval"
10755 fi;
10756 if test "x$VENDOR" = "x"; then
10757 VENDOR="custom"
10758 fi
10759
10760
10761
10762
10763 echo "saving argument cache $wx_arg_cache_file"
10764 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
10765
10766
10767
10768 echo "$as_me:$LINENO: checking for toolkit" >&5
10769 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
10770
10771 # In Wine, we need to default to MSW, not GTK or MOTIF
10772 if test "$wxUSE_WINE" = "yes"; then
10773 DEFAULT_DEFAULT_wxUSE_GTK=0
10774 DEFAULT_DEFAULT_wxUSE_MOTIF=0
10775 DEFAULT_DEFAULT_wxUSE_MSW=1
10776 wxUSE_SHARED=no
10777 fi
10778
10779
10780 if test "$wxUSE_GUI" = "yes"; then
10781
10782 if test "$USE_BEOS" = 1; then
10783 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
10784 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
10785 { (exit 1); exit 1; }; }
10786 fi
10787
10788 if test "$TOOLKIT_GIVEN" = 1; then
10789 for toolkit in `echo $ALL_TOOLKITS`; do
10790 var=wxUSE_$toolkit
10791 eval "value=\$${var}"
10792 if test "x$value" = "xno"; then
10793 eval "$var=0"
10794 elif test "x$value" != "x"; then
10795 eval "$var=1"
10796 fi
10797
10798 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
10799 eval "wx${toolkit}_VERSION=$value"
10800 fi
10801 done
10802 else
10803 for toolkit in `echo $ALL_TOOLKITS`; do
10804 if test "$has_toolkit_in_cache" != 1; then
10805 var=DEFAULT_DEFAULT_wxUSE_$toolkit
10806 else
10807 var=DEFAULT_wxUSE_$toolkit
10808
10809 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
10810 if test "x$version" != "x"; then
10811 eval "wx${toolkit}_VERSION=$version"
10812 fi
10813 fi
10814 eval "wxUSE_$toolkit=\$${var}"
10815 done
10816 fi
10817
10818 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
10819 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
10820 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
10821
10822 case "${host}" in
10823 *-pc-os2_emx | *-pc-os2-emx )
10824 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
10825 esac
10826
10827 case "$NUM_TOOLKITS" in
10828 1)
10829 ;;
10830 0)
10831 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
10832 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
10833 { (exit 1); exit 1; }; }
10834 ;;
10835 *)
10836 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
10837 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
10838 { (exit 1); exit 1; }; }
10839 esac
10840
10841 # to be removed when --disable-gtk2 isn't needed
10842 if test "x$wxUSE_GTK2" = "xyes"; then
10843 wxGTK_VERSION=2
10844 elif test "x$wxUSE_GTK2" = "xno"; then
10845 wxGTK_VERSION=1
10846 fi
10847
10848 for toolkit in `echo $ALL_TOOLKITS`; do
10849 var=wxUSE_$toolkit
10850 eval "value=\$${var}"
10851 if test "x$value" != x; then
10852 cache_var=CACHE_$toolkit
10853 eval "cache=\$${cache_var}"
10854 if test "$cache" = 1; then
10855 echo "$var=$value" >> ${wx_arg_cache_file}
10856 eval "version=\$wx${toolkit}_VERSION"
10857 if test "x$version" != "x"; then
10858 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
10859 fi
10860 fi
10861 if test "$value" = 1; then
10862 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
10863 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
10864 echo "${ECHO_T}$toolkit_echo" >&6
10865 fi
10866 fi
10867 done
10868 else
10869 if test "x$host_alias" != "x"; then
10870 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
10871 echo "${ECHO_T}base ($host_alias hosted) only" >&6
10872 else
10873 echo "$as_me:$LINENO: result: base only" >&5
10874 echo "${ECHO_T}base only" >&6
10875 fi
10876 fi
10877
10878 wants_win32=0
10879 doesnt_want_win32=0
10880 case "${host}" in
10881 *-*-cygwin*)
10882 if test "$wxUSE_MSW" = 1 ; then
10883 wants_win32=1
10884 BAKEFILE_FORCE_PLATFORM=win32
10885 else
10886 doesnt_want_win32=1
10887 fi
10888 ;;
10889 *-*-mingw*)
10890 wants_win32=1
10891 ;;
10892 esac
10893
10894 if test "$wxUSE_WINE" = "yes"; then
10895 wants_win32=1
10896 CC=winegcc
10897 CXX=wineg++
10898 LDFLAGS_GUI="-mwindows"
10899 fi
10900
10901 if test "$wants_win32" = 1 ; then
10902 USE_UNIX=0
10903 USE_WIN32=1
10904 cat >>confdefs.h <<\_ACEOF
10905 #define __WIN32__ 1
10906 _ACEOF
10907
10908 cat >>confdefs.h <<\_ACEOF
10909 #define __WIN95__ 1
10910 _ACEOF
10911
10912 cat >>confdefs.h <<\_ACEOF
10913 #define __WINDOWS__ 1
10914 _ACEOF
10915
10916 cat >>confdefs.h <<\_ACEOF
10917 #define __GNUWIN32__ 1
10918 _ACEOF
10919
10920 cat >>confdefs.h <<\_ACEOF
10921 #define STRICT 1
10922 _ACEOF
10923
10924 cat >>confdefs.h <<\_ACEOF
10925 #define WINVER 0x0400
10926 _ACEOF
10927
10928 fi
10929 if test "$doesnt_want_win32" = 1 ; then
10930 USE_UNIX=1
10931 USE_WIN32=0
10932 fi
10933
10934 if test "$USE_UNIX" = 1 ; then
10935 wxUSE_UNIX=yes
10936 cat >>confdefs.h <<\_ACEOF
10937 #define __UNIX__ 1
10938 _ACEOF
10939
10940 fi
10941
10942
10943 cat >confcache <<\_ACEOF
10944 # This file is a shell script that caches the results of configure
10945 # tests run on this system so they can be shared between configure
10946 # scripts and configure runs, see configure's option --config-cache.
10947 # It is not useful on other systems. If it contains results you don't
10948 # want to keep, you may remove or edit it.
10949 #
10950 # config.status only pays attention to the cache file if you give it
10951 # the --recheck option to rerun configure.
10952 #
10953 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10954 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10955 # following values.
10956
10957 _ACEOF
10958
10959 # The following way of writing the cache mishandles newlines in values,
10960 # but we know of no workaround that is simple, portable, and efficient.
10961 # So, don't put newlines in cache variables' values.
10962 # Ultrix sh set writes to stderr and can't be redirected directly,
10963 # and sets the high bit in the cache file unless we assign to the vars.
10964 {
10965 (set) 2>&1 |
10966 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10967 *ac_space=\ *)
10968 # `set' does not quote correctly, so add quotes (double-quote
10969 # substitution turns \\\\ into \\, and sed turns \\ into \).
10970 sed -n \
10971 "s/'/'\\\\''/g;
10972 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10973 ;;
10974 *)
10975 # `set' quotes correctly as required by POSIX, so do not add quotes.
10976 sed -n \
10977 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10978 ;;
10979 esac;
10980 } |
10981 sed '
10982 t clear
10983 : clear
10984 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10985 t end
10986 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10987 : end' >>confcache
10988 if diff $cache_file confcache >/dev/null 2>&1; then :; else
10989 if test -w $cache_file; then
10990 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10991 cat confcache >$cache_file
10992 else
10993 echo "not updating unwritable cache $cache_file"
10994 fi
10995 fi
10996 rm -f confcache
10997
10998 CFLAGS=${CFLAGS:=}
10999
11000
11001
11002 ac_ext=c
11003 ac_cpp='$CPP $CPPFLAGS'
11004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11007 if test -n "$ac_tool_prefix"; then
11008 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11009 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11010 echo "$as_me:$LINENO: checking for $ac_word" >&5
11011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11012 if test "${ac_cv_prog_CC+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 if test -n "$CC"; then
11016 ac_cv_prog_CC="$CC" # Let the user override the test.
11017 else
11018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11019 for as_dir in $PATH
11020 do
11021 IFS=$as_save_IFS
11022 test -z "$as_dir" && as_dir=.
11023 for ac_exec_ext in '' $ac_executable_extensions; do
11024 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11025 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11027 break 2
11028 fi
11029 done
11030 done
11031
11032 fi
11033 fi
11034 CC=$ac_cv_prog_CC
11035 if test -n "$CC"; then
11036 echo "$as_me:$LINENO: result: $CC" >&5
11037 echo "${ECHO_T}$CC" >&6
11038 else
11039 echo "$as_me:$LINENO: result: no" >&5
11040 echo "${ECHO_T}no" >&6
11041 fi
11042
11043 fi
11044 if test -z "$ac_cv_prog_CC"; then
11045 ac_ct_CC=$CC
11046 # Extract the first word of "gcc", so it can be a program name with args.
11047 set dummy gcc; ac_word=$2
11048 echo "$as_me:$LINENO: checking for $ac_word" >&5
11049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 else
11053 if test -n "$ac_ct_CC"; then
11054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11055 else
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11058 do
11059 IFS=$as_save_IFS
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11063 ac_cv_prog_ac_ct_CC="gcc"
11064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 break 2
11066 fi
11067 done
11068 done
11069
11070 fi
11071 fi
11072 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11073 if test -n "$ac_ct_CC"; then
11074 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11075 echo "${ECHO_T}$ac_ct_CC" >&6
11076 else
11077 echo "$as_me:$LINENO: result: no" >&5
11078 echo "${ECHO_T}no" >&6
11079 fi
11080
11081 CC=$ac_ct_CC
11082 else
11083 CC="$ac_cv_prog_CC"
11084 fi
11085
11086 if test -z "$CC"; then
11087 if test -n "$ac_tool_prefix"; then
11088 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11089 set dummy ${ac_tool_prefix}cc; ac_word=$2
11090 echo "$as_me:$LINENO: checking for $ac_word" >&5
11091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11092 if test "${ac_cv_prog_CC+set}" = set; then
11093 echo $ECHO_N "(cached) $ECHO_C" >&6
11094 else
11095 if test -n "$CC"; then
11096 ac_cv_prog_CC="$CC" # Let the user override the test.
11097 else
11098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11099 for as_dir in $PATH
11100 do
11101 IFS=$as_save_IFS
11102 test -z "$as_dir" && as_dir=.
11103 for ac_exec_ext in '' $ac_executable_extensions; do
11104 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11105 ac_cv_prog_CC="${ac_tool_prefix}cc"
11106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11107 break 2
11108 fi
11109 done
11110 done
11111
11112 fi
11113 fi
11114 CC=$ac_cv_prog_CC
11115 if test -n "$CC"; then
11116 echo "$as_me:$LINENO: result: $CC" >&5
11117 echo "${ECHO_T}$CC" >&6
11118 else
11119 echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6
11121 fi
11122
11123 fi
11124 if test -z "$ac_cv_prog_CC"; then
11125 ac_ct_CC=$CC
11126 # Extract the first word of "cc", so it can be a program name with args.
11127 set dummy cc; ac_word=$2
11128 echo "$as_me:$LINENO: checking for $ac_word" >&5
11129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11132 else
11133 if test -n "$ac_ct_CC"; then
11134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11135 else
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11138 do
11139 IFS=$as_save_IFS
11140 test -z "$as_dir" && as_dir=.
11141 for ac_exec_ext in '' $ac_executable_extensions; do
11142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11143 ac_cv_prog_ac_ct_CC="cc"
11144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11145 break 2
11146 fi
11147 done
11148 done
11149
11150 fi
11151 fi
11152 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11153 if test -n "$ac_ct_CC"; then
11154 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11155 echo "${ECHO_T}$ac_ct_CC" >&6
11156 else
11157 echo "$as_me:$LINENO: result: no" >&5
11158 echo "${ECHO_T}no" >&6
11159 fi
11160
11161 CC=$ac_ct_CC
11162 else
11163 CC="$ac_cv_prog_CC"
11164 fi
11165
11166 fi
11167 if test -z "$CC"; then
11168 # Extract the first word of "cc", so it can be a program name with args.
11169 set dummy cc; ac_word=$2
11170 echo "$as_me:$LINENO: checking for $ac_word" >&5
11171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11172 if test "${ac_cv_prog_CC+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11174 else
11175 if test -n "$CC"; then
11176 ac_cv_prog_CC="$CC" # Let the user override the test.
11177 else
11178 ac_prog_rejected=no
11179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11180 for as_dir in $PATH
11181 do
11182 IFS=$as_save_IFS
11183 test -z "$as_dir" && as_dir=.
11184 for ac_exec_ext in '' $ac_executable_extensions; do
11185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11186 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11187 ac_prog_rejected=yes
11188 continue
11189 fi
11190 ac_cv_prog_CC="cc"
11191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11192 break 2
11193 fi
11194 done
11195 done
11196
11197 if test $ac_prog_rejected = yes; then
11198 # We found a bogon in the path, so make sure we never use it.
11199 set dummy $ac_cv_prog_CC
11200 shift
11201 if test $# != 0; then
11202 # We chose a different compiler from the bogus one.
11203 # However, it has the same basename, so the bogon will be chosen
11204 # first if we set CC to just the basename; use the full file name.
11205 shift
11206 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11207 fi
11208 fi
11209 fi
11210 fi
11211 CC=$ac_cv_prog_CC
11212 if test -n "$CC"; then
11213 echo "$as_me:$LINENO: result: $CC" >&5
11214 echo "${ECHO_T}$CC" >&6
11215 else
11216 echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6
11218 fi
11219
11220 fi
11221 if test -z "$CC"; then
11222 if test -n "$ac_tool_prefix"; then
11223 for ac_prog in cl
11224 do
11225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11227 echo "$as_me:$LINENO: checking for $ac_word" >&5
11228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11229 if test "${ac_cv_prog_CC+set}" = set; then
11230 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 else
11232 if test -n "$CC"; then
11233 ac_cv_prog_CC="$CC" # Let the user override the test.
11234 else
11235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11236 for as_dir in $PATH
11237 do
11238 IFS=$as_save_IFS
11239 test -z "$as_dir" && as_dir=.
11240 for ac_exec_ext in '' $ac_executable_extensions; do
11241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11244 break 2
11245 fi
11246 done
11247 done
11248
11249 fi
11250 fi
11251 CC=$ac_cv_prog_CC
11252 if test -n "$CC"; then
11253 echo "$as_me:$LINENO: result: $CC" >&5
11254 echo "${ECHO_T}$CC" >&6
11255 else
11256 echo "$as_me:$LINENO: result: no" >&5
11257 echo "${ECHO_T}no" >&6
11258 fi
11259
11260 test -n "$CC" && break
11261 done
11262 fi
11263 if test -z "$CC"; then
11264 ac_ct_CC=$CC
11265 for ac_prog in cl
11266 do
11267 # Extract the first word of "$ac_prog", so it can be a program name with args.
11268 set dummy $ac_prog; ac_word=$2
11269 echo "$as_me:$LINENO: checking for $ac_word" >&5
11270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274 if test -n "$ac_ct_CC"; then
11275 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11276 else
11277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11278 for as_dir in $PATH
11279 do
11280 IFS=$as_save_IFS
11281 test -z "$as_dir" && as_dir=.
11282 for ac_exec_ext in '' $ac_executable_extensions; do
11283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11284 ac_cv_prog_ac_ct_CC="$ac_prog"
11285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11286 break 2
11287 fi
11288 done
11289 done
11290
11291 fi
11292 fi
11293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11294 if test -n "$ac_ct_CC"; then
11295 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11296 echo "${ECHO_T}$ac_ct_CC" >&6
11297 else
11298 echo "$as_me:$LINENO: result: no" >&5
11299 echo "${ECHO_T}no" >&6
11300 fi
11301
11302 test -n "$ac_ct_CC" && break
11303 done
11304
11305 CC=$ac_ct_CC
11306 fi
11307
11308 fi
11309
11310
11311 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11312 See \`config.log' for more details." >&5
11313 echo "$as_me: error: no acceptable C compiler found in \$PATH
11314 See \`config.log' for more details." >&2;}
11315 { (exit 1); exit 1; }; }
11316
11317 # Provide some information about the compiler.
11318 echo "$as_me:$LINENO:" \
11319 "checking for C compiler version" >&5
11320 ac_compiler=`set X $ac_compile; echo $2`
11321 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11322 (eval $ac_compiler --version </dev/null >&5) 2>&5
11323 ac_status=$?
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); }
11326 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11327 (eval $ac_compiler -v </dev/null >&5) 2>&5
11328 ac_status=$?
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }
11331 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11332 (eval $ac_compiler -V </dev/null >&5) 2>&5
11333 ac_status=$?
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); }
11336
11337 cat >conftest.$ac_ext <<_ACEOF
11338 /* confdefs.h. */
11339 _ACEOF
11340 cat confdefs.h >>conftest.$ac_ext
11341 cat >>conftest.$ac_ext <<_ACEOF
11342 /* end confdefs.h. */
11343
11344 int
11345 main ()
11346 {
11347
11348 ;
11349 return 0;
11350 }
11351 _ACEOF
11352 ac_clean_files_save=$ac_clean_files
11353 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11354 # Try to create an executable without -o first, disregard a.out.
11355 # It will help us diagnose broken compilers, and finding out an intuition
11356 # of exeext.
11357 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11358 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11359 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11360 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11361 (eval $ac_link_default) 2>&5
11362 ac_status=$?
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); }; then
11365 # Find the output, starting from the most likely. This scheme is
11366 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11367 # resort.
11368
11369 # Be careful to initialize this variable, since it used to be cached.
11370 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11371 ac_cv_exeext=
11372 # b.out is created by i960 compilers.
11373 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11374 do
11375 test -f "$ac_file" || continue
11376 case $ac_file in
11377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11378 ;;
11379 conftest.$ac_ext )
11380 # This is the source file.
11381 ;;
11382 [ab].out )
11383 # We found the default executable, but exeext='' is most
11384 # certainly right.
11385 break;;
11386 *.* )
11387 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11388 # FIXME: I believe we export ac_cv_exeext for Libtool,
11389 # but it would be cool to find out if it's true. Does anybody
11390 # maintain Libtool? --akim.
11391 export ac_cv_exeext
11392 break;;
11393 * )
11394 break;;
11395 esac
11396 done
11397 else
11398 echo "$as_me: failed program was:" >&5
11399 sed 's/^/| /' conftest.$ac_ext >&5
11400
11401 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11402 See \`config.log' for more details." >&5
11403 echo "$as_me: error: C compiler cannot create executables
11404 See \`config.log' for more details." >&2;}
11405 { (exit 77); exit 77; }; }
11406 fi
11407
11408 ac_exeext=$ac_cv_exeext
11409 echo "$as_me:$LINENO: result: $ac_file" >&5
11410 echo "${ECHO_T}$ac_file" >&6
11411
11412 # Check the compiler produces executables we can run. If not, either
11413 # the compiler is broken, or we cross compile.
11414 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11415 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11416 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11417 # If not cross compiling, check that we can run a simple program.
11418 if test "$cross_compiling" != yes; then
11419 if { ac_try='./$ac_file'
11420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11421 (eval $ac_try) 2>&5
11422 ac_status=$?
11423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11424 (exit $ac_status); }; }; then
11425 cross_compiling=no
11426 else
11427 if test "$cross_compiling" = maybe; then
11428 cross_compiling=yes
11429 else
11430 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11431 If you meant to cross compile, use \`--host'.
11432 See \`config.log' for more details." >&5
11433 echo "$as_me: error: cannot run C compiled programs.
11434 If you meant to cross compile, use \`--host'.
11435 See \`config.log' for more details." >&2;}
11436 { (exit 1); exit 1; }; }
11437 fi
11438 fi
11439 fi
11440 echo "$as_me:$LINENO: result: yes" >&5
11441 echo "${ECHO_T}yes" >&6
11442
11443 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11444 ac_clean_files=$ac_clean_files_save
11445 # Check the compiler produces executables we can run. If not, either
11446 # the compiler is broken, or we cross compile.
11447 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11448 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11449 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11450 echo "${ECHO_T}$cross_compiling" >&6
11451
11452 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11453 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11455 (eval $ac_link) 2>&5
11456 ac_status=$?
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; then
11459 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11460 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11461 # work properly (i.e., refer to `conftest.exe'), while it won't with
11462 # `rm'.
11463 for ac_file in conftest.exe conftest conftest.*; do
11464 test -f "$ac_file" || continue
11465 case $ac_file in
11466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11467 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11468 export ac_cv_exeext
11469 break;;
11470 * ) break;;
11471 esac
11472 done
11473 else
11474 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11475 See \`config.log' for more details." >&5
11476 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11477 See \`config.log' for more details." >&2;}
11478 { (exit 1); exit 1; }; }
11479 fi
11480
11481 rm -f conftest$ac_cv_exeext
11482 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11483 echo "${ECHO_T}$ac_cv_exeext" >&6
11484
11485 rm -f conftest.$ac_ext
11486 EXEEXT=$ac_cv_exeext
11487 ac_exeext=$EXEEXT
11488 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11489 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11490 if test "${ac_cv_objext+set}" = set; then
11491 echo $ECHO_N "(cached) $ECHO_C" >&6
11492 else
11493 cat >conftest.$ac_ext <<_ACEOF
11494 /* confdefs.h. */
11495 _ACEOF
11496 cat confdefs.h >>conftest.$ac_ext
11497 cat >>conftest.$ac_ext <<_ACEOF
11498 /* end confdefs.h. */
11499
11500 int
11501 main ()
11502 {
11503
11504 ;
11505 return 0;
11506 }
11507 _ACEOF
11508 rm -f conftest.o conftest.obj
11509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11510 (eval $ac_compile) 2>&5
11511 ac_status=$?
11512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513 (exit $ac_status); }; then
11514 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
11515 case $ac_file in
11516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
11517 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
11518 break;;
11519 esac
11520 done
11521 else
11522 echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.$ac_ext >&5
11524
11525 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
11526 See \`config.log' for more details." >&5
11527 echo "$as_me: error: cannot compute suffix of object files: cannot compile
11528 See \`config.log' for more details." >&2;}
11529 { (exit 1); exit 1; }; }
11530 fi
11531
11532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
11533 fi
11534 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
11535 echo "${ECHO_T}$ac_cv_objext" >&6
11536 OBJEXT=$ac_cv_objext
11537 ac_objext=$OBJEXT
11538 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11539 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11540 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11541 echo $ECHO_N "(cached) $ECHO_C" >&6
11542 else
11543 cat >conftest.$ac_ext <<_ACEOF
11544 /* confdefs.h. */
11545 _ACEOF
11546 cat confdefs.h >>conftest.$ac_ext
11547 cat >>conftest.$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11549
11550 int
11551 main ()
11552 {
11553 #ifndef __GNUC__
11554 choke me
11555 #endif
11556
11557 ;
11558 return 0;
11559 }
11560 _ACEOF
11561 rm -f conftest.$ac_objext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11563 (eval $ac_compile) 2>conftest.er1
11564 ac_status=$?
11565 grep -v '^ *+' conftest.er1 >conftest.err
11566 rm -f conftest.er1
11567 cat conftest.err >&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); } &&
11570 { ac_try='test -z "$ac_c_werror_flag"
11571 || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 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 ac_compiler_gnu=yes
11584 else
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.$ac_ext >&5
11587
11588 ac_compiler_gnu=no
11589 fi
11590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11591 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11592
11593 fi
11594 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11595 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11596 GCC=`test $ac_compiler_gnu = yes && echo yes`
11597 ac_test_CFLAGS=${CFLAGS+set}
11598 ac_save_CFLAGS=$CFLAGS
11599 CFLAGS="-g"
11600 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11601 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11602 if test "${ac_cv_prog_cc_g+set}" = set; then
11603 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 else
11605 cat >conftest.$ac_ext <<_ACEOF
11606 /* confdefs.h. */
11607 _ACEOF
11608 cat confdefs.h >>conftest.$ac_ext
11609 cat >>conftest.$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11611
11612 int
11613 main ()
11614 {
11615
11616 ;
11617 return 0;
11618 }
11619 _ACEOF
11620 rm -f conftest.$ac_objext
11621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11622 (eval $ac_compile) 2>conftest.er1
11623 ac_status=$?
11624 grep -v '^ *+' conftest.er1 >conftest.err
11625 rm -f conftest.er1
11626 cat conftest.err >&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); } &&
11629 { ac_try='test -z "$ac_c_werror_flag"
11630 || test ! -s conftest.err'
11631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11632 (eval $ac_try) 2>&5
11633 ac_status=$?
11634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11635 (exit $ac_status); }; } &&
11636 { ac_try='test -s conftest.$ac_objext'
11637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11638 (eval $ac_try) 2>&5
11639 ac_status=$?
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; }; then
11642 ac_cv_prog_cc_g=yes
11643 else
11644 echo "$as_me: failed program was:" >&5
11645 sed 's/^/| /' conftest.$ac_ext >&5
11646
11647 ac_cv_prog_cc_g=no
11648 fi
11649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11650 fi
11651 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
11652 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
11653 if test "$ac_test_CFLAGS" = set; then
11654 CFLAGS=$ac_save_CFLAGS
11655 elif test $ac_cv_prog_cc_g = yes; then
11656 if test "$GCC" = yes; then
11657 CFLAGS="-g -O2"
11658 else
11659 CFLAGS="-g"
11660 fi
11661 else
11662 if test "$GCC" = yes; then
11663 CFLAGS="-O2"
11664 else
11665 CFLAGS=
11666 fi
11667 fi
11668 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
11669 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
11670 if test "${ac_cv_prog_cc_stdc+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 else
11673 ac_cv_prog_cc_stdc=no
11674 ac_save_CC=$CC
11675 cat >conftest.$ac_ext <<_ACEOF
11676 /* confdefs.h. */
11677 _ACEOF
11678 cat confdefs.h >>conftest.$ac_ext
11679 cat >>conftest.$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 #include <stdarg.h>
11682 #include <stdio.h>
11683 #include <sys/types.h>
11684 #include <sys/stat.h>
11685 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11686 struct buf { int x; };
11687 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11688 static char *e (p, i)
11689 char **p;
11690 int i;
11691 {
11692 return p[i];
11693 }
11694 static char *f (char * (*g) (char **, int), char **p, ...)
11695 {
11696 char *s;
11697 va_list v;
11698 va_start (v,p);
11699 s = g (p, va_arg (v,int));
11700 va_end (v);
11701 return s;
11702 }
11703
11704 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11705 function prototypes and stuff, but not '\xHH' hex character constants.
11706 These don't provoke an error unfortunately, instead are silently treated
11707 as 'x'. The following induces an error, until -std1 is added to get
11708 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11709 array size at least. It's necessary to write '\x00'==0 to get something
11710 that's true only with -std1. */
11711 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11712
11713 int test (int i, double x);
11714 struct s1 {int (*f) (int a);};
11715 struct s2 {int (*f) (double a);};
11716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11717 int argc;
11718 char **argv;
11719 int
11720 main ()
11721 {
11722 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11723 ;
11724 return 0;
11725 }
11726 _ACEOF
11727 # Don't try gcc -ansi; that turns off useful extensions and
11728 # breaks some systems' header files.
11729 # AIX -qlanglvl=ansi
11730 # Ultrix and OSF/1 -std1
11731 # HP-UX 10.20 and later -Ae
11732 # HP-UX older versions -Aa -D_HPUX_SOURCE
11733 # SVR4 -Xc -D__EXTENSIONS__
11734 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11735 do
11736 CC="$ac_save_CC $ac_arg"
11737 rm -f conftest.$ac_objext
11738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11739 (eval $ac_compile) 2>conftest.er1
11740 ac_status=$?
11741 grep -v '^ *+' conftest.er1 >conftest.err
11742 rm -f conftest.er1
11743 cat conftest.err >&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } &&
11746 { ac_try='test -z "$ac_c_werror_flag"
11747 || test ! -s conftest.err'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11750 ac_status=$?
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; } &&
11753 { ac_try='test -s conftest.$ac_objext'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11756 ac_status=$?
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; }; then
11759 ac_cv_prog_cc_stdc=$ac_arg
11760 break
11761 else
11762 echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.$ac_ext >&5
11764
11765 fi
11766 rm -f conftest.err conftest.$ac_objext
11767 done
11768 rm -f conftest.$ac_ext conftest.$ac_objext
11769 CC=$ac_save_CC
11770
11771 fi
11772
11773 case "x$ac_cv_prog_cc_stdc" in
11774 x|xno)
11775 echo "$as_me:$LINENO: result: none needed" >&5
11776 echo "${ECHO_T}none needed" >&6 ;;
11777 *)
11778 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
11779 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
11780 CC="$CC $ac_cv_prog_cc_stdc" ;;
11781 esac
11782
11783 # Some people use a C++ compiler to compile C. Since we use `exit',
11784 # in C++ we need to declare it. In case someone uses the same compiler
11785 # for both compiling C and C++ we need to have the C++ compiler decide
11786 # the declaration of exit, since it's the most demanding environment.
11787 cat >conftest.$ac_ext <<_ACEOF
11788 #ifndef __cplusplus
11789 choke me
11790 #endif
11791 _ACEOF
11792 rm -f conftest.$ac_objext
11793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11794 (eval $ac_compile) 2>conftest.er1
11795 ac_status=$?
11796 grep -v '^ *+' conftest.er1 >conftest.err
11797 rm -f conftest.er1
11798 cat conftest.err >&5
11799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11800 (exit $ac_status); } &&
11801 { ac_try='test -z "$ac_c_werror_flag"
11802 || test ! -s conftest.err'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; } &&
11808 { ac_try='test -s conftest.$ac_objext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11811 ac_status=$?
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 for ac_declaration in \
11815 '' \
11816 'extern "C" void std::exit (int) throw (); using std::exit;' \
11817 'extern "C" void std::exit (int); using std::exit;' \
11818 'extern "C" void exit (int) throw ();' \
11819 'extern "C" void exit (int);' \
11820 'void exit (int);'
11821 do
11822 cat >conftest.$ac_ext <<_ACEOF
11823 /* confdefs.h. */
11824 _ACEOF
11825 cat confdefs.h >>conftest.$ac_ext
11826 cat >>conftest.$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11828 $ac_declaration
11829 #include <stdlib.h>
11830 int
11831 main ()
11832 {
11833 exit (42);
11834 ;
11835 return 0;
11836 }
11837 _ACEOF
11838 rm -f conftest.$ac_objext
11839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11840 (eval $ac_compile) 2>conftest.er1
11841 ac_status=$?
11842 grep -v '^ *+' conftest.er1 >conftest.err
11843 rm -f conftest.er1
11844 cat conftest.err >&5
11845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11846 (exit $ac_status); } &&
11847 { ac_try='test -z "$ac_c_werror_flag"
11848 || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11851 ac_status=$?
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11857 ac_status=$?
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 :
11861 else
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.$ac_ext >&5
11864
11865 continue
11866 fi
11867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11868 cat >conftest.$ac_ext <<_ACEOF
11869 /* confdefs.h. */
11870 _ACEOF
11871 cat confdefs.h >>conftest.$ac_ext
11872 cat >>conftest.$ac_ext <<_ACEOF
11873 /* end confdefs.h. */
11874 $ac_declaration
11875 int
11876 main ()
11877 {
11878 exit (42);
11879 ;
11880 return 0;
11881 }
11882 _ACEOF
11883 rm -f conftest.$ac_objext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11885 (eval $ac_compile) 2>conftest.er1
11886 ac_status=$?
11887 grep -v '^ *+' conftest.er1 >conftest.err
11888 rm -f conftest.er1
11889 cat conftest.err >&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); } &&
11892 { ac_try='test -z "$ac_c_werror_flag"
11893 || test ! -s conftest.err'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11896 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; } &&
11899 { ac_try='test -s conftest.$ac_objext'
11900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901 (eval $ac_try) 2>&5
11902 ac_status=$?
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); }; }; then
11905 break
11906 else
11907 echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.$ac_ext >&5
11909
11910 fi
11911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11912 done
11913 rm -f conftest*
11914 if test -n "$ac_declaration"; then
11915 echo '#ifdef __cplusplus' >>confdefs.h
11916 echo $ac_declaration >>confdefs.h
11917 echo '#endif' >>confdefs.h
11918 fi
11919
11920 else
11921 echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11923
11924 fi
11925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11931
11932
11933
11934 ac_ext=c
11935 ac_cpp='$CPP $CPPFLAGS'
11936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11939
11940 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
11941 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
11942 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 else
11945 cat >conftest.$ac_ext <<_ACEOF
11946 /* confdefs.h. */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11951
11952 int
11953 main ()
11954 {
11955
11956 #ifndef __INTEL_COMPILER
11957 choke me
11958 #endif
11959
11960 ;
11961 return 0;
11962 }
11963 _ACEOF
11964 rm -f conftest.$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966 (eval $ac_compile) 2>conftest.er1
11967 ac_status=$?
11968 grep -v '^ *+' conftest.er1 >conftest.err
11969 rm -f conftest.er1
11970 cat conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try='test -z "$ac_c_werror_flag"
11974 || test ! -s conftest.err'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; } &&
11980 { ac_try='test -s conftest.$ac_objext'
11981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982 (eval $ac_try) 2>&5
11983 ac_status=$?
11984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985 (exit $ac_status); }; }; then
11986 bakefile_cv_c_compiler___INTEL_COMPILER=yes
11987 else
11988 echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11990
11991 bakefile_cv_c_compiler___INTEL_COMPILER=no
11992
11993 fi
11994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11995
11996
11997 fi
11998 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
11999 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12000 ac_ext=c
12001 ac_cpp='$CPP $CPPFLAGS'
12002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12005
12006 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12007 :; INTELCC=yes
12008 else
12009 :;
12010 fi
12011
12012
12013 if test "x$GCC" != "xyes"; then
12014 if test "xCC" = "xC"; then
12015 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12016 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12017 if test "${bakefile_cv_c_exto+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12019 else
12020 cat >conftest.$ac_ext <<_ACEOF
12021 /* confdefs.h. */
12022 _ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12026
12027 int
12028 main ()
12029 {
12030
12031 ;
12032 return 0;
12033 }
12034 _ACEOF
12035 rm -f conftest.$ac_objext conftest.$ac_ext.o
12036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12037 (eval $ac_compile) 2>&5
12038 ac_status=$?
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; then
12041 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12042 case $ac_file in
12043 conftest.$ac_ext.o)
12044 bakefile_cv_c_exto="-ext o"
12045 ;;
12046 *)
12047 ;;
12048 esac
12049 done
12050 else
12051 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12052 See \`config.log' for more details." >&5
12053 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12054 See \`config.log' for more details." >&2;}
12055 { (exit 1); exit 1; }; }
12056
12057 fi
12058
12059 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12060
12061 fi
12062 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12063 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12064 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12065 if test "c" = "c"; then
12066 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12067 fi
12068 if test "c" = "cxx"; then
12069 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12070 fi
12071 fi
12072
12073 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12074 unset ac_cv_prog_cc_g
12075 ac_test_CFLAGS=${CFLAGS+set}
12076 ac_save_CFLAGS=$CFLAGS
12077 CFLAGS="-g"
12078 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12079 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12080 if test "${ac_cv_prog_cc_g+set}" = set; then
12081 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 else
12083 cat >conftest.$ac_ext <<_ACEOF
12084 /* confdefs.h. */
12085 _ACEOF
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12089
12090 int
12091 main ()
12092 {
12093
12094 ;
12095 return 0;
12096 }
12097 _ACEOF
12098 rm -f conftest.$ac_objext
12099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12100 (eval $ac_compile) 2>conftest.er1
12101 ac_status=$?
12102 grep -v '^ *+' conftest.er1 >conftest.err
12103 rm -f conftest.er1
12104 cat conftest.err >&5
12105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12106 (exit $ac_status); } &&
12107 { ac_try='test -z "$ac_c_werror_flag"
12108 || test ! -s conftest.err'
12109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12110 (eval $ac_try) 2>&5
12111 ac_status=$?
12112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); }; } &&
12114 { ac_try='test -s conftest.$ac_objext'
12115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12116 (eval $ac_try) 2>&5
12117 ac_status=$?
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); }; }; then
12120 ac_cv_prog_cc_g=yes
12121 else
12122 echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.$ac_ext >&5
12124
12125 ac_cv_prog_cc_g=no
12126 fi
12127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12128 fi
12129 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12130 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12131 if test "$ac_test_CFLAGS" = set; then
12132 CFLAGS=$ac_save_CFLAGS
12133 elif test $ac_cv_prog_cc_g = yes; then
12134 if test "$GCC" = yes; then
12135 CFLAGS="-g -O2"
12136 else
12137 CFLAGS="-g"
12138 fi
12139 else
12140 if test "$GCC" = yes; then
12141 CFLAGS="-O2"
12142 else
12143 CFLAGS=
12144 fi
12145 fi
12146 fi
12147 fi
12148
12149 case `uname -s` in
12150 AIX*)
12151 ac_ext=c
12152 ac_cpp='$CPP $CPPFLAGS'
12153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12156
12157 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12158 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12159 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12161 else
12162 cat >conftest.$ac_ext <<_ACEOF
12163 /* confdefs.h. */
12164 _ACEOF
12165 cat confdefs.h >>conftest.$ac_ext
12166 cat >>conftest.$ac_ext <<_ACEOF
12167 /* end confdefs.h. */
12168
12169 int
12170 main ()
12171 {
12172 #ifndef __xlC__
12173 choke me
12174 #endif
12175
12176 ;
12177 return 0;
12178 }
12179 _ACEOF
12180 rm -f conftest.$ac_objext
12181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12182 (eval $ac_compile) 2>conftest.er1
12183 ac_status=$?
12184 grep -v '^ *+' conftest.er1 >conftest.err
12185 rm -f conftest.er1
12186 cat conftest.err >&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try='test -z "$ac_c_werror_flag"
12190 || test ! -s conftest.err'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12193 ac_status=$?
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; } &&
12196 { ac_try='test -s conftest.$ac_objext'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12199 ac_status=$?
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; }; then
12202 bakefile_compiler_xlc=yes
12203 else
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.$ac_ext >&5
12206
12207 bakefile_compiler_xlc=no
12208 fi
12209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12210 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12211
12212 fi
12213 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12214 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12215
12216 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12217 ac_ext=c
12218 ac_cpp='$CPP $CPPFLAGS'
12219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12222
12223
12224 ;;
12225
12226 Darwin)
12227 ac_ext=c
12228 ac_cpp='$CPP $CPPFLAGS'
12229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12232
12233 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12234 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12235 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 else
12238 cat >conftest.$ac_ext <<_ACEOF
12239 /* confdefs.h. */
12240 _ACEOF
12241 cat confdefs.h >>conftest.$ac_ext
12242 cat >>conftest.$ac_ext <<_ACEOF
12243 /* end confdefs.h. */
12244
12245 int
12246 main ()
12247 {
12248 #ifndef __MWERKS__
12249 choke me
12250 #endif
12251
12252 ;
12253 return 0;
12254 }
12255 _ACEOF
12256 rm -f conftest.$ac_objext
12257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12258 (eval $ac_compile) 2>conftest.er1
12259 ac_status=$?
12260 grep -v '^ *+' conftest.er1 >conftest.err
12261 rm -f conftest.er1
12262 cat conftest.err >&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); } &&
12265 { ac_try='test -z "$ac_c_werror_flag"
12266 || test ! -s conftest.err'
12267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12268 (eval $ac_try) 2>&5
12269 ac_status=$?
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); }; } &&
12272 { ac_try='test -s conftest.$ac_objext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12275 ac_status=$?
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 bakefile_compiler_mwerks=yes
12279 else
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12282
12283 bakefile_compiler_mwerks=no
12284 fi
12285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12286 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12287
12288 fi
12289 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12290 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12291
12292 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12293 ac_ext=c
12294 ac_cpp='$CPP $CPPFLAGS'
12295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12298
12299
12300 ac_ext=c
12301 ac_cpp='$CPP $CPPFLAGS'
12302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12305
12306 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12307 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12308 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12309 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 else
12311 cat >conftest.$ac_ext <<_ACEOF
12312 /* confdefs.h. */
12313 _ACEOF
12314 cat confdefs.h >>conftest.$ac_ext
12315 cat >>conftest.$ac_ext <<_ACEOF
12316 /* end confdefs.h. */
12317
12318 int
12319 main ()
12320 {
12321 #ifndef __xlC__
12322 choke me
12323 #endif
12324
12325 ;
12326 return 0;
12327 }
12328 _ACEOF
12329 rm -f conftest.$ac_objext
12330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12331 (eval $ac_compile) 2>conftest.er1
12332 ac_status=$?
12333 grep -v '^ *+' conftest.er1 >conftest.err
12334 rm -f conftest.er1
12335 cat conftest.err >&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); } &&
12338 { ac_try='test -z "$ac_c_werror_flag"
12339 || test ! -s conftest.err'
12340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12341 (eval $ac_try) 2>&5
12342 ac_status=$?
12343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); }; } &&
12345 { ac_try='test -s conftest.$ac_objext'
12346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12347 (eval $ac_try) 2>&5
12348 ac_status=$?
12349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12350 (exit $ac_status); }; }; then
12351 bakefile_compiler_xlc=yes
12352 else
12353 echo "$as_me: failed program was:" >&5
12354 sed 's/^/| /' conftest.$ac_ext >&5
12355
12356 bakefile_compiler_xlc=no
12357 fi
12358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12359 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12360
12361 fi
12362 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12363 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12364
12365 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12366 ac_ext=c
12367 ac_cpp='$CPP $CPPFLAGS'
12368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12371
12372
12373 ;;
12374
12375 IRIX*)
12376
12377
12378 ac_ext=c
12379 ac_cpp='$CPP $CPPFLAGS'
12380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12383
12384 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12385 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12386 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12387 echo $ECHO_N "(cached) $ECHO_C" >&6
12388 else
12389 cat >conftest.$ac_ext <<_ACEOF
12390 /* confdefs.h. */
12391 _ACEOF
12392 cat confdefs.h >>conftest.$ac_ext
12393 cat >>conftest.$ac_ext <<_ACEOF
12394 /* end confdefs.h. */
12395
12396 int
12397 main ()
12398 {
12399
12400 #ifndef _SGI_COMPILER_VERSION
12401 choke me
12402 #endif
12403
12404 ;
12405 return 0;
12406 }
12407 _ACEOF
12408 rm -f conftest.$ac_objext
12409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12410 (eval $ac_compile) 2>conftest.er1
12411 ac_status=$?
12412 grep -v '^ *+' conftest.er1 >conftest.err
12413 rm -f conftest.er1
12414 cat conftest.err >&5
12415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416 (exit $ac_status); } &&
12417 { ac_try='test -z "$ac_c_werror_flag"
12418 || test ! -s conftest.err'
12419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12420 (eval $ac_try) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; } &&
12424 { ac_try='test -s conftest.$ac_objext'
12425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12426 (eval $ac_try) 2>&5
12427 ac_status=$?
12428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); }; }; then
12430 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12431 else
12432 echo "$as_me: failed program was:" >&5
12433 sed 's/^/| /' conftest.$ac_ext >&5
12434
12435 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12436
12437 fi
12438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12439
12440
12441 fi
12442 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12443 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
12444 ac_ext=c
12445 ac_cpp='$CPP $CPPFLAGS'
12446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12449
12450 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12451 :; SGICC=yes
12452 else
12453 :;
12454 fi
12455
12456
12457 ;;
12458
12459 HP-UX*)
12460
12461
12462 ac_ext=c
12463 ac_cpp='$CPP $CPPFLAGS'
12464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12467
12468 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12469 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12470 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 else
12473 cat >conftest.$ac_ext <<_ACEOF
12474 /* confdefs.h. */
12475 _ACEOF
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479
12480 int
12481 main ()
12482 {
12483
12484 #ifndef __HP_cc
12485 choke me
12486 #endif
12487
12488 ;
12489 return 0;
12490 }
12491 _ACEOF
12492 rm -f conftest.$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>conftest.er1
12495 ac_status=$?
12496 grep -v '^ *+' conftest.er1 >conftest.err
12497 rm -f conftest.er1
12498 cat conftest.err >&5
12499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12500 (exit $ac_status); } &&
12501 { ac_try='test -z "$ac_c_werror_flag"
12502 || test ! -s conftest.err'
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); }; } &&
12508 { ac_try='test -s conftest.$ac_objext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12511 ac_status=$?
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 bakefile_cv_c_compiler___HP_cc=yes
12515 else
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12518
12519 bakefile_cv_c_compiler___HP_cc=no
12520
12521 fi
12522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12523
12524
12525 fi
12526 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
12527 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
12528 ac_ext=c
12529 ac_cpp='$CPP $CPPFLAGS'
12530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12533
12534 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
12535 :; HPCC=yes
12536 else
12537 :;
12538 fi
12539
12540
12541 ;;
12542
12543 OSF1)
12544
12545
12546 ac_ext=c
12547 ac_cpp='$CPP $CPPFLAGS'
12548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12551
12552 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
12553 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
12554 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12556 else
12557 cat >conftest.$ac_ext <<_ACEOF
12558 /* confdefs.h. */
12559 _ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12563
12564 int
12565 main ()
12566 {
12567
12568 #ifndef __DECC
12569 choke me
12570 #endif
12571
12572 ;
12573 return 0;
12574 }
12575 _ACEOF
12576 rm -f conftest.$ac_objext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12578 (eval $ac_compile) 2>conftest.er1
12579 ac_status=$?
12580 grep -v '^ *+' conftest.er1 >conftest.err
12581 rm -f conftest.er1
12582 cat conftest.err >&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try='test -z "$ac_c_werror_flag"
12586 || test ! -s conftest.err'
12587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12588 (eval $ac_try) 2>&5
12589 ac_status=$?
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; } &&
12592 { ac_try='test -s conftest.$ac_objext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12595 ac_status=$?
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 bakefile_cv_c_compiler___DECC=yes
12599 else
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.$ac_ext >&5
12602
12603 bakefile_cv_c_compiler___DECC=no
12604
12605 fi
12606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12607
12608
12609 fi
12610 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
12611 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
12612 ac_ext=c
12613 ac_cpp='$CPP $CPPFLAGS'
12614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12617
12618 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
12619 :; COMPAQCC=yes
12620 else
12621 :;
12622 fi
12623
12624
12625 ;;
12626
12627 SunOS)
12628
12629
12630 ac_ext=c
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12635
12636 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
12637 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
12638 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640 else
12641 cat >conftest.$ac_ext <<_ACEOF
12642 /* confdefs.h. */
12643 _ACEOF
12644 cat confdefs.h >>conftest.$ac_ext
12645 cat >>conftest.$ac_ext <<_ACEOF
12646 /* end confdefs.h. */
12647
12648 int
12649 main ()
12650 {
12651
12652 #ifndef __SUNPRO_C
12653 choke me
12654 #endif
12655
12656 ;
12657 return 0;
12658 }
12659 _ACEOF
12660 rm -f conftest.$ac_objext
12661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12662 (eval $ac_compile) 2>conftest.er1
12663 ac_status=$?
12664 grep -v '^ *+' conftest.er1 >conftest.err
12665 rm -f conftest.er1
12666 cat conftest.err >&5
12667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } &&
12669 { ac_try='test -z "$ac_c_werror_flag"
12670 || test ! -s conftest.err'
12671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12672 (eval $ac_try) 2>&5
12673 ac_status=$?
12674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675 (exit $ac_status); }; } &&
12676 { ac_try='test -s conftest.$ac_objext'
12677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12678 (eval $ac_try) 2>&5
12679 ac_status=$?
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 bakefile_cv_c_compiler___SUNPRO_C=yes
12683 else
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.$ac_ext >&5
12686
12687 bakefile_cv_c_compiler___SUNPRO_C=no
12688
12689 fi
12690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12691
12692
12693 fi
12694 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
12695 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
12696 ac_ext=c
12697 ac_cpp='$CPP $CPPFLAGS'
12698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12701
12702 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
12703 :; SUNCC=yes
12704 else
12705 :;
12706 fi
12707
12708
12709 ;;
12710 esac
12711 fi
12712
12713
12714
12715 ac_ext=c
12716 ac_cpp='$CPP $CPPFLAGS'
12717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12720 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
12721 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
12722 # On Suns, sometimes $CPP names a directory.
12723 if test -n "$CPP" && test -d "$CPP"; then
12724 CPP=
12725 fi
12726 if test -z "$CPP"; then
12727 if test "${ac_cv_prog_CPP+set}" = set; then
12728 echo $ECHO_N "(cached) $ECHO_C" >&6
12729 else
12730 # Double quotes because CPP needs to be expanded
12731 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
12732 do
12733 ac_preproc_ok=false
12734 for ac_c_preproc_warn_flag in '' yes
12735 do
12736 # Use a header file that comes with gcc, so configuring glibc
12737 # with a fresh cross-compiler works.
12738 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12739 # <limits.h> exists even on freestanding compilers.
12740 # On the NeXT, cc -E runs the code through the compiler's parser,
12741 # not just through cpp. "Syntax error" is here to catch this case.
12742 cat >conftest.$ac_ext <<_ACEOF
12743 /* confdefs.h. */
12744 _ACEOF
12745 cat confdefs.h >>conftest.$ac_ext
12746 cat >>conftest.$ac_ext <<_ACEOF
12747 /* end confdefs.h. */
12748 #ifdef __STDC__
12749 # include <limits.h>
12750 #else
12751 # include <assert.h>
12752 #endif
12753 Syntax error
12754 _ACEOF
12755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } >/dev/null; then
12763 if test -s conftest.err; then
12764 ac_cpp_err=$ac_c_preproc_warn_flag
12765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12766 else
12767 ac_cpp_err=
12768 fi
12769 else
12770 ac_cpp_err=yes
12771 fi
12772 if test -z "$ac_cpp_err"; then
12773 :
12774 else
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.$ac_ext >&5
12777
12778 # Broken: fails on valid input.
12779 continue
12780 fi
12781 rm -f conftest.err conftest.$ac_ext
12782
12783 # OK, works on sane cases. Now check whether non-existent headers
12784 # can be detected and how.
12785 cat >conftest.$ac_ext <<_ACEOF
12786 /* confdefs.h. */
12787 _ACEOF
12788 cat confdefs.h >>conftest.$ac_ext
12789 cat >>conftest.$ac_ext <<_ACEOF
12790 /* end confdefs.h. */
12791 #include <ac_nonexistent.h>
12792 _ACEOF
12793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12795 ac_status=$?
12796 grep -v '^ *+' conftest.er1 >conftest.err
12797 rm -f conftest.er1
12798 cat conftest.err >&5
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); } >/dev/null; then
12801 if test -s conftest.err; then
12802 ac_cpp_err=$ac_c_preproc_warn_flag
12803 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12804 else
12805 ac_cpp_err=
12806 fi
12807 else
12808 ac_cpp_err=yes
12809 fi
12810 if test -z "$ac_cpp_err"; then
12811 # Broken: success on invalid input.
12812 continue
12813 else
12814 echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.$ac_ext >&5
12816
12817 # Passes both tests.
12818 ac_preproc_ok=:
12819 break
12820 fi
12821 rm -f conftest.err conftest.$ac_ext
12822
12823 done
12824 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12825 rm -f conftest.err conftest.$ac_ext
12826 if $ac_preproc_ok; then
12827 break
12828 fi
12829
12830 done
12831 ac_cv_prog_CPP=$CPP
12832
12833 fi
12834 CPP=$ac_cv_prog_CPP
12835 else
12836 ac_cv_prog_CPP=$CPP
12837 fi
12838 echo "$as_me:$LINENO: result: $CPP" >&5
12839 echo "${ECHO_T}$CPP" >&6
12840 ac_preproc_ok=false
12841 for ac_c_preproc_warn_flag in '' yes
12842 do
12843 # Use a header file that comes with gcc, so configuring glibc
12844 # with a fresh cross-compiler works.
12845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12846 # <limits.h> exists even on freestanding compilers.
12847 # On the NeXT, cc -E runs the code through the compiler's parser,
12848 # not just through cpp. "Syntax error" is here to catch this case.
12849 cat >conftest.$ac_ext <<_ACEOF
12850 /* confdefs.h. */
12851 _ACEOF
12852 cat confdefs.h >>conftest.$ac_ext
12853 cat >>conftest.$ac_ext <<_ACEOF
12854 /* end confdefs.h. */
12855 #ifdef __STDC__
12856 # include <limits.h>
12857 #else
12858 # include <assert.h>
12859 #endif
12860 Syntax error
12861 _ACEOF
12862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12864 ac_status=$?
12865 grep -v '^ *+' conftest.er1 >conftest.err
12866 rm -f conftest.er1
12867 cat conftest.err >&5
12868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 (exit $ac_status); } >/dev/null; then
12870 if test -s conftest.err; then
12871 ac_cpp_err=$ac_c_preproc_warn_flag
12872 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12873 else
12874 ac_cpp_err=
12875 fi
12876 else
12877 ac_cpp_err=yes
12878 fi
12879 if test -z "$ac_cpp_err"; then
12880 :
12881 else
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 # Broken: fails on valid input.
12886 continue
12887 fi
12888 rm -f conftest.err conftest.$ac_ext
12889
12890 # OK, works on sane cases. Now check whether non-existent headers
12891 # can be detected and how.
12892 cat >conftest.$ac_ext <<_ACEOF
12893 /* confdefs.h. */
12894 _ACEOF
12895 cat confdefs.h >>conftest.$ac_ext
12896 cat >>conftest.$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 #include <ac_nonexistent.h>
12899 _ACEOF
12900 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12901 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12902 ac_status=$?
12903 grep -v '^ *+' conftest.er1 >conftest.err
12904 rm -f conftest.er1
12905 cat conftest.err >&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); } >/dev/null; then
12908 if test -s conftest.err; then
12909 ac_cpp_err=$ac_c_preproc_warn_flag
12910 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12911 else
12912 ac_cpp_err=
12913 fi
12914 else
12915 ac_cpp_err=yes
12916 fi
12917 if test -z "$ac_cpp_err"; then
12918 # Broken: success on invalid input.
12919 continue
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12923
12924 # Passes both tests.
12925 ac_preproc_ok=:
12926 break
12927 fi
12928 rm -f conftest.err conftest.$ac_ext
12929
12930 done
12931 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12932 rm -f conftest.err conftest.$ac_ext
12933 if $ac_preproc_ok; then
12934 :
12935 else
12936 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
12937 See \`config.log' for more details." >&5
12938 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
12939 See \`config.log' for more details." >&2;}
12940 { (exit 1); exit 1; }; }
12941 fi
12942
12943 ac_ext=c
12944 ac_cpp='$CPP $CPPFLAGS'
12945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12948
12949
12950 echo "$as_me:$LINENO: checking for egrep" >&5
12951 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
12952 if test "${ac_cv_prog_egrep+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 else
12955 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
12956 then ac_cv_prog_egrep='grep -E'
12957 else ac_cv_prog_egrep='egrep'
12958 fi
12959 fi
12960 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
12961 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
12962 EGREP=$ac_cv_prog_egrep
12963
12964
12965 if test $ac_cv_c_compiler_gnu = yes; then
12966 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
12967 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
12968 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12970 else
12971 ac_pattern="Autoconf.*'x'"
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <sgtty.h>
12979 Autoconf TIOCGETP
12980 _ACEOF
12981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12982 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12983 ac_cv_prog_gcc_traditional=yes
12984 else
12985 ac_cv_prog_gcc_traditional=no
12986 fi
12987 rm -f conftest*
12988
12989
12990 if test $ac_cv_prog_gcc_traditional = no; then
12991 cat >conftest.$ac_ext <<_ACEOF
12992 /* confdefs.h. */
12993 _ACEOF
12994 cat confdefs.h >>conftest.$ac_ext
12995 cat >>conftest.$ac_ext <<_ACEOF
12996 /* end confdefs.h. */
12997 #include <termio.h>
12998 Autoconf TCGETA
12999 _ACEOF
13000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13001 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13002 ac_cv_prog_gcc_traditional=yes
13003 fi
13004 rm -f conftest*
13005
13006 fi
13007 fi
13008 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13009 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13010 if test $ac_cv_prog_gcc_traditional = yes; then
13011 CC="$CC -traditional"
13012 fi
13013 fi
13014
13015
13016
13017
13018 ac_ext=cc
13019 ac_cpp='$CXXCPP $CPPFLAGS'
13020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13023
13024
13025 CXXFLAGS=${CXXFLAGS:=}
13026
13027
13028
13029 ac_ext=cc
13030 ac_cpp='$CXXCPP $CPPFLAGS'
13031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13034 if test -n "$ac_tool_prefix"; then
13035 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13036 do
13037 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13038 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13039 echo "$as_me:$LINENO: checking for $ac_word" >&5
13040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13041 if test "${ac_cv_prog_CXX+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 else
13044 if test -n "$CXX"; then
13045 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13046 else
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
13049 do
13050 IFS=$as_save_IFS
13051 test -z "$as_dir" && as_dir=.
13052 for ac_exec_ext in '' $ac_executable_extensions; do
13053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13054 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 break 2
13057 fi
13058 done
13059 done
13060
13061 fi
13062 fi
13063 CXX=$ac_cv_prog_CXX
13064 if test -n "$CXX"; then
13065 echo "$as_me:$LINENO: result: $CXX" >&5
13066 echo "${ECHO_T}$CXX" >&6
13067 else
13068 echo "$as_me:$LINENO: result: no" >&5
13069 echo "${ECHO_T}no" >&6
13070 fi
13071
13072 test -n "$CXX" && break
13073 done
13074 fi
13075 if test -z "$CXX"; then
13076 ac_ct_CXX=$CXX
13077 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13078 do
13079 # Extract the first word of "$ac_prog", so it can be a program name with args.
13080 set dummy $ac_prog; ac_word=$2
13081 echo "$as_me:$LINENO: checking for $ac_word" >&5
13082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13083 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13085 else
13086 if test -n "$ac_ct_CXX"; then
13087 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13088 else
13089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13090 for as_dir in $PATH
13091 do
13092 IFS=$as_save_IFS
13093 test -z "$as_dir" && as_dir=.
13094 for ac_exec_ext in '' $ac_executable_extensions; do
13095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13096 ac_cv_prog_ac_ct_CXX="$ac_prog"
13097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13098 break 2
13099 fi
13100 done
13101 done
13102
13103 fi
13104 fi
13105 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13106 if test -n "$ac_ct_CXX"; then
13107 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13108 echo "${ECHO_T}$ac_ct_CXX" >&6
13109 else
13110 echo "$as_me:$LINENO: result: no" >&5
13111 echo "${ECHO_T}no" >&6
13112 fi
13113
13114 test -n "$ac_ct_CXX" && break
13115 done
13116 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13117
13118 CXX=$ac_ct_CXX
13119 fi
13120
13121
13122 # Provide some information about the compiler.
13123 echo "$as_me:$LINENO:" \
13124 "checking for C++ compiler version" >&5
13125 ac_compiler=`set X $ac_compile; echo $2`
13126 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13127 (eval $ac_compiler --version </dev/null >&5) 2>&5
13128 ac_status=$?
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }
13131 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13132 (eval $ac_compiler -v </dev/null >&5) 2>&5
13133 ac_status=$?
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }
13136 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13137 (eval $ac_compiler -V </dev/null >&5) 2>&5
13138 ac_status=$?
13139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13140 (exit $ac_status); }
13141
13142 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13143 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13144 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13145 echo $ECHO_N "(cached) $ECHO_C" >&6
13146 else
13147 cat >conftest.$ac_ext <<_ACEOF
13148 /* confdefs.h. */
13149 _ACEOF
13150 cat confdefs.h >>conftest.$ac_ext
13151 cat >>conftest.$ac_ext <<_ACEOF
13152 /* end confdefs.h. */
13153
13154 int
13155 main ()
13156 {
13157 #ifndef __GNUC__
13158 choke me
13159 #endif
13160
13161 ;
13162 return 0;
13163 }
13164 _ACEOF
13165 rm -f conftest.$ac_objext
13166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13167 (eval $ac_compile) 2>conftest.er1
13168 ac_status=$?
13169 grep -v '^ *+' conftest.er1 >conftest.err
13170 rm -f conftest.er1
13171 cat conftest.err >&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); } &&
13174 { ac_try='test -z "$ac_cxx_werror_flag"
13175 || test ! -s conftest.err'
13176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13177 (eval $ac_try) 2>&5
13178 ac_status=$?
13179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13180 (exit $ac_status); }; } &&
13181 { ac_try='test -s conftest.$ac_objext'
13182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13183 (eval $ac_try) 2>&5
13184 ac_status=$?
13185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13186 (exit $ac_status); }; }; then
13187 ac_compiler_gnu=yes
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 ac_compiler_gnu=no
13193 fi
13194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13195 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13196
13197 fi
13198 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13199 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13200 GXX=`test $ac_compiler_gnu = yes && echo yes`
13201 ac_test_CXXFLAGS=${CXXFLAGS+set}
13202 ac_save_CXXFLAGS=$CXXFLAGS
13203 CXXFLAGS="-g"
13204 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13205 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13206 if test "${ac_cv_prog_cxx_g+set}" = set; then
13207 echo $ECHO_N "(cached) $ECHO_C" >&6
13208 else
13209 cat >conftest.$ac_ext <<_ACEOF
13210 /* confdefs.h. */
13211 _ACEOF
13212 cat confdefs.h >>conftest.$ac_ext
13213 cat >>conftest.$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13215
13216 int
13217 main ()
13218 {
13219
13220 ;
13221 return 0;
13222 }
13223 _ACEOF
13224 rm -f conftest.$ac_objext
13225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13226 (eval $ac_compile) 2>conftest.er1
13227 ac_status=$?
13228 grep -v '^ *+' conftest.er1 >conftest.err
13229 rm -f conftest.er1
13230 cat conftest.err >&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } &&
13233 { ac_try='test -z "$ac_cxx_werror_flag"
13234 || test ! -s conftest.err'
13235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13236 (eval $ac_try) 2>&5
13237 ac_status=$?
13238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13239 (exit $ac_status); }; } &&
13240 { ac_try='test -s conftest.$ac_objext'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13243 ac_status=$?
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; }; then
13246 ac_cv_prog_cxx_g=yes
13247 else
13248 echo "$as_me: failed program was:" >&5
13249 sed 's/^/| /' conftest.$ac_ext >&5
13250
13251 ac_cv_prog_cxx_g=no
13252 fi
13253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13254 fi
13255 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13256 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13257 if test "$ac_test_CXXFLAGS" = set; then
13258 CXXFLAGS=$ac_save_CXXFLAGS
13259 elif test $ac_cv_prog_cxx_g = yes; then
13260 if test "$GXX" = yes; then
13261 CXXFLAGS="-g -O2"
13262 else
13263 CXXFLAGS="-g"
13264 fi
13265 else
13266 if test "$GXX" = yes; then
13267 CXXFLAGS="-O2"
13268 else
13269 CXXFLAGS=
13270 fi
13271 fi
13272 for ac_declaration in \
13273 '' \
13274 'extern "C" void std::exit (int) throw (); using std::exit;' \
13275 'extern "C" void std::exit (int); using std::exit;' \
13276 'extern "C" void exit (int) throw ();' \
13277 'extern "C" void exit (int);' \
13278 'void exit (int);'
13279 do
13280 cat >conftest.$ac_ext <<_ACEOF
13281 /* confdefs.h. */
13282 _ACEOF
13283 cat confdefs.h >>conftest.$ac_ext
13284 cat >>conftest.$ac_ext <<_ACEOF
13285 /* end confdefs.h. */
13286 $ac_declaration
13287 #include <stdlib.h>
13288 int
13289 main ()
13290 {
13291 exit (42);
13292 ;
13293 return 0;
13294 }
13295 _ACEOF
13296 rm -f conftest.$ac_objext
13297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13298 (eval $ac_compile) 2>conftest.er1
13299 ac_status=$?
13300 grep -v '^ *+' conftest.er1 >conftest.err
13301 rm -f conftest.er1
13302 cat conftest.err >&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); } &&
13305 { ac_try='test -z "$ac_cxx_werror_flag"
13306 || test ! -s conftest.err'
13307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13308 (eval $ac_try) 2>&5
13309 ac_status=$?
13310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13311 (exit $ac_status); }; } &&
13312 { ac_try='test -s conftest.$ac_objext'
13313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13314 (eval $ac_try) 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; }; then
13318 :
13319 else
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.$ac_ext >&5
13322
13323 continue
13324 fi
13325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13326 cat >conftest.$ac_ext <<_ACEOF
13327 /* confdefs.h. */
13328 _ACEOF
13329 cat confdefs.h >>conftest.$ac_ext
13330 cat >>conftest.$ac_ext <<_ACEOF
13331 /* end confdefs.h. */
13332 $ac_declaration
13333 int
13334 main ()
13335 {
13336 exit (42);
13337 ;
13338 return 0;
13339 }
13340 _ACEOF
13341 rm -f conftest.$ac_objext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13343 (eval $ac_compile) 2>conftest.er1
13344 ac_status=$?
13345 grep -v '^ *+' conftest.er1 >conftest.err
13346 rm -f conftest.er1
13347 cat conftest.err >&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try='test -z "$ac_cxx_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13354 ac_status=$?
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try='test -s conftest.$ac_objext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13360 ac_status=$?
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 break
13364 else
13365 echo "$as_me: failed program was:" >&5
13366 sed 's/^/| /' conftest.$ac_ext >&5
13367
13368 fi
13369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13370 done
13371 rm -f conftest*
13372 if test -n "$ac_declaration"; then
13373 echo '#ifdef __cplusplus' >>confdefs.h
13374 echo $ac_declaration >>confdefs.h
13375 echo '#endif' >>confdefs.h
13376 fi
13377
13378 ac_ext=cc
13379 ac_cpp='$CXXCPP $CPPFLAGS'
13380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13383
13384
13385
13386 ac_ext=cc
13387 ac_cpp='$CXXCPP $CPPFLAGS'
13388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13391
13392 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13393 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13394 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13395 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 else
13397 cat >conftest.$ac_ext <<_ACEOF
13398 /* confdefs.h. */
13399 _ACEOF
13400 cat confdefs.h >>conftest.$ac_ext
13401 cat >>conftest.$ac_ext <<_ACEOF
13402 /* end confdefs.h. */
13403
13404 int
13405 main ()
13406 {
13407
13408 #ifndef __INTEL_COMPILER
13409 choke me
13410 #endif
13411
13412 ;
13413 return 0;
13414 }
13415 _ACEOF
13416 rm -f conftest.$ac_objext
13417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13418 (eval $ac_compile) 2>conftest.er1
13419 ac_status=$?
13420 grep -v '^ *+' conftest.er1 >conftest.err
13421 rm -f conftest.er1
13422 cat conftest.err >&5
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); } &&
13425 { ac_try='test -z "$ac_cxx_werror_flag"
13426 || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13444
13445 fi
13446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13447
13448
13449 fi
13450 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13451 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13452 ac_ext=cc
13453 ac_cpp='$CXXCPP $CPPFLAGS'
13454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13457
13458 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13459 :; INTELCXX=yes
13460 else
13461 :;
13462 fi
13463
13464
13465 if test "x$GCXX" != "xyes"; then
13466 if test "xCXX" = "xC"; then
13467 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13468 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13469 if test "${bakefile_cv_cxx_exto+set}" = set; then
13470 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 else
13472 cat >conftest.$ac_ext <<_ACEOF
13473 /* confdefs.h. */
13474 _ACEOF
13475 cat confdefs.h >>conftest.$ac_ext
13476 cat >>conftest.$ac_ext <<_ACEOF
13477 /* end confdefs.h. */
13478
13479 int
13480 main ()
13481 {
13482
13483 ;
13484 return 0;
13485 }
13486 _ACEOF
13487 rm -f conftest.$ac_objext conftest.$ac_ext.o
13488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13489 (eval $ac_compile) 2>&5
13490 ac_status=$?
13491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13492 (exit $ac_status); }; then
13493 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13494 case $ac_file in
13495 conftest.$ac_ext.o)
13496 bakefile_cv_cxx_exto="-ext o"
13497 ;;
13498 *)
13499 ;;
13500 esac
13501 done
13502 else
13503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13504 See \`config.log' for more details." >&5
13505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13506 See \`config.log' for more details." >&2;}
13507 { (exit 1); exit 1; }; }
13508
13509 fi
13510
13511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13512
13513 fi
13514 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
13515 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
13516 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
13517 if test "cxx" = "c"; then
13518 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
13519 fi
13520 if test "cxx" = "cxx"; then
13521 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
13522 fi
13523 fi
13524
13525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13526 unset ac_cv_prog_cc_g
13527 ac_test_CFLAGS=${CFLAGS+set}
13528 ac_save_CFLAGS=$CFLAGS
13529 CFLAGS="-g"
13530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13532 if test "${ac_cv_prog_cc_g+set}" = set; then
13533 echo $ECHO_N "(cached) $ECHO_C" >&6
13534 else
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541
13542 int
13543 main ()
13544 {
13545
13546 ;
13547 return 0;
13548 }
13549 _ACEOF
13550 rm -f conftest.$ac_objext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13552 (eval $ac_compile) 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_cxx_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try='test -s conftest.$ac_objext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572 ac_cv_prog_cc_g=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13576
13577 ac_cv_prog_cc_g=no
13578 fi
13579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13580 fi
13581 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13582 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13583 if test "$ac_test_CFLAGS" = set; then
13584 CFLAGS=$ac_save_CFLAGS
13585 elif test $ac_cv_prog_cc_g = yes; then
13586 if test "$GCC" = yes; then
13587 CFLAGS="-g -O2"
13588 else
13589 CFLAGS="-g"
13590 fi
13591 else
13592 if test "$GCC" = yes; then
13593 CFLAGS="-O2"
13594 else
13595 CFLAGS=
13596 fi
13597 fi
13598 fi
13599 fi
13600
13601 case `uname -s` in
13602 AIX*)
13603 ac_ext=cc
13604 ac_cpp='$CXXCPP $CPPFLAGS'
13605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13608
13609 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13610 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13611 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13612 echo $ECHO_N "(cached) $ECHO_C" >&6
13613 else
13614 cat >conftest.$ac_ext <<_ACEOF
13615 /* confdefs.h. */
13616 _ACEOF
13617 cat confdefs.h >>conftest.$ac_ext
13618 cat >>conftest.$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620
13621 int
13622 main ()
13623 {
13624 #ifndef __xlC__
13625 choke me
13626 #endif
13627
13628 ;
13629 return 0;
13630 }
13631 _ACEOF
13632 rm -f conftest.$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634 (eval $ac_compile) 2>conftest.er1
13635 ac_status=$?
13636 grep -v '^ *+' conftest.er1 >conftest.err
13637 rm -f conftest.er1
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_cxx_werror_flag"
13642 || test ! -s conftest.err'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13645 ac_status=$?
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; } &&
13648 { ac_try='test -s conftest.$ac_objext'
13649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650 (eval $ac_try) 2>&5
13651 ac_status=$?
13652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653 (exit $ac_status); }; }; then
13654 bakefile_compiler_xlc=yes
13655 else
13656 echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13658
13659 bakefile_compiler_xlc=no
13660 fi
13661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13662 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13663
13664 fi
13665 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13666 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13667
13668 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13669 ac_ext=cc
13670 ac_cpp='$CXXCPP $CPPFLAGS'
13671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13674
13675
13676 ;;
13677
13678 Darwin)
13679 ac_ext=cc
13680 ac_cpp='$CXXCPP $CPPFLAGS'
13681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13684
13685 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
13686 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
13687 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
13688 echo $ECHO_N "(cached) $ECHO_C" >&6
13689 else
13690 cat >conftest.$ac_ext <<_ACEOF
13691 /* confdefs.h. */
13692 _ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h. */
13696
13697 int
13698 main ()
13699 {
13700 #ifndef __MWERKS__
13701 choke me
13702 #endif
13703
13704 ;
13705 return 0;
13706 }
13707 _ACEOF
13708 rm -f conftest.$ac_objext
13709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13710 (eval $ac_compile) 2>conftest.er1
13711 ac_status=$?
13712 grep -v '^ *+' conftest.er1 >conftest.err
13713 rm -f conftest.er1
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } &&
13717 { ac_try='test -z "$ac_cxx_werror_flag"
13718 || test ! -s conftest.err'
13719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13720 (eval $ac_try) 2>&5
13721 ac_status=$?
13722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13723 (exit $ac_status); }; } &&
13724 { ac_try='test -s conftest.$ac_objext'
13725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13726 (eval $ac_try) 2>&5
13727 ac_status=$?
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); }; }; then
13730 bakefile_compiler_mwerks=yes
13731 else
13732 echo "$as_me: failed program was:" >&5
13733 sed 's/^/| /' conftest.$ac_ext >&5
13734
13735 bakefile_compiler_mwerks=no
13736 fi
13737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13738 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
13739
13740 fi
13741 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
13742 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
13743
13744 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
13745 ac_ext=cc
13746 ac_cpp='$CXXCPP $CPPFLAGS'
13747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13750
13751
13752 ac_ext=cc
13753 ac_cpp='$CXXCPP $CPPFLAGS'
13754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13757
13758 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
13759 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
13760 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
13761 echo $ECHO_N "(cached) $ECHO_C" >&6
13762 else
13763 cat >conftest.$ac_ext <<_ACEOF
13764 /* confdefs.h. */
13765 _ACEOF
13766 cat confdefs.h >>conftest.$ac_ext
13767 cat >>conftest.$ac_ext <<_ACEOF
13768 /* end confdefs.h. */
13769
13770 int
13771 main ()
13772 {
13773 #ifndef __xlC__
13774 choke me
13775 #endif
13776
13777 ;
13778 return 0;
13779 }
13780 _ACEOF
13781 rm -f conftest.$ac_objext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13783 (eval $ac_compile) 2>conftest.er1
13784 ac_status=$?
13785 grep -v '^ *+' conftest.er1 >conftest.err
13786 rm -f conftest.er1
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } &&
13790 { ac_try='test -z "$ac_cxx_werror_flag"
13791 || test ! -s conftest.err'
13792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13793 (eval $ac_try) 2>&5
13794 ac_status=$?
13795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13796 (exit $ac_status); }; } &&
13797 { ac_try='test -s conftest.$ac_objext'
13798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13799 (eval $ac_try) 2>&5
13800 ac_status=$?
13801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13802 (exit $ac_status); }; }; then
13803 bakefile_compiler_xlc=yes
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808 bakefile_compiler_xlc=no
13809 fi
13810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13811 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
13812
13813 fi
13814 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
13815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
13816
13817 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
13818 ac_ext=cc
13819 ac_cpp='$CXXCPP $CPPFLAGS'
13820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13823
13824
13825 ;;
13826
13827 IRIX*)
13828
13829
13830 ac_ext=cc
13831 ac_cpp='$CXXCPP $CPPFLAGS'
13832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13835
13836 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
13837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
13838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
13839 echo $ECHO_N "(cached) $ECHO_C" >&6
13840 else
13841 cat >conftest.$ac_ext <<_ACEOF
13842 /* confdefs.h. */
13843 _ACEOF
13844 cat confdefs.h >>conftest.$ac_ext
13845 cat >>conftest.$ac_ext <<_ACEOF
13846 /* end confdefs.h. */
13847
13848 int
13849 main ()
13850 {
13851
13852 #ifndef _SGI_COMPILER_VERSION
13853 choke me
13854 #endif
13855
13856 ;
13857 return 0;
13858 }
13859 _ACEOF
13860 rm -f conftest.$ac_objext
13861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13862 (eval $ac_compile) 2>conftest.er1
13863 ac_status=$?
13864 grep -v '^ *+' conftest.er1 >conftest.err
13865 rm -f conftest.er1
13866 cat conftest.err >&5
13867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13868 (exit $ac_status); } &&
13869 { ac_try='test -z "$ac_cxx_werror_flag"
13870 || test ! -s conftest.err'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try='test -s conftest.$ac_objext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
13883 else
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13886
13887 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
13888
13889 fi
13890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13891
13892
13893 fi
13894 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
13895 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
13896 ac_ext=cc
13897 ac_cpp='$CXXCPP $CPPFLAGS'
13898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13901
13902 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13903 :; SGICXX=yes
13904 else
13905 :;
13906 fi
13907
13908
13909 ;;
13910
13911 HP-UX*)
13912
13913
13914 ac_ext=cc
13915 ac_cpp='$CXXCPP $CPPFLAGS'
13916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13919
13920 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
13921 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
13922 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13924 else
13925 cat >conftest.$ac_ext <<_ACEOF
13926 /* confdefs.h. */
13927 _ACEOF
13928 cat confdefs.h >>conftest.$ac_ext
13929 cat >>conftest.$ac_ext <<_ACEOF
13930 /* end confdefs.h. */
13931
13932 int
13933 main ()
13934 {
13935
13936 #ifndef __HP_aCC
13937 choke me
13938 #endif
13939
13940 ;
13941 return 0;
13942 }
13943 _ACEOF
13944 rm -f conftest.$ac_objext
13945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13946 (eval $ac_compile) 2>conftest.er1
13947 ac_status=$?
13948 grep -v '^ *+' conftest.er1 >conftest.err
13949 rm -f conftest.er1
13950 cat conftest.err >&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); } &&
13953 { ac_try='test -z "$ac_cxx_werror_flag"
13954 || test ! -s conftest.err'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13957 ac_status=$?
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; } &&
13960 { ac_try='test -s conftest.$ac_objext'
13961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13962 (eval $ac_try) 2>&5
13963 ac_status=$?
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }; }; then
13966 bakefile_cv_cxx_compiler___HP_aCC=yes
13967 else
13968 echo "$as_me: failed program was:" >&5
13969 sed 's/^/| /' conftest.$ac_ext >&5
13970
13971 bakefile_cv_cxx_compiler___HP_aCC=no
13972
13973 fi
13974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13975
13976
13977 fi
13978 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
13979 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
13980 ac_ext=cc
13981 ac_cpp='$CXXCPP $CPPFLAGS'
13982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13985
13986 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
13987 :; HPCXX=yes
13988 else
13989 :;
13990 fi
13991
13992
13993 ;;
13994
13995 OSF1)
13996
13997
13998 ac_ext=cc
13999 ac_cpp='$CXXCPP $CPPFLAGS'
14000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14003
14004 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14005 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14006 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14007 echo $ECHO_N "(cached) $ECHO_C" >&6
14008 else
14009 cat >conftest.$ac_ext <<_ACEOF
14010 /* confdefs.h. */
14011 _ACEOF
14012 cat confdefs.h >>conftest.$ac_ext
14013 cat >>conftest.$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14015
14016 int
14017 main ()
14018 {
14019
14020 #ifndef __DECCXX
14021 choke me
14022 #endif
14023
14024 ;
14025 return 0;
14026 }
14027 _ACEOF
14028 rm -f conftest.$ac_objext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14030 (eval $ac_compile) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_cxx_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest.$ac_objext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 bakefile_cv_cxx_compiler___DECCXX=yes
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14054
14055 bakefile_cv_cxx_compiler___DECCXX=no
14056
14057 fi
14058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14059
14060
14061 fi
14062 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14064 ac_ext=cc
14065 ac_cpp='$CXXCPP $CPPFLAGS'
14066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14069
14070 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14071 :; COMPAQCXX=yes
14072 else
14073 :;
14074 fi
14075
14076
14077 ;;
14078
14079 SunOS)
14080
14081
14082 ac_ext=cc
14083 ac_cpp='$CXXCPP $CPPFLAGS'
14084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14087
14088 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14089 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14090 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14091 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 else
14093 cat >conftest.$ac_ext <<_ACEOF
14094 /* confdefs.h. */
14095 _ACEOF
14096 cat confdefs.h >>conftest.$ac_ext
14097 cat >>conftest.$ac_ext <<_ACEOF
14098 /* end confdefs.h. */
14099
14100 int
14101 main ()
14102 {
14103
14104 #ifndef __SUNPRO_CC
14105 choke me
14106 #endif
14107
14108 ;
14109 return 0;
14110 }
14111 _ACEOF
14112 rm -f conftest.$ac_objext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14114 (eval $ac_compile) 2>conftest.er1
14115 ac_status=$?
14116 grep -v '^ *+' conftest.er1 >conftest.err
14117 rm -f conftest.er1
14118 cat conftest.err >&5
14119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14120 (exit $ac_status); } &&
14121 { ac_try='test -z "$ac_cxx_werror_flag"
14122 || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14135 else
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14138
14139 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14140
14141 fi
14142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14143
14144
14145 fi
14146 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14147 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14148 ac_ext=cc
14149 ac_cpp='$CXXCPP $CPPFLAGS'
14150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14153
14154 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14155 :; SUNCXX=yes
14156 else
14157 :;
14158 fi
14159
14160
14161 ;;
14162 esac
14163 fi
14164
14165
14166
14167 ac_ext=c
14168 ac_cpp='$CPP $CPPFLAGS'
14169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14172
14173
14174 if test -n "$ac_tool_prefix"; then
14175 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14176 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14177 echo "$as_me:$LINENO: checking for $ac_word" >&5
14178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14179 if test "${ac_cv_prog_RANLIB+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 else
14182 if test -n "$RANLIB"; then
14183 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14184 else
14185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186 for as_dir in $PATH
14187 do
14188 IFS=$as_save_IFS
14189 test -z "$as_dir" && as_dir=.
14190 for ac_exec_ext in '' $ac_executable_extensions; do
14191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14192 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14194 break 2
14195 fi
14196 done
14197 done
14198
14199 fi
14200 fi
14201 RANLIB=$ac_cv_prog_RANLIB
14202 if test -n "$RANLIB"; then
14203 echo "$as_me:$LINENO: result: $RANLIB" >&5
14204 echo "${ECHO_T}$RANLIB" >&6
14205 else
14206 echo "$as_me:$LINENO: result: no" >&5
14207 echo "${ECHO_T}no" >&6
14208 fi
14209
14210 fi
14211 if test -z "$ac_cv_prog_RANLIB"; then
14212 ac_ct_RANLIB=$RANLIB
14213 # Extract the first word of "ranlib", so it can be a program name with args.
14214 set dummy ranlib; ac_word=$2
14215 echo "$as_me:$LINENO: checking for $ac_word" >&5
14216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14217 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 if test -n "$ac_ct_RANLIB"; then
14221 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14222 else
14223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14224 for as_dir in $PATH
14225 do
14226 IFS=$as_save_IFS
14227 test -z "$as_dir" && as_dir=.
14228 for ac_exec_ext in '' $ac_executable_extensions; do
14229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14230 ac_cv_prog_ac_ct_RANLIB="ranlib"
14231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14232 break 2
14233 fi
14234 done
14235 done
14236
14237 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14238 fi
14239 fi
14240 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14241 if test -n "$ac_ct_RANLIB"; then
14242 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14243 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14244 else
14245 echo "$as_me:$LINENO: result: no" >&5
14246 echo "${ECHO_T}no" >&6
14247 fi
14248
14249 RANLIB=$ac_ct_RANLIB
14250 else
14251 RANLIB="$ac_cv_prog_RANLIB"
14252 fi
14253
14254
14255 if test -n "$ac_tool_prefix"; then
14256 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14257 set dummy ${ac_tool_prefix}ar; ac_word=$2
14258 echo "$as_me:$LINENO: checking for $ac_word" >&5
14259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14260 if test "${ac_cv_prog_AR+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 if test -n "$AR"; then
14264 ac_cv_prog_AR="$AR" # Let the user override the test.
14265 else
14266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14267 for as_dir in $PATH
14268 do
14269 IFS=$as_save_IFS
14270 test -z "$as_dir" && as_dir=.
14271 for ac_exec_ext in '' $ac_executable_extensions; do
14272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14273 ac_cv_prog_AR="${ac_tool_prefix}ar"
14274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14275 break 2
14276 fi
14277 done
14278 done
14279
14280 fi
14281 fi
14282 AR=$ac_cv_prog_AR
14283 if test -n "$AR"; then
14284 echo "$as_me:$LINENO: result: $AR" >&5
14285 echo "${ECHO_T}$AR" >&6
14286 else
14287 echo "$as_me:$LINENO: result: no" >&5
14288 echo "${ECHO_T}no" >&6
14289 fi
14290
14291 fi
14292 if test -z "$ac_cv_prog_AR"; then
14293 ac_ct_AR=$AR
14294 # Extract the first word of "ar", so it can be a program name with args.
14295 set dummy ar; ac_word=$2
14296 echo "$as_me:$LINENO: checking for $ac_word" >&5
14297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14298 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14299 echo $ECHO_N "(cached) $ECHO_C" >&6
14300 else
14301 if test -n "$ac_ct_AR"; then
14302 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14303 else
14304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14305 for as_dir in $PATH
14306 do
14307 IFS=$as_save_IFS
14308 test -z "$as_dir" && as_dir=.
14309 for ac_exec_ext in '' $ac_executable_extensions; do
14310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14311 ac_cv_prog_ac_ct_AR="ar"
14312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14313 break 2
14314 fi
14315 done
14316 done
14317
14318 fi
14319 fi
14320 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14321 if test -n "$ac_ct_AR"; then
14322 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14323 echo "${ECHO_T}$ac_ct_AR" >&6
14324 else
14325 echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6
14327 fi
14328
14329 AR=$ac_ct_AR
14330 else
14331 AR="$ac_cv_prog_AR"
14332 fi
14333
14334 if test "x$AR" = "x" ; then
14335 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14336 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14337 { (exit 1); exit 1; }; }
14338 fi
14339
14340 # Find a good install program. We prefer a C program (faster),
14341 # so one script is as good as another. But avoid the broken or
14342 # incompatible versions:
14343 # SysV /etc/install, /usr/sbin/install
14344 # SunOS /usr/etc/install
14345 # IRIX /sbin/install
14346 # AIX /bin/install
14347 # AmigaOS /C/install, which installs bootblocks on floppy discs
14348 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14349 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14350 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14351 # OS/2's system install, which has a completely different semantic
14352 # ./install, which can be erroneously created by make from ./install.sh.
14353 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14354 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14355 if test -z "$INSTALL"; then
14356 if test "${ac_cv_path_install+set}" = set; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14358 else
14359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14360 for as_dir in $PATH
14361 do
14362 IFS=$as_save_IFS
14363 test -z "$as_dir" && as_dir=.
14364 # Account for people who put trailing slashes in PATH elements.
14365 case $as_dir/ in
14366 ./ | .// | /cC/* | \
14367 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14368 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14369 /usr/ucb/* ) ;;
14370 *)
14371 # OSF1 and SCO ODT 3.0 have their own names for install.
14372 # Don't use installbsd from OSF since it installs stuff as root
14373 # by default.
14374 for ac_prog in ginstall scoinst install; do
14375 for ac_exec_ext in '' $ac_executable_extensions; do
14376 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14377 if test $ac_prog = install &&
14378 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14379 # AIX install. It has an incompatible calling convention.
14380 :
14381 elif test $ac_prog = install &&
14382 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14383 # program-specific install script used by HP pwplus--don't use.
14384 :
14385 else
14386 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14387 break 3
14388 fi
14389 fi
14390 done
14391 done
14392 ;;
14393 esac
14394 done
14395
14396
14397 fi
14398 if test "${ac_cv_path_install+set}" = set; then
14399 INSTALL=$ac_cv_path_install
14400 else
14401 # As a last resort, use the slow shell script. We don't cache a
14402 # path for INSTALL within a source directory, because that will
14403 # break other packages using the cache if that directory is
14404 # removed, or if the path is relative.
14405 INSTALL=$ac_install_sh
14406 fi
14407 fi
14408 echo "$as_me:$LINENO: result: $INSTALL" >&5
14409 echo "${ECHO_T}$INSTALL" >&6
14410
14411 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14412 # It thinks the first close brace ends the variable substitution.
14413 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14414
14415 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14416
14417 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14418
14419
14420 case ${INSTALL} in
14421 /* ) # Absolute
14422 ;;
14423 ?:* ) # Drive letter, considered as absolute.
14424 ;;
14425 *)
14426 INSTALL=`pwd`/${INSTALL} ;;
14427 esac
14428
14429
14430 case "${host}" in
14431
14432 *-*-darwin* )
14433 INSTALL_PROGRAM="cp -fp"
14434 INSTALL_DATA="cp -fp"
14435 ;;
14436 *)
14437 ;;
14438 esac
14439
14440 if test -n "$ac_tool_prefix"; then
14441 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14442 set dummy ${ac_tool_prefix}strip; ac_word=$2
14443 echo "$as_me:$LINENO: checking for $ac_word" >&5
14444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14445 if test "${ac_cv_prog_STRIP+set}" = set; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14447 else
14448 if test -n "$STRIP"; then
14449 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14450 else
14451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14452 for as_dir in $PATH
14453 do
14454 IFS=$as_save_IFS
14455 test -z "$as_dir" && as_dir=.
14456 for ac_exec_ext in '' $ac_executable_extensions; do
14457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14458 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14460 break 2
14461 fi
14462 done
14463 done
14464
14465 fi
14466 fi
14467 STRIP=$ac_cv_prog_STRIP
14468 if test -n "$STRIP"; then
14469 echo "$as_me:$LINENO: result: $STRIP" >&5
14470 echo "${ECHO_T}$STRIP" >&6
14471 else
14472 echo "$as_me:$LINENO: result: no" >&5
14473 echo "${ECHO_T}no" >&6
14474 fi
14475
14476 fi
14477 if test -z "$ac_cv_prog_STRIP"; then
14478 ac_ct_STRIP=$STRIP
14479 # Extract the first word of "strip", so it can be a program name with args.
14480 set dummy strip; ac_word=$2
14481 echo "$as_me:$LINENO: checking for $ac_word" >&5
14482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14483 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14484 echo $ECHO_N "(cached) $ECHO_C" >&6
14485 else
14486 if test -n "$ac_ct_STRIP"; then
14487 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14488 else
14489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14490 for as_dir in $PATH
14491 do
14492 IFS=$as_save_IFS
14493 test -z "$as_dir" && as_dir=.
14494 for ac_exec_ext in '' $ac_executable_extensions; do
14495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14496 ac_cv_prog_ac_ct_STRIP="strip"
14497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14498 break 2
14499 fi
14500 done
14501 done
14502
14503 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14504 fi
14505 fi
14506 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14507 if test -n "$ac_ct_STRIP"; then
14508 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14509 echo "${ECHO_T}$ac_ct_STRIP" >&6
14510 else
14511 echo "$as_me:$LINENO: result: no" >&5
14512 echo "${ECHO_T}no" >&6
14513 fi
14514
14515 STRIP=$ac_ct_STRIP
14516 else
14517 STRIP="$ac_cv_prog_STRIP"
14518 fi
14519
14520
14521 if test "$wxUSE_WINE" = "yes"; then
14522 if test -n "$ac_tool_prefix"; then
14523 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14524 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14525 echo "$as_me:$LINENO: checking for $ac_word" >&5
14526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14527 if test "${ac_cv_prog_WINDRES+set}" = set; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14529 else
14530 if test -n "$WINDRES"; then
14531 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14532 else
14533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14534 for as_dir in $PATH
14535 do
14536 IFS=$as_save_IFS
14537 test -z "$as_dir" && as_dir=.
14538 for ac_exec_ext in '' $ac_executable_extensions; do
14539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14540 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
14541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14542 break 2
14543 fi
14544 done
14545 done
14546
14547 fi
14548 fi
14549 WINDRES=$ac_cv_prog_WINDRES
14550 if test -n "$WINDRES"; then
14551 echo "$as_me:$LINENO: result: $WINDRES" >&5
14552 echo "${ECHO_T}$WINDRES" >&6
14553 else
14554 echo "$as_me:$LINENO: result: no" >&5
14555 echo "${ECHO_T}no" >&6
14556 fi
14557
14558 fi
14559 if test -z "$ac_cv_prog_WINDRES"; then
14560 ac_ct_WINDRES=$WINDRES
14561 # Extract the first word of "wrc", so it can be a program name with args.
14562 set dummy wrc; ac_word=$2
14563 echo "$as_me:$LINENO: checking for $ac_word" >&5
14564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14565 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14566 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 else
14568 if test -n "$ac_ct_WINDRES"; then
14569 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14570 else
14571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14572 for as_dir in $PATH
14573 do
14574 IFS=$as_save_IFS
14575 test -z "$as_dir" && as_dir=.
14576 for ac_exec_ext in '' $ac_executable_extensions; do
14577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14578 ac_cv_prog_ac_ct_WINDRES="wrc"
14579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14580 break 2
14581 fi
14582 done
14583 done
14584
14585 fi
14586 fi
14587 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14588 if test -n "$ac_ct_WINDRES"; then
14589 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14590 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14591 else
14592 echo "$as_me:$LINENO: result: no" >&5
14593 echo "${ECHO_T}no" >&6
14594 fi
14595
14596 WINDRES=$ac_ct_WINDRES
14597 else
14598 WINDRES="$ac_cv_prog_WINDRES"
14599 fi
14600
14601 RESCOMP="$WINDRES"
14602 else
14603 case "${host}" in
14604 *-*-cygwin* | *-*-mingw32* )
14605 if test -n "$ac_tool_prefix"; then
14606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
14607 set dummy ${ac_tool_prefix}windres; ac_word=$2
14608 echo "$as_me:$LINENO: checking for $ac_word" >&5
14609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14610 if test "${ac_cv_prog_WINDRES+set}" = set; then
14611 echo $ECHO_N "(cached) $ECHO_C" >&6
14612 else
14613 if test -n "$WINDRES"; then
14614 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
14615 else
14616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14617 for as_dir in $PATH
14618 do
14619 IFS=$as_save_IFS
14620 test -z "$as_dir" && as_dir=.
14621 for ac_exec_ext in '' $ac_executable_extensions; do
14622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14623 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
14624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14625 break 2
14626 fi
14627 done
14628 done
14629
14630 fi
14631 fi
14632 WINDRES=$ac_cv_prog_WINDRES
14633 if test -n "$WINDRES"; then
14634 echo "$as_me:$LINENO: result: $WINDRES" >&5
14635 echo "${ECHO_T}$WINDRES" >&6
14636 else
14637 echo "$as_me:$LINENO: result: no" >&5
14638 echo "${ECHO_T}no" >&6
14639 fi
14640
14641 fi
14642 if test -z "$ac_cv_prog_WINDRES"; then
14643 ac_ct_WINDRES=$WINDRES
14644 # Extract the first word of "windres", so it can be a program name with args.
14645 set dummy windres; ac_word=$2
14646 echo "$as_me:$LINENO: checking for $ac_word" >&5
14647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
14649 echo $ECHO_N "(cached) $ECHO_C" >&6
14650 else
14651 if test -n "$ac_ct_WINDRES"; then
14652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
14653 else
14654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14655 for as_dir in $PATH
14656 do
14657 IFS=$as_save_IFS
14658 test -z "$as_dir" && as_dir=.
14659 for ac_exec_ext in '' $ac_executable_extensions; do
14660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14661 ac_cv_prog_ac_ct_WINDRES="windres"
14662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14663 break 2
14664 fi
14665 done
14666 done
14667
14668 fi
14669 fi
14670 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
14671 if test -n "$ac_ct_WINDRES"; then
14672 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
14673 echo "${ECHO_T}$ac_ct_WINDRES" >&6
14674 else
14675 echo "$as_me:$LINENO: result: no" >&5
14676 echo "${ECHO_T}no" >&6
14677 fi
14678
14679 WINDRES=$ac_ct_WINDRES
14680 else
14681 WINDRES="$ac_cv_prog_WINDRES"
14682 fi
14683
14684 RESCOMP="$WINDRES"
14685 if test -n "$ac_tool_prefix"; then
14686 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
14687 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
14688 echo "$as_me:$LINENO: checking for $ac_word" >&5
14689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14690 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 else
14693 if test -n "$DLLTOOL"; then
14694 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14695 else
14696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14697 for as_dir in $PATH
14698 do
14699 IFS=$as_save_IFS
14700 test -z "$as_dir" && as_dir=.
14701 for ac_exec_ext in '' $ac_executable_extensions; do
14702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14703 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
14704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14705 break 2
14706 fi
14707 done
14708 done
14709
14710 fi
14711 fi
14712 DLLTOOL=$ac_cv_prog_DLLTOOL
14713 if test -n "$DLLTOOL"; then
14714 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14715 echo "${ECHO_T}$DLLTOOL" >&6
14716 else
14717 echo "$as_me:$LINENO: result: no" >&5
14718 echo "${ECHO_T}no" >&6
14719 fi
14720
14721 fi
14722 if test -z "$ac_cv_prog_DLLTOOL"; then
14723 ac_ct_DLLTOOL=$DLLTOOL
14724 # Extract the first word of "dlltool", so it can be a program name with args.
14725 set dummy dlltool; ac_word=$2
14726 echo "$as_me:$LINENO: checking for $ac_word" >&5
14727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14728 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
14729 echo $ECHO_N "(cached) $ECHO_C" >&6
14730 else
14731 if test -n "$ac_ct_DLLTOOL"; then
14732 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
14733 else
14734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14735 for as_dir in $PATH
14736 do
14737 IFS=$as_save_IFS
14738 test -z "$as_dir" && as_dir=.
14739 for ac_exec_ext in '' $ac_executable_extensions; do
14740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14741 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
14742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14743 break 2
14744 fi
14745 done
14746 done
14747
14748 fi
14749 fi
14750 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
14751 if test -n "$ac_ct_DLLTOOL"; then
14752 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
14753 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
14754 else
14755 echo "$as_me:$LINENO: result: no" >&5
14756 echo "${ECHO_T}no" >&6
14757 fi
14758
14759 DLLTOOL=$ac_ct_DLLTOOL
14760 else
14761 DLLTOOL="$ac_cv_prog_DLLTOOL"
14762 fi
14763
14764 ;;
14765 esac
14766 fi
14767
14768 echo "$as_me:$LINENO: checking if make is GNU make" >&5
14769 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
14770 if test "${wx_cv_prog_makeisgnu+set}" = set; then
14771 echo $ECHO_N "(cached) $ECHO_C" >&6
14772 else
14773
14774 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
14775 egrep -s GNU > /dev/null); then
14776 wx_cv_prog_makeisgnu="yes"
14777 else
14778 wx_cv_prog_makeisgnu="no"
14779 fi
14780
14781 fi
14782 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
14783 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
14784
14785 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
14786 IF_GNU_MAKE=""
14787 else
14788 IF_GNU_MAKE="#"
14789 fi
14790
14791
14792
14793 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
14794 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
14795 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
14796 if test "${wx_cv_prog_makevpath+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 else
14799
14800 cat - << EOF > confMake
14801 check : file
14802 cp \$? \$@
14803 cp \$? final_file
14804 EOF
14805
14806 if test ! -d sub ; then
14807 mkdir sub
14808 fi
14809 echo dummy > sub/file
14810 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
14811 RESULT=$?
14812 rm -f sub/file check final_file confMake
14813 rmdir sub
14814 if test "$RESULT" = 0; then
14815 wx_cv_prog_makevpath="yes"
14816 else
14817 wx_cv_prog_makevpath="no"
14818 fi
14819
14820 fi
14821 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
14822 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
14823
14824 if test "x$wx_cv_prog_makevpath" != "xyes"; then
14825 { { echo "$as_me:$LINENO: error:
14826 You need a make-utility that is able to use the variable
14827 VPATH correctly.
14828 If your version of make does not support VPATH correctly,
14829 please install GNU-make (possibly as gmake), and start
14830 configure with the following command:
14831 export MAKE=gmake; ./configure for sh-type shells
14832 setenv MAKE gmake; ./configure for csh-type shells
14833 Also please do remember to use gmake in this case every time
14834 you are trying to compile.
14835 " >&5
14836 echo "$as_me: error:
14837 You need a make-utility that is able to use the variable
14838 VPATH correctly.
14839 If your version of make does not support VPATH correctly,
14840 please install GNU-make (possibly as gmake), and start
14841 configure with the following command:
14842 export MAKE=gmake; ./configure for sh-type shells
14843 setenv MAKE gmake; ./configure for csh-type shells
14844 Also please do remember to use gmake in this case every time
14845 you are trying to compile.
14846 " >&2;}
14847 { (exit 1); exit 1; }; }
14848 fi fi
14849 echo "$as_me:$LINENO: checking whether ln -s works" >&5
14850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
14851 LN_S=$as_ln_s
14852 if test "$LN_S" = "ln -s"; then
14853 echo "$as_me:$LINENO: result: yes" >&5
14854 echo "${ECHO_T}yes" >&6
14855 else
14856 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
14857 echo "${ECHO_T}no, using $LN_S" >&6
14858 fi
14859
14860
14861
14862
14863 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
14864 CXXFLAGS="-qunique $CXXFLAGS"
14865 fi
14866
14867 case "${host}" in
14868 powerpc-*-darwin* )
14869 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
14870 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
14871 cat >conftest.$ac_ext <<_ACEOF
14872 /* confdefs.h. */
14873 _ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877
14878 int
14879 main ()
14880 {
14881 #ifndef __POWERPC__
14882 choke me for lack of PowerPC
14883 #endif
14884
14885 ;
14886 return 0;
14887 }
14888 _ACEOF
14889 rm -f conftest.$ac_objext
14890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14891 (eval $ac_compile) 2>conftest.er1
14892 ac_status=$?
14893 grep -v '^ *+' conftest.er1 >conftest.err
14894 rm -f conftest.er1
14895 cat conftest.err >&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); } &&
14898 { ac_try='test -z "$ac_c_werror_flag"
14899 || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14902 ac_status=$?
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try='test -s conftest.$ac_objext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14908 ac_status=$?
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 echo "$as_me:$LINENO: result: yes" >&5
14912 echo "${ECHO_T}yes" >&6
14913 else
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14916
14917 echo "$as_me:$LINENO: result: no" >&5
14918 echo "${ECHO_T}no" >&6
14919 cat >>confdefs.h <<\_ACEOF
14920 #define __POWERPC__ 1
14921 _ACEOF
14922
14923
14924 fi
14925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14926 ;;
14927 esac
14928
14929 case "${host}" in
14930 *-*-darwin* )
14931 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
14932 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
14933 cat >conftest.$ac_ext <<_ACEOF
14934 /* confdefs.h. */
14935 _ACEOF
14936 cat confdefs.h >>conftest.$ac_ext
14937 cat >>conftest.$ac_ext <<_ACEOF
14938 /* end confdefs.h. */
14939 #include <CoreFoundation/CFBase.h>
14940
14941 int
14942 main ()
14943 {
14944
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
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); }; } &&
14965 { ac_try='test -s conftest.$ac_objext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 echo "$as_me:$LINENO: result: yes" >&5
14972 echo "${ECHO_T}yes" >&6
14973 else
14974 echo "$as_me: failed program was:" >&5
14975 sed 's/^/| /' conftest.$ac_ext >&5
14976
14977 echo "$as_me:$LINENO: result: no" >&5
14978 echo "${ECHO_T}no" >&6
14979 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
14980 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
14981 cat >conftest.$ac_ext <<_ACEOF
14982 /* confdefs.h. */
14983 _ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 #define __CF_USE_FRAMEWORK_INCLUDES__
14988 #include <CoreFoundation/CFBase.h>
14989
14990 int
14991 main ()
14992 {
14993
14994 ;
14995 return 0;
14996 }
14997 _ACEOF
14998 rm -f conftest.$ac_objext
14999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15000 (eval $ac_compile) 2>conftest.er1
15001 ac_status=$?
15002 grep -v '^ *+' conftest.er1 >conftest.err
15003 rm -f conftest.er1
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } &&
15007 { ac_try='test -z "$ac_c_werror_flag"
15008 || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15011 ac_status=$?
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try='test -s conftest.$ac_objext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15017 ac_status=$?
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 echo "$as_me:$LINENO: result: yes" >&5
15021 echo "${ECHO_T}yes" >&6
15022 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15023 else
15024 echo "$as_me: failed program was:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15026
15027 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15028 See \`config.log' for more details." >&5
15029 echo "$as_me: error: no. CoreFoundation not available.
15030 See \`config.log' for more details." >&2;}
15031 { (exit 1); exit 1; }; }
15032
15033 fi
15034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15035
15036
15037 fi
15038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15039 ;;
15040 esac
15041
15042 case "${host}" in
15043 *-pc-os2_emx | *-pc-os2-emx )
15044 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15045 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15046 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15047 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15048 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 else
15050 ac_check_lib_save_LIBS=$LIBS
15051 LIBS="-lcExt $LIBS"
15052 cat >conftest.$ac_ext <<_ACEOF
15053 /* confdefs.h. */
15054 _ACEOF
15055 cat confdefs.h >>conftest.$ac_ext
15056 cat >>conftest.$ac_ext <<_ACEOF
15057 /* end confdefs.h. */
15058
15059 /* Override any gcc2 internal prototype to avoid an error. */
15060 #ifdef __cplusplus
15061 extern "C"
15062 #endif
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15065 char drand48 ();
15066 int
15067 main ()
15068 {
15069 drand48 ();
15070 ;
15071 return 0;
15072 }
15073 _ACEOF
15074 rm -f conftest.$ac_objext conftest$ac_exeext
15075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15076 (eval $ac_link) 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } &&
15083 { ac_try='test -z "$ac_c_werror_flag"
15084 || test ! -s conftest.err'
15085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15086 (eval $ac_try) 2>&5
15087 ac_status=$?
15088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); }; } &&
15090 { ac_try='test -s conftest$ac_exeext'
15091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15092 (eval $ac_try) 2>&5
15093 ac_status=$?
15094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15095 (exit $ac_status); }; }; then
15096 ac_cv_lib_cExt_drand48=yes
15097 else
15098 echo "$as_me: failed program was:" >&5
15099 sed 's/^/| /' conftest.$ac_ext >&5
15100
15101 ac_cv_lib_cExt_drand48=no
15102 fi
15103 rm -f conftest.err conftest.$ac_objext \
15104 conftest$ac_exeext conftest.$ac_ext
15105 LIBS=$ac_check_lib_save_LIBS
15106 fi
15107 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15108 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15109 if test $ac_cv_lib_cExt_drand48 = yes; then
15110 LIBS="$LIBS -lcExt"
15111 fi
15112
15113 else
15114 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15115 fi
15116 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15117 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15118 if test "${wx_cv_gccversion+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 else
15121
15122 if test "$cross_compiling" = yes; then
15123 wx_cv_gccversion="EMX2"
15124
15125 else
15126 cat >conftest.$ac_ext <<_ACEOF
15127 /* confdefs.h. */
15128 _ACEOF
15129 cat confdefs.h >>conftest.$ac_ext
15130 cat >>conftest.$ac_ext <<_ACEOF
15131 /* end confdefs.h. */
15132
15133 #include <stdio.h>
15134
15135 int main()
15136 {
15137 FILE *f=fopen("conftestval", "w");
15138 if (!f) exit(1);
15139 fprintf(f,
15140 #if (__GNUC__ < 3)
15141 "EMX2"
15142 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15143 "EMX3"
15144 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15145 "Innotek5"
15146 #else
15147 "Innotek6"
15148 #endif
15149 );
15150 exit(0);
15151 }
15152
15153 _ACEOF
15154 rm -f conftest$ac_exeext
15155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15156 (eval $ac_link) 2>&5
15157 ac_status=$?
15158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; }; then
15165 wx_cv_gccversion=`cat conftestval`
15166 else
15167 echo "$as_me: program exited with status $ac_status" >&5
15168 echo "$as_me: failed program was:" >&5
15169 sed 's/^/| /' conftest.$ac_ext >&5
15170
15171 ( exit $ac_status )
15172 wx_cv_gccversion="EMX2"
15173 fi
15174 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15175 fi
15176
15177 fi
15178 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15179 echo "${ECHO_T}$wx_cv_gccversion" >&6
15180 if test "$wx_cv_gccversion" = "EMX2"; then
15181 LIBS="$LIBS -lstdcpp"
15182 LDFLAGS="$LDFLAGS -Zsysv-signals"
15183 else
15184 if test "$wx_cv_gccversion" = "EMX3"; then
15185 LIBS="$LIBS -lstdcxx -lgcc"
15186 LDFLAGS="$LDFLAGS -Zsysv-signals"
15187 else
15188 LIBS="$LIBS -lstdc++"
15189 fi
15190 fi
15191 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15192 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15193 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15194 wxUSE_OMF=yes
15195 enable_omf=yes
15196 fi
15197 ;;
15198 *)
15199
15200
15201
15202 ac_ext=cc
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15207
15208
15209 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15210 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15211 if test "${ac_cv_string_strcasecmp+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 else
15214
15215 cat >conftest.$ac_ext <<_ACEOF
15216 /* confdefs.h. */
15217 _ACEOF
15218 cat confdefs.h >>conftest.$ac_ext
15219 cat >>conftest.$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15221
15222 #include <string.h>
15223
15224 int
15225 main ()
15226 {
15227
15228 strcasecmp("foo", "bar");
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 rm -f conftest.$ac_objext conftest$ac_exeext
15235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15236 (eval $ac_link) 2>conftest.er1
15237 ac_status=$?
15238 grep -v '^ *+' conftest.er1 >conftest.err
15239 rm -f conftest.er1
15240 cat conftest.err >&5
15241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242 (exit $ac_status); } &&
15243 { ac_try='test -z "$ac_cxx_werror_flag"
15244 || test ! -s conftest.err'
15245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15246 (eval $ac_try) 2>&5
15247 ac_status=$?
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); }; } &&
15250 { ac_try='test -s conftest$ac_exeext'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15253 ac_status=$?
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; }; then
15256 ac_cv_string_strcasecmp=yes
15257 else
15258 echo "$as_me: failed program was:" >&5
15259 sed 's/^/| /' conftest.$ac_ext >&5
15260
15261 ac_cv_string_strcasecmp=no
15262
15263 fi
15264 rm -f conftest.err conftest.$ac_objext \
15265 conftest$ac_exeext conftest.$ac_ext
15266
15267 fi
15268 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15269 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15270
15271 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15272 cat >>confdefs.h <<\_ACEOF
15273 #define HAVE_STRCASECMP_IN_STRING_H 1
15274 _ACEOF
15275
15276 else
15277 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15278 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15279 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15281 else
15282
15283 cat >conftest.$ac_ext <<_ACEOF
15284 /* confdefs.h. */
15285 _ACEOF
15286 cat confdefs.h >>conftest.$ac_ext
15287 cat >>conftest.$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15289
15290 #include <strings.h>
15291
15292 int
15293 main ()
15294 {
15295
15296 strcasecmp("foo", "bar");
15297
15298 ;
15299 return 0;
15300 }
15301 _ACEOF
15302 rm -f conftest.$ac_objext conftest$ac_exeext
15303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15304 (eval $ac_link) 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try='test -z "$ac_cxx_werror_flag"
15312 || test ! -s conftest.err'
15313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15314 (eval $ac_try) 2>&5
15315 ac_status=$?
15316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15317 (exit $ac_status); }; } &&
15318 { ac_try='test -s conftest$ac_exeext'
15319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15320 (eval $ac_try) 2>&5
15321 ac_status=$?
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); }; }; then
15324 ac_cv_strings_strcasecmp=yes
15325 else
15326 echo "$as_me: failed program was:" >&5
15327 sed 's/^/| /' conftest.$ac_ext >&5
15328
15329 ac_cv_strings_strcasecmp=no
15330
15331 fi
15332 rm -f conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15334
15335 fi
15336 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15337 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15338
15339 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15340 cat >>confdefs.h <<\_ACEOF
15341 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15342 _ACEOF
15343
15344 else
15345 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15346 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15347 { (exit 1); exit 1; }; }
15348 fi
15349 fi
15350
15351 ac_ext=c
15352 ac_cpp='$CPP $CPPFLAGS'
15353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15356
15357 ;;
15358 esac
15359
15360
15361 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
15362 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
15363 if test "${ac_cv_header_stdc+set}" = set; then
15364 echo $ECHO_N "(cached) $ECHO_C" >&6
15365 else
15366 cat >conftest.$ac_ext <<_ACEOF
15367 /* confdefs.h. */
15368 _ACEOF
15369 cat confdefs.h >>conftest.$ac_ext
15370 cat >>conftest.$ac_ext <<_ACEOF
15371 /* end confdefs.h. */
15372 #include <stdlib.h>
15373 #include <stdarg.h>
15374 #include <string.h>
15375 #include <float.h>
15376
15377 int
15378 main ()
15379 {
15380
15381 ;
15382 return 0;
15383 }
15384 _ACEOF
15385 rm -f conftest.$ac_objext
15386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15387 (eval $ac_compile) 2>conftest.er1
15388 ac_status=$?
15389 grep -v '^ *+' conftest.er1 >conftest.err
15390 rm -f conftest.er1
15391 cat conftest.err >&5
15392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15393 (exit $ac_status); } &&
15394 { ac_try='test -z "$ac_c_werror_flag"
15395 || test ! -s conftest.err'
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); }; } &&
15401 { ac_try='test -s conftest.$ac_objext'
15402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15403 (eval $ac_try) 2>&5
15404 ac_status=$?
15405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15406 (exit $ac_status); }; }; then
15407 ac_cv_header_stdc=yes
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15411
15412 ac_cv_header_stdc=no
15413 fi
15414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15415
15416 if test $ac_cv_header_stdc = yes; then
15417 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 #include <string.h>
15425
15426 _ACEOF
15427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15428 $EGREP "memchr" >/dev/null 2>&1; then
15429 :
15430 else
15431 ac_cv_header_stdc=no
15432 fi
15433 rm -f conftest*
15434
15435 fi
15436
15437 if test $ac_cv_header_stdc = yes; then
15438 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15439 cat >conftest.$ac_ext <<_ACEOF
15440 /* confdefs.h. */
15441 _ACEOF
15442 cat confdefs.h >>conftest.$ac_ext
15443 cat >>conftest.$ac_ext <<_ACEOF
15444 /* end confdefs.h. */
15445 #include <stdlib.h>
15446
15447 _ACEOF
15448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15449 $EGREP "free" >/dev/null 2>&1; then
15450 :
15451 else
15452 ac_cv_header_stdc=no
15453 fi
15454 rm -f conftest*
15455
15456 fi
15457
15458 if test $ac_cv_header_stdc = yes; then
15459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15460 if test "$cross_compiling" = yes; then
15461 :
15462 else
15463 cat >conftest.$ac_ext <<_ACEOF
15464 /* confdefs.h. */
15465 _ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15469 #include <ctype.h>
15470 #if ((' ' & 0x0FF) == 0x020)
15471 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15472 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15473 #else
15474 # define ISLOWER(c) \
15475 (('a' <= (c) && (c) <= 'i') \
15476 || ('j' <= (c) && (c) <= 'r') \
15477 || ('s' <= (c) && (c) <= 'z'))
15478 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15479 #endif
15480
15481 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15482 int
15483 main ()
15484 {
15485 int i;
15486 for (i = 0; i < 256; i++)
15487 if (XOR (islower (i), ISLOWER (i))
15488 || toupper (i) != TOUPPER (i))
15489 exit(2);
15490 exit (0);
15491 }
15492 _ACEOF
15493 rm -f conftest$ac_exeext
15494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15495 (eval $ac_link) 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; }; then
15504 :
15505 else
15506 echo "$as_me: program exited with status $ac_status" >&5
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15509
15510 ( exit $ac_status )
15511 ac_cv_header_stdc=no
15512 fi
15513 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15514 fi
15515 fi
15516 fi
15517 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15518 echo "${ECHO_T}$ac_cv_header_stdc" >&6
15519 if test $ac_cv_header_stdc = yes; then
15520
15521 cat >>confdefs.h <<\_ACEOF
15522 #define STDC_HEADERS 1
15523 _ACEOF
15524
15525 fi
15526
15527 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
15538 inttypes.h stdint.h unistd.h
15539 do
15540 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15541 echo "$as_me:$LINENO: checking for $ac_header" >&5
15542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 else
15546 cat >conftest.$ac_ext <<_ACEOF
15547 /* confdefs.h. */
15548 _ACEOF
15549 cat confdefs.h >>conftest.$ac_ext
15550 cat >>conftest.$ac_ext <<_ACEOF
15551 /* end confdefs.h. */
15552 $ac_includes_default
15553
15554 #include <$ac_header>
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15558 (eval $ac_compile) 2>conftest.er1
15559 ac_status=$?
15560 grep -v '^ *+' conftest.er1 >conftest.err
15561 rm -f conftest.er1
15562 cat conftest.err >&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try='test -z "$ac_c_werror_flag"
15566 || test ! -s conftest.err'
15567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15568 (eval $ac_try) 2>&5
15569 ac_status=$?
15570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15571 (exit $ac_status); }; } &&
15572 { ac_try='test -s conftest.$ac_objext'
15573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15574 (eval $ac_try) 2>&5
15575 ac_status=$?
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); }; }; then
15578 eval "$as_ac_Header=yes"
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15582
15583 eval "$as_ac_Header=no"
15584 fi
15585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15586 fi
15587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15590 cat >>confdefs.h <<_ACEOF
15591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15592 _ACEOF
15593
15594 fi
15595
15596 done
15597
15598
15599
15600 for ac_header in stdlib.h
15601 do
15602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15604 echo "$as_me:$LINENO: checking for $ac_header" >&5
15605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15607 echo $ECHO_N "(cached) $ECHO_C" >&6
15608 fi
15609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15611 else
15612 # Is the header compilable?
15613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15615 cat >conftest.$ac_ext <<_ACEOF
15616 /* confdefs.h. */
15617 _ACEOF
15618 cat confdefs.h >>conftest.$ac_ext
15619 cat >>conftest.$ac_ext <<_ACEOF
15620 /* end confdefs.h. */
15621 $ac_includes_default
15622 #include <$ac_header>
15623 _ACEOF
15624 rm -f conftest.$ac_objext
15625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15626 (eval $ac_compile) 2>conftest.er1
15627 ac_status=$?
15628 grep -v '^ *+' conftest.er1 >conftest.err
15629 rm -f conftest.er1
15630 cat conftest.err >&5
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); } &&
15633 { ac_try='test -z "$ac_c_werror_flag"
15634 || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try='test -s conftest.$ac_objext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 ac_header_compiler=yes
15647 else
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.$ac_ext >&5
15650
15651 ac_header_compiler=no
15652 fi
15653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15655 echo "${ECHO_T}$ac_header_compiler" >&6
15656
15657 # Is the header present?
15658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 #include <$ac_header>
15667 _ACEOF
15668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15670 ac_status=$?
15671 grep -v '^ *+' conftest.er1 >conftest.err
15672 rm -f conftest.er1
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } >/dev/null; then
15676 if test -s conftest.err; then
15677 ac_cpp_err=$ac_c_preproc_warn_flag
15678 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15679 else
15680 ac_cpp_err=
15681 fi
15682 else
15683 ac_cpp_err=yes
15684 fi
15685 if test -z "$ac_cpp_err"; then
15686 ac_header_preproc=yes
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 ac_header_preproc=no
15692 fi
15693 rm -f conftest.err conftest.$ac_ext
15694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15695 echo "${ECHO_T}$ac_header_preproc" >&6
15696
15697 # So? What about this header?
15698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15699 yes:no: )
15700 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15704 ac_header_preproc=yes
15705 ;;
15706 no:yes:* )
15707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15711 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15713 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15714 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15717 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15719 (
15720 cat <<\_ASBOX
15721 ## ----------------------------------------- ##
15722 ## Report this to wx-dev@lists.wxwidgets.org ##
15723 ## ----------------------------------------- ##
15724 _ASBOX
15725 ) |
15726 sed "s/^/$as_me: WARNING: /" >&2
15727 ;;
15728 esac
15729 echo "$as_me:$LINENO: checking for $ac_header" >&5
15730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15733 else
15734 eval "$as_ac_Header=\$ac_header_preproc"
15735 fi
15736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15738
15739 fi
15740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15741 cat >>confdefs.h <<_ACEOF
15742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15743 _ACEOF
15744
15745 fi
15746
15747 done
15748
15749
15750 for ac_header in malloc.h
15751 do
15752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15754 echo "$as_me:$LINENO: checking for $ac_header" >&5
15755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15757 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 fi
15759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15761 else
15762 # Is the header compilable?
15763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 $ac_includes_default
15772 #include <$ac_header>
15773 _ACEOF
15774 rm -f conftest.$ac_objext
15775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15776 (eval $ac_compile) 2>conftest.er1
15777 ac_status=$?
15778 grep -v '^ *+' conftest.er1 >conftest.err
15779 rm -f conftest.er1
15780 cat conftest.err >&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try='test -z "$ac_c_werror_flag"
15784 || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 ac_header_compiler=yes
15797 else
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15800
15801 ac_header_compiler=no
15802 fi
15803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15804 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15805 echo "${ECHO_T}$ac_header_compiler" >&6
15806
15807 # Is the header present?
15808 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15809 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 #include <$ac_header>
15817 _ACEOF
15818 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15819 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } >/dev/null; then
15826 if test -s conftest.err; then
15827 ac_cpp_err=$ac_c_preproc_warn_flag
15828 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15829 else
15830 ac_cpp_err=
15831 fi
15832 else
15833 ac_cpp_err=yes
15834 fi
15835 if test -z "$ac_cpp_err"; then
15836 ac_header_preproc=yes
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 ac_header_preproc=no
15842 fi
15843 rm -f conftest.err conftest.$ac_ext
15844 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15845 echo "${ECHO_T}$ac_header_preproc" >&6
15846
15847 # So? What about this header?
15848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15849 yes:no: )
15850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15854 ac_header_preproc=yes
15855 ;;
15856 no:yes:* )
15857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15869 (
15870 cat <<\_ASBOX
15871 ## ----------------------------------------- ##
15872 ## Report this to wx-dev@lists.wxwidgets.org ##
15873 ## ----------------------------------------- ##
15874 _ASBOX
15875 ) |
15876 sed "s/^/$as_me: WARNING: /" >&2
15877 ;;
15878 esac
15879 echo "$as_me:$LINENO: checking for $ac_header" >&5
15880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15882 echo $ECHO_N "(cached) $ECHO_C" >&6
15883 else
15884 eval "$as_ac_Header=\$ac_header_preproc"
15885 fi
15886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15888
15889 fi
15890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15891 cat >>confdefs.h <<_ACEOF
15892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15893 _ACEOF
15894
15895 fi
15896
15897 done
15898
15899
15900 for ac_header in unistd.h
15901 do
15902 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15904 echo "$as_me:$LINENO: checking for $ac_header" >&5
15905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15907 echo $ECHO_N "(cached) $ECHO_C" >&6
15908 fi
15909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15911 else
15912 # Is the header compilable?
15913 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15914 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h. */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 $ac_includes_default
15922 #include <$ac_header>
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_c_werror_flag"
15934 || test ! -s conftest.err'
15935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15936 (eval $ac_try) 2>&5
15937 ac_status=$?
15938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 (exit $ac_status); }; } &&
15940 { ac_try='test -s conftest.$ac_objext'
15941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15942 (eval $ac_try) 2>&5
15943 ac_status=$?
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); }; }; then
15946 ac_header_compiler=yes
15947 else
15948 echo "$as_me: failed program was:" >&5
15949 sed 's/^/| /' conftest.$ac_ext >&5
15950
15951 ac_header_compiler=no
15952 fi
15953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15955 echo "${ECHO_T}$ac_header_compiler" >&6
15956
15957 # Is the header present?
15958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15960 cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 #include <$ac_header>
15967 _ACEOF
15968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15970 ac_status=$?
15971 grep -v '^ *+' conftest.er1 >conftest.err
15972 rm -f conftest.er1
15973 cat conftest.err >&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } >/dev/null; then
15976 if test -s conftest.err; then
15977 ac_cpp_err=$ac_c_preproc_warn_flag
15978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15979 else
15980 ac_cpp_err=
15981 fi
15982 else
15983 ac_cpp_err=yes
15984 fi
15985 if test -z "$ac_cpp_err"; then
15986 ac_header_preproc=yes
15987 else
15988 echo "$as_me: failed program was:" >&5
15989 sed 's/^/| /' conftest.$ac_ext >&5
15990
15991 ac_header_preproc=no
15992 fi
15993 rm -f conftest.err conftest.$ac_ext
15994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15995 echo "${ECHO_T}$ac_header_preproc" >&6
15996
15997 # So? What about this header?
15998 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15999 yes:no: )
16000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16003 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16004 ac_header_preproc=yes
16005 ;;
16006 no:yes:* )
16007 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16008 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16009 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16010 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16011 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16012 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16013 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16014 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16015 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16016 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16017 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16018 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16019 (
16020 cat <<\_ASBOX
16021 ## ----------------------------------------- ##
16022 ## Report this to wx-dev@lists.wxwidgets.org ##
16023 ## ----------------------------------------- ##
16024 _ASBOX
16025 ) |
16026 sed "s/^/$as_me: WARNING: /" >&2
16027 ;;
16028 esac
16029 echo "$as_me:$LINENO: checking for $ac_header" >&5
16030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16032 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 else
16034 eval "$as_ac_Header=\$ac_header_preproc"
16035 fi
16036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16038
16039 fi
16040 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16041 cat >>confdefs.h <<_ACEOF
16042 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16043 _ACEOF
16044
16045 fi
16046
16047 done
16048
16049
16050 for ac_header in wchar.h
16051 do
16052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16054 echo "$as_me:$LINENO: checking for $ac_header" >&5
16055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 fi
16059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16061 else
16062 # Is the header compilable?
16063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16065 cat >conftest.$ac_ext <<_ACEOF
16066 /* confdefs.h. */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16072 #include <$ac_header>
16073 _ACEOF
16074 rm -f conftest.$ac_objext
16075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16076 (eval $ac_compile) 2>conftest.er1
16077 ac_status=$?
16078 grep -v '^ *+' conftest.er1 >conftest.err
16079 rm -f conftest.er1
16080 cat conftest.err >&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); } &&
16083 { ac_try='test -z "$ac_c_werror_flag"
16084 || test ! -s conftest.err'
16085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16086 (eval $ac_try) 2>&5
16087 ac_status=$?
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); }; } &&
16090 { ac_try='test -s conftest.$ac_objext'
16091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16092 (eval $ac_try) 2>&5
16093 ac_status=$?
16094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 (exit $ac_status); }; }; then
16096 ac_header_compiler=yes
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16100
16101 ac_header_compiler=no
16102 fi
16103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16105 echo "${ECHO_T}$ac_header_compiler" >&6
16106
16107 # Is the header present?
16108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <$ac_header>
16117 _ACEOF
16118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16120 ac_status=$?
16121 grep -v '^ *+' conftest.er1 >conftest.err
16122 rm -f conftest.er1
16123 cat conftest.err >&5
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); } >/dev/null; then
16126 if test -s conftest.err; then
16127 ac_cpp_err=$ac_c_preproc_warn_flag
16128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16129 else
16130 ac_cpp_err=
16131 fi
16132 else
16133 ac_cpp_err=yes
16134 fi
16135 if test -z "$ac_cpp_err"; then
16136 ac_header_preproc=yes
16137 else
16138 echo "$as_me: failed program was:" >&5
16139 sed 's/^/| /' conftest.$ac_ext >&5
16140
16141 ac_header_preproc=no
16142 fi
16143 rm -f conftest.err conftest.$ac_ext
16144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16145 echo "${ECHO_T}$ac_header_preproc" >&6
16146
16147 # So? What about this header?
16148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16149 yes:no: )
16150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16154 ac_header_preproc=yes
16155 ;;
16156 no:yes:* )
16157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16169 (
16170 cat <<\_ASBOX
16171 ## ----------------------------------------- ##
16172 ## Report this to wx-dev@lists.wxwidgets.org ##
16173 ## ----------------------------------------- ##
16174 _ASBOX
16175 ) |
16176 sed "s/^/$as_me: WARNING: /" >&2
16177 ;;
16178 esac
16179 echo "$as_me:$LINENO: checking for $ac_header" >&5
16180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16182 echo $ECHO_N "(cached) $ECHO_C" >&6
16183 else
16184 eval "$as_ac_Header=\$ac_header_preproc"
16185 fi
16186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16188
16189 fi
16190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16191 cat >>confdefs.h <<_ACEOF
16192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16193 _ACEOF
16194
16195 fi
16196
16197 done
16198
16199
16200 if test "$ac_cv_header_wchar_h" != "yes"; then
16201
16202 for ac_header in wcstr.h
16203 do
16204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16206 echo "$as_me:$LINENO: checking for $ac_header" >&5
16207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16210 fi
16211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16213 else
16214 # Is the header compilable?
16215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16223 $ac_includes_default
16224 #include <$ac_header>
16225 _ACEOF
16226 rm -f conftest.$ac_objext
16227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16228 (eval $ac_compile) 2>conftest.er1
16229 ac_status=$?
16230 grep -v '^ *+' conftest.er1 >conftest.err
16231 rm -f conftest.er1
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } &&
16235 { ac_try='test -z "$ac_c_werror_flag"
16236 || test ! -s conftest.err'
16237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 (eval $ac_try) 2>&5
16239 ac_status=$?
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); }; } &&
16242 { ac_try='test -s conftest.$ac_objext'
16243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244 (eval $ac_try) 2>&5
16245 ac_status=$?
16246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 (exit $ac_status); }; }; then
16248 ac_header_compiler=yes
16249 else
16250 echo "$as_me: failed program was:" >&5
16251 sed 's/^/| /' conftest.$ac_ext >&5
16252
16253 ac_header_compiler=no
16254 fi
16255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16257 echo "${ECHO_T}$ac_header_compiler" >&6
16258
16259 # Is the header present?
16260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16262 cat >conftest.$ac_ext <<_ACEOF
16263 /* confdefs.h. */
16264 _ACEOF
16265 cat confdefs.h >>conftest.$ac_ext
16266 cat >>conftest.$ac_ext <<_ACEOF
16267 /* end confdefs.h. */
16268 #include <$ac_header>
16269 _ACEOF
16270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16272 ac_status=$?
16273 grep -v '^ *+' conftest.er1 >conftest.err
16274 rm -f conftest.er1
16275 cat conftest.err >&5
16276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16277 (exit $ac_status); } >/dev/null; then
16278 if test -s conftest.err; then
16279 ac_cpp_err=$ac_c_preproc_warn_flag
16280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16281 else
16282 ac_cpp_err=
16283 fi
16284 else
16285 ac_cpp_err=yes
16286 fi
16287 if test -z "$ac_cpp_err"; then
16288 ac_header_preproc=yes
16289 else
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 ac_header_preproc=no
16294 fi
16295 rm -f conftest.err conftest.$ac_ext
16296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16297 echo "${ECHO_T}$ac_header_preproc" >&6
16298
16299 # So? What about this header?
16300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16301 yes:no: )
16302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16306 ac_header_preproc=yes
16307 ;;
16308 no:yes:* )
16309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16321 (
16322 cat <<\_ASBOX
16323 ## ----------------------------------------- ##
16324 ## Report this to wx-dev@lists.wxwidgets.org ##
16325 ## ----------------------------------------- ##
16326 _ASBOX
16327 ) |
16328 sed "s/^/$as_me: WARNING: /" >&2
16329 ;;
16330 esac
16331 echo "$as_me:$LINENO: checking for $ac_header" >&5
16332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16334 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 else
16336 eval "$as_ac_Header=\$ac_header_preproc"
16337 fi
16338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16340
16341 fi
16342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16343 cat >>confdefs.h <<_ACEOF
16344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16345 _ACEOF
16346
16347 fi
16348
16349 done
16350
16351 fi
16352
16353
16354 for ac_header in fnmatch.h
16355 do
16356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16358 echo "$as_me:$LINENO: checking for $ac_header" >&5
16359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16361 echo $ECHO_N "(cached) $ECHO_C" >&6
16362 fi
16363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16365 else
16366 # Is the header compilable?
16367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16369 cat >conftest.$ac_ext <<_ACEOF
16370 /* confdefs.h. */
16371 _ACEOF
16372 cat confdefs.h >>conftest.$ac_ext
16373 cat >>conftest.$ac_ext <<_ACEOF
16374 /* end confdefs.h. */
16375 $ac_includes_default
16376 #include <$ac_header>
16377 _ACEOF
16378 rm -f conftest.$ac_objext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16380 (eval $ac_compile) 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_c_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest.$ac_objext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_header_compiler=yes
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16404
16405 ac_header_compiler=no
16406 fi
16407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16409 echo "${ECHO_T}$ac_header_compiler" >&6
16410
16411 # Is the header present?
16412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 #include <$ac_header>
16421 _ACEOF
16422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16424 ac_status=$?
16425 grep -v '^ *+' conftest.er1 >conftest.err
16426 rm -f conftest.er1
16427 cat conftest.err >&5
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } >/dev/null; then
16430 if test -s conftest.err; then
16431 ac_cpp_err=$ac_c_preproc_warn_flag
16432 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16433 else
16434 ac_cpp_err=
16435 fi
16436 else
16437 ac_cpp_err=yes
16438 fi
16439 if test -z "$ac_cpp_err"; then
16440 ac_header_preproc=yes
16441 else
16442 echo "$as_me: failed program was:" >&5
16443 sed 's/^/| /' conftest.$ac_ext >&5
16444
16445 ac_header_preproc=no
16446 fi
16447 rm -f conftest.err conftest.$ac_ext
16448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16449 echo "${ECHO_T}$ac_header_preproc" >&6
16450
16451 # So? What about this header?
16452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16453 yes:no: )
16454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16458 ac_header_preproc=yes
16459 ;;
16460 no:yes:* )
16461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16473 (
16474 cat <<\_ASBOX
16475 ## ----------------------------------------- ##
16476 ## Report this to wx-dev@lists.wxwidgets.org ##
16477 ## ----------------------------------------- ##
16478 _ASBOX
16479 ) |
16480 sed "s/^/$as_me: WARNING: /" >&2
16481 ;;
16482 esac
16483 echo "$as_me:$LINENO: checking for $ac_header" >&5
16484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 else
16488 eval "$as_ac_Header=\$ac_header_preproc"
16489 fi
16490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16492
16493 fi
16494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16495 cat >>confdefs.h <<_ACEOF
16496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16497 _ACEOF
16498
16499 fi
16500
16501 done
16502
16503
16504
16505 for ac_header in langinfo.h
16506 do
16507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16509 echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16512 echo $ECHO_N "(cached) $ECHO_C" >&6
16513 fi
16514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16516 else
16517 # Is the header compilable?
16518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16520 cat >conftest.$ac_ext <<_ACEOF
16521 /* confdefs.h. */
16522 _ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16527 #include <$ac_header>
16528 _ACEOF
16529 rm -f conftest.$ac_objext
16530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16531 (eval $ac_compile) 2>conftest.er1
16532 ac_status=$?
16533 grep -v '^ *+' conftest.er1 >conftest.err
16534 rm -f conftest.er1
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } &&
16538 { ac_try='test -z "$ac_c_werror_flag"
16539 || test ! -s conftest.err'
16540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16541 (eval $ac_try) 2>&5
16542 ac_status=$?
16543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16544 (exit $ac_status); }; } &&
16545 { ac_try='test -s conftest.$ac_objext'
16546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16547 (eval $ac_try) 2>&5
16548 ac_status=$?
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); }; }; then
16551 ac_header_compiler=yes
16552 else
16553 echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16555
16556 ac_header_compiler=no
16557 fi
16558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16560 echo "${ECHO_T}$ac_header_compiler" >&6
16561
16562 # Is the header present?
16563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16565 cat >conftest.$ac_ext <<_ACEOF
16566 /* confdefs.h. */
16567 _ACEOF
16568 cat confdefs.h >>conftest.$ac_ext
16569 cat >>conftest.$ac_ext <<_ACEOF
16570 /* end confdefs.h. */
16571 #include <$ac_header>
16572 _ACEOF
16573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16575 ac_status=$?
16576 grep -v '^ *+' conftest.er1 >conftest.err
16577 rm -f conftest.er1
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } >/dev/null; then
16581 if test -s conftest.err; then
16582 ac_cpp_err=$ac_c_preproc_warn_flag
16583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16584 else
16585 ac_cpp_err=
16586 fi
16587 else
16588 ac_cpp_err=yes
16589 fi
16590 if test -z "$ac_cpp_err"; then
16591 ac_header_preproc=yes
16592 else
16593 echo "$as_me: failed program was:" >&5
16594 sed 's/^/| /' conftest.$ac_ext >&5
16595
16596 ac_header_preproc=no
16597 fi
16598 rm -f conftest.err conftest.$ac_ext
16599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16600 echo "${ECHO_T}$ac_header_preproc" >&6
16601
16602 # So? What about this header?
16603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16604 yes:no: )
16605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16609 ac_header_preproc=yes
16610 ;;
16611 no:yes:* )
16612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16624 (
16625 cat <<\_ASBOX
16626 ## ----------------------------------------- ##
16627 ## Report this to wx-dev@lists.wxwidgets.org ##
16628 ## ----------------------------------------- ##
16629 _ASBOX
16630 ) |
16631 sed "s/^/$as_me: WARNING: /" >&2
16632 ;;
16633 esac
16634 echo "$as_me:$LINENO: checking for $ac_header" >&5
16635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16637 echo $ECHO_N "(cached) $ECHO_C" >&6
16638 else
16639 eval "$as_ac_Header=\$ac_header_preproc"
16640 fi
16641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16643
16644 fi
16645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16646 cat >>confdefs.h <<_ACEOF
16647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16648 _ACEOF
16649
16650 fi
16651
16652 done
16653
16654
16655 case "${host}" in
16656 *-pc-os2_emx | *-pc-os2-emx )
16657 if test $ac_cv_header_langinfo_h = "yes" \
16658 -a \( "$wx_cv_gccversion" = "EMX2" \
16659 -o "$wx_cv_gccversion" = "EMX3" \
16660 -o "$wx_cv_gccversion" = "Innotek5" \); then
16661 LIBS="$LIBS -lintl"
16662 fi
16663 ;;
16664 esac
16665
16666
16667 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16668 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16669 if test "${ac_cv_c_const+set}" = set; then
16670 echo $ECHO_N "(cached) $ECHO_C" >&6
16671 else
16672 cat >conftest.$ac_ext <<_ACEOF
16673 /* confdefs.h. */
16674 _ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678
16679 int
16680 main ()
16681 {
16682 /* FIXME: Include the comments suggested by Paul. */
16683 #ifndef __cplusplus
16684 /* Ultrix mips cc rejects this. */
16685 typedef int charset[2];
16686 const charset x;
16687 /* SunOS 4.1.1 cc rejects this. */
16688 char const *const *ccp;
16689 char **p;
16690 /* NEC SVR4.0.2 mips cc rejects this. */
16691 struct point {int x, y;};
16692 static struct point const zero = {0,0};
16693 /* AIX XL C 1.02.0.0 rejects this.
16694 It does not let you subtract one const X* pointer from another in
16695 an arm of an if-expression whose if-part is not a constant
16696 expression */
16697 const char *g = "string";
16698 ccp = &g + (g ? g-g : 0);
16699 /* HPUX 7.0 cc rejects these. */
16700 ++ccp;
16701 p = (char**) ccp;
16702 ccp = (char const *const *) p;
16703 { /* SCO 3.2v4 cc rejects this. */
16704 char *t;
16705 char const *s = 0 ? (char *) 0 : (char const *) 0;
16706
16707 *t++ = 0;
16708 }
16709 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16710 int x[] = {25, 17};
16711 const int *foo = &x[0];
16712 ++foo;
16713 }
16714 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16715 typedef const int *iptr;
16716 iptr p = 0;
16717 ++p;
16718 }
16719 { /* AIX XL C 1.02.0.0 rejects this saying
16720 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16721 struct s { int j; const int *ap[3]; };
16722 struct s *b; b->j = 5;
16723 }
16724 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16725 const int foo = 10;
16726 }
16727 #endif
16728
16729 ;
16730 return 0;
16731 }
16732 _ACEOF
16733 rm -f conftest.$ac_objext
16734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16735 (eval $ac_compile) 2>conftest.er1
16736 ac_status=$?
16737 grep -v '^ *+' conftest.er1 >conftest.err
16738 rm -f conftest.er1
16739 cat conftest.err >&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); } &&
16742 { ac_try='test -z "$ac_c_werror_flag"
16743 || test ! -s conftest.err'
16744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16745 (eval $ac_try) 2>&5
16746 ac_status=$?
16747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16748 (exit $ac_status); }; } &&
16749 { ac_try='test -s conftest.$ac_objext'
16750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16751 (eval $ac_try) 2>&5
16752 ac_status=$?
16753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16754 (exit $ac_status); }; }; then
16755 ac_cv_c_const=yes
16756 else
16757 echo "$as_me: failed program was:" >&5
16758 sed 's/^/| /' conftest.$ac_ext >&5
16759
16760 ac_cv_c_const=no
16761 fi
16762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16763 fi
16764 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16765 echo "${ECHO_T}$ac_cv_c_const" >&6
16766 if test $ac_cv_c_const = no; then
16767
16768 cat >>confdefs.h <<\_ACEOF
16769 #define const
16770 _ACEOF
16771
16772 fi
16773
16774 echo "$as_me:$LINENO: checking for inline" >&5
16775 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16776 if test "${ac_cv_c_inline+set}" = set; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16778 else
16779 ac_cv_c_inline=no
16780 for ac_kw in inline __inline__ __inline; do
16781 cat >conftest.$ac_ext <<_ACEOF
16782 /* confdefs.h. */
16783 _ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
16786 /* end confdefs.h. */
16787 #ifndef __cplusplus
16788 typedef int foo_t;
16789 static $ac_kw foo_t static_foo () {return 0; }
16790 $ac_kw foo_t foo () {return 0; }
16791 #endif
16792
16793 _ACEOF
16794 rm -f conftest.$ac_objext
16795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16796 (eval $ac_compile) 2>conftest.er1
16797 ac_status=$?
16798 grep -v '^ *+' conftest.er1 >conftest.err
16799 rm -f conftest.er1
16800 cat conftest.err >&5
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); } &&
16803 { ac_try='test -z "$ac_c_werror_flag"
16804 || test ! -s conftest.err'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16807 ac_status=$?
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; } &&
16810 { ac_try='test -s conftest.$ac_objext'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16813 ac_status=$?
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; }; then
16816 ac_cv_c_inline=$ac_kw; break
16817 else
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16820
16821 fi
16822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16823 done
16824
16825 fi
16826 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16827 echo "${ECHO_T}$ac_cv_c_inline" >&6
16828
16829
16830 case $ac_cv_c_inline in
16831 inline | yes) ;;
16832 *)
16833 case $ac_cv_c_inline in
16834 no) ac_val=;;
16835 *) ac_val=$ac_cv_c_inline;;
16836 esac
16837 cat >>confdefs.h <<_ACEOF
16838 #ifndef __cplusplus
16839 #define inline $ac_val
16840 #endif
16841 _ACEOF
16842 ;;
16843 esac
16844
16845
16846 echo "$as_me:$LINENO: checking for char" >&5
16847 echo $ECHO_N "checking for char... $ECHO_C" >&6
16848 if test "${ac_cv_type_char+set}" = set; then
16849 echo $ECHO_N "(cached) $ECHO_C" >&6
16850 else
16851 cat >conftest.$ac_ext <<_ACEOF
16852 /* confdefs.h. */
16853 _ACEOF
16854 cat confdefs.h >>conftest.$ac_ext
16855 cat >>conftest.$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 $ac_includes_default
16858 int
16859 main ()
16860 {
16861 if ((char *) 0)
16862 return 0;
16863 if (sizeof (char))
16864 return 0;
16865 ;
16866 return 0;
16867 }
16868 _ACEOF
16869 rm -f conftest.$ac_objext
16870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16871 (eval $ac_compile) 2>conftest.er1
16872 ac_status=$?
16873 grep -v '^ *+' conftest.er1 >conftest.err
16874 rm -f conftest.er1
16875 cat conftest.err >&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); } &&
16878 { ac_try='test -z "$ac_c_werror_flag"
16879 || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16882 ac_status=$?
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16888 ac_status=$?
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_type_char=yes
16892 else
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16895
16896 ac_cv_type_char=no
16897 fi
16898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16899 fi
16900 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
16901 echo "${ECHO_T}$ac_cv_type_char" >&6
16902
16903 echo "$as_me:$LINENO: checking size of char" >&5
16904 echo $ECHO_N "checking size of char... $ECHO_C" >&6
16905 if test "${ac_cv_sizeof_char+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 else
16908 if test "$ac_cv_type_char" = yes; then
16909 # The cast to unsigned long works around a bug in the HP C Compiler
16910 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16911 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16912 # This bug is HP SR number 8606223364.
16913 if test "$cross_compiling" = yes; then
16914 # Depending upon the size, compute the lo and hi bounds.
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 $ac_includes_default
16922 int
16923 main ()
16924 {
16925 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
16926 test_array [0] = 0
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16934 (eval $ac_compile) 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } &&
16941 { ac_try='test -z "$ac_c_werror_flag"
16942 || test ! -s conftest.err'
16943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16944 (eval $ac_try) 2>&5
16945 ac_status=$?
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try='test -s conftest.$ac_objext'
16949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16950 (eval $ac_try) 2>&5
16951 ac_status=$?
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
16954 ac_lo=0 ac_mid=0
16955 while :; do
16956 cat >conftest.$ac_ext <<_ACEOF
16957 /* confdefs.h. */
16958 _ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16962 $ac_includes_default
16963 int
16964 main ()
16965 {
16966 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
16967 test_array [0] = 0
16968
16969 ;
16970 return 0;
16971 }
16972 _ACEOF
16973 rm -f conftest.$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try='test -z "$ac_c_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16992 ac_status=$?
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_hi=$ac_mid; break
16996 else
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
16999
17000 ac_lo=`expr $ac_mid + 1`
17001 if test $ac_lo -le $ac_mid; then
17002 ac_lo= ac_hi=
17003 break
17004 fi
17005 ac_mid=`expr 2 '*' $ac_mid + 1`
17006 fi
17007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17008 done
17009 else
17010 echo "$as_me: failed program was:" >&5
17011 sed 's/^/| /' conftest.$ac_ext >&5
17012
17013 cat >conftest.$ac_ext <<_ACEOF
17014 /* confdefs.h. */
17015 _ACEOF
17016 cat confdefs.h >>conftest.$ac_ext
17017 cat >>conftest.$ac_ext <<_ACEOF
17018 /* end confdefs.h. */
17019 $ac_includes_default
17020 int
17021 main ()
17022 {
17023 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17024 test_array [0] = 0
17025
17026 ;
17027 return 0;
17028 }
17029 _ACEOF
17030 rm -f conftest.$ac_objext
17031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17032 (eval $ac_compile) 2>conftest.er1
17033 ac_status=$?
17034 grep -v '^ *+' conftest.er1 >conftest.err
17035 rm -f conftest.er1
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } &&
17039 { ac_try='test -z "$ac_c_werror_flag"
17040 || test ! -s conftest.err'
17041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17042 (eval $ac_try) 2>&5
17043 ac_status=$?
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); }; } &&
17046 { ac_try='test -s conftest.$ac_objext'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; }; then
17052 ac_hi=-1 ac_mid=-1
17053 while :; do
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17061 int
17062 main ()
17063 {
17064 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17065 test_array [0] = 0
17066
17067 ;
17068 return 0;
17069 }
17070 _ACEOF
17071 rm -f conftest.$ac_objext
17072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17073 (eval $ac_compile) 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } &&
17080 { ac_try='test -z "$ac_c_werror_flag"
17081 || test ! -s conftest.err'
17082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17083 (eval $ac_try) 2>&5
17084 ac_status=$?
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); }; } &&
17087 { ac_try='test -s conftest.$ac_objext'
17088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17090 ac_status=$?
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; }; then
17093 ac_lo=$ac_mid; break
17094 else
17095 echo "$as_me: failed program was:" >&5
17096 sed 's/^/| /' conftest.$ac_ext >&5
17097
17098 ac_hi=`expr '(' $ac_mid ')' - 1`
17099 if test $ac_mid -le $ac_hi; then
17100 ac_lo= ac_hi=
17101 break
17102 fi
17103 ac_mid=`expr 2 '*' $ac_mid`
17104 fi
17105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 done
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 ac_lo= ac_hi=
17112 fi
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 fi
17115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17116 # Binary search between lo and hi bounds.
17117 while test "x$ac_lo" != "x$ac_hi"; do
17118 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17119 cat >conftest.$ac_ext <<_ACEOF
17120 /* confdefs.h. */
17121 _ACEOF
17122 cat confdefs.h >>conftest.$ac_ext
17123 cat >>conftest.$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125 $ac_includes_default
17126 int
17127 main ()
17128 {
17129 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17130 test_array [0] = 0
17131
17132 ;
17133 return 0;
17134 }
17135 _ACEOF
17136 rm -f conftest.$ac_objext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17138 (eval $ac_compile) 2>conftest.er1
17139 ac_status=$?
17140 grep -v '^ *+' conftest.er1 >conftest.err
17141 rm -f conftest.er1
17142 cat conftest.err >&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); } &&
17145 { ac_try='test -z "$ac_c_werror_flag"
17146 || test ! -s conftest.err'
17147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17148 (eval $ac_try) 2>&5
17149 ac_status=$?
17150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17151 (exit $ac_status); }; } &&
17152 { ac_try='test -s conftest.$ac_objext'
17153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17154 (eval $ac_try) 2>&5
17155 ac_status=$?
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); }; }; then
17158 ac_hi=$ac_mid
17159 else
17160 echo "$as_me: failed program was:" >&5
17161 sed 's/^/| /' conftest.$ac_ext >&5
17162
17163 ac_lo=`expr '(' $ac_mid ')' + 1`
17164 fi
17165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17166 done
17167 case $ac_lo in
17168 ?*) ac_cv_sizeof_char=$ac_lo;;
17169 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot compute sizeof (char), 77
17172 See \`config.log' for more details." >&2;}
17173 { (exit 1); exit 1; }; } ;;
17174 esac
17175 else
17176 if test "$cross_compiling" = yes; then
17177 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17178 See \`config.log' for more details." >&5
17179 echo "$as_me: error: cannot run test program while cross compiling
17180 See \`config.log' for more details." >&2;}
17181 { (exit 1); exit 1; }; }
17182 else
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 $ac_includes_default
17190 long longval () { return (long) (sizeof (char)); }
17191 unsigned long ulongval () { return (long) (sizeof (char)); }
17192 #include <stdio.h>
17193 #include <stdlib.h>
17194 int
17195 main ()
17196 {
17197
17198 FILE *f = fopen ("conftest.val", "w");
17199 if (! f)
17200 exit (1);
17201 if (((long) (sizeof (char))) < 0)
17202 {
17203 long i = longval ();
17204 if (i != ((long) (sizeof (char))))
17205 exit (1);
17206 fprintf (f, "%ld\n", i);
17207 }
17208 else
17209 {
17210 unsigned long i = ulongval ();
17211 if (i != ((long) (sizeof (char))))
17212 exit (1);
17213 fprintf (f, "%lu\n", i);
17214 }
17215 exit (ferror (f) || fclose (f) != 0);
17216
17217 ;
17218 return 0;
17219 }
17220 _ACEOF
17221 rm -f conftest$ac_exeext
17222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17223 (eval $ac_link) 2>&5
17224 ac_status=$?
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17229 ac_status=$?
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; }; then
17232 ac_cv_sizeof_char=`cat conftest.val`
17233 else
17234 echo "$as_me: program exited with status $ac_status" >&5
17235 echo "$as_me: failed program was:" >&5
17236 sed 's/^/| /' conftest.$ac_ext >&5
17237
17238 ( exit $ac_status )
17239 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17240 See \`config.log' for more details." >&5
17241 echo "$as_me: error: cannot compute sizeof (char), 77
17242 See \`config.log' for more details." >&2;}
17243 { (exit 1); exit 1; }; }
17244 fi
17245 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17246 fi
17247 fi
17248 rm -f conftest.val
17249 else
17250 ac_cv_sizeof_char=0
17251 fi
17252 fi
17253 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17254 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17255 cat >>confdefs.h <<_ACEOF
17256 #define SIZEOF_CHAR $ac_cv_sizeof_char
17257 _ACEOF
17258
17259
17260 echo "$as_me:$LINENO: checking for short" >&5
17261 echo $ECHO_N "checking for short... $ECHO_C" >&6
17262 if test "${ac_cv_type_short+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17264 else
17265 cat >conftest.$ac_ext <<_ACEOF
17266 /* confdefs.h. */
17267 _ACEOF
17268 cat confdefs.h >>conftest.$ac_ext
17269 cat >>conftest.$ac_ext <<_ACEOF
17270 /* end confdefs.h. */
17271 $ac_includes_default
17272 int
17273 main ()
17274 {
17275 if ((short *) 0)
17276 return 0;
17277 if (sizeof (short))
17278 return 0;
17279 ;
17280 return 0;
17281 }
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17285 (eval $ac_compile) 2>conftest.er1
17286 ac_status=$?
17287 grep -v '^ *+' conftest.er1 >conftest.err
17288 rm -f conftest.er1
17289 cat conftest.err >&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); } &&
17292 { ac_try='test -z "$ac_c_werror_flag"
17293 || test ! -s conftest.err'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17296 ac_status=$?
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; } &&
17299 { ac_try='test -s conftest.$ac_objext'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17302 ac_status=$?
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; }; then
17305 ac_cv_type_short=yes
17306 else
17307 echo "$as_me: failed program was:" >&5
17308 sed 's/^/| /' conftest.$ac_ext >&5
17309
17310 ac_cv_type_short=no
17311 fi
17312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17313 fi
17314 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17315 echo "${ECHO_T}$ac_cv_type_short" >&6
17316
17317 echo "$as_me:$LINENO: checking size of short" >&5
17318 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17319 if test "${ac_cv_sizeof_short+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 else
17322 if test "$ac_cv_type_short" = yes; then
17323 # The cast to unsigned long works around a bug in the HP C Compiler
17324 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17325 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17326 # This bug is HP SR number 8606223364.
17327 if test "$cross_compiling" = yes; then
17328 # Depending upon the size, compute the lo and hi bounds.
17329 cat >conftest.$ac_ext <<_ACEOF
17330 /* confdefs.h. */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17335 $ac_includes_default
17336 int
17337 main ()
17338 {
17339 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17340 test_array [0] = 0
17341
17342 ;
17343 return 0;
17344 }
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_c_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_lo=0 ac_mid=0
17369 while :; do
17370 cat >conftest.$ac_ext <<_ACEOF
17371 /* confdefs.h. */
17372 _ACEOF
17373 cat confdefs.h >>conftest.$ac_ext
17374 cat >>conftest.$ac_ext <<_ACEOF
17375 /* end confdefs.h. */
17376 $ac_includes_default
17377 int
17378 main ()
17379 {
17380 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17381 test_array [0] = 0
17382
17383 ;
17384 return 0;
17385 }
17386 _ACEOF
17387 rm -f conftest.$ac_objext
17388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17389 (eval $ac_compile) 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } &&
17396 { ac_try='test -z "$ac_c_werror_flag"
17397 || test ! -s conftest.err'
17398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17399 (eval $ac_try) 2>&5
17400 ac_status=$?
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); }; } &&
17403 { ac_try='test -s conftest.$ac_objext'
17404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405 (eval $ac_try) 2>&5
17406 ac_status=$?
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); }; }; then
17409 ac_hi=$ac_mid; break
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17413
17414 ac_lo=`expr $ac_mid + 1`
17415 if test $ac_lo -le $ac_mid; then
17416 ac_lo= ac_hi=
17417 break
17418 fi
17419 ac_mid=`expr 2 '*' $ac_mid + 1`
17420 fi
17421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17422 done
17423 else
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17426
17427 cat >conftest.$ac_ext <<_ACEOF
17428 /* confdefs.h. */
17429 _ACEOF
17430 cat confdefs.h >>conftest.$ac_ext
17431 cat >>conftest.$ac_ext <<_ACEOF
17432 /* end confdefs.h. */
17433 $ac_includes_default
17434 int
17435 main ()
17436 {
17437 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17438 test_array [0] = 0
17439
17440 ;
17441 return 0;
17442 }
17443 _ACEOF
17444 rm -f conftest.$ac_objext
17445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17446 (eval $ac_compile) 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } &&
17453 { ac_try='test -z "$ac_c_werror_flag"
17454 || test ! -s conftest.err'
17455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17456 (eval $ac_try) 2>&5
17457 ac_status=$?
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); }; } &&
17460 { ac_try='test -s conftest.$ac_objext'
17461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17462 (eval $ac_try) 2>&5
17463 ac_status=$?
17464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17465 (exit $ac_status); }; }; then
17466 ac_hi=-1 ac_mid=-1
17467 while :; do
17468 cat >conftest.$ac_ext <<_ACEOF
17469 /* confdefs.h. */
17470 _ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474 $ac_includes_default
17475 int
17476 main ()
17477 {
17478 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17479 test_array [0] = 0
17480
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 rm -f conftest.$ac_objext
17486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17487 (eval $ac_compile) 2>conftest.er1
17488 ac_status=$?
17489 grep -v '^ *+' conftest.er1 >conftest.err
17490 rm -f conftest.er1
17491 cat conftest.err >&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); } &&
17494 { ac_try='test -z "$ac_c_werror_flag"
17495 || test ! -s conftest.err'
17496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17497 (eval $ac_try) 2>&5
17498 ac_status=$?
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); }; } &&
17501 { ac_try='test -s conftest.$ac_objext'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17504 ac_status=$?
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; }; then
17507 ac_lo=$ac_mid; break
17508 else
17509 echo "$as_me: failed program was:" >&5
17510 sed 's/^/| /' conftest.$ac_ext >&5
17511
17512 ac_hi=`expr '(' $ac_mid ')' - 1`
17513 if test $ac_mid -le $ac_hi; then
17514 ac_lo= ac_hi=
17515 break
17516 fi
17517 ac_mid=`expr 2 '*' $ac_mid`
17518 fi
17519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17520 done
17521 else
17522 echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.$ac_ext >&5
17524
17525 ac_lo= ac_hi=
17526 fi
17527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17528 fi
17529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 # Binary search between lo and hi bounds.
17531 while test "x$ac_lo" != "x$ac_hi"; do
17532 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h. */
17539 $ac_includes_default
17540 int
17541 main ()
17542 {
17543 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17544 test_array [0] = 0
17545
17546 ;
17547 return 0;
17548 }
17549 _ACEOF
17550 rm -f conftest.$ac_objext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17552 (eval $ac_compile) 2>conftest.er1
17553 ac_status=$?
17554 grep -v '^ *+' conftest.er1 >conftest.err
17555 rm -f conftest.er1
17556 cat conftest.err >&5
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); } &&
17559 { ac_try='test -z "$ac_c_werror_flag"
17560 || test ! -s conftest.err'
17561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17562 (eval $ac_try) 2>&5
17563 ac_status=$?
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); }; } &&
17566 { ac_try='test -s conftest.$ac_objext'
17567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17568 (eval $ac_try) 2>&5
17569 ac_status=$?
17570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17571 (exit $ac_status); }; }; then
17572 ac_hi=$ac_mid
17573 else
17574 echo "$as_me: failed program was:" >&5
17575 sed 's/^/| /' conftest.$ac_ext >&5
17576
17577 ac_lo=`expr '(' $ac_mid ')' + 1`
17578 fi
17579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17580 done
17581 case $ac_lo in
17582 ?*) ac_cv_sizeof_short=$ac_lo;;
17583 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17584 See \`config.log' for more details." >&5
17585 echo "$as_me: error: cannot compute sizeof (short), 77
17586 See \`config.log' for more details." >&2;}
17587 { (exit 1); exit 1; }; } ;;
17588 esac
17589 else
17590 if test "$cross_compiling" = yes; then
17591 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17592 See \`config.log' for more details." >&5
17593 echo "$as_me: error: cannot run test program while cross compiling
17594 See \`config.log' for more details." >&2;}
17595 { (exit 1); exit 1; }; }
17596 else
17597 cat >conftest.$ac_ext <<_ACEOF
17598 /* confdefs.h. */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 $ac_includes_default
17604 long longval () { return (long) (sizeof (short)); }
17605 unsigned long ulongval () { return (long) (sizeof (short)); }
17606 #include <stdio.h>
17607 #include <stdlib.h>
17608 int
17609 main ()
17610 {
17611
17612 FILE *f = fopen ("conftest.val", "w");
17613 if (! f)
17614 exit (1);
17615 if (((long) (sizeof (short))) < 0)
17616 {
17617 long i = longval ();
17618 if (i != ((long) (sizeof (short))))
17619 exit (1);
17620 fprintf (f, "%ld\n", i);
17621 }
17622 else
17623 {
17624 unsigned long i = ulongval ();
17625 if (i != ((long) (sizeof (short))))
17626 exit (1);
17627 fprintf (f, "%lu\n", i);
17628 }
17629 exit (ferror (f) || fclose (f) != 0);
17630
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 rm -f conftest$ac_exeext
17636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17637 (eval $ac_link) 2>&5
17638 ac_status=$?
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17642 (eval $ac_try) 2>&5
17643 ac_status=$?
17644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17645 (exit $ac_status); }; }; then
17646 ac_cv_sizeof_short=`cat conftest.val`
17647 else
17648 echo "$as_me: program exited with status $ac_status" >&5
17649 echo "$as_me: failed program was:" >&5
17650 sed 's/^/| /' conftest.$ac_ext >&5
17651
17652 ( exit $ac_status )
17653 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17654 See \`config.log' for more details." >&5
17655 echo "$as_me: error: cannot compute sizeof (short), 77
17656 See \`config.log' for more details." >&2;}
17657 { (exit 1); exit 1; }; }
17658 fi
17659 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17660 fi
17661 fi
17662 rm -f conftest.val
17663 else
17664 ac_cv_sizeof_short=0
17665 fi
17666 fi
17667 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17668 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17669 cat >>confdefs.h <<_ACEOF
17670 #define SIZEOF_SHORT $ac_cv_sizeof_short
17671 _ACEOF
17672
17673
17674 echo "$as_me:$LINENO: checking for void *" >&5
17675 echo $ECHO_N "checking for void *... $ECHO_C" >&6
17676 if test "${ac_cv_type_void_p+set}" = set; then
17677 echo $ECHO_N "(cached) $ECHO_C" >&6
17678 else
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
17684 /* end confdefs.h. */
17685 $ac_includes_default
17686 int
17687 main ()
17688 {
17689 if ((void * *) 0)
17690 return 0;
17691 if (sizeof (void *))
17692 return 0;
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 rm -f conftest.$ac_objext
17698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17699 (eval $ac_compile) 2>conftest.er1
17700 ac_status=$?
17701 grep -v '^ *+' conftest.er1 >conftest.err
17702 rm -f conftest.er1
17703 cat conftest.err >&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); } &&
17706 { ac_try='test -z "$ac_c_werror_flag"
17707 || test ! -s conftest.err'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17710 ac_status=$?
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; } &&
17713 { ac_try='test -s conftest.$ac_objext'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; }; then
17719 ac_cv_type_void_p=yes
17720 else
17721 echo "$as_me: failed program was:" >&5
17722 sed 's/^/| /' conftest.$ac_ext >&5
17723
17724 ac_cv_type_void_p=no
17725 fi
17726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17727 fi
17728 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
17729 echo "${ECHO_T}$ac_cv_type_void_p" >&6
17730
17731 echo "$as_me:$LINENO: checking size of void *" >&5
17732 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
17733 if test "${ac_cv_sizeof_void_p+set}" = set; then
17734 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 else
17736 if test "$ac_cv_type_void_p" = yes; then
17737 # The cast to unsigned long works around a bug in the HP C Compiler
17738 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17739 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17740 # This bug is HP SR number 8606223364.
17741 if test "$cross_compiling" = yes; then
17742 # Depending upon the size, compute the lo and hi bounds.
17743 cat >conftest.$ac_ext <<_ACEOF
17744 /* confdefs.h. */
17745 _ACEOF
17746 cat confdefs.h >>conftest.$ac_ext
17747 cat >>conftest.$ac_ext <<_ACEOF
17748 /* end confdefs.h. */
17749 $ac_includes_default
17750 int
17751 main ()
17752 {
17753 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
17754 test_array [0] = 0
17755
17756 ;
17757 return 0;
17758 }
17759 _ACEOF
17760 rm -f conftest.$ac_objext
17761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17762 (eval $ac_compile) 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } &&
17769 { ac_try='test -z "$ac_c_werror_flag"
17770 || test ! -s conftest.err'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17773 ac_status=$?
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest.$ac_objext'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; }; then
17782 ac_lo=0 ac_mid=0
17783 while :; do
17784 cat >conftest.$ac_ext <<_ACEOF
17785 /* confdefs.h. */
17786 _ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17790 $ac_includes_default
17791 int
17792 main ()
17793 {
17794 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17795 test_array [0] = 0
17796
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 rm -f conftest.$ac_objext
17802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17803 (eval $ac_compile) 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } &&
17810 { ac_try='test -z "$ac_c_werror_flag"
17811 || test ! -s conftest.err'
17812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17813 (eval $ac_try) 2>&5
17814 ac_status=$?
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); }; } &&
17817 { ac_try='test -s conftest.$ac_objext'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; }; then
17823 ac_hi=$ac_mid; break
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17827
17828 ac_lo=`expr $ac_mid + 1`
17829 if test $ac_lo -le $ac_mid; then
17830 ac_lo= ac_hi=
17831 break
17832 fi
17833 ac_mid=`expr 2 '*' $ac_mid + 1`
17834 fi
17835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 done
17837 else
17838 echo "$as_me: failed program was:" >&5
17839 sed 's/^/| /' conftest.$ac_ext >&5
17840
17841 cat >conftest.$ac_ext <<_ACEOF
17842 /* confdefs.h. */
17843 _ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 $ac_includes_default
17848 int
17849 main ()
17850 {
17851 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
17852 test_array [0] = 0
17853
17854 ;
17855 return 0;
17856 }
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17860 (eval $ac_compile) 2>conftest.er1
17861 ac_status=$?
17862 grep -v '^ *+' conftest.er1 >conftest.err
17863 rm -f conftest.er1
17864 cat conftest.err >&5
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); } &&
17867 { ac_try='test -z "$ac_c_werror_flag"
17868 || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest.$ac_objext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_hi=-1 ac_mid=-1
17881 while :; do
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 $ac_includes_default
17889 int
17890 main ()
17891 {
17892 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
17893 test_array [0] = 0
17894
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17901 (eval $ac_compile) 2>conftest.er1
17902 ac_status=$?
17903 grep -v '^ *+' conftest.er1 >conftest.err
17904 rm -f conftest.er1
17905 cat conftest.err >&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); } &&
17908 { ac_try='test -z "$ac_c_werror_flag"
17909 || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try='test -s conftest.$ac_objext'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17918 ac_status=$?
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; }; then
17921 ac_lo=$ac_mid; break
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 ac_hi=`expr '(' $ac_mid ')' - 1`
17927 if test $ac_mid -le $ac_hi; then
17928 ac_lo= ac_hi=
17929 break
17930 fi
17931 ac_mid=`expr 2 '*' $ac_mid`
17932 fi
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 done
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 ac_lo= ac_hi=
17940 fi
17941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17942 fi
17943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17944 # Binary search between lo and hi bounds.
17945 while test "x$ac_lo" != "x$ac_hi"; do
17946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17947 cat >conftest.$ac_ext <<_ACEOF
17948 /* confdefs.h. */
17949 _ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 $ac_includes_default
17954 int
17955 main ()
17956 {
17957 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
17958 test_array [0] = 0
17959
17960 ;
17961 return 0;
17962 }
17963 _ACEOF
17964 rm -f conftest.$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17967 ac_status=$?
17968 grep -v '^ *+' conftest.er1 >conftest.err
17969 rm -f conftest.er1
17970 cat conftest.err >&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try='test -z "$ac_c_werror_flag"
17974 || test ! -s conftest.err'
17975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17976 (eval $ac_try) 2>&5
17977 ac_status=$?
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); }; } &&
17980 { ac_try='test -s conftest.$ac_objext'
17981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17982 (eval $ac_try) 2>&5
17983 ac_status=$?
17984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17985 (exit $ac_status); }; }; then
17986 ac_hi=$ac_mid
17987 else
17988 echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991 ac_lo=`expr '(' $ac_mid ')' + 1`
17992 fi
17993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17994 done
17995 case $ac_lo in
17996 ?*) ac_cv_sizeof_void_p=$ac_lo;;
17997 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
17998 See \`config.log' for more details." >&5
17999 echo "$as_me: error: cannot compute sizeof (void *), 77
18000 See \`config.log' for more details." >&2;}
18001 { (exit 1); exit 1; }; } ;;
18002 esac
18003 else
18004 if test "$cross_compiling" = yes; then
18005 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18006 See \`config.log' for more details." >&5
18007 echo "$as_me: error: cannot run test program while cross compiling
18008 See \`config.log' for more details." >&2;}
18009 { (exit 1); exit 1; }; }
18010 else
18011 cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h. */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h. */
18017 $ac_includes_default
18018 long longval () { return (long) (sizeof (void *)); }
18019 unsigned long ulongval () { return (long) (sizeof (void *)); }
18020 #include <stdio.h>
18021 #include <stdlib.h>
18022 int
18023 main ()
18024 {
18025
18026 FILE *f = fopen ("conftest.val", "w");
18027 if (! f)
18028 exit (1);
18029 if (((long) (sizeof (void *))) < 0)
18030 {
18031 long i = longval ();
18032 if (i != ((long) (sizeof (void *))))
18033 exit (1);
18034 fprintf (f, "%ld\n", i);
18035 }
18036 else
18037 {
18038 unsigned long i = ulongval ();
18039 if (i != ((long) (sizeof (void *))))
18040 exit (1);
18041 fprintf (f, "%lu\n", i);
18042 }
18043 exit (ferror (f) || fclose (f) != 0);
18044
18045 ;
18046 return 0;
18047 }
18048 _ACEOF
18049 rm -f conftest$ac_exeext
18050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18051 (eval $ac_link) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18056 (eval $ac_try) 2>&5
18057 ac_status=$?
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); }; }; then
18060 ac_cv_sizeof_void_p=`cat conftest.val`
18061 else
18062 echo "$as_me: program exited with status $ac_status" >&5
18063 echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 ( exit $ac_status )
18067 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18068 See \`config.log' for more details." >&5
18069 echo "$as_me: error: cannot compute sizeof (void *), 77
18070 See \`config.log' for more details." >&2;}
18071 { (exit 1); exit 1; }; }
18072 fi
18073 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18074 fi
18075 fi
18076 rm -f conftest.val
18077 else
18078 ac_cv_sizeof_void_p=0
18079 fi
18080 fi
18081 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18082 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18083 cat >>confdefs.h <<_ACEOF
18084 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18085 _ACEOF
18086
18087
18088 echo "$as_me:$LINENO: checking for int" >&5
18089 echo $ECHO_N "checking for int... $ECHO_C" >&6
18090 if test "${ac_cv_type_int+set}" = set; then
18091 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 else
18093 cat >conftest.$ac_ext <<_ACEOF
18094 /* confdefs.h. */
18095 _ACEOF
18096 cat confdefs.h >>conftest.$ac_ext
18097 cat >>conftest.$ac_ext <<_ACEOF
18098 /* end confdefs.h. */
18099 $ac_includes_default
18100 int
18101 main ()
18102 {
18103 if ((int *) 0)
18104 return 0;
18105 if (sizeof (int))
18106 return 0;
18107 ;
18108 return 0;
18109 }
18110 _ACEOF
18111 rm -f conftest.$ac_objext
18112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18113 (eval $ac_compile) 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } &&
18120 { ac_try='test -z "$ac_c_werror_flag"
18121 || test ! -s conftest.err'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18124 ac_status=$?
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; } &&
18127 { ac_try='test -s conftest.$ac_objext'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; }; then
18133 ac_cv_type_int=yes
18134 else
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18137
18138 ac_cv_type_int=no
18139 fi
18140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18141 fi
18142 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18143 echo "${ECHO_T}$ac_cv_type_int" >&6
18144
18145 echo "$as_me:$LINENO: checking size of int" >&5
18146 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18147 if test "${ac_cv_sizeof_int+set}" = set; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 else
18150 if test "$ac_cv_type_int" = yes; then
18151 # The cast to unsigned long works around a bug in the HP C Compiler
18152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18154 # This bug is HP SR number 8606223364.
18155 if test "$cross_compiling" = yes; then
18156 # Depending upon the size, compute the lo and hi bounds.
18157 cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h. */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 $ac_includes_default
18164 int
18165 main ()
18166 {
18167 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18168 test_array [0] = 0
18169
18170 ;
18171 return 0;
18172 }
18173 _ACEOF
18174 rm -f conftest.$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18177 ac_status=$?
18178 grep -v '^ *+' conftest.er1 >conftest.err
18179 rm -f conftest.er1
18180 cat conftest.err >&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try='test -z "$ac_c_werror_flag"
18184 || test ! -s conftest.err'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18187 ac_status=$?
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; } &&
18190 { ac_try='test -s conftest.$ac_objext'
18191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18192 (eval $ac_try) 2>&5
18193 ac_status=$?
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); }; }; then
18196 ac_lo=0 ac_mid=0
18197 while :; do
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 $ac_includes_default
18205 int
18206 main ()
18207 {
18208 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18209 test_array [0] = 0
18210
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 rm -f conftest.$ac_objext
18216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18217 (eval $ac_compile) 2>conftest.er1
18218 ac_status=$?
18219 grep -v '^ *+' conftest.er1 >conftest.err
18220 rm -f conftest.er1
18221 cat conftest.err >&5
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); } &&
18224 { ac_try='test -z "$ac_c_werror_flag"
18225 || test ! -s conftest.err'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; } &&
18231 { ac_try='test -s conftest.$ac_objext'
18232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18233 (eval $ac_try) 2>&5
18234 ac_status=$?
18235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236 (exit $ac_status); }; }; then
18237 ac_hi=$ac_mid; break
18238 else
18239 echo "$as_me: failed program was:" >&5
18240 sed 's/^/| /' conftest.$ac_ext >&5
18241
18242 ac_lo=`expr $ac_mid + 1`
18243 if test $ac_lo -le $ac_mid; then
18244 ac_lo= ac_hi=
18245 break
18246 fi
18247 ac_mid=`expr 2 '*' $ac_mid + 1`
18248 fi
18249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18250 done
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18254
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 $ac_includes_default
18262 int
18263 main ()
18264 {
18265 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
18266 test_array [0] = 0
18267
18268 ;
18269 return 0;
18270 }
18271 _ACEOF
18272 rm -f conftest.$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag"
18282 || test ! -s conftest.err'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18285 ac_status=$?
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; } &&
18288 { ac_try='test -s conftest.$ac_objext'
18289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18290 (eval $ac_try) 2>&5
18291 ac_status=$?
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); }; }; then
18294 ac_hi=-1 ac_mid=-1
18295 while :; do
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 $ac_includes_default
18303 int
18304 main ()
18305 {
18306 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
18307 test_array [0] = 0
18308
18309 ;
18310 return 0;
18311 }
18312 _ACEOF
18313 rm -f conftest.$ac_objext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18315 (eval $ac_compile) 2>conftest.er1
18316 ac_status=$?
18317 grep -v '^ *+' conftest.er1 >conftest.err
18318 rm -f conftest.er1
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try='test -z "$ac_c_werror_flag"
18323 || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18326 ac_status=$?
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18332 ac_status=$?
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 ac_lo=$ac_mid; break
18336 else
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18339
18340 ac_hi=`expr '(' $ac_mid ')' - 1`
18341 if test $ac_mid -le $ac_hi; then
18342 ac_lo= ac_hi=
18343 break
18344 fi
18345 ac_mid=`expr 2 '*' $ac_mid`
18346 fi
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 done
18349 else
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18352
18353 ac_lo= ac_hi=
18354 fi
18355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18356 fi
18357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18358 # Binary search between lo and hi bounds.
18359 while test "x$ac_lo" != "x$ac_hi"; do
18360 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 $ac_includes_default
18368 int
18369 main ()
18370 {
18371 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
18372 test_array [0] = 0
18373
18374 ;
18375 return 0;
18376 }
18377 _ACEOF
18378 rm -f conftest.$ac_objext
18379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18380 (eval $ac_compile) 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } &&
18387 { ac_try='test -z "$ac_c_werror_flag"
18388 || test ! -s conftest.err'
18389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18390 (eval $ac_try) 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }; } &&
18394 { ac_try='test -s conftest.$ac_objext'
18395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18396 (eval $ac_try) 2>&5
18397 ac_status=$?
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); }; }; then
18400 ac_hi=$ac_mid
18401 else
18402 echo "$as_me: failed program was:" >&5
18403 sed 's/^/| /' conftest.$ac_ext >&5
18404
18405 ac_lo=`expr '(' $ac_mid ')' + 1`
18406 fi
18407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18408 done
18409 case $ac_lo in
18410 ?*) ac_cv_sizeof_int=$ac_lo;;
18411 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18412 See \`config.log' for more details." >&5
18413 echo "$as_me: error: cannot compute sizeof (int), 77
18414 See \`config.log' for more details." >&2;}
18415 { (exit 1); exit 1; }; } ;;
18416 esac
18417 else
18418 if test "$cross_compiling" = yes; then
18419 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18420 See \`config.log' for more details." >&5
18421 echo "$as_me: error: cannot run test program while cross compiling
18422 See \`config.log' for more details." >&2;}
18423 { (exit 1); exit 1; }; }
18424 else
18425 cat >conftest.$ac_ext <<_ACEOF
18426 /* confdefs.h. */
18427 _ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h. */
18431 $ac_includes_default
18432 long longval () { return (long) (sizeof (int)); }
18433 unsigned long ulongval () { return (long) (sizeof (int)); }
18434 #include <stdio.h>
18435 #include <stdlib.h>
18436 int
18437 main ()
18438 {
18439
18440 FILE *f = fopen ("conftest.val", "w");
18441 if (! f)
18442 exit (1);
18443 if (((long) (sizeof (int))) < 0)
18444 {
18445 long i = longval ();
18446 if (i != ((long) (sizeof (int))))
18447 exit (1);
18448 fprintf (f, "%ld\n", i);
18449 }
18450 else
18451 {
18452 unsigned long i = ulongval ();
18453 if (i != ((long) (sizeof (int))))
18454 exit (1);
18455 fprintf (f, "%lu\n", i);
18456 }
18457 exit (ferror (f) || fclose (f) != 0);
18458
18459 ;
18460 return 0;
18461 }
18462 _ACEOF
18463 rm -f conftest$ac_exeext
18464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18465 (eval $ac_link) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18470 (eval $ac_try) 2>&5
18471 ac_status=$?
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; }; then
18474 ac_cv_sizeof_int=`cat conftest.val`
18475 else
18476 echo "$as_me: program exited with status $ac_status" >&5
18477 echo "$as_me: failed program was:" >&5
18478 sed 's/^/| /' conftest.$ac_ext >&5
18479
18480 ( exit $ac_status )
18481 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
18482 See \`config.log' for more details." >&5
18483 echo "$as_me: error: cannot compute sizeof (int), 77
18484 See \`config.log' for more details." >&2;}
18485 { (exit 1); exit 1; }; }
18486 fi
18487 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18488 fi
18489 fi
18490 rm -f conftest.val
18491 else
18492 ac_cv_sizeof_int=0
18493 fi
18494 fi
18495 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
18496 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
18497 cat >>confdefs.h <<_ACEOF
18498 #define SIZEOF_INT $ac_cv_sizeof_int
18499 _ACEOF
18500
18501
18502 echo "$as_me:$LINENO: checking for long" >&5
18503 echo $ECHO_N "checking for long... $ECHO_C" >&6
18504 if test "${ac_cv_type_long+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507 cat >conftest.$ac_ext <<_ACEOF
18508 /* confdefs.h. */
18509 _ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 $ac_includes_default
18514 int
18515 main ()
18516 {
18517 if ((long *) 0)
18518 return 0;
18519 if (sizeof (long))
18520 return 0;
18521 ;
18522 return 0;
18523 }
18524 _ACEOF
18525 rm -f conftest.$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527 (eval $ac_compile) 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try='test -s conftest.$ac_objext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18544 ac_status=$?
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_type_long=yes
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18551
18552 ac_cv_type_long=no
18553 fi
18554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18555 fi
18556 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
18557 echo "${ECHO_T}$ac_cv_type_long" >&6
18558
18559 echo "$as_me:$LINENO: checking size of long" >&5
18560 echo $ECHO_N "checking size of long... $ECHO_C" >&6
18561 if test "${ac_cv_sizeof_long+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564 if test "$ac_cv_type_long" = yes; then
18565 # The cast to unsigned long works around a bug in the HP C Compiler
18566 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18567 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18568 # This bug is HP SR number 8606223364.
18569 if test "$cross_compiling" = yes; then
18570 # Depending upon the size, compute the lo and hi bounds.
18571 cat >conftest.$ac_ext <<_ACEOF
18572 /* confdefs.h. */
18573 _ACEOF
18574 cat confdefs.h >>conftest.$ac_ext
18575 cat >>conftest.$ac_ext <<_ACEOF
18576 /* end confdefs.h. */
18577 $ac_includes_default
18578 int
18579 main ()
18580 {
18581 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
18582 test_array [0] = 0
18583
18584 ;
18585 return 0;
18586 }
18587 _ACEOF
18588 rm -f conftest.$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18591 ac_status=$?
18592 grep -v '^ *+' conftest.er1 >conftest.err
18593 rm -f conftest.er1
18594 cat conftest.err >&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try='test -z "$ac_c_werror_flag"
18598 || test ! -s conftest.err'
18599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18600 (eval $ac_try) 2>&5
18601 ac_status=$?
18602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18603 (exit $ac_status); }; } &&
18604 { ac_try='test -s conftest.$ac_objext'
18605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18606 (eval $ac_try) 2>&5
18607 ac_status=$?
18608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18609 (exit $ac_status); }; }; then
18610 ac_lo=0 ac_mid=0
18611 while :; do
18612 cat >conftest.$ac_ext <<_ACEOF
18613 /* confdefs.h. */
18614 _ACEOF
18615 cat confdefs.h >>conftest.$ac_ext
18616 cat >>conftest.$ac_ext <<_ACEOF
18617 /* end confdefs.h. */
18618 $ac_includes_default
18619 int
18620 main ()
18621 {
18622 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18623 test_array [0] = 0
18624
18625 ;
18626 return 0;
18627 }
18628 _ACEOF
18629 rm -f conftest.$ac_objext
18630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18631 (eval $ac_compile) 2>conftest.er1
18632 ac_status=$?
18633 grep -v '^ *+' conftest.er1 >conftest.err
18634 rm -f conftest.er1
18635 cat conftest.err >&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); } &&
18638 { ac_try='test -z "$ac_c_werror_flag"
18639 || test ! -s conftest.err'
18640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18641 (eval $ac_try) 2>&5
18642 ac_status=$?
18643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18644 (exit $ac_status); }; } &&
18645 { ac_try='test -s conftest.$ac_objext'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 ac_hi=$ac_mid; break
18652 else
18653 echo "$as_me: failed program was:" >&5
18654 sed 's/^/| /' conftest.$ac_ext >&5
18655
18656 ac_lo=`expr $ac_mid + 1`
18657 if test $ac_lo -le $ac_mid; then
18658 ac_lo= ac_hi=
18659 break
18660 fi
18661 ac_mid=`expr 2 '*' $ac_mid + 1`
18662 fi
18663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18664 done
18665 else
18666 echo "$as_me: failed program was:" >&5
18667 sed 's/^/| /' conftest.$ac_ext >&5
18668
18669 cat >conftest.$ac_ext <<_ACEOF
18670 /* confdefs.h. */
18671 _ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 $ac_includes_default
18676 int
18677 main ()
18678 {
18679 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
18680 test_array [0] = 0
18681
18682 ;
18683 return 0;
18684 }
18685 _ACEOF
18686 rm -f conftest.$ac_objext
18687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18688 (eval $ac_compile) 2>conftest.er1
18689 ac_status=$?
18690 grep -v '^ *+' conftest.er1 >conftest.err
18691 rm -f conftest.er1
18692 cat conftest.err >&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); } &&
18695 { ac_try='test -z "$ac_c_werror_flag"
18696 || test ! -s conftest.err'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18699 ac_status=$?
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; } &&
18702 { ac_try='test -s conftest.$ac_objext'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; }; then
18708 ac_hi=-1 ac_mid=-1
18709 while :; do
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 $ac_includes_default
18717 int
18718 main ()
18719 {
18720 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
18721 test_array [0] = 0
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 rm -f conftest.$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729 (eval $ac_compile) 2>conftest.er1
18730 ac_status=$?
18731 grep -v '^ *+' conftest.er1 >conftest.err
18732 rm -f conftest.er1
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -z "$ac_c_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try='test -s conftest.$ac_objext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18746 ac_status=$?
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_lo=$ac_mid; break
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 ac_hi=`expr '(' $ac_mid ')' - 1`
18755 if test $ac_mid -le $ac_hi; then
18756 ac_lo= ac_hi=
18757 break
18758 fi
18759 ac_mid=`expr 2 '*' $ac_mid`
18760 fi
18761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18762 done
18763 else
18764 echo "$as_me: failed program was:" >&5
18765 sed 's/^/| /' conftest.$ac_ext >&5
18766
18767 ac_lo= ac_hi=
18768 fi
18769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18770 fi
18771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18772 # Binary search between lo and hi bounds.
18773 while test "x$ac_lo" != "x$ac_hi"; do
18774 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18775 cat >conftest.$ac_ext <<_ACEOF
18776 /* confdefs.h. */
18777 _ACEOF
18778 cat confdefs.h >>conftest.$ac_ext
18779 cat >>conftest.$ac_ext <<_ACEOF
18780 /* end confdefs.h. */
18781 $ac_includes_default
18782 int
18783 main ()
18784 {
18785 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
18786 test_array [0] = 0
18787
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18794 (eval $ac_compile) 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -z "$ac_c_werror_flag"
18802 || test ! -s conftest.err'
18803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804 (eval $ac_try) 2>&5
18805 ac_status=$?
18806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807 (exit $ac_status); }; } &&
18808 { ac_try='test -s conftest.$ac_objext'
18809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810 (eval $ac_try) 2>&5
18811 ac_status=$?
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); }; }; then
18814 ac_hi=$ac_mid
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 ac_lo=`expr '(' $ac_mid ')' + 1`
18820 fi
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 done
18823 case $ac_lo in
18824 ?*) ac_cv_sizeof_long=$ac_lo;;
18825 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18826 See \`config.log' for more details." >&5
18827 echo "$as_me: error: cannot compute sizeof (long), 77
18828 See \`config.log' for more details." >&2;}
18829 { (exit 1); exit 1; }; } ;;
18830 esac
18831 else
18832 if test "$cross_compiling" = yes; then
18833 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18834 See \`config.log' for more details." >&5
18835 echo "$as_me: error: cannot run test program while cross compiling
18836 See \`config.log' for more details." >&2;}
18837 { (exit 1); exit 1; }; }
18838 else
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18846 long longval () { return (long) (sizeof (long)); }
18847 unsigned long ulongval () { return (long) (sizeof (long)); }
18848 #include <stdio.h>
18849 #include <stdlib.h>
18850 int
18851 main ()
18852 {
18853
18854 FILE *f = fopen ("conftest.val", "w");
18855 if (! f)
18856 exit (1);
18857 if (((long) (sizeof (long))) < 0)
18858 {
18859 long i = longval ();
18860 if (i != ((long) (sizeof (long))))
18861 exit (1);
18862 fprintf (f, "%ld\n", i);
18863 }
18864 else
18865 {
18866 unsigned long i = ulongval ();
18867 if (i != ((long) (sizeof (long))))
18868 exit (1);
18869 fprintf (f, "%lu\n", i);
18870 }
18871 exit (ferror (f) || fclose (f) != 0);
18872
18873 ;
18874 return 0;
18875 }
18876 _ACEOF
18877 rm -f conftest$ac_exeext
18878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18879 (eval $ac_link) 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18885 ac_status=$?
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; }; then
18888 ac_cv_sizeof_long=`cat conftest.val`
18889 else
18890 echo "$as_me: program exited with status $ac_status" >&5
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18893
18894 ( exit $ac_status )
18895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
18896 See \`config.log' for more details." >&5
18897 echo "$as_me: error: cannot compute sizeof (long), 77
18898 See \`config.log' for more details." >&2;}
18899 { (exit 1); exit 1; }; }
18900 fi
18901 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18902 fi
18903 fi
18904 rm -f conftest.val
18905 else
18906 ac_cv_sizeof_long=0
18907 fi
18908 fi
18909 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
18910 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
18911 cat >>confdefs.h <<_ACEOF
18912 #define SIZEOF_LONG $ac_cv_sizeof_long
18913 _ACEOF
18914
18915
18916 echo "$as_me:$LINENO: checking for size_t" >&5
18917 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
18918 if test "${ac_cv_type_size_t+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18920 else
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18928 int
18929 main ()
18930 {
18931 if ((size_t *) 0)
18932 return 0;
18933 if (sizeof (size_t))
18934 return 0;
18935 ;
18936 return 0;
18937 }
18938 _ACEOF
18939 rm -f conftest.$ac_objext
18940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18941 (eval $ac_compile) 2>conftest.er1
18942 ac_status=$?
18943 grep -v '^ *+' conftest.er1 >conftest.err
18944 rm -f conftest.er1
18945 cat conftest.err >&5
18946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18947 (exit $ac_status); } &&
18948 { ac_try='test -z "$ac_c_werror_flag"
18949 || test ! -s conftest.err'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; } &&
18955 { ac_try='test -s conftest.$ac_objext'
18956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18957 (eval $ac_try) 2>&5
18958 ac_status=$?
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); }; }; then
18961 ac_cv_type_size_t=yes
18962 else
18963 echo "$as_me: failed program was:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18965
18966 ac_cv_type_size_t=no
18967 fi
18968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18969 fi
18970 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18971 echo "${ECHO_T}$ac_cv_type_size_t" >&6
18972
18973 echo "$as_me:$LINENO: checking size of size_t" >&5
18974 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
18975 if test "${ac_cv_sizeof_size_t+set}" = set; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 else
18978 if test "$ac_cv_type_size_t" = yes; then
18979 # The cast to unsigned long works around a bug in the HP C Compiler
18980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18982 # This bug is HP SR number 8606223364.
18983 if test "$cross_compiling" = yes; then
18984 # Depending upon the size, compute the lo and hi bounds.
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 int
18993 main ()
18994 {
18995 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
18996 test_array [0] = 0
18997
18998 ;
18999 return 0;
19000 }
19001 _ACEOF
19002 rm -f conftest.$ac_objext
19003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19004 (eval $ac_compile) 2>conftest.er1
19005 ac_status=$?
19006 grep -v '^ *+' conftest.er1 >conftest.err
19007 rm -f conftest.er1
19008 cat conftest.err >&5
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); } &&
19011 { ac_try='test -z "$ac_c_werror_flag"
19012 || test ! -s conftest.err'
19013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19014 (eval $ac_try) 2>&5
19015 ac_status=$?
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); }; } &&
19018 { ac_try='test -s conftest.$ac_objext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19021 ac_status=$?
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19024 ac_lo=0 ac_mid=0
19025 while :; do
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 $ac_includes_default
19033 int
19034 main ()
19035 {
19036 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19037 test_array [0] = 0
19038
19039 ;
19040 return 0;
19041 }
19042 _ACEOF
19043 rm -f conftest.$ac_objext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19045 (eval $ac_compile) 2>conftest.er1
19046 ac_status=$?
19047 grep -v '^ *+' conftest.er1 >conftest.err
19048 rm -f conftest.er1
19049 cat conftest.err >&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); } &&
19052 { ac_try='test -z "$ac_c_werror_flag"
19053 || test ! -s conftest.err'
19054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19055 (eval $ac_try) 2>&5
19056 ac_status=$?
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); }; } &&
19059 { ac_try='test -s conftest.$ac_objext'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; }; then
19065 ac_hi=$ac_mid; break
19066 else
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.$ac_ext >&5
19069
19070 ac_lo=`expr $ac_mid + 1`
19071 if test $ac_lo -le $ac_mid; then
19072 ac_lo= ac_hi=
19073 break
19074 fi
19075 ac_mid=`expr 2 '*' $ac_mid + 1`
19076 fi
19077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19078 done
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19082
19083 cat >conftest.$ac_ext <<_ACEOF
19084 /* confdefs.h. */
19085 _ACEOF
19086 cat confdefs.h >>conftest.$ac_ext
19087 cat >>conftest.$ac_ext <<_ACEOF
19088 /* end confdefs.h. */
19089 $ac_includes_default
19090 int
19091 main ()
19092 {
19093 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19094 test_array [0] = 0
19095
19096 ;
19097 return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest.$ac_objext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19102 (eval $ac_compile) 2>conftest.er1
19103 ac_status=$?
19104 grep -v '^ *+' conftest.er1 >conftest.err
19105 rm -f conftest.er1
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } &&
19109 { ac_try='test -z "$ac_c_werror_flag"
19110 || test ! -s conftest.err'
19111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19112 (eval $ac_try) 2>&5
19113 ac_status=$?
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); }; } &&
19116 { ac_try='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19119 ac_status=$?
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 ac_hi=-1 ac_mid=-1
19123 while :; do
19124 cat >conftest.$ac_ext <<_ACEOF
19125 /* confdefs.h. */
19126 _ACEOF
19127 cat confdefs.h >>conftest.$ac_ext
19128 cat >>conftest.$ac_ext <<_ACEOF
19129 /* end confdefs.h. */
19130 $ac_includes_default
19131 int
19132 main ()
19133 {
19134 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19135 test_array [0] = 0
19136
19137 ;
19138 return 0;
19139 }
19140 _ACEOF
19141 rm -f conftest.$ac_objext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19143 (eval $ac_compile) 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try='test -z "$ac_c_werror_flag"
19151 || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try='test -s conftest.$ac_objext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_lo=$ac_mid; break
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168 ac_hi=`expr '(' $ac_mid ')' - 1`
19169 if test $ac_mid -le $ac_hi; then
19170 ac_lo= ac_hi=
19171 break
19172 fi
19173 ac_mid=`expr 2 '*' $ac_mid`
19174 fi
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19176 done
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 ac_lo= ac_hi=
19182 fi
19183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19184 fi
19185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19186 # Binary search between lo and hi bounds.
19187 while test "x$ac_lo" != "x$ac_hi"; do
19188 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19189 cat >conftest.$ac_ext <<_ACEOF
19190 /* confdefs.h. */
19191 _ACEOF
19192 cat confdefs.h >>conftest.$ac_ext
19193 cat >>conftest.$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 $ac_includes_default
19196 int
19197 main ()
19198 {
19199 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19200 test_array [0] = 0
19201
19202 ;
19203 return 0;
19204 }
19205 _ACEOF
19206 rm -f conftest.$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19209 ac_status=$?
19210 grep -v '^ *+' conftest.er1 >conftest.err
19211 rm -f conftest.er1
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try='test -z "$ac_c_werror_flag"
19216 || test ! -s conftest.err'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19219 ac_status=$?
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; } &&
19222 { ac_try='test -s conftest.$ac_objext'
19223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19224 (eval $ac_try) 2>&5
19225 ac_status=$?
19226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19227 (exit $ac_status); }; }; then
19228 ac_hi=$ac_mid
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19232
19233 ac_lo=`expr '(' $ac_mid ')' + 1`
19234 fi
19235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19236 done
19237 case $ac_lo in
19238 ?*) ac_cv_sizeof_size_t=$ac_lo;;
19239 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19240 See \`config.log' for more details." >&5
19241 echo "$as_me: error: cannot compute sizeof (size_t), 77
19242 See \`config.log' for more details." >&2;}
19243 { (exit 1); exit 1; }; } ;;
19244 esac
19245 else
19246 if test "$cross_compiling" = yes; then
19247 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19248 See \`config.log' for more details." >&5
19249 echo "$as_me: error: cannot run test program while cross compiling
19250 See \`config.log' for more details." >&2;}
19251 { (exit 1); exit 1; }; }
19252 else
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 $ac_includes_default
19260 long longval () { return (long) (sizeof (size_t)); }
19261 unsigned long ulongval () { return (long) (sizeof (size_t)); }
19262 #include <stdio.h>
19263 #include <stdlib.h>
19264 int
19265 main ()
19266 {
19267
19268 FILE *f = fopen ("conftest.val", "w");
19269 if (! f)
19270 exit (1);
19271 if (((long) (sizeof (size_t))) < 0)
19272 {
19273 long i = longval ();
19274 if (i != ((long) (sizeof (size_t))))
19275 exit (1);
19276 fprintf (f, "%ld\n", i);
19277 }
19278 else
19279 {
19280 unsigned long i = ulongval ();
19281 if (i != ((long) (sizeof (size_t))))
19282 exit (1);
19283 fprintf (f, "%lu\n", i);
19284 }
19285 exit (ferror (f) || fclose (f) != 0);
19286
19287 ;
19288 return 0;
19289 }
19290 _ACEOF
19291 rm -f conftest$ac_exeext
19292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19293 (eval $ac_link) 2>&5
19294 ac_status=$?
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19299 ac_status=$?
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 ac_cv_sizeof_size_t=`cat conftest.val`
19303 else
19304 echo "$as_me: program exited with status $ac_status" >&5
19305 echo "$as_me: failed program was:" >&5
19306 sed 's/^/| /' conftest.$ac_ext >&5
19307
19308 ( exit $ac_status )
19309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
19310 See \`config.log' for more details." >&5
19311 echo "$as_me: error: cannot compute sizeof (size_t), 77
19312 See \`config.log' for more details." >&2;}
19313 { (exit 1); exit 1; }; }
19314 fi
19315 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19316 fi
19317 fi
19318 rm -f conftest.val
19319 else
19320 ac_cv_sizeof_size_t=0
19321 fi
19322 fi
19323 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
19324 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
19325 cat >>confdefs.h <<_ACEOF
19326 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
19327 _ACEOF
19328
19329
19330
19331 case "${host}" in
19332 arm-*-linux* )
19333 echo "$as_me:$LINENO: checking for long long" >&5
19334 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19335 if test "${ac_cv_type_long_long+set}" = set; then
19336 echo $ECHO_N "(cached) $ECHO_C" >&6
19337 else
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 $ac_includes_default
19345 int
19346 main ()
19347 {
19348 if ((long long *) 0)
19349 return 0;
19350 if (sizeof (long long))
19351 return 0;
19352 ;
19353 return 0;
19354 }
19355 _ACEOF
19356 rm -f conftest.$ac_objext
19357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19358 (eval $ac_compile) 2>conftest.er1
19359 ac_status=$?
19360 grep -v '^ *+' conftest.er1 >conftest.err
19361 rm -f conftest.er1
19362 cat conftest.err >&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); } &&
19365 { ac_try='test -z "$ac_c_werror_flag"
19366 || test ! -s conftest.err'
19367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19368 (eval $ac_try) 2>&5
19369 ac_status=$?
19370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19371 (exit $ac_status); }; } &&
19372 { ac_try='test -s conftest.$ac_objext'
19373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19374 (eval $ac_try) 2>&5
19375 ac_status=$?
19376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377 (exit $ac_status); }; }; then
19378 ac_cv_type_long_long=yes
19379 else
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 ac_cv_type_long_long=no
19384 fi
19385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19386 fi
19387 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19388 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19389
19390 echo "$as_me:$LINENO: checking size of long long" >&5
19391 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19392 if test "${ac_cv_sizeof_long_long+set}" = set; then
19393 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 else
19395 if test "$ac_cv_type_long_long" = yes; then
19396 # The cast to unsigned long works around a bug in the HP C Compiler
19397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19399 # This bug is HP SR number 8606223364.
19400 if test "$cross_compiling" = yes; then
19401 # Depending upon the size, compute the lo and hi bounds.
19402 cat >conftest.$ac_ext <<_ACEOF
19403 /* confdefs.h. */
19404 _ACEOF
19405 cat confdefs.h >>conftest.$ac_ext
19406 cat >>conftest.$ac_ext <<_ACEOF
19407 /* end confdefs.h. */
19408 $ac_includes_default
19409 int
19410 main ()
19411 {
19412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19413 test_array [0] = 0
19414
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 rm -f conftest.$ac_objext
19420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19421 (eval $ac_compile) 2>conftest.er1
19422 ac_status=$?
19423 grep -v '^ *+' conftest.er1 >conftest.err
19424 rm -f conftest.er1
19425 cat conftest.err >&5
19426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427 (exit $ac_status); } &&
19428 { ac_try='test -z "$ac_c_werror_flag"
19429 || test ! -s conftest.err'
19430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19431 (eval $ac_try) 2>&5
19432 ac_status=$?
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); }; } &&
19435 { ac_try='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19438 ac_status=$?
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19441 ac_lo=0 ac_mid=0
19442 while :; do
19443 cat >conftest.$ac_ext <<_ACEOF
19444 /* confdefs.h. */
19445 _ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19449 $ac_includes_default
19450 int
19451 main ()
19452 {
19453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19454 test_array [0] = 0
19455
19456 ;
19457 return 0;
19458 }
19459 _ACEOF
19460 rm -f conftest.$ac_objext
19461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19462 (eval $ac_compile) 2>conftest.er1
19463 ac_status=$?
19464 grep -v '^ *+' conftest.er1 >conftest.err
19465 rm -f conftest.er1
19466 cat conftest.err >&5
19467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19468 (exit $ac_status); } &&
19469 { ac_try='test -z "$ac_c_werror_flag"
19470 || test ! -s conftest.err'
19471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19472 (eval $ac_try) 2>&5
19473 ac_status=$?
19474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19475 (exit $ac_status); }; } &&
19476 { ac_try='test -s conftest.$ac_objext'
19477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19478 (eval $ac_try) 2>&5
19479 ac_status=$?
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); }; }; then
19482 ac_hi=$ac_mid; break
19483 else
19484 echo "$as_me: failed program was:" >&5
19485 sed 's/^/| /' conftest.$ac_ext >&5
19486
19487 ac_lo=`expr $ac_mid + 1`
19488 if test $ac_lo -le $ac_mid; then
19489 ac_lo= ac_hi=
19490 break
19491 fi
19492 ac_mid=`expr 2 '*' $ac_mid + 1`
19493 fi
19494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19495 done
19496 else
19497 echo "$as_me: failed program was:" >&5
19498 sed 's/^/| /' conftest.$ac_ext >&5
19499
19500 cat >conftest.$ac_ext <<_ACEOF
19501 /* confdefs.h. */
19502 _ACEOF
19503 cat confdefs.h >>conftest.$ac_ext
19504 cat >>conftest.$ac_ext <<_ACEOF
19505 /* end confdefs.h. */
19506 $ac_includes_default
19507 int
19508 main ()
19509 {
19510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19511 test_array [0] = 0
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19519 (eval $ac_compile) 2>conftest.er1
19520 ac_status=$?
19521 grep -v '^ *+' conftest.er1 >conftest.err
19522 rm -f conftest.er1
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -z "$ac_c_werror_flag"
19527 || test ! -s conftest.err'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; } &&
19533 { ac_try='test -s conftest.$ac_objext'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; }; then
19539 ac_hi=-1 ac_mid=-1
19540 while :; do
19541 cat >conftest.$ac_ext <<_ACEOF
19542 /* confdefs.h. */
19543 _ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 $ac_includes_default
19548 int
19549 main ()
19550 {
19551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19552 test_array [0] = 0
19553
19554 ;
19555 return 0;
19556 }
19557 _ACEOF
19558 rm -f conftest.$ac_objext
19559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19560 (eval $ac_compile) 2>conftest.er1
19561 ac_status=$?
19562 grep -v '^ *+' conftest.er1 >conftest.err
19563 rm -f conftest.er1
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } &&
19567 { ac_try='test -z "$ac_c_werror_flag"
19568 || test ! -s conftest.err'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19571 ac_status=$?
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; } &&
19574 { ac_try='test -s conftest.$ac_objext'
19575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19576 (eval $ac_try) 2>&5
19577 ac_status=$?
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; }; then
19580 ac_lo=$ac_mid; break
19581 else
19582 echo "$as_me: failed program was:" >&5
19583 sed 's/^/| /' conftest.$ac_ext >&5
19584
19585 ac_hi=`expr '(' $ac_mid ')' - 1`
19586 if test $ac_mid -le $ac_hi; then
19587 ac_lo= ac_hi=
19588 break
19589 fi
19590 ac_mid=`expr 2 '*' $ac_mid`
19591 fi
19592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19593 done
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 ac_lo= ac_hi=
19599 fi
19600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19601 fi
19602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19603 # Binary search between lo and hi bounds.
19604 while test "x$ac_lo" != "x$ac_hi"; do
19605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 $ac_includes_default
19613 int
19614 main ()
19615 {
19616 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19617 test_array [0] = 0
19618
19619 ;
19620 return 0;
19621 }
19622 _ACEOF
19623 rm -f conftest.$ac_objext
19624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19625 (eval $ac_compile) 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } &&
19632 { ac_try='test -z "$ac_c_werror_flag"
19633 || test ! -s conftest.err'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; } &&
19639 { ac_try='test -s conftest.$ac_objext'
19640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19641 (eval $ac_try) 2>&5
19642 ac_status=$?
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); }; }; then
19645 ac_hi=$ac_mid
19646 else
19647 echo "$as_me: failed program was:" >&5
19648 sed 's/^/| /' conftest.$ac_ext >&5
19649
19650 ac_lo=`expr '(' $ac_mid ')' + 1`
19651 fi
19652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19653 done
19654 case $ac_lo in
19655 ?*) ac_cv_sizeof_long_long=$ac_lo;;
19656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19657 See \`config.log' for more details." >&5
19658 echo "$as_me: error: cannot compute sizeof (long long), 77
19659 See \`config.log' for more details." >&2;}
19660 { (exit 1); exit 1; }; } ;;
19661 esac
19662 else
19663 if test "$cross_compiling" = yes; then
19664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19665 See \`config.log' for more details." >&5
19666 echo "$as_me: error: cannot run test program while cross compiling
19667 See \`config.log' for more details." >&2;}
19668 { (exit 1); exit 1; }; }
19669 else
19670 cat >conftest.$ac_ext <<_ACEOF
19671 /* confdefs.h. */
19672 _ACEOF
19673 cat confdefs.h >>conftest.$ac_ext
19674 cat >>conftest.$ac_ext <<_ACEOF
19675 /* end confdefs.h. */
19676 $ac_includes_default
19677 long longval () { return (long) (sizeof (long long)); }
19678 unsigned long ulongval () { return (long) (sizeof (long long)); }
19679 #include <stdio.h>
19680 #include <stdlib.h>
19681 int
19682 main ()
19683 {
19684
19685 FILE *f = fopen ("conftest.val", "w");
19686 if (! f)
19687 exit (1);
19688 if (((long) (sizeof (long long))) < 0)
19689 {
19690 long i = longval ();
19691 if (i != ((long) (sizeof (long long))))
19692 exit (1);
19693 fprintf (f, "%ld\n", i);
19694 }
19695 else
19696 {
19697 unsigned long i = ulongval ();
19698 if (i != ((long) (sizeof (long long))))
19699 exit (1);
19700 fprintf (f, "%lu\n", i);
19701 }
19702 exit (ferror (f) || fclose (f) != 0);
19703
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 rm -f conftest$ac_exeext
19709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19710 (eval $ac_link) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19715 (eval $ac_try) 2>&5
19716 ac_status=$?
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); }; }; then
19719 ac_cv_sizeof_long_long=`cat conftest.val`
19720 else
19721 echo "$as_me: program exited with status $ac_status" >&5
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19724
19725 ( exit $ac_status )
19726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
19727 See \`config.log' for more details." >&5
19728 echo "$as_me: error: cannot compute sizeof (long long), 77
19729 See \`config.log' for more details." >&2;}
19730 { (exit 1); exit 1; }; }
19731 fi
19732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19733 fi
19734 fi
19735 rm -f conftest.val
19736 else
19737 ac_cv_sizeof_long_long=0
19738 fi
19739 fi
19740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
19741 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
19742 cat >>confdefs.h <<_ACEOF
19743 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
19744 _ACEOF
19745
19746
19747 ;;
19748 *-hp-hpux* )
19749 echo "$as_me:$LINENO: checking for long long" >&5
19750 echo $ECHO_N "checking for long long... $ECHO_C" >&6
19751 if test "${ac_cv_type_long_long+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19753 else
19754 cat >conftest.$ac_ext <<_ACEOF
19755 /* confdefs.h. */
19756 _ACEOF
19757 cat confdefs.h >>conftest.$ac_ext
19758 cat >>conftest.$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19761 int
19762 main ()
19763 {
19764 if ((long long *) 0)
19765 return 0;
19766 if (sizeof (long long))
19767 return 0;
19768 ;
19769 return 0;
19770 }
19771 _ACEOF
19772 rm -f conftest.$ac_objext
19773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19774 (eval $ac_compile) 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); } &&
19781 { ac_try='test -z "$ac_c_werror_flag"
19782 || test ! -s conftest.err'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; } &&
19788 { ac_try='test -s conftest.$ac_objext'
19789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19790 (eval $ac_try) 2>&5
19791 ac_status=$?
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; }; then
19794 ac_cv_type_long_long=yes
19795 else
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19798
19799 ac_cv_type_long_long=no
19800 fi
19801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19802 fi
19803 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19804 echo "${ECHO_T}$ac_cv_type_long_long" >&6
19805
19806 echo "$as_me:$LINENO: checking size of long long" >&5
19807 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
19808 if test "${ac_cv_sizeof_long_long+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19810 else
19811 if test "$ac_cv_type_long_long" = yes; then
19812 # The cast to unsigned long works around a bug in the HP C Compiler
19813 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19814 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19815 # This bug is HP SR number 8606223364.
19816 if test "$cross_compiling" = yes; then
19817 # Depending upon the size, compute the lo and hi bounds.
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h. */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824 $ac_includes_default
19825 int
19826 main ()
19827 {
19828 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
19829 test_array [0] = 0
19830
19831 ;
19832 return 0;
19833 }
19834 _ACEOF
19835 rm -f conftest.$ac_objext
19836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19837 (eval $ac_compile) 2>conftest.er1
19838 ac_status=$?
19839 grep -v '^ *+' conftest.er1 >conftest.err
19840 rm -f conftest.er1
19841 cat conftest.err >&5
19842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843 (exit $ac_status); } &&
19844 { ac_try='test -z "$ac_c_werror_flag"
19845 || test ! -s conftest.err'
19846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19847 (eval $ac_try) 2>&5
19848 ac_status=$?
19849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19850 (exit $ac_status); }; } &&
19851 { ac_try='test -s conftest.$ac_objext'
19852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19853 (eval $ac_try) 2>&5
19854 ac_status=$?
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); }; }; then
19857 ac_lo=0 ac_mid=0
19858 while :; do
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 int
19867 main ()
19868 {
19869 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
19870 test_array [0] = 0
19871
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try='test -z "$ac_c_werror_flag"
19886 || test ! -s conftest.err'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19889 ac_status=$?
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; } &&
19892 { ac_try='test -s conftest.$ac_objext'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19895 ac_status=$?
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; }; then
19898 ac_hi=$ac_mid; break
19899 else
19900 echo "$as_me: failed program was:" >&5
19901 sed 's/^/| /' conftest.$ac_ext >&5
19902
19903 ac_lo=`expr $ac_mid + 1`
19904 if test $ac_lo -le $ac_mid; then
19905 ac_lo= ac_hi=
19906 break
19907 fi
19908 ac_mid=`expr 2 '*' $ac_mid + 1`
19909 fi
19910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19911 done
19912 else
19913 echo "$as_me: failed program was:" >&5
19914 sed 's/^/| /' conftest.$ac_ext >&5
19915
19916 cat >conftest.$ac_ext <<_ACEOF
19917 /* confdefs.h. */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 $ac_includes_default
19923 int
19924 main ()
19925 {
19926 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
19927 test_array [0] = 0
19928
19929 ;
19930 return 0;
19931 }
19932 _ACEOF
19933 rm -f conftest.$ac_objext
19934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19935 (eval $ac_compile) 2>conftest.er1
19936 ac_status=$?
19937 grep -v '^ *+' conftest.er1 >conftest.err
19938 rm -f conftest.er1
19939 cat conftest.err >&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); } &&
19942 { ac_try='test -z "$ac_c_werror_flag"
19943 || test ! -s conftest.err'
19944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19945 (eval $ac_try) 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; } &&
19949 { ac_try='test -s conftest.$ac_objext'
19950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19951 (eval $ac_try) 2>&5
19952 ac_status=$?
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; }; then
19955 ac_hi=-1 ac_mid=-1
19956 while :; do
19957 cat >conftest.$ac_ext <<_ACEOF
19958 /* confdefs.h. */
19959 _ACEOF
19960 cat confdefs.h >>conftest.$ac_ext
19961 cat >>conftest.$ac_ext <<_ACEOF
19962 /* end confdefs.h. */
19963 $ac_includes_default
19964 int
19965 main ()
19966 {
19967 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
19968 test_array [0] = 0
19969
19970 ;
19971 return 0;
19972 }
19973 _ACEOF
19974 rm -f conftest.$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976 (eval $ac_compile) 2>conftest.er1
19977 ac_status=$?
19978 grep -v '^ *+' conftest.er1 >conftest.err
19979 rm -f conftest.er1
19980 cat conftest.err >&5
19981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982 (exit $ac_status); } &&
19983 { ac_try='test -z "$ac_c_werror_flag"
19984 || test ! -s conftest.err'
19985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986 (eval $ac_try) 2>&5
19987 ac_status=$?
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); }; } &&
19990 { ac_try='test -s conftest.$ac_objext'
19991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992 (eval $ac_try) 2>&5
19993 ac_status=$?
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 ac_lo=$ac_mid; break
19997 else
19998 echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.$ac_ext >&5
20000
20001 ac_hi=`expr '(' $ac_mid ')' - 1`
20002 if test $ac_mid -le $ac_hi; then
20003 ac_lo= ac_hi=
20004 break
20005 fi
20006 ac_mid=`expr 2 '*' $ac_mid`
20007 fi
20008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20009 done
20010 else
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.$ac_ext >&5
20013
20014 ac_lo= ac_hi=
20015 fi
20016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20017 fi
20018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20019 # Binary search between lo and hi bounds.
20020 while test "x$ac_lo" != "x$ac_hi"; do
20021 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20022 cat >conftest.$ac_ext <<_ACEOF
20023 /* confdefs.h. */
20024 _ACEOF
20025 cat confdefs.h >>conftest.$ac_ext
20026 cat >>conftest.$ac_ext <<_ACEOF
20027 /* end confdefs.h. */
20028 $ac_includes_default
20029 int
20030 main ()
20031 {
20032 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20033 test_array [0] = 0
20034
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 rm -f conftest.$ac_objext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20041 (eval $ac_compile) 2>conftest.er1
20042 ac_status=$?
20043 grep -v '^ *+' conftest.er1 >conftest.err
20044 rm -f conftest.er1
20045 cat conftest.err >&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try='test -z "$ac_c_werror_flag"
20049 || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20052 ac_status=$?
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try='test -s conftest.$ac_objext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20058 ac_status=$?
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20061 ac_hi=$ac_mid
20062 else
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20065
20066 ac_lo=`expr '(' $ac_mid ')' + 1`
20067 fi
20068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20069 done
20070 case $ac_lo in
20071 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20072 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20073 See \`config.log' for more details." >&5
20074 echo "$as_me: error: cannot compute sizeof (long long), 77
20075 See \`config.log' for more details." >&2;}
20076 { (exit 1); exit 1; }; } ;;
20077 esac
20078 else
20079 if test "$cross_compiling" = yes; then
20080 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20081 See \`config.log' for more details." >&5
20082 echo "$as_me: error: cannot run test program while cross compiling
20083 See \`config.log' for more details." >&2;}
20084 { (exit 1); exit 1; }; }
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 long longval () { return (long) (sizeof (long long)); }
20094 unsigned long ulongval () { return (long) (sizeof (long long)); }
20095 #include <stdio.h>
20096 #include <stdlib.h>
20097 int
20098 main ()
20099 {
20100
20101 FILE *f = fopen ("conftest.val", "w");
20102 if (! f)
20103 exit (1);
20104 if (((long) (sizeof (long long))) < 0)
20105 {
20106 long i = longval ();
20107 if (i != ((long) (sizeof (long long))))
20108 exit (1);
20109 fprintf (f, "%ld\n", i);
20110 }
20111 else
20112 {
20113 unsigned long i = ulongval ();
20114 if (i != ((long) (sizeof (long long))))
20115 exit (1);
20116 fprintf (f, "%lu\n", i);
20117 }
20118 exit (ferror (f) || fclose (f) != 0);
20119
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 rm -f conftest$ac_exeext
20125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20126 (eval $ac_link) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20131 (eval $ac_try) 2>&5
20132 ac_status=$?
20133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 (exit $ac_status); }; }; then
20135 ac_cv_sizeof_long_long=`cat conftest.val`
20136 else
20137 echo "$as_me: program exited with status $ac_status" >&5
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ( exit $ac_status )
20142 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20143 See \`config.log' for more details." >&5
20144 echo "$as_me: error: cannot compute sizeof (long long), 77
20145 See \`config.log' for more details." >&2;}
20146 { (exit 1); exit 1; }; }
20147 fi
20148 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20149 fi
20150 fi
20151 rm -f conftest.val
20152 else
20153 ac_cv_sizeof_long_long=0
20154 fi
20155 fi
20156 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20157 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20158 cat >>confdefs.h <<_ACEOF
20159 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20160 _ACEOF
20161
20162
20163 if test "$ac_cv_sizeof_long_long" != "0"; then
20164 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20165 fi
20166 ;;
20167 * )
20168 echo "$as_me:$LINENO: checking for long long" >&5
20169 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20170 if test "${ac_cv_type_long_long+set}" = set; then
20171 echo $ECHO_N "(cached) $ECHO_C" >&6
20172 else
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 int
20181 main ()
20182 {
20183 if ((long long *) 0)
20184 return 0;
20185 if (sizeof (long long))
20186 return 0;
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20193 (eval $ac_compile) 2>conftest.er1
20194 ac_status=$?
20195 grep -v '^ *+' conftest.er1 >conftest.err
20196 rm -f conftest.er1
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20204 ac_status=$?
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20210 ac_status=$?
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_type_long_long=yes
20214 else
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.$ac_ext >&5
20217
20218 ac_cv_type_long_long=no
20219 fi
20220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20221 fi
20222 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20223 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20224
20225 echo "$as_me:$LINENO: checking size of long long" >&5
20226 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20227 if test "${ac_cv_sizeof_long_long+set}" = set; then
20228 echo $ECHO_N "(cached) $ECHO_C" >&6
20229 else
20230 if test "$ac_cv_type_long_long" = yes; then
20231 # The cast to unsigned long works around a bug in the HP C Compiler
20232 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20233 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20234 # This bug is HP SR number 8606223364.
20235 if test "$cross_compiling" = yes; then
20236 # Depending upon the size, compute the lo and hi bounds.
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 int
20245 main ()
20246 {
20247 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20248 test_array [0] = 0
20249
20250 ;
20251 return 0;
20252 }
20253 _ACEOF
20254 rm -f conftest.$ac_objext
20255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20256 (eval $ac_compile) 2>conftest.er1
20257 ac_status=$?
20258 grep -v '^ *+' conftest.er1 >conftest.err
20259 rm -f conftest.er1
20260 cat conftest.err >&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); } &&
20263 { ac_try='test -z "$ac_c_werror_flag"
20264 || test ! -s conftest.err'
20265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20266 (eval $ac_try) 2>&5
20267 ac_status=$?
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); }; } &&
20270 { ac_try='test -s conftest.$ac_objext'
20271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20272 (eval $ac_try) 2>&5
20273 ac_status=$?
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); }; }; then
20276 ac_lo=0 ac_mid=0
20277 while :; do
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 int
20286 main ()
20287 {
20288 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20289 test_array [0] = 0
20290
20291 ;
20292 return 0;
20293 }
20294 _ACEOF
20295 rm -f conftest.$ac_objext
20296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 (eval $ac_compile) 2>conftest.er1
20298 ac_status=$?
20299 grep -v '^ *+' conftest.er1 >conftest.err
20300 rm -f conftest.er1
20301 cat conftest.err >&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); } &&
20304 { ac_try='test -z "$ac_c_werror_flag"
20305 || test ! -s conftest.err'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20308 ac_status=$?
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; } &&
20311 { ac_try='test -s conftest.$ac_objext'
20312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20313 (eval $ac_try) 2>&5
20314 ac_status=$?
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); }; }; then
20317 ac_hi=$ac_mid; break
20318 else
20319 echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20321
20322 ac_lo=`expr $ac_mid + 1`
20323 if test $ac_lo -le $ac_mid; then
20324 ac_lo= ac_hi=
20325 break
20326 fi
20327 ac_mid=`expr 2 '*' $ac_mid + 1`
20328 fi
20329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20330 done
20331 else
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20334
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 int
20343 main ()
20344 {
20345 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20346 test_array [0] = 0
20347
20348 ;
20349 return 0;
20350 }
20351 _ACEOF
20352 rm -f conftest.$ac_objext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20354 (eval $ac_compile) 2>conftest.er1
20355 ac_status=$?
20356 grep -v '^ *+' conftest.er1 >conftest.err
20357 rm -f conftest.er1
20358 cat conftest.err >&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); } &&
20361 { ac_try='test -z "$ac_c_werror_flag"
20362 || test ! -s conftest.err'
20363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20364 (eval $ac_try) 2>&5
20365 ac_status=$?
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); }; } &&
20368 { ac_try='test -s conftest.$ac_objext'
20369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370 (eval $ac_try) 2>&5
20371 ac_status=$?
20372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373 (exit $ac_status); }; }; then
20374 ac_hi=-1 ac_mid=-1
20375 while :; do
20376 cat >conftest.$ac_ext <<_ACEOF
20377 /* confdefs.h. */
20378 _ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20383 int
20384 main ()
20385 {
20386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20387 test_array [0] = 0
20388
20389 ;
20390 return 0;
20391 }
20392 _ACEOF
20393 rm -f conftest.$ac_objext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20395 (eval $ac_compile) 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } &&
20402 { ac_try='test -z "$ac_c_werror_flag"
20403 || test ! -s conftest.err'
20404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20405 (eval $ac_try) 2>&5
20406 ac_status=$?
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); }; } &&
20409 { ac_try='test -s conftest.$ac_objext'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20412 ac_status=$?
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; }; then
20415 ac_lo=$ac_mid; break
20416 else
20417 echo "$as_me: failed program was:" >&5
20418 sed 's/^/| /' conftest.$ac_ext >&5
20419
20420 ac_hi=`expr '(' $ac_mid ')' - 1`
20421 if test $ac_mid -le $ac_hi; then
20422 ac_lo= ac_hi=
20423 break
20424 fi
20425 ac_mid=`expr 2 '*' $ac_mid`
20426 fi
20427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20428 done
20429 else
20430 echo "$as_me: failed program was:" >&5
20431 sed 's/^/| /' conftest.$ac_ext >&5
20432
20433 ac_lo= ac_hi=
20434 fi
20435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20436 fi
20437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20438 # Binary search between lo and hi bounds.
20439 while test "x$ac_lo" != "x$ac_hi"; do
20440 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20441 cat >conftest.$ac_ext <<_ACEOF
20442 /* confdefs.h. */
20443 _ACEOF
20444 cat confdefs.h >>conftest.$ac_ext
20445 cat >>conftest.$ac_ext <<_ACEOF
20446 /* end confdefs.h. */
20447 $ac_includes_default
20448 int
20449 main ()
20450 {
20451 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20452 test_array [0] = 0
20453
20454 ;
20455 return 0;
20456 }
20457 _ACEOF
20458 rm -f conftest.$ac_objext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20460 (eval $ac_compile) 2>conftest.er1
20461 ac_status=$?
20462 grep -v '^ *+' conftest.er1 >conftest.err
20463 rm -f conftest.er1
20464 cat conftest.err >&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } &&
20467 { ac_try='test -z "$ac_c_werror_flag"
20468 || test ! -s conftest.err'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20471 ac_status=$?
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try='test -s conftest.$ac_objext'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20477 ac_status=$?
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; }; then
20480 ac_hi=$ac_mid
20481 else
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.$ac_ext >&5
20484
20485 ac_lo=`expr '(' $ac_mid ')' + 1`
20486 fi
20487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20488 done
20489 case $ac_lo in
20490 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20491 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20492 See \`config.log' for more details." >&5
20493 echo "$as_me: error: cannot compute sizeof (long long), 77
20494 See \`config.log' for more details." >&2;}
20495 { (exit 1); exit 1; }; } ;;
20496 esac
20497 else
20498 if test "$cross_compiling" = yes; then
20499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20500 See \`config.log' for more details." >&5
20501 echo "$as_me: error: cannot run test program while cross compiling
20502 See \`config.log' for more details." >&2;}
20503 { (exit 1); exit 1; }; }
20504 else
20505 cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h. */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20512 long longval () { return (long) (sizeof (long long)); }
20513 unsigned long ulongval () { return (long) (sizeof (long long)); }
20514 #include <stdio.h>
20515 #include <stdlib.h>
20516 int
20517 main ()
20518 {
20519
20520 FILE *f = fopen ("conftest.val", "w");
20521 if (! f)
20522 exit (1);
20523 if (((long) (sizeof (long long))) < 0)
20524 {
20525 long i = longval ();
20526 if (i != ((long) (sizeof (long long))))
20527 exit (1);
20528 fprintf (f, "%ld\n", i);
20529 }
20530 else
20531 {
20532 unsigned long i = ulongval ();
20533 if (i != ((long) (sizeof (long long))))
20534 exit (1);
20535 fprintf (f, "%lu\n", i);
20536 }
20537 exit (ferror (f) || fclose (f) != 0);
20538
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 rm -f 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); } && { ac_try='./conftest$ac_exeext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20551 ac_status=$?
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 ac_cv_sizeof_long_long=`cat conftest.val`
20555 else
20556 echo "$as_me: program exited with status $ac_status" >&5
20557 echo "$as_me: failed program was:" >&5
20558 sed 's/^/| /' conftest.$ac_ext >&5
20559
20560 ( exit $ac_status )
20561 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20562 See \`config.log' for more details." >&5
20563 echo "$as_me: error: cannot compute sizeof (long long), 77
20564 See \`config.log' for more details." >&2;}
20565 { (exit 1); exit 1; }; }
20566 fi
20567 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20568 fi
20569 fi
20570 rm -f conftest.val
20571 else
20572 ac_cv_sizeof_long_long=0
20573 fi
20574 fi
20575 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20576 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20577 cat >>confdefs.h <<_ACEOF
20578 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20579 _ACEOF
20580
20581
20582 esac
20583
20584 echo "$as_me:$LINENO: checking for wchar_t" >&5
20585 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
20586 if test "${ac_cv_type_wchar_t+set}" = set; then
20587 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 else
20589 cat >conftest.$ac_ext <<_ACEOF
20590 /* confdefs.h. */
20591 _ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595
20596 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20597 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20598 # error "fake wchar_t"
20599 #endif
20600 #ifdef HAVE_WCHAR_H
20601 # ifdef __CYGWIN__
20602 # include <stddef.h>
20603 # endif
20604 # include <wchar.h>
20605 #endif
20606 #ifdef HAVE_STDLIB_H
20607 # include <stdlib.h>
20608 #endif
20609 #include <stdio.h>
20610
20611
20612
20613 int
20614 main ()
20615 {
20616 if ((wchar_t *) 0)
20617 return 0;
20618 if (sizeof (wchar_t))
20619 return 0;
20620 ;
20621 return 0;
20622 }
20623 _ACEOF
20624 rm -f conftest.$ac_objext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20626 (eval $ac_compile) 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try='test -z "$ac_c_werror_flag"
20634 || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try='test -s conftest.$ac_objext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 ac_cv_type_wchar_t=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_cv_type_wchar_t=no
20652 fi
20653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20654 fi
20655 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
20656 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
20657
20658 echo "$as_me:$LINENO: checking size of wchar_t" >&5
20659 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
20660 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
20661 echo $ECHO_N "(cached) $ECHO_C" >&6
20662 else
20663 if test "$ac_cv_type_wchar_t" = yes; then
20664 # The cast to unsigned long works around a bug in the HP C Compiler
20665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20667 # This bug is HP SR number 8606223364.
20668 if test "$cross_compiling" = yes; then
20669 # Depending upon the size, compute the lo and hi bounds.
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676
20677 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20678 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20679 # error "fake wchar_t"
20680 #endif
20681 #ifdef HAVE_WCHAR_H
20682 # ifdef __CYGWIN__
20683 # include <stddef.h>
20684 # endif
20685 # include <wchar.h>
20686 #endif
20687 #ifdef HAVE_STDLIB_H
20688 # include <stdlib.h>
20689 #endif
20690 #include <stdio.h>
20691
20692
20693
20694 int
20695 main ()
20696 {
20697 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
20698 test_array [0] = 0
20699
20700 ;
20701 return 0;
20702 }
20703 _ACEOF
20704 rm -f conftest.$ac_objext
20705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20706 (eval $ac_compile) 2>conftest.er1
20707 ac_status=$?
20708 grep -v '^ *+' conftest.er1 >conftest.err
20709 rm -f conftest.er1
20710 cat conftest.err >&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); } &&
20713 { ac_try='test -z "$ac_c_werror_flag"
20714 || test ! -s conftest.err'
20715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20716 (eval $ac_try) 2>&5
20717 ac_status=$?
20718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20719 (exit $ac_status); }; } &&
20720 { ac_try='test -s conftest.$ac_objext'
20721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20722 (eval $ac_try) 2>&5
20723 ac_status=$?
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); }; }; then
20726 ac_lo=0 ac_mid=0
20727 while :; do
20728 cat >conftest.$ac_ext <<_ACEOF
20729 /* confdefs.h. */
20730 _ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20734
20735 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20736 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20737 # error "fake wchar_t"
20738 #endif
20739 #ifdef HAVE_WCHAR_H
20740 # ifdef __CYGWIN__
20741 # include <stddef.h>
20742 # endif
20743 # include <wchar.h>
20744 #endif
20745 #ifdef HAVE_STDLIB_H
20746 # include <stdlib.h>
20747 #endif
20748 #include <stdio.h>
20749
20750
20751
20752 int
20753 main ()
20754 {
20755 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20756 test_array [0] = 0
20757
20758 ;
20759 return 0;
20760 }
20761 _ACEOF
20762 rm -f conftest.$ac_objext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20764 (eval $ac_compile) 2>conftest.er1
20765 ac_status=$?
20766 grep -v '^ *+' conftest.er1 >conftest.err
20767 rm -f conftest.er1
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_c_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20775 ac_status=$?
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_hi=$ac_mid; break
20785 else
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20788
20789 ac_lo=`expr $ac_mid + 1`
20790 if test $ac_lo -le $ac_mid; then
20791 ac_lo= ac_hi=
20792 break
20793 fi
20794 ac_mid=`expr 2 '*' $ac_mid + 1`
20795 fi
20796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20797 done
20798 else
20799 echo "$as_me: failed program was:" >&5
20800 sed 's/^/| /' conftest.$ac_ext >&5
20801
20802 cat >conftest.$ac_ext <<_ACEOF
20803 /* confdefs.h. */
20804 _ACEOF
20805 cat confdefs.h >>conftest.$ac_ext
20806 cat >>conftest.$ac_ext <<_ACEOF
20807 /* end confdefs.h. */
20808
20809 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20810 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20811 # error "fake wchar_t"
20812 #endif
20813 #ifdef HAVE_WCHAR_H
20814 # ifdef __CYGWIN__
20815 # include <stddef.h>
20816 # endif
20817 # include <wchar.h>
20818 #endif
20819 #ifdef HAVE_STDLIB_H
20820 # include <stdlib.h>
20821 #endif
20822 #include <stdio.h>
20823
20824
20825
20826 int
20827 main ()
20828 {
20829 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
20830 test_array [0] = 0
20831
20832 ;
20833 return 0;
20834 }
20835 _ACEOF
20836 rm -f conftest.$ac_objext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20838 (eval $ac_compile) 2>conftest.er1
20839 ac_status=$?
20840 grep -v '^ *+' conftest.er1 >conftest.err
20841 rm -f conftest.er1
20842 cat conftest.err >&5
20843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844 (exit $ac_status); } &&
20845 { ac_try='test -z "$ac_c_werror_flag"
20846 || test ! -s conftest.err'
20847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848 (eval $ac_try) 2>&5
20849 ac_status=$?
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); }; } &&
20852 { ac_try='test -s conftest.$ac_objext'
20853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854 (eval $ac_try) 2>&5
20855 ac_status=$?
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_hi=-1 ac_mid=-1
20859 while :; do
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866
20867 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20868 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20869 # error "fake wchar_t"
20870 #endif
20871 #ifdef HAVE_WCHAR_H
20872 # ifdef __CYGWIN__
20873 # include <stddef.h>
20874 # endif
20875 # include <wchar.h>
20876 #endif
20877 #ifdef HAVE_STDLIB_H
20878 # include <stdlib.h>
20879 #endif
20880 #include <stdio.h>
20881
20882
20883
20884 int
20885 main ()
20886 {
20887 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
20888 test_array [0] = 0
20889
20890 ;
20891 return 0;
20892 }
20893 _ACEOF
20894 rm -f conftest.$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>conftest.er1
20897 ac_status=$?
20898 grep -v '^ *+' conftest.er1 >conftest.err
20899 rm -f conftest.er1
20900 cat conftest.err >&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -z "$ac_c_werror_flag"
20904 || test ! -s conftest.err'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20907 ac_status=$?
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; } &&
20910 { ac_try='test -s conftest.$ac_objext'
20911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20912 (eval $ac_try) 2>&5
20913 ac_status=$?
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); }; }; then
20916 ac_lo=$ac_mid; break
20917 else
20918 echo "$as_me: failed program was:" >&5
20919 sed 's/^/| /' conftest.$ac_ext >&5
20920
20921 ac_hi=`expr '(' $ac_mid ')' - 1`
20922 if test $ac_mid -le $ac_hi; then
20923 ac_lo= ac_hi=
20924 break
20925 fi
20926 ac_mid=`expr 2 '*' $ac_mid`
20927 fi
20928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20929 done
20930 else
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20933
20934 ac_lo= ac_hi=
20935 fi
20936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20937 fi
20938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20939 # Binary search between lo and hi bounds.
20940 while test "x$ac_lo" != "x$ac_hi"; do
20941 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948
20949 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
20950 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
20951 # error "fake wchar_t"
20952 #endif
20953 #ifdef HAVE_WCHAR_H
20954 # ifdef __CYGWIN__
20955 # include <stddef.h>
20956 # endif
20957 # include <wchar.h>
20958 #endif
20959 #ifdef HAVE_STDLIB_H
20960 # include <stdlib.h>
20961 #endif
20962 #include <stdio.h>
20963
20964
20965
20966 int
20967 main ()
20968 {
20969 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
20970 test_array [0] = 0
20971
20972 ;
20973 return 0;
20974 }
20975 _ACEOF
20976 rm -f conftest.$ac_objext
20977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20978 (eval $ac_compile) 2>conftest.er1
20979 ac_status=$?
20980 grep -v '^ *+' conftest.er1 >conftest.err
20981 rm -f conftest.er1
20982 cat conftest.err >&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); } &&
20985 { ac_try='test -z "$ac_c_werror_flag"
20986 || test ! -s conftest.err'
20987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20988 (eval $ac_try) 2>&5
20989 ac_status=$?
20990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20991 (exit $ac_status); }; } &&
20992 { ac_try='test -s conftest.$ac_objext'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20995 ac_status=$?
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; }; then
20998 ac_hi=$ac_mid
20999 else
21000 echo "$as_me: failed program was:" >&5
21001 sed 's/^/| /' conftest.$ac_ext >&5
21002
21003 ac_lo=`expr '(' $ac_mid ')' + 1`
21004 fi
21005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21006 done
21007 case $ac_lo in
21008 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21009 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21010 See \`config.log' for more details." >&5
21011 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21012 See \`config.log' for more details." >&2;}
21013 { (exit 1); exit 1; }; } ;;
21014 esac
21015 else
21016 if test "$cross_compiling" = yes; then
21017 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21018 See \`config.log' for more details." >&5
21019 echo "$as_me: error: cannot run test program while cross compiling
21020 See \`config.log' for more details." >&2;}
21021 { (exit 1); exit 1; }; }
21022 else
21023 cat >conftest.$ac_ext <<_ACEOF
21024 /* confdefs.h. */
21025 _ACEOF
21026 cat confdefs.h >>conftest.$ac_ext
21027 cat >>conftest.$ac_ext <<_ACEOF
21028 /* end confdefs.h. */
21029
21030 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21031 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21032 # error "fake wchar_t"
21033 #endif
21034 #ifdef HAVE_WCHAR_H
21035 # ifdef __CYGWIN__
21036 # include <stddef.h>
21037 # endif
21038 # include <wchar.h>
21039 #endif
21040 #ifdef HAVE_STDLIB_H
21041 # include <stdlib.h>
21042 #endif
21043 #include <stdio.h>
21044
21045
21046
21047 long longval () { return (long) (sizeof (wchar_t)); }
21048 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21049 #include <stdio.h>
21050 #include <stdlib.h>
21051 int
21052 main ()
21053 {
21054
21055 FILE *f = fopen ("conftest.val", "w");
21056 if (! f)
21057 exit (1);
21058 if (((long) (sizeof (wchar_t))) < 0)
21059 {
21060 long i = longval ();
21061 if (i != ((long) (sizeof (wchar_t))))
21062 exit (1);
21063 fprintf (f, "%ld\n", i);
21064 }
21065 else
21066 {
21067 unsigned long i = ulongval ();
21068 if (i != ((long) (sizeof (wchar_t))))
21069 exit (1);
21070 fprintf (f, "%lu\n", i);
21071 }
21072 exit (ferror (f) || fclose (f) != 0);
21073
21074 ;
21075 return 0;
21076 }
21077 _ACEOF
21078 rm -f conftest$ac_exeext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21080 (eval $ac_link) 2>&5
21081 ac_status=$?
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21085 (eval $ac_try) 2>&5
21086 ac_status=$?
21087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21088 (exit $ac_status); }; }; then
21089 ac_cv_sizeof_wchar_t=`cat conftest.val`
21090 else
21091 echo "$as_me: program exited with status $ac_status" >&5
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21094
21095 ( exit $ac_status )
21096 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21097 See \`config.log' for more details." >&5
21098 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21099 See \`config.log' for more details." >&2;}
21100 { (exit 1); exit 1; }; }
21101 fi
21102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21103 fi
21104 fi
21105 rm -f conftest.val
21106 else
21107 ac_cv_sizeof_wchar_t=0
21108 fi
21109 fi
21110 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21111 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21112 cat >>confdefs.h <<_ACEOF
21113 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21114 _ACEOF
21115
21116
21117 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21118 wxUSE_WCHAR_T=yes
21119 else
21120 wxUSE_WCHAR_T=no
21121 fi
21122
21123 echo "$as_me:$LINENO: checking for va_copy" >&5
21124 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21125 if test "${wx_cv_func_va_copy+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21127 else
21128
21129 cat >conftest.$ac_ext <<_ACEOF
21130
21131 #include <stdarg.h>
21132 void foo(char *f, ...)
21133 {
21134 va_list ap1, ap2;
21135 va_start(ap1, f);
21136 va_copy(ap2, ap1);
21137 va_end(ap2);
21138 va_end(ap1);
21139 }
21140 int main()
21141 {
21142 foo("hi", 17);
21143 return 0;
21144 }
21145 _ACEOF
21146 rm -f conftest.$ac_objext conftest$ac_exeext
21147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21148 (eval $ac_link) 2>conftest.er1
21149 ac_status=$?
21150 grep -v '^ *+' conftest.er1 >conftest.err
21151 rm -f conftest.er1
21152 cat conftest.err >&5
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } &&
21155 { ac_try='test -z "$ac_c_werror_flag"
21156 || test ! -s conftest.err'
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158 (eval $ac_try) 2>&5
21159 ac_status=$?
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; } &&
21162 { ac_try='test -s conftest$ac_exeext'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21165 ac_status=$?
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 wx_cv_func_va_copy=yes
21169 else
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.$ac_ext >&5
21172
21173 wx_cv_func_va_copy=no
21174
21175 fi
21176 rm -f conftest.err conftest.$ac_objext \
21177 conftest$ac_exeext conftest.$ac_ext
21178
21179
21180 fi
21181 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21182 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21183
21184 if test $wx_cv_func_va_copy = "yes"; then
21185 cat >>confdefs.h <<\_ACEOF
21186 #define HAVE_VA_COPY 1
21187 _ACEOF
21188
21189 else
21190 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21191 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21192 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21193 echo $ECHO_N "(cached) $ECHO_C" >&6
21194 else
21195
21196 if test "$cross_compiling" = yes; then
21197 wx_cv_type_va_list_lvalue=yes
21198
21199 else
21200 cat >conftest.$ac_ext <<_ACEOF
21201
21202 #include <stdarg.h>
21203 int foo(char *f, ...)
21204 {
21205 va_list ap1, ap2;
21206 va_start(ap1, f);
21207 ap2 = ap1;
21208 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21209 return 1;
21210 va_end(ap2);
21211 va_end(ap1);
21212 return 0;
21213 }
21214 int main()
21215 {
21216 return foo("hi", 17);
21217 }
21218 _ACEOF
21219 rm -f conftest$ac_exeext
21220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21221 (eval $ac_link) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; }; then
21230 wx_cv_type_va_list_lvalue=yes
21231 else
21232 echo "$as_me: program exited with status $ac_status" >&5
21233 echo "$as_me: failed program was:" >&5
21234 sed 's/^/| /' conftest.$ac_ext >&5
21235
21236 ( exit $ac_status )
21237 wx_cv_type_va_list_lvalue=no
21238 fi
21239 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21240 fi
21241
21242
21243 fi
21244 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21245 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21246
21247 if test $wx_cv_type_va_list_lvalue != "yes"; then
21248 cat >>confdefs.h <<\_ACEOF
21249 #define VA_LIST_IS_ARRAY 1
21250 _ACEOF
21251
21252 fi
21253 fi
21254
21255 # Check whether --enable-largefile or --disable-largefile was given.
21256 if test "${enable_largefile+set}" = set; then
21257 enableval="$enable_largefile"
21258
21259 fi;
21260 if test "$enable_largefile" != no; then
21261 wx_largefile=no
21262
21263 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
21264 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
21265 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
21266 echo $ECHO_N "(cached) $ECHO_C" >&6
21267 else
21268
21269 cat >conftest.$ac_ext <<_ACEOF
21270 /* confdefs.h. */
21271 _ACEOF
21272 cat confdefs.h >>conftest.$ac_ext
21273 cat >>conftest.$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21275 #define _FILE_OFFSET_BITS 64
21276 #include <sys/types.h>
21277 int
21278 main ()
21279 {
21280 typedef struct {
21281 unsigned int field: sizeof(off_t) == 8;
21282 } wxlf;
21283
21284 ;
21285 return 0;
21286 }
21287 _ACEOF
21288 rm -f conftest.$ac_objext
21289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21290 (eval $ac_compile) 2>conftest.er1
21291 ac_status=$?
21292 grep -v '^ *+' conftest.er1 >conftest.err
21293 rm -f conftest.er1
21294 cat conftest.err >&5
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); } &&
21297 { ac_try='test -z "$ac_c_werror_flag"
21298 || test ! -s conftest.err'
21299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300 (eval $ac_try) 2>&5
21301 ac_status=$?
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); }; } &&
21304 { ac_try='test -s conftest.$ac_objext'
21305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21306 (eval $ac_try) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); }; }; then
21310 ac_cv_sys_file_offset_bits=64
21311 else
21312 echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.$ac_ext >&5
21314
21315 ac_cv_sys_file_offset_bits=no
21316 fi
21317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21318
21319
21320 fi
21321 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
21322 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
21323
21324 if test "$ac_cv_sys_file_offset_bits" != no; then
21325 wx_largefile=yes
21326 cat >>confdefs.h <<_ACEOF
21327 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
21328 _ACEOF
21329
21330 fi
21331
21332 if test "x$wx_largefile" != "xyes"; then
21333
21334 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
21335 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
21336 if test "${ac_cv_sys_large_files+set}" = set; then
21337 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 else
21339
21340 cat >conftest.$ac_ext <<_ACEOF
21341 /* confdefs.h. */
21342 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h. */
21346 #define _LARGE_FILES 1
21347 #include <sys/types.h>
21348 int
21349 main ()
21350 {
21351 typedef struct {
21352 unsigned int field: sizeof(off_t) == 8;
21353 } wxlf;
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21372 ac_status=$?
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_sys_large_files=1
21382 else
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21385
21386 ac_cv_sys_large_files=no
21387 fi
21388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21389
21390
21391 fi
21392 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
21393 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
21394
21395 if test "$ac_cv_sys_large_files" != no; then
21396 wx_largefile=yes
21397 cat >>confdefs.h <<_ACEOF
21398 #define _LARGE_FILES $ac_cv_sys_large_files
21399 _ACEOF
21400
21401 fi
21402
21403 fi
21404
21405 echo "$as_me:$LINENO: checking if large file support is available" >&5
21406 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
21407 if test "x$wx_largefile" = "xyes"; then
21408 cat >>confdefs.h <<\_ACEOF
21409 #define HAVE_LARGEFILE_SUPPORT 1
21410 _ACEOF
21411
21412 fi
21413 echo "$as_me:$LINENO: result: $wx_largefile" >&5
21414 echo "${ECHO_T}$wx_largefile" >&6
21415 fi
21416
21417
21418 if test "x$wx_largefile" = "xyes"; then
21419 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
21420 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
21421
21422 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
21423 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
21424 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
21425 if test "${wx_cv_STDC_EXT_required+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 else
21428
21429
21430
21431 ac_ext=cc
21432 ac_cpp='$CXXCPP $CPPFLAGS'
21433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21436
21437 cat >conftest.$ac_ext <<_ACEOF
21438 /* confdefs.h. */
21439 _ACEOF
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21443
21444 int
21445 main ()
21446 {
21447
21448 #ifndef __STDC_EXT__
21449 choke me
21450 #endif
21451
21452 ;
21453 return 0;
21454 }
21455 _ACEOF
21456 rm -f conftest.$ac_objext
21457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21458 (eval $ac_compile) 2>conftest.er1
21459 ac_status=$?
21460 grep -v '^ *+' conftest.er1 >conftest.err
21461 rm -f conftest.er1
21462 cat conftest.err >&5
21463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21464 (exit $ac_status); } &&
21465 { ac_try='test -z "$ac_cxx_werror_flag"
21466 || test ! -s conftest.err'
21467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21468 (eval $ac_try) 2>&5
21469 ac_status=$?
21470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21471 (exit $ac_status); }; } &&
21472 { ac_try='test -s conftest.$ac_objext'
21473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21474 (eval $ac_try) 2>&5
21475 ac_status=$?
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); }; }; then
21478 wx_cv_STDC_EXT_required=no
21479 else
21480 echo "$as_me: failed program was:" >&5
21481 sed 's/^/| /' conftest.$ac_ext >&5
21482
21483 wx_cv_STDC_EXT_required=yes
21484
21485 fi
21486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21487 ac_ext=c
21488 ac_cpp='$CPP $CPPFLAGS'
21489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21492
21493
21494
21495 fi
21496 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
21497 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
21498 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
21499 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
21500 fi
21501 fi
21502 else
21503 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
21504 fi
21505 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21506 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
21507 if test "${ac_cv_sys_largefile_source+set}" = set; then
21508 echo $ECHO_N "(cached) $ECHO_C" >&6
21509 else
21510 while :; do
21511 ac_cv_sys_largefile_source=no
21512 cat >conftest.$ac_ext <<_ACEOF
21513 /* confdefs.h. */
21514 _ACEOF
21515 cat confdefs.h >>conftest.$ac_ext
21516 cat >>conftest.$ac_ext <<_ACEOF
21517 /* end confdefs.h. */
21518 #include <stdio.h>
21519 int
21520 main ()
21521 {
21522 return !fseeko;
21523 ;
21524 return 0;
21525 }
21526 _ACEOF
21527 rm -f conftest.$ac_objext
21528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21529 (eval $ac_compile) 2>conftest.er1
21530 ac_status=$?
21531 grep -v '^ *+' conftest.er1 >conftest.err
21532 rm -f conftest.er1
21533 cat conftest.err >&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try='test -z "$ac_c_werror_flag"
21537 || test ! -s conftest.err'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; } &&
21543 { ac_try='test -s conftest.$ac_objext'
21544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21545 (eval $ac_try) 2>&5
21546 ac_status=$?
21547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21548 (exit $ac_status); }; }; then
21549 break
21550 else
21551 echo "$as_me: failed program was:" >&5
21552 sed 's/^/| /' conftest.$ac_ext >&5
21553
21554 fi
21555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21556 cat >conftest.$ac_ext <<_ACEOF
21557 /* confdefs.h. */
21558 _ACEOF
21559 cat confdefs.h >>conftest.$ac_ext
21560 cat >>conftest.$ac_ext <<_ACEOF
21561 /* end confdefs.h. */
21562 #define _LARGEFILE_SOURCE 1
21563 #include <stdio.h>
21564 int
21565 main ()
21566 {
21567 return !fseeko;
21568 ;
21569 return 0;
21570 }
21571 _ACEOF
21572 rm -f conftest.$ac_objext
21573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21574 (eval $ac_compile) 2>conftest.er1
21575 ac_status=$?
21576 grep -v '^ *+' conftest.er1 >conftest.err
21577 rm -f conftest.er1
21578 cat conftest.err >&5
21579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21580 (exit $ac_status); } &&
21581 { ac_try='test -z "$ac_c_werror_flag"
21582 || test ! -s conftest.err'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21585 ac_status=$?
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; } &&
21588 { ac_try='test -s conftest.$ac_objext'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21591 ac_status=$?
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; }; then
21594 ac_cv_sys_largefile_source=1; break
21595 else
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21598
21599 fi
21600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21601 break
21602 done
21603 fi
21604 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
21605 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
21606 if test "$ac_cv_sys_largefile_source" != no; then
21607
21608 cat >>confdefs.h <<_ACEOF
21609 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21610 _ACEOF
21611
21612 fi
21613 rm -f conftest*
21614
21615 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21616 # in glibc 2.1.3, but that breaks too many other things.
21617 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21618 echo "$as_me:$LINENO: checking for fseeko" >&5
21619 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
21620 if test "${ac_cv_func_fseeko+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21623 cat >conftest.$ac_ext <<_ACEOF
21624 /* confdefs.h. */
21625 _ACEOF
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 #include <stdio.h>
21630 int
21631 main ()
21632 {
21633 return fseeko && fseeko (stdin, 0, 0);
21634 ;
21635 return 0;
21636 }
21637 _ACEOF
21638 rm -f conftest.$ac_objext conftest$ac_exeext
21639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21640 (eval $ac_link) 2>conftest.er1
21641 ac_status=$?
21642 grep -v '^ *+' conftest.er1 >conftest.err
21643 rm -f conftest.er1
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } &&
21647 { ac_try='test -z "$ac_c_werror_flag"
21648 || test ! -s conftest.err'
21649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21650 (eval $ac_try) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); }; } &&
21654 { ac_try='test -s conftest$ac_exeext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21657 ac_status=$?
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 ac_cv_func_fseeko=yes
21661 else
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ac_cv_func_fseeko=no
21666 fi
21667 rm -f conftest.err conftest.$ac_objext \
21668 conftest$ac_exeext conftest.$ac_ext
21669 fi
21670 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
21671 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
21672 if test $ac_cv_func_fseeko = yes; then
21673
21674 cat >>confdefs.h <<\_ACEOF
21675 #define HAVE_FSEEKO 1
21676 _ACEOF
21677
21678 fi
21679
21680 if test "$ac_cv_sys_largefile_source" != no; then
21681 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
21682 fi
21683 fi
21684
21685 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
21686 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
21687 if test "${ac_cv_c_bigendian+set}" = set; then
21688 echo $ECHO_N "(cached) $ECHO_C" >&6
21689 else
21690 ac_cv_c_bigendian=unknown
21691 # See if sys/param.h defines the BYTE_ORDER macro.
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 #include <sys/types.h>
21699 #include <sys/param.h>
21700 int
21701 main ()
21702 {
21703
21704 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
21705 bogus endian macros
21706 #endif
21707 ;
21708 return 0;
21709 }
21710 _ACEOF
21711 rm -f conftest.$ac_objext
21712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21713 (eval $ac_compile) 2>conftest.er1
21714 ac_status=$?
21715 grep -v '^ *+' conftest.er1 >conftest.err
21716 rm -f conftest.er1
21717 cat conftest.err >&5
21718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21719 (exit $ac_status); } &&
21720 { ac_try='test -z "$ac_c_werror_flag"
21721 || test ! -s conftest.err'
21722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21723 (eval $ac_try) 2>&5
21724 ac_status=$?
21725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21726 (exit $ac_status); }; } &&
21727 { ac_try='test -s conftest.$ac_objext'
21728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21729 (eval $ac_try) 2>&5
21730 ac_status=$?
21731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21732 (exit $ac_status); }; }; then
21733 # It does; now see whether it defined to BIG_ENDIAN or not.
21734 cat >conftest.$ac_ext <<_ACEOF
21735 /* confdefs.h. */
21736 _ACEOF
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 #include <sys/types.h>
21741 #include <sys/param.h>
21742 int
21743 main ()
21744 {
21745
21746 #if BYTE_ORDER != BIG_ENDIAN
21747 not big endian
21748 #endif
21749 ;
21750 return 0;
21751 }
21752 _ACEOF
21753 rm -f conftest.$ac_objext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21755 (eval $ac_compile) 2>conftest.er1
21756 ac_status=$?
21757 grep -v '^ *+' conftest.er1 >conftest.err
21758 rm -f conftest.er1
21759 cat conftest.err >&5
21760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 (exit $ac_status); } &&
21762 { ac_try='test -z "$ac_c_werror_flag"
21763 || test ! -s conftest.err'
21764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 (eval $ac_try) 2>&5
21766 ac_status=$?
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); }; } &&
21769 { ac_try='test -s conftest.$ac_objext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 ac_cv_c_bigendian=yes
21776 else
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21779
21780 ac_cv_c_bigendian=no
21781 fi
21782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 fi
21788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21789 if test $ac_cv_c_bigendian = unknown; then
21790 if test "$cross_compiling" = yes; then
21791 ac_cv_c_bigendian=unknown
21792 else
21793 cat >conftest.$ac_ext <<_ACEOF
21794 /* confdefs.h. */
21795 _ACEOF
21796 cat confdefs.h >>conftest.$ac_ext
21797 cat >>conftest.$ac_ext <<_ACEOF
21798 /* end confdefs.h. */
21799 main () {
21800 /* Are we little or big endian? From Harbison&Steele. */
21801 union
21802 {
21803 long l;
21804 char c[sizeof (long)];
21805 } u;
21806 u.l = 1;
21807 exit (u.c[sizeof (long) - 1] == 1);
21808 }
21809 _ACEOF
21810 rm -f conftest$ac_exeext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21812 (eval $ac_link) 2>&5
21813 ac_status=$?
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21817 (eval $ac_try) 2>&5
21818 ac_status=$?
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); }; }; then
21821 ac_cv_c_bigendian=no
21822 else
21823 echo "$as_me: program exited with status $ac_status" >&5
21824 echo "$as_me: failed program was:" >&5
21825 sed 's/^/| /' conftest.$ac_ext >&5
21826
21827 ( exit $ac_status )
21828 ac_cv_c_bigendian=yes
21829 fi
21830 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21831 fi
21832 fi
21833 fi
21834 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
21835 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
21836 if test $ac_cv_c_bigendian = unknown; then
21837 { 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
21838 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;}
21839 fi
21840 if test $ac_cv_c_bigendian = yes; then
21841 cat >>confdefs.h <<\_ACEOF
21842 #define WORDS_BIGENDIAN 1
21843 _ACEOF
21844
21845 fi
21846
21847
21848 ac_ext=cc
21849 ac_cpp='$CXXCPP $CPPFLAGS'
21850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21853 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
21854 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
21855 if test -z "$CXXCPP"; then
21856 if test "${ac_cv_prog_CXXCPP+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 else
21859 # Double quotes because CXXCPP needs to be expanded
21860 for CXXCPP in "$CXX -E" "/lib/cpp"
21861 do
21862 ac_preproc_ok=false
21863 for ac_cxx_preproc_warn_flag in '' yes
21864 do
21865 # Use a header file that comes with gcc, so configuring glibc
21866 # with a fresh cross-compiler works.
21867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21868 # <limits.h> exists even on freestanding compilers.
21869 # On the NeXT, cc -E runs the code through the compiler's parser,
21870 # not just through cpp. "Syntax error" is here to catch this case.
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 #ifdef __STDC__
21878 # include <limits.h>
21879 #else
21880 # include <assert.h>
21881 #endif
21882 Syntax error
21883 _ACEOF
21884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21886 ac_status=$?
21887 grep -v '^ *+' conftest.er1 >conftest.err
21888 rm -f conftest.er1
21889 cat conftest.err >&5
21890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21891 (exit $ac_status); } >/dev/null; then
21892 if test -s conftest.err; then
21893 ac_cpp_err=$ac_cxx_preproc_warn_flag
21894 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21895 else
21896 ac_cpp_err=
21897 fi
21898 else
21899 ac_cpp_err=yes
21900 fi
21901 if test -z "$ac_cpp_err"; then
21902 :
21903 else
21904 echo "$as_me: failed program was:" >&5
21905 sed 's/^/| /' conftest.$ac_ext >&5
21906
21907 # Broken: fails on valid input.
21908 continue
21909 fi
21910 rm -f conftest.err conftest.$ac_ext
21911
21912 # OK, works on sane cases. Now check whether non-existent headers
21913 # can be detected and how.
21914 cat >conftest.$ac_ext <<_ACEOF
21915 /* confdefs.h. */
21916 _ACEOF
21917 cat confdefs.h >>conftest.$ac_ext
21918 cat >>conftest.$ac_ext <<_ACEOF
21919 /* end confdefs.h. */
21920 #include <ac_nonexistent.h>
21921 _ACEOF
21922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21924 ac_status=$?
21925 grep -v '^ *+' conftest.er1 >conftest.err
21926 rm -f conftest.er1
21927 cat conftest.err >&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } >/dev/null; then
21930 if test -s conftest.err; then
21931 ac_cpp_err=$ac_cxx_preproc_warn_flag
21932 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21933 else
21934 ac_cpp_err=
21935 fi
21936 else
21937 ac_cpp_err=yes
21938 fi
21939 if test -z "$ac_cpp_err"; then
21940 # Broken: success on invalid input.
21941 continue
21942 else
21943 echo "$as_me: failed program was:" >&5
21944 sed 's/^/| /' conftest.$ac_ext >&5
21945
21946 # Passes both tests.
21947 ac_preproc_ok=:
21948 break
21949 fi
21950 rm -f conftest.err conftest.$ac_ext
21951
21952 done
21953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21954 rm -f conftest.err conftest.$ac_ext
21955 if $ac_preproc_ok; then
21956 break
21957 fi
21958
21959 done
21960 ac_cv_prog_CXXCPP=$CXXCPP
21961
21962 fi
21963 CXXCPP=$ac_cv_prog_CXXCPP
21964 else
21965 ac_cv_prog_CXXCPP=$CXXCPP
21966 fi
21967 echo "$as_me:$LINENO: result: $CXXCPP" >&5
21968 echo "${ECHO_T}$CXXCPP" >&6
21969 ac_preproc_ok=false
21970 for ac_cxx_preproc_warn_flag in '' yes
21971 do
21972 # Use a header file that comes with gcc, so configuring glibc
21973 # with a fresh cross-compiler works.
21974 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21975 # <limits.h> exists even on freestanding compilers.
21976 # On the NeXT, cc -E runs the code through the compiler's parser,
21977 # not just through cpp. "Syntax error" is here to catch this case.
21978 cat >conftest.$ac_ext <<_ACEOF
21979 /* confdefs.h. */
21980 _ACEOF
21981 cat confdefs.h >>conftest.$ac_ext
21982 cat >>conftest.$ac_ext <<_ACEOF
21983 /* end confdefs.h. */
21984 #ifdef __STDC__
21985 # include <limits.h>
21986 #else
21987 # include <assert.h>
21988 #endif
21989 Syntax error
21990 _ACEOF
21991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21993 ac_status=$?
21994 grep -v '^ *+' conftest.er1 >conftest.err
21995 rm -f conftest.er1
21996 cat conftest.err >&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); } >/dev/null; then
21999 if test -s conftest.err; then
22000 ac_cpp_err=$ac_cxx_preproc_warn_flag
22001 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22002 else
22003 ac_cpp_err=
22004 fi
22005 else
22006 ac_cpp_err=yes
22007 fi
22008 if test -z "$ac_cpp_err"; then
22009 :
22010 else
22011 echo "$as_me: failed program was:" >&5
22012 sed 's/^/| /' conftest.$ac_ext >&5
22013
22014 # Broken: fails on valid input.
22015 continue
22016 fi
22017 rm -f conftest.err conftest.$ac_ext
22018
22019 # OK, works on sane cases. Now check whether non-existent headers
22020 # can be detected and how.
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 #include <ac_nonexistent.h>
22028 _ACEOF
22029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22031 ac_status=$?
22032 grep -v '^ *+' conftest.er1 >conftest.err
22033 rm -f conftest.er1
22034 cat conftest.err >&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } >/dev/null; then
22037 if test -s conftest.err; then
22038 ac_cpp_err=$ac_cxx_preproc_warn_flag
22039 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22040 else
22041 ac_cpp_err=
22042 fi
22043 else
22044 ac_cpp_err=yes
22045 fi
22046 if test -z "$ac_cpp_err"; then
22047 # Broken: success on invalid input.
22048 continue
22049 else
22050 echo "$as_me: failed program was:" >&5
22051 sed 's/^/| /' conftest.$ac_ext >&5
22052
22053 # Passes both tests.
22054 ac_preproc_ok=:
22055 break
22056 fi
22057 rm -f conftest.err conftest.$ac_ext
22058
22059 done
22060 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
22061 rm -f conftest.err conftest.$ac_ext
22062 if $ac_preproc_ok; then
22063 :
22064 else
22065 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22066 See \`config.log' for more details." >&5
22067 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
22068 See \`config.log' for more details." >&2;}
22069 { (exit 1); exit 1; }; }
22070 fi
22071
22072 ac_ext=cc
22073 ac_cpp='$CXXCPP $CPPFLAGS'
22074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22077
22078
22079
22080
22081
22082 ac_ext=cc
22083 ac_cpp='$CXXCPP $CPPFLAGS'
22084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22087
22088
22089
22090 for ac_header in iostream
22091 do
22092 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22093 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22094 echo "$as_me:$LINENO: checking for $ac_header" >&5
22095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 fi
22099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22101 else
22102 # Is the header compilable?
22103 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22104 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22105 cat >conftest.$ac_ext <<_ACEOF
22106 /* confdefs.h. */
22107 _ACEOF
22108 cat confdefs.h >>conftest.$ac_ext
22109 cat >>conftest.$ac_ext <<_ACEOF
22110 /* end confdefs.h. */
22111 $ac_includes_default
22112 #include <$ac_header>
22113 _ACEOF
22114 rm -f conftest.$ac_objext
22115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22116 (eval $ac_compile) 2>conftest.er1
22117 ac_status=$?
22118 grep -v '^ *+' conftest.er1 >conftest.err
22119 rm -f conftest.er1
22120 cat conftest.err >&5
22121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22122 (exit $ac_status); } &&
22123 { ac_try='test -z "$ac_cxx_werror_flag"
22124 || test ! -s conftest.err'
22125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22126 (eval $ac_try) 2>&5
22127 ac_status=$?
22128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22129 (exit $ac_status); }; } &&
22130 { ac_try='test -s conftest.$ac_objext'
22131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22132 (eval $ac_try) 2>&5
22133 ac_status=$?
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); }; }; then
22136 ac_header_compiler=yes
22137 else
22138 echo "$as_me: failed program was:" >&5
22139 sed 's/^/| /' conftest.$ac_ext >&5
22140
22141 ac_header_compiler=no
22142 fi
22143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22144 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22145 echo "${ECHO_T}$ac_header_compiler" >&6
22146
22147 # Is the header present?
22148 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22149 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22150 cat >conftest.$ac_ext <<_ACEOF
22151 /* confdefs.h. */
22152 _ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22156 #include <$ac_header>
22157 _ACEOF
22158 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22159 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22160 ac_status=$?
22161 grep -v '^ *+' conftest.er1 >conftest.err
22162 rm -f conftest.er1
22163 cat conftest.err >&5
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); } >/dev/null; then
22166 if test -s conftest.err; then
22167 ac_cpp_err=$ac_cxx_preproc_warn_flag
22168 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22169 else
22170 ac_cpp_err=
22171 fi
22172 else
22173 ac_cpp_err=yes
22174 fi
22175 if test -z "$ac_cpp_err"; then
22176 ac_header_preproc=yes
22177 else
22178 echo "$as_me: failed program was:" >&5
22179 sed 's/^/| /' conftest.$ac_ext >&5
22180
22181 ac_header_preproc=no
22182 fi
22183 rm -f conftest.err conftest.$ac_ext
22184 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22185 echo "${ECHO_T}$ac_header_preproc" >&6
22186
22187 # So? What about this header?
22188 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22189 yes:no: )
22190 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22191 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22192 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22193 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22194 ac_header_preproc=yes
22195 ;;
22196 no:yes:* )
22197 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22198 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22199 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22200 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22201 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22202 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22203 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22204 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22206 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22207 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22208 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22209 (
22210 cat <<\_ASBOX
22211 ## ----------------------------------------- ##
22212 ## Report this to wx-dev@lists.wxwidgets.org ##
22213 ## ----------------------------------------- ##
22214 _ASBOX
22215 ) |
22216 sed "s/^/$as_me: WARNING: /" >&2
22217 ;;
22218 esac
22219 echo "$as_me:$LINENO: checking for $ac_header" >&5
22220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22222 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 else
22224 eval "$as_ac_Header=\$ac_header_preproc"
22225 fi
22226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22228
22229 fi
22230 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22231 cat >>confdefs.h <<_ACEOF
22232 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22233 _ACEOF
22234
22235 fi
22236
22237 done
22238
22239
22240 if test "$ac_cv_header_iostream" = "yes" ; then
22241 :
22242 else
22243 cat >>confdefs.h <<\_ACEOF
22244 #define wxUSE_IOSTREAMH 1
22245 _ACEOF
22246
22247 fi
22248
22249 ac_ext=c
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22254
22255
22256
22257
22258 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22259 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22260 if test "${wx_cv_cpp_bool+set}" = set; then
22261 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 else
22263
22264
22265
22266 ac_ext=cc
22267 ac_cpp='$CXXCPP $CPPFLAGS'
22268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22271
22272
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h. */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h. */
22279
22280
22281 int
22282 main ()
22283 {
22284
22285 bool b = true;
22286
22287 return 0;
22288
22289 ;
22290 return 0;
22291 }
22292 _ACEOF
22293 rm -f conftest.$ac_objext
22294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22295 (eval $ac_compile) 2>conftest.er1
22296 ac_status=$?
22297 grep -v '^ *+' conftest.er1 >conftest.err
22298 rm -f conftest.er1
22299 cat conftest.err >&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } &&
22302 { ac_try='test -z "$ac_cxx_werror_flag"
22303 || test ! -s conftest.err'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22306 ac_status=$?
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; } &&
22309 { ac_try='test -s conftest.$ac_objext'
22310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22311 (eval $ac_try) 2>&5
22312 ac_status=$?
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); }; }; then
22315
22316 wx_cv_cpp_bool=yes
22317
22318 else
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322
22323 wx_cv_cpp_bool=no
22324
22325
22326 fi
22327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22328
22329 ac_ext=c
22330 ac_cpp='$CPP $CPPFLAGS'
22331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22334
22335
22336 fi
22337 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22338 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22339
22340 if test "$wx_cv_cpp_bool" = "yes"; then
22341 cat >>confdefs.h <<\_ACEOF
22342 #define HAVE_BOOL 1
22343 _ACEOF
22344
22345 fi
22346
22347
22348
22349 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22350 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22351 if test "${wx_cv_explicit+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 else
22354
22355
22356
22357 ac_ext=cc
22358 ac_cpp='$CXXCPP $CPPFLAGS'
22359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22362
22363
22364 cat >conftest.$ac_ext <<_ACEOF
22365 /* confdefs.h. */
22366 _ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370
22371 class Foo { public: explicit Foo(int) {} };
22372
22373 int
22374 main ()
22375 {
22376
22377 return 0;
22378
22379 ;
22380 return 0;
22381 }
22382 _ACEOF
22383 rm -f conftest.$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>conftest.er1
22386 ac_status=$?
22387 grep -v '^ *+' conftest.er1 >conftest.err
22388 rm -f conftest.er1
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try='test -z "$ac_cxx_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try='test -s conftest.$ac_objext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405
22406 cat >conftest.$ac_ext <<_ACEOF
22407 /* confdefs.h. */
22408 _ACEOF
22409 cat confdefs.h >>conftest.$ac_ext
22410 cat >>conftest.$ac_ext <<_ACEOF
22411 /* end confdefs.h. */
22412
22413 class Foo { public: explicit Foo(int) {} };
22414 static void TakeFoo(const Foo& foo) { }
22415
22416 int
22417 main ()
22418 {
22419
22420 TakeFoo(17);
22421 return 0;
22422
22423 ;
22424 return 0;
22425 }
22426 _ACEOF
22427 rm -f conftest.$ac_objext
22428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22429 (eval $ac_compile) 2>conftest.er1
22430 ac_status=$?
22431 grep -v '^ *+' conftest.er1 >conftest.err
22432 rm -f conftest.er1
22433 cat conftest.err >&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } &&
22436 { ac_try='test -z "$ac_cxx_werror_flag"
22437 || test ! -s conftest.err'
22438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22439 (eval $ac_try) 2>&5
22440 ac_status=$?
22441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442 (exit $ac_status); }; } &&
22443 { ac_try='test -s conftest.$ac_objext'
22444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22445 (eval $ac_try) 2>&5
22446 ac_status=$?
22447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22448 (exit $ac_status); }; }; then
22449 wx_cv_explicit=no
22450 else
22451 echo "$as_me: failed program was:" >&5
22452 sed 's/^/| /' conftest.$ac_ext >&5
22453
22454 wx_cv_explicit=yes
22455
22456 fi
22457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22458
22459 else
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.$ac_ext >&5
22462
22463 wx_cv_explicit=no
22464
22465 fi
22466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22467
22468 ac_ext=c
22469 ac_cpp='$CPP $CPPFLAGS'
22470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22473
22474
22475 fi
22476 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22477 echo "${ECHO_T}$wx_cv_explicit" >&6
22478
22479 if test "$wx_cv_explicit" = "yes"; then
22480 cat >>confdefs.h <<\_ACEOF
22481 #define HAVE_EXPLICIT 1
22482 _ACEOF
22483
22484 fi
22485
22486
22487 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22488 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22489 if test "${ac_cv_cxx_const_cast+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22492
22493
22494 ac_ext=cc
22495 ac_cpp='$CXXCPP $CPPFLAGS'
22496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22499
22500 cat >conftest.$ac_ext <<_ACEOF
22501 /* confdefs.h. */
22502 _ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22506
22507 int
22508 main ()
22509 {
22510 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22511 ;
22512 return 0;
22513 }
22514 _ACEOF
22515 rm -f conftest.$ac_objext
22516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22517 (eval $ac_compile) 2>conftest.er1
22518 ac_status=$?
22519 grep -v '^ *+' conftest.er1 >conftest.err
22520 rm -f conftest.er1
22521 cat conftest.err >&5
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); } &&
22524 { ac_try='test -z "$ac_cxx_werror_flag"
22525 || test ! -s conftest.err'
22526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22527 (eval $ac_try) 2>&5
22528 ac_status=$?
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); }; } &&
22531 { ac_try='test -s conftest.$ac_objext'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; }; then
22537 ac_cv_cxx_const_cast=yes
22538 else
22539 echo "$as_me: failed program was:" >&5
22540 sed 's/^/| /' conftest.$ac_ext >&5
22541
22542 ac_cv_cxx_const_cast=no
22543 fi
22544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22545 ac_ext=c
22546 ac_cpp='$CPP $CPPFLAGS'
22547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22550
22551
22552 fi
22553 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
22554 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
22555 if test "$ac_cv_cxx_const_cast" = yes; then
22556
22557 cat >>confdefs.h <<\_ACEOF
22558 #define HAVE_CONST_CAST
22559 _ACEOF
22560
22561 fi
22562
22563 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
22564 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
22565 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 else
22568
22569
22570 ac_ext=cc
22571 ac_cpp='$CXXCPP $CPPFLAGS'
22572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #include <typeinfo>
22583 class Base { public : Base () {} virtual void f () = 0;};
22584 class Derived : public Base { public : Derived () {} virtual void f () {} };
22585 class Unrelated { public : Unrelated () {} };
22586 int g (Unrelated&) { return 0; }
22587 int
22588 main ()
22589 {
22590
22591 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 rm -f conftest.$ac_objext
22597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22598 (eval $ac_compile) 2>conftest.er1
22599 ac_status=$?
22600 grep -v '^ *+' conftest.er1 >conftest.err
22601 rm -f conftest.er1
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } &&
22605 { ac_try='test -z "$ac_cxx_werror_flag"
22606 || test ! -s conftest.err'
22607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22608 (eval $ac_try) 2>&5
22609 ac_status=$?
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); }; } &&
22612 { ac_try='test -s conftest.$ac_objext'
22613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22614 (eval $ac_try) 2>&5
22615 ac_status=$?
22616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22617 (exit $ac_status); }; }; then
22618 ac_cv_cxx_reinterpret_cast=yes
22619 else
22620 echo "$as_me: failed program was:" >&5
22621 sed 's/^/| /' conftest.$ac_ext >&5
22622
22623 ac_cv_cxx_reinterpret_cast=no
22624 fi
22625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22626 ac_ext=c
22627 ac_cpp='$CPP $CPPFLAGS'
22628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631
22632
22633 fi
22634 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
22635 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
22636 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
22637
22638 cat >>confdefs.h <<\_ACEOF
22639 #define HAVE_REINTERPRET_CAST
22640 _ACEOF
22641
22642 fi
22643
22644 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
22645 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
22646 if test "${ac_cv_cxx_static_cast+set}" = set; then
22647 echo $ECHO_N "(cached) $ECHO_C" >&6
22648 else
22649
22650
22651 ac_ext=cc
22652 ac_cpp='$CXXCPP $CPPFLAGS'
22653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22656
22657 cat >conftest.$ac_ext <<_ACEOF
22658 /* confdefs.h. */
22659 _ACEOF
22660 cat confdefs.h >>conftest.$ac_ext
22661 cat >>conftest.$ac_ext <<_ACEOF
22662 /* end confdefs.h. */
22663 #include <typeinfo>
22664 class Base { public : Base () {} virtual void f () = 0; };
22665 class Derived : public Base { public : Derived () {} virtual void f () {} };
22666 int g (Derived&) { return 0; }
22667 int
22668 main ()
22669 {
22670
22671 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
22672 ;
22673 return 0;
22674 }
22675 _ACEOF
22676 rm -f conftest.$ac_objext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22678 (eval $ac_compile) 2>conftest.er1
22679 ac_status=$?
22680 grep -v '^ *+' conftest.er1 >conftest.err
22681 rm -f conftest.er1
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try='test -z "$ac_cxx_werror_flag"
22686 || test ! -s conftest.err'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22689 ac_status=$?
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; } &&
22692 { ac_try='test -s conftest.$ac_objext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22695 ac_status=$?
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_cxx_static_cast=yes
22699 else
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22702
22703 ac_cv_cxx_static_cast=no
22704 fi
22705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22706 ac_ext=c
22707 ac_cpp='$CPP $CPPFLAGS'
22708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22711
22712
22713 fi
22714 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
22715 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
22716 if test "$ac_cv_cxx_static_cast" = yes; then
22717
22718 cat >>confdefs.h <<\_ACEOF
22719 #define HAVE_STATIC_CAST
22720 _ACEOF
22721
22722 fi
22723
22724
22725 if test "x$SUNCXX" = xyes; then
22726 CXXFLAGS="-features=tmplife $CXXFLAGS"
22727 fi
22728
22729 if test "x$SUNCC" = xyes; then
22730 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
22731 fi
22732
22733 if test "x$SGICC" = "xyes"; then
22734 CFLAGS="-woff 3970 $CFLAGS"
22735 fi
22736 if test "x$SGICXX" = "xyes"; then
22737 CXXFLAGS="-woff 3970 $CXXFLAGS"
22738 fi
22739
22740 if test "x$HPCC" = "xyes"; then
22741 CFLAGS="+W 2011,2450 $CFLAGS"
22742 fi
22743 if test "x$HPCXX" = "xyes"; then
22744 CXXFLAGS="+W 2340 $CXXFLAGS"
22745 fi
22746
22747 if test "x$COMPAQCXX" = "xyes"; then
22748 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
22749 fi
22750
22751 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
22752 ac_ext=cc
22753 ac_cpp='$CXXCPP $CPPFLAGS'
22754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22757
22758
22759 if test "$wxUSE_UNICODE" = "yes"; then
22760 std_string="std::wstring"
22761 char_type="wchar_t"
22762 else
22763 std_string="std::string"
22764 char_type="char"
22765 fi
22766
22767 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
22768 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
22769 cat >conftest.$ac_ext <<_ACEOF
22770 /* confdefs.h. */
22771 _ACEOF
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 #include <string>
22776 int
22777 main ()
22778 {
22779 $std_string foo;
22780 ;
22781 return 0;
22782 }
22783 _ACEOF
22784 rm -f conftest.$ac_objext
22785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22786 (eval $ac_compile) 2>conftest.er1
22787 ac_status=$?
22788 grep -v '^ *+' conftest.er1 >conftest.err
22789 rm -f conftest.er1
22790 cat conftest.err >&5
22791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792 (exit $ac_status); } &&
22793 { ac_try='test -z "$ac_cxx_werror_flag"
22794 || test ! -s conftest.err'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22797 ac_status=$?
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; } &&
22800 { ac_try='test -s conftest.$ac_objext'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; }; then
22806 echo "$as_me:$LINENO: result: yes" >&5
22807 echo "${ECHO_T}yes" >&6
22808 cat >>confdefs.h <<\_ACEOF
22809 #define HAVE_STD_WSTRING 1
22810 _ACEOF
22811
22812 else
22813 echo "$as_me: failed program was:" >&5
22814 sed 's/^/| /' conftest.$ac_ext >&5
22815
22816 echo "$as_me:$LINENO: result: no" >&5
22817 echo "${ECHO_T}no" >&6
22818 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
22819 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
22820 cat >conftest.$ac_ext <<_ACEOF
22821 /* confdefs.h. */
22822 _ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826
22827 #ifdef HAVE_WCHAR_H
22828 # ifdef __CYGWIN__
22829 # include <stddef.h>
22830 # endif
22831 # include <wchar.h>
22832 #endif
22833 #ifdef HAVE_STDLIB_H
22834 # include <stdlib.h>
22835 #endif
22836 #include <stdio.h>
22837 #include <string>
22838
22839 int
22840 main ()
22841 {
22842 std::basic_string<$char_type> foo;
22843 const $char_type* dummy = foo.c_str();
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 rm -f conftest.$ac_objext
22849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22850 (eval $ac_compile) 2>conftest.er1
22851 ac_status=$?
22852 grep -v '^ *+' conftest.er1 >conftest.err
22853 rm -f conftest.er1
22854 cat conftest.err >&5
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); } &&
22857 { ac_try='test -z "$ac_cxx_werror_flag"
22858 || test ! -s conftest.err'
22859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22860 (eval $ac_try) 2>&5
22861 ac_status=$?
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; } &&
22864 { ac_try='test -s conftest.$ac_objext'
22865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22866 (eval $ac_try) 2>&5
22867 ac_status=$?
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); }; }; then
22870 echo "$as_me:$LINENO: result: yes" >&5
22871 echo "${ECHO_T}yes" >&6
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 echo "$as_me:$LINENO: result: no" >&5
22877 echo "${ECHO_T}no" >&6
22878 if test "$wxUSE_STL" = "yes"; then
22879 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
22880 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
22881 { (exit 1); exit 1; }; }
22882 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
22883 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
22884 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
22885 { (exit 1); exit 1; }; }
22886 else
22887 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
22888 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
22889 wxUSE_STD_STRING=no
22890 fi
22891
22892
22893 fi
22894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22895
22896 fi
22897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22898
22899 ac_ext=c
22900 ac_cpp='$CPP $CPPFLAGS'
22901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22904
22905 fi
22906
22907 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
22908 ac_ext=cc
22909 ac_cpp='$CXXCPP $CPPFLAGS'
22910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22913
22914
22915 echo "$as_me:$LINENO: checking for std::istream" >&5
22916 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
22917 if test "${ac_cv_type_std__istream+set}" = set; then
22918 echo $ECHO_N "(cached) $ECHO_C" >&6
22919 else
22920 cat >conftest.$ac_ext <<_ACEOF
22921 /* confdefs.h. */
22922 _ACEOF
22923 cat confdefs.h >>conftest.$ac_ext
22924 cat >>conftest.$ac_ext <<_ACEOF
22925 /* end confdefs.h. */
22926 #include <iostream>
22927
22928 int
22929 main ()
22930 {
22931 if ((std::istream *) 0)
22932 return 0;
22933 if (sizeof (std::istream))
22934 return 0;
22935 ;
22936 return 0;
22937 }
22938 _ACEOF
22939 rm -f conftest.$ac_objext
22940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22941 (eval $ac_compile) 2>conftest.er1
22942 ac_status=$?
22943 grep -v '^ *+' conftest.er1 >conftest.err
22944 rm -f conftest.er1
22945 cat conftest.err >&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } &&
22948 { ac_try='test -z "$ac_cxx_werror_flag"
22949 || test ! -s conftest.err'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; } &&
22955 { ac_try='test -s conftest.$ac_objext'
22956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22957 (eval $ac_try) 2>&5
22958 ac_status=$?
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); }; }; then
22961 ac_cv_type_std__istream=yes
22962 else
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.$ac_ext >&5
22965
22966 ac_cv_type_std__istream=no
22967 fi
22968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22969 fi
22970 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
22971 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
22972 if test $ac_cv_type_std__istream = yes; then
22973
22974 cat >>confdefs.h <<_ACEOF
22975 #define HAVE_STD__ISTREAM 1
22976 _ACEOF
22977
22978
22979 else
22980 wxUSE_STD_IOSTREAM=no
22981 fi
22982 echo "$as_me:$LINENO: checking for std::ostream" >&5
22983 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
22984 if test "${ac_cv_type_std__ostream+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 else
22987 cat >conftest.$ac_ext <<_ACEOF
22988 /* confdefs.h. */
22989 _ACEOF
22990 cat confdefs.h >>conftest.$ac_ext
22991 cat >>conftest.$ac_ext <<_ACEOF
22992 /* end confdefs.h. */
22993 #include <iostream>
22994
22995 int
22996 main ()
22997 {
22998 if ((std::ostream *) 0)
22999 return 0;
23000 if (sizeof (std::ostream))
23001 return 0;
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 rm -f conftest.$ac_objext
23007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23008 (eval $ac_compile) 2>conftest.er1
23009 ac_status=$?
23010 grep -v '^ *+' conftest.er1 >conftest.err
23011 rm -f conftest.er1
23012 cat conftest.err >&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -z "$ac_cxx_werror_flag"
23016 || test ! -s conftest.err'
23017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23018 (eval $ac_try) 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; } &&
23022 { ac_try='test -s conftest.$ac_objext'
23023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23024 (eval $ac_try) 2>&5
23025 ac_status=$?
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); }; }; then
23028 ac_cv_type_std__ostream=yes
23029 else
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 ac_cv_type_std__ostream=no
23034 fi
23035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23036 fi
23037 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23038 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23039 if test $ac_cv_type_std__ostream = yes; then
23040
23041 cat >>confdefs.h <<_ACEOF
23042 #define HAVE_STD__OSTREAM 1
23043 _ACEOF
23044
23045
23046 else
23047 wxUSE_STD_IOSTREAM=no
23048 fi
23049
23050
23051 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23052 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23053 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23054 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23055 { (exit 1); exit 1; }; }
23056 else
23057 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23058 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23059 fi
23060 fi
23061
23062 ac_ext=c
23063 ac_cpp='$CPP $CPPFLAGS'
23064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23067
23068 fi
23069
23070 if test "$wxUSE_STL" = "yes"; then
23071 ac_ext=cc
23072 ac_cpp='$CXXCPP $CPPFLAGS'
23073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23076
23077
23078 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23079 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23080 cat >conftest.$ac_ext <<_ACEOF
23081 /* confdefs.h. */
23082 _ACEOF
23083 cat confdefs.h >>conftest.$ac_ext
23084 cat >>conftest.$ac_ext <<_ACEOF
23085 /* end confdefs.h. */
23086 #include <string>
23087 #include <functional>
23088 #include <algorithm>
23089 #include <vector>
23090 #include <list>
23091 int
23092 main ()
23093 {
23094 std::vector<int> moo;
23095 std::list<int> foo;
23096 std::vector<int>::iterator it =
23097 std::find_if(moo.begin(), moo.end(),
23098 std::bind2nd(std::less<int>(), 3));
23099 ;
23100 return 0;
23101 }
23102 _ACEOF
23103 rm -f conftest.$ac_objext
23104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23105 (eval $ac_compile) 2>conftest.er1
23106 ac_status=$?
23107 grep -v '^ *+' conftest.er1 >conftest.err
23108 rm -f conftest.er1
23109 cat conftest.err >&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } &&
23112 { ac_try='test -z "$ac_cxx_werror_flag"
23113 || test ! -s conftest.err'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23116 ac_status=$?
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; } &&
23119 { ac_try='test -s conftest.$ac_objext'
23120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23121 (eval $ac_try) 2>&5
23122 ac_status=$?
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); }; }; then
23125 echo "$as_me:$LINENO: result: yes" >&5
23126 echo "${ECHO_T}yes" >&6
23127 else
23128 echo "$as_me: failed program was:" >&5
23129 sed 's/^/| /' conftest.$ac_ext >&5
23130
23131 echo "$as_me:$LINENO: result: no" >&5
23132 echo "${ECHO_T}no" >&6
23133 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23134 echo "$as_me: error: Basic STL functionality missing" >&2;}
23135 { (exit 1); exit 1; }; }
23136 fi
23137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23138
23139 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23140 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23141 cat >conftest.$ac_ext <<_ACEOF
23142 /* confdefs.h. */
23143 _ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 #include <string>
23148 int
23149 main ()
23150 {
23151 std::string foo, bar;
23152 foo.compare(bar);
23153 foo.compare(1, 1, bar);
23154 foo.compare(1, 1, bar, 1, 1);
23155 foo.compare("");
23156 foo.compare(1, 1, "");
23157 foo.compare(1, 1, "", 2);
23158 ;
23159 return 0;
23160 }
23161 _ACEOF
23162 rm -f conftest.$ac_objext
23163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23164 (eval $ac_compile) 2>conftest.er1
23165 ac_status=$?
23166 grep -v '^ *+' conftest.er1 >conftest.err
23167 rm -f conftest.er1
23168 cat conftest.err >&5
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); } &&
23171 { ac_try='test -z "$ac_cxx_werror_flag"
23172 || test ! -s conftest.err'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; } &&
23178 { ac_try='test -s conftest.$ac_objext'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23181 ac_status=$?
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; }; then
23184 echo "$as_me:$LINENO: result: yes" >&5
23185 echo "${ECHO_T}yes" >&6
23186 cat >>confdefs.h <<\_ACEOF
23187 #define HAVE_STD_STRING_COMPARE 1
23188 _ACEOF
23189
23190 else
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23193
23194 echo "$as_me:$LINENO: result: no" >&5
23195 echo "${ECHO_T}no" >&6
23196 fi
23197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23198
23199 if test "${ac_cv_header_hash_map+set}" = set; then
23200 echo "$as_me:$LINENO: checking for hash_map" >&5
23201 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23202 if test "${ac_cv_header_hash_map+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 fi
23205 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23206 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23207 else
23208 # Is the header compilable?
23209 echo "$as_me:$LINENO: checking hash_map usability" >&5
23210 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23211 cat >conftest.$ac_ext <<_ACEOF
23212 /* confdefs.h. */
23213 _ACEOF
23214 cat confdefs.h >>conftest.$ac_ext
23215 cat >>conftest.$ac_ext <<_ACEOF
23216 /* end confdefs.h. */
23217 $ac_includes_default
23218 #include <hash_map>
23219 _ACEOF
23220 rm -f conftest.$ac_objext
23221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23222 (eval $ac_compile) 2>conftest.er1
23223 ac_status=$?
23224 grep -v '^ *+' conftest.er1 >conftest.err
23225 rm -f conftest.er1
23226 cat conftest.err >&5
23227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23228 (exit $ac_status); } &&
23229 { ac_try='test -z "$ac_cxx_werror_flag"
23230 || test ! -s conftest.err'
23231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23232 (eval $ac_try) 2>&5
23233 ac_status=$?
23234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23235 (exit $ac_status); }; } &&
23236 { ac_try='test -s conftest.$ac_objext'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; }; then
23242 ac_header_compiler=yes
23243 else
23244 echo "$as_me: failed program was:" >&5
23245 sed 's/^/| /' conftest.$ac_ext >&5
23246
23247 ac_header_compiler=no
23248 fi
23249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23251 echo "${ECHO_T}$ac_header_compiler" >&6
23252
23253 # Is the header present?
23254 echo "$as_me:$LINENO: checking hash_map presence" >&5
23255 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23256 cat >conftest.$ac_ext <<_ACEOF
23257 /* confdefs.h. */
23258 _ACEOF
23259 cat confdefs.h >>conftest.$ac_ext
23260 cat >>conftest.$ac_ext <<_ACEOF
23261 /* end confdefs.h. */
23262 #include <hash_map>
23263 _ACEOF
23264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23266 ac_status=$?
23267 grep -v '^ *+' conftest.er1 >conftest.err
23268 rm -f conftest.er1
23269 cat conftest.err >&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); } >/dev/null; then
23272 if test -s conftest.err; then
23273 ac_cpp_err=$ac_cxx_preproc_warn_flag
23274 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23275 else
23276 ac_cpp_err=
23277 fi
23278 else
23279 ac_cpp_err=yes
23280 fi
23281 if test -z "$ac_cpp_err"; then
23282 ac_header_preproc=yes
23283 else
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23286
23287 ac_header_preproc=no
23288 fi
23289 rm -f conftest.err conftest.$ac_ext
23290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23291 echo "${ECHO_T}$ac_header_preproc" >&6
23292
23293 # So? What about this header?
23294 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23295 yes:no: )
23296 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23297 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23298 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23299 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23300 ac_header_preproc=yes
23301 ;;
23302 no:yes:* )
23303 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23304 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23305 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23306 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23307 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23308 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23309 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23310 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23311 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23312 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23313 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23314 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23315 (
23316 cat <<\_ASBOX
23317 ## ----------------------------------------- ##
23318 ## Report this to wx-dev@lists.wxwidgets.org ##
23319 ## ----------------------------------------- ##
23320 _ASBOX
23321 ) |
23322 sed "s/^/$as_me: WARNING: /" >&2
23323 ;;
23324 esac
23325 echo "$as_me:$LINENO: checking for hash_map" >&5
23326 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23327 if test "${ac_cv_header_hash_map+set}" = set; then
23328 echo $ECHO_N "(cached) $ECHO_C" >&6
23329 else
23330 ac_cv_header_hash_map=$ac_header_preproc
23331 fi
23332 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23333 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23334
23335 fi
23336 if test $ac_cv_header_hash_map = yes; then
23337 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23338 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23339 cat >conftest.$ac_ext <<_ACEOF
23340 /* confdefs.h. */
23341 _ACEOF
23342 cat confdefs.h >>conftest.$ac_ext
23343 cat >>conftest.$ac_ext <<_ACEOF
23344 /* end confdefs.h. */
23345 #include <hash_map>
23346 #include <hash_set>
23347 int
23348 main ()
23349 {
23350 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23351 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23352 ;
23353 return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest.$ac_objext
23357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23358 (eval $ac_compile) 2>conftest.er1
23359 ac_status=$?
23360 grep -v '^ *+' conftest.er1 >conftest.err
23361 rm -f conftest.er1
23362 cat conftest.err >&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } &&
23365 { ac_try='test -z "$ac_cxx_werror_flag"
23366 || test ! -s conftest.err'
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); }; } &&
23372 { ac_try='test -s conftest.$ac_objext'
23373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23374 (eval $ac_try) 2>&5
23375 ac_status=$?
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); }; }; then
23378 echo "$as_me:$LINENO: result: yes" >&5
23379 echo "${ECHO_T}yes" >&6
23380 cat >>confdefs.h <<\_ACEOF
23381 #define HAVE_HASH_MAP 1
23382 _ACEOF
23383
23384 cat >>confdefs.h <<\_ACEOF
23385 #define HAVE_STD_HASH_MAP 1
23386 _ACEOF
23387
23388 else
23389 echo "$as_me: failed program was:" >&5
23390 sed 's/^/| /' conftest.$ac_ext >&5
23391
23392 echo "$as_me:$LINENO: result: no" >&5
23393 echo "${ECHO_T}no" >&6
23394 fi
23395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23396
23397 fi
23398
23399
23400
23401 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23402 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23403 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23404 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23405 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 fi
23407 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23408 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23409 else
23410 # Is the header compilable?
23411 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23412 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 $ac_includes_default
23420 #include <ext/hash_map>
23421 _ACEOF
23422 rm -f conftest.$ac_objext
23423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23424 (eval $ac_compile) 2>conftest.er1
23425 ac_status=$?
23426 grep -v '^ *+' conftest.er1 >conftest.err
23427 rm -f conftest.er1
23428 cat conftest.err >&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } &&
23431 { ac_try='test -z "$ac_cxx_werror_flag"
23432 || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 ac_header_compiler=yes
23445 else
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23448
23449 ac_header_compiler=no
23450 fi
23451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23453 echo "${ECHO_T}$ac_header_compiler" >&6
23454
23455 # Is the header present?
23456 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23457 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23458 cat >conftest.$ac_ext <<_ACEOF
23459 /* confdefs.h. */
23460 _ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 #include <ext/hash_map>
23465 _ACEOF
23466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23468 ac_status=$?
23469 grep -v '^ *+' conftest.er1 >conftest.err
23470 rm -f conftest.er1
23471 cat conftest.err >&5
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); } >/dev/null; then
23474 if test -s conftest.err; then
23475 ac_cpp_err=$ac_cxx_preproc_warn_flag
23476 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23477 else
23478 ac_cpp_err=
23479 fi
23480 else
23481 ac_cpp_err=yes
23482 fi
23483 if test -z "$ac_cpp_err"; then
23484 ac_header_preproc=yes
23485 else
23486 echo "$as_me: failed program was:" >&5
23487 sed 's/^/| /' conftest.$ac_ext >&5
23488
23489 ac_header_preproc=no
23490 fi
23491 rm -f conftest.err conftest.$ac_ext
23492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23493 echo "${ECHO_T}$ac_header_preproc" >&6
23494
23495 # So? What about this header?
23496 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23497 yes:no: )
23498 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23499 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23500 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23501 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23502 ac_header_preproc=yes
23503 ;;
23504 no:yes:* )
23505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23506 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23508 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23509 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23510 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23511 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23512 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23513 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23514 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23515 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23516 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23517 (
23518 cat <<\_ASBOX
23519 ## ----------------------------------------- ##
23520 ## Report this to wx-dev@lists.wxwidgets.org ##
23521 ## ----------------------------------------- ##
23522 _ASBOX
23523 ) |
23524 sed "s/^/$as_me: WARNING: /" >&2
23525 ;;
23526 esac
23527 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23528 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23529 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23530 echo $ECHO_N "(cached) $ECHO_C" >&6
23531 else
23532 ac_cv_header_ext_hash_map=$ac_header_preproc
23533 fi
23534 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23535 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23536
23537 fi
23538 if test $ac_cv_header_ext_hash_map = yes; then
23539 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23540 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23541 cat >conftest.$ac_ext <<_ACEOF
23542 /* confdefs.h. */
23543 _ACEOF
23544 cat confdefs.h >>conftest.$ac_ext
23545 cat >>conftest.$ac_ext <<_ACEOF
23546 /* end confdefs.h. */
23547 #include <ext/hash_map>
23548 #include <ext/hash_set>
23549 int
23550 main ()
23551 {
23552 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23553 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23554 ;
23555 return 0;
23556 }
23557 _ACEOF
23558 rm -f conftest.$ac_objext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23560 (eval $ac_compile) 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try='test -z "$ac_cxx_werror_flag"
23568 || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23571 ac_status=$?
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest.$ac_objext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23577 ac_status=$?
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 echo "$as_me:$LINENO: result: yes" >&5
23581 echo "${ECHO_T}yes" >&6
23582 cat >>confdefs.h <<\_ACEOF
23583 #define HAVE_EXT_HASH_MAP 1
23584 _ACEOF
23585
23586 cat >>confdefs.h <<\_ACEOF
23587 #define HAVE_GNU_CXX_HASH_MAP 1
23588 _ACEOF
23589
23590 else
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 echo "$as_me:$LINENO: result: no" >&5
23595 echo "${ECHO_T}no" >&6
23596 fi
23597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23598
23599 fi
23600
23601
23602
23603 ac_ext=c
23604 ac_cpp='$CPP $CPPFLAGS'
23605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23608
23609 fi
23610
23611
23612 SEARCH_INCLUDE="\
23613 /usr/local/include \
23614 \
23615 /usr/Motif-2.1/include \
23616 /usr/Motif-1.2/include \
23617 /usr/include/Motif1.2 \
23618 \
23619 /usr/dt/include \
23620 /usr/openwin/include \
23621 \
23622 /usr/include/Xm \
23623 \
23624 /usr/X11R6/include \
23625 /usr/X11R6.4/include \
23626 /usr/X11R5/include \
23627 /usr/X11R4/include \
23628 \
23629 /usr/include/X11R6 \
23630 /usr/include/X11R5 \
23631 /usr/include/X11R4 \
23632 \
23633 /usr/local/X11R6/include \
23634 /usr/local/X11R5/include \
23635 /usr/local/X11R4/include \
23636 \
23637 /usr/local/include/X11R6 \
23638 /usr/local/include/X11R5 \
23639 /usr/local/include/X11R4 \
23640 \
23641 /usr/X11/include \
23642 /usr/include/X11 \
23643 /usr/local/X11/include \
23644 /usr/local/include/X11 \
23645 \
23646 /usr/XFree86/include/X11 \
23647 /usr/pkg/include \
23648 \
23649 /usr/openwin/share/include"
23650
23651 echo "$as_me:$LINENO: checking for libraries directory" >&5
23652 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
23653
23654 case "${host}" in
23655 *-*-irix6* )
23656 if test "${wx_cv_std_libpath+set}" = set; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659
23660 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23661 for e in a so sl dylib dll.a; do
23662 libc="$d/libc.$e"
23663 if test -f $libc; then
23664 save_LIBS="$LIBS"
23665 LIBS="$libc"
23666 cat >conftest.$ac_ext <<_ACEOF
23667 int main() { return 0; }
23668 _ACEOF
23669 rm -f conftest.$ac_objext conftest$ac_exeext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23671 (eval $ac_link) 2>conftest.er1
23672 ac_status=$?
23673 grep -v '^ *+' conftest.er1 >conftest.err
23674 rm -f conftest.er1
23675 cat conftest.err >&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try='test -z "$ac_c_werror_flag"
23679 || test ! -s conftest.err'
23680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23681 (eval $ac_try) 2>&5
23682 ac_status=$?
23683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23684 (exit $ac_status); }; } &&
23685 { ac_try='test -s conftest$ac_exeext'
23686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23687 (eval $ac_try) 2>&5
23688 ac_status=$?
23689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23690 (exit $ac_status); }; }; then
23691 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23692 else
23693 echo "$as_me: failed program was:" >&5
23694 sed 's/^/| /' conftest.$ac_ext >&5
23695
23696 fi
23697 rm -f conftest.err conftest.$ac_objext \
23698 conftest$ac_exeext conftest.$ac_ext
23699 LIBS="$save_LIBS"
23700 if test "x$wx_cv_std_libpath" != "x"; then
23701 break 2
23702 fi
23703 fi
23704 done
23705 done
23706 if test "x$wx_cv_std_libpath" = "x"; then
23707 wx_cv_std_libpath="lib"
23708 fi
23709
23710
23711 fi
23712
23713 ;;
23714
23715 *-*-solaris2* )
23716 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23717 wx_cv_std_libpath="lib/64"
23718 else
23719 wx_cv_std_libpath="lib"
23720 fi
23721 ;;
23722
23723 *-*-linux* )
23724 if test "$ac_cv_sizeof_void_p" = 8 -a \
23725 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23726 wx_cv_std_libpath="lib64"
23727 else
23728 wx_cv_std_libpath="lib"
23729 fi
23730 ;;
23731
23732 *)
23733 wx_cv_std_libpath="lib";
23734 ;;
23735 esac
23736
23737 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
23738 echo "${ECHO_T}$wx_cv_std_libpath" >&6
23739
23740 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
23741
23742 if test "$build" != "$host" -a "$GCC" = yes; then
23743 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
23744 cross_root=`dirname $cross_root`
23745 cross_root=`dirname $cross_root`
23746
23747 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23748 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
23749 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
23750
23751 if test -z "$PKG_CONFIG_PATH"; then
23752 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
23753 export PKG_CONFIG_PATH
23754 fi
23755
23756 if test -z "$x_includes" -o "$x_includes" = NONE; then
23757
23758 ac_find_includes=
23759 for ac_dir in $SEARCH_INCLUDE /usr/include;
23760 do
23761 if test -f "$ac_dir/X11/Intrinsic.h"; then
23762 ac_find_includes=$ac_dir
23763 break
23764 fi
23765 done
23766
23767 x_includes=$ac_find_includes
23768 fi
23769 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
23770
23771 ac_find_libraries=
23772 for ac_dir in $SEARCH_LIB;
23773 do
23774 for ac_extension in a so sl dylib dll.a; do
23775 if test -f "$ac_dir/libXt.$ac_extension"; then
23776 ac_find_libraries=$ac_dir
23777 break 2
23778 fi
23779 done
23780 done
23781
23782 x_libraries=$ac_find_libraries
23783 fi
23784 fi
23785 fi
23786
23787
23788 cat >confcache <<\_ACEOF
23789 # This file is a shell script that caches the results of configure
23790 # tests run on this system so they can be shared between configure
23791 # scripts and configure runs, see configure's option --config-cache.
23792 # It is not useful on other systems. If it contains results you don't
23793 # want to keep, you may remove or edit it.
23794 #
23795 # config.status only pays attention to the cache file if you give it
23796 # the --recheck option to rerun configure.
23797 #
23798 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23799 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23800 # following values.
23801
23802 _ACEOF
23803
23804 # The following way of writing the cache mishandles newlines in values,
23805 # but we know of no workaround that is simple, portable, and efficient.
23806 # So, don't put newlines in cache variables' values.
23807 # Ultrix sh set writes to stderr and can't be redirected directly,
23808 # and sets the high bit in the cache file unless we assign to the vars.
23809 {
23810 (set) 2>&1 |
23811 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23812 *ac_space=\ *)
23813 # `set' does not quote correctly, so add quotes (double-quote
23814 # substitution turns \\\\ into \\, and sed turns \\ into \).
23815 sed -n \
23816 "s/'/'\\\\''/g;
23817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23818 ;;
23819 *)
23820 # `set' quotes correctly as required by POSIX, so do not add quotes.
23821 sed -n \
23822 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23823 ;;
23824 esac;
23825 } |
23826 sed '
23827 t clear
23828 : clear
23829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23830 t end
23831 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23832 : end' >>confcache
23833 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23834 if test -w $cache_file; then
23835 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23836 cat confcache >$cache_file
23837 else
23838 echo "not updating unwritable cache $cache_file"
23839 fi
23840 fi
23841 rm -f confcache
23842
23843 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
23844 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
23845 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
23846 if test "${wx_cv_lib_glibc21+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 else
23849
23850 cat >conftest.$ac_ext <<_ACEOF
23851 /* confdefs.h. */
23852 _ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #include <features.h>
23857 int
23858 main ()
23859 {
23860
23861 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
23862 not glibc 2.1
23863 #endif
23864
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 rm -f conftest.$ac_objext
23870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23871 (eval $ac_compile) 2>conftest.er1
23872 ac_status=$?
23873 grep -v '^ *+' conftest.er1 >conftest.err
23874 rm -f conftest.er1
23875 cat conftest.err >&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } &&
23878 { ac_try='test -z "$ac_c_werror_flag"
23879 || test ! -s conftest.err'
23880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23881 (eval $ac_try) 2>&5
23882 ac_status=$?
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); }; } &&
23885 { ac_try='test -s conftest.$ac_objext'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; }; then
23891
23892 wx_cv_lib_glibc21=yes
23893
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23897
23898
23899 wx_cv_lib_glibc21=no
23900
23901
23902 fi
23903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23904
23905 fi
23906 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
23907 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
23908 if test "$wx_cv_lib_glibc21" = "yes"; then
23909 cat >>confdefs.h <<\_ACEOF
23910 #define wxHAVE_GLIBC2 1
23911 _ACEOF
23912
23913 fi
23914 fi
23915
23916 if test "x$wx_cv_lib_glibc21" = "xyes"; then
23917 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
23918 cat >>confdefs.h <<\_ACEOF
23919 #define _GNU_SOURCE 1
23920 _ACEOF
23921
23922 fi
23923 fi
23924
23925
23926
23927 if test "$wxUSE_REGEX" != "no"; then
23928 cat >>confdefs.h <<\_ACEOF
23929 #define wxUSE_REGEX 1
23930 _ACEOF
23931
23932
23933 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
23934 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
23935 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
23936 wxUSE_REGEX=builtin
23937 fi
23938
23939 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
23940 if test "${ac_cv_header_regex_h+set}" = set; then
23941 echo "$as_me:$LINENO: checking for regex.h" >&5
23942 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
23943 if test "${ac_cv_header_regex_h+set}" = set; then
23944 echo $ECHO_N "(cached) $ECHO_C" >&6
23945 fi
23946 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
23947 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
23948 else
23949 # Is the header compilable?
23950 echo "$as_me:$LINENO: checking regex.h usability" >&5
23951 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
23952 cat >conftest.$ac_ext <<_ACEOF
23953 /* confdefs.h. */
23954 _ACEOF
23955 cat confdefs.h >>conftest.$ac_ext
23956 cat >>conftest.$ac_ext <<_ACEOF
23957 /* end confdefs.h. */
23958 $ac_includes_default
23959 #include <regex.h>
23960 _ACEOF
23961 rm -f conftest.$ac_objext
23962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23963 (eval $ac_compile) 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } &&
23970 { ac_try='test -z "$ac_c_werror_flag"
23971 || test ! -s conftest.err'
23972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23973 (eval $ac_try) 2>&5
23974 ac_status=$?
23975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23976 (exit $ac_status); }; } &&
23977 { ac_try='test -s conftest.$ac_objext'
23978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23979 (eval $ac_try) 2>&5
23980 ac_status=$?
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); }; }; then
23983 ac_header_compiler=yes
23984 else
23985 echo "$as_me: failed program was:" >&5
23986 sed 's/^/| /' conftest.$ac_ext >&5
23987
23988 ac_header_compiler=no
23989 fi
23990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23992 echo "${ECHO_T}$ac_header_compiler" >&6
23993
23994 # Is the header present?
23995 echo "$as_me:$LINENO: checking regex.h presence" >&5
23996 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
23997 cat >conftest.$ac_ext <<_ACEOF
23998 /* confdefs.h. */
23999 _ACEOF
24000 cat confdefs.h >>conftest.$ac_ext
24001 cat >>conftest.$ac_ext <<_ACEOF
24002 /* end confdefs.h. */
24003 #include <regex.h>
24004 _ACEOF
24005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24007 ac_status=$?
24008 grep -v '^ *+' conftest.er1 >conftest.err
24009 rm -f conftest.er1
24010 cat conftest.err >&5
24011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24012 (exit $ac_status); } >/dev/null; then
24013 if test -s conftest.err; then
24014 ac_cpp_err=$ac_c_preproc_warn_flag
24015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24016 else
24017 ac_cpp_err=
24018 fi
24019 else
24020 ac_cpp_err=yes
24021 fi
24022 if test -z "$ac_cpp_err"; then
24023 ac_header_preproc=yes
24024 else
24025 echo "$as_me: failed program was:" >&5
24026 sed 's/^/| /' conftest.$ac_ext >&5
24027
24028 ac_header_preproc=no
24029 fi
24030 rm -f conftest.err conftest.$ac_ext
24031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24032 echo "${ECHO_T}$ac_header_preproc" >&6
24033
24034 # So? What about this header?
24035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24036 yes:no: )
24037 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24038 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24039 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24040 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24041 ac_header_preproc=yes
24042 ;;
24043 no:yes:* )
24044 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24045 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24046 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24047 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24048 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24049 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24050 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24051 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24052 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24053 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24054 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24055 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24056 (
24057 cat <<\_ASBOX
24058 ## ----------------------------------------- ##
24059 ## Report this to wx-dev@lists.wxwidgets.org ##
24060 ## ----------------------------------------- ##
24061 _ASBOX
24062 ) |
24063 sed "s/^/$as_me: WARNING: /" >&2
24064 ;;
24065 esac
24066 echo "$as_me:$LINENO: checking for regex.h" >&5
24067 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24068 if test "${ac_cv_header_regex_h+set}" = set; then
24069 echo $ECHO_N "(cached) $ECHO_C" >&6
24070 else
24071 ac_cv_header_regex_h=$ac_header_preproc
24072 fi
24073 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24074 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24075
24076 fi
24077 if test $ac_cv_header_regex_h = yes; then
24078
24079
24080 for ac_func in regcomp re_search
24081 do
24082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24083 echo "$as_me:$LINENO: checking for $ac_func" >&5
24084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24085 if eval "test \"\${$as_ac_var+set}\" = set"; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24087 else
24088 cat >conftest.$ac_ext <<_ACEOF
24089 /* confdefs.h. */
24090 _ACEOF
24091 cat confdefs.h >>conftest.$ac_ext
24092 cat >>conftest.$ac_ext <<_ACEOF
24093 /* end confdefs.h. */
24094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24096 #define $ac_func innocuous_$ac_func
24097
24098 /* System header to define __stub macros and hopefully few prototypes,
24099 which can conflict with char $ac_func (); below.
24100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24101 <limits.h> exists even on freestanding compilers. */
24102
24103 #ifdef __STDC__
24104 # include <limits.h>
24105 #else
24106 # include <assert.h>
24107 #endif
24108
24109 #undef $ac_func
24110
24111 /* Override any gcc2 internal prototype to avoid an error. */
24112 #ifdef __cplusplus
24113 extern "C"
24114 {
24115 #endif
24116 /* We use char because int might match the return type of a gcc2
24117 builtin and then its argument prototype would still apply. */
24118 char $ac_func ();
24119 /* The GNU C library defines this for functions which it implements
24120 to always fail with ENOSYS. Some functions are actually named
24121 something starting with __ and the normal name is an alias. */
24122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24123 choke me
24124 #else
24125 char (*f) () = $ac_func;
24126 #endif
24127 #ifdef __cplusplus
24128 }
24129 #endif
24130
24131 int
24132 main ()
24133 {
24134 return f != $ac_func;
24135 ;
24136 return 0;
24137 }
24138 _ACEOF
24139 rm -f conftest.$ac_objext conftest$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141 (eval $ac_link) 2>conftest.er1
24142 ac_status=$?
24143 grep -v '^ *+' conftest.er1 >conftest.err
24144 rm -f conftest.er1
24145 cat conftest.err >&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try='test -z "$ac_c_werror_flag"
24149 || test ! -s conftest.err'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; } &&
24155 { ac_try='test -s conftest$ac_exeext'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24158 ac_status=$?
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; }; then
24161 eval "$as_ac_var=yes"
24162 else
24163 echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.$ac_ext >&5
24165
24166 eval "$as_ac_var=no"
24167 fi
24168 rm -f conftest.err conftest.$ac_objext \
24169 conftest$ac_exeext conftest.$ac_ext
24170 fi
24171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24173 if test `eval echo '${'$as_ac_var'}'` = yes; then
24174 cat >>confdefs.h <<_ACEOF
24175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24176 _ACEOF
24177
24178 fi
24179 done
24180
24181 fi
24182
24183
24184
24185 if test "x$ac_cv_func_regcomp" != "xyes"; then
24186 if test "$wxUSE_REGEX" = "sys" ; then
24187 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24188 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24189 { (exit 1); exit 1; }; }
24190 else
24191 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24192 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24193 wxUSE_REGEX=builtin
24194 fi
24195 else
24196 wxUSE_REGEX=sys
24197 cat >>confdefs.h <<\_ACEOF
24198 #define WX_NO_REGEX_ADVANCED 1
24199 _ACEOF
24200
24201 fi
24202 fi
24203 fi
24204
24205
24206 ZLIB_LINK=
24207 if test "$wxUSE_ZLIB" != "no" ; then
24208 cat >>confdefs.h <<\_ACEOF
24209 #define wxUSE_ZLIB 1
24210 _ACEOF
24211
24212
24213 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24214 if test "$USE_DARWIN" = 1; then
24215 system_zlib_h_ok="yes"
24216 else
24217 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24218 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
24219 if test "${ac_cv_header_zlib_h+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24221 else
24222 if test "$cross_compiling" = yes; then
24223 unset ac_cv_header_zlib_h
24224
24225 else
24226 cat >conftest.$ac_ext <<_ACEOF
24227 /* confdefs.h. */
24228 _ACEOF
24229 cat confdefs.h >>conftest.$ac_ext
24230 cat >>conftest.$ac_ext <<_ACEOF
24231 /* end confdefs.h. */
24232
24233 #include <zlib.h>
24234 #include <stdio.h>
24235
24236 int main()
24237 {
24238 FILE *f=fopen("conftestval", "w");
24239 if (!f) exit(1);
24240 fprintf(f, "%s",
24241 ZLIB_VERSION[0] == '1' &&
24242 (ZLIB_VERSION[2] > '1' ||
24243 (ZLIB_VERSION[2] == '1' &&
24244 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
24245 exit(0);
24246 }
24247
24248 _ACEOF
24249 rm -f conftest$ac_exeext
24250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24251 (eval $ac_link) 2>&5
24252 ac_status=$?
24253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; }; then
24260 ac_cv_header_zlib_h=`cat conftestval`
24261 else
24262 echo "$as_me: program exited with status $ac_status" >&5
24263 echo "$as_me: failed program was:" >&5
24264 sed 's/^/| /' conftest.$ac_ext >&5
24265
24266 ( exit $ac_status )
24267 ac_cv_header_zlib_h=no
24268 fi
24269 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24270 fi
24271
24272 fi
24273 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24274 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24275 if test "${ac_cv_header_zlib_h+set}" = set; then
24276 echo "$as_me:$LINENO: checking for zlib.h" >&5
24277 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24278 if test "${ac_cv_header_zlib_h+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 fi
24281 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24282 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24283 else
24284 # Is the header compilable?
24285 echo "$as_me:$LINENO: checking zlib.h usability" >&5
24286 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
24287 cat >conftest.$ac_ext <<_ACEOF
24288 /* confdefs.h. */
24289 _ACEOF
24290 cat confdefs.h >>conftest.$ac_ext
24291 cat >>conftest.$ac_ext <<_ACEOF
24292 /* end confdefs.h. */
24293 $ac_includes_default
24294 #include <zlib.h>
24295 _ACEOF
24296 rm -f conftest.$ac_objext
24297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24298 (eval $ac_compile) 2>conftest.er1
24299 ac_status=$?
24300 grep -v '^ *+' conftest.er1 >conftest.err
24301 rm -f conftest.er1
24302 cat conftest.err >&5
24303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24304 (exit $ac_status); } &&
24305 { ac_try='test -z "$ac_c_werror_flag"
24306 || test ! -s conftest.err'
24307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308 (eval $ac_try) 2>&5
24309 ac_status=$?
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); }; } &&
24312 { ac_try='test -s conftest.$ac_objext'
24313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24314 (eval $ac_try) 2>&5
24315 ac_status=$?
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); }; }; then
24318 ac_header_compiler=yes
24319 else
24320 echo "$as_me: failed program was:" >&5
24321 sed 's/^/| /' conftest.$ac_ext >&5
24322
24323 ac_header_compiler=no
24324 fi
24325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24327 echo "${ECHO_T}$ac_header_compiler" >&6
24328
24329 # Is the header present?
24330 echo "$as_me:$LINENO: checking zlib.h presence" >&5
24331 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
24332 cat >conftest.$ac_ext <<_ACEOF
24333 /* confdefs.h. */
24334 _ACEOF
24335 cat confdefs.h >>conftest.$ac_ext
24336 cat >>conftest.$ac_ext <<_ACEOF
24337 /* end confdefs.h. */
24338 #include <zlib.h>
24339 _ACEOF
24340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24341 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24342 ac_status=$?
24343 grep -v '^ *+' conftest.er1 >conftest.err
24344 rm -f conftest.er1
24345 cat conftest.err >&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); } >/dev/null; then
24348 if test -s conftest.err; then
24349 ac_cpp_err=$ac_c_preproc_warn_flag
24350 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24351 else
24352 ac_cpp_err=
24353 fi
24354 else
24355 ac_cpp_err=yes
24356 fi
24357 if test -z "$ac_cpp_err"; then
24358 ac_header_preproc=yes
24359 else
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.$ac_ext >&5
24362
24363 ac_header_preproc=no
24364 fi
24365 rm -f conftest.err conftest.$ac_ext
24366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24367 echo "${ECHO_T}$ac_header_preproc" >&6
24368
24369 # So? What about this header?
24370 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24371 yes:no: )
24372 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
24373 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24374 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
24375 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
24376 ac_header_preproc=yes
24377 ;;
24378 no:yes:* )
24379 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
24380 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
24381 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
24382 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
24383 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
24384 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
24385 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
24386 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
24387 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
24388 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
24389 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
24390 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
24391 (
24392 cat <<\_ASBOX
24393 ## ----------------------------------------- ##
24394 ## Report this to wx-dev@lists.wxwidgets.org ##
24395 ## ----------------------------------------- ##
24396 _ASBOX
24397 ) |
24398 sed "s/^/$as_me: WARNING: /" >&2
24399 ;;
24400 esac
24401 echo "$as_me:$LINENO: checking for zlib.h" >&5
24402 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
24403 if test "${ac_cv_header_zlib_h+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 else
24406 ac_cv_header_zlib_h=$ac_header_preproc
24407 fi
24408 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
24409 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
24410
24411 fi
24412
24413
24414
24415 system_zlib_h_ok=$ac_cv_header_zlib_h
24416 fi
24417
24418 if test "$system_zlib_h_ok" = "yes"; then
24419 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
24420 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
24421 if test "${ac_cv_lib_z_deflate+set}" = set; then
24422 echo $ECHO_N "(cached) $ECHO_C" >&6
24423 else
24424 ac_check_lib_save_LIBS=$LIBS
24425 LIBS="-lz $LIBS"
24426 cat >conftest.$ac_ext <<_ACEOF
24427 /* confdefs.h. */
24428 _ACEOF
24429 cat confdefs.h >>conftest.$ac_ext
24430 cat >>conftest.$ac_ext <<_ACEOF
24431 /* end confdefs.h. */
24432
24433 /* Override any gcc2 internal prototype to avoid an error. */
24434 #ifdef __cplusplus
24435 extern "C"
24436 #endif
24437 /* We use char because int might match the return type of a gcc2
24438 builtin and then its argument prototype would still apply. */
24439 char deflate ();
24440 int
24441 main ()
24442 {
24443 deflate ();
24444 ;
24445 return 0;
24446 }
24447 _ACEOF
24448 rm -f conftest.$ac_objext conftest$ac_exeext
24449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24450 (eval $ac_link) 2>conftest.er1
24451 ac_status=$?
24452 grep -v '^ *+' conftest.er1 >conftest.err
24453 rm -f conftest.er1
24454 cat conftest.err >&5
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); } &&
24457 { ac_try='test -z "$ac_c_werror_flag"
24458 || test ! -s conftest.err'
24459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460 (eval $ac_try) 2>&5
24461 ac_status=$?
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); }; } &&
24464 { ac_try='test -s conftest$ac_exeext'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; }; then
24470 ac_cv_lib_z_deflate=yes
24471 else
24472 echo "$as_me: failed program was:" >&5
24473 sed 's/^/| /' conftest.$ac_ext >&5
24474
24475 ac_cv_lib_z_deflate=no
24476 fi
24477 rm -f conftest.err conftest.$ac_objext \
24478 conftest$ac_exeext conftest.$ac_ext
24479 LIBS=$ac_check_lib_save_LIBS
24480 fi
24481 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
24482 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
24483 if test $ac_cv_lib_z_deflate = yes; then
24484 ZLIB_LINK=" -lz"
24485 fi
24486
24487 fi
24488
24489 if test "x$ZLIB_LINK" = "x" ; then
24490 if test "$wxUSE_ZLIB" = "sys" ; then
24491 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
24492 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
24493 { (exit 1); exit 1; }; }
24494 else
24495 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
24496 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
24497 wxUSE_ZLIB=builtin
24498 fi
24499 else
24500 wxUSE_ZLIB=sys
24501 fi
24502 fi
24503 fi
24504
24505
24506 PNG_LINK=
24507 if test "$wxUSE_LIBPNG" != "no" ; then
24508 cat >>confdefs.h <<\_ACEOF
24509 #define wxUSE_LIBPNG 1
24510 _ACEOF
24511
24512
24513 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
24514 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
24515 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
24516 wxUSE_LIBPNG=sys
24517 fi
24518
24519 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
24520 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
24521 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
24522 wxUSE_LIBPNG=builtin
24523 fi
24524
24525 if test "$wxUSE_MGL" != 1 ; then
24526 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
24527 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
24528 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
24529 if test "${ac_cv_header_png_h+set}" = set; then
24530 echo $ECHO_N "(cached) $ECHO_C" >&6
24531 else
24532 if test "$cross_compiling" = yes; then
24533 unset ac_cv_header_png_h
24534
24535 else
24536 cat >conftest.$ac_ext <<_ACEOF
24537 /* confdefs.h. */
24538 _ACEOF
24539 cat confdefs.h >>conftest.$ac_ext
24540 cat >>conftest.$ac_ext <<_ACEOF
24541 /* end confdefs.h. */
24542
24543 #include <png.h>
24544 #include <stdio.h>
24545
24546 int main()
24547 {
24548 FILE *f=fopen("conftestval", "w");
24549 if (!f) exit(1);
24550 fprintf(f, "%s",
24551 PNG_LIBPNG_VER > 90 ? "yes" : "no");
24552 exit(0);
24553 }
24554
24555 _ACEOF
24556 rm -f conftest$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>&5
24559 ac_status=$?
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563 (eval $ac_try) 2>&5
24564 ac_status=$?
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); }; }; then
24567 ac_cv_header_png_h=`cat conftestval`
24568 else
24569 echo "$as_me: program exited with status $ac_status" >&5
24570 echo "$as_me: failed program was:" >&5
24571 sed 's/^/| /' conftest.$ac_ext >&5
24572
24573 ( exit $ac_status )
24574 ac_cv_header_png_h=no
24575 fi
24576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24577 fi
24578
24579 fi
24580 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24581 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24582 if test "${ac_cv_header_png_h+set}" = set; then
24583 echo "$as_me:$LINENO: checking for png.h" >&5
24584 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24585 if test "${ac_cv_header_png_h+set}" = set; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 fi
24588 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24589 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24590 else
24591 # Is the header compilable?
24592 echo "$as_me:$LINENO: checking png.h usability" >&5
24593 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
24594 cat >conftest.$ac_ext <<_ACEOF
24595 /* confdefs.h. */
24596 _ACEOF
24597 cat confdefs.h >>conftest.$ac_ext
24598 cat >>conftest.$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24600 $ac_includes_default
24601 #include <png.h>
24602 _ACEOF
24603 rm -f conftest.$ac_objext
24604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24605 (eval $ac_compile) 2>conftest.er1
24606 ac_status=$?
24607 grep -v '^ *+' conftest.er1 >conftest.err
24608 rm -f conftest.er1
24609 cat conftest.err >&5
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); } &&
24612 { ac_try='test -z "$ac_c_werror_flag"
24613 || test ! -s conftest.err'
24614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24615 (eval $ac_try) 2>&5
24616 ac_status=$?
24617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24618 (exit $ac_status); }; } &&
24619 { ac_try='test -s conftest.$ac_objext'
24620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24621 (eval $ac_try) 2>&5
24622 ac_status=$?
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); }; }; then
24625 ac_header_compiler=yes
24626 else
24627 echo "$as_me: failed program was:" >&5
24628 sed 's/^/| /' conftest.$ac_ext >&5
24629
24630 ac_header_compiler=no
24631 fi
24632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24634 echo "${ECHO_T}$ac_header_compiler" >&6
24635
24636 # Is the header present?
24637 echo "$as_me:$LINENO: checking png.h presence" >&5
24638 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
24639 cat >conftest.$ac_ext <<_ACEOF
24640 /* confdefs.h. */
24641 _ACEOF
24642 cat confdefs.h >>conftest.$ac_ext
24643 cat >>conftest.$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 #include <png.h>
24646 _ACEOF
24647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } >/dev/null; then
24655 if test -s conftest.err; then
24656 ac_cpp_err=$ac_c_preproc_warn_flag
24657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
24658 else
24659 ac_cpp_err=
24660 fi
24661 else
24662 ac_cpp_err=yes
24663 fi
24664 if test -z "$ac_cpp_err"; then
24665 ac_header_preproc=yes
24666 else
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.$ac_ext >&5
24669
24670 ac_header_preproc=no
24671 fi
24672 rm -f conftest.err conftest.$ac_ext
24673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24674 echo "${ECHO_T}$ac_header_preproc" >&6
24675
24676 # So? What about this header?
24677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24678 yes:no: )
24679 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
24680 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24681 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
24682 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
24683 ac_header_preproc=yes
24684 ;;
24685 no:yes:* )
24686 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
24687 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
24688 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
24689 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
24690 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
24691 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
24692 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
24693 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
24694 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
24695 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
24696 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
24697 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
24698 (
24699 cat <<\_ASBOX
24700 ## ----------------------------------------- ##
24701 ## Report this to wx-dev@lists.wxwidgets.org ##
24702 ## ----------------------------------------- ##
24703 _ASBOX
24704 ) |
24705 sed "s/^/$as_me: WARNING: /" >&2
24706 ;;
24707 esac
24708 echo "$as_me:$LINENO: checking for png.h" >&5
24709 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
24710 if test "${ac_cv_header_png_h+set}" = set; then
24711 echo $ECHO_N "(cached) $ECHO_C" >&6
24712 else
24713 ac_cv_header_png_h=$ac_header_preproc
24714 fi
24715 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
24716 echo "${ECHO_T}$ac_cv_header_png_h" >&6
24717
24718 fi
24719
24720
24721
24722 if test "$ac_cv_header_png_h" = "yes"; then
24723 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
24724 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
24725 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
24726 echo $ECHO_N "(cached) $ECHO_C" >&6
24727 else
24728 ac_check_lib_save_LIBS=$LIBS
24729 LIBS="-lpng -lz -lm $LIBS"
24730 cat >conftest.$ac_ext <<_ACEOF
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736
24737 /* Override any gcc2 internal prototype to avoid an error. */
24738 #ifdef __cplusplus
24739 extern "C"
24740 #endif
24741 /* We use char because int might match the return type of a gcc2
24742 builtin and then its argument prototype would still apply. */
24743 char png_check_sig ();
24744 int
24745 main ()
24746 {
24747 png_check_sig ();
24748 ;
24749 return 0;
24750 }
24751 _ACEOF
24752 rm -f conftest.$ac_objext conftest$ac_exeext
24753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24754 (eval $ac_link) 2>conftest.er1
24755 ac_status=$?
24756 grep -v '^ *+' conftest.er1 >conftest.err
24757 rm -f conftest.er1
24758 cat conftest.err >&5
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); } &&
24761 { ac_try='test -z "$ac_c_werror_flag"
24762 || test ! -s conftest.err'
24763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24764 (eval $ac_try) 2>&5
24765 ac_status=$?
24766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24767 (exit $ac_status); }; } &&
24768 { ac_try='test -s conftest$ac_exeext'
24769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24770 (eval $ac_try) 2>&5
24771 ac_status=$?
24772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24773 (exit $ac_status); }; }; then
24774 ac_cv_lib_png_png_check_sig=yes
24775 else
24776 echo "$as_me: failed program was:" >&5
24777 sed 's/^/| /' conftest.$ac_ext >&5
24778
24779 ac_cv_lib_png_png_check_sig=no
24780 fi
24781 rm -f conftest.err conftest.$ac_objext \
24782 conftest$ac_exeext conftest.$ac_ext
24783 LIBS=$ac_check_lib_save_LIBS
24784 fi
24785 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
24786 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
24787 if test $ac_cv_lib_png_png_check_sig = yes; then
24788 PNG_LINK=" -lpng -lz"
24789 fi
24790
24791 fi
24792
24793 if test "x$PNG_LINK" = "x" ; then
24794 if test "$wxUSE_LIBPNG" = "sys" ; then
24795 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
24796 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
24797 { (exit 1); exit 1; }; }
24798 else
24799 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
24800 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
24801 wxUSE_LIBPNG=builtin
24802 fi
24803 else
24804 wxUSE_LIBPNG=sys
24805 fi
24806 fi
24807 fi
24808
24809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
24810 fi
24811
24812
24813 JPEG_LINK=
24814 if test "$wxUSE_LIBJPEG" != "no" ; then
24815 cat >>confdefs.h <<\_ACEOF
24816 #define wxUSE_LIBJPEG 1
24817 _ACEOF
24818
24819
24820 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
24821 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
24822 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
24823 wxUSE_LIBJPEG=sys
24824 fi
24825
24826 if test "$wxUSE_MGL" != 1 ; then
24827 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
24828 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
24829 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
24830 if test "${ac_cv_header_jpeglib_h+set}" = set; then
24831 echo $ECHO_N "(cached) $ECHO_C" >&6
24832 else
24833 cat >conftest.$ac_ext <<_ACEOF
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839
24840 #undef HAVE_STDLIB_H
24841 #include <stdio.h>
24842 #include <jpeglib.h>
24843
24844 int
24845 main ()
24846 {
24847
24848
24849 ;
24850 return 0;
24851 }
24852 _ACEOF
24853 rm -f conftest.$ac_objext
24854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24855 (eval $ac_compile) 2>conftest.er1
24856 ac_status=$?
24857 grep -v '^ *+' conftest.er1 >conftest.err
24858 rm -f conftest.er1
24859 cat conftest.err >&5
24860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24861 (exit $ac_status); } &&
24862 { ac_try='test -z "$ac_c_werror_flag"
24863 || test ! -s conftest.err'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24866 ac_status=$?
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; } &&
24869 { ac_try='test -s conftest.$ac_objext'
24870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24871 (eval $ac_try) 2>&5
24872 ac_status=$?
24873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874 (exit $ac_status); }; }; then
24875 ac_cv_header_jpeglib_h=yes
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880 ac_cv_header_jpeglib_h=no
24881
24882 fi
24883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24884
24885 fi
24886
24887 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
24888 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
24889
24890 if test "$ac_cv_header_jpeglib_h" = "yes"; then
24891 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
24892 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
24893 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
24894 echo $ECHO_N "(cached) $ECHO_C" >&6
24895 else
24896 ac_check_lib_save_LIBS=$LIBS
24897 LIBS="-ljpeg $LIBS"
24898 cat >conftest.$ac_ext <<_ACEOF
24899 /* confdefs.h. */
24900 _ACEOF
24901 cat confdefs.h >>conftest.$ac_ext
24902 cat >>conftest.$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24904
24905 /* Override any gcc2 internal prototype to avoid an error. */
24906 #ifdef __cplusplus
24907 extern "C"
24908 #endif
24909 /* We use char because int might match the return type of a gcc2
24910 builtin and then its argument prototype would still apply. */
24911 char jpeg_read_header ();
24912 int
24913 main ()
24914 {
24915 jpeg_read_header ();
24916 ;
24917 return 0;
24918 }
24919 _ACEOF
24920 rm -f conftest.$ac_objext conftest$ac_exeext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24922 (eval $ac_link) 2>conftest.er1
24923 ac_status=$?
24924 grep -v '^ *+' conftest.er1 >conftest.err
24925 rm -f conftest.er1
24926 cat conftest.err >&5
24927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928 (exit $ac_status); } &&
24929 { ac_try='test -z "$ac_c_werror_flag"
24930 || test ! -s conftest.err'
24931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932 (eval $ac_try) 2>&5
24933 ac_status=$?
24934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935 (exit $ac_status); }; } &&
24936 { ac_try='test -s conftest$ac_exeext'
24937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938 (eval $ac_try) 2>&5
24939 ac_status=$?
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); }; }; then
24942 ac_cv_lib_jpeg_jpeg_read_header=yes
24943 else
24944 echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 ac_cv_lib_jpeg_jpeg_read_header=no
24948 fi
24949 rm -f conftest.err conftest.$ac_objext \
24950 conftest$ac_exeext conftest.$ac_ext
24951 LIBS=$ac_check_lib_save_LIBS
24952 fi
24953 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
24954 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
24955 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
24956 JPEG_LINK=" -ljpeg"
24957 fi
24958
24959 fi
24960
24961 if test "x$JPEG_LINK" = "x" ; then
24962 if test "$wxUSE_LIBJPEG" = "sys" ; then
24963 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
24964 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
24965 { (exit 1); exit 1; }; }
24966 else
24967 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
24968 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
24969 wxUSE_LIBJPEG=builtin
24970 fi
24971 else
24972 wxUSE_LIBJPEG=sys
24973 fi
24974 fi
24975 fi
24976 fi
24977
24978
24979 TIFF_LINK=
24980 TIFF_PREREQ_LINKS=-lm
24981 if test "$wxUSE_LIBTIFF" != "no" ; then
24982 cat >>confdefs.h <<\_ACEOF
24983 #define wxUSE_LIBTIFF 1
24984 _ACEOF
24985
24986
24987 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
24988 if test "$wxUSE_LIBJPEG" = "sys"; then
24989 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
24990 fi
24991 if test "$wxUSE_ZLIB" = "sys"; then
24992 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
24993 fi
24994 if test "${ac_cv_header_tiffio_h+set}" = set; then
24995 echo "$as_me:$LINENO: checking for tiffio.h" >&5
24996 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
24997 if test "${ac_cv_header_tiffio_h+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 fi
25000 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25001 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25002 else
25003 # Is the header compilable?
25004 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25005 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25006 cat >conftest.$ac_ext <<_ACEOF
25007 /* confdefs.h. */
25008 _ACEOF
25009 cat confdefs.h >>conftest.$ac_ext
25010 cat >>conftest.$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25012 $ac_includes_default
25013 #include <tiffio.h>
25014 _ACEOF
25015 rm -f conftest.$ac_objext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25017 (eval $ac_compile) 2>conftest.er1
25018 ac_status=$?
25019 grep -v '^ *+' conftest.er1 >conftest.err
25020 rm -f conftest.er1
25021 cat conftest.err >&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } &&
25024 { ac_try='test -z "$ac_c_werror_flag"
25025 || test ! -s conftest.err'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; } &&
25031 { ac_try='test -s conftest.$ac_objext'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25034 ac_status=$?
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; }; then
25037 ac_header_compiler=yes
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25041
25042 ac_header_compiler=no
25043 fi
25044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25046 echo "${ECHO_T}$ac_header_compiler" >&6
25047
25048 # Is the header present?
25049 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25050 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25051 cat >conftest.$ac_ext <<_ACEOF
25052 /* confdefs.h. */
25053 _ACEOF
25054 cat confdefs.h >>conftest.$ac_ext
25055 cat >>conftest.$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25057 #include <tiffio.h>
25058 _ACEOF
25059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25061 ac_status=$?
25062 grep -v '^ *+' conftest.er1 >conftest.err
25063 rm -f conftest.er1
25064 cat conftest.err >&5
25065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25066 (exit $ac_status); } >/dev/null; then
25067 if test -s conftest.err; then
25068 ac_cpp_err=$ac_c_preproc_warn_flag
25069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25070 else
25071 ac_cpp_err=
25072 fi
25073 else
25074 ac_cpp_err=yes
25075 fi
25076 if test -z "$ac_cpp_err"; then
25077 ac_header_preproc=yes
25078 else
25079 echo "$as_me: failed program was:" >&5
25080 sed 's/^/| /' conftest.$ac_ext >&5
25081
25082 ac_header_preproc=no
25083 fi
25084 rm -f conftest.err conftest.$ac_ext
25085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25086 echo "${ECHO_T}$ac_header_preproc" >&6
25087
25088 # So? What about this header?
25089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25090 yes:no: )
25091 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25092 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25093 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25094 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25095 ac_header_preproc=yes
25096 ;;
25097 no:yes:* )
25098 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25099 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25100 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25101 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25102 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25103 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25104 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25105 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25106 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25107 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25108 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25109 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25110 (
25111 cat <<\_ASBOX
25112 ## ----------------------------------------- ##
25113 ## Report this to wx-dev@lists.wxwidgets.org ##
25114 ## ----------------------------------------- ##
25115 _ASBOX
25116 ) |
25117 sed "s/^/$as_me: WARNING: /" >&2
25118 ;;
25119 esac
25120 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25121 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25122 if test "${ac_cv_header_tiffio_h+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 else
25125 ac_cv_header_tiffio_h=$ac_header_preproc
25126 fi
25127 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25128 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25129
25130 fi
25131 if test $ac_cv_header_tiffio_h = yes; then
25132
25133 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25134 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25135 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25136 echo $ECHO_N "(cached) $ECHO_C" >&6
25137 else
25138 ac_check_lib_save_LIBS=$LIBS
25139 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25140 cat >conftest.$ac_ext <<_ACEOF
25141 /* confdefs.h. */
25142 _ACEOF
25143 cat confdefs.h >>conftest.$ac_ext
25144 cat >>conftest.$ac_ext <<_ACEOF
25145 /* end confdefs.h. */
25146
25147 /* Override any gcc2 internal prototype to avoid an error. */
25148 #ifdef __cplusplus
25149 extern "C"
25150 #endif
25151 /* We use char because int might match the return type of a gcc2
25152 builtin and then its argument prototype would still apply. */
25153 char TIFFError ();
25154 int
25155 main ()
25156 {
25157 TIFFError ();
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 rm -f conftest.$ac_objext conftest$ac_exeext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25164 (eval $ac_link) 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try='test -z "$ac_c_werror_flag"
25172 || test ! -s conftest.err'
25173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25174 (eval $ac_try) 2>&5
25175 ac_status=$?
25176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25177 (exit $ac_status); }; } &&
25178 { ac_try='test -s conftest$ac_exeext'
25179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25180 (eval $ac_try) 2>&5
25181 ac_status=$?
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); }; }; then
25184 ac_cv_lib_tiff_TIFFError=yes
25185 else
25186 echo "$as_me: failed program was:" >&5
25187 sed 's/^/| /' conftest.$ac_ext >&5
25188
25189 ac_cv_lib_tiff_TIFFError=no
25190 fi
25191 rm -f conftest.err conftest.$ac_objext \
25192 conftest$ac_exeext conftest.$ac_ext
25193 LIBS=$ac_check_lib_save_LIBS
25194 fi
25195 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
25196 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
25197 if test $ac_cv_lib_tiff_TIFFError = yes; then
25198 TIFF_LINK=" -ltiff"
25199 fi
25200
25201
25202
25203 fi
25204
25205
25206
25207 if test "x$TIFF_LINK" = "x" ; then
25208 if test "$wxUSE_LIBTIFF" = "sys" ; then
25209 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
25210 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
25211 { (exit 1); exit 1; }; }
25212 else
25213 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
25214 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
25215 wxUSE_LIBTIFF=builtin
25216 fi
25217 else
25218 wxUSE_LIBTIFF=sys
25219 fi
25220 fi
25221 fi
25222
25223
25224 if test "$wxUSE_WCHAR_T" != "yes"; then
25225 if test "$wxUSE_EXPAT" != "no"; then
25226 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
25227 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
25228 wxUSE_EXPAT=no
25229 fi
25230 if test "$wxUSE_XML" != "no"; then
25231 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
25232 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
25233 wxUSE_XML=no
25234 fi
25235 fi
25236
25237 if test "$wxUSE_EXPAT" != "no"; then
25238 wxUSE_XML=yes
25239 cat >>confdefs.h <<\_ACEOF
25240 #define wxUSE_EXPAT 1
25241 _ACEOF
25242
25243 cat >>confdefs.h <<\_ACEOF
25244 #define wxUSE_XML 1
25245 _ACEOF
25246
25247
25248 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
25249 if test "${ac_cv_header_expat_h+set}" = set; then
25250 echo "$as_me:$LINENO: checking for expat.h" >&5
25251 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25252 if test "${ac_cv_header_expat_h+set}" = set; then
25253 echo $ECHO_N "(cached) $ECHO_C" >&6
25254 fi
25255 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25256 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25257 else
25258 # Is the header compilable?
25259 echo "$as_me:$LINENO: checking expat.h usability" >&5
25260 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 $ac_includes_default
25268 #include <expat.h>
25269 _ACEOF
25270 rm -f conftest.$ac_objext
25271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25272 (eval $ac_compile) 2>conftest.er1
25273 ac_status=$?
25274 grep -v '^ *+' conftest.er1 >conftest.err
25275 rm -f conftest.er1
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } &&
25279 { ac_try='test -z "$ac_c_werror_flag"
25280 || test ! -s conftest.err'
25281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25282 (eval $ac_try) 2>&5
25283 ac_status=$?
25284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25285 (exit $ac_status); }; } &&
25286 { ac_try='test -s conftest.$ac_objext'
25287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25288 (eval $ac_try) 2>&5
25289 ac_status=$?
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); }; }; then
25292 ac_header_compiler=yes
25293 else
25294 echo "$as_me: failed program was:" >&5
25295 sed 's/^/| /' conftest.$ac_ext >&5
25296
25297 ac_header_compiler=no
25298 fi
25299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25301 echo "${ECHO_T}$ac_header_compiler" >&6
25302
25303 # Is the header present?
25304 echo "$as_me:$LINENO: checking expat.h presence" >&5
25305 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312 #include <expat.h>
25313 _ACEOF
25314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25316 ac_status=$?
25317 grep -v '^ *+' conftest.er1 >conftest.err
25318 rm -f conftest.er1
25319 cat conftest.err >&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } >/dev/null; then
25322 if test -s conftest.err; then
25323 ac_cpp_err=$ac_c_preproc_warn_flag
25324 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25325 else
25326 ac_cpp_err=
25327 fi
25328 else
25329 ac_cpp_err=yes
25330 fi
25331 if test -z "$ac_cpp_err"; then
25332 ac_header_preproc=yes
25333 else
25334 echo "$as_me: failed program was:" >&5
25335 sed 's/^/| /' conftest.$ac_ext >&5
25336
25337 ac_header_preproc=no
25338 fi
25339 rm -f conftest.err conftest.$ac_ext
25340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25341 echo "${ECHO_T}$ac_header_preproc" >&6
25342
25343 # So? What about this header?
25344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25345 yes:no: )
25346 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
25347 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25348 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
25349 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
25350 ac_header_preproc=yes
25351 ;;
25352 no:yes:* )
25353 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
25354 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
25355 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
25356 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
25357 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
25358 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
25359 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
25360 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
25361 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
25362 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
25363 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
25364 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
25365 (
25366 cat <<\_ASBOX
25367 ## ----------------------------------------- ##
25368 ## Report this to wx-dev@lists.wxwidgets.org ##
25369 ## ----------------------------------------- ##
25370 _ASBOX
25371 ) |
25372 sed "s/^/$as_me: WARNING: /" >&2
25373 ;;
25374 esac
25375 echo "$as_me:$LINENO: checking for expat.h" >&5
25376 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
25377 if test "${ac_cv_header_expat_h+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25380 ac_cv_header_expat_h=$ac_header_preproc
25381 fi
25382 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
25383 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
25384
25385 fi
25386 if test $ac_cv_header_expat_h = yes; then
25387 found_expat_h=1
25388 fi
25389
25390
25391 if test "x$found_expat_h" = "x1"; then
25392 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
25393 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
25394 if test "${wx_cv_expat_is_not_broken+set}" = set; then
25395 echo $ECHO_N "(cached) $ECHO_C" >&6
25396 else
25397
25398
25399
25400 ac_ext=cc
25401 ac_cpp='$CXXCPP $CPPFLAGS'
25402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25405
25406 cat >conftest.$ac_ext <<_ACEOF
25407 /* confdefs.h. */
25408 _ACEOF
25409 cat confdefs.h >>conftest.$ac_ext
25410 cat >>conftest.$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25412 #include <expat.h>
25413 int
25414 main ()
25415 {
25416
25417 ;
25418 return 0;
25419 }
25420 _ACEOF
25421 rm -f conftest.$ac_objext
25422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25423 (eval $ac_compile) 2>conftest.er1
25424 ac_status=$?
25425 grep -v '^ *+' conftest.er1 >conftest.err
25426 rm -f conftest.er1
25427 cat conftest.err >&5
25428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25429 (exit $ac_status); } &&
25430 { ac_try='test -z "$ac_cxx_werror_flag"
25431 || test ! -s conftest.err'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; } &&
25437 { ac_try='test -s conftest.$ac_objext'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25440 ac_status=$?
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; }; then
25443 wx_cv_expat_is_not_broken=yes
25444 else
25445 echo "$as_me: failed program was:" >&5
25446 sed 's/^/| /' conftest.$ac_ext >&5
25447
25448 wx_cv_expat_is_not_broken=no
25449
25450 fi
25451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25452 ac_ext=c
25453 ac_cpp='$CPP $CPPFLAGS'
25454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25457
25458
25459
25460 fi
25461 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
25462 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
25463 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
25464 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
25465 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
25466 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
25467 echo $ECHO_N "(cached) $ECHO_C" >&6
25468 else
25469 ac_check_lib_save_LIBS=$LIBS
25470 LIBS="-lexpat $LIBS"
25471 cat >conftest.$ac_ext <<_ACEOF
25472 /* confdefs.h. */
25473 _ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25477
25478 /* Override any gcc2 internal prototype to avoid an error. */
25479 #ifdef __cplusplus
25480 extern "C"
25481 #endif
25482 /* We use char because int might match the return type of a gcc2
25483 builtin and then its argument prototype would still apply. */
25484 char XML_ParserCreate ();
25485 int
25486 main ()
25487 {
25488 XML_ParserCreate ();
25489 ;
25490 return 0;
25491 }
25492 _ACEOF
25493 rm -f conftest.$ac_objext conftest$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25496 ac_status=$?
25497 grep -v '^ *+' conftest.er1 >conftest.err
25498 rm -f conftest.er1
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25506 ac_status=$?
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 ac_cv_lib_expat_XML_ParserCreate=yes
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25519
25520 ac_cv_lib_expat_XML_ParserCreate=no
25521 fi
25522 rm -f conftest.err conftest.$ac_objext \
25523 conftest$ac_exeext conftest.$ac_ext
25524 LIBS=$ac_check_lib_save_LIBS
25525 fi
25526 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
25527 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
25528 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
25529 EXPAT_LINK=" -lexpat"
25530 fi
25531
25532 fi
25533 fi
25534 if test "x$EXPAT_LINK" = "x" ; then
25535 if test "$wxUSE_EXPAT" = "sys" ; then
25536 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
25537 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
25538 { (exit 1); exit 1; }; }
25539 else
25540 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
25541 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
25542 wxUSE_EXPAT=builtin
25543 fi
25544 else
25545 wxUSE_EXPAT=sys
25546 fi
25547 fi
25548 if test "$wxUSE_EXPAT" = "builtin" ; then
25549
25550
25551 subdirs="$subdirs src/expat"
25552
25553 fi
25554 fi
25555
25556
25557
25558 if test "$wxUSE_LIBMSPACK" != "no"; then
25559 if test "${ac_cv_header_mspack_h+set}" = set; then
25560 echo "$as_me:$LINENO: checking for mspack.h" >&5
25561 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25562 if test "${ac_cv_header_mspack_h+set}" = set; then
25563 echo $ECHO_N "(cached) $ECHO_C" >&6
25564 fi
25565 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25566 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25567 else
25568 # Is the header compilable?
25569 echo "$as_me:$LINENO: checking mspack.h usability" >&5
25570 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
25571 cat >conftest.$ac_ext <<_ACEOF
25572 /* confdefs.h. */
25573 _ACEOF
25574 cat confdefs.h >>conftest.$ac_ext
25575 cat >>conftest.$ac_ext <<_ACEOF
25576 /* end confdefs.h. */
25577 $ac_includes_default
25578 #include <mspack.h>
25579 _ACEOF
25580 rm -f conftest.$ac_objext
25581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25582 (eval $ac_compile) 2>conftest.er1
25583 ac_status=$?
25584 grep -v '^ *+' conftest.er1 >conftest.err
25585 rm -f conftest.er1
25586 cat conftest.err >&5
25587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25588 (exit $ac_status); } &&
25589 { ac_try='test -z "$ac_c_werror_flag"
25590 || test ! -s conftest.err'
25591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25592 (eval $ac_try) 2>&5
25593 ac_status=$?
25594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25595 (exit $ac_status); }; } &&
25596 { ac_try='test -s conftest.$ac_objext'
25597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25598 (eval $ac_try) 2>&5
25599 ac_status=$?
25600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25601 (exit $ac_status); }; }; then
25602 ac_header_compiler=yes
25603 else
25604 echo "$as_me: failed program was:" >&5
25605 sed 's/^/| /' conftest.$ac_ext >&5
25606
25607 ac_header_compiler=no
25608 fi
25609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25611 echo "${ECHO_T}$ac_header_compiler" >&6
25612
25613 # Is the header present?
25614 echo "$as_me:$LINENO: checking mspack.h presence" >&5
25615 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
25616 cat >conftest.$ac_ext <<_ACEOF
25617 /* confdefs.h. */
25618 _ACEOF
25619 cat confdefs.h >>conftest.$ac_ext
25620 cat >>conftest.$ac_ext <<_ACEOF
25621 /* end confdefs.h. */
25622 #include <mspack.h>
25623 _ACEOF
25624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } >/dev/null; then
25632 if test -s conftest.err; then
25633 ac_cpp_err=$ac_c_preproc_warn_flag
25634 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25635 else
25636 ac_cpp_err=
25637 fi
25638 else
25639 ac_cpp_err=yes
25640 fi
25641 if test -z "$ac_cpp_err"; then
25642 ac_header_preproc=yes
25643 else
25644 echo "$as_me: failed program was:" >&5
25645 sed 's/^/| /' conftest.$ac_ext >&5
25646
25647 ac_header_preproc=no
25648 fi
25649 rm -f conftest.err conftest.$ac_ext
25650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25651 echo "${ECHO_T}$ac_header_preproc" >&6
25652
25653 # So? What about this header?
25654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25655 yes:no: )
25656 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
25657 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25658 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
25659 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
25660 ac_header_preproc=yes
25661 ;;
25662 no:yes:* )
25663 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
25664 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
25666 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
25668 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
25669 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
25670 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
25671 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
25672 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
25673 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
25674 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
25675 (
25676 cat <<\_ASBOX
25677 ## ----------------------------------------- ##
25678 ## Report this to wx-dev@lists.wxwidgets.org ##
25679 ## ----------------------------------------- ##
25680 _ASBOX
25681 ) |
25682 sed "s/^/$as_me: WARNING: /" >&2
25683 ;;
25684 esac
25685 echo "$as_me:$LINENO: checking for mspack.h" >&5
25686 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
25687 if test "${ac_cv_header_mspack_h+set}" = set; then
25688 echo $ECHO_N "(cached) $ECHO_C" >&6
25689 else
25690 ac_cv_header_mspack_h=$ac_header_preproc
25691 fi
25692 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
25693 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
25694
25695 fi
25696 if test $ac_cv_header_mspack_h = yes; then
25697 found_mspack_h=1
25698 fi
25699
25700
25701 if test "x$found_mspack_h" = "x1"; then
25702 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
25703 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
25704 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 ac_check_lib_save_LIBS=$LIBS
25708 LIBS="-lmspack $LIBS"
25709 cat >conftest.$ac_ext <<_ACEOF
25710 /* confdefs.h. */
25711 _ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25715
25716 /* Override any gcc2 internal prototype to avoid an error. */
25717 #ifdef __cplusplus
25718 extern "C"
25719 #endif
25720 /* We use char because int might match the return type of a gcc2
25721 builtin and then its argument prototype would still apply. */
25722 char mspack_create_chm_decompressor ();
25723 int
25724 main ()
25725 {
25726 mspack_create_chm_decompressor ();
25727 ;
25728 return 0;
25729 }
25730 _ACEOF
25731 rm -f conftest.$ac_objext conftest$ac_exeext
25732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25733 (eval $ac_link) 2>conftest.er1
25734 ac_status=$?
25735 grep -v '^ *+' conftest.er1 >conftest.err
25736 rm -f conftest.er1
25737 cat conftest.err >&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); } &&
25740 { ac_try='test -z "$ac_c_werror_flag"
25741 || test ! -s conftest.err'
25742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25743 (eval $ac_try) 2>&5
25744 ac_status=$?
25745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25746 (exit $ac_status); }; } &&
25747 { ac_try='test -s conftest$ac_exeext'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25750 ac_status=$?
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; }; then
25753 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
25754 else
25755 echo "$as_me: failed program was:" >&5
25756 sed 's/^/| /' conftest.$ac_ext >&5
25757
25758 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
25759 fi
25760 rm -f conftest.err conftest.$ac_objext \
25761 conftest$ac_exeext conftest.$ac_ext
25762 LIBS=$ac_check_lib_save_LIBS
25763 fi
25764 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
25765 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
25766 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
25767 MSPACK_LINK=" -lmspack"
25768 fi
25769
25770 fi
25771 if test "x$MSPACK_LINK" = "x" ; then
25772 wxUSE_LIBMSPACK=no
25773 fi
25774 fi
25775
25776 if test "$wxUSE_LIBMSPACK" != "no"; then
25777 cat >>confdefs.h <<\_ACEOF
25778 #define wxUSE_LIBMSPACK 1
25779 _ACEOF
25780
25781 fi
25782
25783
25784
25785 AFMINSTALL=
25786 WIN32INSTALL=
25787
25788 TOOLKIT=
25789 TOOLKIT_INCLUDE=
25790 WIDGET_SET=
25791
25792 if test "$USE_WIN32" = 1 ; then
25793
25794 for ac_header in w32api.h
25795 do
25796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25798 echo "$as_me:$LINENO: checking for $ac_header" >&5
25799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 fi
25803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25805 else
25806 # Is the header compilable?
25807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
25808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
25809 cat >conftest.$ac_ext <<_ACEOF
25810 /* confdefs.h. */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815 $ac_includes_default
25816 #include <$ac_header>
25817 _ACEOF
25818 rm -f conftest.$ac_objext
25819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25820 (eval $ac_compile) 2>conftest.er1
25821 ac_status=$?
25822 grep -v '^ *+' conftest.er1 >conftest.err
25823 rm -f conftest.er1
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } &&
25827 { ac_try='test -z "$ac_c_werror_flag"
25828 || test ! -s conftest.err'
25829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25830 (eval $ac_try) 2>&5
25831 ac_status=$?
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; } &&
25834 { ac_try='test -s conftest.$ac_objext'
25835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25836 (eval $ac_try) 2>&5
25837 ac_status=$?
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); }; }; then
25840 ac_header_compiler=yes
25841 else
25842 echo "$as_me: failed program was:" >&5
25843 sed 's/^/| /' conftest.$ac_ext >&5
25844
25845 ac_header_compiler=no
25846 fi
25847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25849 echo "${ECHO_T}$ac_header_compiler" >&6
25850
25851 # Is the header present?
25852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
25853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
25854 cat >conftest.$ac_ext <<_ACEOF
25855 /* confdefs.h. */
25856 _ACEOF
25857 cat confdefs.h >>conftest.$ac_ext
25858 cat >>conftest.$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 #include <$ac_header>
25861 _ACEOF
25862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25863 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25864 ac_status=$?
25865 grep -v '^ *+' conftest.er1 >conftest.err
25866 rm -f conftest.er1
25867 cat conftest.err >&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); } >/dev/null; then
25870 if test -s conftest.err; then
25871 ac_cpp_err=$ac_c_preproc_warn_flag
25872 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25873 else
25874 ac_cpp_err=
25875 fi
25876 else
25877 ac_cpp_err=yes
25878 fi
25879 if test -z "$ac_cpp_err"; then
25880 ac_header_preproc=yes
25881 else
25882 echo "$as_me: failed program was:" >&5
25883 sed 's/^/| /' conftest.$ac_ext >&5
25884
25885 ac_header_preproc=no
25886 fi
25887 rm -f conftest.err conftest.$ac_ext
25888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25889 echo "${ECHO_T}$ac_header_preproc" >&6
25890
25891 # So? What about this header?
25892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25893 yes:no: )
25894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25898 ac_header_preproc=yes
25899 ;;
25900 no:yes:* )
25901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25905 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25908 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25911 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25913 (
25914 cat <<\_ASBOX
25915 ## ----------------------------------------- ##
25916 ## Report this to wx-dev@lists.wxwidgets.org ##
25917 ## ----------------------------------------- ##
25918 _ASBOX
25919 ) |
25920 sed "s/^/$as_me: WARNING: /" >&2
25921 ;;
25922 esac
25923 echo "$as_me:$LINENO: checking for $ac_header" >&5
25924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25926 echo $ECHO_N "(cached) $ECHO_C" >&6
25927 else
25928 eval "$as_ac_Header=\$ac_header_preproc"
25929 fi
25930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25932
25933 fi
25934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25935 cat >>confdefs.h <<_ACEOF
25936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25937 _ACEOF
25938
25939 fi
25940
25941 done
25942
25943 if test "${ac_cv_header_windows_h+set}" = set; then
25944 echo "$as_me:$LINENO: checking for windows.h" >&5
25945 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
25946 if test "${ac_cv_header_windows_h+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 fi
25949 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
25950 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
25951 else
25952 # Is the header compilable?
25953 echo "$as_me:$LINENO: checking windows.h usability" >&5
25954 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
25955 cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h. */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 $ac_includes_default
25962 #include <windows.h>
25963 _ACEOF
25964 rm -f conftest.$ac_objext
25965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25966 (eval $ac_compile) 2>conftest.er1
25967 ac_status=$?
25968 grep -v '^ *+' conftest.er1 >conftest.err
25969 rm -f conftest.er1
25970 cat conftest.err >&5
25971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25972 (exit $ac_status); } &&
25973 { ac_try='test -z "$ac_c_werror_flag"
25974 || test ! -s conftest.err'
25975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25976 (eval $ac_try) 2>&5
25977 ac_status=$?
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); }; } &&
25980 { ac_try='test -s conftest.$ac_objext'
25981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25982 (eval $ac_try) 2>&5
25983 ac_status=$?
25984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25985 (exit $ac_status); }; }; then
25986 ac_header_compiler=yes
25987 else
25988 echo "$as_me: failed program was:" >&5
25989 sed 's/^/| /' conftest.$ac_ext >&5
25990
25991 ac_header_compiler=no
25992 fi
25993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25995 echo "${ECHO_T}$ac_header_compiler" >&6
25996
25997 # Is the header present?
25998 echo "$as_me:$LINENO: checking windows.h presence" >&5
25999 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <windows.h>
26007 _ACEOF
26008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26010 ac_status=$?
26011 grep -v '^ *+' conftest.er1 >conftest.err
26012 rm -f conftest.er1
26013 cat conftest.err >&5
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } >/dev/null; then
26016 if test -s conftest.err; then
26017 ac_cpp_err=$ac_c_preproc_warn_flag
26018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26019 else
26020 ac_cpp_err=
26021 fi
26022 else
26023 ac_cpp_err=yes
26024 fi
26025 if test -z "$ac_cpp_err"; then
26026 ac_header_preproc=yes
26027 else
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 ac_header_preproc=no
26032 fi
26033 rm -f conftest.err conftest.$ac_ext
26034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26035 echo "${ECHO_T}$ac_header_preproc" >&6
26036
26037 # So? What about this header?
26038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26039 yes:no: )
26040 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26041 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26042 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26043 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26044 ac_header_preproc=yes
26045 ;;
26046 no:yes:* )
26047 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26048 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26049 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26050 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26051 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26052 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26053 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26054 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26055 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26056 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26057 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26058 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26059 (
26060 cat <<\_ASBOX
26061 ## ----------------------------------------- ##
26062 ## Report this to wx-dev@lists.wxwidgets.org ##
26063 ## ----------------------------------------- ##
26064 _ASBOX
26065 ) |
26066 sed "s/^/$as_me: WARNING: /" >&2
26067 ;;
26068 esac
26069 echo "$as_me:$LINENO: checking for windows.h" >&5
26070 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26071 if test "${ac_cv_header_windows_h+set}" = set; then
26072 echo $ECHO_N "(cached) $ECHO_C" >&6
26073 else
26074 ac_cv_header_windows_h=$ac_header_preproc
26075 fi
26076 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26077 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26078
26079 fi
26080 if test $ac_cv_header_windows_h = yes; then
26081 :
26082 else
26083
26084 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26085 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26086 { (exit 1); exit 1; }; }
26087
26088 fi
26089
26090
26091
26092 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26093
26094 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26095 LIBS="$LIBS -loleacc"
26096 fi
26097
26098 case "${host}" in
26099 *-*-cygwin* )
26100 LIBS="$LIBS -lkernel32 -luser32"
26101 esac
26102
26103 if test "$wxUSE_ODBC" = "sys" ; then
26104 wxUSE_ODBC = "yes"
26105 fi
26106 if test "$wxUSE_ODBC" = "yes" ; then
26107 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26108 cat >>confdefs.h <<\_ACEOF
26109 #define wxUSE_ODBC 1
26110 _ACEOF
26111
26112 fi
26113
26114 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26115 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26116
26117 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26118
26119 WIN32INSTALL=win32install
26120 fi
26121
26122 if test "$wxUSE_GUI" = "yes"; then
26123 USE_GUI=1
26124
26125 GUI_TK_LIBRARY=
26126
26127 WXGTK12=
26128 WXGTK127=
26129 WXGTK20=
26130 WXGPE=
26131
26132 if test "$wxUSE_COCOA" = 1 ; then
26133 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26134 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26135 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26136 wxUSE_PRINTING_ARCHITECTURE=no
26137 fi
26138 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26139 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26140 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26141 wxUSE_DRAG_AND_DROP=no
26142 fi
26143 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26144 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26145 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26146 wxUSE_DRAGIMAGE=no
26147 fi
26148 fi
26149
26150 if test "$wxUSE_MSW" = 1 ; then
26151 TOOLKIT=MSW
26152 GUIDIST=MSW_DIST
26153
26154 case "${host}" in
26155 *-*-mingw32* )
26156 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26157 esac
26158 fi
26159
26160 if test "$wxUSE_GTK" = 1; then
26161 echo "$as_me:$LINENO: checking for GTK+ version" >&5
26162 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
26163
26164 gtk_version_cached=1
26165 if test "${wx_cv_lib_gtk+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26167 else
26168
26169 gtk_version_cached=0
26170 echo "$as_me:$LINENO: result: " >&5
26171 echo "${ECHO_T}" >&6
26172
26173 GTK_MODULES=
26174 if test "$wxUSE_THREADS" = "yes"; then
26175 GTK_MODULES=gthread
26176 fi
26177
26178 wx_cv_lib_gtk=
26179 if test "x$wxGTK_VERSION" != "x1"
26180 then
26181 case "${host}" in
26182 *-*-solaris2* )
26183 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26184 enable_gtktest=no
26185 fi
26186 esac
26187
26188 # Check whether --enable-gtktest or --disable-gtktest was given.
26189 if test "${enable_gtktest+set}" = set; then
26190 enableval="$enable_gtktest"
26191
26192 else
26193 enable_gtktest=yes
26194 fi;
26195
26196 pkg_config_args=gtk+-2.0
26197 for module in . $GTK_MODULES
26198 do
26199 case "$module" in
26200 gthread)
26201 pkg_config_args="$pkg_config_args gthread-2.0"
26202 ;;
26203 esac
26204 done
26205
26206 no_gtk=""
26207
26208 # Extract the first word of "pkg-config", so it can be a program name with args.
26209 set dummy pkg-config; ac_word=$2
26210 echo "$as_me:$LINENO: checking for $ac_word" >&5
26211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26212 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26213 echo $ECHO_N "(cached) $ECHO_C" >&6
26214 else
26215 case $PKG_CONFIG in
26216 [\\/]* | ?:[\\/]*)
26217 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26218 ;;
26219 *)
26220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26221 for as_dir in $PATH
26222 do
26223 IFS=$as_save_IFS
26224 test -z "$as_dir" && as_dir=.
26225 for ac_exec_ext in '' $ac_executable_extensions; do
26226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26227 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26229 break 2
26230 fi
26231 done
26232 done
26233
26234 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26235 ;;
26236 esac
26237 fi
26238 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26239
26240 if test -n "$PKG_CONFIG"; then
26241 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26242 echo "${ECHO_T}$PKG_CONFIG" >&6
26243 else
26244 echo "$as_me:$LINENO: result: no" >&5
26245 echo "${ECHO_T}no" >&6
26246 fi
26247
26248
26249 if test x$PKG_CONFIG != xno ; then
26250 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26251 :
26252 else
26253 echo "*** pkg-config too old; version 0.7 or better required."
26254 no_gtk=yes
26255 PKG_CONFIG=no
26256 fi
26257 else
26258 no_gtk=yes
26259 fi
26260
26261 min_gtk_version=2.0.0
26262 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26263 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
26264
26265 if test x$PKG_CONFIG != xno ; then
26266 ## don't try to run the test against uninstalled libtool libs
26267 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26268 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26269 enable_gtktest=no
26270 fi
26271
26272 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26273 :
26274 else
26275 no_gtk=yes
26276 fi
26277 fi
26278
26279 if test x"$no_gtk" = x ; then
26280 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26281 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26282 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26284 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26286 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26287 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26288 if test "x$enable_gtktest" = "xyes" ; then
26289 ac_save_CFLAGS="$CFLAGS"
26290 ac_save_LIBS="$LIBS"
26291 CFLAGS="$CFLAGS $GTK_CFLAGS"
26292 LIBS="$GTK_LIBS $LIBS"
26293 rm -f conf.gtktest
26294 if test "$cross_compiling" = yes; then
26295 echo $ac_n "cross compiling; assumed OK... $ac_c"
26296 else
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h. */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h. */
26303
26304 #include <gtk/gtk.h>
26305 #include <stdio.h>
26306 #include <stdlib.h>
26307
26308 int
26309 main ()
26310 {
26311 int major, minor, micro;
26312 char *tmp_version;
26313
26314 system ("touch conf.gtktest");
26315
26316 /* HP/UX 9 (%@#!) writes to sscanf strings */
26317 tmp_version = g_strdup("$min_gtk_version");
26318 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26319 printf("%s, bad version string\n", "$min_gtk_version");
26320 exit(1);
26321 }
26322
26323 if ((gtk_major_version != $gtk_config_major_version) ||
26324 (gtk_minor_version != $gtk_config_minor_version) ||
26325 (gtk_micro_version != $gtk_config_micro_version))
26326 {
26327 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26328 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26329 gtk_major_version, gtk_minor_version, gtk_micro_version);
26330 printf ("*** was found! If pkg-config was correct, then it is best\n");
26331 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26332 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26333 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26334 printf("*** required on your system.\n");
26335 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26336 printf("*** to point to the correct configuration files\n");
26337 }
26338 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26339 (gtk_minor_version != GTK_MINOR_VERSION) ||
26340 (gtk_micro_version != GTK_MICRO_VERSION))
26341 {
26342 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26343 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26344 printf("*** library (version %d.%d.%d)\n",
26345 gtk_major_version, gtk_minor_version, gtk_micro_version);
26346 }
26347 else
26348 {
26349 if ((gtk_major_version > major) ||
26350 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26351 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26352 {
26353 return 0;
26354 }
26355 else
26356 {
26357 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26358 gtk_major_version, gtk_minor_version, gtk_micro_version);
26359 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26360 major, minor, micro);
26361 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26362 printf("***\n");
26363 printf("*** If you have already installed a sufficiently new version, this error\n");
26364 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
26365 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26366 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
26367 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
26368 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26369 printf("*** so that the correct libraries are found at run-time))\n");
26370 }
26371 }
26372 return 1;
26373 }
26374
26375 _ACEOF
26376 rm -f conftest$ac_exeext
26377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26378 (eval $ac_link) 2>&5
26379 ac_status=$?
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26383 (eval $ac_try) 2>&5
26384 ac_status=$?
26385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26386 (exit $ac_status); }; }; then
26387 :
26388 else
26389 echo "$as_me: program exited with status $ac_status" >&5
26390 echo "$as_me: failed program was:" >&5
26391 sed 's/^/| /' conftest.$ac_ext >&5
26392
26393 ( exit $ac_status )
26394 no_gtk=yes
26395 fi
26396 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26397 fi
26398 CFLAGS="$ac_save_CFLAGS"
26399 LIBS="$ac_save_LIBS"
26400 fi
26401 fi
26402 if test "x$no_gtk" = x ; then
26403 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
26404 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
26405 wx_cv_lib_gtk=2.0
26406 else
26407 echo "$as_me:$LINENO: result: no" >&5
26408 echo "${ECHO_T}no" >&6
26409 if test "$PKG_CONFIG" = "no" ; then
26410 echo "*** A new enough version of pkg-config was not found."
26411 echo "*** See http://pkgconfig.sourceforge.net"
26412 else
26413 if test -f conf.gtktest ; then
26414 :
26415 else
26416 echo "*** Could not run GTK+ test program, checking why..."
26417 ac_save_CFLAGS="$CFLAGS"
26418 ac_save_LIBS="$LIBS"
26419 CFLAGS="$CFLAGS $GTK_CFLAGS"
26420 LIBS="$LIBS $GTK_LIBS"
26421 cat >conftest.$ac_ext <<_ACEOF
26422 /* confdefs.h. */
26423 _ACEOF
26424 cat confdefs.h >>conftest.$ac_ext
26425 cat >>conftest.$ac_ext <<_ACEOF
26426 /* end confdefs.h. */
26427
26428 #include <gtk/gtk.h>
26429 #include <stdio.h>
26430
26431 int
26432 main ()
26433 {
26434 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26435 ;
26436 return 0;
26437 }
26438 _ACEOF
26439 rm -f conftest.$ac_objext conftest$ac_exeext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26441 (eval $ac_link) 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try='test -z "$ac_c_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest$ac_exeext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 echo "*** The test program compiled, but did not run. This usually means"
26462 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
26463 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
26464 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26465 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26466 echo "*** is required on your system"
26467 echo "***"
26468 echo "*** If you have an old version installed, it is best to remove it, although"
26469 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26470 else
26471 echo "$as_me: failed program was:" >&5
26472 sed 's/^/| /' conftest.$ac_ext >&5
26473
26474 echo "*** The test program failed to compile or link. See the file config.log for the"
26475 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
26476 fi
26477 rm -f conftest.err conftest.$ac_objext \
26478 conftest$ac_exeext conftest.$ac_ext
26479 CFLAGS="$ac_save_CFLAGS"
26480 LIBS="$ac_save_LIBS"
26481 fi
26482 fi
26483 GTK_CFLAGS=""
26484 GTK_LIBS=""
26485 :
26486 fi
26487
26488
26489 rm -f conf.gtktest
26490
26491
26492 case "${host}" in
26493 *-*-solaris2* )
26494 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26495 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
26496 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
26497 fi
26498 if test "$wxUSE_SHARED" != "yes"; then
26499 GTK_LIBS="$GTK_LIBS -lX11"
26500 fi
26501 esac
26502 fi
26503
26504 if test -z "$wx_cv_lib_gtk"; then
26505 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
26506
26507 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26508 if test "${with_gtk_prefix+set}" = set; then
26509 withval="$with_gtk_prefix"
26510 gtk_config_prefix="$withval"
26511 else
26512 gtk_config_prefix=""
26513 fi;
26514
26515 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26516 if test "${with_gtk_exec_prefix+set}" = set; then
26517 withval="$with_gtk_exec_prefix"
26518 gtk_config_exec_prefix="$withval"
26519 else
26520 gtk_config_exec_prefix=""
26521 fi;
26522 # Check whether --enable-gtktest or --disable-gtktest was given.
26523 if test "${enable_gtktest+set}" = set; then
26524 enableval="$enable_gtktest"
26525
26526 else
26527 enable_gtktest=yes
26528 fi;
26529
26530 for module in . $GTK_MODULES
26531 do
26532 case "$module" in
26533 gthread)
26534 gtk_config_args="$gtk_config_args gthread"
26535 ;;
26536 esac
26537 done
26538
26539 if test x$gtk_config_exec_prefix != x ; then
26540 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26541 if test x${GTK_CONFIG+set} != xset ; then
26542 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26543 fi
26544 fi
26545 if test x$gtk_config_prefix != x ; then
26546 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26547 if test x${GTK_CONFIG+set} != xset ; then
26548 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26549 fi
26550 fi
26551
26552 # Extract the first word of "gtk-config", so it can be a program name with args.
26553 set dummy gtk-config; ac_word=$2
26554 echo "$as_me:$LINENO: checking for $ac_word" >&5
26555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26556 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26557 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 else
26559 case $GTK_CONFIG in
26560 [\\/]* | ?:[\\/]*)
26561 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26562 ;;
26563 *)
26564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26565 for as_dir in $PATH
26566 do
26567 IFS=$as_save_IFS
26568 test -z "$as_dir" && as_dir=.
26569 for ac_exec_ext in '' $ac_executable_extensions; do
26570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26571 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26573 break 2
26574 fi
26575 done
26576 done
26577
26578 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26579 ;;
26580 esac
26581 fi
26582 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26583
26584 if test -n "$GTK_CONFIG"; then
26585 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26586 echo "${ECHO_T}$GTK_CONFIG" >&6
26587 else
26588 echo "$as_me:$LINENO: result: no" >&5
26589 echo "${ECHO_T}no" >&6
26590 fi
26591
26592 min_gtk_version=1.2.7
26593 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26594 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26595 no_gtk=""
26596 if test "$GTK_CONFIG" = "no" ; then
26597 no_gtk=yes
26598 else
26599 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26600 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26601 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26603 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26605 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26607 if test "x$enable_gtktest" = "xyes" ; then
26608 ac_save_CFLAGS="$CFLAGS"
26609 ac_save_LIBS="$LIBS"
26610 CFLAGS="$CFLAGS $GTK_CFLAGS"
26611 LIBS="$GTK_LIBS $LIBS"
26612 rm -f conf.gtktest
26613 if test "$cross_compiling" = yes; then
26614 echo $ac_n "cross compiling; assumed OK... $ac_c"
26615 else
26616 cat >conftest.$ac_ext <<_ACEOF
26617 /* confdefs.h. */
26618 _ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622
26623 #include <gtk/gtk.h>
26624 #include <stdio.h>
26625 #include <stdlib.h>
26626
26627 int
26628 main ()
26629 {
26630 int major, minor, micro;
26631 char *tmp_version;
26632
26633 system ("touch conf.gtktest");
26634
26635 /* HP/UX 9 (%@#!) writes to sscanf strings */
26636 tmp_version = g_strdup("$min_gtk_version");
26637 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26638 printf("%s, bad version string\n", "$min_gtk_version");
26639 exit(1);
26640 }
26641
26642 if ((gtk_major_version != $gtk_config_major_version) ||
26643 (gtk_minor_version != $gtk_config_minor_version) ||
26644 (gtk_micro_version != $gtk_config_micro_version))
26645 {
26646 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26647 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26648 gtk_major_version, gtk_minor_version, gtk_micro_version);
26649 printf ("*** was found! If gtk-config was correct, then it is best\n");
26650 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26651 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26652 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26653 printf("*** required on your system.\n");
26654 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26655 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26656 printf("*** before re-running configure\n");
26657 }
26658 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26659 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26660 (gtk_minor_version != GTK_MINOR_VERSION) ||
26661 (gtk_micro_version != GTK_MICRO_VERSION))
26662 {
26663 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26664 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26665 printf("*** library (version %d.%d.%d)\n",
26666 gtk_major_version, gtk_minor_version, gtk_micro_version);
26667 }
26668 #endif /* defined (GTK_MAJOR_VERSION) ... */
26669 else
26670 {
26671 if ((gtk_major_version > major) ||
26672 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26673 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26674 {
26675 return 0;
26676 }
26677 else
26678 {
26679 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26680 gtk_major_version, gtk_minor_version, gtk_micro_version);
26681 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26682 major, minor, micro);
26683 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
26684 printf("***\n");
26685 printf("*** If you have already installed a sufficiently new version, this error\n");
26686 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
26687 printf("*** being found. The easiest way to fix this is to remove the old version\n");
26688 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
26689 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
26690 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
26691 printf("*** so that the correct libraries are found at run-time))\n");
26692 }
26693 }
26694 return 1;
26695 }
26696
26697 _ACEOF
26698 rm -f conftest$ac_exeext
26699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26700 (eval $ac_link) 2>&5
26701 ac_status=$?
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26709 :
26710 else
26711 echo "$as_me: program exited with status $ac_status" >&5
26712 echo "$as_me: failed program was:" >&5
26713 sed 's/^/| /' conftest.$ac_ext >&5
26714
26715 ( exit $ac_status )
26716 no_gtk=yes
26717 fi
26718 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26719 fi
26720 CFLAGS="$ac_save_CFLAGS"
26721 LIBS="$ac_save_LIBS"
26722 fi
26723 fi
26724 if test "x$no_gtk" = x ; then
26725 echo "$as_me:$LINENO: result: yes" >&5
26726 echo "${ECHO_T}yes" >&6
26727 wx_cv_lib_gtk=1.2.7
26728 else
26729 echo "$as_me:$LINENO: result: no" >&5
26730 echo "${ECHO_T}no" >&6
26731 if test "$GTK_CONFIG" = "no" ; then
26732 echo "*** The gtk-config script installed by GTK could not be found"
26733 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
26734 echo "*** your path, or set the GTK_CONFIG environment variable to the"
26735 echo "*** full path to gtk-config."
26736 else
26737 if test -f conf.gtktest ; then
26738 :
26739 else
26740 echo "*** Could not run GTK test program, checking why..."
26741 CFLAGS="$CFLAGS $GTK_CFLAGS"
26742 LIBS="$LIBS $GTK_LIBS"
26743 cat >conftest.$ac_ext <<_ACEOF
26744 /* confdefs.h. */
26745 _ACEOF
26746 cat confdefs.h >>conftest.$ac_ext
26747 cat >>conftest.$ac_ext <<_ACEOF
26748 /* end confdefs.h. */
26749
26750 #include <gtk/gtk.h>
26751 #include <stdio.h>
26752
26753 int
26754 main ()
26755 {
26756 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
26757 ;
26758 return 0;
26759 }
26760 _ACEOF
26761 rm -f conftest.$ac_objext conftest$ac_exeext
26762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26763 (eval $ac_link) 2>conftest.er1
26764 ac_status=$?
26765 grep -v '^ *+' conftest.er1 >conftest.err
26766 rm -f conftest.er1
26767 cat conftest.err >&5
26768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769 (exit $ac_status); } &&
26770 { ac_try='test -z "$ac_c_werror_flag"
26771 || test ! -s conftest.err'
26772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26773 (eval $ac_try) 2>&5
26774 ac_status=$?
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); }; } &&
26777 { ac_try='test -s conftest$ac_exeext'
26778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26779 (eval $ac_try) 2>&5
26780 ac_status=$?
26781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26782 (exit $ac_status); }; }; then
26783 echo "*** The test program compiled, but did not run. This usually means"
26784 echo "*** that the run-time linker is not finding GTK or finding the wrong"
26785 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
26786 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
26787 echo "*** to the installed location Also, make sure you have run ldconfig if that"
26788 echo "*** is required on your system"
26789 echo "***"
26790 echo "*** If you have an old version installed, it is best to remove it, although"
26791 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
26792 echo "***"
26793 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
26794 echo "*** came with the system with the command"
26795 echo "***"
26796 echo "*** rpm --erase --nodeps gtk gtk-devel"
26797 else
26798 echo "$as_me: failed program was:" >&5
26799 sed 's/^/| /' conftest.$ac_ext >&5
26800
26801 echo "*** The test program failed to compile or link. See the file config.log for the"
26802 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
26803 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
26804 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
26805 fi
26806 rm -f conftest.err conftest.$ac_objext \
26807 conftest$ac_exeext conftest.$ac_ext
26808 CFLAGS="$ac_save_CFLAGS"
26809 LIBS="$ac_save_LIBS"
26810 fi
26811 fi
26812 GTK_CFLAGS=""
26813 GTK_LIBS=""
26814 :
26815 fi
26816
26817
26818 rm -f conf.gtktest
26819
26820
26821 if test -z "$wx_cv_lib_gtk"; then
26822
26823 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
26824 if test "${with_gtk_prefix+set}" = set; then
26825 withval="$with_gtk_prefix"
26826 gtk_config_prefix="$withval"
26827 else
26828 gtk_config_prefix=""
26829 fi;
26830
26831 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
26832 if test "${with_gtk_exec_prefix+set}" = set; then
26833 withval="$with_gtk_exec_prefix"
26834 gtk_config_exec_prefix="$withval"
26835 else
26836 gtk_config_exec_prefix=""
26837 fi;
26838 # Check whether --enable-gtktest or --disable-gtktest was given.
26839 if test "${enable_gtktest+set}" = set; then
26840 enableval="$enable_gtktest"
26841
26842 else
26843 enable_gtktest=yes
26844 fi;
26845
26846 for module in . $GTK_MODULES
26847 do
26848 case "$module" in
26849 gthread)
26850 gtk_config_args="$gtk_config_args gthread"
26851 ;;
26852 esac
26853 done
26854
26855 if test x$gtk_config_exec_prefix != x ; then
26856 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
26857 if test x${GTK_CONFIG+set} != xset ; then
26858 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
26859 fi
26860 fi
26861 if test x$gtk_config_prefix != x ; then
26862 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
26863 if test x${GTK_CONFIG+set} != xset ; then
26864 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
26865 fi
26866 fi
26867
26868 # Extract the first word of "gtk-config", so it can be a program name with args.
26869 set dummy gtk-config; ac_word=$2
26870 echo "$as_me:$LINENO: checking for $ac_word" >&5
26871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26872 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26874 else
26875 case $GTK_CONFIG in
26876 [\\/]* | ?:[\\/]*)
26877 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
26878 ;;
26879 *)
26880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26881 for as_dir in $PATH
26882 do
26883 IFS=$as_save_IFS
26884 test -z "$as_dir" && as_dir=.
26885 for ac_exec_ext in '' $ac_executable_extensions; do
26886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26887 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26889 break 2
26890 fi
26891 done
26892 done
26893
26894 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
26895 ;;
26896 esac
26897 fi
26898 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
26899
26900 if test -n "$GTK_CONFIG"; then
26901 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
26902 echo "${ECHO_T}$GTK_CONFIG" >&6
26903 else
26904 echo "$as_me:$LINENO: result: no" >&5
26905 echo "${ECHO_T}no" >&6
26906 fi
26907
26908 min_gtk_version=1.2.3
26909 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
26910 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
26911 no_gtk=""
26912 if test "$GTK_CONFIG" = "no" ; then
26913 no_gtk=yes
26914 else
26915 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
26916 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
26917 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
26918 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26919 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
26920 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26921 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
26922 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26923 if test "x$enable_gtktest" = "xyes" ; then
26924 ac_save_CFLAGS="$CFLAGS"
26925 ac_save_LIBS="$LIBS"
26926 CFLAGS="$CFLAGS $GTK_CFLAGS"
26927 LIBS="$GTK_LIBS $LIBS"
26928 rm -f conf.gtktest
26929 if test "$cross_compiling" = yes; then
26930 echo $ac_n "cross compiling; assumed OK... $ac_c"
26931 else
26932 cat >conftest.$ac_ext <<_ACEOF
26933 /* confdefs.h. */
26934 _ACEOF
26935 cat confdefs.h >>conftest.$ac_ext
26936 cat >>conftest.$ac_ext <<_ACEOF
26937 /* end confdefs.h. */
26938
26939 #include <gtk/gtk.h>
26940 #include <stdio.h>
26941 #include <stdlib.h>
26942
26943 int
26944 main ()
26945 {
26946 int major, minor, micro;
26947 char *tmp_version;
26948
26949 system ("touch conf.gtktest");
26950
26951 /* HP/UX 9 (%@#!) writes to sscanf strings */
26952 tmp_version = g_strdup("$min_gtk_version");
26953 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26954 printf("%s, bad version string\n", "$min_gtk_version");
26955 exit(1);
26956 }
26957
26958 if ((gtk_major_version != $gtk_config_major_version) ||
26959 (gtk_minor_version != $gtk_config_minor_version) ||
26960 (gtk_micro_version != $gtk_config_micro_version))
26961 {
26962 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26963 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26964 gtk_major_version, gtk_minor_version, gtk_micro_version);
26965 printf ("*** was found! If gtk-config was correct, then it is best\n");
26966 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26967 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26968 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26969 printf("*** required on your system.\n");
26970 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
26971 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
26972 printf("*** before re-running configure\n");
26973 }
26974 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
26975 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26976 (gtk_minor_version != GTK_MINOR_VERSION) ||
26977 (gtk_micro_version != GTK_MICRO_VERSION))
26978 {
26979 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26980 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26981 printf("*** library (version %d.%d.%d)\n",
26982 gtk_major_version, gtk_minor_version, gtk_micro_version);
26983 }
26984 #endif /* defined (GTK_MAJOR_VERSION) ... */
26985 else
26986 {
26987 if ((gtk_major_version > major) ||
26988 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
26989 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
26990 {
26991 return 0;
26992 }
26993 else
26994 {
26995 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
26996 gtk_major_version, gtk_minor_version, gtk_micro_version);
26997 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
26998 major, minor, micro);
26999 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27000 printf("***\n");
27001 printf("*** If you have already installed a sufficiently new version, this error\n");
27002 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27003 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27004 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27005 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27006 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27007 printf("*** so that the correct libraries are found at run-time))\n");
27008 }
27009 }
27010 return 1;
27011 }
27012
27013 _ACEOF
27014 rm -f conftest$ac_exeext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27016 (eval $ac_link) 2>&5
27017 ac_status=$?
27018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27022 ac_status=$?
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27025 :
27026 else
27027 echo "$as_me: program exited with status $ac_status" >&5
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ( exit $ac_status )
27032 no_gtk=yes
27033 fi
27034 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27035 fi
27036 CFLAGS="$ac_save_CFLAGS"
27037 LIBS="$ac_save_LIBS"
27038 fi
27039 fi
27040 if test "x$no_gtk" = x ; then
27041 echo "$as_me:$LINENO: result: yes" >&5
27042 echo "${ECHO_T}yes" >&6
27043 wx_cv_lib_gtk=1.2.3
27044 else
27045 echo "$as_me:$LINENO: result: no" >&5
27046 echo "${ECHO_T}no" >&6
27047 if test "$GTK_CONFIG" = "no" ; then
27048 echo "*** The gtk-config script installed by GTK could not be found"
27049 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27050 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27051 echo "*** full path to gtk-config."
27052 else
27053 if test -f conf.gtktest ; then
27054 :
27055 else
27056 echo "*** Could not run GTK test program, checking why..."
27057 CFLAGS="$CFLAGS $GTK_CFLAGS"
27058 LIBS="$LIBS $GTK_LIBS"
27059 cat >conftest.$ac_ext <<_ACEOF
27060 /* confdefs.h. */
27061 _ACEOF
27062 cat confdefs.h >>conftest.$ac_ext
27063 cat >>conftest.$ac_ext <<_ACEOF
27064 /* end confdefs.h. */
27065
27066 #include <gtk/gtk.h>
27067 #include <stdio.h>
27068
27069 int
27070 main ()
27071 {
27072 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27073 ;
27074 return 0;
27075 }
27076 _ACEOF
27077 rm -f conftest.$ac_objext conftest$ac_exeext
27078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27079 (eval $ac_link) 2>conftest.er1
27080 ac_status=$?
27081 grep -v '^ *+' conftest.er1 >conftest.err
27082 rm -f conftest.er1
27083 cat conftest.err >&5
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); } &&
27086 { ac_try='test -z "$ac_c_werror_flag"
27087 || test ! -s conftest.err'
27088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27089 (eval $ac_try) 2>&5
27090 ac_status=$?
27091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27092 (exit $ac_status); }; } &&
27093 { ac_try='test -s conftest$ac_exeext'
27094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27095 (eval $ac_try) 2>&5
27096 ac_status=$?
27097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27098 (exit $ac_status); }; }; then
27099 echo "*** The test program compiled, but did not run. This usually means"
27100 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27101 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27102 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27103 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27104 echo "*** is required on your system"
27105 echo "***"
27106 echo "*** If you have an old version installed, it is best to remove it, although"
27107 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27108 echo "***"
27109 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27110 echo "*** came with the system with the command"
27111 echo "***"
27112 echo "*** rpm --erase --nodeps gtk gtk-devel"
27113 else
27114 echo "$as_me: failed program was:" >&5
27115 sed 's/^/| /' conftest.$ac_ext >&5
27116
27117 echo "*** The test program failed to compile or link. See the file config.log for the"
27118 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27119 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27120 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27121 fi
27122 rm -f conftest.err conftest.$ac_objext \
27123 conftest$ac_exeext conftest.$ac_ext
27124 CFLAGS="$ac_save_CFLAGS"
27125 LIBS="$ac_save_LIBS"
27126 fi
27127 fi
27128 GTK_CFLAGS=""
27129 GTK_LIBS=""
27130 :
27131 fi
27132
27133
27134 rm -f conf.gtktest
27135
27136 fi
27137 fi
27138 fi
27139
27140 if test -z "$wx_cv_lib_gtk"; then
27141 wx_cv_lib_gtk=none
27142 else
27143 wx_cv_cflags_gtk=$GTK_CFLAGS
27144 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27145 fi
27146
27147
27148 fi
27149
27150
27151 if test "$gtk_version_cached" = 1; then
27152 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27153 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27154 fi
27155
27156 case "$wx_cv_lib_gtk" in
27157 2.0) WXGTK20=1
27158 TOOLKIT_VERSION=2
27159 ;;
27160 1.2.7) WXGTK127=1
27161 WXGTK12=1
27162 ;;
27163 1.2.3) WXGTK12=1
27164 ;;
27165 *) { { echo "$as_me:$LINENO: error:
27166 The development files for GTK+ were not found. For GTK+ 2, please
27167 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27168 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27169 and that the version is 1.2.3 or above. Also check that the
27170 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27171 --libs' are in the LD_LIBRARY_PATH or equivalent.
27172 " >&5
27173 echo "$as_me: error:
27174 The development files for GTK+ were not found. For GTK+ 2, please
27175 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27176 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27177 and that the version is 1.2.3 or above. Also check that the
27178 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27179 --libs' are in the LD_LIBRARY_PATH or equivalent.
27180 " >&2;}
27181 { (exit 1); exit 1; }; }
27182 ;;
27183 esac
27184
27185 if test "$WXGTK20" = 1; then
27186 save_CFLAGS="$CFLAGS"
27187 save_LIBS="$LIBS"
27188 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27189 LIBS="$LIBS $wx_cv_libs_gtk"
27190
27191 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
27192 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
27193 cat >conftest.$ac_ext <<_ACEOF
27194 /* confdefs.h. */
27195 _ACEOF
27196 cat confdefs.h >>conftest.$ac_ext
27197 cat >>conftest.$ac_ext <<_ACEOF
27198 /* end confdefs.h. */
27199
27200 #include <gtk/gtk.h>
27201
27202 int
27203 main ()
27204 {
27205
27206 void *f = gtk_icon_size_lookup;
27207
27208 ;
27209 return 0;
27210 }
27211 _ACEOF
27212 rm -f conftest.$ac_objext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27214 (eval $ac_compile) 2>conftest.er1
27215 ac_status=$?
27216 grep -v '^ *+' conftest.er1 >conftest.err
27217 rm -f conftest.er1
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -z "$ac_c_werror_flag"
27222 || test ! -s conftest.err'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27225 ac_status=$?
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; } &&
27228 { ac_try='test -s conftest.$ac_objext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27231 ac_status=$?
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27234
27235 echo "$as_me:$LINENO: result: no" >&5
27236 echo "${ECHO_T}no" >&6
27237
27238 else
27239 echo "$as_me: failed program was:" >&5
27240 sed 's/^/| /' conftest.$ac_ext >&5
27241
27242
27243 cat >>confdefs.h <<\_ACEOF
27244 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27245 _ACEOF
27246
27247 echo "$as_me:$LINENO: result: yes" >&5
27248 echo "${ECHO_T}yes" >&6
27249
27250 fi
27251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27252
27253 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
27254 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
27255 cat >conftest.$ac_ext <<_ACEOF
27256 /* confdefs.h. */
27257 _ACEOF
27258 cat confdefs.h >>conftest.$ac_ext
27259 cat >>conftest.$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27261
27262 #include <gtk/gtk.h>
27263
27264 int
27265 main ()
27266 {
27267
27268 #if !GTK_CHECK_VERSION(2,4,0)
27269 Not GTK+ 2.4
27270 #endif
27271
27272 ;
27273 return 0;
27274 }
27275 _ACEOF
27276 rm -f conftest.$ac_objext
27277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27278 (eval $ac_compile) 2>conftest.er1
27279 ac_status=$?
27280 grep -v '^ *+' conftest.er1 >conftest.err
27281 rm -f conftest.er1
27282 cat conftest.err >&5
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); } &&
27285 { ac_try='test -z "$ac_c_werror_flag"
27286 || test ! -s conftest.err'
27287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27288 (eval $ac_try) 2>&5
27289 ac_status=$?
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); }; } &&
27292 { ac_try='test -s conftest.$ac_objext'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; }; then
27298
27299 cat >>confdefs.h <<\_ACEOF
27300 #define __WXGTK24__ 1
27301 _ACEOF
27302
27303 echo "$as_me:$LINENO: result: yes" >&5
27304 echo "${ECHO_T}yes" >&6
27305
27306 else
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.$ac_ext >&5
27309
27310
27311 echo "$as_me:$LINENO: result: no" >&5
27312 echo "${ECHO_T}no" >&6
27313
27314 fi
27315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27316
27317 CFLAGS="$save_CFLAGS"
27318 LIBS="$save_LIBS"
27319 else
27320 if test "$wxUSE_UNICODE" = "yes"; then
27321 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
27322 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
27323 wxUSE_UNICODE=no
27324 fi
27325 fi
27326
27327 if test "$USE_DARWIN" != 1; then
27328
27329 for ac_func in poll
27330 do
27331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27332 echo "$as_me:$LINENO: checking for $ac_func" >&5
27333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27334 if eval "test \"\${$as_ac_var+set}\" = set"; then
27335 echo $ECHO_N "(cached) $ECHO_C" >&6
27336 else
27337 cat >conftest.$ac_ext <<_ACEOF
27338 /* confdefs.h. */
27339 _ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27345 #define $ac_func innocuous_$ac_func
27346
27347 /* System header to define __stub macros and hopefully few prototypes,
27348 which can conflict with char $ac_func (); below.
27349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27350 <limits.h> exists even on freestanding compilers. */
27351
27352 #ifdef __STDC__
27353 # include <limits.h>
27354 #else
27355 # include <assert.h>
27356 #endif
27357
27358 #undef $ac_func
27359
27360 /* Override any gcc2 internal prototype to avoid an error. */
27361 #ifdef __cplusplus
27362 extern "C"
27363 {
27364 #endif
27365 /* We use char because int might match the return type of a gcc2
27366 builtin and then its argument prototype would still apply. */
27367 char $ac_func ();
27368 /* The GNU C library defines this for functions which it implements
27369 to always fail with ENOSYS. Some functions are actually named
27370 something starting with __ and the normal name is an alias. */
27371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27372 choke me
27373 #else
27374 char (*f) () = $ac_func;
27375 #endif
27376 #ifdef __cplusplus
27377 }
27378 #endif
27379
27380 int
27381 main ()
27382 {
27383 return f != $ac_func;
27384 ;
27385 return 0;
27386 }
27387 _ACEOF
27388 rm -f conftest.$ac_objext conftest$ac_exeext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27390 (eval $ac_link) 2>conftest.er1
27391 ac_status=$?
27392 grep -v '^ *+' conftest.er1 >conftest.err
27393 rm -f conftest.er1
27394 cat conftest.err >&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try='test -z "$ac_c_werror_flag"
27398 || test ! -s conftest.err'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27401 ac_status=$?
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; } &&
27404 { ac_try='test -s conftest$ac_exeext'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; }; then
27410 eval "$as_ac_var=yes"
27411 else
27412 echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.$ac_ext >&5
27414
27415 eval "$as_ac_var=no"
27416 fi
27417 rm -f conftest.err conftest.$ac_objext \
27418 conftest$ac_exeext conftest.$ac_ext
27419 fi
27420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27422 if test `eval echo '${'$as_ac_var'}'` = yes; then
27423 cat >>confdefs.h <<_ACEOF
27424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27425 _ACEOF
27426
27427 fi
27428 done
27429
27430 fi
27431
27432 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
27433 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
27434
27435 AFMINSTALL=afminstall
27436 TOOLKIT=GTK
27437 GUIDIST=GTK_DIST
27438
27439 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
27440 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
27441 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
27442 echo $ECHO_N "(cached) $ECHO_C" >&6
27443 else
27444 ac_check_lib_save_LIBS=$LIBS
27445 LIBS="-lgdk $LIBS"
27446 cat >conftest.$ac_ext <<_ACEOF
27447 /* confdefs.h. */
27448 _ACEOF
27449 cat confdefs.h >>conftest.$ac_ext
27450 cat >>conftest.$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27452
27453 /* Override any gcc2 internal prototype to avoid an error. */
27454 #ifdef __cplusplus
27455 extern "C"
27456 #endif
27457 /* We use char because int might match the return type of a gcc2
27458 builtin and then its argument prototype would still apply. */
27459 char gdk_im_open ();
27460 int
27461 main ()
27462 {
27463 gdk_im_open ();
27464 ;
27465 return 0;
27466 }
27467 _ACEOF
27468 rm -f conftest.$ac_objext conftest$ac_exeext
27469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27470 (eval $ac_link) 2>conftest.er1
27471 ac_status=$?
27472 grep -v '^ *+' conftest.er1 >conftest.err
27473 rm -f conftest.er1
27474 cat conftest.err >&5
27475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27476 (exit $ac_status); } &&
27477 { ac_try='test -z "$ac_c_werror_flag"
27478 || test ! -s conftest.err'
27479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27480 (eval $ac_try) 2>&5
27481 ac_status=$?
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); }; } &&
27484 { ac_try='test -s conftest$ac_exeext'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27487 ac_status=$?
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; }; then
27490 ac_cv_lib_gdk_gdk_im_open=yes
27491 else
27492 echo "$as_me: failed program was:" >&5
27493 sed 's/^/| /' conftest.$ac_ext >&5
27494
27495 ac_cv_lib_gdk_gdk_im_open=no
27496 fi
27497 rm -f conftest.err conftest.$ac_objext \
27498 conftest$ac_exeext conftest.$ac_ext
27499 LIBS=$ac_check_lib_save_LIBS
27500 fi
27501 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
27502 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
27503 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
27504 cat >>confdefs.h <<\_ACEOF
27505 #define HAVE_XIM 1
27506 _ACEOF
27507
27508 fi
27509
27510
27511
27512 if test "$wxUSE_GPE" = "yes"; then
27513 echo "$as_me:$LINENO: checking for gpewidget library" >&5
27514 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
27515
27516 ac_find_libraries=
27517 for ac_dir in $SEARCH_LIB;
27518 do
27519 for ac_extension in a so sl dylib dll.a; do
27520 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
27521 ac_find_libraries=$ac_dir
27522 break 2
27523 fi
27524 done
27525 done
27526
27527 if test "$ac_find_libraries" != "" ; then
27528
27529 if test "$ac_find_libraries" = "default location"; then
27530 ac_path_to_link=""
27531 else
27532 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
27533 result=$?
27534 if test $result = 0; then
27535 ac_path_to_link=""
27536 else
27537 ac_path_to_link=" -L$ac_find_libraries"
27538 fi
27539 fi
27540
27541 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
27542 WXGPE=1
27543 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
27544 echo "${ECHO_T}found in $ac_find_libraries" >&6
27545 else
27546 echo "$as_me:$LINENO: result: not found" >&5
27547 echo "${ECHO_T}not found" >&6
27548 fi
27549
27550 fi
27551 fi
27552
27553 if test "$wxUSE_MGL" = 1; then
27554 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
27555 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
27556 if test "x$MGL_ROOT" = x ; then
27557 echo "$as_me:$LINENO: result: not found" >&5
27558 echo "${ECHO_T}not found" >&6
27559 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
27560 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
27561 { (exit 1); exit 1; }; }
27562 else
27563 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
27564 echo "${ECHO_T}$MGL_ROOT" >&6
27565 fi
27566
27567 echo "$as_me:$LINENO: checking for libmgl location" >&5
27568 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
27569 case "${host}" in
27570 *-*-linux* )
27571 if test "x$wxUSE_SHARED" = xyes ; then
27572 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
27573 else
27574 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
27575 fi
27576 ;;
27577 *-pc-msdosdjgpp )
27578 mgl_os_candidates="dos32/dj2"
27579 ;;
27580 *)
27581 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
27582 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
27583 { (exit 1); exit 1; }; }
27584 esac
27585
27586 mgl_lib_type=""
27587 mgl_os=""
27588
27589 for mgl_os_i in $mgl_os_candidates ; do
27590 if test "x$mgl_os" = x ; then
27591 if test "$wxUSE_DEBUG_FLAG" = yes ; then
27592 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
27593 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
27594 mgl_lib_type=debug
27595 mgl_os=$mgl_os_i
27596 fi
27597 fi
27598 if test "x$mgl_lib_type" = x ; then
27599 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
27600 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
27601 mgl_lib_type=release
27602 mgl_os=$mgl_os_i
27603 fi
27604 fi
27605 fi
27606 done
27607
27608 if test "x$mgl_os" = x ; then
27609 echo "$as_me:$LINENO: result: not found" >&5
27610 echo "${ECHO_T}not found" >&6
27611 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
27612 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
27613 { (exit 1); exit 1; }; }
27614 fi
27615 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
27616 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
27617
27618 wxUSE_UNIVERSAL="yes"
27619
27620 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
27621 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
27622
27623 AFMINSTALL=afminstall
27624 TOOLKIT=MGL
27625 GUIDIST=MGL_DIST
27626 fi
27627
27628 if test "$wxUSE_MICROWIN" = 1; then
27629 echo "$as_me:$LINENO: checking for MicroWindows" >&5
27630 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
27631 if test "x$MICROWINDOWS" = x ; then
27632 echo "$as_me:$LINENO: result: not found" >&5
27633 echo "${ECHO_T}not found" >&6
27634 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
27635 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
27636 { (exit 1); exit 1; }; }
27637 else
27638 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
27639 echo "${ECHO_T}$MICROWINDOWS" >&6
27640 fi
27641
27642 if test -f $MICROWINDOWS/lib/libmwin.a; then
27643 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
27644 echo "${ECHO_T}MicroWindows' libraries found." >&6
27645 else
27646 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
27647 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
27648 { (exit 1); exit 1; }; }
27649 fi
27650
27651 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
27652 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
27653
27654 wxUSE_UNIVERSAL="yes"
27655
27656 AFMINSTALL=afminstall
27657 TOOLKIT=MICROWIN
27658 GUIDIST=MICROWIN_DIST
27659
27660 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
27661 fi
27662
27663 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
27664 echo "$as_me:$LINENO: checking for X" >&5
27665 echo $ECHO_N "checking for X... $ECHO_C" >&6
27666
27667
27668 # Check whether --with-x or --without-x was given.
27669 if test "${with_x+set}" = set; then
27670 withval="$with_x"
27671
27672 fi;
27673 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
27674 if test "x$with_x" = xno; then
27675 # The user explicitly disabled X.
27676 have_x=disabled
27677 else
27678 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
27679 # Both variables are already set.
27680 have_x=yes
27681 else
27682 if test "${ac_cv_have_x+set}" = set; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 else
27685 # One or both of the vars are not set, and there is no cached value.
27686 ac_x_includes=no ac_x_libraries=no
27687 rm -fr conftest.dir
27688 if mkdir conftest.dir; then
27689 cd conftest.dir
27690 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
27691 cat >Imakefile <<'_ACEOF'
27692 acfindx:
27693 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
27694 _ACEOF
27695 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
27696 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
27697 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
27698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
27699 for ac_extension in a so sl; do
27700 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
27701 test -f $ac_im_libdir/libX11.$ac_extension; then
27702 ac_im_usrlibdir=$ac_im_libdir; break
27703 fi
27704 done
27705 # Screen out bogus values from the imake configuration. They are
27706 # bogus both because they are the default anyway, and because
27707 # using them would break gcc on systems where it needs fixed includes.
27708 case $ac_im_incroot in
27709 /usr/include) ;;
27710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
27711 esac
27712 case $ac_im_usrlibdir in
27713 /usr/lib | /lib) ;;
27714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
27715 esac
27716 fi
27717 cd ..
27718 rm -fr conftest.dir
27719 fi
27720
27721 # Standard set of common directories for X headers.
27722 # Check X11 before X11Rn because it is often a symlink to the current release.
27723 ac_x_header_dirs='
27724 /usr/X11/include
27725 /usr/X11R6/include
27726 /usr/X11R5/include
27727 /usr/X11R4/include
27728
27729 /usr/include/X11
27730 /usr/include/X11R6
27731 /usr/include/X11R5
27732 /usr/include/X11R4
27733
27734 /usr/local/X11/include
27735 /usr/local/X11R6/include
27736 /usr/local/X11R5/include
27737 /usr/local/X11R4/include
27738
27739 /usr/local/include/X11
27740 /usr/local/include/X11R6
27741 /usr/local/include/X11R5
27742 /usr/local/include/X11R4
27743
27744 /usr/X386/include
27745 /usr/x386/include
27746 /usr/XFree86/include/X11
27747
27748 /usr/include
27749 /usr/local/include
27750 /usr/unsupported/include
27751 /usr/athena/include
27752 /usr/local/x11r5/include
27753 /usr/lpp/Xamples/include
27754
27755 /usr/openwin/include
27756 /usr/openwin/share/include'
27757
27758 if test "$ac_x_includes" = no; then
27759 # Guess where to find include files, by looking for Intrinsic.h.
27760 # First, try using that file with no special directory specified.
27761 cat >conftest.$ac_ext <<_ACEOF
27762 /* confdefs.h. */
27763 _ACEOF
27764 cat confdefs.h >>conftest.$ac_ext
27765 cat >>conftest.$ac_ext <<_ACEOF
27766 /* end confdefs.h. */
27767 #include <X11/Intrinsic.h>
27768 _ACEOF
27769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27770 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27771 ac_status=$?
27772 grep -v '^ *+' conftest.er1 >conftest.err
27773 rm -f conftest.er1
27774 cat conftest.err >&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } >/dev/null; then
27777 if test -s conftest.err; then
27778 ac_cpp_err=$ac_c_preproc_warn_flag
27779 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27780 else
27781 ac_cpp_err=
27782 fi
27783 else
27784 ac_cpp_err=yes
27785 fi
27786 if test -z "$ac_cpp_err"; then
27787 # We can compile using X headers with no special include directory.
27788 ac_x_includes=
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27792
27793 for ac_dir in $ac_x_header_dirs; do
27794 if test -r "$ac_dir/X11/Intrinsic.h"; then
27795 ac_x_includes=$ac_dir
27796 break
27797 fi
27798 done
27799 fi
27800 rm -f conftest.err conftest.$ac_ext
27801 fi # $ac_x_includes = no
27802
27803 if test "$ac_x_libraries" = no; then
27804 # Check for the libraries.
27805 # See if we find them without any special options.
27806 # Don't add to $LIBS permanently.
27807 ac_save_LIBS=$LIBS
27808 LIBS="-lXt $LIBS"
27809 cat >conftest.$ac_ext <<_ACEOF
27810 /* confdefs.h. */
27811 _ACEOF
27812 cat confdefs.h >>conftest.$ac_ext
27813 cat >>conftest.$ac_ext <<_ACEOF
27814 /* end confdefs.h. */
27815 #include <X11/Intrinsic.h>
27816 int
27817 main ()
27818 {
27819 XtMalloc (0)
27820 ;
27821 return 0;
27822 }
27823 _ACEOF
27824 rm -f conftest.$ac_objext conftest$ac_exeext
27825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27826 (eval $ac_link) 2>conftest.er1
27827 ac_status=$?
27828 grep -v '^ *+' conftest.er1 >conftest.err
27829 rm -f conftest.er1
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } &&
27833 { ac_try='test -z "$ac_c_werror_flag"
27834 || test ! -s conftest.err'
27835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 (eval $ac_try) 2>&5
27837 ac_status=$?
27838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27839 (exit $ac_status); }; } &&
27840 { ac_try='test -s conftest$ac_exeext'
27841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27842 (eval $ac_try) 2>&5
27843 ac_status=$?
27844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 (exit $ac_status); }; }; then
27846 LIBS=$ac_save_LIBS
27847 # We can link X programs with no special library path.
27848 ac_x_libraries=
27849 else
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.$ac_ext >&5
27852
27853 LIBS=$ac_save_LIBS
27854 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
27855 do
27856 # Don't even attempt the hair of trying to link an X program!
27857 for ac_extension in a so sl; do
27858 if test -r $ac_dir/libXt.$ac_extension; then
27859 ac_x_libraries=$ac_dir
27860 break 2
27861 fi
27862 done
27863 done
27864 fi
27865 rm -f conftest.err conftest.$ac_objext \
27866 conftest$ac_exeext conftest.$ac_ext
27867 fi # $ac_x_libraries = no
27868
27869 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
27870 # Didn't find X anywhere. Cache the known absence of X.
27871 ac_cv_have_x="have_x=no"
27872 else
27873 # Record where we found X for the cache.
27874 ac_cv_have_x="have_x=yes \
27875 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
27876 fi
27877 fi
27878
27879 fi
27880 eval "$ac_cv_have_x"
27881 fi # $with_x != no
27882
27883 if test "$have_x" != yes; then
27884 echo "$as_me:$LINENO: result: $have_x" >&5
27885 echo "${ECHO_T}$have_x" >&6
27886 no_x=yes
27887 else
27888 # If each of the values was on the command line, it overrides each guess.
27889 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
27890 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
27891 # Update the cache value to reflect the command line values.
27892 ac_cv_have_x="have_x=yes \
27893 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
27894 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
27895 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
27896 fi
27897
27898 if test "$no_x" = yes; then
27899 # Not all programs may use this symbol, but it does not hurt to define it.
27900
27901 cat >>confdefs.h <<\_ACEOF
27902 #define X_DISPLAY_MISSING 1
27903 _ACEOF
27904
27905 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
27906 else
27907 if test -n "$x_includes"; then
27908 X_CFLAGS="$X_CFLAGS -I$x_includes"
27909 fi
27910
27911 # It would also be nice to do this for all -L options, not just this one.
27912 if test -n "$x_libraries"; then
27913 X_LIBS="$X_LIBS -L$x_libraries"
27914 # For Solaris; some versions of Sun CC require a space after -R and
27915 # others require no space. Words are not sufficient . . . .
27916 case `(uname -sr) 2>/dev/null` in
27917 "SunOS 5"*)
27918 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
27919 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
27920 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
27921 cat >conftest.$ac_ext <<_ACEOF
27922 /* confdefs.h. */
27923 _ACEOF
27924 cat confdefs.h >>conftest.$ac_ext
27925 cat >>conftest.$ac_ext <<_ACEOF
27926 /* end confdefs.h. */
27927
27928 int
27929 main ()
27930 {
27931
27932 ;
27933 return 0;
27934 }
27935 _ACEOF
27936 rm -f conftest.$ac_objext conftest$ac_exeext
27937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27938 (eval $ac_link) 2>conftest.er1
27939 ac_status=$?
27940 grep -v '^ *+' conftest.er1 >conftest.err
27941 rm -f conftest.er1
27942 cat conftest.err >&5
27943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27944 (exit $ac_status); } &&
27945 { ac_try='test -z "$ac_c_werror_flag"
27946 || test ! -s conftest.err'
27947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27948 (eval $ac_try) 2>&5
27949 ac_status=$?
27950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27951 (exit $ac_status); }; } &&
27952 { ac_try='test -s conftest$ac_exeext'
27953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27954 (eval $ac_try) 2>&5
27955 ac_status=$?
27956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27957 (exit $ac_status); }; }; then
27958 ac_R_nospace=yes
27959 else
27960 echo "$as_me: failed program was:" >&5
27961 sed 's/^/| /' conftest.$ac_ext >&5
27962
27963 ac_R_nospace=no
27964 fi
27965 rm -f conftest.err conftest.$ac_objext \
27966 conftest$ac_exeext conftest.$ac_ext
27967 if test $ac_R_nospace = yes; then
27968 echo "$as_me:$LINENO: result: no" >&5
27969 echo "${ECHO_T}no" >&6
27970 X_LIBS="$X_LIBS -R$x_libraries"
27971 else
27972 LIBS="$ac_xsave_LIBS -R $x_libraries"
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h. */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27979
27980 int
27981 main ()
27982 {
27983
27984 ;
27985 return 0;
27986 }
27987 _ACEOF
27988 rm -f conftest.$ac_objext conftest$ac_exeext
27989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27990 (eval $ac_link) 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } &&
27997 { ac_try='test -z "$ac_c_werror_flag"
27998 || test ! -s conftest.err'
27999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28000 (eval $ac_try) 2>&5
28001 ac_status=$?
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); }; } &&
28004 { ac_try='test -s conftest$ac_exeext'
28005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28006 (eval $ac_try) 2>&5
28007 ac_status=$?
28008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28009 (exit $ac_status); }; }; then
28010 ac_R_space=yes
28011 else
28012 echo "$as_me: failed program was:" >&5
28013 sed 's/^/| /' conftest.$ac_ext >&5
28014
28015 ac_R_space=no
28016 fi
28017 rm -f conftest.err conftest.$ac_objext \
28018 conftest$ac_exeext conftest.$ac_ext
28019 if test $ac_R_space = yes; then
28020 echo "$as_me:$LINENO: result: yes" >&5
28021 echo "${ECHO_T}yes" >&6
28022 X_LIBS="$X_LIBS -R $x_libraries"
28023 else
28024 echo "$as_me:$LINENO: result: neither works" >&5
28025 echo "${ECHO_T}neither works" >&6
28026 fi
28027 fi
28028 LIBS=$ac_xsave_LIBS
28029 esac
28030 fi
28031
28032 # Check for system-dependent libraries X programs must link with.
28033 # Do this before checking for the system-independent R6 libraries
28034 # (-lICE), since we may need -lsocket or whatever for X linking.
28035
28036 if test "$ISC" = yes; then
28037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28038 else
28039 # Martyn Johnson says this is needed for Ultrix, if the X
28040 # libraries were built with DECnet support. And Karl Berry says
28041 # the Alpha needs dnet_stub (dnet does not exist).
28042 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28043 cat >conftest.$ac_ext <<_ACEOF
28044 /* confdefs.h. */
28045 _ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049
28050 /* Override any gcc2 internal prototype to avoid an error. */
28051 #ifdef __cplusplus
28052 extern "C"
28053 #endif
28054 /* We use char because int might match the return type of a gcc2
28055 builtin and then its argument prototype would still apply. */
28056 char XOpenDisplay ();
28057 int
28058 main ()
28059 {
28060 XOpenDisplay ();
28061 ;
28062 return 0;
28063 }
28064 _ACEOF
28065 rm -f conftest.$ac_objext conftest$ac_exeext
28066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28067 (eval $ac_link) 2>conftest.er1
28068 ac_status=$?
28069 grep -v '^ *+' conftest.er1 >conftest.err
28070 rm -f conftest.er1
28071 cat conftest.err >&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); } &&
28074 { ac_try='test -z "$ac_c_werror_flag"
28075 || test ! -s conftest.err'
28076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077 (eval $ac_try) 2>&5
28078 ac_status=$?
28079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080 (exit $ac_status); }; } &&
28081 { ac_try='test -s conftest$ac_exeext'
28082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28083 (eval $ac_try) 2>&5
28084 ac_status=$?
28085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28086 (exit $ac_status); }; }; then
28087 :
28088 else
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28091
28092 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
28093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
28094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097 ac_check_lib_save_LIBS=$LIBS
28098 LIBS="-ldnet $LIBS"
28099 cat >conftest.$ac_ext <<_ACEOF
28100 /* confdefs.h. */
28101 _ACEOF
28102 cat confdefs.h >>conftest.$ac_ext
28103 cat >>conftest.$ac_ext <<_ACEOF
28104 /* end confdefs.h. */
28105
28106 /* Override any gcc2 internal prototype to avoid an error. */
28107 #ifdef __cplusplus
28108 extern "C"
28109 #endif
28110 /* We use char because int might match the return type of a gcc2
28111 builtin and then its argument prototype would still apply. */
28112 char dnet_ntoa ();
28113 int
28114 main ()
28115 {
28116 dnet_ntoa ();
28117 ;
28118 return 0;
28119 }
28120 _ACEOF
28121 rm -f conftest.$ac_objext conftest$ac_exeext
28122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28123 (eval $ac_link) 2>conftest.er1
28124 ac_status=$?
28125 grep -v '^ *+' conftest.er1 >conftest.err
28126 rm -f conftest.er1
28127 cat conftest.err >&5
28128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28129 (exit $ac_status); } &&
28130 { ac_try='test -z "$ac_c_werror_flag"
28131 || test ! -s conftest.err'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; } &&
28137 { ac_try='test -s conftest$ac_exeext'
28138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28139 (eval $ac_try) 2>&5
28140 ac_status=$?
28141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28142 (exit $ac_status); }; }; then
28143 ac_cv_lib_dnet_dnet_ntoa=yes
28144 else
28145 echo "$as_me: failed program was:" >&5
28146 sed 's/^/| /' conftest.$ac_ext >&5
28147
28148 ac_cv_lib_dnet_dnet_ntoa=no
28149 fi
28150 rm -f conftest.err conftest.$ac_objext \
28151 conftest$ac_exeext conftest.$ac_ext
28152 LIBS=$ac_check_lib_save_LIBS
28153 fi
28154 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
28156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
28157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28158 fi
28159
28160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28161 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
28162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
28163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
28164 echo $ECHO_N "(cached) $ECHO_C" >&6
28165 else
28166 ac_check_lib_save_LIBS=$LIBS
28167 LIBS="-ldnet_stub $LIBS"
28168 cat >conftest.$ac_ext <<_ACEOF
28169 /* confdefs.h. */
28170 _ACEOF
28171 cat confdefs.h >>conftest.$ac_ext
28172 cat >>conftest.$ac_ext <<_ACEOF
28173 /* end confdefs.h. */
28174
28175 /* Override any gcc2 internal prototype to avoid an error. */
28176 #ifdef __cplusplus
28177 extern "C"
28178 #endif
28179 /* We use char because int might match the return type of a gcc2
28180 builtin and then its argument prototype would still apply. */
28181 char dnet_ntoa ();
28182 int
28183 main ()
28184 {
28185 dnet_ntoa ();
28186 ;
28187 return 0;
28188 }
28189 _ACEOF
28190 rm -f conftest.$ac_objext conftest$ac_exeext
28191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28192 (eval $ac_link) 2>conftest.er1
28193 ac_status=$?
28194 grep -v '^ *+' conftest.er1 >conftest.err
28195 rm -f conftest.er1
28196 cat conftest.err >&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); } &&
28199 { ac_try='test -z "$ac_c_werror_flag"
28200 || test ! -s conftest.err'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; } &&
28206 { ac_try='test -s conftest$ac_exeext'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28209 ac_status=$?
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28213 else
28214 echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28216
28217 ac_cv_lib_dnet_stub_dnet_ntoa=no
28218 fi
28219 rm -f conftest.err conftest.$ac_objext \
28220 conftest$ac_exeext conftest.$ac_ext
28221 LIBS=$ac_check_lib_save_LIBS
28222 fi
28223 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28224 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
28225 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
28226 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
28227 fi
28228
28229 fi
28230 fi
28231 rm -f conftest.err conftest.$ac_objext \
28232 conftest$ac_exeext conftest.$ac_ext
28233 LIBS="$ac_xsave_LIBS"
28234
28235 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
28236 # to get the SysV transport functions.
28237 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
28238 # needs -lnsl.
28239 # The nsl library prevents programs from opening the X display
28240 # on Irix 5.2, according to T.E. Dickey.
28241 # The functions gethostbyname, getservbyname, and inet_addr are
28242 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
28243 echo "$as_me:$LINENO: checking for gethostbyname" >&5
28244 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
28245 if test "${ac_cv_func_gethostbyname+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 else
28248 cat >conftest.$ac_ext <<_ACEOF
28249 /* confdefs.h. */
28250 _ACEOF
28251 cat confdefs.h >>conftest.$ac_ext
28252 cat >>conftest.$ac_ext <<_ACEOF
28253 /* end confdefs.h. */
28254 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
28255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28256 #define gethostbyname innocuous_gethostbyname
28257
28258 /* System header to define __stub macros and hopefully few prototypes,
28259 which can conflict with char gethostbyname (); below.
28260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28261 <limits.h> exists even on freestanding compilers. */
28262
28263 #ifdef __STDC__
28264 # include <limits.h>
28265 #else
28266 # include <assert.h>
28267 #endif
28268
28269 #undef gethostbyname
28270
28271 /* Override any gcc2 internal prototype to avoid an error. */
28272 #ifdef __cplusplus
28273 extern "C"
28274 {
28275 #endif
28276 /* We use char because int might match the return type of a gcc2
28277 builtin and then its argument prototype would still apply. */
28278 char gethostbyname ();
28279 /* The GNU C library defines this for functions which it implements
28280 to always fail with ENOSYS. Some functions are actually named
28281 something starting with __ and the normal name is an alias. */
28282 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
28283 choke me
28284 #else
28285 char (*f) () = gethostbyname;
28286 #endif
28287 #ifdef __cplusplus
28288 }
28289 #endif
28290
28291 int
28292 main ()
28293 {
28294 return f != gethostbyname;
28295 ;
28296 return 0;
28297 }
28298 _ACEOF
28299 rm -f conftest.$ac_objext conftest$ac_exeext
28300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28301 (eval $ac_link) 2>conftest.er1
28302 ac_status=$?
28303 grep -v '^ *+' conftest.er1 >conftest.err
28304 rm -f conftest.er1
28305 cat conftest.err >&5
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } &&
28308 { ac_try='test -z "$ac_c_werror_flag"
28309 || test ! -s conftest.err'
28310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311 (eval $ac_try) 2>&5
28312 ac_status=$?
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); }; } &&
28315 { ac_try='test -s conftest$ac_exeext'
28316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28317 (eval $ac_try) 2>&5
28318 ac_status=$?
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; }; then
28321 ac_cv_func_gethostbyname=yes
28322 else
28323 echo "$as_me: failed program was:" >&5
28324 sed 's/^/| /' conftest.$ac_ext >&5
28325
28326 ac_cv_func_gethostbyname=no
28327 fi
28328 rm -f conftest.err conftest.$ac_objext \
28329 conftest$ac_exeext conftest.$ac_ext
28330 fi
28331 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
28332 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
28333
28334 if test $ac_cv_func_gethostbyname = no; then
28335 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
28336 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
28337 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
28338 echo $ECHO_N "(cached) $ECHO_C" >&6
28339 else
28340 ac_check_lib_save_LIBS=$LIBS
28341 LIBS="-lnsl $LIBS"
28342 cat >conftest.$ac_ext <<_ACEOF
28343 /* confdefs.h. */
28344 _ACEOF
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348
28349 /* Override any gcc2 internal prototype to avoid an error. */
28350 #ifdef __cplusplus
28351 extern "C"
28352 #endif
28353 /* We use char because int might match the return type of a gcc2
28354 builtin and then its argument prototype would still apply. */
28355 char gethostbyname ();
28356 int
28357 main ()
28358 {
28359 gethostbyname ();
28360 ;
28361 return 0;
28362 }
28363 _ACEOF
28364 rm -f conftest.$ac_objext conftest$ac_exeext
28365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28366 (eval $ac_link) 2>conftest.er1
28367 ac_status=$?
28368 grep -v '^ *+' conftest.er1 >conftest.err
28369 rm -f conftest.er1
28370 cat conftest.err >&5
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); } &&
28373 { ac_try='test -z "$ac_c_werror_flag"
28374 || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28377 ac_status=$?
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try='test -s conftest$ac_exeext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28383 ac_status=$?
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 ac_cv_lib_nsl_gethostbyname=yes
28387 else
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.$ac_ext >&5
28390
28391 ac_cv_lib_nsl_gethostbyname=no
28392 fi
28393 rm -f conftest.err conftest.$ac_objext \
28394 conftest$ac_exeext conftest.$ac_ext
28395 LIBS=$ac_check_lib_save_LIBS
28396 fi
28397 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
28398 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
28399 if test $ac_cv_lib_nsl_gethostbyname = yes; then
28400 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
28401 fi
28402
28403 if test $ac_cv_lib_nsl_gethostbyname = no; then
28404 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
28405 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
28406 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
28407 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 else
28409 ac_check_lib_save_LIBS=$LIBS
28410 LIBS="-lbsd $LIBS"
28411 cat >conftest.$ac_ext <<_ACEOF
28412 /* confdefs.h. */
28413 _ACEOF
28414 cat confdefs.h >>conftest.$ac_ext
28415 cat >>conftest.$ac_ext <<_ACEOF
28416 /* end confdefs.h. */
28417
28418 /* Override any gcc2 internal prototype to avoid an error. */
28419 #ifdef __cplusplus
28420 extern "C"
28421 #endif
28422 /* We use char because int might match the return type of a gcc2
28423 builtin and then its argument prototype would still apply. */
28424 char gethostbyname ();
28425 int
28426 main ()
28427 {
28428 gethostbyname ();
28429 ;
28430 return 0;
28431 }
28432 _ACEOF
28433 rm -f conftest.$ac_objext conftest$ac_exeext
28434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28435 (eval $ac_link) 2>conftest.er1
28436 ac_status=$?
28437 grep -v '^ *+' conftest.er1 >conftest.err
28438 rm -f conftest.er1
28439 cat conftest.err >&5
28440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28441 (exit $ac_status); } &&
28442 { ac_try='test -z "$ac_c_werror_flag"
28443 || test ! -s conftest.err'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28446 ac_status=$?
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; } &&
28449 { ac_try='test -s conftest$ac_exeext'
28450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28451 (eval $ac_try) 2>&5
28452 ac_status=$?
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); }; }; then
28455 ac_cv_lib_bsd_gethostbyname=yes
28456 else
28457 echo "$as_me: failed program was:" >&5
28458 sed 's/^/| /' conftest.$ac_ext >&5
28459
28460 ac_cv_lib_bsd_gethostbyname=no
28461 fi
28462 rm -f conftest.err conftest.$ac_objext \
28463 conftest$ac_exeext conftest.$ac_ext
28464 LIBS=$ac_check_lib_save_LIBS
28465 fi
28466 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
28467 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
28468 if test $ac_cv_lib_bsd_gethostbyname = yes; then
28469 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
28470 fi
28471
28472 fi
28473 fi
28474
28475 # lieder@skyler.mavd.honeywell.com says without -lsocket,
28476 # socket/setsockopt and other routines are undefined under SCO ODT
28477 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
28478 # on later versions), says Simon Leinen: it contains gethostby*
28479 # variants that don't use the name server (or something). -lsocket
28480 # must be given before -lnsl if both are needed. We assume that
28481 # if connect needs -lnsl, so does gethostbyname.
28482 echo "$as_me:$LINENO: checking for connect" >&5
28483 echo $ECHO_N "checking for connect... $ECHO_C" >&6
28484 if test "${ac_cv_func_connect+set}" = set; then
28485 echo $ECHO_N "(cached) $ECHO_C" >&6
28486 else
28487 cat >conftest.$ac_ext <<_ACEOF
28488 /* confdefs.h. */
28489 _ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28493 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
28494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28495 #define connect innocuous_connect
28496
28497 /* System header to define __stub macros and hopefully few prototypes,
28498 which can conflict with char connect (); below.
28499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28500 <limits.h> exists even on freestanding compilers. */
28501
28502 #ifdef __STDC__
28503 # include <limits.h>
28504 #else
28505 # include <assert.h>
28506 #endif
28507
28508 #undef connect
28509
28510 /* Override any gcc2 internal prototype to avoid an error. */
28511 #ifdef __cplusplus
28512 extern "C"
28513 {
28514 #endif
28515 /* We use char because int might match the return type of a gcc2
28516 builtin and then its argument prototype would still apply. */
28517 char connect ();
28518 /* The GNU C library defines this for functions which it implements
28519 to always fail with ENOSYS. Some functions are actually named
28520 something starting with __ and the normal name is an alias. */
28521 #if defined (__stub_connect) || defined (__stub___connect)
28522 choke me
28523 #else
28524 char (*f) () = connect;
28525 #endif
28526 #ifdef __cplusplus
28527 }
28528 #endif
28529
28530 int
28531 main ()
28532 {
28533 return f != connect;
28534 ;
28535 return 0;
28536 }
28537 _ACEOF
28538 rm -f conftest.$ac_objext conftest$ac_exeext
28539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28540 (eval $ac_link) 2>conftest.er1
28541 ac_status=$?
28542 grep -v '^ *+' conftest.er1 >conftest.err
28543 rm -f conftest.er1
28544 cat conftest.err >&5
28545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28546 (exit $ac_status); } &&
28547 { ac_try='test -z "$ac_c_werror_flag"
28548 || test ! -s conftest.err'
28549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28550 (eval $ac_try) 2>&5
28551 ac_status=$?
28552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28553 (exit $ac_status); }; } &&
28554 { ac_try='test -s conftest$ac_exeext'
28555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28556 (eval $ac_try) 2>&5
28557 ac_status=$?
28558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28559 (exit $ac_status); }; }; then
28560 ac_cv_func_connect=yes
28561 else
28562 echo "$as_me: failed program was:" >&5
28563 sed 's/^/| /' conftest.$ac_ext >&5
28564
28565 ac_cv_func_connect=no
28566 fi
28567 rm -f conftest.err conftest.$ac_objext \
28568 conftest$ac_exeext conftest.$ac_ext
28569 fi
28570 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
28571 echo "${ECHO_T}$ac_cv_func_connect" >&6
28572
28573 if test $ac_cv_func_connect = no; then
28574 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
28575 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
28576 if test "${ac_cv_lib_socket_connect+set}" = set; then
28577 echo $ECHO_N "(cached) $ECHO_C" >&6
28578 else
28579 ac_check_lib_save_LIBS=$LIBS
28580 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
28581 cat >conftest.$ac_ext <<_ACEOF
28582 /* confdefs.h. */
28583 _ACEOF
28584 cat confdefs.h >>conftest.$ac_ext
28585 cat >>conftest.$ac_ext <<_ACEOF
28586 /* end confdefs.h. */
28587
28588 /* Override any gcc2 internal prototype to avoid an error. */
28589 #ifdef __cplusplus
28590 extern "C"
28591 #endif
28592 /* We use char because int might match the return type of a gcc2
28593 builtin and then its argument prototype would still apply. */
28594 char connect ();
28595 int
28596 main ()
28597 {
28598 connect ();
28599 ;
28600 return 0;
28601 }
28602 _ACEOF
28603 rm -f conftest.$ac_objext conftest$ac_exeext
28604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28605 (eval $ac_link) 2>conftest.er1
28606 ac_status=$?
28607 grep -v '^ *+' conftest.er1 >conftest.err
28608 rm -f conftest.er1
28609 cat conftest.err >&5
28610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28611 (exit $ac_status); } &&
28612 { ac_try='test -z "$ac_c_werror_flag"
28613 || test ! -s conftest.err'
28614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28615 (eval $ac_try) 2>&5
28616 ac_status=$?
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); }; } &&
28619 { ac_try='test -s conftest$ac_exeext'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_cv_lib_socket_connect=yes
28626 else
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.$ac_ext >&5
28629
28630 ac_cv_lib_socket_connect=no
28631 fi
28632 rm -f conftest.err conftest.$ac_objext \
28633 conftest$ac_exeext conftest.$ac_ext
28634 LIBS=$ac_check_lib_save_LIBS
28635 fi
28636 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
28637 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
28638 if test $ac_cv_lib_socket_connect = yes; then
28639 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
28640 fi
28641
28642 fi
28643
28644 # Guillermo Gomez says -lposix is necessary on A/UX.
28645 echo "$as_me:$LINENO: checking for remove" >&5
28646 echo $ECHO_N "checking for remove... $ECHO_C" >&6
28647 if test "${ac_cv_func_remove+set}" = set; then
28648 echo $ECHO_N "(cached) $ECHO_C" >&6
28649 else
28650 cat >conftest.$ac_ext <<_ACEOF
28651 /* confdefs.h. */
28652 _ACEOF
28653 cat confdefs.h >>conftest.$ac_ext
28654 cat >>conftest.$ac_ext <<_ACEOF
28655 /* end confdefs.h. */
28656 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
28657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28658 #define remove innocuous_remove
28659
28660 /* System header to define __stub macros and hopefully few prototypes,
28661 which can conflict with char remove (); below.
28662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28663 <limits.h> exists even on freestanding compilers. */
28664
28665 #ifdef __STDC__
28666 # include <limits.h>
28667 #else
28668 # include <assert.h>
28669 #endif
28670
28671 #undef remove
28672
28673 /* Override any gcc2 internal prototype to avoid an error. */
28674 #ifdef __cplusplus
28675 extern "C"
28676 {
28677 #endif
28678 /* We use char because int might match the return type of a gcc2
28679 builtin and then its argument prototype would still apply. */
28680 char remove ();
28681 /* The GNU C library defines this for functions which it implements
28682 to always fail with ENOSYS. Some functions are actually named
28683 something starting with __ and the normal name is an alias. */
28684 #if defined (__stub_remove) || defined (__stub___remove)
28685 choke me
28686 #else
28687 char (*f) () = remove;
28688 #endif
28689 #ifdef __cplusplus
28690 }
28691 #endif
28692
28693 int
28694 main ()
28695 {
28696 return f != remove;
28697 ;
28698 return 0;
28699 }
28700 _ACEOF
28701 rm -f conftest.$ac_objext conftest$ac_exeext
28702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28703 (eval $ac_link) 2>conftest.er1
28704 ac_status=$?
28705 grep -v '^ *+' conftest.er1 >conftest.err
28706 rm -f conftest.er1
28707 cat conftest.err >&5
28708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28709 (exit $ac_status); } &&
28710 { ac_try='test -z "$ac_c_werror_flag"
28711 || test ! -s conftest.err'
28712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28713 (eval $ac_try) 2>&5
28714 ac_status=$?
28715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716 (exit $ac_status); }; } &&
28717 { ac_try='test -s conftest$ac_exeext'
28718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28719 (eval $ac_try) 2>&5
28720 ac_status=$?
28721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28722 (exit $ac_status); }; }; then
28723 ac_cv_func_remove=yes
28724 else
28725 echo "$as_me: failed program was:" >&5
28726 sed 's/^/| /' conftest.$ac_ext >&5
28727
28728 ac_cv_func_remove=no
28729 fi
28730 rm -f conftest.err conftest.$ac_objext \
28731 conftest$ac_exeext conftest.$ac_ext
28732 fi
28733 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
28734 echo "${ECHO_T}$ac_cv_func_remove" >&6
28735
28736 if test $ac_cv_func_remove = no; then
28737 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
28738 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
28739 if test "${ac_cv_lib_posix_remove+set}" = set; then
28740 echo $ECHO_N "(cached) $ECHO_C" >&6
28741 else
28742 ac_check_lib_save_LIBS=$LIBS
28743 LIBS="-lposix $LIBS"
28744 cat >conftest.$ac_ext <<_ACEOF
28745 /* confdefs.h. */
28746 _ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750
28751 /* Override any gcc2 internal prototype to avoid an error. */
28752 #ifdef __cplusplus
28753 extern "C"
28754 #endif
28755 /* We use char because int might match the return type of a gcc2
28756 builtin and then its argument prototype would still apply. */
28757 char remove ();
28758 int
28759 main ()
28760 {
28761 remove ();
28762 ;
28763 return 0;
28764 }
28765 _ACEOF
28766 rm -f conftest.$ac_objext conftest$ac_exeext
28767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28768 (eval $ac_link) 2>conftest.er1
28769 ac_status=$?
28770 grep -v '^ *+' conftest.er1 >conftest.err
28771 rm -f conftest.er1
28772 cat conftest.err >&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); } &&
28775 { ac_try='test -z "$ac_c_werror_flag"
28776 || test ! -s conftest.err'
28777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28778 (eval $ac_try) 2>&5
28779 ac_status=$?
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); }; } &&
28782 { ac_try='test -s conftest$ac_exeext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28785 ac_status=$?
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 ac_cv_lib_posix_remove=yes
28789 else
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.$ac_ext >&5
28792
28793 ac_cv_lib_posix_remove=no
28794 fi
28795 rm -f conftest.err conftest.$ac_objext \
28796 conftest$ac_exeext conftest.$ac_ext
28797 LIBS=$ac_check_lib_save_LIBS
28798 fi
28799 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
28800 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
28801 if test $ac_cv_lib_posix_remove = yes; then
28802 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
28803 fi
28804
28805 fi
28806
28807 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
28808 echo "$as_me:$LINENO: checking for shmat" >&5
28809 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
28810 if test "${ac_cv_func_shmat+set}" = set; then
28811 echo $ECHO_N "(cached) $ECHO_C" >&6
28812 else
28813 cat >conftest.$ac_ext <<_ACEOF
28814 /* confdefs.h. */
28815 _ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
28820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28821 #define shmat innocuous_shmat
28822
28823 /* System header to define __stub macros and hopefully few prototypes,
28824 which can conflict with char shmat (); below.
28825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28826 <limits.h> exists even on freestanding compilers. */
28827
28828 #ifdef __STDC__
28829 # include <limits.h>
28830 #else
28831 # include <assert.h>
28832 #endif
28833
28834 #undef shmat
28835
28836 /* Override any gcc2 internal prototype to avoid an error. */
28837 #ifdef __cplusplus
28838 extern "C"
28839 {
28840 #endif
28841 /* We use char because int might match the return type of a gcc2
28842 builtin and then its argument prototype would still apply. */
28843 char shmat ();
28844 /* The GNU C library defines this for functions which it implements
28845 to always fail with ENOSYS. Some functions are actually named
28846 something starting with __ and the normal name is an alias. */
28847 #if defined (__stub_shmat) || defined (__stub___shmat)
28848 choke me
28849 #else
28850 char (*f) () = shmat;
28851 #endif
28852 #ifdef __cplusplus
28853 }
28854 #endif
28855
28856 int
28857 main ()
28858 {
28859 return f != shmat;
28860 ;
28861 return 0;
28862 }
28863 _ACEOF
28864 rm -f conftest.$ac_objext conftest$ac_exeext
28865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28866 (eval $ac_link) 2>conftest.er1
28867 ac_status=$?
28868 grep -v '^ *+' conftest.er1 >conftest.err
28869 rm -f conftest.er1
28870 cat conftest.err >&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); } &&
28873 { ac_try='test -z "$ac_c_werror_flag"
28874 || test ! -s conftest.err'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; } &&
28880 { ac_try='test -s conftest$ac_exeext'
28881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882 (eval $ac_try) 2>&5
28883 ac_status=$?
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); }; }; then
28886 ac_cv_func_shmat=yes
28887 else
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ac_cv_func_shmat=no
28892 fi
28893 rm -f conftest.err conftest.$ac_objext \
28894 conftest$ac_exeext conftest.$ac_ext
28895 fi
28896 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
28897 echo "${ECHO_T}$ac_cv_func_shmat" >&6
28898
28899 if test $ac_cv_func_shmat = no; then
28900 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
28901 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
28902 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
28903 echo $ECHO_N "(cached) $ECHO_C" >&6
28904 else
28905 ac_check_lib_save_LIBS=$LIBS
28906 LIBS="-lipc $LIBS"
28907 cat >conftest.$ac_ext <<_ACEOF
28908 /* confdefs.h. */
28909 _ACEOF
28910 cat confdefs.h >>conftest.$ac_ext
28911 cat >>conftest.$ac_ext <<_ACEOF
28912 /* end confdefs.h. */
28913
28914 /* Override any gcc2 internal prototype to avoid an error. */
28915 #ifdef __cplusplus
28916 extern "C"
28917 #endif
28918 /* We use char because int might match the return type of a gcc2
28919 builtin and then its argument prototype would still apply. */
28920 char shmat ();
28921 int
28922 main ()
28923 {
28924 shmat ();
28925 ;
28926 return 0;
28927 }
28928 _ACEOF
28929 rm -f conftest.$ac_objext conftest$ac_exeext
28930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28931 (eval $ac_link) 2>conftest.er1
28932 ac_status=$?
28933 grep -v '^ *+' conftest.er1 >conftest.err
28934 rm -f conftest.er1
28935 cat conftest.err >&5
28936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28937 (exit $ac_status); } &&
28938 { ac_try='test -z "$ac_c_werror_flag"
28939 || test ! -s conftest.err'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28942 ac_status=$?
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; } &&
28945 { ac_try='test -s conftest$ac_exeext'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28948 ac_status=$?
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; }; then
28951 ac_cv_lib_ipc_shmat=yes
28952 else
28953 echo "$as_me: failed program was:" >&5
28954 sed 's/^/| /' conftest.$ac_ext >&5
28955
28956 ac_cv_lib_ipc_shmat=no
28957 fi
28958 rm -f conftest.err conftest.$ac_objext \
28959 conftest$ac_exeext conftest.$ac_ext
28960 LIBS=$ac_check_lib_save_LIBS
28961 fi
28962 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
28963 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
28964 if test $ac_cv_lib_ipc_shmat = yes; then
28965 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
28966 fi
28967
28968 fi
28969 fi
28970
28971 # Check for libraries that X11R6 Xt/Xaw programs need.
28972 ac_save_LDFLAGS=$LDFLAGS
28973 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
28974 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
28975 # check for ICE first), but we must link in the order -lSM -lICE or
28976 # we get undefined symbols. So assume we have SM if we have ICE.
28977 # These have to be linked with before -lX11, unlike the other
28978 # libraries we check for below, so use a different variable.
28979 # John Interrante, Karl Berry
28980 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
28981 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
28982 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
28983 echo $ECHO_N "(cached) $ECHO_C" >&6
28984 else
28985 ac_check_lib_save_LIBS=$LIBS
28986 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
28987 cat >conftest.$ac_ext <<_ACEOF
28988 /* confdefs.h. */
28989 _ACEOF
28990 cat confdefs.h >>conftest.$ac_ext
28991 cat >>conftest.$ac_ext <<_ACEOF
28992 /* end confdefs.h. */
28993
28994 /* Override any gcc2 internal prototype to avoid an error. */
28995 #ifdef __cplusplus
28996 extern "C"
28997 #endif
28998 /* We use char because int might match the return type of a gcc2
28999 builtin and then its argument prototype would still apply. */
29000 char IceConnectionNumber ();
29001 int
29002 main ()
29003 {
29004 IceConnectionNumber ();
29005 ;
29006 return 0;
29007 }
29008 _ACEOF
29009 rm -f conftest.$ac_objext conftest$ac_exeext
29010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29011 (eval $ac_link) 2>conftest.er1
29012 ac_status=$?
29013 grep -v '^ *+' conftest.er1 >conftest.err
29014 rm -f conftest.er1
29015 cat conftest.err >&5
29016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29017 (exit $ac_status); } &&
29018 { ac_try='test -z "$ac_c_werror_flag"
29019 || test ! -s conftest.err'
29020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29021 (eval $ac_try) 2>&5
29022 ac_status=$?
29023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29024 (exit $ac_status); }; } &&
29025 { ac_try='test -s conftest$ac_exeext'
29026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29027 (eval $ac_try) 2>&5
29028 ac_status=$?
29029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29030 (exit $ac_status); }; }; then
29031 ac_cv_lib_ICE_IceConnectionNumber=yes
29032 else
29033 echo "$as_me: failed program was:" >&5
29034 sed 's/^/| /' conftest.$ac_ext >&5
29035
29036 ac_cv_lib_ICE_IceConnectionNumber=no
29037 fi
29038 rm -f conftest.err conftest.$ac_objext \
29039 conftest$ac_exeext conftest.$ac_ext
29040 LIBS=$ac_check_lib_save_LIBS
29041 fi
29042 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29043 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29044 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29045 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29046 fi
29047
29048 LDFLAGS=$ac_save_LDFLAGS
29049
29050 fi
29051
29052
29053 if test "$no_x" = "yes"; then
29054 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29055 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29056 { (exit 1); exit 1; }; }
29057 fi
29058
29059 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29060 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29061 AFMINSTALL=afminstall
29062 COMPILED_X_PROGRAM=0
29063
29064 fi
29065
29066 if test "$wxUSE_X11" = 1; then
29067 if test "$wxUSE_NANOX" = "yes"; then
29068 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29069 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29070 if test "x$MICROWIN" = x ; then
29071 echo "$as_me:$LINENO: result: not found" >&5
29072 echo "${ECHO_T}not found" >&6
29073 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29074 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29075 { (exit 1); exit 1; }; }
29076 else
29077 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29078 echo "${ECHO_T}$MICROWIN" >&6
29079 cat >>confdefs.h <<\_ACEOF
29080 #define wxUSE_NANOX 1
29081 _ACEOF
29082
29083 fi
29084 fi
29085
29086 if test "$wxUSE_UNICODE" = "yes"; then
29087
29088 succeeded=no
29089
29090 if test -z "$PKG_CONFIG"; then
29091 # Extract the first word of "pkg-config", so it can be a program name with args.
29092 set dummy pkg-config; ac_word=$2
29093 echo "$as_me:$LINENO: checking for $ac_word" >&5
29094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29095 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29096 echo $ECHO_N "(cached) $ECHO_C" >&6
29097 else
29098 case $PKG_CONFIG in
29099 [\\/]* | ?:[\\/]*)
29100 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29101 ;;
29102 *)
29103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29104 for as_dir in $PATH
29105 do
29106 IFS=$as_save_IFS
29107 test -z "$as_dir" && as_dir=.
29108 for ac_exec_ext in '' $ac_executable_extensions; do
29109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29110 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29112 break 2
29113 fi
29114 done
29115 done
29116
29117 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29118 ;;
29119 esac
29120 fi
29121 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29122
29123 if test -n "$PKG_CONFIG"; then
29124 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29125 echo "${ECHO_T}$PKG_CONFIG" >&6
29126 else
29127 echo "$as_me:$LINENO: result: no" >&5
29128 echo "${ECHO_T}no" >&6
29129 fi
29130
29131 fi
29132
29133 if test "$PKG_CONFIG" = "no" ; then
29134 echo "*** The pkg-config script could not be found. Make sure it is"
29135 echo "*** in your path, or set the PKG_CONFIG environment variable"
29136 echo "*** to the full path to pkg-config."
29137 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29138 else
29139 PKG_CONFIG_MIN_VERSION=0.9.0
29140 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29141 echo "$as_me:$LINENO: checking for pangox" >&5
29142 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
29143
29144 if $PKG_CONFIG --exists "pangox" ; then
29145 echo "$as_me:$LINENO: result: yes" >&5
29146 echo "${ECHO_T}yes" >&6
29147 succeeded=yes
29148
29149 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
29150 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
29151 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
29152 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
29153 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
29154
29155 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
29156 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
29157 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
29158 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
29159 echo "${ECHO_T}$PANGOX_LIBS" >&6
29160 else
29161 PANGOX_CFLAGS=""
29162 PANGOX_LIBS=""
29163 ## If we have a custom action on failure, don't print errors, but
29164 ## do set a variable so people can do so.
29165 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
29166
29167 fi
29168
29169
29170
29171 else
29172 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29173 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29174 fi
29175 fi
29176
29177 if test $succeeded = yes; then
29178
29179 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
29180 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
29181
29182 else
29183
29184 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
29185 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
29186 { (exit 1); exit 1; }; }
29187
29188
29189 fi
29190
29191
29192 succeeded=no
29193
29194 if test -z "$PKG_CONFIG"; then
29195 # Extract the first word of "pkg-config", so it can be a program name with args.
29196 set dummy pkg-config; ac_word=$2
29197 echo "$as_me:$LINENO: checking for $ac_word" >&5
29198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29199 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29200 echo $ECHO_N "(cached) $ECHO_C" >&6
29201 else
29202 case $PKG_CONFIG in
29203 [\\/]* | ?:[\\/]*)
29204 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29205 ;;
29206 *)
29207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29208 for as_dir in $PATH
29209 do
29210 IFS=$as_save_IFS
29211 test -z "$as_dir" && as_dir=.
29212 for ac_exec_ext in '' $ac_executable_extensions; do
29213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29214 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29216 break 2
29217 fi
29218 done
29219 done
29220
29221 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29222 ;;
29223 esac
29224 fi
29225 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29226
29227 if test -n "$PKG_CONFIG"; then
29228 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29229 echo "${ECHO_T}$PKG_CONFIG" >&6
29230 else
29231 echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6
29233 fi
29234
29235 fi
29236
29237 if test "$PKG_CONFIG" = "no" ; then
29238 echo "*** The pkg-config script could not be found. Make sure it is"
29239 echo "*** in your path, or set the PKG_CONFIG environment variable"
29240 echo "*** to the full path to pkg-config."
29241 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29242 else
29243 PKG_CONFIG_MIN_VERSION=0.9.0
29244 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29245 echo "$as_me:$LINENO: checking for pangoft2" >&5
29246 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
29247
29248 if $PKG_CONFIG --exists "pangoft2" ; then
29249 echo "$as_me:$LINENO: result: yes" >&5
29250 echo "${ECHO_T}yes" >&6
29251 succeeded=yes
29252
29253 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
29254 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
29255 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
29256 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
29257 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
29258
29259 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
29260 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
29261 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
29262 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
29263 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
29264 else
29265 PANGOFT2_CFLAGS=""
29266 PANGOFT2_LIBS=""
29267 ## If we have a custom action on failure, don't print errors, but
29268 ## do set a variable so people can do so.
29269 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
29270
29271 fi
29272
29273
29274
29275 else
29276 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29277 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29278 fi
29279 fi
29280
29281 if test $succeeded = yes; then
29282
29283 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
29284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
29285
29286 else
29287
29288 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
29289 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
29290 wxUSE_PRINTING_ARCHITECTURE="no"
29291
29292
29293 fi
29294
29295
29296 succeeded=no
29297
29298 if test -z "$PKG_CONFIG"; then
29299 # Extract the first word of "pkg-config", so it can be a program name with args.
29300 set dummy pkg-config; ac_word=$2
29301 echo "$as_me:$LINENO: checking for $ac_word" >&5
29302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29303 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29304 echo $ECHO_N "(cached) $ECHO_C" >&6
29305 else
29306 case $PKG_CONFIG in
29307 [\\/]* | ?:[\\/]*)
29308 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29309 ;;
29310 *)
29311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29312 for as_dir in $PATH
29313 do
29314 IFS=$as_save_IFS
29315 test -z "$as_dir" && as_dir=.
29316 for ac_exec_ext in '' $ac_executable_extensions; do
29317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29318 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29320 break 2
29321 fi
29322 done
29323 done
29324
29325 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29326 ;;
29327 esac
29328 fi
29329 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29330
29331 if test -n "$PKG_CONFIG"; then
29332 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29333 echo "${ECHO_T}$PKG_CONFIG" >&6
29334 else
29335 echo "$as_me:$LINENO: result: no" >&5
29336 echo "${ECHO_T}no" >&6
29337 fi
29338
29339 fi
29340
29341 if test "$PKG_CONFIG" = "no" ; then
29342 echo "*** The pkg-config script could not be found. Make sure it is"
29343 echo "*** in your path, or set the PKG_CONFIG environment variable"
29344 echo "*** to the full path to pkg-config."
29345 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
29346 else
29347 PKG_CONFIG_MIN_VERSION=0.9.0
29348 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
29349 echo "$as_me:$LINENO: checking for pangoxft" >&5
29350 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
29351
29352 if $PKG_CONFIG --exists "pangoxft" ; then
29353 echo "$as_me:$LINENO: result: yes" >&5
29354 echo "${ECHO_T}yes" >&6
29355 succeeded=yes
29356
29357 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
29358 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
29359 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
29360 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
29361 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
29362
29363 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
29364 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
29365 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
29366 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
29367 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
29368 else
29369 PANGOXFT_CFLAGS=""
29370 PANGOXFT_LIBS=""
29371 ## If we have a custom action on failure, don't print errors, but
29372 ## do set a variable so people can do so.
29373 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
29374
29375 fi
29376
29377
29378
29379 else
29380 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
29381 echo "*** See http://www.freedesktop.org/software/pkgconfig"
29382 fi
29383 fi
29384
29385 if test $succeeded = yes; then
29386
29387 cat >>confdefs.h <<\_ACEOF
29388 #define HAVE_PANGO_XFT 1
29389 _ACEOF
29390
29391 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
29392 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
29393
29394 else
29395
29396 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
29397 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
29398
29399
29400 fi
29401
29402 save_CFLAGS="$CFLAGS"
29403 save_LIBS="$LIBS"
29404 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
29405 LIBS="$LIBS $PANGOX_LIBS"
29406
29407 for ac_func in pango_font_family_is_monospace
29408 do
29409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29410 echo "$as_me:$LINENO: checking for $ac_func" >&5
29411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29412 if eval "test \"\${$as_ac_var+set}\" = set"; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415 cat >conftest.$ac_ext <<_ACEOF
29416 /* confdefs.h. */
29417 _ACEOF
29418 cat confdefs.h >>conftest.$ac_ext
29419 cat >>conftest.$ac_ext <<_ACEOF
29420 /* end confdefs.h. */
29421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29423 #define $ac_func innocuous_$ac_func
29424
29425 /* System header to define __stub macros and hopefully few prototypes,
29426 which can conflict with char $ac_func (); below.
29427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29428 <limits.h> exists even on freestanding compilers. */
29429
29430 #ifdef __STDC__
29431 # include <limits.h>
29432 #else
29433 # include <assert.h>
29434 #endif
29435
29436 #undef $ac_func
29437
29438 /* Override any gcc2 internal prototype to avoid an error. */
29439 #ifdef __cplusplus
29440 extern "C"
29441 {
29442 #endif
29443 /* We use char because int might match the return type of a gcc2
29444 builtin and then its argument prototype would still apply. */
29445 char $ac_func ();
29446 /* The GNU C library defines this for functions which it implements
29447 to always fail with ENOSYS. Some functions are actually named
29448 something starting with __ and the normal name is an alias. */
29449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29450 choke me
29451 #else
29452 char (*f) () = $ac_func;
29453 #endif
29454 #ifdef __cplusplus
29455 }
29456 #endif
29457
29458 int
29459 main ()
29460 {
29461 return f != $ac_func;
29462 ;
29463 return 0;
29464 }
29465 _ACEOF
29466 rm -f conftest.$ac_objext conftest$ac_exeext
29467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29468 (eval $ac_link) 2>conftest.er1
29469 ac_status=$?
29470 grep -v '^ *+' conftest.er1 >conftest.err
29471 rm -f conftest.er1
29472 cat conftest.err >&5
29473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29474 (exit $ac_status); } &&
29475 { ac_try='test -z "$ac_c_werror_flag"
29476 || test ! -s conftest.err'
29477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478 (eval $ac_try) 2>&5
29479 ac_status=$?
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); }; } &&
29482 { ac_try='test -s conftest$ac_exeext'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; }; then
29488 eval "$as_ac_var=yes"
29489 else
29490 echo "$as_me: failed program was:" >&5
29491 sed 's/^/| /' conftest.$ac_ext >&5
29492
29493 eval "$as_ac_var=no"
29494 fi
29495 rm -f conftest.err conftest.$ac_objext \
29496 conftest$ac_exeext conftest.$ac_ext
29497 fi
29498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29500 if test `eval echo '${'$as_ac_var'}'` = yes; then
29501 cat >>confdefs.h <<_ACEOF
29502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29503 _ACEOF
29504
29505 fi
29506 done
29507
29508 CFLAGS="$save_CFLAGS"
29509 LIBS="$save_LIBS"
29510 fi
29511
29512 wxUSE_UNIVERSAL="yes"
29513
29514 if test "$wxUSE_NANOX" = "yes"; then
29515 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
29516 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"
29517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
29518 else
29519 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
29520 fi
29521
29522 TOOLKIT=X11
29523 GUIDIST=X11_DIST
29524 fi
29525
29526 if test "$wxUSE_MOTIF" = 1; then
29527 if test "$wxUSE_UNICODE" = "yes"; then
29528 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
29529 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
29530 { (exit 1); exit 1; }; }
29531 fi
29532
29533 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
29534 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
29535
29536 ac_find_includes=
29537 for ac_dir in $SEARCH_INCLUDE /usr/include;
29538 do
29539 if test -f "$ac_dir/Xm/Xm.h"; then
29540 ac_find_includes=$ac_dir
29541 break
29542 fi
29543 done
29544
29545 if test "$ac_find_includes" != "" ; then
29546 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
29547 echo "${ECHO_T}found in $ac_find_includes" >&6
29548
29549 if test "x$ac_find_includes" = "x/usr/include"; then
29550 ac_path_to_include=""
29551 else
29552 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
29553 result=$?
29554 if test $result = 0; then
29555 ac_path_to_include=""
29556 else
29557 ac_path_to_include=" -I$ac_find_includes"
29558 fi
29559 fi
29560
29561 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
29562 else
29563 save_CFLAGS=$CFLAGS
29564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29565
29566 cat >conftest.$ac_ext <<_ACEOF
29567 /* confdefs.h. */
29568 _ACEOF
29569 cat confdefs.h >>conftest.$ac_ext
29570 cat >>conftest.$ac_ext <<_ACEOF
29571 /* end confdefs.h. */
29572
29573 #include <Xm/Xm.h>
29574
29575 int
29576 main ()
29577 {
29578
29579 int version;
29580 version = xmUseVersion;
29581
29582 ;
29583 return 0;
29584 }
29585 _ACEOF
29586 rm -f conftest.$ac_objext
29587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29588 (eval $ac_compile) 2>conftest.er1
29589 ac_status=$?
29590 grep -v '^ *+' conftest.er1 >conftest.err
29591 rm -f conftest.er1
29592 cat conftest.err >&5
29593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29594 (exit $ac_status); } &&
29595 { ac_try='test -z "$ac_c_werror_flag"
29596 || test ! -s conftest.err'
29597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29598 (eval $ac_try) 2>&5
29599 ac_status=$?
29600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29601 (exit $ac_status); }; } &&
29602 { ac_try='test -s conftest.$ac_objext'
29603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29604 (eval $ac_try) 2>&5
29605 ac_status=$?
29606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29607 (exit $ac_status); }; }; then
29608
29609 echo "$as_me:$LINENO: result: found in default search path" >&5
29610 echo "${ECHO_T}found in default search path" >&6
29611 COMPILED_X_PROGRAM=1
29612
29613 else
29614 echo "$as_me: failed program was:" >&5
29615 sed 's/^/| /' conftest.$ac_ext >&5
29616
29617
29618 echo "$as_me:$LINENO: result: no" >&5
29619 echo "${ECHO_T}no" >&6
29620 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
29621 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
29622 { (exit 1); exit 1; }; }
29623
29624
29625 fi
29626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29627
29628 CFLAGS=$save_CFLAGS
29629 fi
29630
29631
29632 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
29633 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
29634
29635 ac_find_libraries=
29636 for ac_dir in $SEARCH_LIB;
29637 do
29638 for ac_extension in a so sl dylib dll.a; do
29639 if test -f "$ac_dir/libXm.$ac_extension"; then
29640 ac_find_libraries=$ac_dir
29641 break 2
29642 fi
29643 done
29644 done
29645
29646
29647 if test "x$ac_find_libraries" != "x" ; then
29648 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29649 echo "${ECHO_T}found in $ac_find_libraries" >&6
29650
29651
29652 if test "$ac_find_libraries" = "default location"; then
29653 ac_path_to_link=""
29654 else
29655 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29656 result=$?
29657 if test $result = 0; then
29658 ac_path_to_link=""
29659 else
29660 ac_path_to_link=" -L$ac_find_libraries"
29661 fi
29662 fi
29663
29664 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
29665 else
29666 save_CFLAGS=$CFLAGS
29667 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29668 save_LIBS="$LIBS"
29669 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
29670
29671 cat >conftest.$ac_ext <<_ACEOF
29672 /* confdefs.h. */
29673 _ACEOF
29674 cat confdefs.h >>conftest.$ac_ext
29675 cat >>conftest.$ac_ext <<_ACEOF
29676 /* end confdefs.h. */
29677
29678 #include <Xm/Xm.h>
29679
29680 int
29681 main ()
29682 {
29683
29684 int version;
29685 version = xmUseVersion;
29686
29687 ;
29688 return 0;
29689 }
29690 _ACEOF
29691 rm -f conftest.$ac_objext conftest$ac_exeext
29692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29693 (eval $ac_link) 2>conftest.er1
29694 ac_status=$?
29695 grep -v '^ *+' conftest.er1 >conftest.err
29696 rm -f conftest.er1
29697 cat conftest.err >&5
29698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29699 (exit $ac_status); } &&
29700 { ac_try='test -z "$ac_c_werror_flag"
29701 || test ! -s conftest.err'
29702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29703 (eval $ac_try) 2>&5
29704 ac_status=$?
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); }; } &&
29707 { ac_try='test -s conftest$ac_exeext'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; }; then
29713
29714 echo "$as_me:$LINENO: result: found in default search path" >&5
29715 echo "${ECHO_T}found in default search path" >&6
29716 COMPILED_X_PROGRAM=1
29717
29718 else
29719 echo "$as_me: failed program was:" >&5
29720 sed 's/^/| /' conftest.$ac_ext >&5
29721
29722
29723 echo "$as_me:$LINENO: result: no" >&5
29724 echo "${ECHO_T}no" >&6
29725 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
29726 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
29727 { (exit 1); exit 1; }; }
29728
29729
29730 fi
29731 rm -f conftest.err conftest.$ac_objext \
29732 conftest$ac_exeext conftest.$ac_ext
29733
29734 CFLAGS=$save_CFLAGS
29735 LIBS="$save_LIBS"
29736 fi
29737
29738 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
29739 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
29740 libp_link=""
29741 libsm_ice_link=""
29742 libs_found=0
29743 for libp in "" " -lXp"; do
29744 if test "$libs_found" = "0"; then
29745 for libsm_ice in "" " -lSM -lICE"; do
29746 if test "$libs_found" = "0"; then
29747 save_LIBS="$LIBS"
29748 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
29749 save_CFLAGS=$CFLAGS
29750 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29751
29752 cat >conftest.$ac_ext <<_ACEOF
29753 /* confdefs.h. */
29754 _ACEOF
29755 cat confdefs.h >>conftest.$ac_ext
29756 cat >>conftest.$ac_ext <<_ACEOF
29757 /* end confdefs.h. */
29758
29759 #include <Xm/Xm.h>
29760 #include <Xm/List.h>
29761
29762 int
29763 main ()
29764 {
29765
29766 XmString string = NULL;
29767 Widget w = NULL;
29768 int position = 0;
29769 XmListAddItem(w, string, position);
29770
29771 ;
29772 return 0;
29773 }
29774 _ACEOF
29775 rm -f conftest.$ac_objext conftest$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>conftest.er1
29778 ac_status=$?
29779 grep -v '^ *+' conftest.er1 >conftest.err
29780 rm -f conftest.er1
29781 cat conftest.err >&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try='test -z "$ac_c_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29788 ac_status=$?
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try='test -s conftest$ac_exeext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29794 ac_status=$?
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29797
29798 libp_link="$libp"
29799 libsm_ice_link="$libsm_ice"
29800 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
29801 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
29802 libs_found=1
29803
29804 else
29805 echo "$as_me: failed program was:" >&5
29806 sed 's/^/| /' conftest.$ac_ext >&5
29807
29808
29809
29810 fi
29811 rm -f conftest.err conftest.$ac_objext \
29812 conftest$ac_exeext conftest.$ac_ext
29813
29814 LIBS="$save_LIBS"
29815 CFLAGS=$save_CFLAGS
29816 fi
29817 done
29818 fi
29819 done
29820
29821 if test "$libs_found" = "0"; then
29822 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
29823 echo "${ECHO_T}can't find the right libraries" >&6
29824 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
29825 echo "$as_me: error: can't link a simple motif program" >&2;}
29826 { (exit 1); exit 1; }; }
29827 fi
29828
29829 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
29830 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
29831 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
29832 echo $ECHO_N "(cached) $ECHO_C" >&6
29833 else
29834 ac_check_lib_save_LIBS=$LIBS
29835 LIBS="-lSgm $LIBS"
29836 cat >conftest.$ac_ext <<_ACEOF
29837 /* confdefs.h. */
29838 _ACEOF
29839 cat confdefs.h >>conftest.$ac_ext
29840 cat >>conftest.$ac_ext <<_ACEOF
29841 /* end confdefs.h. */
29842
29843 /* Override any gcc2 internal prototype to avoid an error. */
29844 #ifdef __cplusplus
29845 extern "C"
29846 #endif
29847 /* We use char because int might match the return type of a gcc2
29848 builtin and then its argument prototype would still apply. */
29849 char SgCreateList ();
29850 int
29851 main ()
29852 {
29853 SgCreateList ();
29854 ;
29855 return 0;
29856 }
29857 _ACEOF
29858 rm -f conftest.$ac_objext conftest$ac_exeext
29859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29860 (eval $ac_link) 2>conftest.er1
29861 ac_status=$?
29862 grep -v '^ *+' conftest.er1 >conftest.err
29863 rm -f conftest.er1
29864 cat conftest.err >&5
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); } &&
29867 { ac_try='test -z "$ac_c_werror_flag"
29868 || test ! -s conftest.err'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29871 ac_status=$?
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; } &&
29874 { ac_try='test -s conftest$ac_exeext'
29875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29876 (eval $ac_try) 2>&5
29877 ac_status=$?
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); }; }; then
29880 ac_cv_lib_Sgm_SgCreateList=yes
29881 else
29882 echo "$as_me: failed program was:" >&5
29883 sed 's/^/| /' conftest.$ac_ext >&5
29884
29885 ac_cv_lib_Sgm_SgCreateList=no
29886 fi
29887 rm -f conftest.err conftest.$ac_objext \
29888 conftest$ac_exeext conftest.$ac_ext
29889 LIBS=$ac_check_lib_save_LIBS
29890 fi
29891 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
29892 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
29893 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
29894 libsgm_link=" -lSgm"
29895 fi
29896
29897
29898 save_CFLAGS=$CFLAGS
29899 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
29900
29901 echo "$as_me:$LINENO: checking for Motif 2" >&5
29902 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
29903 if test "${wx_cv_lib_motif2+set}" = set; then
29904 echo $ECHO_N "(cached) $ECHO_C" >&6
29905 else
29906 cat >conftest.$ac_ext <<_ACEOF
29907 /* confdefs.h. */
29908 _ACEOF
29909 cat confdefs.h >>conftest.$ac_ext
29910 cat >>conftest.$ac_ext <<_ACEOF
29911 /* end confdefs.h. */
29912
29913 #include <Xm/Xm.h>
29914
29915 int
29916 main ()
29917 {
29918
29919 #if XmVersion < 2000
29920 Not Motif 2
29921 #endif
29922
29923 ;
29924 return 0;
29925 }
29926 _ACEOF
29927 rm -f conftest.$ac_objext
29928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29929 (eval $ac_compile) 2>conftest.er1
29930 ac_status=$?
29931 grep -v '^ *+' conftest.er1 >conftest.err
29932 rm -f conftest.er1
29933 cat conftest.err >&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); } &&
29936 { ac_try='test -z "$ac_c_werror_flag"
29937 || test ! -s conftest.err'
29938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29939 (eval $ac_try) 2>&5
29940 ac_status=$?
29941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29942 (exit $ac_status); }; } &&
29943 { ac_try='test -s conftest.$ac_objext'
29944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29945 (eval $ac_try) 2>&5
29946 ac_status=$?
29947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29948 (exit $ac_status); }; }; then
29949 wx_cv_lib_motif2="yes"
29950 else
29951 echo "$as_me: failed program was:" >&5
29952 sed 's/^/| /' conftest.$ac_ext >&5
29953
29954 wx_cv_lib_motif2="no"
29955 fi
29956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29957 fi
29958 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
29959 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
29960 if test "$wx_cv_lib_motif2" = "yes"; then
29961 cat >>confdefs.h <<\_ACEOF
29962 #define __WXMOTIF20__ 1
29963 _ACEOF
29964
29965 else
29966 cat >>confdefs.h <<\_ACEOF
29967 #define __WXMOTIF20__ 0
29968 _ACEOF
29969
29970 fi
29971
29972 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
29973 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
29974 if test "${wx_cv_lib_lesstif+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29976 else
29977 cat >conftest.$ac_ext <<_ACEOF
29978 /* confdefs.h. */
29979 _ACEOF
29980 cat confdefs.h >>conftest.$ac_ext
29981 cat >>conftest.$ac_ext <<_ACEOF
29982 /* end confdefs.h. */
29983
29984 #include <Xm/Xm.h>
29985
29986 int
29987 main ()
29988 {
29989
29990 #if !defined(LesstifVersion) || LesstifVersion <= 0
29991 Not Lesstif
29992 #endif
29993
29994 ;
29995 return 0;
29996 }
29997 _ACEOF
29998 rm -f conftest.$ac_objext
29999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30000 (eval $ac_compile) 2>conftest.er1
30001 ac_status=$?
30002 grep -v '^ *+' conftest.er1 >conftest.err
30003 rm -f conftest.er1
30004 cat conftest.err >&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); } &&
30007 { ac_try='test -z "$ac_c_werror_flag"
30008 || test ! -s conftest.err'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; } &&
30014 { ac_try='test -s conftest.$ac_objext'
30015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30016 (eval $ac_try) 2>&5
30017 ac_status=$?
30018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30019 (exit $ac_status); }; }; then
30020 wx_cv_lib_lesstif="yes"
30021 else
30022 echo "$as_me: failed program was:" >&5
30023 sed 's/^/| /' conftest.$ac_ext >&5
30024
30025 wx_cv_lib_lesstif="no"
30026 fi
30027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30028
30029 fi
30030 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30031 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30032 if test "$wx_cv_lib_lesstif" = "yes"; then
30033 cat >>confdefs.h <<\_ACEOF
30034 #define __WXLESSTIF__ 1
30035 _ACEOF
30036
30037 else
30038 cat >>confdefs.h <<\_ACEOF
30039 #define __WXLESSTIF__ 0
30040 _ACEOF
30041
30042 fi
30043
30044 CFLAGS=$save_CFLAGS
30045
30046 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30047 TOOLKIT=MOTIF
30048 GUIDIST=MOTIF_DIST
30049 fi
30050
30051 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30052 if test "$wxUSE_LIBXPM" = "sys"; then
30053 echo "$as_me:$LINENO: checking for Xpm library" >&5
30054 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30055
30056 ac_find_libraries=
30057 for ac_dir in $SEARCH_LIB;
30058 do
30059 for ac_extension in a so sl dylib dll.a; do
30060 if test -f "$ac_dir/libXpm.$ac_extension"; then
30061 ac_find_libraries=$ac_dir
30062 break 2
30063 fi
30064 done
30065 done
30066
30067 if test "$ac_find_libraries" != "" ; then
30068
30069 if test "$ac_find_libraries" = "default location"; then
30070 ac_path_to_link=""
30071 else
30072 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30073 result=$?
30074 if test $result = 0; then
30075 ac_path_to_link=""
30076 else
30077 ac_path_to_link=" -L$ac_find_libraries"
30078 fi
30079 fi
30080
30081 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30082 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30083 echo "${ECHO_T}found in $ac_find_libraries" >&6
30084
30085 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30086 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30087 if test "${wx_cv_x11_xpm_h+set}" = set; then
30088 echo $ECHO_N "(cached) $ECHO_C" >&6
30089 else
30090
30091 save_CFLAGS=$CFLAGS
30092 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30093
30094 cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h. */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h. */
30100
30101 #include <X11/xpm.h>
30102
30103 int
30104 main ()
30105 {
30106
30107 int version;
30108 version = XpmLibraryVersion();
30109
30110 ;
30111 return 0;
30112 }
30113 _ACEOF
30114 rm -f conftest.$ac_objext
30115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30116 (eval $ac_compile) 2>conftest.er1
30117 ac_status=$?
30118 grep -v '^ *+' conftest.er1 >conftest.err
30119 rm -f conftest.er1
30120 cat conftest.err >&5
30121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30122 (exit $ac_status); } &&
30123 { ac_try='test -z "$ac_c_werror_flag"
30124 || test ! -s conftest.err'
30125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30126 (eval $ac_try) 2>&5
30127 ac_status=$?
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); }; } &&
30130 { ac_try='test -s conftest.$ac_objext'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30133 ac_status=$?
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; }; then
30136 wx_cv_x11_xpm_h=yes
30137 else
30138 echo "$as_me: failed program was:" >&5
30139 sed 's/^/| /' conftest.$ac_ext >&5
30140
30141 wx_cv_x11_xpm_h=no
30142
30143 fi
30144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30145
30146 CFLAGS=$save_CFLAGS
30147
30148
30149 fi
30150 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
30151 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
30152
30153 if test $wx_cv_x11_xpm_h = "yes"; then
30154 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
30155 cat >>confdefs.h <<\_ACEOF
30156 #define wxHAVE_LIB_XPM 1
30157 _ACEOF
30158
30159 else
30160 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
30161 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
30162 fi
30163 fi
30164
30165 fi
30166
30167 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
30168 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
30169 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30172 ac_check_lib_save_LIBS=$LIBS
30173 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180
30181 /* Override any gcc2 internal prototype to avoid an error. */
30182 #ifdef __cplusplus
30183 extern "C"
30184 #endif
30185 /* We use char because int might match the return type of a gcc2
30186 builtin and then its argument prototype would still apply. */
30187 char XShapeQueryExtension ();
30188 int
30189 main ()
30190 {
30191 XShapeQueryExtension ();
30192 ;
30193 return 0;
30194 }
30195 _ACEOF
30196 rm -f conftest.$ac_objext conftest$ac_exeext
30197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30198 (eval $ac_link) 2>conftest.er1
30199 ac_status=$?
30200 grep -v '^ *+' conftest.er1 >conftest.err
30201 rm -f conftest.er1
30202 cat conftest.err >&5
30203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30204 (exit $ac_status); } &&
30205 { ac_try='test -z "$ac_c_werror_flag"
30206 || test ! -s conftest.err'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30209 ac_status=$?
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; } &&
30212 { ac_try='test -s conftest$ac_exeext'
30213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30214 (eval $ac_try) 2>&5
30215 ac_status=$?
30216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30217 (exit $ac_status); }; }; then
30218 ac_cv_lib_Xext_XShapeQueryExtension=yes
30219 else
30220 echo "$as_me: failed program was:" >&5
30221 sed 's/^/| /' conftest.$ac_ext >&5
30222
30223 ac_cv_lib_Xext_XShapeQueryExtension=no
30224 fi
30225 rm -f conftest.err conftest.$ac_objext \
30226 conftest$ac_exeext conftest.$ac_ext
30227 LIBS=$ac_check_lib_save_LIBS
30228 fi
30229 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
30230 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
30231 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
30232
30233 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
30234 wxHAVE_XEXT_LIB=1
30235
30236 fi
30237
30238
30239 if test "$wxHAVE_XEXT_LIB" = 1; then
30240 save_CFLAGS="$CFLAGS"
30241 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30242
30243 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
30244 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
30245 cat >conftest.$ac_ext <<_ACEOF
30246 /* confdefs.h. */
30247 _ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30251
30252 #include <X11/Xlib.h>
30253 #include <X11/extensions/shape.h>
30254
30255 int
30256 main ()
30257 {
30258
30259 int dummy1, dummy2;
30260 XShapeQueryExtension((Display*)NULL,
30261 (int*)NULL, (int*)NULL);
30262
30263 ;
30264 return 0;
30265 }
30266 _ACEOF
30267 rm -f conftest.$ac_objext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30269 (eval $ac_compile) 2>conftest.er1
30270 ac_status=$?
30271 grep -v '^ *+' conftest.er1 >conftest.err
30272 rm -f conftest.er1
30273 cat conftest.err >&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try='test -z "$ac_c_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30280 ac_status=$?
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try='test -s conftest.$ac_objext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30286 ac_status=$?
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289
30290 cat >>confdefs.h <<\_ACEOF
30291 #define HAVE_XSHAPE 1
30292 _ACEOF
30293
30294 echo "$as_me:$LINENO: result: found" >&5
30295 echo "${ECHO_T}found" >&6
30296
30297 else
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30300
30301
30302 echo "$as_me:$LINENO: result: not found" >&5
30303 echo "${ECHO_T}not found" >&6
30304
30305 fi
30306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30307 CFLAGS="$save_CFLAGS"
30308
30309 fi
30310 fi
30311
30312 if test "$wxUSE_MAC" = 1; then
30313 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
30314 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
30315 if test "$GCC" = yes; then
30316 echo "$as_me:$LINENO: result: gcc" >&5
30317 echo "${ECHO_T}gcc" >&6
30318 CPPFLAGS_PASCAL="-fpascal-strings"
30319 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
30320 echo "$as_me:$LINENO: result: xlc" >&5
30321 echo "${ECHO_T}xlc" >&6
30322 CPPFLAGS_PASCAL="-qmacpstr"
30323 else
30324 echo "$as_me:$LINENO: result: none" >&5
30325 echo "${ECHO_T}none" >&6
30326 fi
30327
30328 if test "x$wxUSE_UNIX" = "xyes"; then
30329 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
30330 else
30331 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
30332 fi
30333
30334 TOOLKIT=MAC
30335 GUIDIST=MACX_DIST
30336 WXBASEPORT="_carbon"
30337 fi
30338
30339 if test "$wxUSE_COCOA" = 1; then
30340 TOOLKIT=COCOA
30341 GUIDIST=COCOA_DIST
30342 fi
30343
30344 if test "$wxUSE_PM" = 1; then
30345 TOOLKIT=PM
30346 GUIDIST=PM_DIST
30347 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
30348 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
30349 if test "${wx_cv_spbcdata+set}" = set; then
30350 echo $ECHO_N "(cached) $ECHO_C" >&6
30351 else
30352
30353 cat >conftest.$ac_ext <<_ACEOF
30354 /* confdefs.h. */
30355 _ACEOF
30356 cat confdefs.h >>conftest.$ac_ext
30357 cat >>conftest.$ac_ext <<_ACEOF
30358 /* end confdefs.h. */
30359
30360 #define INCL_PM
30361 #include <os2.h>
30362
30363 int
30364 main ()
30365 {
30366
30367 SPBCDATA test;
30368
30369 ;
30370 return 0;
30371 }
30372 _ACEOF
30373 rm -f conftest.$ac_objext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30375 (eval $ac_compile) 2>conftest.er1
30376 ac_status=$?
30377 grep -v '^ *+' conftest.er1 >conftest.err
30378 rm -f conftest.er1
30379 cat conftest.err >&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try='test -z "$ac_c_werror_flag"
30383 || test ! -s conftest.err'
30384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30385 (eval $ac_try) 2>&5
30386 ac_status=$?
30387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30388 (exit $ac_status); }; } &&
30389 { ac_try='test -s conftest.$ac_objext'
30390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30391 (eval $ac_try) 2>&5
30392 ac_status=$?
30393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30394 (exit $ac_status); }; }; then
30395 wx_cv_spbcdata=yes
30396 else
30397 echo "$as_me: failed program was:" >&5
30398 sed 's/^/| /' conftest.$ac_ext >&5
30399
30400 wx_cv_spbcdata=no
30401
30402 fi
30403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30404
30405
30406 fi
30407 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
30408 echo "${ECHO_T}$wx_cv_spbcdata" >&6
30409
30410 if test $wx_cv_spbcdata = "yes"; then
30411 cat >>confdefs.h <<\_ACEOF
30412 #define HAVE_SPBCDATA 1
30413 _ACEOF
30414
30415 fi
30416 fi
30417
30418 if test "$TOOLKIT" = "PM" ; then
30419 TOOLKIT_DIR="os2"
30420 else
30421 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
30422 fi
30423
30424 if test "$wxUSE_UNIVERSAL" = "yes"; then
30425 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
30426 WIDGET_SET=univ
30427 fi
30428
30429 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
30430 DISTDIR="wx\$(TOOLKIT)"
30431 else
30432 USE_GUI=0
30433
30434 TOOLKIT_DIR="base"
30435
30436 if test "$USE_WIN32" = 1 ; then
30437 TOOLKIT="MSW"
30438 fi
30439
30440 GUIDIST="BASE_DIST"
30441 DISTDIR="wxBase"
30442 fi
30443
30444
30445 if test "$wxUSE_GUI" = "yes"; then
30446 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
30447
30448 for ac_header in X11/Xlib.h
30449 do
30450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30452 echo "$as_me:$LINENO: checking for $ac_header" >&5
30453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30455 echo $ECHO_N "(cached) $ECHO_C" >&6
30456 fi
30457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30459 else
30460 # Is the header compilable?
30461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30463 cat >conftest.$ac_ext <<_ACEOF
30464 /* confdefs.h. */
30465 _ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30469 $ac_includes_default
30470 #include <$ac_header>
30471 _ACEOF
30472 rm -f conftest.$ac_objext
30473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30474 (eval $ac_compile) 2>conftest.er1
30475 ac_status=$?
30476 grep -v '^ *+' conftest.er1 >conftest.err
30477 rm -f conftest.er1
30478 cat conftest.err >&5
30479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30480 (exit $ac_status); } &&
30481 { ac_try='test -z "$ac_c_werror_flag"
30482 || test ! -s conftest.err'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; } &&
30488 { ac_try='test -s conftest.$ac_objext'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; }; then
30494 ac_header_compiler=yes
30495 else
30496 echo "$as_me: failed program was:" >&5
30497 sed 's/^/| /' conftest.$ac_ext >&5
30498
30499 ac_header_compiler=no
30500 fi
30501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30503 echo "${ECHO_T}$ac_header_compiler" >&6
30504
30505 # Is the header present?
30506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30508 cat >conftest.$ac_ext <<_ACEOF
30509 /* confdefs.h. */
30510 _ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30514 #include <$ac_header>
30515 _ACEOF
30516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30518 ac_status=$?
30519 grep -v '^ *+' conftest.er1 >conftest.err
30520 rm -f conftest.er1
30521 cat conftest.err >&5
30522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30523 (exit $ac_status); } >/dev/null; then
30524 if test -s conftest.err; then
30525 ac_cpp_err=$ac_c_preproc_warn_flag
30526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30527 else
30528 ac_cpp_err=
30529 fi
30530 else
30531 ac_cpp_err=yes
30532 fi
30533 if test -z "$ac_cpp_err"; then
30534 ac_header_preproc=yes
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539 ac_header_preproc=no
30540 fi
30541 rm -f conftest.err conftest.$ac_ext
30542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30543 echo "${ECHO_T}$ac_header_preproc" >&6
30544
30545 # So? What about this header?
30546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30547 yes:no: )
30548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30552 ac_header_preproc=yes
30553 ;;
30554 no:yes:* )
30555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30567 (
30568 cat <<\_ASBOX
30569 ## ----------------------------------------- ##
30570 ## Report this to wx-dev@lists.wxwidgets.org ##
30571 ## ----------------------------------------- ##
30572 _ASBOX
30573 ) |
30574 sed "s/^/$as_me: WARNING: /" >&2
30575 ;;
30576 esac
30577 echo "$as_me:$LINENO: checking for $ac_header" >&5
30578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30580 echo $ECHO_N "(cached) $ECHO_C" >&6
30581 else
30582 eval "$as_ac_Header=\$ac_header_preproc"
30583 fi
30584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30586
30587 fi
30588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30589 cat >>confdefs.h <<_ACEOF
30590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30591 _ACEOF
30592
30593 fi
30594
30595 done
30596
30597
30598 for ac_header in X11/XKBlib.h
30599 do
30600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30601 echo "$as_me:$LINENO: checking for $ac_header" >&5
30602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 cat >conftest.$ac_ext <<_ACEOF
30607 /* confdefs.h. */
30608 _ACEOF
30609 cat confdefs.h >>conftest.$ac_ext
30610 cat >>conftest.$ac_ext <<_ACEOF
30611 /* end confdefs.h. */
30612
30613 #if HAVE_X11_XLIB_H
30614 #include <X11/Xlib.h>
30615 #endif
30616
30617
30618 #include <$ac_header>
30619 _ACEOF
30620 rm -f conftest.$ac_objext
30621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30622 (eval $ac_compile) 2>conftest.er1
30623 ac_status=$?
30624 grep -v '^ *+' conftest.er1 >conftest.err
30625 rm -f conftest.er1
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } &&
30629 { ac_try='test -z "$ac_c_werror_flag"
30630 || test ! -s conftest.err'
30631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30632 (eval $ac_try) 2>&5
30633 ac_status=$?
30634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30635 (exit $ac_status); }; } &&
30636 { ac_try='test -s conftest.$ac_objext'
30637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30638 (eval $ac_try) 2>&5
30639 ac_status=$?
30640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30641 (exit $ac_status); }; }; then
30642 eval "$as_ac_Header=yes"
30643 else
30644 echo "$as_me: failed program was:" >&5
30645 sed 's/^/| /' conftest.$ac_ext >&5
30646
30647 eval "$as_ac_Header=no"
30648 fi
30649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30650 fi
30651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30654 cat >>confdefs.h <<_ACEOF
30655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30656 _ACEOF
30657
30658 fi
30659
30660 done
30661
30662 fi
30663 fi
30664
30665
30666
30667 IODBC_C_SRC=""
30668
30669
30670 if test "$TOOLKIT" != "MSW" ; then
30671
30672 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
30673
30674 if test "${ac_cv_header_sql_h+set}" = set; then
30675 echo "$as_me:$LINENO: checking for sql.h" >&5
30676 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30677 if test "${ac_cv_header_sql_h+set}" = set; then
30678 echo $ECHO_N "(cached) $ECHO_C" >&6
30679 fi
30680 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30681 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30682 else
30683 # Is the header compilable?
30684 echo "$as_me:$LINENO: checking sql.h usability" >&5
30685 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
30686 cat >conftest.$ac_ext <<_ACEOF
30687 /* confdefs.h. */
30688 _ACEOF
30689 cat confdefs.h >>conftest.$ac_ext
30690 cat >>conftest.$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30692 $ac_includes_default
30693 #include <sql.h>
30694 _ACEOF
30695 rm -f conftest.$ac_objext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30697 (eval $ac_compile) 2>conftest.er1
30698 ac_status=$?
30699 grep -v '^ *+' conftest.er1 >conftest.err
30700 rm -f conftest.er1
30701 cat conftest.err >&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try='test -z "$ac_c_werror_flag"
30705 || test ! -s conftest.err'
30706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30707 (eval $ac_try) 2>&5
30708 ac_status=$?
30709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30710 (exit $ac_status); }; } &&
30711 { ac_try='test -s conftest.$ac_objext'
30712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30713 (eval $ac_try) 2>&5
30714 ac_status=$?
30715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30716 (exit $ac_status); }; }; then
30717 ac_header_compiler=yes
30718 else
30719 echo "$as_me: failed program was:" >&5
30720 sed 's/^/| /' conftest.$ac_ext >&5
30721
30722 ac_header_compiler=no
30723 fi
30724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30725 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30726 echo "${ECHO_T}$ac_header_compiler" >&6
30727
30728 # Is the header present?
30729 echo "$as_me:$LINENO: checking sql.h presence" >&5
30730 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
30731 cat >conftest.$ac_ext <<_ACEOF
30732 /* confdefs.h. */
30733 _ACEOF
30734 cat confdefs.h >>conftest.$ac_ext
30735 cat >>conftest.$ac_ext <<_ACEOF
30736 /* end confdefs.h. */
30737 #include <sql.h>
30738 _ACEOF
30739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30741 ac_status=$?
30742 grep -v '^ *+' conftest.er1 >conftest.err
30743 rm -f conftest.er1
30744 cat conftest.err >&5
30745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30746 (exit $ac_status); } >/dev/null; then
30747 if test -s conftest.err; then
30748 ac_cpp_err=$ac_c_preproc_warn_flag
30749 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30750 else
30751 ac_cpp_err=
30752 fi
30753 else
30754 ac_cpp_err=yes
30755 fi
30756 if test -z "$ac_cpp_err"; then
30757 ac_header_preproc=yes
30758 else
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30761
30762 ac_header_preproc=no
30763 fi
30764 rm -f conftest.err conftest.$ac_ext
30765 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30766 echo "${ECHO_T}$ac_header_preproc" >&6
30767
30768 # So? What about this header?
30769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30770 yes:no: )
30771 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
30772 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30773 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
30774 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
30775 ac_header_preproc=yes
30776 ;;
30777 no:yes:* )
30778 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
30779 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
30780 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
30781 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
30782 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
30783 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
30784 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
30785 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
30786 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
30787 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
30788 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
30789 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
30790 (
30791 cat <<\_ASBOX
30792 ## ----------------------------------------- ##
30793 ## Report this to wx-dev@lists.wxwidgets.org ##
30794 ## ----------------------------------------- ##
30795 _ASBOX
30796 ) |
30797 sed "s/^/$as_me: WARNING: /" >&2
30798 ;;
30799 esac
30800 echo "$as_me:$LINENO: checking for sql.h" >&5
30801 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
30802 if test "${ac_cv_header_sql_h+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30804 else
30805 ac_cv_header_sql_h=$ac_header_preproc
30806 fi
30807 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
30808 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
30809
30810 fi
30811 if test $ac_cv_header_sql_h = yes; then
30812 found_sql_h=1
30813 fi
30814
30815
30816 if test "x$found_sql_h" = "x1" ; then
30817 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
30818 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
30819 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
30820 echo $ECHO_N "(cached) $ECHO_C" >&6
30821 else
30822 ac_check_lib_save_LIBS=$LIBS
30823 LIBS="-liodbc $LIBS"
30824 cat >conftest.$ac_ext <<_ACEOF
30825 /* confdefs.h. */
30826 _ACEOF
30827 cat confdefs.h >>conftest.$ac_ext
30828 cat >>conftest.$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30830
30831 /* Override any gcc2 internal prototype to avoid an error. */
30832 #ifdef __cplusplus
30833 extern "C"
30834 #endif
30835 /* We use char because int might match the return type of a gcc2
30836 builtin and then its argument prototype would still apply. */
30837 char SQLAllocEnv ();
30838 int
30839 main ()
30840 {
30841 SQLAllocEnv ();
30842 ;
30843 return 0;
30844 }
30845 _ACEOF
30846 rm -f conftest.$ac_objext conftest$ac_exeext
30847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30848 (eval $ac_link) 2>conftest.er1
30849 ac_status=$?
30850 grep -v '^ *+' conftest.er1 >conftest.err
30851 rm -f conftest.er1
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } &&
30855 { ac_try='test -z "$ac_c_werror_flag"
30856 || test ! -s conftest.err'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30859 ac_status=$?
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; } &&
30862 { ac_try='test -s conftest$ac_exeext'
30863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30864 (eval $ac_try) 2>&5
30865 ac_status=$?
30866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30867 (exit $ac_status); }; }; then
30868 ac_cv_lib_iodbc_SQLAllocEnv=yes
30869 else
30870 echo "$as_me: failed program was:" >&5
30871 sed 's/^/| /' conftest.$ac_ext >&5
30872
30873 ac_cv_lib_iodbc_SQLAllocEnv=no
30874 fi
30875 rm -f conftest.err conftest.$ac_objext \
30876 conftest$ac_exeext conftest.$ac_ext
30877 LIBS=$ac_check_lib_save_LIBS
30878 fi
30879 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
30880 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
30881 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
30882 ODBC_LINK=" -liodbc"
30883 else
30884
30885 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
30886 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
30887 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890 ac_check_lib_save_LIBS=$LIBS
30891 LIBS="-lunixodbc $LIBS"
30892 cat >conftest.$ac_ext <<_ACEOF
30893 /* confdefs.h. */
30894 _ACEOF
30895 cat confdefs.h >>conftest.$ac_ext
30896 cat >>conftest.$ac_ext <<_ACEOF
30897 /* end confdefs.h. */
30898
30899 /* Override any gcc2 internal prototype to avoid an error. */
30900 #ifdef __cplusplus
30901 extern "C"
30902 #endif
30903 /* We use char because int might match the return type of a gcc2
30904 builtin and then its argument prototype would still apply. */
30905 char SQLAllocEnv ();
30906 int
30907 main ()
30908 {
30909 SQLAllocEnv ();
30910 ;
30911 return 0;
30912 }
30913 _ACEOF
30914 rm -f conftest.$ac_objext conftest$ac_exeext
30915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30916 (eval $ac_link) 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } &&
30923 { ac_try='test -z "$ac_c_werror_flag"
30924 || test ! -s conftest.err'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; } &&
30930 { ac_try='test -s conftest$ac_exeext'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; }; then
30936 ac_cv_lib_unixodbc_SQLAllocEnv=yes
30937 else
30938 echo "$as_me: failed program was:" >&5
30939 sed 's/^/| /' conftest.$ac_ext >&5
30940
30941 ac_cv_lib_unixodbc_SQLAllocEnv=no
30942 fi
30943 rm -f conftest.err conftest.$ac_objext \
30944 conftest$ac_exeext conftest.$ac_ext
30945 LIBS=$ac_check_lib_save_LIBS
30946 fi
30947 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
30948 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
30949 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
30950 ODBC_LINK=" -lunixodbc"
30951 else
30952
30953 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
30954 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
30955 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
30956 echo $ECHO_N "(cached) $ECHO_C" >&6
30957 else
30958 ac_check_lib_save_LIBS=$LIBS
30959 LIBS="-lodbc $LIBS"
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966
30967 /* Override any gcc2 internal prototype to avoid an error. */
30968 #ifdef __cplusplus
30969 extern "C"
30970 #endif
30971 /* We use char because int might match the return type of a gcc2
30972 builtin and then its argument prototype would still apply. */
30973 char SQLAllocEnv ();
30974 int
30975 main ()
30976 {
30977 SQLAllocEnv ();
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 rm -f conftest.$ac_objext conftest$ac_exeext
30983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30984 (eval $ac_link) 2>conftest.er1
30985 ac_status=$?
30986 grep -v '^ *+' conftest.er1 >conftest.err
30987 rm -f conftest.er1
30988 cat conftest.err >&5
30989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30990 (exit $ac_status); } &&
30991 { ac_try='test -z "$ac_c_werror_flag"
30992 || test ! -s conftest.err'
30993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30994 (eval $ac_try) 2>&5
30995 ac_status=$?
30996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30997 (exit $ac_status); }; } &&
30998 { ac_try='test -s conftest$ac_exeext'
30999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31000 (eval $ac_try) 2>&5
31001 ac_status=$?
31002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31003 (exit $ac_status); }; }; then
31004 ac_cv_lib_odbc_SQLAllocEnv=yes
31005 else
31006 echo "$as_me: failed program was:" >&5
31007 sed 's/^/| /' conftest.$ac_ext >&5
31008
31009 ac_cv_lib_odbc_SQLAllocEnv=no
31010 fi
31011 rm -f conftest.err conftest.$ac_objext \
31012 conftest$ac_exeext conftest.$ac_ext
31013 LIBS=$ac_check_lib_save_LIBS
31014 fi
31015 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31016 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31017 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31018 ODBC_LINK=" -lodbc"
31019 fi
31020
31021
31022 fi
31023
31024
31025 fi
31026
31027 fi
31028 if test "x$ODBC_LINK" = "x" ; then
31029 if test "$wxUSE_ODBC" = "sys" ; then
31030 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31031 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31032 { (exit 1); exit 1; }; }
31033 else
31034 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31035 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31036 wxUSE_ODBC=builtin
31037 fi
31038 else
31039 wxUSE_ODBC=sys
31040 fi
31041 fi
31042
31043 if test "$wxUSE_ODBC" = "builtin" ; then
31044 cat >>confdefs.h <<\_ACEOF
31045 #define wxUSE_BUILTIN_IODBC 1
31046 _ACEOF
31047
31048 fi
31049 fi
31050
31051 if test "$wxUSE_ODBC" != "no" ; then
31052 cat >>confdefs.h <<\_ACEOF
31053 #define wxUSE_ODBC 1
31054 _ACEOF
31055
31056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31057
31058 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31059 fi
31060
31061
31062 if test "$wxUSE_DISPLAY" = "yes"; then
31063 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31064 echo "$as_me:$LINENO: checking for Xinerama" >&5
31065 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31066
31067 ac_find_libraries=
31068 for ac_dir in $SEARCH_LIB;
31069 do
31070 for ac_extension in a so sl dylib dll.a; do
31071 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31072 ac_find_libraries=$ac_dir
31073 break 2
31074 fi
31075 done
31076 done
31077
31078 if test "$ac_find_libraries" != "" ; then
31079
31080 if test "$ac_find_libraries" = "default location"; then
31081 ac_path_to_link=""
31082 else
31083 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31084 result=$?
31085 if test $result = 0; then
31086 ac_path_to_link=""
31087 else
31088 ac_path_to_link=" -L$ac_find_libraries"
31089 fi
31090 fi
31091
31092 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31093 LDFLAGS="$LDFLAGS $ac_path_to_link"
31094 fi
31095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31096 echo "$as_me:$LINENO: result: yes" >&5
31097 echo "${ECHO_T}yes" >&6
31098
31099 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31100 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31101
31102 ac_find_libraries=
31103 for ac_dir in $SEARCH_LIB;
31104 do
31105 for ac_extension in a so sl dylib dll.a; do
31106 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31107 ac_find_libraries=$ac_dir
31108 break 2
31109 fi
31110 done
31111 done
31112
31113 if test "$ac_find_libraries" != "" ; then
31114 echo "$as_me:$LINENO: result: yes" >&5
31115 echo "${ECHO_T}yes" >&6
31116
31117 for ac_header in X11/extensions/xf86vmode.h
31118 do
31119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31120 echo "$as_me:$LINENO: checking for $ac_header" >&5
31121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31123 echo $ECHO_N "(cached) $ECHO_C" >&6
31124 else
31125 cat >conftest.$ac_ext <<_ACEOF
31126 /* confdefs.h. */
31127 _ACEOF
31128 cat confdefs.h >>conftest.$ac_ext
31129 cat >>conftest.$ac_ext <<_ACEOF
31130 /* end confdefs.h. */
31131
31132 #if HAVE_X11_XLIB_H
31133 #include <X11/Xlib.h>
31134 #endif
31135
31136
31137 #include <$ac_header>
31138 _ACEOF
31139 rm -f conftest.$ac_objext
31140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31141 (eval $ac_compile) 2>conftest.er1
31142 ac_status=$?
31143 grep -v '^ *+' conftest.er1 >conftest.err
31144 rm -f conftest.er1
31145 cat conftest.err >&5
31146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31147 (exit $ac_status); } &&
31148 { ac_try='test -z "$ac_c_werror_flag"
31149 || test ! -s conftest.err'
31150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31151 (eval $ac_try) 2>&5
31152 ac_status=$?
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); }; } &&
31155 { ac_try='test -s conftest.$ac_objext'
31156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31157 (eval $ac_try) 2>&5
31158 ac_status=$?
31159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31160 (exit $ac_status); }; }; then
31161 eval "$as_ac_Header=yes"
31162 else
31163 echo "$as_me: failed program was:" >&5
31164 sed 's/^/| /' conftest.$ac_ext >&5
31165
31166 eval "$as_ac_Header=no"
31167 fi
31168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31169 fi
31170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31173 cat >>confdefs.h <<_ACEOF
31174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31175 _ACEOF
31176
31177 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31178
31179 fi
31180
31181 done
31182
31183 else
31184 echo "$as_me:$LINENO: result: no" >&5
31185 echo "${ECHO_T}no" >&6
31186 fi
31187
31188 else
31189 echo "$as_me:$LINENO: result: no" >&5
31190 echo "${ECHO_T}no" >&6
31191 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31192 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31193 wxUSE_DISPLAY="no"
31194 fi
31195 elif test "$wxUSE_MSW" = 1; then
31196
31197
31198 for ac_header in multimon.h ddraw.h
31199 do
31200 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31201 echo "$as_me:$LINENO: checking for $ac_header" >&5
31202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31204 echo $ECHO_N "(cached) $ECHO_C" >&6
31205 else
31206 cat >conftest.$ac_ext <<_ACEOF
31207 /* confdefs.h. */
31208 _ACEOF
31209 cat confdefs.h >>conftest.$ac_ext
31210 cat >>conftest.$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 #include <windows.h>
31213
31214 #include <$ac_header>
31215 _ACEOF
31216 rm -f conftest.$ac_objext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31218 (eval $ac_compile) 2>conftest.er1
31219 ac_status=$?
31220 grep -v '^ *+' conftest.er1 >conftest.err
31221 rm -f conftest.er1
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try='test -z "$ac_c_werror_flag"
31226 || test ! -s conftest.err'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; } &&
31232 { ac_try='test -s conftest.$ac_objext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_Header=yes"
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31242
31243 eval "$as_ac_Header=no"
31244 fi
31245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31246 fi
31247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31248 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31250 cat >>confdefs.h <<_ACEOF
31251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31252 _ACEOF
31253
31254 else
31255
31256 wxUSE_DISPLAY="no"
31257 { echo "$as_me:$LINENO: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&5
31258 echo "$as_me: WARNING: ddraw.h or multimon.h not found; disabling wxDisplay" >&2;}
31259
31260 fi
31261
31262 done
31263
31264 fi
31265 fi
31266
31267
31268 USE_OPENGL=0
31269 if test "$wxUSE_OPENGL" = "yes"; then
31270 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
31271 OPENGL_LIBS="-framework OpenGL -framework AGL"
31272 elif test "$wxUSE_MSW" = 1; then
31273 OPENGL_LIBS="-lopengl32 -lglu32"
31274 else
31275
31276
31277 ac_find_includes=
31278 for ac_dir in $SEARCH_INCLUDE /usr/include;
31279 do
31280 if test -f "$ac_dir/GL/gl.h"; then
31281 ac_find_includes=$ac_dir
31282 break
31283 fi
31284 done
31285
31286 if test "$ac_find_includes" != "" ; then
31287 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31288 echo "${ECHO_T}found in $ac_find_includes" >&6
31289
31290 if test "x$ac_find_includes" = "x/usr/include"; then
31291 ac_path_to_include=""
31292 else
31293 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
31294 result=$?
31295 if test $result = 0; then
31296 ac_path_to_include=""
31297 else
31298 ac_path_to_include=" -I$ac_find_includes"
31299 fi
31300 fi
31301
31302 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
31303 fi
31304
31305 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31306 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31307 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31308 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 fi
31311 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31312 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31313 else
31314 # Is the header compilable?
31315 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
31316 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
31317 cat >conftest.$ac_ext <<_ACEOF
31318 /* confdefs.h. */
31319 _ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 $ac_includes_default
31324 #include <GL/gl.h>
31325 _ACEOF
31326 rm -f conftest.$ac_objext
31327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31328 (eval $ac_compile) 2>conftest.er1
31329 ac_status=$?
31330 grep -v '^ *+' conftest.er1 >conftest.err
31331 rm -f conftest.er1
31332 cat conftest.err >&5
31333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31334 (exit $ac_status); } &&
31335 { ac_try='test -z "$ac_c_werror_flag"
31336 || test ! -s conftest.err'
31337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31338 (eval $ac_try) 2>&5
31339 ac_status=$?
31340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31341 (exit $ac_status); }; } &&
31342 { ac_try='test -s conftest.$ac_objext'
31343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31344 (eval $ac_try) 2>&5
31345 ac_status=$?
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); }; }; then
31348 ac_header_compiler=yes
31349 else
31350 echo "$as_me: failed program was:" >&5
31351 sed 's/^/| /' conftest.$ac_ext >&5
31352
31353 ac_header_compiler=no
31354 fi
31355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31356 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31357 echo "${ECHO_T}$ac_header_compiler" >&6
31358
31359 # Is the header present?
31360 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
31361 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
31362 cat >conftest.$ac_ext <<_ACEOF
31363 /* confdefs.h. */
31364 _ACEOF
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368 #include <GL/gl.h>
31369 _ACEOF
31370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31372 ac_status=$?
31373 grep -v '^ *+' conftest.er1 >conftest.err
31374 rm -f conftest.er1
31375 cat conftest.err >&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); } >/dev/null; then
31378 if test -s conftest.err; then
31379 ac_cpp_err=$ac_c_preproc_warn_flag
31380 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31381 else
31382 ac_cpp_err=
31383 fi
31384 else
31385 ac_cpp_err=yes
31386 fi
31387 if test -z "$ac_cpp_err"; then
31388 ac_header_preproc=yes
31389 else
31390 echo "$as_me: failed program was:" >&5
31391 sed 's/^/| /' conftest.$ac_ext >&5
31392
31393 ac_header_preproc=no
31394 fi
31395 rm -f conftest.err conftest.$ac_ext
31396 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31397 echo "${ECHO_T}$ac_header_preproc" >&6
31398
31399 # So? What about this header?
31400 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31401 yes:no: )
31402 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
31403 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31404 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
31405 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
31406 ac_header_preproc=yes
31407 ;;
31408 no:yes:* )
31409 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
31410 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
31411 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
31412 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
31413 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
31414 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
31415 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
31416 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
31417 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
31418 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
31419 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
31420 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
31421 (
31422 cat <<\_ASBOX
31423 ## ----------------------------------------- ##
31424 ## Report this to wx-dev@lists.wxwidgets.org ##
31425 ## ----------------------------------------- ##
31426 _ASBOX
31427 ) |
31428 sed "s/^/$as_me: WARNING: /" >&2
31429 ;;
31430 esac
31431 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
31432 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
31433 if test "${ac_cv_header_GL_gl_h+set}" = set; then
31434 echo $ECHO_N "(cached) $ECHO_C" >&6
31435 else
31436 ac_cv_header_GL_gl_h=$ac_header_preproc
31437 fi
31438 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
31439 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
31440
31441 fi
31442 if test $ac_cv_header_GL_gl_h = yes; then
31443
31444 found_gl=0
31445
31446 echo "$as_me:$LINENO: checking for -lGL" >&5
31447 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
31448
31449 ac_find_libraries=
31450 for ac_dir in $SEARCH_LIB;
31451 do
31452 for ac_extension in a so sl dylib dll.a; do
31453 if test -f "$ac_dir/libGL.$ac_extension"; then
31454 ac_find_libraries=$ac_dir
31455 break 2
31456 fi
31457 done
31458 done
31459
31460 if test "$ac_find_libraries" != "" ; then
31461 echo "$as_me:$LINENO: result: yes" >&5
31462 echo "${ECHO_T}yes" >&6
31463
31464
31465 if test "$ac_find_libraries" = "default location"; then
31466 ac_path_to_link=""
31467 else
31468 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31469 result=$?
31470 if test $result = 0; then
31471 ac_path_to_link=""
31472 else
31473 ac_path_to_link=" -L$ac_find_libraries"
31474 fi
31475 fi
31476
31477 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31478 LDFLAGS_GL="$ac_path_to_link"
31479 fi
31480
31481 echo "$as_me:$LINENO: checking for -lGLU" >&5
31482 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
31483
31484 ac_find_libraries=
31485 for ac_dir in $SEARCH_LIB;
31486 do
31487 for ac_extension in a so sl dylib dll.a; do
31488 if test -f "$ac_dir/libGLU.$ac_extension"; then
31489 ac_find_libraries=$ac_dir
31490 break 2
31491 fi
31492 done
31493 done
31494
31495 if test "$ac_find_libraries" != "" ; then
31496
31497 if test "$ac_find_libraries" = "default location"; then
31498 ac_path_to_link=""
31499 else
31500 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31501 result=$?
31502 if test $result = 0; then
31503 ac_path_to_link=""
31504 else
31505 ac_path_to_link=" -L$ac_find_libraries"
31506 fi
31507 fi
31508
31509 if test "$ac_path_to_link" != " -L/usr/lib" -a \
31510 "$ac_path_to_link" != "$LDFLAGS_GL"; then
31511 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
31512 fi
31513
31514 found_gl=1
31515 OPENGL_LIBS="-lGL -lGLU"
31516 echo "$as_me:$LINENO: result: yes" >&5
31517 echo "${ECHO_T}yes" >&6
31518 else
31519 echo "$as_me:$LINENO: result: no" >&5
31520 echo "${ECHO_T}no" >&6
31521 fi
31522 else
31523 echo "$as_me:$LINENO: result: no" >&5
31524 echo "${ECHO_T}no" >&6
31525 fi
31526
31527 if test "$found_gl" != 1; then
31528 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
31529 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
31530
31531 ac_find_libraries=
31532 for ac_dir in $SEARCH_LIB;
31533 do
31534 for ac_extension in a so sl dylib dll.a; do
31535 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
31536 ac_find_libraries=$ac_dir
31537 break 2
31538 fi
31539 done
31540 done
31541
31542 if test "$ac_find_libraries" != "" ; then
31543
31544 if test "$ac_find_libraries" = "default location"; then
31545 ac_path_to_link=""
31546 else
31547 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31548 result=$?
31549 if test $result = 0; then
31550 ac_path_to_link=""
31551 else
31552 ac_path_to_link=" -L$ac_find_libraries"
31553 fi
31554 fi
31555
31556 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
31557 OPENGL_LIBS="-lMesaGL -lMesaGLU"
31558 echo "$as_me:$LINENO: result: yes" >&5
31559 echo "${ECHO_T}yes" >&6
31560 else
31561 echo "$as_me:$LINENO: result: no" >&5
31562 echo "${ECHO_T}no" >&6
31563 fi
31564 fi
31565
31566 fi
31567
31568
31569
31570 if test "x$OPENGL_LIBS" = "x"; then
31571 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
31572 echo "$as_me: error: OpenGL libraries not available" >&2;}
31573 { (exit 1); exit 1; }; }
31574 fi
31575 fi
31576
31577 if test "$wxUSE_OPENGL" = "yes"; then
31578 USE_OPENGL=1
31579 cat >>confdefs.h <<\_ACEOF
31580 #define wxUSE_OPENGL 1
31581 _ACEOF
31582
31583 cat >>confdefs.h <<\_ACEOF
31584 #define wxUSE_GLCANVAS 1
31585 _ACEOF
31586
31587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
31588 fi
31589 fi
31590
31591
31592 if test -n "$TOOLKIT" ; then
31593 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
31594 fi
31595
31596
31597
31598 if test "$wxUSE_SHARED" = "yes"; then
31599 case "${host}" in
31600 *-pc-msdosdjgpp )
31601 wxUSE_SHARED=no
31602 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
31603 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
31604 ;;
31605 esac
31606 fi
31607
31608 if test "$wxUSE_SHARED" = "yes"; then
31609
31610
31611 found_versioning=no
31612
31613
31614 if test $found_versioning = no ; then
31615 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
31616 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
31617 if test "${wx_cv_version_script+set}" = set; then
31618 echo $ECHO_N "(cached) $ECHO_C" >&6
31619 else
31620
31621 echo "VER_1 { *; };" >conftest.sym
31622 echo "int main() { return 0; }" >conftest.cpp
31623
31624 if { ac_try='
31625 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31626 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
31627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31628 (eval $ac_try) 2>&5
31629 ac_status=$?
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); }; } ; then
31632 if test -s conftest.stderr ; then
31633 wx_cv_version_script=no
31634 else
31635 wx_cv_version_script=yes
31636 fi
31637 else
31638 wx_cv_version_script=no
31639 fi
31640
31641 if test $wx_cv_version_script = yes
31642 then
31643 echo "struct B { virtual ~B() { } }; \
31644 struct D : public B { }; \
31645 void F() { D d; }" > conftest.cpp
31646
31647 if { ac_try='
31648 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31649 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
31650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31651 (eval $ac_try) 2>&5
31652 ac_status=$?
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; } &&
31655 { ac_try='
31656 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31657 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
31658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31659 (eval $ac_try) 2>&5
31660 ac_status=$?
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; }
31663 then
31664 if { ac_try='
31665 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
31666 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
31667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31668 (eval $ac_try) 2>&5
31669 ac_status=$?
31670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31671 (exit $ac_status); }; }
31672 then
31673 wx_cv_version_script=yes
31674 else
31675 wx_cv_version_script=no
31676 fi
31677 fi
31678 fi
31679
31680 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
31681 rm -f conftest1.output conftest2.output conftest3.output
31682
31683 fi
31684 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
31685 echo "${ECHO_T}$wx_cv_version_script" >&6
31686 if test $wx_cv_version_script = yes ; then
31687 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
31688 fi
31689 fi
31690
31691
31692 case "${host}" in
31693 *-*-linux* | *-*-gnu* )
31694 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31695 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31696 ;;
31697
31698 *-*-solaris2* )
31699 if test "$GCC" = yes ; then
31700 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
31701
31702 saveLdflags="$LDFLAGS"
31703 LDFLAGS="$saveLdflags -Wl,-rpath,/"
31704 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
31705 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
31706 cat >conftest.$ac_ext <<_ACEOF
31707 /* confdefs.h. */
31708 _ACEOF
31709 cat confdefs.h >>conftest.$ac_ext
31710 cat >>conftest.$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31712
31713 int
31714 main ()
31715 {
31716
31717 ;
31718 return 0;
31719 }
31720 _ACEOF
31721 rm -f conftest.$ac_objext conftest$ac_exeext
31722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31723 (eval $ac_link) 2>conftest.er1
31724 ac_status=$?
31725 grep -v '^ *+' conftest.er1 >conftest.err
31726 rm -f conftest.er1
31727 cat conftest.err >&5
31728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31729 (exit $ac_status); } &&
31730 { ac_try='test -z "$ac_c_werror_flag"
31731 || test ! -s conftest.err'
31732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31733 (eval $ac_try) 2>&5
31734 ac_status=$?
31735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 (exit $ac_status); }; } &&
31737 { ac_try='test -s conftest$ac_exeext'
31738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31739 (eval $ac_try) 2>&5
31740 ac_status=$?
31741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31742 (exit $ac_status); }; }; then
31743
31744 echo "$as_me:$LINENO: result: yes" >&5
31745 echo "${ECHO_T}yes" >&6
31746 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
31747 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
31748
31749 else
31750 echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753
31754 echo "$as_me:$LINENO: result: no" >&5
31755 echo "${ECHO_T}no" >&6
31756 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
31757 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
31758 LDFLAGS="$saveLdflags -Wl,-R,/"
31759 cat >conftest.$ac_ext <<_ACEOF
31760 /* confdefs.h. */
31761 _ACEOF
31762 cat confdefs.h >>conftest.$ac_ext
31763 cat >>conftest.$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31765
31766 int
31767 main ()
31768 {
31769
31770 ;
31771 return 0;
31772 }
31773 _ACEOF
31774 rm -f conftest.$ac_objext conftest$ac_exeext
31775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31776 (eval $ac_link) 2>conftest.er1
31777 ac_status=$?
31778 grep -v '^ *+' conftest.er1 >conftest.err
31779 rm -f conftest.er1
31780 cat conftest.err >&5
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); } &&
31783 { ac_try='test -z "$ac_c_werror_flag"
31784 || test ! -s conftest.err'
31785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31786 (eval $ac_try) 2>&5
31787 ac_status=$?
31788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31789 (exit $ac_status); }; } &&
31790 { ac_try='test -s conftest$ac_exeext'
31791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31792 (eval $ac_try) 2>&5
31793 ac_status=$?
31794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31795 (exit $ac_status); }; }; then
31796
31797 echo "$as_me:$LINENO: result: yes" >&5
31798 echo "${ECHO_T}yes" >&6
31799 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
31800 WXCONFIG_RPATH="-Wl,-R,\$libdir"
31801
31802 else
31803 echo "$as_me: failed program was:" >&5
31804 sed 's/^/| /' conftest.$ac_ext >&5
31805
31806
31807 echo "$as_me:$LINENO: result: no" >&5
31808 echo "${ECHO_T}no" >&6
31809
31810 fi
31811 rm -f conftest.err conftest.$ac_objext \
31812 conftest$ac_exeext conftest.$ac_ext
31813
31814 fi
31815 rm -f conftest.err conftest.$ac_objext \
31816 conftest$ac_exeext conftest.$ac_ext
31817 LDFLAGS="$saveLdflags"
31818 else
31819 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
31820 WXCONFIG_RPATH="-R\$libdir"
31821 fi
31822 ;;
31823
31824 *-*-darwin* )
31825 install_name_tool=`which install_name_tool`
31826 if test "$install_name_tool" -a -x "$install_name_tool"; then
31827 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
31828 cat <<EOF >change-install-names
31829 #!/bin/sh
31830 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
31831 inst_cmd="install_name_tool "
31832 for i in \${libnames} ; do
31833 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
31834 done
31835 \${inst_cmd} \${3}
31836 EOF
31837 chmod +x change-install-names
31838 fi
31839 ;;
31840
31841 *-*-cygwin* | *-*-mingw32* )
31842 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
31843 ;;
31844
31845 *-*-hpux* )
31846 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
31847 WXCONFIG_RPATH="-Wl,+b,\$libdir"
31848 ;;
31849
31850 esac
31851
31852 if test $wxUSE_RPATH = "no"; then
31853 SAMPLES_RPATH_FLAG=''
31854 SAMPLES_RPATH_POSTLINK=''
31855 WXCONFIG_RPATH=''
31856 fi
31857
31858 SHARED=1
31859
31860 else
31861
31862 config_linkage_component="-static"
31863 SHARED=0
31864
31865 fi
31866
31867
31868 UNICODE=0
31869 lib_unicode_suffix=
31870 WX_CHARTYPE="ansi"
31871 if test "$wxUSE_UNICODE" = "yes"; then
31872 lib_unicode_suffix=u
31873 WX_CHARTYPE="unicode"
31874 UNICODE=1
31875 fi
31876
31877 lib_debug_suffix=
31878 WX_DEBUGTYPE="release"
31879 DEBUG_FLAG=0
31880 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
31881 lib_debug_suffix=d
31882 WX_DEBUGTYPE="debug"
31883 DEBUG_FLAG=1
31884 fi
31885
31886 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
31887 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
31888
31889 DEBUG_INFO=0
31890 if test "$wxUSE_DEBUG_INFO" = "yes"; then
31891 DEBUG_INFO=1
31892 fi
31893
31894 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
31895
31896 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
31897
31898 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
31899
31900 if test "$cross_compiling" = "yes"; then
31901 HOST_SUFFIX="-$host_alias"
31902 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
31903 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
31904 fi
31905
31906 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31907 if test "${TOOLKIT_DIR}" = "os2"; then
31908 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31909 else
31910 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
31911 fi
31912
31913
31914
31915 if test "$wxUSE_COCOA" = 1; then
31916
31917
31918 ac_ext=c
31919 ac_cpp='$CPP $CPPFLAGS'
31920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31923
31924 ac_ext=m
31925
31926 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
31927 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
31928 cat >conftest.$ac_ext <<_ACEOF
31929 /* confdefs.h. */
31930 _ACEOF
31931 cat confdefs.h >>conftest.$ac_ext
31932 cat >>conftest.$ac_ext <<_ACEOF
31933 /* end confdefs.h. */
31934 #include <AppKit/NSEvent.h>
31935 #include <CoreFoundation/CoreFoundation.h>
31936
31937 int
31938 main ()
31939 {
31940
31941 ;
31942 return 0;
31943 }
31944 _ACEOF
31945 rm -f conftest.$ac_objext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31947 (eval $ac_compile) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest.$ac_objext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 echo "$as_me:$LINENO: result: no" >&5
31968 echo "${ECHO_T}no" >&6
31969 else
31970 echo "$as_me: failed program was:" >&5
31971 sed 's/^/| /' conftest.$ac_ext >&5
31972
31973 echo "$as_me:$LINENO: result: yes" >&5
31974 echo "${ECHO_T}yes" >&6
31975 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
31976 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
31977 cat >conftest.$ac_ext <<_ACEOF
31978 /* confdefs.h. */
31979 _ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 #define __Point__ 1
31984 #include <AppKit/NSEvent.h>
31985 #include <CoreFoundation/CoreFoundation.h>
31986
31987 int
31988 main ()
31989 {
31990
31991 ;
31992 return 0;
31993 }
31994 _ACEOF
31995 rm -f conftest.$ac_objext
31996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31997 (eval $ac_compile) 2>conftest.er1
31998 ac_status=$?
31999 grep -v '^ *+' conftest.er1 >conftest.err
32000 rm -f conftest.er1
32001 cat conftest.err >&5
32002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32003 (exit $ac_status); } &&
32004 { ac_try='test -z "$ac_c_werror_flag"
32005 || test ! -s conftest.err'
32006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32007 (eval $ac_try) 2>&5
32008 ac_status=$?
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); }; } &&
32011 { ac_try='test -s conftest.$ac_objext'
32012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32013 (eval $ac_try) 2>&5
32014 ac_status=$?
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); }; }; then
32017 echo "$as_me:$LINENO: result: yes" >&5
32018 echo "${ECHO_T}yes" >&6
32019 cat >>confdefs.h <<\_ACEOF
32020 #define __Point__ 1
32021 _ACEOF
32022
32023
32024 else
32025 echo "$as_me: failed program was:" >&5
32026 sed 's/^/| /' conftest.$ac_ext >&5
32027
32028 { { echo "$as_me:$LINENO: error: no
32029 See \`config.log' for more details." >&5
32030 echo "$as_me: error: no
32031 See \`config.log' for more details." >&2;}
32032 { (exit 1); exit 1; }; }
32033
32034 fi
32035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32036
32037 fi
32038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32039 ac_ext=c
32040 ac_cpp='$CPP $CPPFLAGS'
32041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32044
32045 fi
32046
32047 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32048 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32049 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32050
32051 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32052
32053 # Extract the first word of "Rez", so it can be a program name with args.
32054 set dummy Rez; ac_word=$2
32055 echo "$as_me:$LINENO: checking for $ac_word" >&5
32056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32057 if test "${ac_cv_prog_REZ+set}" = set; then
32058 echo $ECHO_N "(cached) $ECHO_C" >&6
32059 else
32060 if test -n "$REZ"; then
32061 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32062 else
32063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32064 for as_dir in $PATH
32065 do
32066 IFS=$as_save_IFS
32067 test -z "$as_dir" && as_dir=.
32068 for ac_exec_ext in '' $ac_executable_extensions; do
32069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32070 ac_cv_prog_REZ="Rez"
32071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32072 break 2
32073 fi
32074 done
32075 done
32076
32077 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32078 fi
32079 fi
32080 REZ=$ac_cv_prog_REZ
32081 if test -n "$REZ"; then
32082 echo "$as_me:$LINENO: result: $REZ" >&5
32083 echo "${ECHO_T}$REZ" >&6
32084 else
32085 echo "$as_me:$LINENO: result: no" >&5
32086 echo "${ECHO_T}no" >&6
32087 fi
32088
32089 # Extract the first word of "DeRez", so it can be a program name with args.
32090 set dummy DeRez; ac_word=$2
32091 echo "$as_me:$LINENO: checking for $ac_word" >&5
32092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32093 if test "${ac_cv_prog_DEREZ+set}" = set; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 else
32096 if test -n "$DEREZ"; then
32097 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32098 else
32099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32100 for as_dir in $PATH
32101 do
32102 IFS=$as_save_IFS
32103 test -z "$as_dir" && as_dir=.
32104 for ac_exec_ext in '' $ac_executable_extensions; do
32105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32106 ac_cv_prog_DEREZ="DeRez"
32107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32108 break 2
32109 fi
32110 done
32111 done
32112
32113 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32114 fi
32115 fi
32116 DEREZ=$ac_cv_prog_DEREZ
32117 if test -n "$DEREZ"; then
32118 echo "$as_me:$LINENO: result: $DEREZ" >&5
32119 echo "${ECHO_T}$DEREZ" >&6
32120 else
32121 echo "$as_me:$LINENO: result: no" >&5
32122 echo "${ECHO_T}no" >&6
32123 fi
32124
32125 # Extract the first word of "SetFile", so it can be a program name with args.
32126 set dummy SetFile; ac_word=$2
32127 echo "$as_me:$LINENO: checking for $ac_word" >&5
32128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32129 if test "${ac_cv_prog_SETFILE+set}" = set; then
32130 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 else
32132 if test -n "$SETFILE"; then
32133 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32134 else
32135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32136 for as_dir in $PATH
32137 do
32138 IFS=$as_save_IFS
32139 test -z "$as_dir" && as_dir=.
32140 for ac_exec_ext in '' $ac_executable_extensions; do
32141 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32142 ac_cv_prog_SETFILE="SetFile"
32143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32144 break 2
32145 fi
32146 done
32147 done
32148
32149 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32150 fi
32151 fi
32152 SETFILE=$ac_cv_prog_SETFILE
32153 if test -n "$SETFILE"; then
32154 echo "$as_me:$LINENO: result: $SETFILE" >&5
32155 echo "${ECHO_T}$SETFILE" >&6
32156 else
32157 echo "$as_me:$LINENO: result: no" >&5
32158 echo "${ECHO_T}no" >&6
32159 fi
32160
32161
32162 MACSETFILE="\$(SETFILE)"
32163
32164 if test "$wxUSE_MAC" = 1; then
32165 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32166 RESCOMP="$REZ"
32167 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32168 else
32169 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32170 RESCOMP="echo -n \| $REZ"
32171 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32172 fi
32173
32174 else
32175 MACSETFILE="@true"
32176
32177 if test "$wxUSE_PM" = 1; then
32178 RESCOMP="emxbind"
32179 WXCONFIG_RESFLAGS="-ep"
32180
32181 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32182 else
32183 POSTLINK_COMMAND="@true"
32184 fi
32185
32186 fi
32187
32188
32189
32190 echo "$as_me:$LINENO: checking for mode_t" >&5
32191 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
32192 if test "${ac_cv_type_mode_t+set}" = set; then
32193 echo $ECHO_N "(cached) $ECHO_C" >&6
32194 else
32195 cat >conftest.$ac_ext <<_ACEOF
32196 /* confdefs.h. */
32197 _ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32201 $ac_includes_default
32202 int
32203 main ()
32204 {
32205 if ((mode_t *) 0)
32206 return 0;
32207 if (sizeof (mode_t))
32208 return 0;
32209 ;
32210 return 0;
32211 }
32212 _ACEOF
32213 rm -f conftest.$ac_objext
32214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32215 (eval $ac_compile) 2>conftest.er1
32216 ac_status=$?
32217 grep -v '^ *+' conftest.er1 >conftest.err
32218 rm -f conftest.er1
32219 cat conftest.err >&5
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); } &&
32222 { ac_try='test -z "$ac_c_werror_flag"
32223 || test ! -s conftest.err'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; } &&
32229 { ac_try='test -s conftest.$ac_objext'
32230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32231 (eval $ac_try) 2>&5
32232 ac_status=$?
32233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32234 (exit $ac_status); }; }; then
32235 ac_cv_type_mode_t=yes
32236 else
32237 echo "$as_me: failed program was:" >&5
32238 sed 's/^/| /' conftest.$ac_ext >&5
32239
32240 ac_cv_type_mode_t=no
32241 fi
32242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32243 fi
32244 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
32245 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
32246 if test $ac_cv_type_mode_t = yes; then
32247 :
32248 else
32249
32250 cat >>confdefs.h <<_ACEOF
32251 #define mode_t int
32252 _ACEOF
32253
32254 fi
32255
32256 echo "$as_me:$LINENO: checking for off_t" >&5
32257 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
32258 if test "${ac_cv_type_off_t+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 cat >conftest.$ac_ext <<_ACEOF
32262 /* confdefs.h. */
32263 _ACEOF
32264 cat confdefs.h >>conftest.$ac_ext
32265 cat >>conftest.$ac_ext <<_ACEOF
32266 /* end confdefs.h. */
32267 $ac_includes_default
32268 int
32269 main ()
32270 {
32271 if ((off_t *) 0)
32272 return 0;
32273 if (sizeof (off_t))
32274 return 0;
32275 ;
32276 return 0;
32277 }
32278 _ACEOF
32279 rm -f conftest.$ac_objext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32281 (eval $ac_compile) 2>conftest.er1
32282 ac_status=$?
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try='test -z "$ac_c_werror_flag"
32289 || test ! -s conftest.err'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32292 ac_status=$?
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; } &&
32295 { ac_try='test -s conftest.$ac_objext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32298 ac_status=$?
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 ac_cv_type_off_t=yes
32302 else
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.$ac_ext >&5
32305
32306 ac_cv_type_off_t=no
32307 fi
32308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32309 fi
32310 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
32311 echo "${ECHO_T}$ac_cv_type_off_t" >&6
32312 if test $ac_cv_type_off_t = yes; then
32313 :
32314 else
32315
32316 cat >>confdefs.h <<_ACEOF
32317 #define off_t long
32318 _ACEOF
32319
32320 fi
32321
32322 echo "$as_me:$LINENO: checking for pid_t" >&5
32323 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
32324 if test "${ac_cv_type_pid_t+set}" = set; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 cat >conftest.$ac_ext <<_ACEOF
32328 /* confdefs.h. */
32329 _ACEOF
32330 cat confdefs.h >>conftest.$ac_ext
32331 cat >>conftest.$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 $ac_includes_default
32334 int
32335 main ()
32336 {
32337 if ((pid_t *) 0)
32338 return 0;
32339 if (sizeof (pid_t))
32340 return 0;
32341 ;
32342 return 0;
32343 }
32344 _ACEOF
32345 rm -f conftest.$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32348 ac_status=$?
32349 grep -v '^ *+' conftest.er1 >conftest.err
32350 rm -f conftest.er1
32351 cat conftest.err >&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try='test -z "$ac_c_werror_flag"
32355 || test ! -s conftest.err'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; } &&
32361 { ac_try='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 ac_cv_type_pid_t=yes
32368 else
32369 echo "$as_me: failed program was:" >&5
32370 sed 's/^/| /' conftest.$ac_ext >&5
32371
32372 ac_cv_type_pid_t=no
32373 fi
32374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32375 fi
32376 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
32377 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
32378 if test $ac_cv_type_pid_t = yes; then
32379 :
32380 else
32381
32382 cat >>confdefs.h <<_ACEOF
32383 #define pid_t int
32384 _ACEOF
32385
32386 fi
32387
32388 echo "$as_me:$LINENO: checking for size_t" >&5
32389 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
32390 if test "${ac_cv_type_size_t+set}" = set; then
32391 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 else
32393 cat >conftest.$ac_ext <<_ACEOF
32394 /* confdefs.h. */
32395 _ACEOF
32396 cat confdefs.h >>conftest.$ac_ext
32397 cat >>conftest.$ac_ext <<_ACEOF
32398 /* end confdefs.h. */
32399 $ac_includes_default
32400 int
32401 main ()
32402 {
32403 if ((size_t *) 0)
32404 return 0;
32405 if (sizeof (size_t))
32406 return 0;
32407 ;
32408 return 0;
32409 }
32410 _ACEOF
32411 rm -f conftest.$ac_objext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32413 (eval $ac_compile) 2>conftest.er1
32414 ac_status=$?
32415 grep -v '^ *+' conftest.er1 >conftest.err
32416 rm -f conftest.er1
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try='test -z "$ac_c_werror_flag"
32421 || test ! -s conftest.err'
32422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32423 (eval $ac_try) 2>&5
32424 ac_status=$?
32425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32426 (exit $ac_status); }; } &&
32427 { ac_try='test -s conftest.$ac_objext'
32428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32429 (eval $ac_try) 2>&5
32430 ac_status=$?
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); }; }; then
32433 ac_cv_type_size_t=yes
32434 else
32435 echo "$as_me: failed program was:" >&5
32436 sed 's/^/| /' conftest.$ac_ext >&5
32437
32438 ac_cv_type_size_t=no
32439 fi
32440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32441 fi
32442 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
32443 echo "${ECHO_T}$ac_cv_type_size_t" >&6
32444 if test $ac_cv_type_size_t = yes; then
32445 :
32446 else
32447
32448 cat >>confdefs.h <<_ACEOF
32449 #define size_t unsigned
32450 _ACEOF
32451
32452 fi
32453
32454 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
32455 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
32456 if test "${ac_cv_type_uid_t+set}" = set; then
32457 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 else
32459 cat >conftest.$ac_ext <<_ACEOF
32460 /* confdefs.h. */
32461 _ACEOF
32462 cat confdefs.h >>conftest.$ac_ext
32463 cat >>conftest.$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 #include <sys/types.h>
32466
32467 _ACEOF
32468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
32469 $EGREP "uid_t" >/dev/null 2>&1; then
32470 ac_cv_type_uid_t=yes
32471 else
32472 ac_cv_type_uid_t=no
32473 fi
32474 rm -f conftest*
32475
32476 fi
32477 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
32478 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
32479 if test $ac_cv_type_uid_t = no; then
32480
32481 cat >>confdefs.h <<\_ACEOF
32482 #define uid_t int
32483 _ACEOF
32484
32485
32486 cat >>confdefs.h <<\_ACEOF
32487 #define gid_t int
32488 _ACEOF
32489
32490 fi
32491
32492
32493 echo "$as_me:$LINENO: checking for ssize_t" >&5
32494 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
32495 if test "${ac_cv_type_ssize_t+set}" = set; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504 $ac_includes_default
32505 int
32506 main ()
32507 {
32508 if ((ssize_t *) 0)
32509 return 0;
32510 if (sizeof (ssize_t))
32511 return 0;
32512 ;
32513 return 0;
32514 }
32515 _ACEOF
32516 rm -f conftest.$ac_objext
32517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32518 (eval $ac_compile) 2>conftest.er1
32519 ac_status=$?
32520 grep -v '^ *+' conftest.er1 >conftest.err
32521 rm -f conftest.er1
32522 cat conftest.err >&5
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); } &&
32525 { ac_try='test -z "$ac_c_werror_flag"
32526 || test ! -s conftest.err'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32529 ac_status=$?
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; } &&
32532 { ac_try='test -s conftest.$ac_objext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32535 ac_status=$?
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 ac_cv_type_ssize_t=yes
32539 else
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32542
32543 ac_cv_type_ssize_t=no
32544 fi
32545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32546 fi
32547 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
32548 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
32549 if test $ac_cv_type_ssize_t = yes; then
32550
32551 cat >>confdefs.h <<_ACEOF
32552 #define HAVE_SSIZE_T 1
32553 _ACEOF
32554
32555
32556 fi
32557
32558
32559
32560
32561 ac_ext=cc
32562 ac_cpp='$CXXCPP $CPPFLAGS'
32563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32566
32567 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
32568 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
32569 if test "${wx_cv_size_t_is_uint+set}" = set; then
32570 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 else
32572
32573 cat >conftest.$ac_ext <<_ACEOF
32574 /* confdefs.h. */
32575 _ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579 #include <stddef.h>
32580 int
32581 main ()
32582 {
32583
32584 return 0; }
32585
32586 struct Foo { void foo(size_t); void foo(unsigned int); };
32587
32588 int bar() {
32589
32590 ;
32591 return 0;
32592 }
32593 _ACEOF
32594 rm -f conftest.$ac_objext
32595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32596 (eval $ac_compile) 2>conftest.er1
32597 ac_status=$?
32598 grep -v '^ *+' conftest.er1 >conftest.err
32599 rm -f conftest.er1
32600 cat conftest.err >&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); } &&
32603 { ac_try='test -z "$ac_cxx_werror_flag"
32604 || test ! -s conftest.err'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32607 ac_status=$?
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; } &&
32610 { ac_try='test -s conftest.$ac_objext'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; }; then
32616 wx_cv_size_t_is_uint=no
32617 else
32618 echo "$as_me: failed program was:" >&5
32619 sed 's/^/| /' conftest.$ac_ext >&5
32620
32621 wx_cv_size_t_is_uint=yes
32622
32623 fi
32624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32625
32626
32627 fi
32628 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
32629 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
32630
32631 if test "$wx_cv_size_t_is_uint" = "yes"; then
32632 cat >>confdefs.h <<\_ACEOF
32633 #define wxSIZE_T_IS_UINT 1
32634 _ACEOF
32635
32636 else
32637 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
32638 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
32639 if test "${wx_cv_size_t_is_ulong+set}" = set; then
32640 echo $ECHO_N "(cached) $ECHO_C" >&6
32641 else
32642 cat >conftest.$ac_ext <<_ACEOF
32643 /* confdefs.h. */
32644 _ACEOF
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 #include <stddef.h>
32649 int
32650 main ()
32651 {
32652
32653 return 0; }
32654
32655 struct Foo { void foo(size_t); void foo(unsigned long); };
32656
32657 int bar() {
32658
32659 ;
32660 return 0;
32661 }
32662 _ACEOF
32663 rm -f conftest.$ac_objext
32664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32665 (eval $ac_compile) 2>conftest.er1
32666 ac_status=$?
32667 grep -v '^ *+' conftest.er1 >conftest.err
32668 rm -f conftest.er1
32669 cat conftest.err >&5
32670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32671 (exit $ac_status); } &&
32672 { ac_try='test -z "$ac_cxx_werror_flag"
32673 || test ! -s conftest.err'
32674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32675 (eval $ac_try) 2>&5
32676 ac_status=$?
32677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678 (exit $ac_status); }; } &&
32679 { ac_try='test -s conftest.$ac_objext'
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 wx_cv_size_t_is_ulong=no
32686 else
32687 echo "$as_me: failed program was:" >&5
32688 sed 's/^/| /' conftest.$ac_ext >&5
32689
32690 wx_cv_size_t_is_ulong=yes
32691
32692 fi
32693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32694
32695 fi
32696 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
32697 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
32698
32699 if test "$wx_cv_size_t_is_ulong" = "yes"; then
32700 cat >>confdefs.h <<\_ACEOF
32701 #define wxSIZE_T_IS_ULONG 1
32702 _ACEOF
32703
32704 fi
32705 fi
32706
32707 ac_ext=c
32708 ac_cpp='$CPP $CPPFLAGS'
32709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32712
32713
32714
32715 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
32716 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
32717 if test "${wx_cv_struct_pw_gecos+set}" = set; then
32718 echo $ECHO_N "(cached) $ECHO_C" >&6
32719 else
32720
32721 cat >conftest.$ac_ext <<_ACEOF
32722 /* confdefs.h. */
32723 _ACEOF
32724 cat confdefs.h >>conftest.$ac_ext
32725 cat >>conftest.$ac_ext <<_ACEOF
32726 /* end confdefs.h. */
32727 #include <pwd.h>
32728 int
32729 main ()
32730 {
32731
32732 char *p;
32733 struct passwd *pw;
32734 p = pw->pw_gecos;
32735
32736 ;
32737 return 0;
32738 }
32739 _ACEOF
32740 rm -f conftest.$ac_objext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32742 (eval $ac_compile) 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try='test -z "$ac_c_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest.$ac_objext'
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
32763 wx_cv_struct_pw_gecos=yes
32764
32765 else
32766 echo "$as_me: failed program was:" >&5
32767 sed 's/^/| /' conftest.$ac_ext >&5
32768
32769
32770 wx_cv_struct_pw_gecos=no
32771
32772
32773 fi
32774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32775
32776
32777 fi
32778 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
32779 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
32780
32781 if test "$wx_cv_struct_pw_gecos" = "yes"; then
32782 cat >>confdefs.h <<\_ACEOF
32783 #define HAVE_PW_GECOS 1
32784 _ACEOF
32785
32786 fi
32787
32788
32789 if test "$wxUSE_WCHAR_T" = "yes"; then
32790 cat >>confdefs.h <<\_ACEOF
32791 #define wxUSE_WCHAR_T 1
32792 _ACEOF
32793
32794
32795 WCSLEN_FOUND=0
32796 WCHAR_LINK=
32797
32798 for ac_func in wcslen
32799 do
32800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32801 echo "$as_me:$LINENO: checking for $ac_func" >&5
32802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32803 if eval "test \"\${$as_ac_var+set}\" = set"; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806 cat >conftest.$ac_ext <<_ACEOF
32807 /* confdefs.h. */
32808 _ACEOF
32809 cat confdefs.h >>conftest.$ac_ext
32810 cat >>conftest.$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32814 #define $ac_func innocuous_$ac_func
32815
32816 /* System header to define __stub macros and hopefully few prototypes,
32817 which can conflict with char $ac_func (); below.
32818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32819 <limits.h> exists even on freestanding compilers. */
32820
32821 #ifdef __STDC__
32822 # include <limits.h>
32823 #else
32824 # include <assert.h>
32825 #endif
32826
32827 #undef $ac_func
32828
32829 /* Override any gcc2 internal prototype to avoid an error. */
32830 #ifdef __cplusplus
32831 extern "C"
32832 {
32833 #endif
32834 /* We use char because int might match the return type of a gcc2
32835 builtin and then its argument prototype would still apply. */
32836 char $ac_func ();
32837 /* The GNU C library defines this for functions which it implements
32838 to always fail with ENOSYS. Some functions are actually named
32839 something starting with __ and the normal name is an alias. */
32840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32841 choke me
32842 #else
32843 char (*f) () = $ac_func;
32844 #endif
32845 #ifdef __cplusplus
32846 }
32847 #endif
32848
32849 int
32850 main ()
32851 {
32852 return f != $ac_func;
32853 ;
32854 return 0;
32855 }
32856 _ACEOF
32857 rm -f conftest.$ac_objext conftest$ac_exeext
32858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32859 (eval $ac_link) 2>conftest.er1
32860 ac_status=$?
32861 grep -v '^ *+' conftest.er1 >conftest.err
32862 rm -f conftest.er1
32863 cat conftest.err >&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try='test -z "$ac_c_werror_flag"
32867 || test ! -s conftest.err'
32868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32869 (eval $ac_try) 2>&5
32870 ac_status=$?
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); }; } &&
32873 { ac_try='test -s conftest$ac_exeext'
32874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32875 (eval $ac_try) 2>&5
32876 ac_status=$?
32877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32878 (exit $ac_status); }; }; then
32879 eval "$as_ac_var=yes"
32880 else
32881 echo "$as_me: failed program was:" >&5
32882 sed 's/^/| /' conftest.$ac_ext >&5
32883
32884 eval "$as_ac_var=no"
32885 fi
32886 rm -f conftest.err conftest.$ac_objext \
32887 conftest$ac_exeext conftest.$ac_ext
32888 fi
32889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32891 if test `eval echo '${'$as_ac_var'}'` = yes; then
32892 cat >>confdefs.h <<_ACEOF
32893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32894 _ACEOF
32895 WCSLEN_FOUND=1
32896 fi
32897 done
32898
32899
32900 if test "$WCSLEN_FOUND" = 0; then
32901 if test "$TOOLKIT" = "MSW"; then
32902 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
32903 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
32904 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
32905 echo $ECHO_N "(cached) $ECHO_C" >&6
32906 else
32907 ac_check_lib_save_LIBS=$LIBS
32908 LIBS="-lmsvcrt $LIBS"
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915
32916 /* Override any gcc2 internal prototype to avoid an error. */
32917 #ifdef __cplusplus
32918 extern "C"
32919 #endif
32920 /* We use char because int might match the return type of a gcc2
32921 builtin and then its argument prototype would still apply. */
32922 char wcslen ();
32923 int
32924 main ()
32925 {
32926 wcslen ();
32927 ;
32928 return 0;
32929 }
32930 _ACEOF
32931 rm -f conftest.$ac_objext conftest$ac_exeext
32932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32933 (eval $ac_link) 2>conftest.er1
32934 ac_status=$?
32935 grep -v '^ *+' conftest.er1 >conftest.err
32936 rm -f conftest.er1
32937 cat conftest.err >&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } &&
32940 { ac_try='test -z "$ac_c_werror_flag"
32941 || test ! -s conftest.err'
32942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32943 (eval $ac_try) 2>&5
32944 ac_status=$?
32945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32946 (exit $ac_status); }; } &&
32947 { ac_try='test -s conftest$ac_exeext'
32948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32949 (eval $ac_try) 2>&5
32950 ac_status=$?
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); }; }; then
32953 ac_cv_lib_msvcrt_wcslen=yes
32954 else
32955 echo "$as_me: failed program was:" >&5
32956 sed 's/^/| /' conftest.$ac_ext >&5
32957
32958 ac_cv_lib_msvcrt_wcslen=no
32959 fi
32960 rm -f conftest.err conftest.$ac_objext \
32961 conftest$ac_exeext conftest.$ac_ext
32962 LIBS=$ac_check_lib_save_LIBS
32963 fi
32964 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
32965 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
32966 if test $ac_cv_lib_msvcrt_wcslen = yes; then
32967 WCHAR_OK=1
32968 fi
32969
32970 else
32971 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
32972 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
32973 if test "${ac_cv_lib_w_wcslen+set}" = set; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 else
32976 ac_check_lib_save_LIBS=$LIBS
32977 LIBS="-lw $LIBS"
32978 cat >conftest.$ac_ext <<_ACEOF
32979 /* confdefs.h. */
32980 _ACEOF
32981 cat confdefs.h >>conftest.$ac_ext
32982 cat >>conftest.$ac_ext <<_ACEOF
32983 /* end confdefs.h. */
32984
32985 /* Override any gcc2 internal prototype to avoid an error. */
32986 #ifdef __cplusplus
32987 extern "C"
32988 #endif
32989 /* We use char because int might match the return type of a gcc2
32990 builtin and then its argument prototype would still apply. */
32991 char wcslen ();
32992 int
32993 main ()
32994 {
32995 wcslen ();
32996 ;
32997 return 0;
32998 }
32999 _ACEOF
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33002 (eval $ac_link) 2>conftest.er1
33003 ac_status=$?
33004 grep -v '^ *+' conftest.er1 >conftest.err
33005 rm -f conftest.er1
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } &&
33009 { ac_try='test -z "$ac_c_werror_flag"
33010 || test ! -s conftest.err'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33013 ac_status=$?
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; } &&
33016 { ac_try='test -s conftest$ac_exeext'
33017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33018 (eval $ac_try) 2>&5
33019 ac_status=$?
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); }; }; then
33022 ac_cv_lib_w_wcslen=yes
33023 else
33024 echo "$as_me: failed program was:" >&5
33025 sed 's/^/| /' conftest.$ac_ext >&5
33026
33027 ac_cv_lib_w_wcslen=no
33028 fi
33029 rm -f conftest.err conftest.$ac_objext \
33030 conftest$ac_exeext conftest.$ac_ext
33031 LIBS=$ac_check_lib_save_LIBS
33032 fi
33033 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33034 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33035 if test $ac_cv_lib_w_wcslen = yes; then
33036
33037 WCHAR_LINK=" -lw"
33038 WCSLEN_FOUND=1
33039
33040 fi
33041
33042 fi
33043 fi
33044
33045 if test "$WCSLEN_FOUND" = 1; then
33046 cat >>confdefs.h <<\_ACEOF
33047 #define HAVE_WCSLEN 1
33048 _ACEOF
33049
33050 fi
33051
33052 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33053 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33054 fi
33055
33056 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33057 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33058 if test "${ac_cv_type_mbstate_t+set}" = set; then
33059 echo $ECHO_N "(cached) $ECHO_C" >&6
33060 else
33061 cat >conftest.$ac_ext <<_ACEOF
33062 /* confdefs.h. */
33063 _ACEOF
33064 cat confdefs.h >>conftest.$ac_ext
33065 cat >>conftest.$ac_ext <<_ACEOF
33066 /* end confdefs.h. */
33067 #include <wchar.h>
33068
33069 int
33070 main ()
33071 {
33072 if ((mbstate_t *) 0)
33073 return 0;
33074 if (sizeof (mbstate_t))
33075 return 0;
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 rm -f conftest.$ac_objext
33081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33082 (eval $ac_compile) 2>conftest.er1
33083 ac_status=$?
33084 grep -v '^ *+' conftest.er1 >conftest.err
33085 rm -f conftest.er1
33086 cat conftest.err >&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try='test -z "$ac_c_werror_flag"
33090 || test ! -s conftest.err'
33091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33092 (eval $ac_try) 2>&5
33093 ac_status=$?
33094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33095 (exit $ac_status); }; } &&
33096 { ac_try='test -s conftest.$ac_objext'
33097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33098 (eval $ac_try) 2>&5
33099 ac_status=$?
33100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33101 (exit $ac_status); }; }; then
33102 ac_cv_type_mbstate_t=yes
33103 else
33104 echo "$as_me: failed program was:" >&5
33105 sed 's/^/| /' conftest.$ac_ext >&5
33106
33107 ac_cv_type_mbstate_t=no
33108 fi
33109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33110 fi
33111 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33112 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33113 if test $ac_cv_type_mbstate_t = yes; then
33114
33115 cat >>confdefs.h <<_ACEOF
33116 #define HAVE_MBSTATE_T 1
33117 _ACEOF
33118
33119
33120 for ac_func in wcsrtombs
33121 do
33122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33123 echo "$as_me:$LINENO: checking for $ac_func" >&5
33124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33125 if eval "test \"\${$as_ac_var+set}\" = set"; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 else
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33136 #define $ac_func innocuous_$ac_func
33137
33138 /* System header to define __stub macros and hopefully few prototypes,
33139 which can conflict with char $ac_func (); below.
33140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33141 <limits.h> exists even on freestanding compilers. */
33142
33143 #ifdef __STDC__
33144 # include <limits.h>
33145 #else
33146 # include <assert.h>
33147 #endif
33148
33149 #undef $ac_func
33150
33151 /* Override any gcc2 internal prototype to avoid an error. */
33152 #ifdef __cplusplus
33153 extern "C"
33154 {
33155 #endif
33156 /* We use char because int might match the return type of a gcc2
33157 builtin and then its argument prototype would still apply. */
33158 char $ac_func ();
33159 /* The GNU C library defines this for functions which it implements
33160 to always fail with ENOSYS. Some functions are actually named
33161 something starting with __ and the normal name is an alias. */
33162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33163 choke me
33164 #else
33165 char (*f) () = $ac_func;
33166 #endif
33167 #ifdef __cplusplus
33168 }
33169 #endif
33170
33171 int
33172 main ()
33173 {
33174 return f != $ac_func;
33175 ;
33176 return 0;
33177 }
33178 _ACEOF
33179 rm -f conftest.$ac_objext conftest$ac_exeext
33180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33181 (eval $ac_link) 2>conftest.er1
33182 ac_status=$?
33183 grep -v '^ *+' conftest.er1 >conftest.err
33184 rm -f conftest.er1
33185 cat conftest.err >&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); } &&
33188 { ac_try='test -z "$ac_c_werror_flag"
33189 || test ! -s conftest.err'
33190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33191 (eval $ac_try) 2>&5
33192 ac_status=$?
33193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33194 (exit $ac_status); }; } &&
33195 { ac_try='test -s conftest$ac_exeext'
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 eval "$as_ac_var=yes"
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206 eval "$as_ac_var=no"
33207 fi
33208 rm -f conftest.err conftest.$ac_objext \
33209 conftest$ac_exeext conftest.$ac_ext
33210 fi
33211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33213 if test `eval echo '${'$as_ac_var'}'` = yes; then
33214 cat >>confdefs.h <<_ACEOF
33215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33216 _ACEOF
33217
33218 fi
33219 done
33220
33221 fi
33222
33223 else
33224 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33225 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33226 fi
33227
33228
33229
33230 ac_ext=cc
33231 ac_cpp='$CXXCPP $CPPFLAGS'
33232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33235
33236
33237
33238
33239 for ac_func in snprintf vsnprintf
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 /* confdefs.h. */
33249 _ACEOF
33250 cat confdefs.h >>conftest.$ac_ext
33251 cat >>conftest.$ac_ext <<_ACEOF
33252 /* end confdefs.h. */
33253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33255 #define $ac_func innocuous_$ac_func
33256
33257 /* System header to define __stub macros and hopefully few prototypes,
33258 which can conflict with char $ac_func (); below.
33259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33260 <limits.h> exists even on freestanding compilers. */
33261
33262 #ifdef __STDC__
33263 # include <limits.h>
33264 #else
33265 # include <assert.h>
33266 #endif
33267
33268 #undef $ac_func
33269
33270 /* Override any gcc2 internal prototype to avoid an error. */
33271 #ifdef __cplusplus
33272 extern "C"
33273 {
33274 #endif
33275 /* We use char because int might match the return type of a gcc2
33276 builtin and then its argument prototype would still apply. */
33277 char $ac_func ();
33278 /* The GNU C library defines this for functions which it implements
33279 to always fail with ENOSYS. Some functions are actually named
33280 something starting with __ and the normal name is an alias. */
33281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33282 choke me
33283 #else
33284 char (*f) () = $ac_func;
33285 #endif
33286 #ifdef __cplusplus
33287 }
33288 #endif
33289
33290 int
33291 main ()
33292 {
33293 return f != $ac_func;
33294 ;
33295 return 0;
33296 }
33297 _ACEOF
33298 rm -f conftest.$ac_objext conftest$ac_exeext
33299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33300 (eval $ac_link) 2>conftest.er1
33301 ac_status=$?
33302 grep -v '^ *+' conftest.er1 >conftest.err
33303 rm -f conftest.er1
33304 cat conftest.err >&5
33305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33306 (exit $ac_status); } &&
33307 { ac_try='test -z "$ac_cxx_werror_flag"
33308 || test ! -s conftest.err'
33309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310 (eval $ac_try) 2>&5
33311 ac_status=$?
33312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313 (exit $ac_status); }; } &&
33314 { ac_try='test -s conftest$ac_exeext'
33315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33316 (eval $ac_try) 2>&5
33317 ac_status=$?
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); }; }; then
33320 eval "$as_ac_var=yes"
33321 else
33322 echo "$as_me: failed program was:" >&5
33323 sed 's/^/| /' conftest.$ac_ext >&5
33324
33325 eval "$as_ac_var=no"
33326 fi
33327 rm -f conftest.err conftest.$ac_objext \
33328 conftest$ac_exeext conftest.$ac_ext
33329 fi
33330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33332 if test `eval echo '${'$as_ac_var'}'` = yes; then
33333 cat >>confdefs.h <<_ACEOF
33334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33335 _ACEOF
33336
33337 fi
33338 done
33339
33340
33341 if test "$ac_cv_func_vsnprintf" = "yes"; then
33342 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
33343 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
33344 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
33345 echo $ECHO_N "(cached) $ECHO_C" >&6
33346 else
33347
33348 cat >conftest.$ac_ext <<_ACEOF
33349 /* confdefs.h. */
33350 _ACEOF
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354
33355 #include <stdio.h>
33356 #include <stdarg.h>
33357 #ifdef __MSL__
33358 #if __MSL__ >= 0x6000
33359 namespace std {}
33360 using namespace std;
33361 #endif
33362 #endif
33363
33364 int
33365 main ()
33366 {
33367
33368 char *buf;
33369 va_list ap;
33370 vsnprintf(buf, 10u, "%s", ap);
33371
33372 ;
33373 return 0;
33374 }
33375 _ACEOF
33376 rm -f conftest.$ac_objext
33377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33378 (eval $ac_compile) 2>conftest.er1
33379 ac_status=$?
33380 grep -v '^ *+' conftest.er1 >conftest.err
33381 rm -f conftest.er1
33382 cat conftest.err >&5
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); } &&
33385 { ac_try='test -z "$ac_cxx_werror_flag"
33386 || test ! -s conftest.err'
33387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33388 (eval $ac_try) 2>&5
33389 ac_status=$?
33390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33391 (exit $ac_status); }; } &&
33392 { ac_try='test -s conftest.$ac_objext'
33393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33394 (eval $ac_try) 2>&5
33395 ac_status=$?
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); }; }; then
33398 wx_cv_func_vsnprintf_decl=yes
33399 else
33400 echo "$as_me: failed program was:" >&5
33401 sed 's/^/| /' conftest.$ac_ext >&5
33402
33403 wx_cv_func_vsnprintf_decl=no
33404
33405 fi
33406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33407
33408
33409 fi
33410 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
33411 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
33412
33413 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
33414 cat >>confdefs.h <<\_ACEOF
33415 #define HAVE_VSNPRINTF_DECL 1
33416 _ACEOF
33417
33418
33419 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
33420 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
33421 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
33422 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 else
33424
33425 cat >conftest.$ac_ext <<_ACEOF
33426 /* confdefs.h. */
33427 _ACEOF
33428 cat confdefs.h >>conftest.$ac_ext
33429 cat >>conftest.$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431
33432 #include <stdio.h>
33433 #include <stdarg.h>
33434 #ifdef __MSL__
33435 #if __MSL__ >= 0x6000
33436 namespace std {}
33437 using namespace std;
33438 #endif
33439 #endif
33440
33441 int
33442 main ()
33443 {
33444
33445 char *buf;
33446 va_list ap;
33447 const char *fmt = "%s";
33448 vsnprintf(buf, 10u, fmt, ap);
33449
33450 ;
33451 return 0;
33452 }
33453 _ACEOF
33454 rm -f conftest.$ac_objext
33455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33456 (eval $ac_compile) 2>conftest.er1
33457 ac_status=$?
33458 grep -v '^ *+' conftest.er1 >conftest.err
33459 rm -f conftest.er1
33460 cat conftest.err >&5
33461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33462 (exit $ac_status); } &&
33463 { ac_try='test -z "$ac_cxx_werror_flag"
33464 || test ! -s conftest.err'
33465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33466 (eval $ac_try) 2>&5
33467 ac_status=$?
33468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33469 (exit $ac_status); }; } &&
33470 { ac_try='test -s conftest.$ac_objext'
33471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33472 (eval $ac_try) 2>&5
33473 ac_status=$?
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); }; }; then
33476 wx_cv_func_broken_vsnprintf_decl=no
33477 else
33478 echo "$as_me: failed program was:" >&5
33479 sed 's/^/| /' conftest.$ac_ext >&5
33480
33481 wx_cv_func_broken_vsnprintf_decl=yes
33482
33483 fi
33484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33485
33486
33487 fi
33488 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
33489 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
33490
33491 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
33492 cat >>confdefs.h <<\_ACEOF
33493 #define HAVE_BROKEN_VSNPRINTF_DECL 1
33494 _ACEOF
33495
33496 fi
33497 fi
33498 fi
33499
33500 if test "$ac_cv_func_snprintf" = "yes"; then
33501 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
33502 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
33503 if test "${wx_cv_func_snprintf_decl+set}" = set; then
33504 echo $ECHO_N "(cached) $ECHO_C" >&6
33505 else
33506
33507 cat >conftest.$ac_ext <<_ACEOF
33508 /* confdefs.h. */
33509 _ACEOF
33510 cat confdefs.h >>conftest.$ac_ext
33511 cat >>conftest.$ac_ext <<_ACEOF
33512 /* end confdefs.h. */
33513
33514 #include <stdio.h>
33515 #include <stdarg.h>
33516 #ifdef __MSL__
33517 #if __MSL__ >= 0x6000
33518 namespace std {}
33519 using namespace std;
33520 #endif
33521 #endif
33522
33523 int
33524 main ()
33525 {
33526
33527 char *buf;
33528 snprintf(buf, 10u, "%s", "wx");
33529
33530 ;
33531 return 0;
33532 }
33533 _ACEOF
33534 rm -f conftest.$ac_objext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33536 (eval $ac_compile) 2>conftest.er1
33537 ac_status=$?
33538 grep -v '^ *+' conftest.er1 >conftest.err
33539 rm -f conftest.er1
33540 cat conftest.err >&5
33541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33542 (exit $ac_status); } &&
33543 { ac_try='test -z "$ac_cxx_werror_flag"
33544 || test ! -s conftest.err'
33545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546 (eval $ac_try) 2>&5
33547 ac_status=$?
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); }; } &&
33550 { ac_try='test -s conftest.$ac_objext'
33551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33552 (eval $ac_try) 2>&5
33553 ac_status=$?
33554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33555 (exit $ac_status); }; }; then
33556 wx_cv_func_snprintf_decl=yes
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561 wx_cv_func_snprintf_decl=no
33562
33563 fi
33564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33565
33566
33567 fi
33568 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
33569 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
33570
33571 if test "$wx_cv_func_snprintf_decl" = "yes"; then
33572 cat >>confdefs.h <<\_ACEOF
33573 #define HAVE_SNPRINTF_DECL 1
33574 _ACEOF
33575
33576
33577 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
33578 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
33579 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582
33583 cat >conftest.$ac_ext <<_ACEOF
33584 /* confdefs.h. */
33585 _ACEOF
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589
33590 #include <stdio.h>
33591 #include <stdarg.h>
33592 #ifdef __MSL__
33593 #if __MSL__ >= 0x6000
33594 namespace std {}
33595 using namespace std;
33596 #endif
33597 #endif
33598
33599 int
33600 main ()
33601 {
33602
33603 char *buf;
33604 const char *fmt = "%s";
33605 snprintf(buf, 10u, fmt, "wx");
33606
33607 ;
33608 return 0;
33609 }
33610 _ACEOF
33611 rm -f conftest.$ac_objext
33612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33613 (eval $ac_compile) 2>conftest.er1
33614 ac_status=$?
33615 grep -v '^ *+' conftest.er1 >conftest.err
33616 rm -f conftest.er1
33617 cat conftest.err >&5
33618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33619 (exit $ac_status); } &&
33620 { ac_try='test -z "$ac_cxx_werror_flag"
33621 || test ! -s conftest.err'
33622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33623 (eval $ac_try) 2>&5
33624 ac_status=$?
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); }; } &&
33627 { ac_try='test -s conftest.$ac_objext'
33628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33629 (eval $ac_try) 2>&5
33630 ac_status=$?
33631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33632 (exit $ac_status); }; }; then
33633 wx_cv_func_broken_snprintf_decl=no
33634 else
33635 echo "$as_me: failed program was:" >&5
33636 sed 's/^/| /' conftest.$ac_ext >&5
33637
33638 wx_cv_func_broken_snprintf_decl=yes
33639
33640 fi
33641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33642
33643
33644 fi
33645 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
33646 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
33647
33648 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
33649 cat >>confdefs.h <<\_ACEOF
33650 #define HAVE_BROKEN_SNPRINTF_DECL 1
33651 _ACEOF
33652
33653 fi
33654 fi
33655 fi
33656
33657 if test "$wxUSE_UNICODE" = yes; then
33658
33659
33660
33661
33662
33663
33664 for ac_func in wputc wputchar putws fputws wprintf vswprintf
33665 do
33666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33667 echo "$as_me:$LINENO: checking for $ac_func" >&5
33668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33669 if eval "test \"\${$as_ac_var+set}\" = set"; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 else
33672 cat >conftest.$ac_ext <<_ACEOF
33673 /* confdefs.h. */
33674 _ACEOF
33675 cat confdefs.h >>conftest.$ac_ext
33676 cat >>conftest.$ac_ext <<_ACEOF
33677 /* end confdefs.h. */
33678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33680 #define $ac_func innocuous_$ac_func
33681
33682 /* System header to define __stub macros and hopefully few prototypes,
33683 which can conflict with char $ac_func (); below.
33684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33685 <limits.h> exists even on freestanding compilers. */
33686
33687 #ifdef __STDC__
33688 # include <limits.h>
33689 #else
33690 # include <assert.h>
33691 #endif
33692
33693 #undef $ac_func
33694
33695 /* Override any gcc2 internal prototype to avoid an error. */
33696 #ifdef __cplusplus
33697 extern "C"
33698 {
33699 #endif
33700 /* We use char because int might match the return type of a gcc2
33701 builtin and then its argument prototype would still apply. */
33702 char $ac_func ();
33703 /* The GNU C library defines this for functions which it implements
33704 to always fail with ENOSYS. Some functions are actually named
33705 something starting with __ and the normal name is an alias. */
33706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33707 choke me
33708 #else
33709 char (*f) () = $ac_func;
33710 #endif
33711 #ifdef __cplusplus
33712 }
33713 #endif
33714
33715 int
33716 main ()
33717 {
33718 return f != $ac_func;
33719 ;
33720 return 0;
33721 }
33722 _ACEOF
33723 rm -f conftest.$ac_objext conftest$ac_exeext
33724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33725 (eval $ac_link) 2>conftest.er1
33726 ac_status=$?
33727 grep -v '^ *+' conftest.er1 >conftest.err
33728 rm -f conftest.er1
33729 cat conftest.err >&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); } &&
33732 { ac_try='test -z "$ac_cxx_werror_flag"
33733 || test ! -s conftest.err'
33734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33735 (eval $ac_try) 2>&5
33736 ac_status=$?
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); }; } &&
33739 { ac_try='test -s conftest$ac_exeext'
33740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33741 (eval $ac_try) 2>&5
33742 ac_status=$?
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); }; }; then
33745 eval "$as_ac_var=yes"
33746 else
33747 echo "$as_me: failed program was:" >&5
33748 sed 's/^/| /' conftest.$ac_ext >&5
33749
33750 eval "$as_ac_var=no"
33751 fi
33752 rm -f conftest.err conftest.$ac_objext \
33753 conftest$ac_exeext conftest.$ac_ext
33754 fi
33755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33756 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33757 if test `eval echo '${'$as_ac_var'}'` = yes; then
33758 cat >>confdefs.h <<_ACEOF
33759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33760 _ACEOF
33761
33762 fi
33763 done
33764
33765
33766 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
33767 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
33768 cat >conftest.$ac_ext <<_ACEOF
33769 /* confdefs.h. */
33770 _ACEOF
33771 cat confdefs.h >>conftest.$ac_ext
33772 cat >>conftest.$ac_ext <<_ACEOF
33773 /* end confdefs.h. */
33774 #include <wchar.h>
33775 int
33776 main ()
33777 {
33778 &_vsnwprintf;
33779 ;
33780 return 0;
33781 }
33782 _ACEOF
33783 rm -f conftest.$ac_objext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33785 (eval $ac_compile) 2>conftest.er1
33786 ac_status=$?
33787 grep -v '^ *+' conftest.er1 >conftest.err
33788 rm -f conftest.er1
33789 cat conftest.err >&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); } &&
33792 { ac_try='test -z "$ac_cxx_werror_flag"
33793 || test ! -s conftest.err'
33794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33795 (eval $ac_try) 2>&5
33796 ac_status=$?
33797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33798 (exit $ac_status); }; } &&
33799 { ac_try='test -s conftest.$ac_objext'
33800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33801 (eval $ac_try) 2>&5
33802 ac_status=$?
33803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33804 (exit $ac_status); }; }; then
33805 echo "$as_me:$LINENO: result: yes" >&5
33806 echo "${ECHO_T}yes" >&6
33807 cat >>confdefs.h <<\_ACEOF
33808 #define HAVE__VSNWPRINTF 1
33809 _ACEOF
33810
33811 else
33812 echo "$as_me: failed program was:" >&5
33813 sed 's/^/| /' conftest.$ac_ext >&5
33814
33815 echo "$as_me:$LINENO: result: no" >&5
33816 echo "${ECHO_T}no" >&6
33817 fi
33818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
33819 fi
33820
33821 ac_ext=c
33822 ac_cpp='$CPP $CPPFLAGS'
33823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33826
33827
33828 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
33829
33830 for ac_func in fnmatch
33831 do
33832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33833 echo "$as_me:$LINENO: checking for $ac_func" >&5
33834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33835 if eval "test \"\${$as_ac_var+set}\" = set"; then
33836 echo $ECHO_N "(cached) $ECHO_C" >&6
33837 else
33838 cat >conftest.$ac_ext <<_ACEOF
33839 /* confdefs.h. */
33840 _ACEOF
33841 cat confdefs.h >>conftest.$ac_ext
33842 cat >>conftest.$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33846 #define $ac_func innocuous_$ac_func
33847
33848 /* System header to define __stub macros and hopefully few prototypes,
33849 which can conflict with char $ac_func (); below.
33850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33851 <limits.h> exists even on freestanding compilers. */
33852
33853 #ifdef __STDC__
33854 # include <limits.h>
33855 #else
33856 # include <assert.h>
33857 #endif
33858
33859 #undef $ac_func
33860
33861 /* Override any gcc2 internal prototype to avoid an error. */
33862 #ifdef __cplusplus
33863 extern "C"
33864 {
33865 #endif
33866 /* We use char because int might match the return type of a gcc2
33867 builtin and then its argument prototype would still apply. */
33868 char $ac_func ();
33869 /* The GNU C library defines this for functions which it implements
33870 to always fail with ENOSYS. Some functions are actually named
33871 something starting with __ and the normal name is an alias. */
33872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33873 choke me
33874 #else
33875 char (*f) () = $ac_func;
33876 #endif
33877 #ifdef __cplusplus
33878 }
33879 #endif
33880
33881 int
33882 main ()
33883 {
33884 return f != $ac_func;
33885 ;
33886 return 0;
33887 }
33888 _ACEOF
33889 rm -f conftest.$ac_objext conftest$ac_exeext
33890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33891 (eval $ac_link) 2>conftest.er1
33892 ac_status=$?
33893 grep -v '^ *+' conftest.er1 >conftest.err
33894 rm -f conftest.er1
33895 cat conftest.err >&5
33896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33897 (exit $ac_status); } &&
33898 { ac_try='test -z "$ac_c_werror_flag"
33899 || test ! -s conftest.err'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; } &&
33905 { ac_try='test -s conftest$ac_exeext'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; }; then
33911 eval "$as_ac_var=yes"
33912 else
33913 echo "$as_me: failed program was:" >&5
33914 sed 's/^/| /' conftest.$ac_ext >&5
33915
33916 eval "$as_ac_var=no"
33917 fi
33918 rm -f conftest.err conftest.$ac_objext \
33919 conftest$ac_exeext conftest.$ac_ext
33920 fi
33921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33923 if test `eval echo '${'$as_ac_var'}'` = yes; then
33924 cat >>confdefs.h <<_ACEOF
33925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33926 _ACEOF
33927
33928 fi
33929 done
33930
33931 fi
33932
33933 if test "$wxUSE_FILE" = "yes"; then
33934
33935 for ac_func in fsync
33936 do
33937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33938 echo "$as_me:$LINENO: checking for $ac_func" >&5
33939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33940 if eval "test \"\${$as_ac_var+set}\" = set"; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 else
33943 cat >conftest.$ac_ext <<_ACEOF
33944 /* confdefs.h. */
33945 _ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33951 #define $ac_func innocuous_$ac_func
33952
33953 /* System header to define __stub macros and hopefully few prototypes,
33954 which can conflict with char $ac_func (); below.
33955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33956 <limits.h> exists even on freestanding compilers. */
33957
33958 #ifdef __STDC__
33959 # include <limits.h>
33960 #else
33961 # include <assert.h>
33962 #endif
33963
33964 #undef $ac_func
33965
33966 /* Override any gcc2 internal prototype to avoid an error. */
33967 #ifdef __cplusplus
33968 extern "C"
33969 {
33970 #endif
33971 /* We use char because int might match the return type of a gcc2
33972 builtin and then its argument prototype would still apply. */
33973 char $ac_func ();
33974 /* The GNU C library defines this for functions which it implements
33975 to always fail with ENOSYS. Some functions are actually named
33976 something starting with __ and the normal name is an alias. */
33977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33978 choke me
33979 #else
33980 char (*f) () = $ac_func;
33981 #endif
33982 #ifdef __cplusplus
33983 }
33984 #endif
33985
33986 int
33987 main ()
33988 {
33989 return f != $ac_func;
33990 ;
33991 return 0;
33992 }
33993 _ACEOF
33994 rm -f conftest.$ac_objext conftest$ac_exeext
33995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33996 (eval $ac_link) 2>conftest.er1
33997 ac_status=$?
33998 grep -v '^ *+' conftest.er1 >conftest.err
33999 rm -f conftest.er1
34000 cat conftest.err >&5
34001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34002 (exit $ac_status); } &&
34003 { ac_try='test -z "$ac_c_werror_flag"
34004 || test ! -s conftest.err'
34005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34006 (eval $ac_try) 2>&5
34007 ac_status=$?
34008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34009 (exit $ac_status); }; } &&
34010 { ac_try='test -s conftest$ac_exeext'
34011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34012 (eval $ac_try) 2>&5
34013 ac_status=$?
34014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34015 (exit $ac_status); }; }; then
34016 eval "$as_ac_var=yes"
34017 else
34018 echo "$as_me: failed program was:" >&5
34019 sed 's/^/| /' conftest.$ac_ext >&5
34020
34021 eval "$as_ac_var=no"
34022 fi
34023 rm -f conftest.err conftest.$ac_objext \
34024 conftest$ac_exeext conftest.$ac_ext
34025 fi
34026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34028 if test `eval echo '${'$as_ac_var'}'` = yes; then
34029 cat >>confdefs.h <<_ACEOF
34030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34031 _ACEOF
34032
34033 fi
34034 done
34035
34036 fi
34037
34038
34039 if test "$TOOLKIT" != "MSW"; then
34040
34041
34042
34043
34044 ac_ext=cc
34045 ac_cpp='$CXXCPP $CPPFLAGS'
34046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34049
34050
34051
34052
34053 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34054 if test "${with_libiconv_prefix+set}" = set; then
34055 withval="$with_libiconv_prefix"
34056
34057 for dir in `echo "$withval" | tr : ' '`; do
34058 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34059 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34060 done
34061
34062 fi;
34063
34064 echo "$as_me:$LINENO: checking for iconv" >&5
34065 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34066 if test "${am_cv_func_iconv+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069
34070 am_cv_func_iconv="no, consider installing GNU libiconv"
34071 am_cv_lib_iconv=no
34072 cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h. */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078 #include <stdlib.h>
34079 #include <iconv.h>
34080 int
34081 main ()
34082 {
34083 iconv_t cd = iconv_open("","");
34084 iconv(cd,NULL,NULL,NULL,NULL);
34085 iconv_close(cd);
34086 ;
34087 return 0;
34088 }
34089 _ACEOF
34090 rm -f conftest.$ac_objext conftest$ac_exeext
34091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34092 (eval $ac_link) 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } &&
34099 { ac_try='test -z "$ac_cxx_werror_flag"
34100 || test ! -s conftest.err'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34103 ac_status=$?
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; } &&
34106 { ac_try='test -s conftest$ac_exeext'
34107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34108 (eval $ac_try) 2>&5
34109 ac_status=$?
34110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34111 (exit $ac_status); }; }; then
34112 am_cv_func_iconv=yes
34113 else
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.$ac_ext >&5
34116
34117 fi
34118 rm -f conftest.err conftest.$ac_objext \
34119 conftest$ac_exeext conftest.$ac_ext
34120 if test "$am_cv_func_iconv" != yes; then
34121 am_save_LIBS="$LIBS"
34122 LIBS="$LIBS -liconv"
34123 cat >conftest.$ac_ext <<_ACEOF
34124 /* confdefs.h. */
34125 _ACEOF
34126 cat confdefs.h >>conftest.$ac_ext
34127 cat >>conftest.$ac_ext <<_ACEOF
34128 /* end confdefs.h. */
34129 #include <stdlib.h>
34130 #include <iconv.h>
34131 int
34132 main ()
34133 {
34134 iconv_t cd = iconv_open("","");
34135 iconv(cd,NULL,NULL,NULL,NULL);
34136 iconv_close(cd);
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 rm -f conftest.$ac_objext conftest$ac_exeext
34142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34143 (eval $ac_link) 2>conftest.er1
34144 ac_status=$?
34145 grep -v '^ *+' conftest.er1 >conftest.err
34146 rm -f conftest.er1
34147 cat conftest.err >&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } &&
34150 { ac_try='test -z "$ac_cxx_werror_flag"
34151 || test ! -s conftest.err'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34154 ac_status=$?
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; } &&
34157 { ac_try='test -s conftest$ac_exeext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 am_cv_lib_iconv=yes
34164 am_cv_func_iconv=yes
34165 else
34166 echo "$as_me: failed program was:" >&5
34167 sed 's/^/| /' conftest.$ac_ext >&5
34168
34169 fi
34170 rm -f conftest.err conftest.$ac_objext \
34171 conftest$ac_exeext conftest.$ac_ext
34172 LIBS="$am_save_LIBS"
34173 fi
34174
34175 fi
34176 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
34177 echo "${ECHO_T}$am_cv_func_iconv" >&6
34178 if test "$am_cv_func_iconv" = yes; then
34179
34180 cat >>confdefs.h <<\_ACEOF
34181 #define HAVE_ICONV 1
34182 _ACEOF
34183
34184 echo "$as_me:$LINENO: checking if iconv needs const" >&5
34185 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
34186 if test "${wx_cv_func_iconv_const+set}" = set; then
34187 echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195
34196 #include <stdlib.h>
34197 #include <iconv.h>
34198 extern
34199 #ifdef __cplusplus
34200 "C"
34201 #endif
34202 #if defined(__STDC__) || defined(__cplusplus)
34203 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
34204 #else
34205 size_t iconv();
34206 #endif
34207
34208 int
34209 main ()
34210 {
34211
34212 ;
34213 return 0;
34214 }
34215 _ACEOF
34216 rm -f conftest.$ac_objext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34218 (eval $ac_compile) 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } &&
34225 { ac_try='test -z "$ac_cxx_werror_flag"
34226 || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; } &&
34232 { ac_try='test -s conftest.$ac_objext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 wx_cv_func_iconv_const="no"
34239 else
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.$ac_ext >&5
34242
34243 wx_cv_func_iconv_const="yes"
34244
34245 fi
34246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34247
34248 fi
34249 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
34250 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
34251
34252 iconv_const=
34253 if test "x$wx_cv_func_iconv_const" = "xyes"; then
34254 iconv_const="const"
34255 fi
34256
34257
34258 cat >>confdefs.h <<_ACEOF
34259 #define ICONV_CONST $iconv_const
34260 _ACEOF
34261
34262 fi
34263 LIBICONV=
34264 if test "$am_cv_lib_iconv" = yes; then
34265 LIBICONV="-liconv"
34266 fi
34267
34268
34269 LIBS="$LIBICONV $LIBS"
34270 ac_ext=c
34271 ac_cpp='$CPP $CPPFLAGS'
34272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275
34276
34277 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34278
34279 for ac_func in sigaction
34280 do
34281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 echo "$as_me:$LINENO: checking for $ac_func" >&5
34283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34284 if eval "test \"\${$as_ac_var+set}\" = set"; then
34285 echo $ECHO_N "(cached) $ECHO_C" >&6
34286 else
34287 cat >conftest.$ac_ext <<_ACEOF
34288 /* confdefs.h. */
34289 _ACEOF
34290 cat confdefs.h >>conftest.$ac_ext
34291 cat >>conftest.$ac_ext <<_ACEOF
34292 /* end confdefs.h. */
34293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34295 #define $ac_func innocuous_$ac_func
34296
34297 /* System header to define __stub macros and hopefully few prototypes,
34298 which can conflict with char $ac_func (); below.
34299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34300 <limits.h> exists even on freestanding compilers. */
34301
34302 #ifdef __STDC__
34303 # include <limits.h>
34304 #else
34305 # include <assert.h>
34306 #endif
34307
34308 #undef $ac_func
34309
34310 /* Override any gcc2 internal prototype to avoid an error. */
34311 #ifdef __cplusplus
34312 extern "C"
34313 {
34314 #endif
34315 /* We use char because int might match the return type of a gcc2
34316 builtin and then its argument prototype would still apply. */
34317 char $ac_func ();
34318 /* The GNU C library defines this for functions which it implements
34319 to always fail with ENOSYS. Some functions are actually named
34320 something starting with __ and the normal name is an alias. */
34321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34322 choke me
34323 #else
34324 char (*f) () = $ac_func;
34325 #endif
34326 #ifdef __cplusplus
34327 }
34328 #endif
34329
34330 int
34331 main ()
34332 {
34333 return f != $ac_func;
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext conftest$ac_exeext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34340 (eval $ac_link) 2>conftest.er1
34341 ac_status=$?
34342 grep -v '^ *+' conftest.er1 >conftest.err
34343 rm -f conftest.er1
34344 cat conftest.err >&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try='test -z "$ac_c_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try='test -s conftest$ac_exeext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34357 ac_status=$?
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 eval "$as_ac_var=yes"
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34364
34365 eval "$as_ac_var=no"
34366 fi
34367 rm -f conftest.err conftest.$ac_objext \
34368 conftest$ac_exeext conftest.$ac_ext
34369 fi
34370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34372 if test `eval echo '${'$as_ac_var'}'` = yes; then
34373 cat >>confdefs.h <<_ACEOF
34374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34375 _ACEOF
34376
34377 fi
34378 done
34379
34380
34381 if test "$ac_cv_func_sigaction" = "no"; then
34382 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
34383 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
34384 wxUSE_ON_FATAL_EXCEPTION=no
34385 fi
34386
34387 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
34388
34389
34390 ac_ext=cc
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34395
34396
34397 echo "$as_me:$LINENO: checking for sa_handler type" >&5
34398 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
34399 if test "${wx_cv_type_sa_handler+set}" = set; then
34400 echo $ECHO_N "(cached) $ECHO_C" >&6
34401 else
34402
34403 cat >conftest.$ac_ext <<_ACEOF
34404 /* confdefs.h. */
34405 _ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 #include <signal.h>
34410 int
34411 main ()
34412 {
34413
34414 extern void testSigHandler(int);
34415
34416 struct sigaction sa;
34417 sa.sa_handler = testSigHandler;
34418
34419 ;
34420 return 0;
34421 }
34422 _ACEOF
34423 rm -f conftest.$ac_objext
34424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34425 (eval $ac_compile) 2>conftest.er1
34426 ac_status=$?
34427 grep -v '^ *+' conftest.er1 >conftest.err
34428 rm -f conftest.er1
34429 cat conftest.err >&5
34430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34431 (exit $ac_status); } &&
34432 { ac_try='test -z "$ac_cxx_werror_flag"
34433 || test ! -s conftest.err'
34434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34435 (eval $ac_try) 2>&5
34436 ac_status=$?
34437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34438 (exit $ac_status); }; } &&
34439 { ac_try='test -s conftest.$ac_objext'
34440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34441 (eval $ac_try) 2>&5
34442 ac_status=$?
34443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34444 (exit $ac_status); }; }; then
34445
34446 wx_cv_type_sa_handler=int
34447
34448 else
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.$ac_ext >&5
34451
34452
34453 wx_cv_type_sa_handler=void
34454
34455 fi
34456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34457
34458 fi
34459 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
34460 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
34461
34462 ac_ext=c
34463 ac_cpp='$CPP $CPPFLAGS'
34464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467
34468
34469 cat >>confdefs.h <<_ACEOF
34470 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
34471 _ACEOF
34472
34473 fi
34474 fi
34475
34476 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
34477
34478
34479 ac_ext=cc
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34484
34485
34486 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
34487 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
34488 if test "${wx_cv_func_backtrace+set}" = set; then
34489 echo $ECHO_N "(cached) $ECHO_C" >&6
34490 else
34491
34492 cat >conftest.$ac_ext <<_ACEOF
34493 /* confdefs.h. */
34494 _ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34498 #include <execinfo.h>
34499 int
34500 main ()
34501 {
34502
34503 void *trace[1];
34504 char **messages;
34505
34506 backtrace(trace, 1);
34507 messages = backtrace_symbols(trace, 1);
34508
34509 ;
34510 return 0;
34511 }
34512 _ACEOF
34513 rm -f conftest.$ac_objext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34515 (eval $ac_compile) 2>conftest.er1
34516 ac_status=$?
34517 grep -v '^ *+' conftest.er1 >conftest.err
34518 rm -f conftest.er1
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } &&
34522 { ac_try='test -z "$ac_cxx_werror_flag"
34523 || test ! -s conftest.err'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; } &&
34529 { ac_try='test -s conftest.$ac_objext'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 wx_cv_func_backtrace=yes
34536 else
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34539
34540 wx_cv_func_backtrace=no
34541
34542 fi
34543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34544
34545
34546 fi
34547 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
34548 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
34549
34550
34551 if test "$wx_cv_func_backtrace" = "no"; then
34552 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
34553 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
34554 wxUSE_STACKWALKER=no
34555 else
34556 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
34557 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
34558 if test "${wx_cv_func_cxa_demangle+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 else
34561
34562 cat >conftest.$ac_ext <<_ACEOF
34563 /* confdefs.h. */
34564 _ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568 #include <cxxabi.h>
34569 int
34570 main ()
34571 {
34572
34573 int rc;
34574 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
34575
34576 ;
34577 return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext conftest$ac_exeext
34581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34582 (eval $ac_link) 2>conftest.er1
34583 ac_status=$?
34584 grep -v '^ *+' conftest.er1 >conftest.err
34585 rm -f conftest.er1
34586 cat conftest.err >&5
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); } &&
34589 { ac_try='test -z "$ac_cxx_werror_flag"
34590 || test ! -s conftest.err'
34591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34592 (eval $ac_try) 2>&5
34593 ac_status=$?
34594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34595 (exit $ac_status); }; } &&
34596 { ac_try='test -s conftest$ac_exeext'
34597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34598 (eval $ac_try) 2>&5
34599 ac_status=$?
34600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34601 (exit $ac_status); }; }; then
34602 wx_cv_func_cxa_demangle=yes
34603 else
34604 echo "$as_me: failed program was:" >&5
34605 sed 's/^/| /' conftest.$ac_ext >&5
34606
34607 wx_cv_func_cxa_demangle=no
34608
34609 fi
34610 rm -f conftest.err conftest.$ac_objext \
34611 conftest$ac_exeext conftest.$ac_ext
34612
34613
34614 fi
34615 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
34616 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
34617
34618 if test "$wx_cv_func_cxa_demangle" = "yes"; then
34619 cat >>confdefs.h <<\_ACEOF
34620 #define HAVE_CXA_DEMANGLE 1
34621 _ACEOF
34622
34623 fi
34624 fi
34625
34626 ac_ext=c
34627 ac_cpp='$CPP $CPPFLAGS'
34628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34631
34632 fi
34633
34634 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
34635 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
34636 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
34637 wxUSE_STACKWALKER=no
34638 fi
34639
34640
34641
34642
34643 for ac_func in mkstemp mktemp
34644 do
34645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34646 echo "$as_me:$LINENO: checking for $ac_func" >&5
34647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34648 if eval "test \"\${$as_ac_var+set}\" = set"; then
34649 echo $ECHO_N "(cached) $ECHO_C" >&6
34650 else
34651 cat >conftest.$ac_ext <<_ACEOF
34652 /* confdefs.h. */
34653 _ACEOF
34654 cat confdefs.h >>conftest.$ac_ext
34655 cat >>conftest.$ac_ext <<_ACEOF
34656 /* end confdefs.h. */
34657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34659 #define $ac_func innocuous_$ac_func
34660
34661 /* System header to define __stub macros and hopefully few prototypes,
34662 which can conflict with char $ac_func (); below.
34663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34664 <limits.h> exists even on freestanding compilers. */
34665
34666 #ifdef __STDC__
34667 # include <limits.h>
34668 #else
34669 # include <assert.h>
34670 #endif
34671
34672 #undef $ac_func
34673
34674 /* Override any gcc2 internal prototype to avoid an error. */
34675 #ifdef __cplusplus
34676 extern "C"
34677 {
34678 #endif
34679 /* We use char because int might match the return type of a gcc2
34680 builtin and then its argument prototype would still apply. */
34681 char $ac_func ();
34682 /* The GNU C library defines this for functions which it implements
34683 to always fail with ENOSYS. Some functions are actually named
34684 something starting with __ and the normal name is an alias. */
34685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34686 choke me
34687 #else
34688 char (*f) () = $ac_func;
34689 #endif
34690 #ifdef __cplusplus
34691 }
34692 #endif
34693
34694 int
34695 main ()
34696 {
34697 return f != $ac_func;
34698 ;
34699 return 0;
34700 }
34701 _ACEOF
34702 rm -f conftest.$ac_objext conftest$ac_exeext
34703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34704 (eval $ac_link) 2>conftest.er1
34705 ac_status=$?
34706 grep -v '^ *+' conftest.er1 >conftest.err
34707 rm -f conftest.er1
34708 cat conftest.err >&5
34709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34710 (exit $ac_status); } &&
34711 { ac_try='test -z "$ac_c_werror_flag"
34712 || test ! -s conftest.err'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34715 ac_status=$?
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; } &&
34718 { ac_try='test -s conftest$ac_exeext'
34719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34720 (eval $ac_try) 2>&5
34721 ac_status=$?
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); }; }; then
34724 eval "$as_ac_var=yes"
34725 else
34726 echo "$as_me: failed program was:" >&5
34727 sed 's/^/| /' conftest.$ac_ext >&5
34728
34729 eval "$as_ac_var=no"
34730 fi
34731 rm -f conftest.err conftest.$ac_objext \
34732 conftest$ac_exeext conftest.$ac_ext
34733 fi
34734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34736 if test `eval echo '${'$as_ac_var'}'` = yes; then
34737 cat >>confdefs.h <<_ACEOF
34738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34739 _ACEOF
34740 break
34741 fi
34742 done
34743
34744
34745 echo "$as_me:$LINENO: checking for statfs" >&5
34746 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
34747 if test "${wx_cv_func_statfs+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750 cat >conftest.$ac_ext <<_ACEOF
34751 /* confdefs.h. */
34752 _ACEOF
34753 cat confdefs.h >>conftest.$ac_ext
34754 cat >>conftest.$ac_ext <<_ACEOF
34755 /* end confdefs.h. */
34756
34757 #if defined(__BSD__)
34758 #include <sys/param.h>
34759 #include <sys/mount.h>
34760 #else
34761 #include <sys/vfs.h>
34762 #endif
34763
34764 int
34765 main ()
34766 {
34767
34768 long l;
34769 struct statfs fs;
34770 statfs("/", &fs);
34771 l = fs.f_bsize;
34772 l += fs.f_blocks;
34773 l += fs.f_bavail;
34774
34775 ;
34776 return 0;
34777 }
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34781 (eval $ac_compile) 2>conftest.er1
34782 ac_status=$?
34783 grep -v '^ *+' conftest.er1 >conftest.err
34784 rm -f conftest.er1
34785 cat conftest.err >&5
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); } &&
34788 { ac_try='test -z "$ac_c_werror_flag"
34789 || test ! -s conftest.err'
34790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34791 (eval $ac_try) 2>&5
34792 ac_status=$?
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); }; } &&
34795 { ac_try='test -s conftest.$ac_objext'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; }; then
34801 wx_cv_func_statfs=yes
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34805
34806 wx_cv_func_statfs=no
34807
34808 fi
34809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34810
34811 fi
34812 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
34813 echo "${ECHO_T}$wx_cv_func_statfs" >&6
34814
34815 if test "$wx_cv_func_statfs" = "yes"; then
34816
34817
34818 ac_ext=cc
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34823
34824 echo "$as_me:$LINENO: checking for statfs declaration" >&5
34825 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
34826 if test "${wx_cv_func_statfs_decl+set}" = set; then
34827 echo $ECHO_N "(cached) $ECHO_C" >&6
34828 else
34829 cat >conftest.$ac_ext <<_ACEOF
34830 /* confdefs.h. */
34831 _ACEOF
34832 cat confdefs.h >>conftest.$ac_ext
34833 cat >>conftest.$ac_ext <<_ACEOF
34834 /* end confdefs.h. */
34835
34836 #if defined(__BSD__)
34837 #include <sys/param.h>
34838 #include <sys/mount.h>
34839 #else
34840 #include <sys/vfs.h>
34841 #endif
34842
34843 int
34844 main ()
34845 {
34846
34847 struct statfs fs;
34848 statfs("", &fs);
34849
34850 ;
34851 return 0;
34852 }
34853 _ACEOF
34854 rm -f conftest.$ac_objext
34855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34856 (eval $ac_compile) 2>conftest.er1
34857 ac_status=$?
34858 grep -v '^ *+' conftest.er1 >conftest.err
34859 rm -f conftest.er1
34860 cat conftest.err >&5
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); } &&
34863 { ac_try='test -z "$ac_cxx_werror_flag"
34864 || test ! -s conftest.err'
34865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34866 (eval $ac_try) 2>&5
34867 ac_status=$?
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); }; } &&
34870 { ac_try='test -s conftest.$ac_objext'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; }; then
34876 wx_cv_func_statfs_decl=yes
34877 else
34878 echo "$as_me: failed program was:" >&5
34879 sed 's/^/| /' conftest.$ac_ext >&5
34880
34881 wx_cv_func_statfs_decl=no
34882
34883 fi
34884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34885
34886 fi
34887 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
34888 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
34889 ac_ext=c
34890 ac_cpp='$CPP $CPPFLAGS'
34891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34894
34895
34896 if test "$wx_cv_func_statfs_decl" = "yes"; then
34897 cat >>confdefs.h <<\_ACEOF
34898 #define HAVE_STATFS_DECL 1
34899 _ACEOF
34900
34901 fi
34902
34903 wx_cv_type_statvfs_t="struct statfs"
34904 cat >>confdefs.h <<\_ACEOF
34905 #define HAVE_STATFS 1
34906 _ACEOF
34907
34908 else
34909 echo "$as_me:$LINENO: checking for statvfs" >&5
34910 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
34911 if test "${wx_cv_func_statvfs+set}" = set; then
34912 echo $ECHO_N "(cached) $ECHO_C" >&6
34913 else
34914 cat >conftest.$ac_ext <<_ACEOF
34915 /* confdefs.h. */
34916 _ACEOF
34917 cat confdefs.h >>conftest.$ac_ext
34918 cat >>conftest.$ac_ext <<_ACEOF
34919 /* end confdefs.h. */
34920
34921 #include <stddef.h>
34922 #include <sys/statvfs.h>
34923
34924 int
34925 main ()
34926 {
34927
34928 statvfs("/", NULL);
34929
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 rm -f conftest.$ac_objext
34935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34936 (eval $ac_compile) 2>conftest.er1
34937 ac_status=$?
34938 grep -v '^ *+' conftest.er1 >conftest.err
34939 rm -f conftest.er1
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } &&
34943 { ac_try='test -z "$ac_c_werror_flag"
34944 || test ! -s conftest.err'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; } &&
34950 { ac_try='test -s conftest.$ac_objext'
34951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34952 (eval $ac_try) 2>&5
34953 ac_status=$?
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); }; }; then
34956 wx_cv_func_statvfs=yes
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 wx_cv_func_statvfs=no
34962
34963 fi
34964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34965
34966 fi
34967 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
34968 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
34969
34970 if test "$wx_cv_func_statvfs" = "yes"; then
34971
34972
34973 ac_ext=cc
34974 ac_cpp='$CXXCPP $CPPFLAGS'
34975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34978
34979
34980 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
34981 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
34982 if test "${wx_cv_type_statvfs_t+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34984 else
34985 cat >conftest.$ac_ext <<_ACEOF
34986 /* confdefs.h. */
34987 _ACEOF
34988 cat confdefs.h >>conftest.$ac_ext
34989 cat >>conftest.$ac_ext <<_ACEOF
34990 /* end confdefs.h. */
34991
34992 #include <sys/statvfs.h>
34993
34994 int
34995 main ()
34996 {
34997
34998 long l;
34999 statvfs_t fs;
35000 statvfs("/", &fs);
35001 l = fs.f_bsize;
35002 l += fs.f_blocks;
35003 l += fs.f_bavail;
35004
35005 ;
35006 return 0;
35007 }
35008 _ACEOF
35009 rm -f conftest.$ac_objext
35010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35011 (eval $ac_compile) 2>conftest.er1
35012 ac_status=$?
35013 grep -v '^ *+' conftest.er1 >conftest.err
35014 rm -f conftest.er1
35015 cat conftest.err >&5
35016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35017 (exit $ac_status); } &&
35018 { ac_try='test -z "$ac_cxx_werror_flag"
35019 || test ! -s conftest.err'
35020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35021 (eval $ac_try) 2>&5
35022 ac_status=$?
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); }; } &&
35025 { ac_try='test -s conftest.$ac_objext'
35026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35027 (eval $ac_try) 2>&5
35028 ac_status=$?
35029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35030 (exit $ac_status); }; }; then
35031 wx_cv_type_statvfs_t=statvfs_t
35032 else
35033 echo "$as_me: failed program was:" >&5
35034 sed 's/^/| /' conftest.$ac_ext >&5
35035
35036
35037 cat >conftest.$ac_ext <<_ACEOF
35038 /* confdefs.h. */
35039 _ACEOF
35040 cat confdefs.h >>conftest.$ac_ext
35041 cat >>conftest.$ac_ext <<_ACEOF
35042 /* end confdefs.h. */
35043
35044 #include <sys/statvfs.h>
35045
35046 int
35047 main ()
35048 {
35049
35050 long l;
35051 struct statvfs fs;
35052 statvfs("/", &fs);
35053 l = fs.f_bsize;
35054 l += fs.f_blocks;
35055 l += fs.f_bavail;
35056
35057 ;
35058 return 0;
35059 }
35060 _ACEOF
35061 rm -f conftest.$ac_objext
35062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35063 (eval $ac_compile) 2>conftest.er1
35064 ac_status=$?
35065 grep -v '^ *+' conftest.er1 >conftest.err
35066 rm -f conftest.er1
35067 cat conftest.err >&5
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); } &&
35070 { ac_try='test -z "$ac_cxx_werror_flag"
35071 || test ! -s conftest.err'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35074 ac_status=$?
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; } &&
35077 { ac_try='test -s conftest.$ac_objext'
35078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35079 (eval $ac_try) 2>&5
35080 ac_status=$?
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); }; }; then
35083 wx_cv_type_statvfs_t="struct statvfs"
35084 else
35085 echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.$ac_ext >&5
35087
35088 wx_cv_type_statvfs_t="unknown"
35089
35090 fi
35091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35092
35093
35094 fi
35095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35096
35097 fi
35098 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35099 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35100
35101 ac_ext=c
35102 ac_cpp='$CPP $CPPFLAGS'
35103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35106
35107
35108 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35109 cat >>confdefs.h <<\_ACEOF
35110 #define HAVE_STATVFS 1
35111 _ACEOF
35112
35113 fi
35114 else
35115 wx_cv_type_statvfs_t="unknown"
35116 fi
35117 fi
35118
35119 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35120 cat >>confdefs.h <<_ACEOF
35121 #define WX_STATFS_T $wx_cv_type_statvfs_t
35122 _ACEOF
35123
35124 else
35125 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35126 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35127 fi
35128
35129 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35130
35131
35132 for ac_func in fcntl flock
35133 do
35134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35135 echo "$as_me:$LINENO: checking for $ac_func" >&5
35136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35137 if eval "test \"\${$as_ac_var+set}\" = set"; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35139 else
35140 cat >conftest.$ac_ext <<_ACEOF
35141 /* confdefs.h. */
35142 _ACEOF
35143 cat confdefs.h >>conftest.$ac_ext
35144 cat >>conftest.$ac_ext <<_ACEOF
35145 /* end confdefs.h. */
35146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35148 #define $ac_func innocuous_$ac_func
35149
35150 /* System header to define __stub macros and hopefully few prototypes,
35151 which can conflict with char $ac_func (); below.
35152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35153 <limits.h> exists even on freestanding compilers. */
35154
35155 #ifdef __STDC__
35156 # include <limits.h>
35157 #else
35158 # include <assert.h>
35159 #endif
35160
35161 #undef $ac_func
35162
35163 /* Override any gcc2 internal prototype to avoid an error. */
35164 #ifdef __cplusplus
35165 extern "C"
35166 {
35167 #endif
35168 /* We use char because int might match the return type of a gcc2
35169 builtin and then its argument prototype would still apply. */
35170 char $ac_func ();
35171 /* The GNU C library defines this for functions which it implements
35172 to always fail with ENOSYS. Some functions are actually named
35173 something starting with __ and the normal name is an alias. */
35174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35175 choke me
35176 #else
35177 char (*f) () = $ac_func;
35178 #endif
35179 #ifdef __cplusplus
35180 }
35181 #endif
35182
35183 int
35184 main ()
35185 {
35186 return f != $ac_func;
35187 ;
35188 return 0;
35189 }
35190 _ACEOF
35191 rm -f conftest.$ac_objext conftest$ac_exeext
35192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35193 (eval $ac_link) 2>conftest.er1
35194 ac_status=$?
35195 grep -v '^ *+' conftest.er1 >conftest.err
35196 rm -f conftest.er1
35197 cat conftest.err >&5
35198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35199 (exit $ac_status); } &&
35200 { ac_try='test -z "$ac_c_werror_flag"
35201 || test ! -s conftest.err'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; } &&
35207 { ac_try='test -s conftest$ac_exeext'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; }; then
35213 eval "$as_ac_var=yes"
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218 eval "$as_ac_var=no"
35219 fi
35220 rm -f conftest.err conftest.$ac_objext \
35221 conftest$ac_exeext conftest.$ac_ext
35222 fi
35223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35225 if test `eval echo '${'$as_ac_var'}'` = yes; then
35226 cat >>confdefs.h <<_ACEOF
35227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35228 _ACEOF
35229 break
35230 fi
35231 done
35232
35233
35234 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
35235 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
35236 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
35237 wxUSE_SNGLINST_CHECKER=no
35238 fi
35239 fi
35240
35241
35242 for ac_func in timegm
35243 do
35244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35245 echo "$as_me:$LINENO: checking for $ac_func" >&5
35246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35247 if eval "test \"\${$as_ac_var+set}\" = set"; then
35248 echo $ECHO_N "(cached) $ECHO_C" >&6
35249 else
35250 cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h. */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35258 #define $ac_func innocuous_$ac_func
35259
35260 /* System header to define __stub macros and hopefully few prototypes,
35261 which can conflict with char $ac_func (); below.
35262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35263 <limits.h> exists even on freestanding compilers. */
35264
35265 #ifdef __STDC__
35266 # include <limits.h>
35267 #else
35268 # include <assert.h>
35269 #endif
35270
35271 #undef $ac_func
35272
35273 /* Override any gcc2 internal prototype to avoid an error. */
35274 #ifdef __cplusplus
35275 extern "C"
35276 {
35277 #endif
35278 /* We use char because int might match the return type of a gcc2
35279 builtin and then its argument prototype would still apply. */
35280 char $ac_func ();
35281 /* The GNU C library defines this for functions which it implements
35282 to always fail with ENOSYS. Some functions are actually named
35283 something starting with __ and the normal name is an alias. */
35284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35285 choke me
35286 #else
35287 char (*f) () = $ac_func;
35288 #endif
35289 #ifdef __cplusplus
35290 }
35291 #endif
35292
35293 int
35294 main ()
35295 {
35296 return f != $ac_func;
35297 ;
35298 return 0;
35299 }
35300 _ACEOF
35301 rm -f conftest.$ac_objext conftest$ac_exeext
35302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35303 (eval $ac_link) 2>conftest.er1
35304 ac_status=$?
35305 grep -v '^ *+' conftest.er1 >conftest.err
35306 rm -f conftest.er1
35307 cat conftest.err >&5
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); } &&
35310 { ac_try='test -z "$ac_c_werror_flag"
35311 || test ! -s conftest.err'
35312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35313 (eval $ac_try) 2>&5
35314 ac_status=$?
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); }; } &&
35317 { ac_try='test -s conftest$ac_exeext'
35318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35319 (eval $ac_try) 2>&5
35320 ac_status=$?
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); }; }; then
35323 eval "$as_ac_var=yes"
35324 else
35325 echo "$as_me: failed program was:" >&5
35326 sed 's/^/| /' conftest.$ac_ext >&5
35327
35328 eval "$as_ac_var=no"
35329 fi
35330 rm -f conftest.err conftest.$ac_objext \
35331 conftest$ac_exeext conftest.$ac_ext
35332 fi
35333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35335 if test `eval echo '${'$as_ac_var'}'` = yes; then
35336 cat >>confdefs.h <<_ACEOF
35337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35338 _ACEOF
35339
35340 fi
35341 done
35342
35343
35344
35345
35346 for ac_func in putenv setenv
35347 do
35348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35349 echo "$as_me:$LINENO: checking for $ac_func" >&5
35350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35351 if eval "test \"\${$as_ac_var+set}\" = set"; then
35352 echo $ECHO_N "(cached) $ECHO_C" >&6
35353 else
35354 cat >conftest.$ac_ext <<_ACEOF
35355 /* confdefs.h. */
35356 _ACEOF
35357 cat confdefs.h >>conftest.$ac_ext
35358 cat >>conftest.$ac_ext <<_ACEOF
35359 /* end confdefs.h. */
35360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35362 #define $ac_func innocuous_$ac_func
35363
35364 /* System header to define __stub macros and hopefully few prototypes,
35365 which can conflict with char $ac_func (); below.
35366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35367 <limits.h> exists even on freestanding compilers. */
35368
35369 #ifdef __STDC__
35370 # include <limits.h>
35371 #else
35372 # include <assert.h>
35373 #endif
35374
35375 #undef $ac_func
35376
35377 /* Override any gcc2 internal prototype to avoid an error. */
35378 #ifdef __cplusplus
35379 extern "C"
35380 {
35381 #endif
35382 /* We use char because int might match the return type of a gcc2
35383 builtin and then its argument prototype would still apply. */
35384 char $ac_func ();
35385 /* The GNU C library defines this for functions which it implements
35386 to always fail with ENOSYS. Some functions are actually named
35387 something starting with __ and the normal name is an alias. */
35388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35389 choke me
35390 #else
35391 char (*f) () = $ac_func;
35392 #endif
35393 #ifdef __cplusplus
35394 }
35395 #endif
35396
35397 int
35398 main ()
35399 {
35400 return f != $ac_func;
35401 ;
35402 return 0;
35403 }
35404 _ACEOF
35405 rm -f conftest.$ac_objext conftest$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>conftest.er1
35408 ac_status=$?
35409 grep -v '^ *+' conftest.er1 >conftest.err
35410 rm -f conftest.er1
35411 cat conftest.err >&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } &&
35414 { ac_try='test -z "$ac_c_werror_flag"
35415 || test ! -s conftest.err'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35418 ac_status=$?
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; } &&
35421 { ac_try='test -s conftest$ac_exeext'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35424 ac_status=$?
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; }; then
35427 eval "$as_ac_var=yes"
35428 else
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35431
35432 eval "$as_ac_var=no"
35433 fi
35434 rm -f conftest.err conftest.$ac_objext \
35435 conftest$ac_exeext conftest.$ac_ext
35436 fi
35437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35439 if test `eval echo '${'$as_ac_var'}'` = yes; then
35440 cat >>confdefs.h <<_ACEOF
35441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35442 _ACEOF
35443 break
35444 fi
35445 done
35446
35447
35448 HAVE_SOME_SLEEP_FUNC=0
35449 if test "$USE_BEOS" = 1; then
35450 cat >>confdefs.h <<\_ACEOF
35451 #define HAVE_SLEEP 1
35452 _ACEOF
35453
35454 HAVE_SOME_SLEEP_FUNC=1
35455 fi
35456
35457 if test "$USE_DARWIN" = 1; then
35458 cat >>confdefs.h <<\_ACEOF
35459 #define HAVE_USLEEP 1
35460 _ACEOF
35461
35462 HAVE_SOME_SLEEP_FUNC=1
35463 fi
35464
35465 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
35466 POSIX4_LINK=
35467
35468 for ac_func in nanosleep
35469 do
35470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35471 echo "$as_me:$LINENO: checking for $ac_func" >&5
35472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35473 if eval "test \"\${$as_ac_var+set}\" = set"; then
35474 echo $ECHO_N "(cached) $ECHO_C" >&6
35475 else
35476 cat >conftest.$ac_ext <<_ACEOF
35477 /* confdefs.h. */
35478 _ACEOF
35479 cat confdefs.h >>conftest.$ac_ext
35480 cat >>conftest.$ac_ext <<_ACEOF
35481 /* end confdefs.h. */
35482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35484 #define $ac_func innocuous_$ac_func
35485
35486 /* System header to define __stub macros and hopefully few prototypes,
35487 which can conflict with char $ac_func (); below.
35488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35489 <limits.h> exists even on freestanding compilers. */
35490
35491 #ifdef __STDC__
35492 # include <limits.h>
35493 #else
35494 # include <assert.h>
35495 #endif
35496
35497 #undef $ac_func
35498
35499 /* Override any gcc2 internal prototype to avoid an error. */
35500 #ifdef __cplusplus
35501 extern "C"
35502 {
35503 #endif
35504 /* We use char because int might match the return type of a gcc2
35505 builtin and then its argument prototype would still apply. */
35506 char $ac_func ();
35507 /* The GNU C library defines this for functions which it implements
35508 to always fail with ENOSYS. Some functions are actually named
35509 something starting with __ and the normal name is an alias. */
35510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35511 choke me
35512 #else
35513 char (*f) () = $ac_func;
35514 #endif
35515 #ifdef __cplusplus
35516 }
35517 #endif
35518
35519 int
35520 main ()
35521 {
35522 return f != $ac_func;
35523 ;
35524 return 0;
35525 }
35526 _ACEOF
35527 rm -f conftest.$ac_objext conftest$ac_exeext
35528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35529 (eval $ac_link) 2>conftest.er1
35530 ac_status=$?
35531 grep -v '^ *+' conftest.er1 >conftest.err
35532 rm -f conftest.er1
35533 cat conftest.err >&5
35534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35535 (exit $ac_status); } &&
35536 { ac_try='test -z "$ac_c_werror_flag"
35537 || test ! -s conftest.err'
35538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35539 (eval $ac_try) 2>&5
35540 ac_status=$?
35541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35542 (exit $ac_status); }; } &&
35543 { ac_try='test -s conftest$ac_exeext'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; }; then
35549 eval "$as_ac_var=yes"
35550 else
35551 echo "$as_me: failed program was:" >&5
35552 sed 's/^/| /' conftest.$ac_ext >&5
35553
35554 eval "$as_ac_var=no"
35555 fi
35556 rm -f conftest.err conftest.$ac_objext \
35557 conftest$ac_exeext conftest.$ac_ext
35558 fi
35559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35561 if test `eval echo '${'$as_ac_var'}'` = yes; then
35562 cat >>confdefs.h <<_ACEOF
35563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35564 _ACEOF
35565 cat >>confdefs.h <<\_ACEOF
35566 #define HAVE_NANOSLEEP 1
35567 _ACEOF
35568
35569 else
35570
35571 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
35572 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
35573 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
35574 echo $ECHO_N "(cached) $ECHO_C" >&6
35575 else
35576 ac_check_lib_save_LIBS=$LIBS
35577 LIBS="-lposix4 $LIBS"
35578 cat >conftest.$ac_ext <<_ACEOF
35579 /* confdefs.h. */
35580 _ACEOF
35581 cat confdefs.h >>conftest.$ac_ext
35582 cat >>conftest.$ac_ext <<_ACEOF
35583 /* end confdefs.h. */
35584
35585 /* Override any gcc2 internal prototype to avoid an error. */
35586 #ifdef __cplusplus
35587 extern "C"
35588 #endif
35589 /* We use char because int might match the return type of a gcc2
35590 builtin and then its argument prototype would still apply. */
35591 char nanosleep ();
35592 int
35593 main ()
35594 {
35595 nanosleep ();
35596 ;
35597 return 0;
35598 }
35599 _ACEOF
35600 rm -f conftest.$ac_objext conftest$ac_exeext
35601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35602 (eval $ac_link) 2>conftest.er1
35603 ac_status=$?
35604 grep -v '^ *+' conftest.er1 >conftest.err
35605 rm -f conftest.er1
35606 cat conftest.err >&5
35607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35608 (exit $ac_status); } &&
35609 { ac_try='test -z "$ac_c_werror_flag"
35610 || test ! -s conftest.err'
35611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35612 (eval $ac_try) 2>&5
35613 ac_status=$?
35614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35615 (exit $ac_status); }; } &&
35616 { ac_try='test -s conftest$ac_exeext'
35617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35618 (eval $ac_try) 2>&5
35619 ac_status=$?
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); }; }; then
35622 ac_cv_lib_posix4_nanosleep=yes
35623 else
35624 echo "$as_me: failed program was:" >&5
35625 sed 's/^/| /' conftest.$ac_ext >&5
35626
35627 ac_cv_lib_posix4_nanosleep=no
35628 fi
35629 rm -f conftest.err conftest.$ac_objext \
35630 conftest$ac_exeext conftest.$ac_ext
35631 LIBS=$ac_check_lib_save_LIBS
35632 fi
35633 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
35634 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
35635 if test $ac_cv_lib_posix4_nanosleep = yes; then
35636
35637 cat >>confdefs.h <<\_ACEOF
35638 #define HAVE_NANOSLEEP 1
35639 _ACEOF
35640
35641 POSIX4_LINK=" -lposix4"
35642
35643 else
35644
35645
35646 for ac_func in usleep
35647 do
35648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35649 echo "$as_me:$LINENO: checking for $ac_func" >&5
35650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35651 if eval "test \"\${$as_ac_var+set}\" = set"; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35653 else
35654 cat >conftest.$ac_ext <<_ACEOF
35655 /* confdefs.h. */
35656 _ACEOF
35657 cat confdefs.h >>conftest.$ac_ext
35658 cat >>conftest.$ac_ext <<_ACEOF
35659 /* end confdefs.h. */
35660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35662 #define $ac_func innocuous_$ac_func
35663
35664 /* System header to define __stub macros and hopefully few prototypes,
35665 which can conflict with char $ac_func (); below.
35666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35667 <limits.h> exists even on freestanding compilers. */
35668
35669 #ifdef __STDC__
35670 # include <limits.h>
35671 #else
35672 # include <assert.h>
35673 #endif
35674
35675 #undef $ac_func
35676
35677 /* Override any gcc2 internal prototype to avoid an error. */
35678 #ifdef __cplusplus
35679 extern "C"
35680 {
35681 #endif
35682 /* We use char because int might match the return type of a gcc2
35683 builtin and then its argument prototype would still apply. */
35684 char $ac_func ();
35685 /* The GNU C library defines this for functions which it implements
35686 to always fail with ENOSYS. Some functions are actually named
35687 something starting with __ and the normal name is an alias. */
35688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35689 choke me
35690 #else
35691 char (*f) () = $ac_func;
35692 #endif
35693 #ifdef __cplusplus
35694 }
35695 #endif
35696
35697 int
35698 main ()
35699 {
35700 return f != $ac_func;
35701 ;
35702 return 0;
35703 }
35704 _ACEOF
35705 rm -f conftest.$ac_objext conftest$ac_exeext
35706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35707 (eval $ac_link) 2>conftest.er1
35708 ac_status=$?
35709 grep -v '^ *+' conftest.er1 >conftest.err
35710 rm -f conftest.er1
35711 cat conftest.err >&5
35712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35713 (exit $ac_status); } &&
35714 { ac_try='test -z "$ac_c_werror_flag"
35715 || test ! -s conftest.err'
35716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35717 (eval $ac_try) 2>&5
35718 ac_status=$?
35719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35720 (exit $ac_status); }; } &&
35721 { ac_try='test -s conftest$ac_exeext'
35722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35723 (eval $ac_try) 2>&5
35724 ac_status=$?
35725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35726 (exit $ac_status); }; }; then
35727 eval "$as_ac_var=yes"
35728 else
35729 echo "$as_me: failed program was:" >&5
35730 sed 's/^/| /' conftest.$ac_ext >&5
35731
35732 eval "$as_ac_var=no"
35733 fi
35734 rm -f conftest.err conftest.$ac_objext \
35735 conftest$ac_exeext conftest.$ac_ext
35736 fi
35737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35739 if test `eval echo '${'$as_ac_var'}'` = yes; then
35740 cat >>confdefs.h <<_ACEOF
35741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35742 _ACEOF
35743 cat >>confdefs.h <<\_ACEOF
35744 #define HAVE_USLEEP 1
35745 _ACEOF
35746
35747 else
35748 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
35749 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
35750
35751 fi
35752 done
35753
35754
35755
35756 fi
35757
35758
35759
35760 fi
35761 done
35762
35763 fi
35764
35765
35766
35767 for ac_func in uname gethostname
35768 do
35769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35770 echo "$as_me:$LINENO: checking for $ac_func" >&5
35771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35772 if eval "test \"\${$as_ac_var+set}\" = set"; then
35773 echo $ECHO_N "(cached) $ECHO_C" >&6
35774 else
35775 cat >conftest.$ac_ext <<_ACEOF
35776 /* confdefs.h. */
35777 _ACEOF
35778 cat confdefs.h >>conftest.$ac_ext
35779 cat >>conftest.$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35783 #define $ac_func innocuous_$ac_func
35784
35785 /* System header to define __stub macros and hopefully few prototypes,
35786 which can conflict with char $ac_func (); below.
35787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35788 <limits.h> exists even on freestanding compilers. */
35789
35790 #ifdef __STDC__
35791 # include <limits.h>
35792 #else
35793 # include <assert.h>
35794 #endif
35795
35796 #undef $ac_func
35797
35798 /* Override any gcc2 internal prototype to avoid an error. */
35799 #ifdef __cplusplus
35800 extern "C"
35801 {
35802 #endif
35803 /* We use char because int might match the return type of a gcc2
35804 builtin and then its argument prototype would still apply. */
35805 char $ac_func ();
35806 /* The GNU C library defines this for functions which it implements
35807 to always fail with ENOSYS. Some functions are actually named
35808 something starting with __ and the normal name is an alias. */
35809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35810 choke me
35811 #else
35812 char (*f) () = $ac_func;
35813 #endif
35814 #ifdef __cplusplus
35815 }
35816 #endif
35817
35818 int
35819 main ()
35820 {
35821 return f != $ac_func;
35822 ;
35823 return 0;
35824 }
35825 _ACEOF
35826 rm -f conftest.$ac_objext conftest$ac_exeext
35827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35828 (eval $ac_link) 2>conftest.er1
35829 ac_status=$?
35830 grep -v '^ *+' conftest.er1 >conftest.err
35831 rm -f conftest.er1
35832 cat conftest.err >&5
35833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35834 (exit $ac_status); } &&
35835 { ac_try='test -z "$ac_c_werror_flag"
35836 || test ! -s conftest.err'
35837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35838 (eval $ac_try) 2>&5
35839 ac_status=$?
35840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35841 (exit $ac_status); }; } &&
35842 { ac_try='test -s conftest$ac_exeext'
35843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35844 (eval $ac_try) 2>&5
35845 ac_status=$?
35846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35847 (exit $ac_status); }; }; then
35848 eval "$as_ac_var=yes"
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 eval "$as_ac_var=no"
35854 fi
35855 rm -f conftest.err conftest.$ac_objext \
35856 conftest$ac_exeext conftest.$ac_ext
35857 fi
35858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35860 if test `eval echo '${'$as_ac_var'}'` = yes; then
35861 cat >>confdefs.h <<_ACEOF
35862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35863 _ACEOF
35864 break
35865 fi
35866 done
35867
35868
35869
35870
35871 ac_ext=cc
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877
35878
35879 for ac_func in strtok_r
35880 do
35881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35882 echo "$as_me:$LINENO: checking for $ac_func" >&5
35883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35884 if eval "test \"\${$as_ac_var+set}\" = set"; then
35885 echo $ECHO_N "(cached) $ECHO_C" >&6
35886 else
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35895 #define $ac_func innocuous_$ac_func
35896
35897 /* System header to define __stub macros and hopefully few prototypes,
35898 which can conflict with char $ac_func (); below.
35899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35900 <limits.h> exists even on freestanding compilers. */
35901
35902 #ifdef __STDC__
35903 # include <limits.h>
35904 #else
35905 # include <assert.h>
35906 #endif
35907
35908 #undef $ac_func
35909
35910 /* Override any gcc2 internal prototype to avoid an error. */
35911 #ifdef __cplusplus
35912 extern "C"
35913 {
35914 #endif
35915 /* We use char because int might match the return type of a gcc2
35916 builtin and then its argument prototype would still apply. */
35917 char $ac_func ();
35918 /* The GNU C library defines this for functions which it implements
35919 to always fail with ENOSYS. Some functions are actually named
35920 something starting with __ and the normal name is an alias. */
35921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35922 choke me
35923 #else
35924 char (*f) () = $ac_func;
35925 #endif
35926 #ifdef __cplusplus
35927 }
35928 #endif
35929
35930 int
35931 main ()
35932 {
35933 return f != $ac_func;
35934 ;
35935 return 0;
35936 }
35937 _ACEOF
35938 rm -f conftest.$ac_objext conftest$ac_exeext
35939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35940 (eval $ac_link) 2>conftest.er1
35941 ac_status=$?
35942 grep -v '^ *+' conftest.er1 >conftest.err
35943 rm -f conftest.er1
35944 cat conftest.err >&5
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); } &&
35947 { ac_try='test -z "$ac_cxx_werror_flag"
35948 || test ! -s conftest.err'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; } &&
35954 { ac_try='test -s conftest$ac_exeext'
35955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35956 (eval $ac_try) 2>&5
35957 ac_status=$?
35958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35959 (exit $ac_status); }; }; then
35960 eval "$as_ac_var=yes"
35961 else
35962 echo "$as_me: failed program was:" >&5
35963 sed 's/^/| /' conftest.$ac_ext >&5
35964
35965 eval "$as_ac_var=no"
35966 fi
35967 rm -f conftest.err conftest.$ac_objext \
35968 conftest$ac_exeext conftest.$ac_ext
35969 fi
35970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35972 if test `eval echo '${'$as_ac_var'}'` = yes; then
35973 cat >>confdefs.h <<_ACEOF
35974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980
35981 ac_ext=c
35982 ac_cpp='$CPP $CPPFLAGS'
35983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35986
35987
35988 INET_LINK=
35989
35990 for ac_func in inet_addr
35991 do
35992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35993 echo "$as_me:$LINENO: checking for $ac_func" >&5
35994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35995 if eval "test \"\${$as_ac_var+set}\" = set"; then
35996 echo $ECHO_N "(cached) $ECHO_C" >&6
35997 else
35998 cat >conftest.$ac_ext <<_ACEOF
35999 /* confdefs.h. */
36000 _ACEOF
36001 cat confdefs.h >>conftest.$ac_ext
36002 cat >>conftest.$ac_ext <<_ACEOF
36003 /* end confdefs.h. */
36004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36006 #define $ac_func innocuous_$ac_func
36007
36008 /* System header to define __stub macros and hopefully few prototypes,
36009 which can conflict with char $ac_func (); below.
36010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36011 <limits.h> exists even on freestanding compilers. */
36012
36013 #ifdef __STDC__
36014 # include <limits.h>
36015 #else
36016 # include <assert.h>
36017 #endif
36018
36019 #undef $ac_func
36020
36021 /* Override any gcc2 internal prototype to avoid an error. */
36022 #ifdef __cplusplus
36023 extern "C"
36024 {
36025 #endif
36026 /* We use char because int might match the return type of a gcc2
36027 builtin and then its argument prototype would still apply. */
36028 char $ac_func ();
36029 /* The GNU C library defines this for functions which it implements
36030 to always fail with ENOSYS. Some functions are actually named
36031 something starting with __ and the normal name is an alias. */
36032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36033 choke me
36034 #else
36035 char (*f) () = $ac_func;
36036 #endif
36037 #ifdef __cplusplus
36038 }
36039 #endif
36040
36041 int
36042 main ()
36043 {
36044 return f != $ac_func;
36045 ;
36046 return 0;
36047 }
36048 _ACEOF
36049 rm -f conftest.$ac_objext conftest$ac_exeext
36050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36051 (eval $ac_link) 2>conftest.er1
36052 ac_status=$?
36053 grep -v '^ *+' conftest.er1 >conftest.err
36054 rm -f conftest.er1
36055 cat conftest.err >&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } &&
36058 { ac_try='test -z "$ac_c_werror_flag"
36059 || test ! -s conftest.err'
36060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36061 (eval $ac_try) 2>&5
36062 ac_status=$?
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); }; } &&
36065 { ac_try='test -s conftest$ac_exeext'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36068 ac_status=$?
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; }; then
36071 eval "$as_ac_var=yes"
36072 else
36073 echo "$as_me: failed program was:" >&5
36074 sed 's/^/| /' conftest.$ac_ext >&5
36075
36076 eval "$as_ac_var=no"
36077 fi
36078 rm -f conftest.err conftest.$ac_objext \
36079 conftest$ac_exeext conftest.$ac_ext
36080 fi
36081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36083 if test `eval echo '${'$as_ac_var'}'` = yes; then
36084 cat >>confdefs.h <<_ACEOF
36085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36086 _ACEOF
36087 cat >>confdefs.h <<\_ACEOF
36088 #define HAVE_INET_ADDR 1
36089 _ACEOF
36090
36091 else
36092
36093 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36094 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36095 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36096 echo $ECHO_N "(cached) $ECHO_C" >&6
36097 else
36098 ac_check_lib_save_LIBS=$LIBS
36099 LIBS="-lnsl $LIBS"
36100 cat >conftest.$ac_ext <<_ACEOF
36101 /* confdefs.h. */
36102 _ACEOF
36103 cat confdefs.h >>conftest.$ac_ext
36104 cat >>conftest.$ac_ext <<_ACEOF
36105 /* end confdefs.h. */
36106
36107 /* Override any gcc2 internal prototype to avoid an error. */
36108 #ifdef __cplusplus
36109 extern "C"
36110 #endif
36111 /* We use char because int might match the return type of a gcc2
36112 builtin and then its argument prototype would still apply. */
36113 char inet_addr ();
36114 int
36115 main ()
36116 {
36117 inet_addr ();
36118 ;
36119 return 0;
36120 }
36121 _ACEOF
36122 rm -f conftest.$ac_objext conftest$ac_exeext
36123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36124 (eval $ac_link) 2>conftest.er1
36125 ac_status=$?
36126 grep -v '^ *+' conftest.er1 >conftest.err
36127 rm -f conftest.er1
36128 cat conftest.err >&5
36129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130 (exit $ac_status); } &&
36131 { ac_try='test -z "$ac_c_werror_flag"
36132 || test ! -s conftest.err'
36133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134 (eval $ac_try) 2>&5
36135 ac_status=$?
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; } &&
36138 { ac_try='test -s conftest$ac_exeext'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36141 ac_status=$?
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; }; then
36144 ac_cv_lib_nsl_inet_addr=yes
36145 else
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36148
36149 ac_cv_lib_nsl_inet_addr=no
36150 fi
36151 rm -f conftest.err conftest.$ac_objext \
36152 conftest$ac_exeext conftest.$ac_ext
36153 LIBS=$ac_check_lib_save_LIBS
36154 fi
36155 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36156 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36157 if test $ac_cv_lib_nsl_inet_addr = yes; then
36158 INET_LINK="nsl"
36159 else
36160
36161 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36162 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36163 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36164 echo $ECHO_N "(cached) $ECHO_C" >&6
36165 else
36166 ac_check_lib_save_LIBS=$LIBS
36167 LIBS="-lresolv $LIBS"
36168 cat >conftest.$ac_ext <<_ACEOF
36169 /* confdefs.h. */
36170 _ACEOF
36171 cat confdefs.h >>conftest.$ac_ext
36172 cat >>conftest.$ac_ext <<_ACEOF
36173 /* end confdefs.h. */
36174
36175 /* Override any gcc2 internal prototype to avoid an error. */
36176 #ifdef __cplusplus
36177 extern "C"
36178 #endif
36179 /* We use char because int might match the return type of a gcc2
36180 builtin and then its argument prototype would still apply. */
36181 char inet_addr ();
36182 int
36183 main ()
36184 {
36185 inet_addr ();
36186 ;
36187 return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>conftest.er1
36193 ac_status=$?
36194 grep -v '^ *+' conftest.er1 >conftest.err
36195 rm -f conftest.er1
36196 cat conftest.err >&5
36197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198 (exit $ac_status); } &&
36199 { ac_try='test -z "$ac_c_werror_flag"
36200 || test ! -s conftest.err'
36201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36202 (eval $ac_try) 2>&5
36203 ac_status=$?
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); }; } &&
36206 { ac_try='test -s conftest$ac_exeext'
36207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208 (eval $ac_try) 2>&5
36209 ac_status=$?
36210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211 (exit $ac_status); }; }; then
36212 ac_cv_lib_resolv_inet_addr=yes
36213 else
36214 echo "$as_me: failed program was:" >&5
36215 sed 's/^/| /' conftest.$ac_ext >&5
36216
36217 ac_cv_lib_resolv_inet_addr=no
36218 fi
36219 rm -f conftest.err conftest.$ac_objext \
36220 conftest$ac_exeext conftest.$ac_ext
36221 LIBS=$ac_check_lib_save_LIBS
36222 fi
36223 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
36224 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
36225 if test $ac_cv_lib_resolv_inet_addr = yes; then
36226 INET_LINK="resolv"
36227 else
36228
36229 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
36230 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
36231 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
36232 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 else
36234 ac_check_lib_save_LIBS=$LIBS
36235 LIBS="-lsocket $LIBS"
36236 cat >conftest.$ac_ext <<_ACEOF
36237 /* confdefs.h. */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242
36243 /* Override any gcc2 internal prototype to avoid an error. */
36244 #ifdef __cplusplus
36245 extern "C"
36246 #endif
36247 /* We use char because int might match the return type of a gcc2
36248 builtin and then its argument prototype would still apply. */
36249 char inet_addr ();
36250 int
36251 main ()
36252 {
36253 inet_addr ();
36254 ;
36255 return 0;
36256 }
36257 _ACEOF
36258 rm -f conftest.$ac_objext conftest$ac_exeext
36259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36260 (eval $ac_link) 2>conftest.er1
36261 ac_status=$?
36262 grep -v '^ *+' conftest.er1 >conftest.err
36263 rm -f conftest.er1
36264 cat conftest.err >&5
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); } &&
36267 { ac_try='test -z "$ac_c_werror_flag"
36268 || test ! -s conftest.err'
36269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36270 (eval $ac_try) 2>&5
36271 ac_status=$?
36272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36273 (exit $ac_status); }; } &&
36274 { ac_try='test -s conftest$ac_exeext'
36275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36276 (eval $ac_try) 2>&5
36277 ac_status=$?
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); }; }; then
36280 ac_cv_lib_socket_inet_addr=yes
36281 else
36282 echo "$as_me: failed program was:" >&5
36283 sed 's/^/| /' conftest.$ac_ext >&5
36284
36285 ac_cv_lib_socket_inet_addr=no
36286 fi
36287 rm -f conftest.err conftest.$ac_objext \
36288 conftest$ac_exeext conftest.$ac_ext
36289 LIBS=$ac_check_lib_save_LIBS
36290 fi
36291 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
36292 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
36293 if test $ac_cv_lib_socket_inet_addr = yes; then
36294 INET_LINK="socket"
36295
36296 fi
36297
36298
36299
36300 fi
36301
36302
36303
36304 fi
36305
36306
36307
36308 fi
36309 done
36310
36311
36312
36313 for ac_func in inet_aton
36314 do
36315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36316 echo "$as_me:$LINENO: checking for $ac_func" >&5
36317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36318 if eval "test \"\${$as_ac_var+set}\" = set"; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36320 else
36321 cat >conftest.$ac_ext <<_ACEOF
36322 /* confdefs.h. */
36323 _ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36329 #define $ac_func innocuous_$ac_func
36330
36331 /* System header to define __stub macros and hopefully few prototypes,
36332 which can conflict with char $ac_func (); below.
36333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36334 <limits.h> exists even on freestanding compilers. */
36335
36336 #ifdef __STDC__
36337 # include <limits.h>
36338 #else
36339 # include <assert.h>
36340 #endif
36341
36342 #undef $ac_func
36343
36344 /* Override any gcc2 internal prototype to avoid an error. */
36345 #ifdef __cplusplus
36346 extern "C"
36347 {
36348 #endif
36349 /* We use char because int might match the return type of a gcc2
36350 builtin and then its argument prototype would still apply. */
36351 char $ac_func ();
36352 /* The GNU C library defines this for functions which it implements
36353 to always fail with ENOSYS. Some functions are actually named
36354 something starting with __ and the normal name is an alias. */
36355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36356 choke me
36357 #else
36358 char (*f) () = $ac_func;
36359 #endif
36360 #ifdef __cplusplus
36361 }
36362 #endif
36363
36364 int
36365 main ()
36366 {
36367 return f != $ac_func;
36368 ;
36369 return 0;
36370 }
36371 _ACEOF
36372 rm -f conftest.$ac_objext conftest$ac_exeext
36373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36374 (eval $ac_link) 2>conftest.er1
36375 ac_status=$?
36376 grep -v '^ *+' conftest.er1 >conftest.err
36377 rm -f conftest.er1
36378 cat conftest.err >&5
36379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36380 (exit $ac_status); } &&
36381 { ac_try='test -z "$ac_c_werror_flag"
36382 || test ! -s conftest.err'
36383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36384 (eval $ac_try) 2>&5
36385 ac_status=$?
36386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36387 (exit $ac_status); }; } &&
36388 { ac_try='test -s conftest$ac_exeext'
36389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36390 (eval $ac_try) 2>&5
36391 ac_status=$?
36392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36393 (exit $ac_status); }; }; then
36394 eval "$as_ac_var=yes"
36395 else
36396 echo "$as_me: failed program was:" >&5
36397 sed 's/^/| /' conftest.$ac_ext >&5
36398
36399 eval "$as_ac_var=no"
36400 fi
36401 rm -f conftest.err conftest.$ac_objext \
36402 conftest$ac_exeext conftest.$ac_ext
36403 fi
36404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36406 if test `eval echo '${'$as_ac_var'}'` = yes; then
36407 cat >>confdefs.h <<_ACEOF
36408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36409 _ACEOF
36410 cat >>confdefs.h <<\_ACEOF
36411 #define HAVE_INET_ATON 1
36412 _ACEOF
36413
36414 else
36415
36416 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
36417 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
36418 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
36419 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
36420 echo $ECHO_N "(cached) $ECHO_C" >&6
36421 else
36422 ac_check_lib_save_LIBS=$LIBS
36423 LIBS="-l$INET_LINK $LIBS"
36424 cat >conftest.$ac_ext <<_ACEOF
36425 /* confdefs.h. */
36426 _ACEOF
36427 cat confdefs.h >>conftest.$ac_ext
36428 cat >>conftest.$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430
36431 /* Override any gcc2 internal prototype to avoid an error. */
36432 #ifdef __cplusplus
36433 extern "C"
36434 #endif
36435 /* We use char because int might match the return type of a gcc2
36436 builtin and then its argument prototype would still apply. */
36437 char inet_aton ();
36438 int
36439 main ()
36440 {
36441 inet_aton ();
36442 ;
36443 return 0;
36444 }
36445 _ACEOF
36446 rm -f conftest.$ac_objext conftest$ac_exeext
36447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36448 (eval $ac_link) 2>conftest.er1
36449 ac_status=$?
36450 grep -v '^ *+' conftest.er1 >conftest.err
36451 rm -f conftest.er1
36452 cat conftest.err >&5
36453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 (exit $ac_status); } &&
36455 { ac_try='test -z "$ac_c_werror_flag"
36456 || test ! -s conftest.err'
36457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 (eval $ac_try) 2>&5
36459 ac_status=$?
36460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36461 (exit $ac_status); }; } &&
36462 { ac_try='test -s conftest$ac_exeext'
36463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36464 (eval $ac_try) 2>&5
36465 ac_status=$?
36466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36467 (exit $ac_status); }; }; then
36468 eval "$as_ac_Lib=yes"
36469 else
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.$ac_ext >&5
36472
36473 eval "$as_ac_Lib=no"
36474 fi
36475 rm -f conftest.err conftest.$ac_objext \
36476 conftest$ac_exeext conftest.$ac_ext
36477 LIBS=$ac_check_lib_save_LIBS
36478 fi
36479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
36480 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
36481 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
36482 cat >>confdefs.h <<\_ACEOF
36483 #define HAVE_INET_ATON 1
36484 _ACEOF
36485
36486 fi
36487
36488
36489 fi
36490 done
36491
36492
36493 if test "x$INET_LINK" != "x"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE_INET_ADDR 1
36496 _ACEOF
36497
36498 INET_LINK=" -l$INET_LINK"
36499 fi
36500
36501 fi
36502
36503
36504
36505 EXTRALIBS_ESD=
36506 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
36507 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
36508 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
36509 echo $ECHO_N "(cached) $ECHO_C" >&6
36510 else
36511 ac_check_lib_save_LIBS=$LIBS
36512 LIBS="-lesd $LIBS"
36513 cat >conftest.$ac_ext <<_ACEOF
36514 /* confdefs.h. */
36515 _ACEOF
36516 cat confdefs.h >>conftest.$ac_ext
36517 cat >>conftest.$ac_ext <<_ACEOF
36518 /* end confdefs.h. */
36519
36520 /* Override any gcc2 internal prototype to avoid an error. */
36521 #ifdef __cplusplus
36522 extern "C"
36523 #endif
36524 /* We use char because int might match the return type of a gcc2
36525 builtin and then its argument prototype would still apply. */
36526 char esd_close ();
36527 int
36528 main ()
36529 {
36530 esd_close ();
36531 ;
36532 return 0;
36533 }
36534 _ACEOF
36535 rm -f conftest.$ac_objext conftest$ac_exeext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36537 (eval $ac_link) 2>conftest.er1
36538 ac_status=$?
36539 grep -v '^ *+' conftest.er1 >conftest.err
36540 rm -f conftest.er1
36541 cat conftest.err >&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } &&
36544 { ac_try='test -z "$ac_c_werror_flag"
36545 || test ! -s conftest.err'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36548 ac_status=$?
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; } &&
36551 { ac_try='test -s conftest$ac_exeext'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36554 ac_status=$?
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; }; then
36557 ac_cv_lib_esd_esd_close=yes
36558 else
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.$ac_ext >&5
36561
36562 ac_cv_lib_esd_esd_close=no
36563 fi
36564 rm -f conftest.err conftest.$ac_objext \
36565 conftest$ac_exeext conftest.$ac_ext
36566 LIBS=$ac_check_lib_save_LIBS
36567 fi
36568 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
36569 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
36570 if test $ac_cv_lib_esd_esd_close = yes; then
36571
36572
36573 for ac_header in esd.h
36574 do
36575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
36576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36577 echo "$as_me:$LINENO: checking for $ac_header" >&5
36578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36580 echo $ECHO_N "(cached) $ECHO_C" >&6
36581 fi
36582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36584 else
36585 # Is the header compilable?
36586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
36587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
36588 cat >conftest.$ac_ext <<_ACEOF
36589 /* confdefs.h. */
36590 _ACEOF
36591 cat confdefs.h >>conftest.$ac_ext
36592 cat >>conftest.$ac_ext <<_ACEOF
36593 /* end confdefs.h. */
36594 $ac_includes_default
36595 #include <$ac_header>
36596 _ACEOF
36597 rm -f conftest.$ac_objext
36598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599 (eval $ac_compile) 2>conftest.er1
36600 ac_status=$?
36601 grep -v '^ *+' conftest.er1 >conftest.err
36602 rm -f conftest.er1
36603 cat conftest.err >&5
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); } &&
36606 { ac_try='test -z "$ac_c_werror_flag"
36607 || test ! -s conftest.err'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36610 ac_status=$?
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; } &&
36613 { ac_try='test -s conftest.$ac_objext'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36616 ac_status=$?
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; }; then
36619 ac_header_compiler=yes
36620 else
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.$ac_ext >&5
36623
36624 ac_header_compiler=no
36625 fi
36626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36628 echo "${ECHO_T}$ac_header_compiler" >&6
36629
36630 # Is the header present?
36631 echo "$as_me:$LINENO: checking $ac_header presence" >&5
36632 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
36633 cat >conftest.$ac_ext <<_ACEOF
36634 /* confdefs.h. */
36635 _ACEOF
36636 cat confdefs.h >>conftest.$ac_ext
36637 cat >>conftest.$ac_ext <<_ACEOF
36638 /* end confdefs.h. */
36639 #include <$ac_header>
36640 _ACEOF
36641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
36642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
36643 ac_status=$?
36644 grep -v '^ *+' conftest.er1 >conftest.err
36645 rm -f conftest.er1
36646 cat conftest.err >&5
36647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36648 (exit $ac_status); } >/dev/null; then
36649 if test -s conftest.err; then
36650 ac_cpp_err=$ac_c_preproc_warn_flag
36651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
36652 else
36653 ac_cpp_err=
36654 fi
36655 else
36656 ac_cpp_err=yes
36657 fi
36658 if test -z "$ac_cpp_err"; then
36659 ac_header_preproc=yes
36660 else
36661 echo "$as_me: failed program was:" >&5
36662 sed 's/^/| /' conftest.$ac_ext >&5
36663
36664 ac_header_preproc=no
36665 fi
36666 rm -f conftest.err conftest.$ac_ext
36667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36668 echo "${ECHO_T}$ac_header_preproc" >&6
36669
36670 # So? What about this header?
36671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
36672 yes:no: )
36673 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
36674 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
36675 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
36676 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
36677 ac_header_preproc=yes
36678 ;;
36679 no:yes:* )
36680 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
36681 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
36682 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
36683 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
36684 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
36685 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
36686 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
36687 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
36688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
36689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
36690 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
36691 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
36692 (
36693 cat <<\_ASBOX
36694 ## ----------------------------------------- ##
36695 ## Report this to wx-dev@lists.wxwidgets.org ##
36696 ## ----------------------------------------- ##
36697 _ASBOX
36698 ) |
36699 sed "s/^/$as_me: WARNING: /" >&2
36700 ;;
36701 esac
36702 echo "$as_me:$LINENO: checking for $ac_header" >&5
36703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
36704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
36705 echo $ECHO_N "(cached) $ECHO_C" >&6
36706 else
36707 eval "$as_ac_Header=\$ac_header_preproc"
36708 fi
36709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
36710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
36711
36712 fi
36713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
36714 cat >>confdefs.h <<_ACEOF
36715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
36716 _ACEOF
36717
36718 EXTRALIBS_ESD="-lesd"
36719
36720 fi
36721
36722 done
36723
36724
36725 fi
36726
36727
36728
36729 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
36730 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
36731 cat >conftest.$ac_ext <<_ACEOF
36732 /* confdefs.h. */
36733 _ACEOF
36734 cat confdefs.h >>conftest.$ac_ext
36735 cat >>conftest.$ac_ext <<_ACEOF
36736 /* end confdefs.h. */
36737 #ifdef __linux__
36738 #include <linux/cdrom.h>
36739 #else
36740 /* For Solaris */
36741 #include <sys/cdio.h>
36742 #endif
36743
36744 int
36745 main ()
36746 {
36747 struct cdrom_tocentry entry, old_entry;
36748 ;
36749 return 0;
36750 }
36751 _ACEOF
36752 rm -f conftest.$ac_objext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36754 (eval $ac_compile) 2>conftest.er1
36755 ac_status=$?
36756 grep -v '^ *+' conftest.er1 >conftest.err
36757 rm -f conftest.er1
36758 cat conftest.err >&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try='test -z "$ac_c_werror_flag"
36762 || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try='test -s conftest.$ac_objext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 echo "$as_me:$LINENO: result: yes" >&5
36775 echo "${ECHO_T}yes" >&6
36776 cat >>confdefs.h <<\_ACEOF
36777 #define HAVE_KNOWN_CDROM_INTERFACE 1
36778 _ACEOF
36779
36780 else
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.$ac_ext >&5
36783
36784 echo "$as_me:$LINENO: result: no" >&5
36785 echo "${ECHO_T}no" >&6
36786 fi
36787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36788
36789
36790 cat >confcache <<\_ACEOF
36791 # This file is a shell script that caches the results of configure
36792 # tests run on this system so they can be shared between configure
36793 # scripts and configure runs, see configure's option --config-cache.
36794 # It is not useful on other systems. If it contains results you don't
36795 # want to keep, you may remove or edit it.
36796 #
36797 # config.status only pays attention to the cache file if you give it
36798 # the --recheck option to rerun configure.
36799 #
36800 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36801 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36802 # following values.
36803
36804 _ACEOF
36805
36806 # The following way of writing the cache mishandles newlines in values,
36807 # but we know of no workaround that is simple, portable, and efficient.
36808 # So, don't put newlines in cache variables' values.
36809 # Ultrix sh set writes to stderr and can't be redirected directly,
36810 # and sets the high bit in the cache file unless we assign to the vars.
36811 {
36812 (set) 2>&1 |
36813 case `(ac_space=' '; set | grep ac_space) 2>&1` in
36814 *ac_space=\ *)
36815 # `set' does not quote correctly, so add quotes (double-quote
36816 # substitution turns \\\\ into \\, and sed turns \\ into \).
36817 sed -n \
36818 "s/'/'\\\\''/g;
36819 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36820 ;;
36821 *)
36822 # `set' quotes correctly as required by POSIX, so do not add quotes.
36823 sed -n \
36824 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
36825 ;;
36826 esac;
36827 } |
36828 sed '
36829 t clear
36830 : clear
36831 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36832 t end
36833 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36834 : end' >>confcache
36835 if diff $cache_file confcache >/dev/null 2>&1; then :; else
36836 if test -w $cache_file; then
36837 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
36838 cat confcache >$cache_file
36839 else
36840 echo "not updating unwritable cache $cache_file"
36841 fi
36842 fi
36843 rm -f confcache
36844
36845
36846 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
36847
36848
36849 THREADS_LINK=
36850 THREADS_CFLAGS=
36851
36852 if test "$wxUSE_THREADS" = "yes" ; then
36853 if test "$USE_BEOS" = 1; then
36854 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
36855 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
36856 wxUSE_THREADS="no"
36857 fi
36858 fi
36859
36860 if test "$wxUSE_THREADS" = "yes" ; then
36861
36862
36863 THREAD_OPTS="-pthread"
36864 case "${host}" in
36865 *-*-solaris2* | *-*-sunos4* )
36866 if test "x$GCC" = "xyes"; then
36867 THREAD_OPTS="-pthreads $THREAD_OPTS"
36868 else
36869 THREAD_OPTS="-mt $THREAD_OPTS"
36870 fi
36871 ;;
36872 *-*-freebsd*)
36873 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
36874 ;;
36875 *-*-darwin* | *-*-cygwin* )
36876 THREAD_OPTS=""
36877 ;;
36878 *-*-aix*)
36879 THREAD_OPTS="pthreads"
36880 ;;
36881 *-hp-hpux* )
36882 if test "x$GCC" = "xyes"; then
36883 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
36884 THREAD_OPTS=""
36885 else
36886 THREAD_OPTS="-mt"
36887 fi
36888 ;;
36889
36890 *-*-irix* )
36891 if test "x$GCC" = "xyes"; then
36892 THREAD_OPTS=""
36893 fi
36894 ;;
36895
36896 *-*-*UnixWare*)
36897 if test "x$GCC" != "xyes"; then
36898 THREAD_OPTS="-Ethread"
36899 fi
36900 ;;
36901 esac
36902
36903 THREAD_OPTS="$THREAD_OPTS pthread none"
36904
36905 THREADS_OK=no
36906 for flag in $THREAD_OPTS; do
36907 case $flag in
36908 none)
36909 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
36910 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
36911 ;;
36912
36913 -*)
36914 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
36915 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
36916 THREADS_CFLAGS="$flag"
36917 ;;
36918
36919 *)
36920 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
36921 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
36922 THREADS_LINK="-l$flag"
36923 ;;
36924 esac
36925
36926 save_LIBS="$LIBS"
36927 save_CFLAGS="$CFLAGS"
36928 LIBS="$THREADS_LINK $LIBS"
36929 CFLAGS="$THREADS_CFLAGS $CFLAGS"
36930
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937 #include <pthread.h>
36938 int
36939 main ()
36940 {
36941 pthread_create(0,0,0,0);
36942 ;
36943 return 0;
36944 }
36945 _ACEOF
36946 rm -f conftest.$ac_objext conftest$ac_exeext
36947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36948 (eval $ac_link) 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } &&
36955 { ac_try='test -z "$ac_c_werror_flag"
36956 || test ! -s conftest.err'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; } &&
36962 { ac_try='test -s conftest$ac_exeext'
36963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36964 (eval $ac_try) 2>&5
36965 ac_status=$?
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); }; }; then
36968 THREADS_OK=yes
36969 else
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.$ac_ext >&5
36972
36973 fi
36974 rm -f conftest.err conftest.$ac_objext \
36975 conftest$ac_exeext conftest.$ac_ext
36976
36977 LIBS="$save_LIBS"
36978 CFLAGS="$save_CFLAGS"
36979
36980 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
36981 echo "${ECHO_T}$THREADS_OK" >&6
36982 if test "x$THREADS_OK" = "xyes"; then
36983 break;
36984 fi
36985
36986 THREADS_LINK=""
36987 THREADS_CFLAGS=""
36988 done
36989
36990 if test "x$THREADS_OK" != "xyes"; then
36991 wxUSE_THREADS=no
36992 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
36993 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
36994 else
36995 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
36996 LIBS="$THREADS_LINK $LIBS"
36997
36998 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
36999 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37000 flag=no
37001 case "${host}" in
37002 *-aix*)
37003 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37004 flag="-D_THREAD_SAFE"
37005 ;;
37006 *-freebsd*)
37007 flag="-D_THREAD_SAFE"
37008 ;;
37009 *-hp-hpux* )
37010 flag="-D_REENTRANT"
37011 if test "x$GCC" != "xyes"; then
37012 flag="$flag -D_RWSTD_MULTI_THREAD"
37013 fi
37014 ;;
37015 *solaris* | alpha*-osf*)
37016 flag="-D_REENTRANT"
37017 ;;
37018 esac
37019 echo "$as_me:$LINENO: result: ${flag}" >&5
37020 echo "${ECHO_T}${flag}" >&6
37021 if test "x$flag" != xno; then
37022 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37023 fi
37024
37025 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37026 fi
37027 fi
37028
37029 if test "$wxUSE_THREADS" = "yes" ; then
37030
37031 for ac_func in thr_setconcurrency
37032 do
37033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37034 echo "$as_me:$LINENO: checking for $ac_func" >&5
37035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37036 if eval "test \"\${$as_ac_var+set}\" = set"; then
37037 echo $ECHO_N "(cached) $ECHO_C" >&6
37038 else
37039 cat >conftest.$ac_ext <<_ACEOF
37040 /* confdefs.h. */
37041 _ACEOF
37042 cat confdefs.h >>conftest.$ac_ext
37043 cat >>conftest.$ac_ext <<_ACEOF
37044 /* end confdefs.h. */
37045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37047 #define $ac_func innocuous_$ac_func
37048
37049 /* System header to define __stub macros and hopefully few prototypes,
37050 which can conflict with char $ac_func (); below.
37051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37052 <limits.h> exists even on freestanding compilers. */
37053
37054 #ifdef __STDC__
37055 # include <limits.h>
37056 #else
37057 # include <assert.h>
37058 #endif
37059
37060 #undef $ac_func
37061
37062 /* Override any gcc2 internal prototype to avoid an error. */
37063 #ifdef __cplusplus
37064 extern "C"
37065 {
37066 #endif
37067 /* We use char because int might match the return type of a gcc2
37068 builtin and then its argument prototype would still apply. */
37069 char $ac_func ();
37070 /* The GNU C library defines this for functions which it implements
37071 to always fail with ENOSYS. Some functions are actually named
37072 something starting with __ and the normal name is an alias. */
37073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37074 choke me
37075 #else
37076 char (*f) () = $ac_func;
37077 #endif
37078 #ifdef __cplusplus
37079 }
37080 #endif
37081
37082 int
37083 main ()
37084 {
37085 return f != $ac_func;
37086 ;
37087 return 0;
37088 }
37089 _ACEOF
37090 rm -f conftest.$ac_objext conftest$ac_exeext
37091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37092 (eval $ac_link) 2>conftest.er1
37093 ac_status=$?
37094 grep -v '^ *+' conftest.er1 >conftest.err
37095 rm -f conftest.er1
37096 cat conftest.err >&5
37097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37098 (exit $ac_status); } &&
37099 { ac_try='test -z "$ac_c_werror_flag"
37100 || test ! -s conftest.err'
37101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37102 (eval $ac_try) 2>&5
37103 ac_status=$?
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); }; } &&
37106 { ac_try='test -s conftest$ac_exeext'
37107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37108 (eval $ac_try) 2>&5
37109 ac_status=$?
37110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37111 (exit $ac_status); }; }; then
37112 eval "$as_ac_var=yes"
37113 else
37114 echo "$as_me: failed program was:" >&5
37115 sed 's/^/| /' conftest.$ac_ext >&5
37116
37117 eval "$as_ac_var=no"
37118 fi
37119 rm -f conftest.err conftest.$ac_objext \
37120 conftest$ac_exeext conftest.$ac_ext
37121 fi
37122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37124 if test `eval echo '${'$as_ac_var'}'` = yes; then
37125 cat >>confdefs.h <<_ACEOF
37126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37127 _ACEOF
37128
37129 fi
37130 done
37131
37132
37133 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37134 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37135 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37136 echo $ECHO_N "(cached) $ECHO_C" >&6
37137 else
37138
37139 cat >conftest.$ac_ext <<_ACEOF
37140 /* confdefs.h. */
37141 _ACEOF
37142 cat confdefs.h >>conftest.$ac_ext
37143 cat >>conftest.$ac_ext <<_ACEOF
37144 /* end confdefs.h. */
37145 #include <pthread.h>
37146 void ThreadCleanupFunc(void *p);
37147
37148 int
37149 main ()
37150 {
37151
37152 void *p;
37153 pthread_cleanup_push(ThreadCleanupFunc, p);
37154 pthread_cleanup_pop(0);
37155
37156 ;
37157 return 0;
37158 }
37159 _ACEOF
37160 rm -f conftest.$ac_objext
37161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37162 (eval $ac_compile) 2>conftest.er1
37163 ac_status=$?
37164 grep -v '^ *+' conftest.er1 >conftest.err
37165 rm -f conftest.er1
37166 cat conftest.err >&5
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); } &&
37169 { ac_try='test -z "$ac_c_werror_flag"
37170 || test ! -s conftest.err'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37173 ac_status=$?
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; } &&
37176 { ac_try='test -s conftest.$ac_objext'
37177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37178 (eval $ac_try) 2>&5
37179 ac_status=$?
37180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37181 (exit $ac_status); }; }; then
37182
37183 wx_cv_func_pthread_cleanup=yes
37184
37185 else
37186 echo "$as_me: failed program was:" >&5
37187 sed 's/^/| /' conftest.$ac_ext >&5
37188
37189
37190 wx_cv_func_pthread_cleanup=no
37191
37192
37193 fi
37194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37195
37196 fi
37197 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37198 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37199 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37200 cat >>confdefs.h <<\_ACEOF
37201 #define wxHAVE_PTHREAD_CLEANUP 1
37202 _ACEOF
37203
37204 fi
37205
37206
37207 for ac_header in sched.h
37208 do
37209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37211 echo "$as_me:$LINENO: checking for $ac_header" >&5
37212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37214 echo $ECHO_N "(cached) $ECHO_C" >&6
37215 fi
37216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37217 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37218 else
37219 # Is the header compilable?
37220 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37221 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37222 cat >conftest.$ac_ext <<_ACEOF
37223 /* confdefs.h. */
37224 _ACEOF
37225 cat confdefs.h >>conftest.$ac_ext
37226 cat >>conftest.$ac_ext <<_ACEOF
37227 /* end confdefs.h. */
37228 $ac_includes_default
37229 #include <$ac_header>
37230 _ACEOF
37231 rm -f conftest.$ac_objext
37232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37233 (eval $ac_compile) 2>conftest.er1
37234 ac_status=$?
37235 grep -v '^ *+' conftest.er1 >conftest.err
37236 rm -f conftest.er1
37237 cat conftest.err >&5
37238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37239 (exit $ac_status); } &&
37240 { ac_try='test -z "$ac_c_werror_flag"
37241 || test ! -s conftest.err'
37242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37243 (eval $ac_try) 2>&5
37244 ac_status=$?
37245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); }; } &&
37247 { ac_try='test -s conftest.$ac_objext'
37248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37249 (eval $ac_try) 2>&5
37250 ac_status=$?
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); }; }; then
37253 ac_header_compiler=yes
37254 else
37255 echo "$as_me: failed program was:" >&5
37256 sed 's/^/| /' conftest.$ac_ext >&5
37257
37258 ac_header_compiler=no
37259 fi
37260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37261 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37262 echo "${ECHO_T}$ac_header_compiler" >&6
37263
37264 # Is the header present?
37265 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37266 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37267 cat >conftest.$ac_ext <<_ACEOF
37268 /* confdefs.h. */
37269 _ACEOF
37270 cat confdefs.h >>conftest.$ac_ext
37271 cat >>conftest.$ac_ext <<_ACEOF
37272 /* end confdefs.h. */
37273 #include <$ac_header>
37274 _ACEOF
37275 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37276 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37277 ac_status=$?
37278 grep -v '^ *+' conftest.er1 >conftest.err
37279 rm -f conftest.er1
37280 cat conftest.err >&5
37281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37282 (exit $ac_status); } >/dev/null; then
37283 if test -s conftest.err; then
37284 ac_cpp_err=$ac_c_preproc_warn_flag
37285 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
37286 else
37287 ac_cpp_err=
37288 fi
37289 else
37290 ac_cpp_err=yes
37291 fi
37292 if test -z "$ac_cpp_err"; then
37293 ac_header_preproc=yes
37294 else
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37297
37298 ac_header_preproc=no
37299 fi
37300 rm -f conftest.err conftest.$ac_ext
37301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37302 echo "${ECHO_T}$ac_header_preproc" >&6
37303
37304 # So? What about this header?
37305 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
37306 yes:no: )
37307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37310 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37311 ac_header_preproc=yes
37312 ;;
37313 no:yes:* )
37314 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37315 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37316 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37317 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37318 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37319 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37320 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37321 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37324 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37325 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37326 (
37327 cat <<\_ASBOX
37328 ## ----------------------------------------- ##
37329 ## Report this to wx-dev@lists.wxwidgets.org ##
37330 ## ----------------------------------------- ##
37331 _ASBOX
37332 ) |
37333 sed "s/^/$as_me: WARNING: /" >&2
37334 ;;
37335 esac
37336 echo "$as_me:$LINENO: checking for $ac_header" >&5
37337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37339 echo $ECHO_N "(cached) $ECHO_C" >&6
37340 else
37341 eval "$as_ac_Header=\$ac_header_preproc"
37342 fi
37343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37345
37346 fi
37347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37348 cat >>confdefs.h <<_ACEOF
37349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37350 _ACEOF
37351
37352 fi
37353
37354 done
37355
37356 if test "$ac_cv_header_sched_h" = "yes"; then
37357 echo "$as_me:$LINENO: checking for sched_yield" >&5
37358 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
37359 if test "${ac_cv_func_sched_yield+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37361 else
37362 cat >conftest.$ac_ext <<_ACEOF
37363 /* confdefs.h. */
37364 _ACEOF
37365 cat confdefs.h >>conftest.$ac_ext
37366 cat >>conftest.$ac_ext <<_ACEOF
37367 /* end confdefs.h. */
37368 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37370 #define sched_yield innocuous_sched_yield
37371
37372 /* System header to define __stub macros and hopefully few prototypes,
37373 which can conflict with char sched_yield (); below.
37374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37375 <limits.h> exists even on freestanding compilers. */
37376
37377 #ifdef __STDC__
37378 # include <limits.h>
37379 #else
37380 # include <assert.h>
37381 #endif
37382
37383 #undef sched_yield
37384
37385 /* Override any gcc2 internal prototype to avoid an error. */
37386 #ifdef __cplusplus
37387 extern "C"
37388 {
37389 #endif
37390 /* We use char because int might match the return type of a gcc2
37391 builtin and then its argument prototype would still apply. */
37392 char sched_yield ();
37393 /* The GNU C library defines this for functions which it implements
37394 to always fail with ENOSYS. Some functions are actually named
37395 something starting with __ and the normal name is an alias. */
37396 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
37397 choke me
37398 #else
37399 char (*f) () = sched_yield;
37400 #endif
37401 #ifdef __cplusplus
37402 }
37403 #endif
37404
37405 int
37406 main ()
37407 {
37408 return f != sched_yield;
37409 ;
37410 return 0;
37411 }
37412 _ACEOF
37413 rm -f conftest.$ac_objext conftest$ac_exeext
37414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37415 (eval $ac_link) 2>conftest.er1
37416 ac_status=$?
37417 grep -v '^ *+' conftest.er1 >conftest.err
37418 rm -f conftest.er1
37419 cat conftest.err >&5
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); } &&
37422 { ac_try='test -z "$ac_c_werror_flag"
37423 || test ! -s conftest.err'
37424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37425 (eval $ac_try) 2>&5
37426 ac_status=$?
37427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428 (exit $ac_status); }; } &&
37429 { ac_try='test -s conftest$ac_exeext'
37430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37431 (eval $ac_try) 2>&5
37432 ac_status=$?
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); }; }; then
37435 ac_cv_func_sched_yield=yes
37436 else
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.$ac_ext >&5
37439
37440 ac_cv_func_sched_yield=no
37441 fi
37442 rm -f conftest.err conftest.$ac_objext \
37443 conftest$ac_exeext conftest.$ac_ext
37444 fi
37445 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
37446 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
37447 if test $ac_cv_func_sched_yield = yes; then
37448 cat >>confdefs.h <<\_ACEOF
37449 #define HAVE_SCHED_YIELD 1
37450 _ACEOF
37451
37452 else
37453
37454 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
37455 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
37456 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
37457 echo $ECHO_N "(cached) $ECHO_C" >&6
37458 else
37459 ac_check_lib_save_LIBS=$LIBS
37460 LIBS="-lposix4 $LIBS"
37461 cat >conftest.$ac_ext <<_ACEOF
37462 /* confdefs.h. */
37463 _ACEOF
37464 cat confdefs.h >>conftest.$ac_ext
37465 cat >>conftest.$ac_ext <<_ACEOF
37466 /* end confdefs.h. */
37467
37468 /* Override any gcc2 internal prototype to avoid an error. */
37469 #ifdef __cplusplus
37470 extern "C"
37471 #endif
37472 /* We use char because int might match the return type of a gcc2
37473 builtin and then its argument prototype would still apply. */
37474 char sched_yield ();
37475 int
37476 main ()
37477 {
37478 sched_yield ();
37479 ;
37480 return 0;
37481 }
37482 _ACEOF
37483 rm -f conftest.$ac_objext conftest$ac_exeext
37484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37485 (eval $ac_link) 2>conftest.er1
37486 ac_status=$?
37487 grep -v '^ *+' conftest.er1 >conftest.err
37488 rm -f conftest.er1
37489 cat conftest.err >&5
37490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37491 (exit $ac_status); } &&
37492 { ac_try='test -z "$ac_c_werror_flag"
37493 || test ! -s conftest.err'
37494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37495 (eval $ac_try) 2>&5
37496 ac_status=$?
37497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37498 (exit $ac_status); }; } &&
37499 { ac_try='test -s conftest$ac_exeext'
37500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37501 (eval $ac_try) 2>&5
37502 ac_status=$?
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); }; }; then
37505 ac_cv_lib_posix4_sched_yield=yes
37506 else
37507 echo "$as_me: failed program was:" >&5
37508 sed 's/^/| /' conftest.$ac_ext >&5
37509
37510 ac_cv_lib_posix4_sched_yield=no
37511 fi
37512 rm -f conftest.err conftest.$ac_objext \
37513 conftest$ac_exeext conftest.$ac_ext
37514 LIBS=$ac_check_lib_save_LIBS
37515 fi
37516 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
37517 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
37518 if test $ac_cv_lib_posix4_sched_yield = yes; then
37519 cat >>confdefs.h <<\_ACEOF
37520 #define HAVE_SCHED_YIELD 1
37521 _ACEOF
37522 POSIX4_LINK=" -lposix4"
37523 else
37524 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
37525 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
37526
37527 fi
37528
37529
37530
37531 fi
37532
37533 fi
37534
37535 HAVE_PRIOR_FUNCS=0
37536 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
37537 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
37538 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
37539 echo $ECHO_N "(cached) $ECHO_C" >&6
37540 else
37541 cat >conftest.$ac_ext <<_ACEOF
37542 /* confdefs.h. */
37543 _ACEOF
37544 cat confdefs.h >>conftest.$ac_ext
37545 cat >>conftest.$ac_ext <<_ACEOF
37546 /* end confdefs.h. */
37547 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
37548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37549 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
37550
37551 /* System header to define __stub macros and hopefully few prototypes,
37552 which can conflict with char pthread_attr_getschedpolicy (); below.
37553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37554 <limits.h> exists even on freestanding compilers. */
37555
37556 #ifdef __STDC__
37557 # include <limits.h>
37558 #else
37559 # include <assert.h>
37560 #endif
37561
37562 #undef pthread_attr_getschedpolicy
37563
37564 /* Override any gcc2 internal prototype to avoid an error. */
37565 #ifdef __cplusplus
37566 extern "C"
37567 {
37568 #endif
37569 /* We use char because int might match the return type of a gcc2
37570 builtin and then its argument prototype would still apply. */
37571 char pthread_attr_getschedpolicy ();
37572 /* The GNU C library defines this for functions which it implements
37573 to always fail with ENOSYS. Some functions are actually named
37574 something starting with __ and the normal name is an alias. */
37575 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
37576 choke me
37577 #else
37578 char (*f) () = pthread_attr_getschedpolicy;
37579 #endif
37580 #ifdef __cplusplus
37581 }
37582 #endif
37583
37584 int
37585 main ()
37586 {
37587 return f != pthread_attr_getschedpolicy;
37588 ;
37589 return 0;
37590 }
37591 _ACEOF
37592 rm -f conftest.$ac_objext conftest$ac_exeext
37593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37594 (eval $ac_link) 2>conftest.er1
37595 ac_status=$?
37596 grep -v '^ *+' conftest.er1 >conftest.err
37597 rm -f conftest.er1
37598 cat conftest.err >&5
37599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37600 (exit $ac_status); } &&
37601 { ac_try='test -z "$ac_c_werror_flag"
37602 || test ! -s conftest.err'
37603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37604 (eval $ac_try) 2>&5
37605 ac_status=$?
37606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37607 (exit $ac_status); }; } &&
37608 { ac_try='test -s conftest$ac_exeext'
37609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37610 (eval $ac_try) 2>&5
37611 ac_status=$?
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); }; }; then
37614 ac_cv_func_pthread_attr_getschedpolicy=yes
37615 else
37616 echo "$as_me: failed program was:" >&5
37617 sed 's/^/| /' conftest.$ac_ext >&5
37618
37619 ac_cv_func_pthread_attr_getschedpolicy=no
37620 fi
37621 rm -f conftest.err conftest.$ac_objext \
37622 conftest$ac_exeext conftest.$ac_ext
37623 fi
37624 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
37625 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
37626 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
37627 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
37628 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
37629 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 else
37632 cat >conftest.$ac_ext <<_ACEOF
37633 /* confdefs.h. */
37634 _ACEOF
37635 cat confdefs.h >>conftest.$ac_ext
37636 cat >>conftest.$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
37641
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char pthread_attr_setschedparam (); below.
37644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37645 <limits.h> exists even on freestanding compilers. */
37646
37647 #ifdef __STDC__
37648 # include <limits.h>
37649 #else
37650 # include <assert.h>
37651 #endif
37652
37653 #undef pthread_attr_setschedparam
37654
37655 /* Override any gcc2 internal prototype to avoid an error. */
37656 #ifdef __cplusplus
37657 extern "C"
37658 {
37659 #endif
37660 /* We use char because int might match the return type of a gcc2
37661 builtin and then its argument prototype would still apply. */
37662 char pthread_attr_setschedparam ();
37663 /* The GNU C library defines this for functions which it implements
37664 to always fail with ENOSYS. Some functions are actually named
37665 something starting with __ and the normal name is an alias. */
37666 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
37667 choke me
37668 #else
37669 char (*f) () = pthread_attr_setschedparam;
37670 #endif
37671 #ifdef __cplusplus
37672 }
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 return f != pthread_attr_setschedparam;
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try='test -z "$ac_c_werror_flag"
37693 || test ! -s conftest.err'
37694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695 (eval $ac_try) 2>&5
37696 ac_status=$?
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); }; } &&
37699 { ac_try='test -s conftest$ac_exeext'
37700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701 (eval $ac_try) 2>&5
37702 ac_status=$?
37703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704 (exit $ac_status); }; }; then
37705 ac_cv_func_pthread_attr_setschedparam=yes
37706 else
37707 echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37709
37710 ac_cv_func_pthread_attr_setschedparam=no
37711 fi
37712 rm -f conftest.err conftest.$ac_objext \
37713 conftest$ac_exeext conftest.$ac_ext
37714 fi
37715 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
37716 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
37717 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
37718 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
37719 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
37720 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
37721 echo $ECHO_N "(cached) $ECHO_C" >&6
37722 else
37723 cat >conftest.$ac_ext <<_ACEOF
37724 /* confdefs.h. */
37725 _ACEOF
37726 cat confdefs.h >>conftest.$ac_ext
37727 cat >>conftest.$ac_ext <<_ACEOF
37728 /* end confdefs.h. */
37729 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
37730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37731 #define sched_get_priority_max innocuous_sched_get_priority_max
37732
37733 /* System header to define __stub macros and hopefully few prototypes,
37734 which can conflict with char sched_get_priority_max (); below.
37735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37736 <limits.h> exists even on freestanding compilers. */
37737
37738 #ifdef __STDC__
37739 # include <limits.h>
37740 #else
37741 # include <assert.h>
37742 #endif
37743
37744 #undef sched_get_priority_max
37745
37746 /* Override any gcc2 internal prototype to avoid an error. */
37747 #ifdef __cplusplus
37748 extern "C"
37749 {
37750 #endif
37751 /* We use char because int might match the return type of a gcc2
37752 builtin and then its argument prototype would still apply. */
37753 char sched_get_priority_max ();
37754 /* The GNU C library defines this for functions which it implements
37755 to always fail with ENOSYS. Some functions are actually named
37756 something starting with __ and the normal name is an alias. */
37757 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
37758 choke me
37759 #else
37760 char (*f) () = sched_get_priority_max;
37761 #endif
37762 #ifdef __cplusplus
37763 }
37764 #endif
37765
37766 int
37767 main ()
37768 {
37769 return f != sched_get_priority_max;
37770 ;
37771 return 0;
37772 }
37773 _ACEOF
37774 rm -f conftest.$ac_objext conftest$ac_exeext
37775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37776 (eval $ac_link) 2>conftest.er1
37777 ac_status=$?
37778 grep -v '^ *+' conftest.er1 >conftest.err
37779 rm -f conftest.er1
37780 cat conftest.err >&5
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); } &&
37783 { ac_try='test -z "$ac_c_werror_flag"
37784 || test ! -s conftest.err'
37785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37786 (eval $ac_try) 2>&5
37787 ac_status=$?
37788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37789 (exit $ac_status); }; } &&
37790 { ac_try='test -s conftest$ac_exeext'
37791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37792 (eval $ac_try) 2>&5
37793 ac_status=$?
37794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37795 (exit $ac_status); }; }; then
37796 ac_cv_func_sched_get_priority_max=yes
37797 else
37798 echo "$as_me: failed program was:" >&5
37799 sed 's/^/| /' conftest.$ac_ext >&5
37800
37801 ac_cv_func_sched_get_priority_max=no
37802 fi
37803 rm -f conftest.err conftest.$ac_objext \
37804 conftest$ac_exeext conftest.$ac_ext
37805 fi
37806 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
37807 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
37808 if test $ac_cv_func_sched_get_priority_max = yes; then
37809 HAVE_PRIOR_FUNCS=1
37810 else
37811 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
37812 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
37813 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 else
37816 ac_check_lib_save_LIBS=$LIBS
37817 LIBS="-lposix4 $LIBS"
37818 cat >conftest.$ac_ext <<_ACEOF
37819 /* confdefs.h. */
37820 _ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h. */
37824
37825 /* Override any gcc2 internal prototype to avoid an error. */
37826 #ifdef __cplusplus
37827 extern "C"
37828 #endif
37829 /* We use char because int might match the return type of a gcc2
37830 builtin and then its argument prototype would still apply. */
37831 char sched_get_priority_max ();
37832 int
37833 main ()
37834 {
37835 sched_get_priority_max ();
37836 ;
37837 return 0;
37838 }
37839 _ACEOF
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_c_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37853 ac_status=$?
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try='test -s conftest$ac_exeext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 ac_cv_lib_posix4_sched_get_priority_max=yes
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37866
37867 ac_cv_lib_posix4_sched_get_priority_max=no
37868 fi
37869 rm -f conftest.err conftest.$ac_objext \
37870 conftest$ac_exeext conftest.$ac_ext
37871 LIBS=$ac_check_lib_save_LIBS
37872 fi
37873 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
37874 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
37875 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
37876
37877 HAVE_PRIOR_FUNCS=1
37878 POSIX4_LINK=" -lposix4"
37879
37880 fi
37881
37882
37883 fi
37884
37885
37886 fi
37887
37888
37889 fi
37890
37891
37892 if test "$HAVE_PRIOR_FUNCS" = 1; then
37893 cat >>confdefs.h <<\_ACEOF
37894 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
37895 _ACEOF
37896
37897 else
37898 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
37899 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
37900 fi
37901
37902 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
37903 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
37904 if test "${ac_cv_func_pthread_cancel+set}" = set; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 else
37907 cat >conftest.$ac_ext <<_ACEOF
37908 /* confdefs.h. */
37909 _ACEOF
37910 cat confdefs.h >>conftest.$ac_ext
37911 cat >>conftest.$ac_ext <<_ACEOF
37912 /* end confdefs.h. */
37913 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
37914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37915 #define pthread_cancel innocuous_pthread_cancel
37916
37917 /* System header to define __stub macros and hopefully few prototypes,
37918 which can conflict with char pthread_cancel (); below.
37919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37920 <limits.h> exists even on freestanding compilers. */
37921
37922 #ifdef __STDC__
37923 # include <limits.h>
37924 #else
37925 # include <assert.h>
37926 #endif
37927
37928 #undef pthread_cancel
37929
37930 /* Override any gcc2 internal prototype to avoid an error. */
37931 #ifdef __cplusplus
37932 extern "C"
37933 {
37934 #endif
37935 /* We use char because int might match the return type of a gcc2
37936 builtin and then its argument prototype would still apply. */
37937 char pthread_cancel ();
37938 /* The GNU C library defines this for functions which it implements
37939 to always fail with ENOSYS. Some functions are actually named
37940 something starting with __ and the normal name is an alias. */
37941 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
37942 choke me
37943 #else
37944 char (*f) () = pthread_cancel;
37945 #endif
37946 #ifdef __cplusplus
37947 }
37948 #endif
37949
37950 int
37951 main ()
37952 {
37953 return f != pthread_cancel;
37954 ;
37955 return 0;
37956 }
37957 _ACEOF
37958 rm -f conftest.$ac_objext conftest$ac_exeext
37959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37960 (eval $ac_link) 2>conftest.er1
37961 ac_status=$?
37962 grep -v '^ *+' conftest.er1 >conftest.err
37963 rm -f conftest.er1
37964 cat conftest.err >&5
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); } &&
37967 { ac_try='test -z "$ac_c_werror_flag"
37968 || test ! -s conftest.err'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37971 ac_status=$?
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; } &&
37974 { ac_try='test -s conftest$ac_exeext'
37975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37976 (eval $ac_try) 2>&5
37977 ac_status=$?
37978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37979 (exit $ac_status); }; }; then
37980 ac_cv_func_pthread_cancel=yes
37981 else
37982 echo "$as_me: failed program was:" >&5
37983 sed 's/^/| /' conftest.$ac_ext >&5
37984
37985 ac_cv_func_pthread_cancel=no
37986 fi
37987 rm -f conftest.err conftest.$ac_objext \
37988 conftest$ac_exeext conftest.$ac_ext
37989 fi
37990 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
37991 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
37992 if test $ac_cv_func_pthread_cancel = yes; then
37993 cat >>confdefs.h <<\_ACEOF
37994 #define HAVE_PTHREAD_CANCEL 1
37995 _ACEOF
37996
37997 else
37998 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
37999 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38000 fi
38001
38002
38003 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38004 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38005 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 cat >conftest.$ac_ext <<_ACEOF
38009 /* confdefs.h. */
38010 _ACEOF
38011 cat confdefs.h >>conftest.$ac_ext
38012 cat >>conftest.$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38017
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char pthread_attr_setstacksize (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38022
38023 #ifdef __STDC__
38024 # include <limits.h>
38025 #else
38026 # include <assert.h>
38027 #endif
38028
38029 #undef pthread_attr_setstacksize
38030
38031 /* Override any gcc2 internal prototype to avoid an error. */
38032 #ifdef __cplusplus
38033 extern "C"
38034 {
38035 #endif
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38038 char pthread_attr_setstacksize ();
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38043 choke me
38044 #else
38045 char (*f) () = pthread_attr_setstacksize;
38046 #endif
38047 #ifdef __cplusplus
38048 }
38049 #endif
38050
38051 int
38052 main ()
38053 {
38054 return f != pthread_attr_setstacksize;
38055 ;
38056 return 0;
38057 }
38058 _ACEOF
38059 rm -f conftest.$ac_objext conftest$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38062 ac_status=$?
38063 grep -v '^ *+' conftest.er1 >conftest.err
38064 rm -f conftest.er1
38065 cat conftest.err >&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try='test -z "$ac_c_werror_flag"
38069 || test ! -s conftest.err'
38070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38071 (eval $ac_try) 2>&5
38072 ac_status=$?
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); }; } &&
38075 { ac_try='test -s conftest$ac_exeext'
38076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38077 (eval $ac_try) 2>&5
38078 ac_status=$?
38079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38080 (exit $ac_status); }; }; then
38081 ac_cv_func_pthread_attr_setstacksize=yes
38082 else
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38085
38086 ac_cv_func_pthread_attr_setstacksize=no
38087 fi
38088 rm -f conftest.err conftest.$ac_objext \
38089 conftest$ac_exeext conftest.$ac_ext
38090 fi
38091 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38092 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38093 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38094 cat >>confdefs.h <<\_ACEOF
38095 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38096 _ACEOF
38097
38098 fi
38099
38100
38101
38102 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38103 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38104 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38105 echo $ECHO_N "(cached) $ECHO_C" >&6
38106 else
38107
38108 cat >conftest.$ac_ext <<_ACEOF
38109 /* confdefs.h. */
38110 _ACEOF
38111 cat confdefs.h >>conftest.$ac_ext
38112 cat >>conftest.$ac_ext <<_ACEOF
38113 /* end confdefs.h. */
38114 #include <pthread.h>
38115 int
38116 main ()
38117 {
38118
38119 pthread_mutexattr_t attr;
38120 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38121
38122 ;
38123 return 0;
38124 }
38125 _ACEOF
38126 rm -f conftest.$ac_objext
38127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38128 (eval $ac_compile) 2>conftest.er1
38129 ac_status=$?
38130 grep -v '^ *+' conftest.er1 >conftest.err
38131 rm -f conftest.er1
38132 cat conftest.err >&5
38133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38134 (exit $ac_status); } &&
38135 { ac_try='test -z "$ac_c_werror_flag"
38136 || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest.$ac_objext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38145 ac_status=$?
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 wx_cv_type_pthread_mutexattr_t=yes
38149 else
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38152
38153 wx_cv_type_pthread_mutexattr_t=no
38154
38155 fi
38156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38157
38158 fi
38159 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38160 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38161
38162 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38163 cat >>confdefs.h <<\_ACEOF
38164 #define HAVE_PTHREAD_MUTEXATTR_T 1
38165 _ACEOF
38166
38167
38168 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38169 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38170 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38171 echo $ECHO_N "(cached) $ECHO_C" >&6
38172 else
38173
38174 cat >conftest.$ac_ext <<_ACEOF
38175 /* confdefs.h. */
38176 _ACEOF
38177 cat confdefs.h >>conftest.$ac_ext
38178 cat >>conftest.$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180 #include <pthread.h>
38181 int
38182 main ()
38183 {
38184
38185 pthread_mutexattr_t attr;
38186 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38187
38188 ;
38189 return 0;
38190 }
38191 _ACEOF
38192 rm -f conftest.$ac_objext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38194 (eval $ac_compile) 2>conftest.er1
38195 ac_status=$?
38196 grep -v '^ *+' conftest.er1 >conftest.err
38197 rm -f conftest.er1
38198 cat conftest.err >&5
38199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38200 (exit $ac_status); } &&
38201 { ac_try='test -z "$ac_c_werror_flag"
38202 || test ! -s conftest.err'
38203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38204 (eval $ac_try) 2>&5
38205 ac_status=$?
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); }; } &&
38208 { ac_try='test -s conftest.$ac_objext'
38209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38210 (eval $ac_try) 2>&5
38211 ac_status=$?
38212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38213 (exit $ac_status); }; }; then
38214 wx_cv_func_pthread_mutexattr_settype_decl=yes
38215 else
38216 echo "$as_me: failed program was:" >&5
38217 sed 's/^/| /' conftest.$ac_ext >&5
38218
38219 wx_cv_func_pthread_mutexattr_settype_decl=no
38220
38221 fi
38222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38223
38224 fi
38225 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38226 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38227 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38228 cat >>confdefs.h <<\_ACEOF
38229 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38230 _ACEOF
38231
38232 fi
38233 else
38234 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38235 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38236 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38237 echo $ECHO_N "(cached) $ECHO_C" >&6
38238 else
38239
38240 cat >conftest.$ac_ext <<_ACEOF
38241 /* confdefs.h. */
38242 _ACEOF
38243 cat confdefs.h >>conftest.$ac_ext
38244 cat >>conftest.$ac_ext <<_ACEOF
38245 /* end confdefs.h. */
38246 #include <pthread.h>
38247 int
38248 main ()
38249 {
38250
38251 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38252
38253 ;
38254 return 0;
38255 }
38256 _ACEOF
38257 rm -f conftest.$ac_objext
38258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38259 (eval $ac_compile) 2>conftest.er1
38260 ac_status=$?
38261 grep -v '^ *+' conftest.er1 >conftest.err
38262 rm -f conftest.er1
38263 cat conftest.err >&5
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); } &&
38266 { ac_try='test -z "$ac_c_werror_flag"
38267 || test ! -s conftest.err'
38268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38269 (eval $ac_try) 2>&5
38270 ac_status=$?
38271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38272 (exit $ac_status); }; } &&
38273 { ac_try='test -s conftest.$ac_objext'
38274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38275 (eval $ac_try) 2>&5
38276 ac_status=$?
38277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38278 (exit $ac_status); }; }; then
38279
38280 wx_cv_type_pthread_rec_mutex_init=yes
38281
38282 else
38283 echo "$as_me: failed program was:" >&5
38284 sed 's/^/| /' conftest.$ac_ext >&5
38285
38286
38287 wx_cv_type_pthread_rec_mutex_init=no
38288
38289
38290 fi
38291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38292
38293 fi
38294 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38295 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
38296 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38297 cat >>confdefs.h <<\_ACEOF
38298 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38299 _ACEOF
38300
38301 else
38302 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38303 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38304 fi
38305 fi
38306 fi
38307
38308 else
38309 if test "$wxUSE_THREADS" = "yes" ; then
38310 case "${host}" in
38311 *-*-mingw32* )
38312 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38313 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
38314 if test "${wx_cv_cflags_mthread+set}" = set; then
38315 echo $ECHO_N "(cached) $ECHO_C" >&6
38316 else
38317
38318 CFLAGS_OLD="$CFLAGS"
38319 CFLAGS="-mthreads $CFLAGS"
38320 cat >conftest.$ac_ext <<_ACEOF
38321 /* confdefs.h. */
38322 _ACEOF
38323 cat confdefs.h >>conftest.$ac_ext
38324 cat >>conftest.$ac_ext <<_ACEOF
38325 /* end confdefs.h. */
38326
38327 int
38328 main ()
38329 {
38330
38331 ;
38332 return 0;
38333 }
38334 _ACEOF
38335 rm -f conftest.$ac_objext
38336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38337 (eval $ac_compile) 2>conftest.er1
38338 ac_status=$?
38339 grep -v '^ *+' conftest.er1 >conftest.err
38340 rm -f conftest.er1
38341 cat conftest.err >&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); } &&
38344 { ac_try='test -z "$ac_c_werror_flag"
38345 || test ! -s conftest.err'
38346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347 (eval $ac_try) 2>&5
38348 ac_status=$?
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; } &&
38351 { ac_try='test -s conftest.$ac_objext'
38352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38353 (eval $ac_try) 2>&5
38354 ac_status=$?
38355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356 (exit $ac_status); }; }; then
38357 wx_cv_cflags_mthread=yes
38358 else
38359 echo "$as_me: failed program was:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38361
38362 wx_cv_cflags_mthread=no
38363
38364 fi
38365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38366
38367
38368 fi
38369 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38370 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
38371
38372 if test "$wx_cv_cflags_mthread" = "yes"; then
38373 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38374 LDFLAGS="$LDFLAGS -mthreads"
38375 else
38376 CFLAGS="$CFLAGS_OLD"
38377 fi
38378 ;;
38379 *-pc-os2*emx )
38380 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38381 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
38382 LDFLAGS="$LDFLAGS -Zmt"
38383 ;;
38384 esac
38385 fi
38386 fi
38387
38388 echo "$as_me:$LINENO: checking for localtime_r" >&5
38389 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
38390 if test "${ac_cv_func_localtime_r+set}" = set; then
38391 echo $ECHO_N "(cached) $ECHO_C" >&6
38392 else
38393 cat >conftest.$ac_ext <<_ACEOF
38394 /* confdefs.h. */
38395 _ACEOF
38396 cat confdefs.h >>conftest.$ac_ext
38397 cat >>conftest.$ac_ext <<_ACEOF
38398 /* end confdefs.h. */
38399 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38401 #define localtime_r innocuous_localtime_r
38402
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char localtime_r (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38407
38408 #ifdef __STDC__
38409 # include <limits.h>
38410 #else
38411 # include <assert.h>
38412 #endif
38413
38414 #undef localtime_r
38415
38416 /* Override any gcc2 internal prototype to avoid an error. */
38417 #ifdef __cplusplus
38418 extern "C"
38419 {
38420 #endif
38421 /* We use char because int might match the return type of a gcc2
38422 builtin and then its argument prototype would still apply. */
38423 char localtime_r ();
38424 /* The GNU C library defines this for functions which it implements
38425 to always fail with ENOSYS. Some functions are actually named
38426 something starting with __ and the normal name is an alias. */
38427 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
38428 choke me
38429 #else
38430 char (*f) () = localtime_r;
38431 #endif
38432 #ifdef __cplusplus
38433 }
38434 #endif
38435
38436 int
38437 main ()
38438 {
38439 return f != localtime_r;
38440 ;
38441 return 0;
38442 }
38443 _ACEOF
38444 rm -f conftest.$ac_objext conftest$ac_exeext
38445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38446 (eval $ac_link) 2>conftest.er1
38447 ac_status=$?
38448 grep -v '^ *+' conftest.er1 >conftest.err
38449 rm -f conftest.er1
38450 cat conftest.err >&5
38451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38452 (exit $ac_status); } &&
38453 { ac_try='test -z "$ac_c_werror_flag"
38454 || test ! -s conftest.err'
38455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38456 (eval $ac_try) 2>&5
38457 ac_status=$?
38458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38459 (exit $ac_status); }; } &&
38460 { ac_try='test -s conftest$ac_exeext'
38461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38462 (eval $ac_try) 2>&5
38463 ac_status=$?
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); }; }; then
38466 ac_cv_func_localtime_r=yes
38467 else
38468 echo "$as_me: failed program was:" >&5
38469 sed 's/^/| /' conftest.$ac_ext >&5
38470
38471 ac_cv_func_localtime_r=no
38472 fi
38473 rm -f conftest.err conftest.$ac_objext \
38474 conftest$ac_exeext conftest.$ac_ext
38475 fi
38476 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
38477 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
38478 if test $ac_cv_func_localtime_r = yes; then
38479 cat >>confdefs.h <<\_ACEOF
38480 #define HAVE_LOCALTIME_R 1
38481 _ACEOF
38482
38483 fi
38484
38485 echo "$as_me:$LINENO: checking for gmtime_r" >&5
38486 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
38487 if test "${ac_cv_func_gmtime_r+set}" = set; then
38488 echo $ECHO_N "(cached) $ECHO_C" >&6
38489 else
38490 cat >conftest.$ac_ext <<_ACEOF
38491 /* confdefs.h. */
38492 _ACEOF
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
38497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38498 #define gmtime_r innocuous_gmtime_r
38499
38500 /* System header to define __stub macros and hopefully few prototypes,
38501 which can conflict with char gmtime_r (); below.
38502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38503 <limits.h> exists even on freestanding compilers. */
38504
38505 #ifdef __STDC__
38506 # include <limits.h>
38507 #else
38508 # include <assert.h>
38509 #endif
38510
38511 #undef gmtime_r
38512
38513 /* Override any gcc2 internal prototype to avoid an error. */
38514 #ifdef __cplusplus
38515 extern "C"
38516 {
38517 #endif
38518 /* We use char because int might match the return type of a gcc2
38519 builtin and then its argument prototype would still apply. */
38520 char gmtime_r ();
38521 /* The GNU C library defines this for functions which it implements
38522 to always fail with ENOSYS. Some functions are actually named
38523 something starting with __ and the normal name is an alias. */
38524 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
38525 choke me
38526 #else
38527 char (*f) () = gmtime_r;
38528 #endif
38529 #ifdef __cplusplus
38530 }
38531 #endif
38532
38533 int
38534 main ()
38535 {
38536 return f != gmtime_r;
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext conftest$ac_exeext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38543 (eval $ac_link) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_c_werror_flag"
38551 || test ! -s conftest.err'
38552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553 (eval $ac_try) 2>&5
38554 ac_status=$?
38555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556 (exit $ac_status); }; } &&
38557 { ac_try='test -s conftest$ac_exeext'
38558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38559 (eval $ac_try) 2>&5
38560 ac_status=$?
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); }; }; then
38563 ac_cv_func_gmtime_r=yes
38564 else
38565 echo "$as_me: failed program was:" >&5
38566 sed 's/^/| /' conftest.$ac_ext >&5
38567
38568 ac_cv_func_gmtime_r=no
38569 fi
38570 rm -f conftest.err conftest.$ac_objext \
38571 conftest$ac_exeext conftest.$ac_ext
38572 fi
38573 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
38574 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
38575 if test $ac_cv_func_gmtime_r = yes; then
38576 cat >>confdefs.h <<\_ACEOF
38577 #define HAVE_GMTIME_R 1
38578 _ACEOF
38579
38580 fi
38581
38582 echo "$as_me:$LINENO: checking for readdir_r" >&5
38583 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
38584 if test "${ac_cv_func_readdir_r+set}" = set; then
38585 echo $ECHO_N "(cached) $ECHO_C" >&6
38586 else
38587 cat >conftest.$ac_ext <<_ACEOF
38588 /* confdefs.h. */
38589 _ACEOF
38590 cat confdefs.h >>conftest.$ac_ext
38591 cat >>conftest.$ac_ext <<_ACEOF
38592 /* end confdefs.h. */
38593 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
38594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38595 #define readdir_r innocuous_readdir_r
38596
38597 /* System header to define __stub macros and hopefully few prototypes,
38598 which can conflict with char readdir_r (); below.
38599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38600 <limits.h> exists even on freestanding compilers. */
38601
38602 #ifdef __STDC__
38603 # include <limits.h>
38604 #else
38605 # include <assert.h>
38606 #endif
38607
38608 #undef readdir_r
38609
38610 /* Override any gcc2 internal prototype to avoid an error. */
38611 #ifdef __cplusplus
38612 extern "C"
38613 {
38614 #endif
38615 /* We use char because int might match the return type of a gcc2
38616 builtin and then its argument prototype would still apply. */
38617 char readdir_r ();
38618 /* The GNU C library defines this for functions which it implements
38619 to always fail with ENOSYS. Some functions are actually named
38620 something starting with __ and the normal name is an alias. */
38621 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
38622 choke me
38623 #else
38624 char (*f) () = readdir_r;
38625 #endif
38626 #ifdef __cplusplus
38627 }
38628 #endif
38629
38630 int
38631 main ()
38632 {
38633 return f != readdir_r;
38634 ;
38635 return 0;
38636 }
38637 _ACEOF
38638 rm -f conftest.$ac_objext conftest$ac_exeext
38639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38640 (eval $ac_link) 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } &&
38647 { ac_try='test -z "$ac_c_werror_flag"
38648 || test ! -s conftest.err'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38651 ac_status=$?
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; } &&
38654 { ac_try='test -s conftest$ac_exeext'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38657 ac_status=$?
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; }; then
38660 ac_cv_func_readdir_r=yes
38661 else
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38664
38665 ac_cv_func_readdir_r=no
38666 fi
38667 rm -f conftest.err conftest.$ac_objext \
38668 conftest$ac_exeext conftest.$ac_ext
38669 fi
38670 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
38671 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
38672 if test $ac_cv_func_readdir_r = yes; then
38673 cat >>confdefs.h <<\_ACEOF
38674 #define HAVE_READDIR_R 1
38675 _ACEOF
38676
38677 fi
38678
38679
38680
38681
38682 ac_ext=c
38683 ac_cpp='$CPP $CPPFLAGS'
38684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38687
38688 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
38689 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
38690
38691 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
38692 echo $ECHO_N "(cached) $ECHO_C" >&6
38693 else
38694
38695
38696 ################################################################
38697
38698 ac_cv_func_which_gethostbyname_r=unknown
38699
38700 #
38701 # ONE ARGUMENT (sanity check)
38702 #
38703
38704 # This should fail, as there is no variant of gethostbyname_r() that takes
38705 # a single argument. If it actually compiles, then we can assume that
38706 # netdb.h is not declaring the function, and the compiler is thereby
38707 # assuming an implicit prototype. In which case, we're out of luck.
38708 #
38709 cat >conftest.$ac_ext <<_ACEOF
38710 /* confdefs.h. */
38711 _ACEOF
38712 cat confdefs.h >>conftest.$ac_ext
38713 cat >>conftest.$ac_ext <<_ACEOF
38714 /* end confdefs.h. */
38715 #include <netdb.h>
38716 int
38717 main ()
38718 {
38719
38720 char *name = "www.gnu.org";
38721 (void)gethostbyname_r(name) /* ; */
38722
38723 ;
38724 return 0;
38725 }
38726 _ACEOF
38727 rm -f conftest.$ac_objext
38728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38729 (eval $ac_compile) 2>conftest.er1
38730 ac_status=$?
38731 grep -v '^ *+' conftest.er1 >conftest.err
38732 rm -f conftest.er1
38733 cat conftest.err >&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); } &&
38736 { ac_try='test -z "$ac_c_werror_flag"
38737 || test ! -s conftest.err'
38738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38739 (eval $ac_try) 2>&5
38740 ac_status=$?
38741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38742 (exit $ac_status); }; } &&
38743 { ac_try='test -s conftest.$ac_objext'
38744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38745 (eval $ac_try) 2>&5
38746 ac_status=$?
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); }; }; then
38749 ac_cv_func_which_gethostbyname_r=no
38750 else
38751 echo "$as_me: failed program was:" >&5
38752 sed 's/^/| /' conftest.$ac_ext >&5
38753
38754 fi
38755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38756
38757 #
38758 # SIX ARGUMENTS
38759 # (e.g. Linux)
38760 #
38761
38762 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38763
38764 cat >conftest.$ac_ext <<_ACEOF
38765 /* confdefs.h. */
38766 _ACEOF
38767 cat confdefs.h >>conftest.$ac_ext
38768 cat >>conftest.$ac_ext <<_ACEOF
38769 /* end confdefs.h. */
38770 #include <netdb.h>
38771 int
38772 main ()
38773 {
38774
38775 char *name = "www.gnu.org";
38776 struct hostent ret, *retp;
38777 char buf[1024];
38778 int buflen = 1024;
38779 int my_h_errno;
38780 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
38781
38782 ;
38783 return 0;
38784 }
38785 _ACEOF
38786 rm -f conftest.$ac_objext
38787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38788 (eval $ac_compile) 2>conftest.er1
38789 ac_status=$?
38790 grep -v '^ *+' conftest.er1 >conftest.err
38791 rm -f conftest.er1
38792 cat conftest.err >&5
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); } &&
38795 { ac_try='test -z "$ac_c_werror_flag"
38796 || test ! -s conftest.err'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; } &&
38802 { ac_try='test -s conftest.$ac_objext'
38803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38804 (eval $ac_try) 2>&5
38805 ac_status=$?
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); }; }; then
38808 ac_cv_func_which_gethostbyname_r=six
38809 else
38810 echo "$as_me: failed program was:" >&5
38811 sed 's/^/| /' conftest.$ac_ext >&5
38812
38813 fi
38814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38815
38816 fi
38817
38818 #
38819 # FIVE ARGUMENTS
38820 # (e.g. Solaris)
38821 #
38822
38823 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38824
38825 cat >conftest.$ac_ext <<_ACEOF
38826 /* confdefs.h. */
38827 _ACEOF
38828 cat confdefs.h >>conftest.$ac_ext
38829 cat >>conftest.$ac_ext <<_ACEOF
38830 /* end confdefs.h. */
38831 #include <netdb.h>
38832 int
38833 main ()
38834 {
38835
38836 char *name = "www.gnu.org";
38837 struct hostent ret;
38838 char buf[1024];
38839 int buflen = 1024;
38840 int my_h_errno;
38841 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
38842
38843 ;
38844 return 0;
38845 }
38846 _ACEOF
38847 rm -f conftest.$ac_objext
38848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38849 (eval $ac_compile) 2>conftest.er1
38850 ac_status=$?
38851 grep -v '^ *+' conftest.er1 >conftest.err
38852 rm -f conftest.er1
38853 cat conftest.err >&5
38854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38855 (exit $ac_status); } &&
38856 { ac_try='test -z "$ac_c_werror_flag"
38857 || test ! -s conftest.err'
38858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38859 (eval $ac_try) 2>&5
38860 ac_status=$?
38861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38862 (exit $ac_status); }; } &&
38863 { ac_try='test -s conftest.$ac_objext'
38864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38865 (eval $ac_try) 2>&5
38866 ac_status=$?
38867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 (exit $ac_status); }; }; then
38869 ac_cv_func_which_gethostbyname_r=five
38870 else
38871 echo "$as_me: failed program was:" >&5
38872 sed 's/^/| /' conftest.$ac_ext >&5
38873
38874 fi
38875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38876
38877 fi
38878
38879 #
38880 # THREE ARGUMENTS
38881 # (e.g. AIX, HP-UX, Tru64)
38882 #
38883
38884 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
38885
38886 cat >conftest.$ac_ext <<_ACEOF
38887 /* confdefs.h. */
38888 _ACEOF
38889 cat confdefs.h >>conftest.$ac_ext
38890 cat >>conftest.$ac_ext <<_ACEOF
38891 /* end confdefs.h. */
38892 #include <netdb.h>
38893 int
38894 main ()
38895 {
38896
38897 char *name = "www.gnu.org";
38898 struct hostent ret;
38899 struct hostent_data data;
38900 (void)gethostbyname_r(name, &ret, &data) /* ; */
38901
38902 ;
38903 return 0;
38904 }
38905 _ACEOF
38906 rm -f conftest.$ac_objext
38907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38908 (eval $ac_compile) 2>conftest.er1
38909 ac_status=$?
38910 grep -v '^ *+' conftest.er1 >conftest.err
38911 rm -f conftest.er1
38912 cat conftest.err >&5
38913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38914 (exit $ac_status); } &&
38915 { ac_try='test -z "$ac_c_werror_flag"
38916 || test ! -s conftest.err'
38917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38918 (eval $ac_try) 2>&5
38919 ac_status=$?
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); }; } &&
38922 { ac_try='test -s conftest.$ac_objext'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38925 ac_status=$?
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; }; then
38928 ac_cv_func_which_gethostbyname_r=three
38929 else
38930 echo "$as_me: failed program was:" >&5
38931 sed 's/^/| /' conftest.$ac_ext >&5
38932
38933 fi
38934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38935
38936 fi
38937
38938 ################################################################
38939
38940
38941 fi
38942
38943 case "$ac_cv_func_which_gethostbyname_r" in
38944 three)
38945 echo "$as_me:$LINENO: result: three" >&5
38946 echo "${ECHO_T}three" >&6
38947 cat >>confdefs.h <<\_ACEOF
38948 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
38949 _ACEOF
38950
38951 ;;
38952
38953 five)
38954 echo "$as_me:$LINENO: result: five" >&5
38955 echo "${ECHO_T}five" >&6
38956 cat >>confdefs.h <<\_ACEOF
38957 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
38958 _ACEOF
38959
38960 ;;
38961
38962 six)
38963 echo "$as_me:$LINENO: result: six" >&5
38964 echo "${ECHO_T}six" >&6
38965 cat >>confdefs.h <<\_ACEOF
38966 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
38967 _ACEOF
38968
38969 ;;
38970
38971 no)
38972 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
38973 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
38974 ;;
38975
38976 unknown)
38977 echo "$as_me:$LINENO: result: can't tell" >&5
38978 echo "${ECHO_T}can't tell" >&6
38979 ;;
38980
38981 *)
38982 { { echo "$as_me:$LINENO: error: internal error" >&5
38983 echo "$as_me: error: internal error" >&2;}
38984 { (exit 1); exit 1; }; }
38985 ;;
38986 esac
38987
38988 ac_ext=c
38989 ac_cpp='$CPP $CPPFLAGS'
38990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993
38994
38995
38996 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
38997 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
38998 echo "$as_me:$LINENO: checking for gethostbyname" >&5
38999 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39000 if test "${ac_cv_func_gethostbyname+set}" = set; then
39001 echo $ECHO_N "(cached) $ECHO_C" >&6
39002 else
39003 cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h. */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39011 #define gethostbyname innocuous_gethostbyname
39012
39013 /* System header to define __stub macros and hopefully few prototypes,
39014 which can conflict with char gethostbyname (); below.
39015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39016 <limits.h> exists even on freestanding compilers. */
39017
39018 #ifdef __STDC__
39019 # include <limits.h>
39020 #else
39021 # include <assert.h>
39022 #endif
39023
39024 #undef gethostbyname
39025
39026 /* Override any gcc2 internal prototype to avoid an error. */
39027 #ifdef __cplusplus
39028 extern "C"
39029 {
39030 #endif
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39033 char gethostbyname ();
39034 /* The GNU C library defines this for functions which it implements
39035 to always fail with ENOSYS. Some functions are actually named
39036 something starting with __ and the normal name is an alias. */
39037 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39038 choke me
39039 #else
39040 char (*f) () = gethostbyname;
39041 #endif
39042 #ifdef __cplusplus
39043 }
39044 #endif
39045
39046 int
39047 main ()
39048 {
39049 return f != gethostbyname;
39050 ;
39051 return 0;
39052 }
39053 _ACEOF
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39056 (eval $ac_link) 2>conftest.er1
39057 ac_status=$?
39058 grep -v '^ *+' conftest.er1 >conftest.err
39059 rm -f conftest.er1
39060 cat conftest.err >&5
39061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39062 (exit $ac_status); } &&
39063 { ac_try='test -z "$ac_c_werror_flag"
39064 || test ! -s conftest.err'
39065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39066 (eval $ac_try) 2>&5
39067 ac_status=$?
39068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39069 (exit $ac_status); }; } &&
39070 { ac_try='test -s conftest$ac_exeext'
39071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39072 (eval $ac_try) 2>&5
39073 ac_status=$?
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); }; }; then
39076 ac_cv_func_gethostbyname=yes
39077 else
39078 echo "$as_me: failed program was:" >&5
39079 sed 's/^/| /' conftest.$ac_ext >&5
39080
39081 ac_cv_func_gethostbyname=no
39082 fi
39083 rm -f conftest.err conftest.$ac_objext \
39084 conftest$ac_exeext conftest.$ac_ext
39085 fi
39086 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39087 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39088 if test $ac_cv_func_gethostbyname = yes; then
39089 cat >>confdefs.h <<\_ACEOF
39090 #define HAVE_GETHOSTBYNAME 1
39091 _ACEOF
39092
39093 fi
39094
39095 fi
39096 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39097 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39098 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 else
39101 cat >conftest.$ac_ext <<_ACEOF
39102 /* confdefs.h. */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39109 #define getservbyname_r innocuous_getservbyname_r
39110
39111 /* System header to define __stub macros and hopefully few prototypes,
39112 which can conflict with char getservbyname_r (); below.
39113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39114 <limits.h> exists even on freestanding compilers. */
39115
39116 #ifdef __STDC__
39117 # include <limits.h>
39118 #else
39119 # include <assert.h>
39120 #endif
39121
39122 #undef getservbyname_r
39123
39124 /* Override any gcc2 internal prototype to avoid an error. */
39125 #ifdef __cplusplus
39126 extern "C"
39127 {
39128 #endif
39129 /* We use char because int might match the return type of a gcc2
39130 builtin and then its argument prototype would still apply. */
39131 char getservbyname_r ();
39132 /* The GNU C library defines this for functions which it implements
39133 to always fail with ENOSYS. Some functions are actually named
39134 something starting with __ and the normal name is an alias. */
39135 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39136 choke me
39137 #else
39138 char (*f) () = getservbyname_r;
39139 #endif
39140 #ifdef __cplusplus
39141 }
39142 #endif
39143
39144 int
39145 main ()
39146 {
39147 return f != getservbyname_r;
39148 ;
39149 return 0;
39150 }
39151 _ACEOF
39152 rm -f conftest.$ac_objext conftest$ac_exeext
39153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39154 (eval $ac_link) 2>conftest.er1
39155 ac_status=$?
39156 grep -v '^ *+' conftest.er1 >conftest.err
39157 rm -f conftest.er1
39158 cat conftest.err >&5
39159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39160 (exit $ac_status); } &&
39161 { ac_try='test -z "$ac_c_werror_flag"
39162 || test ! -s conftest.err'
39163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39164 (eval $ac_try) 2>&5
39165 ac_status=$?
39166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39167 (exit $ac_status); }; } &&
39168 { ac_try='test -s conftest$ac_exeext'
39169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39170 (eval $ac_try) 2>&5
39171 ac_status=$?
39172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173 (exit $ac_status); }; }; then
39174 ac_cv_func_getservbyname_r=yes
39175 else
39176 echo "$as_me: failed program was:" >&5
39177 sed 's/^/| /' conftest.$ac_ext >&5
39178
39179 ac_cv_func_getservbyname_r=no
39180 fi
39181 rm -f conftest.err conftest.$ac_objext \
39182 conftest$ac_exeext conftest.$ac_ext
39183 fi
39184 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39185 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39186 if test $ac_cv_func_getservbyname_r = yes; then
39187 cat >conftest.$ac_ext <<_ACEOF
39188 /* confdefs.h. */
39189 _ACEOF
39190 cat confdefs.h >>conftest.$ac_ext
39191 cat >>conftest.$ac_ext <<_ACEOF
39192 /* end confdefs.h. */
39193 #include <netdb.h>
39194 int
39195 main ()
39196 {
39197
39198 char *name;
39199 char *proto;
39200 struct servent *se;
39201 struct servent_data data;
39202 (void) getservbyname_r(name, proto, se, &data);
39203
39204 ;
39205 return 0;
39206 }
39207 _ACEOF
39208 rm -f conftest.$ac_objext
39209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39210 (eval $ac_compile) 2>conftest.er1
39211 ac_status=$?
39212 grep -v '^ *+' conftest.er1 >conftest.err
39213 rm -f conftest.er1
39214 cat conftest.err >&5
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); } &&
39217 { ac_try='test -z "$ac_c_werror_flag"
39218 || test ! -s conftest.err'
39219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39220 (eval $ac_try) 2>&5
39221 ac_status=$?
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); }; } &&
39224 { ac_try='test -s conftest.$ac_objext'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; }; then
39230 ac_cv_func_which_getservbyname_r=four
39231 else
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39234
39235 cat >conftest.$ac_ext <<_ACEOF
39236 /* confdefs.h. */
39237 _ACEOF
39238 cat confdefs.h >>conftest.$ac_ext
39239 cat >>conftest.$ac_ext <<_ACEOF
39240 /* end confdefs.h. */
39241 #include <netdb.h>
39242 int
39243 main ()
39244 {
39245
39246 char *name;
39247 char *proto;
39248 struct servent *se, *res;
39249 char buffer[2048];
39250 int buflen = 2048;
39251 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39252
39253 ;
39254 return 0;
39255 }
39256 _ACEOF
39257 rm -f conftest.$ac_objext
39258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39259 (eval $ac_compile) 2>conftest.er1
39260 ac_status=$?
39261 grep -v '^ *+' conftest.er1 >conftest.err
39262 rm -f conftest.er1
39263 cat conftest.err >&5
39264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39265 (exit $ac_status); } &&
39266 { ac_try='test -z "$ac_c_werror_flag"
39267 || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try='test -s conftest.$ac_objext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39276 ac_status=$?
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 ac_cv_func_which_getservbyname_r=six
39280 else
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39283
39284 cat >conftest.$ac_ext <<_ACEOF
39285 /* confdefs.h. */
39286 _ACEOF
39287 cat confdefs.h >>conftest.$ac_ext
39288 cat >>conftest.$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39290 #include <netdb.h>
39291 int
39292 main ()
39293 {
39294
39295 char *name;
39296 char *proto;
39297 struct servent *se;
39298 char buffer[2048];
39299 int buflen = 2048;
39300 (void) getservbyname_r(name, proto, se, buffer, buflen)
39301
39302 ;
39303 return 0;
39304 }
39305 _ACEOF
39306 rm -f conftest.$ac_objext
39307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39308 (eval $ac_compile) 2>conftest.er1
39309 ac_status=$?
39310 grep -v '^ *+' conftest.er1 >conftest.err
39311 rm -f conftest.er1
39312 cat conftest.err >&5
39313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39314 (exit $ac_status); } &&
39315 { ac_try='test -z "$ac_c_werror_flag"
39316 || test ! -s conftest.err'
39317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39318 (eval $ac_try) 2>&5
39319 ac_status=$?
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); }; } &&
39322 { ac_try='test -s conftest.$ac_objext'
39323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39324 (eval $ac_try) 2>&5
39325 ac_status=$?
39326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39327 (exit $ac_status); }; }; then
39328 ac_cv_func_which_getservbyname_r=five
39329 else
39330 echo "$as_me: failed program was:" >&5
39331 sed 's/^/| /' conftest.$ac_ext >&5
39332
39333 ac_cv_func_which_getservbyname_r=no
39334
39335 fi
39336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39337
39338 fi
39339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39340
39341 fi
39342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39343 else
39344 ac_cv_func_which_getservbyname_r=no
39345 fi
39346
39347
39348 if test $ac_cv_func_which_getservbyname_r = six; then
39349 cat >>confdefs.h <<\_ACEOF
39350 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39351 _ACEOF
39352
39353 elif test $ac_cv_func_which_getservbyname_r = five; then
39354 cat >>confdefs.h <<\_ACEOF
39355 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39356 _ACEOF
39357
39358 elif test $ac_cv_func_which_getservbyname_r = four; then
39359 cat >>confdefs.h <<\_ACEOF
39360 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39361 _ACEOF
39362
39363 fi
39364
39365
39366 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39367 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39368
39369 for ac_func in getservbyname
39370 do
39371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39372 echo "$as_me:$LINENO: checking for $ac_func" >&5
39373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39374 if eval "test \"\${$as_ac_var+set}\" = set"; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39377 cat >conftest.$ac_ext <<_ACEOF
39378 /* confdefs.h. */
39379 _ACEOF
39380 cat confdefs.h >>conftest.$ac_ext
39381 cat >>conftest.$ac_ext <<_ACEOF
39382 /* end confdefs.h. */
39383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39385 #define $ac_func innocuous_$ac_func
39386
39387 /* System header to define __stub macros and hopefully few prototypes,
39388 which can conflict with char $ac_func (); below.
39389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39390 <limits.h> exists even on freestanding compilers. */
39391
39392 #ifdef __STDC__
39393 # include <limits.h>
39394 #else
39395 # include <assert.h>
39396 #endif
39397
39398 #undef $ac_func
39399
39400 /* Override any gcc2 internal prototype to avoid an error. */
39401 #ifdef __cplusplus
39402 extern "C"
39403 {
39404 #endif
39405 /* We use char because int might match the return type of a gcc2
39406 builtin and then its argument prototype would still apply. */
39407 char $ac_func ();
39408 /* The GNU C library defines this for functions which it implements
39409 to always fail with ENOSYS. Some functions are actually named
39410 something starting with __ and the normal name is an alias. */
39411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39412 choke me
39413 #else
39414 char (*f) () = $ac_func;
39415 #endif
39416 #ifdef __cplusplus
39417 }
39418 #endif
39419
39420 int
39421 main ()
39422 {
39423 return f != $ac_func;
39424 ;
39425 return 0;
39426 }
39427 _ACEOF
39428 rm -f conftest.$ac_objext conftest$ac_exeext
39429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39430 (eval $ac_link) 2>conftest.er1
39431 ac_status=$?
39432 grep -v '^ *+' conftest.er1 >conftest.err
39433 rm -f conftest.er1
39434 cat conftest.err >&5
39435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39436 (exit $ac_status); } &&
39437 { ac_try='test -z "$ac_c_werror_flag"
39438 || test ! -s conftest.err'
39439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39440 (eval $ac_try) 2>&5
39441 ac_status=$?
39442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39443 (exit $ac_status); }; } &&
39444 { ac_try='test -s conftest$ac_exeext'
39445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39446 (eval $ac_try) 2>&5
39447 ac_status=$?
39448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39449 (exit $ac_status); }; }; then
39450 eval "$as_ac_var=yes"
39451 else
39452 echo "$as_me: failed program was:" >&5
39453 sed 's/^/| /' conftest.$ac_ext >&5
39454
39455 eval "$as_ac_var=no"
39456 fi
39457 rm -f conftest.err conftest.$ac_objext \
39458 conftest$ac_exeext conftest.$ac_ext
39459 fi
39460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39462 if test `eval echo '${'$as_ac_var'}'` = yes; then
39463 cat >>confdefs.h <<_ACEOF
39464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39465 _ACEOF
39466 cat >>confdefs.h <<\_ACEOF
39467 #define HAVE_GETSERVBYNAME 1
39468 _ACEOF
39469
39470 fi
39471 done
39472
39473 fi
39474
39475 if test "$wxUSE_THREADS" = "yes"; then
39476 cat >>confdefs.h <<\_ACEOF
39477 #define wxUSE_THREADS 1
39478 _ACEOF
39479
39480
39481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39482 else
39483 if test "$ac_cv_func_strtok_r" = "yes"; then
39484 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39485 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
39486 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39487 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39488 echo "$as_me:$LINENO: result: yes" >&5
39489 echo "${ECHO_T}yes" >&6
39490 else
39491 echo "$as_me:$LINENO: result: no" >&5
39492 echo "${ECHO_T}no" >&6
39493 fi
39494 fi
39495 fi
39496
39497 if test "$WXGTK20" = 1 ; then
39498 cat >>confdefs.h <<_ACEOF
39499 #define __WXGTK20__ $WXGTK20
39500 _ACEOF
39501
39502 WXGTK12=1
39503 fi
39504
39505 if test "$WXGTK12" = 1 ; then
39506 cat >>confdefs.h <<_ACEOF
39507 #define __WXGTK12__ $WXGTK12
39508 _ACEOF
39509
39510 fi
39511
39512 if test "$WXGTK127" = 1 ; then
39513 cat >>confdefs.h <<_ACEOF
39514 #define __WXGTK127__ $WXGTK127
39515 _ACEOF
39516
39517 fi
39518
39519 if test "$WXGPE" = 1 ; then
39520 cat >>confdefs.h <<_ACEOF
39521 #define __WXGPE__ $WXGPE
39522 _ACEOF
39523
39524 fi
39525
39526 DEBUG_CFLAGS=
39527 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39528 DEBUG_CFLAGS="-g"
39529 wxUSE_OPTIMISE=no
39530 fi
39531
39532 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39533 wxUSE_DEBUG_INFO=yes
39534 if test "$GCC" = yes; then
39535 DEBUG_CFLAGS="-ggdb"
39536 fi
39537 fi
39538
39539 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
39540 cat >>confdefs.h <<\_ACEOF
39541 #define WXDEBUG 1
39542 _ACEOF
39543
39544 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
39545 else
39546 if test "$wxUSE_GTK" = 1 ; then
39547 if test "x$wxGTK_VERSION" = "x1" ; then
39548 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
39549 fi
39550 fi
39551 fi
39552
39553 if test "$wxUSE_MEM_TRACING" = "yes" ; then
39554 cat >>confdefs.h <<\_ACEOF
39555 #define wxUSE_MEMORY_TRACING 1
39556 _ACEOF
39557
39558 cat >>confdefs.h <<\_ACEOF
39559 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
39560 _ACEOF
39561
39562 cat >>confdefs.h <<\_ACEOF
39563 #define wxUSE_DEBUG_NEW_ALWAYS 1
39564 _ACEOF
39565
39566 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
39567 fi
39568
39569 if test "$wxUSE_DMALLOC" = "yes" ; then
39570 DMALLOC_LIBS="-ldmallocthcxx"
39571 fi
39572
39573 PROFILE_FLAGS=
39574 if test "$wxUSE_PROFILE" = "yes" ; then
39575 PROFILE_FLAGS=" -pg"
39576 fi
39577
39578 if test "$GCC" = "yes" ; then
39579 if test "$wxUSE_NO_RTTI" = "yes" ; then
39580 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
39581 fi
39582 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
39583 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
39584 fi
39585 if test "$wxUSE_PERMISSIVE" = "yes" ; then
39586 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
39587 fi
39588
39589 case "${host}" in
39590 powerpc*-*-aix* )
39591 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
39592 ;;
39593 *-hppa* )
39594 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
39595 ;;
39596 esac
39597 fi
39598
39599 OPTIMISE_CFLAGS=
39600 if test "$wxUSE_OPTIMISE" = "no" ; then
39601 if test "$GCC" = yes ; then
39602 OPTIMISE_CFLAGS="-O0"
39603 fi
39604 else
39605 if test "$GCC" = yes ; then
39606 OPTIMISE_CFLAGS="-O2"
39607 else
39608 OPTIMISE_CFLAGS="-O"
39609 fi
39610 fi
39611
39612
39613 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
39614 cat >>confdefs.h <<\_ACEOF
39615 #define WXWIN_COMPATIBILITY_2_4 1
39616 _ACEOF
39617
39618
39619 WXWIN_COMPATIBILITY_2_6="yes"
39620 fi
39621
39622 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
39623 cat >>confdefs.h <<\_ACEOF
39624 #define WXWIN_COMPATIBILITY_2_6 1
39625 _ACEOF
39626
39627 fi
39628
39629
39630 if test "$wxUSE_GUI" = "yes"; then
39631 cat >>confdefs.h <<\_ACEOF
39632 #define wxUSE_GUI 1
39633 _ACEOF
39634
39635
39636 fi
39637
39638
39639 if test "$wxUSE_UNIX" = "yes"; then
39640 cat >>confdefs.h <<\_ACEOF
39641 #define wxUSE_UNIX 1
39642 _ACEOF
39643
39644 fi
39645
39646
39647 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39648
39649 HAVE_DL_FUNCS=0
39650 HAVE_SHL_FUNCS=0
39651 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
39652 if test "$USE_DARWIN" = 1; then
39653 HAVE_DL_FUNCS=1
39654 elif test "$USE_DOS" = 1; then
39655 HAVE_DL_FUNCS=0
39656 else
39657
39658 for ac_func in dlopen
39659 do
39660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39661 echo "$as_me:$LINENO: checking for $ac_func" >&5
39662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39663 if eval "test \"\${$as_ac_var+set}\" = set"; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39665 else
39666 cat >conftest.$ac_ext <<_ACEOF
39667 /* confdefs.h. */
39668 _ACEOF
39669 cat confdefs.h >>conftest.$ac_ext
39670 cat >>conftest.$ac_ext <<_ACEOF
39671 /* end confdefs.h. */
39672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39674 #define $ac_func innocuous_$ac_func
39675
39676 /* System header to define __stub macros and hopefully few prototypes,
39677 which can conflict with char $ac_func (); below.
39678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39679 <limits.h> exists even on freestanding compilers. */
39680
39681 #ifdef __STDC__
39682 # include <limits.h>
39683 #else
39684 # include <assert.h>
39685 #endif
39686
39687 #undef $ac_func
39688
39689 /* Override any gcc2 internal prototype to avoid an error. */
39690 #ifdef __cplusplus
39691 extern "C"
39692 {
39693 #endif
39694 /* We use char because int might match the return type of a gcc2
39695 builtin and then its argument prototype would still apply. */
39696 char $ac_func ();
39697 /* The GNU C library defines this for functions which it implements
39698 to always fail with ENOSYS. Some functions are actually named
39699 something starting with __ and the normal name is an alias. */
39700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39701 choke me
39702 #else
39703 char (*f) () = $ac_func;
39704 #endif
39705 #ifdef __cplusplus
39706 }
39707 #endif
39708
39709 int
39710 main ()
39711 {
39712 return f != $ac_func;
39713 ;
39714 return 0;
39715 }
39716 _ACEOF
39717 rm -f conftest.$ac_objext conftest$ac_exeext
39718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39719 (eval $ac_link) 2>conftest.er1
39720 ac_status=$?
39721 grep -v '^ *+' conftest.er1 >conftest.err
39722 rm -f conftest.er1
39723 cat conftest.err >&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } &&
39726 { ac_try='test -z "$ac_c_werror_flag"
39727 || test ! -s conftest.err'
39728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729 (eval $ac_try) 2>&5
39730 ac_status=$?
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); }; } &&
39733 { ac_try='test -s conftest$ac_exeext'
39734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39735 (eval $ac_try) 2>&5
39736 ac_status=$?
39737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738 (exit $ac_status); }; }; then
39739 eval "$as_ac_var=yes"
39740 else
39741 echo "$as_me: failed program was:" >&5
39742 sed 's/^/| /' conftest.$ac_ext >&5
39743
39744 eval "$as_ac_var=no"
39745 fi
39746 rm -f conftest.err conftest.$ac_objext \
39747 conftest$ac_exeext conftest.$ac_ext
39748 fi
39749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39751 if test `eval echo '${'$as_ac_var'}'` = yes; then
39752 cat >>confdefs.h <<_ACEOF
39753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39754 _ACEOF
39755
39756 cat >>confdefs.h <<\_ACEOF
39757 #define HAVE_DLOPEN 1
39758 _ACEOF
39759
39760 HAVE_DL_FUNCS=1
39761
39762 else
39763
39764 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
39765 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
39766 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
39767 echo $ECHO_N "(cached) $ECHO_C" >&6
39768 else
39769 ac_check_lib_save_LIBS=$LIBS
39770 LIBS="-ldl $LIBS"
39771 cat >conftest.$ac_ext <<_ACEOF
39772 /* confdefs.h. */
39773 _ACEOF
39774 cat confdefs.h >>conftest.$ac_ext
39775 cat >>conftest.$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777
39778 /* Override any gcc2 internal prototype to avoid an error. */
39779 #ifdef __cplusplus
39780 extern "C"
39781 #endif
39782 /* We use char because int might match the return type of a gcc2
39783 builtin and then its argument prototype would still apply. */
39784 char dlopen ();
39785 int
39786 main ()
39787 {
39788 dlopen ();
39789 ;
39790 return 0;
39791 }
39792 _ACEOF
39793 rm -f conftest.$ac_objext conftest$ac_exeext
39794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39795 (eval $ac_link) 2>conftest.er1
39796 ac_status=$?
39797 grep -v '^ *+' conftest.er1 >conftest.err
39798 rm -f conftest.er1
39799 cat conftest.err >&5
39800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39801 (exit $ac_status); } &&
39802 { ac_try='test -z "$ac_c_werror_flag"
39803 || test ! -s conftest.err'
39804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 (eval $ac_try) 2>&5
39806 ac_status=$?
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); }; } &&
39809 { ac_try='test -s conftest$ac_exeext'
39810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39811 (eval $ac_try) 2>&5
39812 ac_status=$?
39813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39814 (exit $ac_status); }; }; then
39815 ac_cv_lib_dl_dlopen=yes
39816 else
39817 echo "$as_me: failed program was:" >&5
39818 sed 's/^/| /' conftest.$ac_ext >&5
39819
39820 ac_cv_lib_dl_dlopen=no
39821 fi
39822 rm -f conftest.err conftest.$ac_objext \
39823 conftest$ac_exeext conftest.$ac_ext
39824 LIBS=$ac_check_lib_save_LIBS
39825 fi
39826 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
39827 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
39828 if test $ac_cv_lib_dl_dlopen = yes; then
39829
39830 cat >>confdefs.h <<\_ACEOF
39831 #define HAVE_DLOPEN 1
39832 _ACEOF
39833
39834 HAVE_DL_FUNCS=1
39835 DL_LINK=" -ldl$DL_LINK"
39836
39837 else
39838
39839
39840 for ac_func in shl_load
39841 do
39842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39843 echo "$as_me:$LINENO: checking for $ac_func" >&5
39844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39845 if eval "test \"\${$as_ac_var+set}\" = set"; then
39846 echo $ECHO_N "(cached) $ECHO_C" >&6
39847 else
39848 cat >conftest.$ac_ext <<_ACEOF
39849 /* confdefs.h. */
39850 _ACEOF
39851 cat confdefs.h >>conftest.$ac_ext
39852 cat >>conftest.$ac_ext <<_ACEOF
39853 /* end confdefs.h. */
39854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39856 #define $ac_func innocuous_$ac_func
39857
39858 /* System header to define __stub macros and hopefully few prototypes,
39859 which can conflict with char $ac_func (); below.
39860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39861 <limits.h> exists even on freestanding compilers. */
39862
39863 #ifdef __STDC__
39864 # include <limits.h>
39865 #else
39866 # include <assert.h>
39867 #endif
39868
39869 #undef $ac_func
39870
39871 /* Override any gcc2 internal prototype to avoid an error. */
39872 #ifdef __cplusplus
39873 extern "C"
39874 {
39875 #endif
39876 /* We use char because int might match the return type of a gcc2
39877 builtin and then its argument prototype would still apply. */
39878 char $ac_func ();
39879 /* The GNU C library defines this for functions which it implements
39880 to always fail with ENOSYS. Some functions are actually named
39881 something starting with __ and the normal name is an alias. */
39882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39883 choke me
39884 #else
39885 char (*f) () = $ac_func;
39886 #endif
39887 #ifdef __cplusplus
39888 }
39889 #endif
39890
39891 int
39892 main ()
39893 {
39894 return f != $ac_func;
39895 ;
39896 return 0;
39897 }
39898 _ACEOF
39899 rm -f conftest.$ac_objext conftest$ac_exeext
39900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39901 (eval $ac_link) 2>conftest.er1
39902 ac_status=$?
39903 grep -v '^ *+' conftest.er1 >conftest.err
39904 rm -f conftest.er1
39905 cat conftest.err >&5
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); } &&
39908 { ac_try='test -z "$ac_c_werror_flag"
39909 || test ! -s conftest.err'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39912 ac_status=$?
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; } &&
39915 { ac_try='test -s conftest$ac_exeext'
39916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39917 (eval $ac_try) 2>&5
39918 ac_status=$?
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); }; }; then
39921 eval "$as_ac_var=yes"
39922 else
39923 echo "$as_me: failed program was:" >&5
39924 sed 's/^/| /' conftest.$ac_ext >&5
39925
39926 eval "$as_ac_var=no"
39927 fi
39928 rm -f conftest.err conftest.$ac_objext \
39929 conftest$ac_exeext conftest.$ac_ext
39930 fi
39931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39933 if test `eval echo '${'$as_ac_var'}'` = yes; then
39934 cat >>confdefs.h <<_ACEOF
39935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39936 _ACEOF
39937
39938 cat >>confdefs.h <<\_ACEOF
39939 #define HAVE_SHL_LOAD 1
39940 _ACEOF
39941
39942 HAVE_SHL_FUNCS=1
39943
39944 else
39945
39946 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
39947 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
39948 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
39949 echo $ECHO_N "(cached) $ECHO_C" >&6
39950 else
39951 ac_check_lib_save_LIBS=$LIBS
39952 LIBS="-lshl_load $LIBS"
39953 cat >conftest.$ac_ext <<_ACEOF
39954 /* confdefs.h. */
39955 _ACEOF
39956 cat confdefs.h >>conftest.$ac_ext
39957 cat >>conftest.$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39959
39960 /* Override any gcc2 internal prototype to avoid an error. */
39961 #ifdef __cplusplus
39962 extern "C"
39963 #endif
39964 /* We use char because int might match the return type of a gcc2
39965 builtin and then its argument prototype would still apply. */
39966 char dld ();
39967 int
39968 main ()
39969 {
39970 dld ();
39971 ;
39972 return 0;
39973 }
39974 _ACEOF
39975 rm -f conftest.$ac_objext conftest$ac_exeext
39976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39977 (eval $ac_link) 2>conftest.er1
39978 ac_status=$?
39979 grep -v '^ *+' conftest.er1 >conftest.err
39980 rm -f conftest.er1
39981 cat conftest.err >&5
39982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39983 (exit $ac_status); } &&
39984 { ac_try='test -z "$ac_c_werror_flag"
39985 || test ! -s conftest.err'
39986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39987 (eval $ac_try) 2>&5
39988 ac_status=$?
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); }; } &&
39991 { ac_try='test -s conftest$ac_exeext'
39992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39993 (eval $ac_try) 2>&5
39994 ac_status=$?
39995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39996 (exit $ac_status); }; }; then
39997 ac_cv_lib_shl_load_dld=yes
39998 else
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40001
40002 ac_cv_lib_shl_load_dld=no
40003 fi
40004 rm -f conftest.err conftest.$ac_objext \
40005 conftest$ac_exeext conftest.$ac_ext
40006 LIBS=$ac_check_lib_save_LIBS
40007 fi
40008 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40009 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40010 if test $ac_cv_lib_shl_load_dld = yes; then
40011
40012 HAVE_SHL_FUNCS=1
40013 DL_LINK=" -ldld$DL_LINK"
40014
40015 fi
40016
40017
40018 fi
40019 done
40020
40021
40022 fi
40023
40024
40025 fi
40026 done
40027
40028
40029 if test "$HAVE_DL_FUNCS" = 1; then
40030
40031 for ac_func in dlerror
40032 do
40033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40034 echo "$as_me:$LINENO: checking for $ac_func" >&5
40035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40036 if eval "test \"\${$as_ac_var+set}\" = set"; then
40037 echo $ECHO_N "(cached) $ECHO_C" >&6
40038 else
40039 cat >conftest.$ac_ext <<_ACEOF
40040 /* confdefs.h. */
40041 _ACEOF
40042 cat confdefs.h >>conftest.$ac_ext
40043 cat >>conftest.$ac_ext <<_ACEOF
40044 /* end confdefs.h. */
40045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40047 #define $ac_func innocuous_$ac_func
40048
40049 /* System header to define __stub macros and hopefully few prototypes,
40050 which can conflict with char $ac_func (); below.
40051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40052 <limits.h> exists even on freestanding compilers. */
40053
40054 #ifdef __STDC__
40055 # include <limits.h>
40056 #else
40057 # include <assert.h>
40058 #endif
40059
40060 #undef $ac_func
40061
40062 /* Override any gcc2 internal prototype to avoid an error. */
40063 #ifdef __cplusplus
40064 extern "C"
40065 {
40066 #endif
40067 /* We use char because int might match the return type of a gcc2
40068 builtin and then its argument prototype would still apply. */
40069 char $ac_func ();
40070 /* The GNU C library defines this for functions which it implements
40071 to always fail with ENOSYS. Some functions are actually named
40072 something starting with __ and the normal name is an alias. */
40073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40074 choke me
40075 #else
40076 char (*f) () = $ac_func;
40077 #endif
40078 #ifdef __cplusplus
40079 }
40080 #endif
40081
40082 int
40083 main ()
40084 {
40085 return f != $ac_func;
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 rm -f conftest.$ac_objext conftest$ac_exeext
40091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40092 (eval $ac_link) 2>conftest.er1
40093 ac_status=$?
40094 grep -v '^ *+' conftest.er1 >conftest.err
40095 rm -f conftest.er1
40096 cat conftest.err >&5
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); } &&
40099 { ac_try='test -z "$ac_c_werror_flag"
40100 || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40103 ac_status=$?
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try='test -s conftest$ac_exeext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40109 ac_status=$?
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 eval "$as_ac_var=yes"
40113 else
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.$ac_ext >&5
40116
40117 eval "$as_ac_var=no"
40118 fi
40119 rm -f conftest.err conftest.$ac_objext \
40120 conftest$ac_exeext conftest.$ac_ext
40121 fi
40122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40124 if test `eval echo '${'$as_ac_var'}'` = yes; then
40125 cat >>confdefs.h <<_ACEOF
40126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40127 _ACEOF
40128 cat >>confdefs.h <<\_ACEOF
40129 #define HAVE_DLERROR 1
40130 _ACEOF
40131
40132 else
40133
40134 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40135 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40136 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40137 echo $ECHO_N "(cached) $ECHO_C" >&6
40138 else
40139 ac_check_lib_save_LIBS=$LIBS
40140 LIBS="-ldl $LIBS"
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147
40148 /* Override any gcc2 internal prototype to avoid an error. */
40149 #ifdef __cplusplus
40150 extern "C"
40151 #endif
40152 /* We use char because int might match the return type of a gcc2
40153 builtin and then its argument prototype would still apply. */
40154 char dlerror ();
40155 int
40156 main ()
40157 {
40158 dlerror ();
40159 ;
40160 return 0;
40161 }
40162 _ACEOF
40163 rm -f conftest.$ac_objext conftest$ac_exeext
40164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40165 (eval $ac_link) 2>conftest.er1
40166 ac_status=$?
40167 grep -v '^ *+' conftest.er1 >conftest.err
40168 rm -f conftest.er1
40169 cat conftest.err >&5
40170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40171 (exit $ac_status); } &&
40172 { ac_try='test -z "$ac_c_werror_flag"
40173 || test ! -s conftest.err'
40174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40175 (eval $ac_try) 2>&5
40176 ac_status=$?
40177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40178 (exit $ac_status); }; } &&
40179 { ac_try='test -s conftest$ac_exeext'
40180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40181 (eval $ac_try) 2>&5
40182 ac_status=$?
40183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40184 (exit $ac_status); }; }; then
40185 ac_cv_lib_dl_dlerror=yes
40186 else
40187 echo "$as_me: failed program was:" >&5
40188 sed 's/^/| /' conftest.$ac_ext >&5
40189
40190 ac_cv_lib_dl_dlerror=no
40191 fi
40192 rm -f conftest.err conftest.$ac_objext \
40193 conftest$ac_exeext conftest.$ac_ext
40194 LIBS=$ac_check_lib_save_LIBS
40195 fi
40196 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40197 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40198 if test $ac_cv_lib_dl_dlerror = yes; then
40199 cat >>confdefs.h <<\_ACEOF
40200 #define HAVE_DLERROR 1
40201 _ACEOF
40202
40203 fi
40204
40205
40206
40207 fi
40208 done
40209
40210 fi
40211 fi
40212
40213 if test "$HAVE_DL_FUNCS" = 0; then
40214 if test "$HAVE_SHL_FUNCS" = 0; then
40215 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40216 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40217 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40218 wxUSE_DYNAMIC_LOADER=no
40219 wxUSE_DYNLIB_CLASS=no
40220 else
40221 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40222 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40223 fi
40224 fi
40225 fi
40226 fi
40227 fi
40228
40229 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40230 cat >>confdefs.h <<\_ACEOF
40231 #define wxUSE_DYNAMIC_LOADER 1
40232 _ACEOF
40233
40234 fi
40235 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40236 cat >>confdefs.h <<\_ACEOF
40237 #define wxUSE_DYNLIB_CLASS 1
40238 _ACEOF
40239
40240 fi
40241
40242
40243
40244 if test "$wxUSE_PLUGINS" = "yes" ; then
40245 if test "$wxUSE_SHARED" = "no" ; then
40246 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40247 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40248 wxUSE_PLUGINS=no
40249 fi
40250 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40251 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40252 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40253 wxUSE_PLUGINS=no
40254 fi
40255 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40256 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40257 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40258 wxUSE_PLUGINS=no
40259 fi
40260 if test "$wxUSE_PLUGINS" = "yes" ; then
40261 cat >>confdefs.h <<\_ACEOF
40262 #define wxUSE_PLUGINS 1
40263 _ACEOF
40264
40265 fi
40266 fi
40267
40268
40269 if test "$wxUSE_STL" = "yes"; then
40270 cat >>confdefs.h <<\_ACEOF
40271 #define wxUSE_STL 1
40272 _ACEOF
40273
40274 fi
40275
40276 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40277 cat >>confdefs.h <<\_ACEOF
40278 #define wxUSE_APPLE_IEEE 1
40279 _ACEOF
40280
40281 fi
40282
40283 if test "$wxUSE_TIMER" = "yes"; then
40284 cat >>confdefs.h <<\_ACEOF
40285 #define wxUSE_TIMER 1
40286 _ACEOF
40287
40288 fi
40289
40290 if test "$USE_UNIX" = "1" ; then
40291 echo "$as_me:$LINENO: checking for ioctl() in sys/soundcard.h" >&5
40292 echo $ECHO_N "checking for ioctl() in sys/soundcard.h... $ECHO_C" >&6
40293 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40294 echo $ECHO_N "(cached) $ECHO_C" >&6
40295 else
40296
40297 cat >conftest.$ac_ext <<_ACEOF
40298 /* confdefs.h. */
40299 _ACEOF
40300 cat confdefs.h >>conftest.$ac_ext
40301 cat >>conftest.$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303
40304 #include <sys/soundcard.h>
40305
40306 int
40307 main ()
40308 {
40309
40310 ioctl(0, SNDCTL_DSP_SYNC, 0);
40311
40312 ;
40313 return 0;
40314 }
40315 _ACEOF
40316 rm -f conftest.$ac_objext conftest$ac_exeext
40317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40318 (eval $ac_link) 2>conftest.er1
40319 ac_status=$?
40320 grep -v '^ *+' conftest.er1 >conftest.err
40321 rm -f conftest.er1
40322 cat conftest.err >&5
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); } &&
40325 { ac_try='test -z "$ac_c_werror_flag"
40326 || test ! -s conftest.err'
40327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40328 (eval $ac_try) 2>&5
40329 ac_status=$?
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); }; } &&
40332 { ac_try='test -s conftest$ac_exeext'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40335 ac_status=$?
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; }; then
40338 ac_cv_header_sys_soundcard=yes
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40342
40343
40344 saveLibs="$LIBS"
40345 LIBS="$saveLibs -lossaudio"
40346 cat >conftest.$ac_ext <<_ACEOF
40347 /* confdefs.h. */
40348 _ACEOF
40349 cat confdefs.h >>conftest.$ac_ext
40350 cat >>conftest.$ac_ext <<_ACEOF
40351 /* end confdefs.h. */
40352
40353 #include <sys/soundcard.h>
40354
40355 int
40356 main ()
40357 {
40358
40359 ioctl(0, SNDCTL_DSP_SYNC, 0);
40360
40361 ;
40362 return 0;
40363 }
40364 _ACEOF
40365 rm -f conftest.$ac_objext conftest$ac_exeext
40366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40367 (eval $ac_link) 2>conftest.er1
40368 ac_status=$?
40369 grep -v '^ *+' conftest.er1 >conftest.err
40370 rm -f conftest.er1
40371 cat conftest.err >&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); } &&
40374 { ac_try='test -z "$ac_c_werror_flag"
40375 || test ! -s conftest.err'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40378 ac_status=$?
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; } &&
40381 { ac_try='test -s conftest$ac_exeext'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40384 ac_status=$?
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; }; then
40387 ac_cv_header_sys_soundcard=yes
40388 else
40389 echo "$as_me: failed program was:" >&5
40390 sed 's/^/| /' conftest.$ac_ext >&5
40391
40392
40393 LIBS="$saveLibs"
40394 ac_cv_header_sys_soundcard=no
40395
40396
40397 fi
40398 rm -f conftest.err conftest.$ac_objext \
40399 conftest$ac_exeext conftest.$ac_ext
40400
40401
40402 fi
40403 rm -f conftest.err conftest.$ac_objext \
40404 conftest$ac_exeext conftest.$ac_ext
40405
40406 fi
40407 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40408 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
40409
40410 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40411 cat >>confdefs.h <<\_ACEOF
40412 #define HAVE_SYS_SOUNDCARD_H 1
40413 _ACEOF
40414
40415 else
40416 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
40417 fi
40418 fi
40419 WITH_PLUGIN_SDL=0
40420 if test "$wxUSE_SOUND" = "yes"; then
40421 if test "$USE_UNIX" = "1" ; then
40422 if test "$wxUSE_LIBSDL" != "no"; then
40423
40424 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
40425 if test "${with_sdl_prefix+set}" = set; then
40426 withval="$with_sdl_prefix"
40427 sdl_prefix="$withval"
40428 else
40429 sdl_prefix=""
40430 fi;
40431
40432 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
40433 if test "${with_sdl_exec_prefix+set}" = set; then
40434 withval="$with_sdl_exec_prefix"
40435 sdl_exec_prefix="$withval"
40436 else
40437 sdl_exec_prefix=""
40438 fi;
40439 # Check whether --enable-sdltest or --disable-sdltest was given.
40440 if test "${enable_sdltest+set}" = set; then
40441 enableval="$enable_sdltest"
40442
40443 else
40444 enable_sdltest=yes
40445 fi;
40446
40447 if test x$sdl_exec_prefix != x ; then
40448 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40449 if test x${SDL_CONFIG+set} != xset ; then
40450 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40451 fi
40452 fi
40453 if test x$sdl_prefix != x ; then
40454 sdl_args="$sdl_args --prefix=$sdl_prefix"
40455 if test x${SDL_CONFIG+set} != xset ; then
40456 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40457 fi
40458 fi
40459
40460
40461 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40462 # Extract the first word of "sdl-config", so it can be a program name with args.
40463 set dummy sdl-config; ac_word=$2
40464 echo "$as_me:$LINENO: checking for $ac_word" >&5
40465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40466 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40467 echo $ECHO_N "(cached) $ECHO_C" >&6
40468 else
40469 case $SDL_CONFIG in
40470 [\\/]* | ?:[\\/]*)
40471 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40472 ;;
40473 *)
40474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40475 for as_dir in $PATH
40476 do
40477 IFS=$as_save_IFS
40478 test -z "$as_dir" && as_dir=.
40479 for ac_exec_ext in '' $ac_executable_extensions; do
40480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40481 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40483 break 2
40484 fi
40485 done
40486 done
40487
40488 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40489 ;;
40490 esac
40491 fi
40492 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40493
40494 if test -n "$SDL_CONFIG"; then
40495 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40496 echo "${ECHO_T}$SDL_CONFIG" >&6
40497 else
40498 echo "$as_me:$LINENO: result: no" >&5
40499 echo "${ECHO_T}no" >&6
40500 fi
40501
40502 min_sdl_version=1.2.0
40503 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40504 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
40505 no_sdl=""
40506 if test "$SDL_CONFIG" = "no" ; then
40507 no_sdl=yes
40508 else
40509 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40510 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40511
40512 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40514 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40516 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40518 if test "x$enable_sdltest" = "xyes" ; then
40519 ac_save_CFLAGS="$CFLAGS"
40520 ac_save_CXXFLAGS="$CXXFLAGS"
40521 ac_save_LIBS="$LIBS"
40522 CFLAGS="$CFLAGS $SDL_CFLAGS"
40523 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40524 LIBS="$LIBS $SDL_LIBS"
40525 rm -f conf.sdltest
40526 if test "$cross_compiling" = yes; then
40527 echo $ac_n "cross compiling; assumed OK... $ac_c"
40528 else
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535
40536 #include <stdio.h>
40537 #include <stdlib.h>
40538 #include <string.h>
40539 #include "SDL.h"
40540
40541 char*
40542 my_strdup (char *str)
40543 {
40544 char *new_str;
40545
40546 if (str)
40547 {
40548 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40549 strcpy (new_str, str);
40550 }
40551 else
40552 new_str = NULL;
40553
40554 return new_str;
40555 }
40556
40557 int main (int argc, char *argv[])
40558 {
40559 int major, minor, micro;
40560 char *tmp_version;
40561
40562 /* This hangs on some systems (?)
40563 system ("touch conf.sdltest");
40564 */
40565 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40566
40567 /* HP/UX 9 (%@#!) writes to sscanf strings */
40568 tmp_version = my_strdup("$min_sdl_version");
40569 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
40570 printf("%s, bad version string\n", "$min_sdl_version");
40571 exit(1);
40572 }
40573
40574 if (($sdl_major_version > major) ||
40575 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40576 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40577 {
40578 return 0;
40579 }
40580 else
40581 {
40582 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40583 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40584 printf("*** best to upgrade to the required version.\n");
40585 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40586 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40587 printf("*** config.cache before re-running configure\n");
40588 return 1;
40589 }
40590 }
40591
40592
40593 _ACEOF
40594 rm -f conftest$ac_exeext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40596 (eval $ac_link) 2>&5
40597 ac_status=$?
40598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601 (eval $ac_try) 2>&5
40602 ac_status=$?
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); }; }; then
40605 :
40606 else
40607 echo "$as_me: program exited with status $ac_status" >&5
40608 echo "$as_me: failed program was:" >&5
40609 sed 's/^/| /' conftest.$ac_ext >&5
40610
40611 ( exit $ac_status )
40612 no_sdl=yes
40613 fi
40614 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40615 fi
40616 CFLAGS="$ac_save_CFLAGS"
40617 CXXFLAGS="$ac_save_CXXFLAGS"
40618 LIBS="$ac_save_LIBS"
40619 fi
40620 fi
40621 if test "x$no_sdl" = x ; then
40622 echo "$as_me:$LINENO: result: yes" >&5
40623 echo "${ECHO_T}yes" >&6
40624
40625 EXTRALIBS_SDL="$SDL_LIBS"
40626 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
40627 cat >>confdefs.h <<\_ACEOF
40628 #define wxUSE_LIBSDL 1
40629 _ACEOF
40630
40631
40632 else
40633 echo "$as_me:$LINENO: result: no" >&5
40634 echo "${ECHO_T}no" >&6
40635 if test "$SDL_CONFIG" = "no" ; then
40636 echo "*** The sdl-config script installed by SDL could not be found"
40637 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40638 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40639 echo "*** full path to sdl-config."
40640 else
40641 if test -f conf.sdltest ; then
40642 :
40643 else
40644 echo "*** Could not run SDL test program, checking why..."
40645 CFLAGS="$CFLAGS $SDL_CFLAGS"
40646 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40647 LIBS="$LIBS $SDL_LIBS"
40648 cat >conftest.$ac_ext <<_ACEOF
40649 /* confdefs.h. */
40650 _ACEOF
40651 cat confdefs.h >>conftest.$ac_ext
40652 cat >>conftest.$ac_ext <<_ACEOF
40653 /* end confdefs.h. */
40654
40655 #include <stdio.h>
40656 #include "SDL.h"
40657
40658 int main(int argc, char *argv[])
40659 { return 0; }
40660 #undef main
40661 #define main K_and_R_C_main
40662
40663 int
40664 main ()
40665 {
40666 return 0;
40667 ;
40668 return 0;
40669 }
40670 _ACEOF
40671 rm -f conftest.$ac_objext conftest$ac_exeext
40672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40673 (eval $ac_link) 2>conftest.er1
40674 ac_status=$?
40675 grep -v '^ *+' conftest.er1 >conftest.err
40676 rm -f conftest.er1
40677 cat conftest.err >&5
40678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679 (exit $ac_status); } &&
40680 { ac_try='test -z "$ac_c_werror_flag"
40681 || test ! -s conftest.err'
40682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40683 (eval $ac_try) 2>&5
40684 ac_status=$?
40685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40686 (exit $ac_status); }; } &&
40687 { ac_try='test -s conftest$ac_exeext'
40688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40689 (eval $ac_try) 2>&5
40690 ac_status=$?
40691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40692 (exit $ac_status); }; }; then
40693 echo "*** The test program compiled, but did not run. This usually means"
40694 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40695 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40696 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40697 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40698 echo "*** is required on your system"
40699 echo "***"
40700 echo "*** If you have an old version installed, it is best to remove it, although"
40701 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40702 else
40703 echo "$as_me: failed program was:" >&5
40704 sed 's/^/| /' conftest.$ac_ext >&5
40705
40706 echo "*** The test program failed to compile or link. See the file config.log for the"
40707 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40708 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40709 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40710 fi
40711 rm -f conftest.err conftest.$ac_objext \
40712 conftest$ac_exeext conftest.$ac_ext
40713 CFLAGS="$ac_save_CFLAGS"
40714 CXXFLAGS="$ac_save_CXXFLAGS"
40715 LIBS="$ac_save_LIBS"
40716 fi
40717 fi
40718 SDL_CFLAGS=""
40719 SDL_LIBS=""
40720 wxUSE_LIBSDL="no"
40721 fi
40722
40723
40724 rm -f conf.sdltest
40725
40726 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
40727 WITH_PLUGIN_SDL=1
40728 fi
40729 fi
40730 fi
40731
40732 cat >>confdefs.h <<\_ACEOF
40733 #define wxUSE_SOUND 1
40734 _ACEOF
40735
40736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
40737 fi
40738
40739 if test "$WXGTK20" = 1; then
40740 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
40741 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
40742
40743
40744 succeeded=no
40745
40746 if test -z "$PKG_CONFIG"; then
40747 # Extract the first word of "pkg-config", so it can be a program name with args.
40748 set dummy pkg-config; ac_word=$2
40749 echo "$as_me:$LINENO: checking for $ac_word" >&5
40750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40751 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40752 echo $ECHO_N "(cached) $ECHO_C" >&6
40753 else
40754 case $PKG_CONFIG in
40755 [\\/]* | ?:[\\/]*)
40756 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40757 ;;
40758 *)
40759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40760 for as_dir in $PATH
40761 do
40762 IFS=$as_save_IFS
40763 test -z "$as_dir" && as_dir=.
40764 for ac_exec_ext in '' $ac_executable_extensions; do
40765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40766 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40768 break 2
40769 fi
40770 done
40771 done
40772
40773 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40774 ;;
40775 esac
40776 fi
40777 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40778
40779 if test -n "$PKG_CONFIG"; then
40780 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40781 echo "${ECHO_T}$PKG_CONFIG" >&6
40782 else
40783 echo "$as_me:$LINENO: result: no" >&5
40784 echo "${ECHO_T}no" >&6
40785 fi
40786
40787 fi
40788
40789 if test "$PKG_CONFIG" = "no" ; then
40790 echo "*** The pkg-config script could not be found. Make sure it is"
40791 echo "*** in your path, or set the PKG_CONFIG environment variable"
40792 echo "*** to the full path to pkg-config."
40793 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40794 else
40795 PKG_CONFIG_MIN_VERSION=0.9.0
40796 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40797 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
40798 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
40799
40800 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
40801 echo "$as_me:$LINENO: result: yes" >&5
40802 echo "${ECHO_T}yes" >&6
40803 succeeded=yes
40804
40805 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
40806 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
40807 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
40808 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
40809 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
40810
40811 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
40812 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
40813 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
40814 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
40815 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
40816 else
40817 LIBGNOMEPRINTUI_CFLAGS=""
40818 LIBGNOMEPRINTUI_LIBS=""
40819 ## If we have a custom action on failure, don't print errors, but
40820 ## do set a variable so people can do so.
40821 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
40822
40823 fi
40824
40825
40826
40827 else
40828 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40829 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40830 fi
40831 fi
40832
40833 if test $succeeded = yes; then
40834
40835 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
40836 cat >>confdefs.h <<\_ACEOF
40837 #define wxUSE_LIBGNOMEPRINT 1
40838 _ACEOF
40839
40840
40841 else
40842
40843 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
40844 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
40845 wxUSE_LIBGNOMEPRINT="no"
40846
40847
40848 fi
40849
40850 fi
40851 fi
40852 fi
40853
40854 if test "$WXGTK20" = 1; then
40855 if test "$wxUSE_LIBHILDON" = "yes" ; then
40856
40857 succeeded=no
40858
40859 if test -z "$PKG_CONFIG"; then
40860 # Extract the first word of "pkg-config", so it can be a program name with args.
40861 set dummy pkg-config; ac_word=$2
40862 echo "$as_me:$LINENO: checking for $ac_word" >&5
40863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40864 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
40865 echo $ECHO_N "(cached) $ECHO_C" >&6
40866 else
40867 case $PKG_CONFIG in
40868 [\\/]* | ?:[\\/]*)
40869 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
40870 ;;
40871 *)
40872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40873 for as_dir in $PATH
40874 do
40875 IFS=$as_save_IFS
40876 test -z "$as_dir" && as_dir=.
40877 for ac_exec_ext in '' $ac_executable_extensions; do
40878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40879 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40881 break 2
40882 fi
40883 done
40884 done
40885
40886 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
40887 ;;
40888 esac
40889 fi
40890 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
40891
40892 if test -n "$PKG_CONFIG"; then
40893 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
40894 echo "${ECHO_T}$PKG_CONFIG" >&6
40895 else
40896 echo "$as_me:$LINENO: result: no" >&5
40897 echo "${ECHO_T}no" >&6
40898 fi
40899
40900 fi
40901
40902 if test "$PKG_CONFIG" = "no" ; then
40903 echo "*** The pkg-config script could not be found. Make sure it is"
40904 echo "*** in your path, or set the PKG_CONFIG environment variable"
40905 echo "*** to the full path to pkg-config."
40906 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
40907 else
40908 PKG_CONFIG_MIN_VERSION=0.9.0
40909 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
40910 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
40911 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
40912
40913 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
40914 echo "$as_me:$LINENO: result: yes" >&5
40915 echo "${ECHO_T}yes" >&6
40916 succeeded=yes
40917
40918 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
40919 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
40920 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
40921 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
40922 echo "${ECHO_T}$HILDON_CFLAGS" >&6
40923
40924 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
40925 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
40926 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
40927 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
40928 echo "${ECHO_T}$HILDON_LIBS" >&6
40929 else
40930 HILDON_CFLAGS=""
40931 HILDON_LIBS=""
40932 ## If we have a custom action on failure, don't print errors, but
40933 ## do set a variable so people can do so.
40934 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
40935
40936 fi
40937
40938
40939
40940 else
40941 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
40942 echo "*** See http://www.freedesktop.org/software/pkgconfig"
40943 fi
40944 fi
40945
40946 if test $succeeded = yes; then
40947
40948 EXTRALIBS_HILDON="$HILDON_LIBS"
40949 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
40950 cat >>confdefs.h <<\_ACEOF
40951 #define wxUSE_LIBHILDON 1
40952 _ACEOF
40953
40954
40955 else
40956
40957 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
40958 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
40959 wxUSE_LIBHILDON="no"
40960
40961
40962 fi
40963
40964 fi
40965 fi
40966
40967 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
40968 cat >>confdefs.h <<\_ACEOF
40969 #define wxUSE_CMDLINE_PARSER 1
40970 _ACEOF
40971
40972 fi
40973
40974 if test "$wxUSE_STOPWATCH" = "yes"; then
40975 cat >>confdefs.h <<\_ACEOF
40976 #define wxUSE_STOPWATCH 1
40977 _ACEOF
40978
40979 fi
40980
40981 if test "$wxUSE_DATETIME" = "yes"; then
40982 cat >>confdefs.h <<\_ACEOF
40983 #define wxUSE_DATETIME 1
40984 _ACEOF
40985
40986 fi
40987
40988 if test "$wxUSE_FILE" = "yes"; then
40989 cat >>confdefs.h <<\_ACEOF
40990 #define wxUSE_FILE 1
40991 _ACEOF
40992
40993 fi
40994
40995 if test "$wxUSE_FFILE" = "yes"; then
40996 cat >>confdefs.h <<\_ACEOF
40997 #define wxUSE_FFILE 1
40998 _ACEOF
40999
41000 fi
41001
41002 if test "$wxUSE_FILESYSTEM" = "yes"; then
41003 cat >>confdefs.h <<\_ACEOF
41004 #define wxUSE_FILESYSTEM 1
41005 _ACEOF
41006
41007 fi
41008
41009 if test "$wxUSE_FS_ZIP" = "yes"; then
41010 cat >>confdefs.h <<\_ACEOF
41011 #define wxUSE_FS_ZIP 1
41012 _ACEOF
41013
41014 fi
41015
41016 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41017 cat >>confdefs.h <<\_ACEOF
41018 #define wxUSE_ARCHIVE_STREAMS 1
41019 _ACEOF
41020
41021 fi
41022
41023 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41024 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41025 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41026 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41027 elif test "$wxUSE_ZLIB" = "no"; then
41028 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41029 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41030 else
41031 cat >>confdefs.h <<\_ACEOF
41032 #define wxUSE_ZIPSTREAM 1
41033 _ACEOF
41034
41035 fi
41036 fi
41037
41038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41039 if test "$USE_UNIX" != 1; then
41040 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41041 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41042 wxUSE_ON_FATAL_EXCEPTION=no
41043 else
41044 cat >>confdefs.h <<\_ACEOF
41045 #define wxUSE_ON_FATAL_EXCEPTION 1
41046 _ACEOF
41047
41048 fi
41049 fi
41050
41051 if test "$wxUSE_STACKWALKER" = "yes"; then
41052 cat >>confdefs.h <<\_ACEOF
41053 #define wxUSE_STACKWALKER 1
41054 _ACEOF
41055
41056 fi
41057
41058 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41059 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41060 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41061 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41062 wxUSE_DEBUGREPORT=no
41063 else
41064 cat >>confdefs.h <<\_ACEOF
41065 #define wxUSE_DEBUGREPORT 1
41066 _ACEOF
41067
41068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41070 fi
41071 fi
41072 fi
41073
41074 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41075 cat >>confdefs.h <<\_ACEOF
41076 #define wxUSE_SNGLINST_CHECKER 1
41077 _ACEOF
41078
41079 fi
41080
41081 if test "$wxUSE_BUSYINFO" = "yes"; then
41082 cat >>confdefs.h <<\_ACEOF
41083 #define wxUSE_BUSYINFO 1
41084 _ACEOF
41085
41086 fi
41087
41088 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41089 cat >>confdefs.h <<\_ACEOF
41090 #define wxUSE_STD_IOSTREAM 1
41091 _ACEOF
41092
41093 fi
41094
41095 if test "$wxUSE_STD_STRING" = "yes"; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define wxUSE_STD_STRING 1
41098 _ACEOF
41099
41100 fi
41101
41102 if test "$wxUSE_STDPATHS" = "yes"; then
41103 cat >>confdefs.h <<\_ACEOF
41104 #define wxUSE_STDPATHS 1
41105 _ACEOF
41106
41107 fi
41108
41109 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41110 cat >>confdefs.h <<\_ACEOF
41111 #define wxUSE_TEXTBUFFER 1
41112 _ACEOF
41113
41114 fi
41115
41116 if test "$wxUSE_TEXTFILE" = "yes"; then
41117 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41118 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41119 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41120 else
41121 cat >>confdefs.h <<\_ACEOF
41122 #define wxUSE_TEXTFILE 1
41123 _ACEOF
41124
41125 fi
41126 fi
41127
41128 if test "$wxUSE_CONFIG" = "yes" ; then
41129 if test "$wxUSE_TEXTFILE" != "yes"; then
41130 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41131 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41132 else
41133 cat >>confdefs.h <<\_ACEOF
41134 #define wxUSE_CONFIG 1
41135 _ACEOF
41136
41137 cat >>confdefs.h <<\_ACEOF
41138 #define wxUSE_CONFIG_NATIVE 1
41139 _ACEOF
41140
41141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41142 fi
41143 fi
41144
41145 if test "$wxUSE_INTL" = "yes" ; then
41146 if test "$wxUSE_FILE" != "yes"; then
41147 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41148 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41149 else
41150 cat >>confdefs.h <<\_ACEOF
41151 #define wxUSE_INTL 1
41152 _ACEOF
41153
41154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41155 GUIDIST="$GUIDIST INTL_DIST"
41156 fi
41157 fi
41158
41159 if test "$wxUSE_LOG" = "yes"; then
41160 cat >>confdefs.h <<\_ACEOF
41161 #define wxUSE_LOG 1
41162 _ACEOF
41163
41164
41165 if test "$wxUSE_LOGGUI" = "yes"; then
41166 cat >>confdefs.h <<\_ACEOF
41167 #define wxUSE_LOGGUI 1
41168 _ACEOF
41169
41170 fi
41171
41172 if test "$wxUSE_LOGWINDOW" = "yes"; then
41173 cat >>confdefs.h <<\_ACEOF
41174 #define wxUSE_LOGWINDOW 1
41175 _ACEOF
41176
41177 fi
41178
41179 if test "$wxUSE_LOGDIALOG" = "yes"; then
41180 cat >>confdefs.h <<\_ACEOF
41181 #define wxUSE_LOG_DIALOG 1
41182 _ACEOF
41183
41184 fi
41185
41186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41187 fi
41188
41189 if test "$wxUSE_LONGLONG" = "yes"; then
41190 cat >>confdefs.h <<\_ACEOF
41191 #define wxUSE_LONGLONG 1
41192 _ACEOF
41193
41194 fi
41195
41196 if test "$wxUSE_GEOMETRY" = "yes"; then
41197 cat >>confdefs.h <<\_ACEOF
41198 #define wxUSE_GEOMETRY 1
41199 _ACEOF
41200
41201 fi
41202
41203 if test "$wxUSE_STREAMS" = "yes" ; then
41204 cat >>confdefs.h <<\_ACEOF
41205 #define wxUSE_STREAMS 1
41206 _ACEOF
41207
41208 fi
41209
41210
41211 if test "$wxUSE_DATETIME" = "yes"; then
41212
41213 for ac_func in strptime
41214 do
41215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41216 echo "$as_me:$LINENO: checking for $ac_func" >&5
41217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41218 if eval "test \"\${$as_ac_var+set}\" = set"; then
41219 echo $ECHO_N "(cached) $ECHO_C" >&6
41220 else
41221 cat >conftest.$ac_ext <<_ACEOF
41222 /* confdefs.h. */
41223 _ACEOF
41224 cat confdefs.h >>conftest.$ac_ext
41225 cat >>conftest.$ac_ext <<_ACEOF
41226 /* end confdefs.h. */
41227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41228 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41229 #define $ac_func innocuous_$ac_func
41230
41231 /* System header to define __stub macros and hopefully few prototypes,
41232 which can conflict with char $ac_func (); below.
41233 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41234 <limits.h> exists even on freestanding compilers. */
41235
41236 #ifdef __STDC__
41237 # include <limits.h>
41238 #else
41239 # include <assert.h>
41240 #endif
41241
41242 #undef $ac_func
41243
41244 /* Override any gcc2 internal prototype to avoid an error. */
41245 #ifdef __cplusplus
41246 extern "C"
41247 {
41248 #endif
41249 /* We use char because int might match the return type of a gcc2
41250 builtin and then its argument prototype would still apply. */
41251 char $ac_func ();
41252 /* The GNU C library defines this for functions which it implements
41253 to always fail with ENOSYS. Some functions are actually named
41254 something starting with __ and the normal name is an alias. */
41255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41256 choke me
41257 #else
41258 char (*f) () = $ac_func;
41259 #endif
41260 #ifdef __cplusplus
41261 }
41262 #endif
41263
41264 int
41265 main ()
41266 {
41267 return f != $ac_func;
41268 ;
41269 return 0;
41270 }
41271 _ACEOF
41272 rm -f conftest.$ac_objext conftest$ac_exeext
41273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41274 (eval $ac_link) 2>conftest.er1
41275 ac_status=$?
41276 grep -v '^ *+' conftest.er1 >conftest.err
41277 rm -f conftest.er1
41278 cat conftest.err >&5
41279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41280 (exit $ac_status); } &&
41281 { ac_try='test -z "$ac_c_werror_flag"
41282 || test ! -s conftest.err'
41283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41284 (eval $ac_try) 2>&5
41285 ac_status=$?
41286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41287 (exit $ac_status); }; } &&
41288 { ac_try='test -s conftest$ac_exeext'
41289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41290 (eval $ac_try) 2>&5
41291 ac_status=$?
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); }; }; then
41294 eval "$as_ac_var=yes"
41295 else
41296 echo "$as_me: failed program was:" >&5
41297 sed 's/^/| /' conftest.$ac_ext >&5
41298
41299 eval "$as_ac_var=no"
41300 fi
41301 rm -f conftest.err conftest.$ac_objext \
41302 conftest$ac_exeext conftest.$ac_ext
41303 fi
41304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41306 if test `eval echo '${'$as_ac_var'}'` = yes; then
41307 cat >>confdefs.h <<_ACEOF
41308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41309 _ACEOF
41310
41311 fi
41312 done
41313
41314 if test "$ac_cv_func_strptime" = "yes"; then
41315 echo "$as_me:$LINENO: checking for strptime declaration" >&5
41316 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
41317 if test "${wx_cv_func_strptime_decl+set}" = set; then
41318 echo $ECHO_N "(cached) $ECHO_C" >&6
41319 else
41320
41321
41322
41323 ac_ext=cc
41324 ac_cpp='$CXXCPP $CPPFLAGS'
41325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41328
41329 cat >conftest.$ac_ext <<_ACEOF
41330 /* confdefs.h. */
41331 _ACEOF
41332 cat confdefs.h >>conftest.$ac_ext
41333 cat >>conftest.$ac_ext <<_ACEOF
41334 /* end confdefs.h. */
41335
41336 #include <time.h>
41337
41338 int
41339 main ()
41340 {
41341
41342 struct tm t;
41343 strptime("foo", "bar", &t);
41344
41345 ;
41346 return 0;
41347 }
41348 _ACEOF
41349 rm -f conftest.$ac_objext
41350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41351 (eval $ac_compile) 2>conftest.er1
41352 ac_status=$?
41353 grep -v '^ *+' conftest.er1 >conftest.err
41354 rm -f conftest.er1
41355 cat conftest.err >&5
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); } &&
41358 { ac_try='test -z "$ac_cxx_werror_flag"
41359 || test ! -s conftest.err'
41360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41361 (eval $ac_try) 2>&5
41362 ac_status=$?
41363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41364 (exit $ac_status); }; } &&
41365 { ac_try='test -s conftest.$ac_objext'
41366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41367 (eval $ac_try) 2>&5
41368 ac_status=$?
41369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41370 (exit $ac_status); }; }; then
41371 wx_cv_func_strptime_decl=yes
41372 else
41373 echo "$as_me: failed program was:" >&5
41374 sed 's/^/| /' conftest.$ac_ext >&5
41375
41376 wx_cv_func_strptime_decl=no
41377
41378 fi
41379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41380 ac_ext=c
41381 ac_cpp='$CPP $CPPFLAGS'
41382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41385
41386
41387
41388 fi
41389 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
41390 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
41391 fi
41392 if test "$wx_cv_func_strptime_decl" = "yes"; then
41393 cat >>confdefs.h <<\_ACEOF
41394 #define HAVE_STRPTIME_DECL 1
41395 _ACEOF
41396
41397 fi
41398
41399 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
41400 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
41401 if test "${wx_cv_var_timezone+set}" = set; then
41402 echo $ECHO_N "(cached) $ECHO_C" >&6
41403 else
41404
41405 cat >conftest.$ac_ext <<_ACEOF
41406 /* confdefs.h. */
41407 _ACEOF
41408 cat confdefs.h >>conftest.$ac_ext
41409 cat >>conftest.$ac_ext <<_ACEOF
41410 /* end confdefs.h. */
41411
41412 #include <time.h>
41413
41414 int
41415 main ()
41416 {
41417
41418 int tz;
41419 tz = timezone;
41420
41421 ;
41422 return 0;
41423 }
41424 _ACEOF
41425 rm -f conftest.$ac_objext
41426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41427 (eval $ac_compile) 2>conftest.er1
41428 ac_status=$?
41429 grep -v '^ *+' conftest.er1 >conftest.err
41430 rm -f conftest.er1
41431 cat conftest.err >&5
41432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433 (exit $ac_status); } &&
41434 { ac_try='test -z "$ac_c_werror_flag"
41435 || test ! -s conftest.err'
41436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41437 (eval $ac_try) 2>&5
41438 ac_status=$?
41439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41440 (exit $ac_status); }; } &&
41441 { ac_try='test -s conftest.$ac_objext'
41442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41443 (eval $ac_try) 2>&5
41444 ac_status=$?
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; }; then
41447
41448 wx_cv_var_timezone=timezone
41449
41450 else
41451 echo "$as_me: failed program was:" >&5
41452 sed 's/^/| /' conftest.$ac_ext >&5
41453
41454
41455 cat >conftest.$ac_ext <<_ACEOF
41456 /* confdefs.h. */
41457 _ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41461
41462 #include <time.h>
41463
41464 int
41465 main ()
41466 {
41467
41468 int tz;
41469 tz = _timezone;
41470
41471 ;
41472 return 0;
41473 }
41474 _ACEOF
41475 rm -f conftest.$ac_objext
41476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41477 (eval $ac_compile) 2>conftest.er1
41478 ac_status=$?
41479 grep -v '^ *+' conftest.er1 >conftest.err
41480 rm -f conftest.er1
41481 cat conftest.err >&5
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); } &&
41484 { ac_try='test -z "$ac_c_werror_flag"
41485 || test ! -s conftest.err'
41486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41487 (eval $ac_try) 2>&5
41488 ac_status=$?
41489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41490 (exit $ac_status); }; } &&
41491 { ac_try='test -s conftest.$ac_objext'
41492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41493 (eval $ac_try) 2>&5
41494 ac_status=$?
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); }; }; then
41497
41498 wx_cv_var_timezone=_timezone
41499
41500 else
41501 echo "$as_me: failed program was:" >&5
41502 sed 's/^/| /' conftest.$ac_ext >&5
41503
41504
41505 cat >conftest.$ac_ext <<_ACEOF
41506 /* confdefs.h. */
41507 _ACEOF
41508 cat confdefs.h >>conftest.$ac_ext
41509 cat >>conftest.$ac_ext <<_ACEOF
41510 /* end confdefs.h. */
41511
41512 #include <time.h>
41513
41514 int
41515 main ()
41516 {
41517
41518 int tz;
41519 tz = __timezone;
41520
41521 ;
41522 return 0;
41523 }
41524 _ACEOF
41525 rm -f conftest.$ac_objext
41526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41527 (eval $ac_compile) 2>conftest.er1
41528 ac_status=$?
41529 grep -v '^ *+' conftest.er1 >conftest.err
41530 rm -f conftest.er1
41531 cat conftest.err >&5
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); } &&
41534 { ac_try='test -z "$ac_c_werror_flag"
41535 || test ! -s conftest.err'
41536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41537 (eval $ac_try) 2>&5
41538 ac_status=$?
41539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41540 (exit $ac_status); }; } &&
41541 { ac_try='test -s conftest.$ac_objext'
41542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41543 (eval $ac_try) 2>&5
41544 ac_status=$?
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); }; }; then
41547
41548 wx_cv_var_timezone=__timezone
41549
41550 else
41551 echo "$as_me: failed program was:" >&5
41552 sed 's/^/| /' conftest.$ac_ext >&5
41553
41554
41555 if test "$USE_DOS" = 0 ; then
41556 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
41557 echo "$as_me: WARNING: no timezone variable" >&2;}
41558 fi
41559
41560
41561 fi
41562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41563
41564
41565 fi
41566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41567
41568
41569 fi
41570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41571
41572
41573 fi
41574 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
41575 echo "${ECHO_T}$wx_cv_var_timezone" >&6
41576
41577 if test "x$wx_cv_var_timezone" != x ; then
41578 cat >>confdefs.h <<_ACEOF
41579 #define WX_TIMEZONE $wx_cv_var_timezone
41580 _ACEOF
41581
41582 fi
41583
41584
41585 for ac_func in localtime
41586 do
41587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41588 echo "$as_me:$LINENO: checking for $ac_func" >&5
41589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41590 if eval "test \"\${$as_ac_var+set}\" = set"; then
41591 echo $ECHO_N "(cached) $ECHO_C" >&6
41592 else
41593 cat >conftest.$ac_ext <<_ACEOF
41594 /* confdefs.h. */
41595 _ACEOF
41596 cat confdefs.h >>conftest.$ac_ext
41597 cat >>conftest.$ac_ext <<_ACEOF
41598 /* end confdefs.h. */
41599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41600 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41601 #define $ac_func innocuous_$ac_func
41602
41603 /* System header to define __stub macros and hopefully few prototypes,
41604 which can conflict with char $ac_func (); below.
41605 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41606 <limits.h> exists even on freestanding compilers. */
41607
41608 #ifdef __STDC__
41609 # include <limits.h>
41610 #else
41611 # include <assert.h>
41612 #endif
41613
41614 #undef $ac_func
41615
41616 /* Override any gcc2 internal prototype to avoid an error. */
41617 #ifdef __cplusplus
41618 extern "C"
41619 {
41620 #endif
41621 /* We use char because int might match the return type of a gcc2
41622 builtin and then its argument prototype would still apply. */
41623 char $ac_func ();
41624 /* The GNU C library defines this for functions which it implements
41625 to always fail with ENOSYS. Some functions are actually named
41626 something starting with __ and the normal name is an alias. */
41627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41628 choke me
41629 #else
41630 char (*f) () = $ac_func;
41631 #endif
41632 #ifdef __cplusplus
41633 }
41634 #endif
41635
41636 int
41637 main ()
41638 {
41639 return f != $ac_func;
41640 ;
41641 return 0;
41642 }
41643 _ACEOF
41644 rm -f conftest.$ac_objext conftest$ac_exeext
41645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41646 (eval $ac_link) 2>conftest.er1
41647 ac_status=$?
41648 grep -v '^ *+' conftest.er1 >conftest.err
41649 rm -f conftest.er1
41650 cat conftest.err >&5
41651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41652 (exit $ac_status); } &&
41653 { ac_try='test -z "$ac_c_werror_flag"
41654 || test ! -s conftest.err'
41655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41656 (eval $ac_try) 2>&5
41657 ac_status=$?
41658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41659 (exit $ac_status); }; } &&
41660 { ac_try='test -s conftest$ac_exeext'
41661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41662 (eval $ac_try) 2>&5
41663 ac_status=$?
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; }; then
41666 eval "$as_ac_var=yes"
41667 else
41668 echo "$as_me: failed program was:" >&5
41669 sed 's/^/| /' conftest.$ac_ext >&5
41670
41671 eval "$as_ac_var=no"
41672 fi
41673 rm -f conftest.err conftest.$ac_objext \
41674 conftest$ac_exeext conftest.$ac_ext
41675 fi
41676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41678 if test `eval echo '${'$as_ac_var'}'` = yes; then
41679 cat >>confdefs.h <<_ACEOF
41680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41681 _ACEOF
41682
41683 fi
41684 done
41685
41686
41687 if test "$ac_cv_func_localtime" = "yes"; then
41688 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
41689 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
41690 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
41691 echo $ECHO_N "(cached) $ECHO_C" >&6
41692 else
41693
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700
41701 #include <time.h>
41702
41703 int
41704 main ()
41705 {
41706
41707 struct tm tm;
41708 tm.tm_gmtoff++;
41709
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 rm -f conftest.$ac_objext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41716 (eval $ac_compile) 2>conftest.er1
41717 ac_status=$?
41718 grep -v '^ *+' conftest.er1 >conftest.err
41719 rm -f conftest.er1
41720 cat conftest.err >&5
41721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722 (exit $ac_status); } &&
41723 { ac_try='test -z "$ac_c_werror_flag"
41724 || test ! -s conftest.err'
41725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726 (eval $ac_try) 2>&5
41727 ac_status=$?
41728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729 (exit $ac_status); }; } &&
41730 { ac_try='test -s conftest.$ac_objext'
41731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732 (eval $ac_try) 2>&5
41733 ac_status=$?
41734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735 (exit $ac_status); }; }; then
41736
41737 wx_cv_struct_tm_has_gmtoff=yes
41738
41739 else
41740 echo "$as_me: failed program was:" >&5
41741 sed 's/^/| /' conftest.$ac_ext >&5
41742
41743 wx_cv_struct_tm_has_gmtoff=no
41744
41745 fi
41746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41747
41748 fi
41749 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
41750 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
41751 fi
41752
41753 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
41754 cat >>confdefs.h <<\_ACEOF
41755 #define WX_GMTOFF_IN_TM 1
41756 _ACEOF
41757
41758 fi
41759
41760
41761
41762 for ac_func in gettimeofday ftime
41763 do
41764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41765 echo "$as_me:$LINENO: checking for $ac_func" >&5
41766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41767 if eval "test \"\${$as_ac_var+set}\" = set"; then
41768 echo $ECHO_N "(cached) $ECHO_C" >&6
41769 else
41770 cat >conftest.$ac_ext <<_ACEOF
41771 /* confdefs.h. */
41772 _ACEOF
41773 cat confdefs.h >>conftest.$ac_ext
41774 cat >>conftest.$ac_ext <<_ACEOF
41775 /* end confdefs.h. */
41776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41778 #define $ac_func innocuous_$ac_func
41779
41780 /* System header to define __stub macros and hopefully few prototypes,
41781 which can conflict with char $ac_func (); below.
41782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41783 <limits.h> exists even on freestanding compilers. */
41784
41785 #ifdef __STDC__
41786 # include <limits.h>
41787 #else
41788 # include <assert.h>
41789 #endif
41790
41791 #undef $ac_func
41792
41793 /* Override any gcc2 internal prototype to avoid an error. */
41794 #ifdef __cplusplus
41795 extern "C"
41796 {
41797 #endif
41798 /* We use char because int might match the return type of a gcc2
41799 builtin and then its argument prototype would still apply. */
41800 char $ac_func ();
41801 /* The GNU C library defines this for functions which it implements
41802 to always fail with ENOSYS. Some functions are actually named
41803 something starting with __ and the normal name is an alias. */
41804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41805 choke me
41806 #else
41807 char (*f) () = $ac_func;
41808 #endif
41809 #ifdef __cplusplus
41810 }
41811 #endif
41812
41813 int
41814 main ()
41815 {
41816 return f != $ac_func;
41817 ;
41818 return 0;
41819 }
41820 _ACEOF
41821 rm -f conftest.$ac_objext conftest$ac_exeext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41823 (eval $ac_link) 2>conftest.er1
41824 ac_status=$?
41825 grep -v '^ *+' conftest.er1 >conftest.err
41826 rm -f conftest.er1
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_c_werror_flag"
41831 || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41834 ac_status=$?
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41840 ac_status=$?
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 eval "$as_ac_var=yes"
41844 else
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 eval "$as_ac_var=no"
41849 fi
41850 rm -f conftest.err conftest.$ac_objext \
41851 conftest$ac_exeext conftest.$ac_ext
41852 fi
41853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41855 if test `eval echo '${'$as_ac_var'}'` = yes; then
41856 cat >>confdefs.h <<_ACEOF
41857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41858 _ACEOF
41859 break
41860 fi
41861 done
41862
41863
41864 if test "$ac_cv_func_gettimeofday" = "yes"; then
41865 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
41866 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
41867 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
41868 echo $ECHO_N "(cached) $ECHO_C" >&6
41869 else
41870
41871
41872
41873 ac_ext=cc
41874 ac_cpp='$CXXCPP $CPPFLAGS'
41875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41878
41879
41880 cat >conftest.$ac_ext <<_ACEOF
41881 /* confdefs.h. */
41882 _ACEOF
41883 cat confdefs.h >>conftest.$ac_ext
41884 cat >>conftest.$ac_ext <<_ACEOF
41885 /* end confdefs.h. */
41886
41887 #include <sys/time.h>
41888 #include <unistd.h>
41889
41890 int
41891 main ()
41892 {
41893
41894 struct timeval tv;
41895 gettimeofday(&tv, NULL);
41896
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 rm -f conftest.$ac_objext
41902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41903 (eval $ac_compile) 2>conftest.er1
41904 ac_status=$?
41905 grep -v '^ *+' conftest.er1 >conftest.err
41906 rm -f conftest.er1
41907 cat conftest.err >&5
41908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909 (exit $ac_status); } &&
41910 { ac_try='test -z "$ac_cxx_werror_flag"
41911 || test ! -s conftest.err'
41912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41913 (eval $ac_try) 2>&5
41914 ac_status=$?
41915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916 (exit $ac_status); }; } &&
41917 { ac_try='test -s conftest.$ac_objext'
41918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41919 (eval $ac_try) 2>&5
41920 ac_status=$?
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); }; }; then
41923 wx_cv_func_gettimeofday_has_2_args=yes
41924 else
41925 echo "$as_me: failed program was:" >&5
41926 sed 's/^/| /' conftest.$ac_ext >&5
41927
41928 cat >conftest.$ac_ext <<_ACEOF
41929 /* confdefs.h. */
41930 _ACEOF
41931 cat confdefs.h >>conftest.$ac_ext
41932 cat >>conftest.$ac_ext <<_ACEOF
41933 /* end confdefs.h. */
41934
41935 #include <sys/time.h>
41936 #include <unistd.h>
41937
41938 int
41939 main ()
41940 {
41941
41942 struct timeval tv;
41943 gettimeofday(&tv);
41944
41945 ;
41946 return 0;
41947 }
41948 _ACEOF
41949 rm -f conftest.$ac_objext
41950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41951 (eval $ac_compile) 2>conftest.er1
41952 ac_status=$?
41953 grep -v '^ *+' conftest.er1 >conftest.err
41954 rm -f conftest.er1
41955 cat conftest.err >&5
41956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41957 (exit $ac_status); } &&
41958 { ac_try='test -z "$ac_cxx_werror_flag"
41959 || test ! -s conftest.err'
41960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41961 (eval $ac_try) 2>&5
41962 ac_status=$?
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); }; } &&
41965 { ac_try='test -s conftest.$ac_objext'
41966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41967 (eval $ac_try) 2>&5
41968 ac_status=$?
41969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970 (exit $ac_status); }; }; then
41971 wx_cv_func_gettimeofday_has_2_args=no
41972 else
41973 echo "$as_me: failed program was:" >&5
41974 sed 's/^/| /' conftest.$ac_ext >&5
41975
41976
41977 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
41978 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
41979 wx_cv_func_gettimeofday_has_2_args=unknown
41980
41981
41982 fi
41983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41984
41985 fi
41986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41987 ac_ext=c
41988 ac_cpp='$CPP $CPPFLAGS'
41989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41992
41993
41994 fi
41995 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
41996 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
41997
41998 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define WX_GETTIMEOFDAY_NO_TZ 1
42001 _ACEOF
42002
42003 fi
42004 fi
42005
42006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42007 fi
42008
42009
42010 if test "$wxUSE_SOCKETS" = "yes"; then
42011 if test "$wxUSE_MGL" = "1"; then
42012 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42013 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42014 wxUSE_SOCKETS="no"
42015 fi
42016 fi
42017
42018 if test "$wxUSE_SOCKETS" = "yes"; then
42019 if test "$TOOLKIT" != "MSW"; then
42020 echo "$as_me:$LINENO: checking for socket" >&5
42021 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42022 if test "${ac_cv_func_socket+set}" = set; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 else
42025 cat >conftest.$ac_ext <<_ACEOF
42026 /* confdefs.h. */
42027 _ACEOF
42028 cat confdefs.h >>conftest.$ac_ext
42029 cat >>conftest.$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42033 #define socket innocuous_socket
42034
42035 /* System header to define __stub macros and hopefully few prototypes,
42036 which can conflict with char socket (); below.
42037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42038 <limits.h> exists even on freestanding compilers. */
42039
42040 #ifdef __STDC__
42041 # include <limits.h>
42042 #else
42043 # include <assert.h>
42044 #endif
42045
42046 #undef socket
42047
42048 /* Override any gcc2 internal prototype to avoid an error. */
42049 #ifdef __cplusplus
42050 extern "C"
42051 {
42052 #endif
42053 /* We use char because int might match the return type of a gcc2
42054 builtin and then its argument prototype would still apply. */
42055 char socket ();
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined (__stub_socket) || defined (__stub___socket)
42060 choke me
42061 #else
42062 char (*f) () = socket;
42063 #endif
42064 #ifdef __cplusplus
42065 }
42066 #endif
42067
42068 int
42069 main ()
42070 {
42071 return f != socket;
42072 ;
42073 return 0;
42074 }
42075 _ACEOF
42076 rm -f conftest.$ac_objext conftest$ac_exeext
42077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42078 (eval $ac_link) 2>conftest.er1
42079 ac_status=$?
42080 grep -v '^ *+' conftest.er1 >conftest.err
42081 rm -f conftest.er1
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } &&
42085 { ac_try='test -z "$ac_c_werror_flag"
42086 || test ! -s conftest.err'
42087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42088 (eval $ac_try) 2>&5
42089 ac_status=$?
42090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42091 (exit $ac_status); }; } &&
42092 { ac_try='test -s conftest$ac_exeext'
42093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42094 (eval $ac_try) 2>&5
42095 ac_status=$?
42096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42097 (exit $ac_status); }; }; then
42098 ac_cv_func_socket=yes
42099 else
42100 echo "$as_me: failed program was:" >&5
42101 sed 's/^/| /' conftest.$ac_ext >&5
42102
42103 ac_cv_func_socket=no
42104 fi
42105 rm -f conftest.err conftest.$ac_objext \
42106 conftest$ac_exeext conftest.$ac_ext
42107 fi
42108 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42109 echo "${ECHO_T}$ac_cv_func_socket" >&6
42110 if test $ac_cv_func_socket = yes; then
42111 :
42112 else
42113
42114 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42115 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42116 if test "${ac_cv_lib_socket_socket+set}" = set; then
42117 echo $ECHO_N "(cached) $ECHO_C" >&6
42118 else
42119 ac_check_lib_save_LIBS=$LIBS
42120 LIBS="-lsocket $LIBS"
42121 cat >conftest.$ac_ext <<_ACEOF
42122 /* confdefs.h. */
42123 _ACEOF
42124 cat confdefs.h >>conftest.$ac_ext
42125 cat >>conftest.$ac_ext <<_ACEOF
42126 /* end confdefs.h. */
42127
42128 /* Override any gcc2 internal prototype to avoid an error. */
42129 #ifdef __cplusplus
42130 extern "C"
42131 #endif
42132 /* We use char because int might match the return type of a gcc2
42133 builtin and then its argument prototype would still apply. */
42134 char socket ();
42135 int
42136 main ()
42137 {
42138 socket ();
42139 ;
42140 return 0;
42141 }
42142 _ACEOF
42143 rm -f conftest.$ac_objext conftest$ac_exeext
42144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42145 (eval $ac_link) 2>conftest.er1
42146 ac_status=$?
42147 grep -v '^ *+' conftest.er1 >conftest.err
42148 rm -f conftest.er1
42149 cat conftest.err >&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } &&
42152 { ac_try='test -z "$ac_c_werror_flag"
42153 || test ! -s conftest.err'
42154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42155 (eval $ac_try) 2>&5
42156 ac_status=$?
42157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42158 (exit $ac_status); }; } &&
42159 { ac_try='test -s conftest$ac_exeext'
42160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42161 (eval $ac_try) 2>&5
42162 ac_status=$?
42163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42164 (exit $ac_status); }; }; then
42165 ac_cv_lib_socket_socket=yes
42166 else
42167 echo "$as_me: failed program was:" >&5
42168 sed 's/^/| /' conftest.$ac_ext >&5
42169
42170 ac_cv_lib_socket_socket=no
42171 fi
42172 rm -f conftest.err conftest.$ac_objext \
42173 conftest$ac_exeext conftest.$ac_ext
42174 LIBS=$ac_check_lib_save_LIBS
42175 fi
42176 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42177 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
42178 if test $ac_cv_lib_socket_socket = yes; then
42179 if test "$INET_LINK" != " -lsocket"; then
42180 INET_LINK="$INET_LINK -lsocket"
42181 fi
42182 else
42183
42184 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42185 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42186 wxUSE_SOCKETS=no
42187
42188
42189 fi
42190
42191
42192
42193 fi
42194
42195 fi
42196 fi
42197
42198 if test "$wxUSE_SOCKETS" = "yes" ; then
42199 if test "$TOOLKIT" != "MSW"; then
42200 ac_ext=cc
42201 ac_cpp='$CXXCPP $CPPFLAGS'
42202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42205
42206 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42207 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
42208 if test "${wx_cv_type_getsockname3+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42210 else
42211
42212 cat >conftest.$ac_ext <<_ACEOF
42213 /* confdefs.h. */
42214 _ACEOF
42215 cat confdefs.h >>conftest.$ac_ext
42216 cat >>conftest.$ac_ext <<_ACEOF
42217 /* end confdefs.h. */
42218
42219 #include <sys/types.h>
42220 #include <sys/socket.h>
42221
42222 int
42223 main ()
42224 {
42225
42226 socklen_t len;
42227 getsockname(0, 0, &len);
42228
42229 ;
42230 return 0;
42231 }
42232 _ACEOF
42233 rm -f conftest.$ac_objext
42234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42235 (eval $ac_compile) 2>conftest.er1
42236 ac_status=$?
42237 grep -v '^ *+' conftest.er1 >conftest.err
42238 rm -f conftest.er1
42239 cat conftest.err >&5
42240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42241 (exit $ac_status); } &&
42242 { ac_try='test -z "$ac_cxx_werror_flag"
42243 || test ! -s conftest.err'
42244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42245 (eval $ac_try) 2>&5
42246 ac_status=$?
42247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42248 (exit $ac_status); }; } &&
42249 { ac_try='test -s conftest.$ac_objext'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42252 ac_status=$?
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; }; then
42255 wx_cv_type_getsockname3=socklen_t
42256 else
42257 echo "$as_me: failed program was:" >&5
42258 sed 's/^/| /' conftest.$ac_ext >&5
42259
42260
42261 CXXFLAGS_OLD="$CXXFLAGS"
42262 if test "$GCC" = yes ; then
42263 CXXFLAGS="-Werror $CXXFLAGS"
42264 fi
42265
42266 cat >conftest.$ac_ext <<_ACEOF
42267 /* confdefs.h. */
42268 _ACEOF
42269 cat confdefs.h >>conftest.$ac_ext
42270 cat >>conftest.$ac_ext <<_ACEOF
42271 /* end confdefs.h. */
42272
42273 #include <sys/types.h>
42274 #include <sys/socket.h>
42275
42276 int
42277 main ()
42278 {
42279
42280 size_t len;
42281 getsockname(0, 0, &len);
42282
42283 ;
42284 return 0;
42285 }
42286 _ACEOF
42287 rm -f conftest.$ac_objext
42288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42289 (eval $ac_compile) 2>conftest.er1
42290 ac_status=$?
42291 grep -v '^ *+' conftest.er1 >conftest.err
42292 rm -f conftest.er1
42293 cat conftest.err >&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } &&
42296 { ac_try='test -z "$ac_cxx_werror_flag"
42297 || test ! -s conftest.err'
42298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42299 (eval $ac_try) 2>&5
42300 ac_status=$?
42301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42302 (exit $ac_status); }; } &&
42303 { ac_try='test -s conftest.$ac_objext'
42304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42305 (eval $ac_try) 2>&5
42306 ac_status=$?
42307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42308 (exit $ac_status); }; }; then
42309 wx_cv_type_getsockname3=size_t
42310 else
42311 echo "$as_me: failed program was:" >&5
42312 sed 's/^/| /' conftest.$ac_ext >&5
42313
42314 cat >conftest.$ac_ext <<_ACEOF
42315 /* confdefs.h. */
42316 _ACEOF
42317 cat confdefs.h >>conftest.$ac_ext
42318 cat >>conftest.$ac_ext <<_ACEOF
42319 /* end confdefs.h. */
42320
42321 #include <sys/types.h>
42322 #include <sys/socket.h>
42323
42324 int
42325 main ()
42326 {
42327
42328 int len;
42329 getsockname(0, 0, &len);
42330
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 rm -f conftest.$ac_objext
42336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42337 (eval $ac_compile) 2>conftest.er1
42338 ac_status=$?
42339 grep -v '^ *+' conftest.er1 >conftest.err
42340 rm -f conftest.er1
42341 cat conftest.err >&5
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); } &&
42344 { ac_try='test -z "$ac_cxx_werror_flag"
42345 || test ! -s conftest.err'
42346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42347 (eval $ac_try) 2>&5
42348 ac_status=$?
42349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42350 (exit $ac_status); }; } &&
42351 { ac_try='test -s conftest.$ac_objext'
42352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42353 (eval $ac_try) 2>&5
42354 ac_status=$?
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); }; }; then
42357 wx_cv_type_getsockname3=int
42358 else
42359 echo "$as_me: failed program was:" >&5
42360 sed 's/^/| /' conftest.$ac_ext >&5
42361
42362 wx_cv_type_getsockname3=unknown
42363
42364 fi
42365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42366
42367 fi
42368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42369
42370 CXXFLAGS="$CXXFLAGS_OLD"
42371
42372
42373 fi
42374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42375
42376 fi
42377 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42378 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
42379
42380 if test "$wx_cv_type_getsockname3" = "unknown"; then
42381 wxUSE_SOCKETS=no
42382 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42383 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42384 else
42385 cat >>confdefs.h <<_ACEOF
42386 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42387 _ACEOF
42388
42389 fi
42390 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42391 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
42392 if test "${wx_cv_type_getsockopt5+set}" = set; then
42393 echo $ECHO_N "(cached) $ECHO_C" >&6
42394 else
42395
42396 cat >conftest.$ac_ext <<_ACEOF
42397 /* confdefs.h. */
42398 _ACEOF
42399 cat confdefs.h >>conftest.$ac_ext
42400 cat >>conftest.$ac_ext <<_ACEOF
42401 /* end confdefs.h. */
42402
42403 #include <sys/types.h>
42404 #include <sys/socket.h>
42405
42406 int
42407 main ()
42408 {
42409
42410 socklen_t len;
42411 getsockopt(0, 0, 0, 0, &len);
42412
42413 ;
42414 return 0;
42415 }
42416 _ACEOF
42417 rm -f conftest.$ac_objext
42418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42419 (eval $ac_compile) 2>conftest.er1
42420 ac_status=$?
42421 grep -v '^ *+' conftest.er1 >conftest.err
42422 rm -f conftest.er1
42423 cat conftest.err >&5
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); } &&
42426 { ac_try='test -z "$ac_cxx_werror_flag"
42427 || test ! -s conftest.err'
42428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42429 (eval $ac_try) 2>&5
42430 ac_status=$?
42431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42432 (exit $ac_status); }; } &&
42433 { ac_try='test -s conftest.$ac_objext'
42434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42435 (eval $ac_try) 2>&5
42436 ac_status=$?
42437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42438 (exit $ac_status); }; }; then
42439 wx_cv_type_getsockopt5=socklen_t
42440 else
42441 echo "$as_me: failed program was:" >&5
42442 sed 's/^/| /' conftest.$ac_ext >&5
42443
42444
42445 CXXFLAGS_OLD="$CXXFLAGS"
42446 if test "$GCC" = yes ; then
42447 CXXFLAGS="-Werror $CXXFLAGS"
42448 fi
42449
42450 cat >conftest.$ac_ext <<_ACEOF
42451 /* confdefs.h. */
42452 _ACEOF
42453 cat confdefs.h >>conftest.$ac_ext
42454 cat >>conftest.$ac_ext <<_ACEOF
42455 /* end confdefs.h. */
42456
42457 #include <sys/types.h>
42458 #include <sys/socket.h>
42459
42460 int
42461 main ()
42462 {
42463
42464 size_t len;
42465 getsockopt(0, 0, 0, 0, &len);
42466
42467 ;
42468 return 0;
42469 }
42470 _ACEOF
42471 rm -f conftest.$ac_objext
42472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42473 (eval $ac_compile) 2>conftest.er1
42474 ac_status=$?
42475 grep -v '^ *+' conftest.er1 >conftest.err
42476 rm -f conftest.er1
42477 cat conftest.err >&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } &&
42480 { ac_try='test -z "$ac_cxx_werror_flag"
42481 || test ! -s conftest.err'
42482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42483 (eval $ac_try) 2>&5
42484 ac_status=$?
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); }; } &&
42487 { ac_try='test -s conftest.$ac_objext'
42488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42489 (eval $ac_try) 2>&5
42490 ac_status=$?
42491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42492 (exit $ac_status); }; }; then
42493 wx_cv_type_getsockopt5=size_t
42494 else
42495 echo "$as_me: failed program was:" >&5
42496 sed 's/^/| /' conftest.$ac_ext >&5
42497
42498 cat >conftest.$ac_ext <<_ACEOF
42499 /* confdefs.h. */
42500 _ACEOF
42501 cat confdefs.h >>conftest.$ac_ext
42502 cat >>conftest.$ac_ext <<_ACEOF
42503 /* end confdefs.h. */
42504
42505 #include <sys/types.h>
42506 #include <sys/socket.h>
42507
42508 int
42509 main ()
42510 {
42511
42512 int len;
42513 getsockopt(0, 0, 0, 0, &len);
42514
42515 ;
42516 return 0;
42517 }
42518 _ACEOF
42519 rm -f conftest.$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521 (eval $ac_compile) 2>conftest.er1
42522 ac_status=$?
42523 grep -v '^ *+' conftest.er1 >conftest.err
42524 rm -f conftest.er1
42525 cat conftest.err >&5
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); } &&
42528 { ac_try='test -z "$ac_cxx_werror_flag"
42529 || test ! -s conftest.err'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42532 ac_status=$?
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; } &&
42535 { ac_try='test -s conftest.$ac_objext'
42536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537 (eval $ac_try) 2>&5
42538 ac_status=$?
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); }; }; then
42541 wx_cv_type_getsockopt5=int
42542 else
42543 echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42545
42546 wx_cv_type_getsockopt5=unknown
42547
42548 fi
42549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42550
42551 fi
42552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42553
42554 CXXFLAGS="$CXXFLAGS_OLD"
42555
42556
42557 fi
42558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42559
42560 fi
42561 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
42562 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
42563
42564 if test "$wx_cv_type_getsockopt5" = "unknown"; then
42565 wxUSE_SOCKETS=no
42566 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42567 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42568 else
42569 cat >>confdefs.h <<_ACEOF
42570 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
42571 _ACEOF
42572
42573 fi
42574 ac_ext=c
42575 ac_cpp='$CPP $CPPFLAGS'
42576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42579
42580 fi
42581 fi
42582
42583 if test "$wxUSE_SOCKETS" = "yes" ; then
42584 cat >>confdefs.h <<\_ACEOF
42585 #define wxUSE_SOCKETS 1
42586 _ACEOF
42587
42588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
42589 fi
42590
42591 if test "$wxUSE_PROTOCOL" = "yes"; then
42592 if test "$wxUSE_SOCKETS" != "yes"; then
42593 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
42594 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
42595 wxUSE_PROTOCOL=no
42596 fi
42597 fi
42598
42599 if test "$wxUSE_PROTOCOL" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define wxUSE_PROTOCOL 1
42602 _ACEOF
42603
42604
42605 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
42606 cat >>confdefs.h <<\_ACEOF
42607 #define wxUSE_PROTOCOL_HTTP 1
42608 _ACEOF
42609
42610 fi
42611 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_PROTOCOL_FTP 1
42614 _ACEOF
42615
42616 fi
42617 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define wxUSE_PROTOCOL_FILE 1
42620 _ACEOF
42621
42622 fi
42623 else
42624 if test "$wxUSE_FS_INET" = "yes"; then
42625 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
42626 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
42627 wxUSE_FS_INET="no"
42628 fi
42629 fi
42630
42631 if test "$wxUSE_URL" = "yes"; then
42632 if test "$wxUSE_PROTOCOL" != "yes"; then
42633 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
42634 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
42635 wxUSE_URL=no
42636 fi
42637 if test "$wxUSE_URL" = "yes"; then
42638 cat >>confdefs.h <<\_ACEOF
42639 #define wxUSE_URL 1
42640 _ACEOF
42641
42642 fi
42643 fi
42644
42645 if test "$wxUSE_FS_INET" = "yes"; then
42646 cat >>confdefs.h <<\_ACEOF
42647 #define wxUSE_FS_INET 1
42648 _ACEOF
42649
42650 fi
42651
42652
42653 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
42654 wxUSE_JOYSTICK=no
42655
42656 if test "$TOOLKIT" = "MSW"; then
42657 wxUSE_JOYSTICK=yes
42658
42659 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
42660 if test "$USE_DARWIN" = 1; then
42661 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
42662 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
42663 ac_ext=cc
42664 ac_cpp='$CXXCPP $CPPFLAGS'
42665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42668
42669 cat >conftest.$ac_ext <<_ACEOF
42670 /* confdefs.h. */
42671 _ACEOF
42672 cat confdefs.h >>conftest.$ac_ext
42673 cat >>conftest.$ac_ext <<_ACEOF
42674 /* end confdefs.h. */
42675 #include <IOKit/hid/IOHIDLib.h>
42676 int
42677 main ()
42678 {
42679 IOHIDQueueInterface *qi = NULL;
42680 IOHIDCallbackFunction cb = NULL;
42681 qi->setEventCallout(NULL, cb, NULL, NULL);
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 rm -f conftest.$ac_objext
42687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42688 (eval $ac_compile) 2>conftest.er1
42689 ac_status=$?
42690 grep -v '^ *+' conftest.er1 >conftest.err
42691 rm -f conftest.er1
42692 cat conftest.err >&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } &&
42695 { ac_try='test -z "$ac_cxx_werror_flag"
42696 || test ! -s conftest.err'
42697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42698 (eval $ac_try) 2>&5
42699 ac_status=$?
42700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42701 (exit $ac_status); }; } &&
42702 { ac_try='test -s conftest.$ac_objext'
42703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42704 (eval $ac_try) 2>&5
42705 ac_status=$?
42706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42707 (exit $ac_status); }; }; then
42708 wxUSE_JOYSTICK=yes
42709
42710 else
42711 echo "$as_me: failed program was:" >&5
42712 sed 's/^/| /' conftest.$ac_ext >&5
42713
42714 fi
42715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42716 ac_ext=c
42717 ac_cpp='$CPP $CPPFLAGS'
42718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42721
42722 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
42723 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
42724 fi
42725
42726 else
42727
42728 for ac_header in linux/joystick.h
42729 do
42730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42732 echo "$as_me:$LINENO: checking for $ac_header" >&5
42733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42735 echo $ECHO_N "(cached) $ECHO_C" >&6
42736 fi
42737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42739 else
42740 # Is the header compilable?
42741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42743 cat >conftest.$ac_ext <<_ACEOF
42744 /* confdefs.h. */
42745 _ACEOF
42746 cat confdefs.h >>conftest.$ac_ext
42747 cat >>conftest.$ac_ext <<_ACEOF
42748 /* end confdefs.h. */
42749 $ac_includes_default
42750 #include <$ac_header>
42751 _ACEOF
42752 rm -f conftest.$ac_objext
42753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42754 (eval $ac_compile) 2>conftest.er1
42755 ac_status=$?
42756 grep -v '^ *+' conftest.er1 >conftest.err
42757 rm -f conftest.er1
42758 cat conftest.err >&5
42759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42760 (exit $ac_status); } &&
42761 { ac_try='test -z "$ac_c_werror_flag"
42762 || test ! -s conftest.err'
42763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42764 (eval $ac_try) 2>&5
42765 ac_status=$?
42766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42767 (exit $ac_status); }; } &&
42768 { ac_try='test -s conftest.$ac_objext'
42769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42770 (eval $ac_try) 2>&5
42771 ac_status=$?
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); }; }; then
42774 ac_header_compiler=yes
42775 else
42776 echo "$as_me: failed program was:" >&5
42777 sed 's/^/| /' conftest.$ac_ext >&5
42778
42779 ac_header_compiler=no
42780 fi
42781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42783 echo "${ECHO_T}$ac_header_compiler" >&6
42784
42785 # Is the header present?
42786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42788 cat >conftest.$ac_ext <<_ACEOF
42789 /* confdefs.h. */
42790 _ACEOF
42791 cat confdefs.h >>conftest.$ac_ext
42792 cat >>conftest.$ac_ext <<_ACEOF
42793 /* end confdefs.h. */
42794 #include <$ac_header>
42795 _ACEOF
42796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42798 ac_status=$?
42799 grep -v '^ *+' conftest.er1 >conftest.err
42800 rm -f conftest.er1
42801 cat conftest.err >&5
42802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803 (exit $ac_status); } >/dev/null; then
42804 if test -s conftest.err; then
42805 ac_cpp_err=$ac_c_preproc_warn_flag
42806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42807 else
42808 ac_cpp_err=
42809 fi
42810 else
42811 ac_cpp_err=yes
42812 fi
42813 if test -z "$ac_cpp_err"; then
42814 ac_header_preproc=yes
42815 else
42816 echo "$as_me: failed program was:" >&5
42817 sed 's/^/| /' conftest.$ac_ext >&5
42818
42819 ac_header_preproc=no
42820 fi
42821 rm -f conftest.err conftest.$ac_ext
42822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42823 echo "${ECHO_T}$ac_header_preproc" >&6
42824
42825 # So? What about this header?
42826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42827 yes:no: )
42828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42832 ac_header_preproc=yes
42833 ;;
42834 no:yes:* )
42835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42847 (
42848 cat <<\_ASBOX
42849 ## ----------------------------------------- ##
42850 ## Report this to wx-dev@lists.wxwidgets.org ##
42851 ## ----------------------------------------- ##
42852 _ASBOX
42853 ) |
42854 sed "s/^/$as_me: WARNING: /" >&2
42855 ;;
42856 esac
42857 echo "$as_me:$LINENO: checking for $ac_header" >&5
42858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42860 echo $ECHO_N "(cached) $ECHO_C" >&6
42861 else
42862 eval "$as_ac_Header=\$ac_header_preproc"
42863 fi
42864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42866
42867 fi
42868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42869 cat >>confdefs.h <<_ACEOF
42870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42871 _ACEOF
42872 wxUSE_JOYSTICK=yes
42873 fi
42874
42875 done
42876
42877 fi
42878
42879 if test "$wxUSE_JOYSTICK" = "yes"; then
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_JOYSTICK 1
42882 _ACEOF
42883
42884 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
42885 else
42886 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
42887 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
42888 fi
42889 fi
42890
42891
42892
42893 if test "$wxUSE_FONTMAP" = "yes" ; then
42894 cat >>confdefs.h <<\_ACEOF
42895 #define wxUSE_FONTMAP 1
42896 _ACEOF
42897
42898 fi
42899
42900 if test "$wxUSE_UNICODE" = "yes" ; then
42901 cat >>confdefs.h <<\_ACEOF
42902 #define wxUSE_UNICODE 1
42903 _ACEOF
42904
42905
42906 if test "$USE_WIN32" != 1; then
42907 wxUSE_UNICODE_MSLU=no
42908 fi
42909
42910 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
42911 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
42912 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
42913 if test "${ac_cv_lib_unicows_main+set}" = set; then
42914 echo $ECHO_N "(cached) $ECHO_C" >&6
42915 else
42916 ac_check_lib_save_LIBS=$LIBS
42917 LIBS="-lunicows $LIBS"
42918 cat >conftest.$ac_ext <<_ACEOF
42919 /* confdefs.h. */
42920 _ACEOF
42921 cat confdefs.h >>conftest.$ac_ext
42922 cat >>conftest.$ac_ext <<_ACEOF
42923 /* end confdefs.h. */
42924
42925
42926 int
42927 main ()
42928 {
42929 main ();
42930 ;
42931 return 0;
42932 }
42933 _ACEOF
42934 rm -f conftest.$ac_objext conftest$ac_exeext
42935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42936 (eval $ac_link) 2>conftest.er1
42937 ac_status=$?
42938 grep -v '^ *+' conftest.er1 >conftest.err
42939 rm -f conftest.er1
42940 cat conftest.err >&5
42941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942 (exit $ac_status); } &&
42943 { ac_try='test -z "$ac_c_werror_flag"
42944 || test ! -s conftest.err'
42945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42946 (eval $ac_try) 2>&5
42947 ac_status=$?
42948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42949 (exit $ac_status); }; } &&
42950 { ac_try='test -s conftest$ac_exeext'
42951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42952 (eval $ac_try) 2>&5
42953 ac_status=$?
42954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42955 (exit $ac_status); }; }; then
42956 ac_cv_lib_unicows_main=yes
42957 else
42958 echo "$as_me: failed program was:" >&5
42959 sed 's/^/| /' conftest.$ac_ext >&5
42960
42961 ac_cv_lib_unicows_main=no
42962 fi
42963 rm -f conftest.err conftest.$ac_objext \
42964 conftest$ac_exeext conftest.$ac_ext
42965 LIBS=$ac_check_lib_save_LIBS
42966 fi
42967 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
42968 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
42969 if test $ac_cv_lib_unicows_main = yes; then
42970
42971 cat >>confdefs.h <<\_ACEOF
42972 #define wxUSE_UNICODE_MSLU 1
42973 _ACEOF
42974
42975
42976 else
42977
42978 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42979 Applications will only run on Windows NT/2000/XP!" >&5
42980 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
42981 Applications will only run on Windows NT/2000/XP!" >&2;}
42982 wxUSE_UNICODE_MSLU=no
42983
42984 fi
42985
42986 fi
42987 fi
42988
42989 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
42990 cat >>confdefs.h <<\_ACEOF
42991 #define wxUSE_EXPERIMENTAL_PRINTF 1
42992 _ACEOF
42993
42994 fi
42995
42996
42997 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
42998 cat >>confdefs.h <<\_ACEOF
42999 #define wxUSE_POSTSCRIPT 1
43000 _ACEOF
43001
43002 fi
43003
43004 cat >>confdefs.h <<\_ACEOF
43005 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43006 _ACEOF
43007
43008
43009 cat >>confdefs.h <<\_ACEOF
43010 #define wxUSE_NORMALIZED_PS_FONTS 1
43011 _ACEOF
43012
43013
43014
43015 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43016 cat >>confdefs.h <<\_ACEOF
43017 #define wxUSE_CONSTRAINTS 1
43018 _ACEOF
43019
43020 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43021 fi
43022
43023 if test "$wxUSE_MDI" = "yes"; then
43024 cat >>confdefs.h <<\_ACEOF
43025 #define wxUSE_MDI 1
43026 _ACEOF
43027
43028
43029 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43030 cat >>confdefs.h <<\_ACEOF
43031 #define wxUSE_MDI_ARCHITECTURE 1
43032 _ACEOF
43033
43034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43035 fi
43036 fi
43037
43038 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43039 cat >>confdefs.h <<\_ACEOF
43040 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43041 _ACEOF
43042
43043 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43044 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43046 fi
43047 fi
43048
43049 if test "$wxUSE_HELP" = "yes"; then
43050 cat >>confdefs.h <<\_ACEOF
43051 #define wxUSE_HELP 1
43052 _ACEOF
43053
43054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43055
43056 if test "$wxUSE_MSW" = 1; then
43057 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43058 cat >>confdefs.h <<\_ACEOF
43059 #define wxUSE_MS_HTML_HELP 1
43060 _ACEOF
43061
43062 fi
43063 fi
43064
43065 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43066 if test "$wxUSE_HTML" = "yes"; then
43067 cat >>confdefs.h <<\_ACEOF
43068 #define wxUSE_WXHTML_HELP 1
43069 _ACEOF
43070
43071 else
43072 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43073 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43074 wxUSE_WXHTML_HELP=no
43075 fi
43076 fi
43077 fi
43078
43079 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43080 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43081 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43082 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43083 else
43084 cat >>confdefs.h <<\_ACEOF
43085 #define wxUSE_PRINTING_ARCHITECTURE 1
43086 _ACEOF
43087
43088 fi
43089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43090 fi
43091
43092 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43093 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43094 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43095 { (exit 1); exit 1; }; }
43096 fi
43097
43098
43099 if test "$wxUSE_METAFILE" = "yes"; then
43100 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43101 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43102 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43103 wxUSE_METAFILE=no
43104 fi
43105 fi
43106
43107
43108 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43109 -o "$wxUSE_CLIPBOARD" = "yes" \
43110 -o "$wxUSE_OLE" = "yes" \
43111 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43112
43113 for ac_header in ole2.h
43114 do
43115 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43117 echo "$as_me:$LINENO: checking for $ac_header" >&5
43118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43119 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 fi
43122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43124 else
43125 # Is the header compilable?
43126 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43128 cat >conftest.$ac_ext <<_ACEOF
43129 /* confdefs.h. */
43130 _ACEOF
43131 cat confdefs.h >>conftest.$ac_ext
43132 cat >>conftest.$ac_ext <<_ACEOF
43133 /* end confdefs.h. */
43134 $ac_includes_default
43135 #include <$ac_header>
43136 _ACEOF
43137 rm -f conftest.$ac_objext
43138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43139 (eval $ac_compile) 2>conftest.er1
43140 ac_status=$?
43141 grep -v '^ *+' conftest.er1 >conftest.err
43142 rm -f conftest.er1
43143 cat conftest.err >&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } &&
43146 { ac_try='test -z "$ac_c_werror_flag"
43147 || test ! -s conftest.err'
43148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43149 (eval $ac_try) 2>&5
43150 ac_status=$?
43151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43152 (exit $ac_status); }; } &&
43153 { ac_try='test -s conftest.$ac_objext'
43154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43155 (eval $ac_try) 2>&5
43156 ac_status=$?
43157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43158 (exit $ac_status); }; }; then
43159 ac_header_compiler=yes
43160 else
43161 echo "$as_me: failed program was:" >&5
43162 sed 's/^/| /' conftest.$ac_ext >&5
43163
43164 ac_header_compiler=no
43165 fi
43166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43168 echo "${ECHO_T}$ac_header_compiler" >&6
43169
43170 # Is the header present?
43171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43173 cat >conftest.$ac_ext <<_ACEOF
43174 /* confdefs.h. */
43175 _ACEOF
43176 cat confdefs.h >>conftest.$ac_ext
43177 cat >>conftest.$ac_ext <<_ACEOF
43178 /* end confdefs.h. */
43179 #include <$ac_header>
43180 _ACEOF
43181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43183 ac_status=$?
43184 grep -v '^ *+' conftest.er1 >conftest.err
43185 rm -f conftest.er1
43186 cat conftest.err >&5
43187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43188 (exit $ac_status); } >/dev/null; then
43189 if test -s conftest.err; then
43190 ac_cpp_err=$ac_c_preproc_warn_flag
43191 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43192 else
43193 ac_cpp_err=
43194 fi
43195 else
43196 ac_cpp_err=yes
43197 fi
43198 if test -z "$ac_cpp_err"; then
43199 ac_header_preproc=yes
43200 else
43201 echo "$as_me: failed program was:" >&5
43202 sed 's/^/| /' conftest.$ac_ext >&5
43203
43204 ac_header_preproc=no
43205 fi
43206 rm -f conftest.err conftest.$ac_ext
43207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43208 echo "${ECHO_T}$ac_header_preproc" >&6
43209
43210 # So? What about this header?
43211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43212 yes:no: )
43213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43217 ac_header_preproc=yes
43218 ;;
43219 no:yes:* )
43220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43232 (
43233 cat <<\_ASBOX
43234 ## ----------------------------------------- ##
43235 ## Report this to wx-dev@lists.wxwidgets.org ##
43236 ## ----------------------------------------- ##
43237 _ASBOX
43238 ) |
43239 sed "s/^/$as_me: WARNING: /" >&2
43240 ;;
43241 esac
43242 echo "$as_me:$LINENO: checking for $ac_header" >&5
43243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43245 echo $ECHO_N "(cached) $ECHO_C" >&6
43246 else
43247 eval "$as_ac_Header=\$ac_header_preproc"
43248 fi
43249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43251
43252 fi
43253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43254 cat >>confdefs.h <<_ACEOF
43255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43256 _ACEOF
43257
43258 fi
43259
43260 done
43261
43262
43263 if test "$ac_cv_header_ole2_h" = "yes" ; then
43264 if test "$GCC" = yes ; then
43265
43266
43267 ac_ext=cc
43268 ac_cpp='$CXXCPP $CPPFLAGS'
43269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272
43273
43274 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43275 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
43276 cat >conftest.$ac_ext <<_ACEOF
43277 /* confdefs.h. */
43278 _ACEOF
43279 cat confdefs.h >>conftest.$ac_ext
43280 cat >>conftest.$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43282 #include <windows.h>
43283 #include <ole2.h>
43284 int
43285 main ()
43286 {
43287
43288 ;
43289 return 0;
43290 }
43291 _ACEOF
43292 rm -f conftest.$ac_objext
43293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43294 (eval $ac_compile) 2>conftest.er1
43295 ac_status=$?
43296 grep -v '^ *+' conftest.er1 >conftest.err
43297 rm -f conftest.er1
43298 cat conftest.err >&5
43299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43300 (exit $ac_status); } &&
43301 { ac_try='test -z "$ac_cxx_werror_flag"
43302 || test ! -s conftest.err'
43303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43304 (eval $ac_try) 2>&5
43305 ac_status=$?
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; } &&
43308 { ac_try='test -s conftest.$ac_objext'
43309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43310 (eval $ac_try) 2>&5
43311 ac_status=$?
43312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43313 (exit $ac_status); }; }; then
43314 echo "$as_me:$LINENO: result: no" >&5
43315 echo "${ECHO_T}no" >&6
43316 else
43317 echo "$as_me: failed program was:" >&5
43318 sed 's/^/| /' conftest.$ac_ext >&5
43319
43320 echo "$as_me:$LINENO: result: yes" >&5
43321 echo "${ECHO_T}yes" >&6
43322 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43323 fi
43324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43325 ac_ext=c
43326 ac_cpp='$CPP $CPPFLAGS'
43327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43330
43331 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43332 if test "$wxUSE_OLE" = "yes" ; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_OLE 1
43335 _ACEOF
43336
43337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43338 fi
43339 fi
43340
43341 if test "$wxUSE_DATAOBJ" = "yes" ; then
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxUSE_DATAOBJ 1
43344 _ACEOF
43345
43346 fi
43347 else
43348 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43349 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43350
43351 wxUSE_CLIPBOARD=no
43352 wxUSE_DRAG_AND_DROP=no
43353 wxUSE_DATAOBJ=no
43354 wxUSE_OLE=no
43355 fi
43356
43357 if test "$wxUSE_METAFILE" = "yes"; then
43358 cat >>confdefs.h <<\_ACEOF
43359 #define wxUSE_METAFILE 1
43360 _ACEOF
43361
43362
43363 cat >>confdefs.h <<\_ACEOF
43364 #define wxUSE_ENH_METAFILE 1
43365 _ACEOF
43366
43367 fi
43368 fi
43369
43370 if test "$wxUSE_IPC" = "yes"; then
43371 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43372 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43373 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43374 wxUSE_IPC=no
43375 fi
43376
43377 if test "$wxUSE_IPC" = "yes"; then
43378 cat >>confdefs.h <<\_ACEOF
43379 #define wxUSE_IPC 1
43380 _ACEOF
43381
43382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43383 fi
43384 fi
43385
43386 if test "$wxUSE_DATAOBJ" = "yes"; then
43387 if test "$wxUSE_MGL" = 1; then
43388 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
43389 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
43390 wxUSE_DATAOBJ=no
43391 else
43392 cat >>confdefs.h <<\_ACEOF
43393 #define wxUSE_DATAOBJ 1
43394 _ACEOF
43395
43396 fi
43397 else
43398 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43399 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43400 wxUSE_CLIPBOARD=no
43401 wxUSE_DRAG_AND_DROP=no
43402 fi
43403
43404 if test "$wxUSE_CLIPBOARD" = "yes"; then
43405 if test "$wxUSE_MGL" = 1; then
43406 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
43407 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
43408 wxUSE_CLIPBOARD=no
43409 fi
43410
43411 if test "$wxUSE_CLIPBOARD" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_CLIPBOARD 1
43414 _ACEOF
43415
43416 fi
43417 fi
43418
43419 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43420 if test "$wxUSE_GTK" = 1; then
43421 if test "$WXGTK12" != 1; then
43422 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43423 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43424 wxUSE_DRAG_AND_DROP=no
43425 fi
43426 fi
43427
43428 if test "$wxUSE_MOTIF" = 1; then
43429 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
43430 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
43431 wxUSE_DRAG_AND_DROP=no
43432 fi
43433
43434 if test "$wxUSE_X11" = 1; then
43435 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
43436 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
43437 wxUSE_DRAG_AND_DROP=no
43438 fi
43439
43440 if test "$wxUSE_MGL" = 1; then
43441 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
43442 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
43443 wxUSE_DRAG_AND_DROP=no
43444 fi
43445
43446 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43447 cat >>confdefs.h <<\_ACEOF
43448 #define wxUSE_DRAG_AND_DROP 1
43449 _ACEOF
43450
43451 fi
43452
43453 fi
43454
43455 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43457 fi
43458
43459 if test "$wxUSE_SPLINES" = "yes" ; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_SPLINES 1
43462 _ACEOF
43463
43464 fi
43465
43466 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define wxUSE_MOUSEWHEEL 1
43469 _ACEOF
43470
43471 fi
43472
43473
43474 USES_CONTROLS=0
43475 if test "$wxUSE_CONTROLS" = "yes"; then
43476 USES_CONTROLS=1
43477 fi
43478
43479 if test "$wxUSE_ACCEL" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_ACCEL 1
43482 _ACEOF
43483
43484 USES_CONTROLS=1
43485 fi
43486
43487 if test "$wxUSE_BUTTON" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_BUTTON 1
43490 _ACEOF
43491
43492 USES_CONTROLS=1
43493 fi
43494
43495 if test "$wxUSE_BMPBUTTON" = "yes"; then
43496 cat >>confdefs.h <<\_ACEOF
43497 #define wxUSE_BMPBUTTON 1
43498 _ACEOF
43499
43500 USES_CONTROLS=1
43501 fi
43502
43503 if test "$wxUSE_CALCTRL" = "yes"; then
43504 cat >>confdefs.h <<\_ACEOF
43505 #define wxUSE_CALENDARCTRL 1
43506 _ACEOF
43507
43508 USES_CONTROLS=1
43509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43510 fi
43511
43512 if test "$wxUSE_CARET" = "yes"; then
43513 cat >>confdefs.h <<\_ACEOF
43514 #define wxUSE_CARET 1
43515 _ACEOF
43516
43517 USES_CONTROLS=1
43518 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43519 fi
43520
43521 if test "$wxUSE_COMBOBOX" = "yes"; then
43522 cat >>confdefs.h <<\_ACEOF
43523 #define wxUSE_COMBOBOX 1
43524 _ACEOF
43525
43526 USES_CONTROLS=1
43527 fi
43528
43529 if test "$wxUSE_CHOICE" = "yes"; then
43530 cat >>confdefs.h <<\_ACEOF
43531 #define wxUSE_CHOICE 1
43532 _ACEOF
43533
43534 USES_CONTROLS=1
43535 fi
43536
43537 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_CHOICEBOOK 1
43540 _ACEOF
43541
43542 USES_CONTROLS=1
43543 fi
43544
43545 if test "$wxUSE_CHECKBOX" = "yes"; then
43546 cat >>confdefs.h <<\_ACEOF
43547 #define wxUSE_CHECKBOX 1
43548 _ACEOF
43549
43550 USES_CONTROLS=1
43551 fi
43552
43553 if test "$wxUSE_CHECKLST" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_CHECKLISTBOX 1
43556 _ACEOF
43557
43558 USES_CONTROLS=1
43559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43560 fi
43561
43562 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43563 cat >>confdefs.h <<\_ACEOF
43564 #define wxUSE_DATEPICKCTRL 1
43565 _ACEOF
43566
43567 USES_CONTROLS=1
43568 fi
43569
43570 if test "$wxUSE_DISPLAY" = "yes"; then
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_DISPLAY 1
43573 _ACEOF
43574
43575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43576 fi
43577
43578 if test "$wxUSE_GAUGE" = "yes"; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_GAUGE 1
43581 _ACEOF
43582
43583 USES_CONTROLS=1
43584 fi
43585
43586 if test "$wxUSE_GRID" = "yes"; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_GRID 1
43589 _ACEOF
43590
43591 USES_CONTROLS=1
43592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
43593 fi
43594
43595 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
43596 cat >>confdefs.h <<\_ACEOF
43597 #define wxUSE_DATAVIEWCTRL 1
43598 _ACEOF
43599
43600 USES_CONTROLS=1
43601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
43602 fi
43603
43604 if test "$wxUSE_IMAGLIST" = "yes"; then
43605 cat >>confdefs.h <<\_ACEOF
43606 #define wxUSE_IMAGLIST 1
43607 _ACEOF
43608
43609 fi
43610
43611 if test "$wxUSE_LISTBOOK" = "yes"; then
43612 cat >>confdefs.h <<\_ACEOF
43613 #define wxUSE_LISTBOOK 1
43614 _ACEOF
43615
43616 USES_CONTROLS=1
43617 fi
43618
43619 if test "$wxUSE_LISTBOX" = "yes"; then
43620 cat >>confdefs.h <<\_ACEOF
43621 #define wxUSE_LISTBOX 1
43622 _ACEOF
43623
43624 USES_CONTROLS=1
43625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
43626 fi
43627
43628 if test "$wxUSE_LISTCTRL" = "yes"; then
43629 if test "$wxUSE_IMAGLIST" = "yes"; then
43630 cat >>confdefs.h <<\_ACEOF
43631 #define wxUSE_LISTCTRL 1
43632 _ACEOF
43633
43634 USES_CONTROLS=1
43635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
43636 else
43637 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
43638 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
43639 fi
43640 fi
43641
43642 if test "$wxUSE_NOTEBOOK" = "yes"; then
43643 cat >>confdefs.h <<\_ACEOF
43644 #define wxUSE_NOTEBOOK 1
43645 _ACEOF
43646
43647 USES_CONTROLS=1
43648 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
43649 fi
43650
43651
43652 if test "$wxUSE_RADIOBOX" = "yes"; then
43653 cat >>confdefs.h <<\_ACEOF
43654 #define wxUSE_RADIOBOX 1
43655 _ACEOF
43656
43657 USES_CONTROLS=1
43658 fi
43659
43660 if test "$wxUSE_RADIOBTN" = "yes"; then
43661 cat >>confdefs.h <<\_ACEOF
43662 #define wxUSE_RADIOBTN 1
43663 _ACEOF
43664
43665 USES_CONTROLS=1
43666 fi
43667
43668 if test "$wxUSE_SASH" = "yes"; then
43669 cat >>confdefs.h <<\_ACEOF
43670 #define wxUSE_SASH 1
43671 _ACEOF
43672
43673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
43674 fi
43675
43676 if test "$wxUSE_SCROLLBAR" = "yes"; then
43677 cat >>confdefs.h <<\_ACEOF
43678 #define wxUSE_SCROLLBAR 1
43679 _ACEOF
43680
43681 USES_CONTROLS=1
43682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
43683 fi
43684
43685 if test "$wxUSE_SLIDER" = "yes"; then
43686 cat >>confdefs.h <<\_ACEOF
43687 #define wxUSE_SLIDER 1
43688 _ACEOF
43689
43690 USES_CONTROLS=1
43691 fi
43692
43693 if test "$wxUSE_SPINBTN" = "yes"; then
43694 cat >>confdefs.h <<\_ACEOF
43695 #define wxUSE_SPINBTN 1
43696 _ACEOF
43697
43698 USES_CONTROLS=1
43699 fi
43700
43701 if test "$wxUSE_SPINCTRL" = "yes"; then
43702 cat >>confdefs.h <<\_ACEOF
43703 #define wxUSE_SPINCTRL 1
43704 _ACEOF
43705
43706 USES_CONTROLS=1
43707 fi
43708
43709 if test "$wxUSE_SPLITTER" = "yes"; then
43710 cat >>confdefs.h <<\_ACEOF
43711 #define wxUSE_SPLITTER 1
43712 _ACEOF
43713
43714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
43715 fi
43716
43717 if test "$wxUSE_STATBMP" = "yes"; then
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_STATBMP 1
43720 _ACEOF
43721
43722 USES_CONTROLS=1
43723 fi
43724
43725 if test "$wxUSE_STATBOX" = "yes"; then
43726 cat >>confdefs.h <<\_ACEOF
43727 #define wxUSE_STATBOX 1
43728 _ACEOF
43729
43730 USES_CONTROLS=1
43731 fi
43732
43733 if test "$wxUSE_STATTEXT" = "yes"; then
43734 cat >>confdefs.h <<\_ACEOF
43735 #define wxUSE_STATTEXT 1
43736 _ACEOF
43737
43738 USES_CONTROLS=1
43739 fi
43740
43741 if test "$wxUSE_STATLINE" = "yes"; then
43742 cat >>confdefs.h <<\_ACEOF
43743 #define wxUSE_STATLINE 1
43744 _ACEOF
43745
43746 USES_CONTROLS=1
43747 fi
43748
43749 if test "$wxUSE_STATUSBAR" = "yes"; then
43750 cat >>confdefs.h <<\_ACEOF
43751 #define wxUSE_NATIVE_STATUSBAR 1
43752 _ACEOF
43753
43754 cat >>confdefs.h <<\_ACEOF
43755 #define wxUSE_STATUSBAR 1
43756 _ACEOF
43757
43758 USES_CONTROLS=1
43759
43760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
43761 fi
43762
43763 if test "$wxUSE_TABDIALOG" = "yes"; then
43764 cat >>confdefs.h <<\_ACEOF
43765 #define wxUSE_TAB_DIALOG 1
43766 _ACEOF
43767
43768 fi
43769
43770 if test "$wxUSE_TEXTCTRL" = "yes"; then
43771 cat >>confdefs.h <<\_ACEOF
43772 #define wxUSE_TEXTCTRL 1
43773 _ACEOF
43774
43775 USES_CONTROLS=1
43776 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
43777 fi
43778
43779 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43780 if test "$wxUSE_COCOA" = 1 ; then
43781 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
43782 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
43783 wxUSE_TOGGLEBTN=no
43784 fi
43785 if test "$wxUSE_UNIVERSAL" = "yes"; then
43786 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&5
43787 echo "$as_me: WARNING: Toggle button not yet supported under wxUniversal... disabled" >&2;}
43788 wxUSE_TOGGLEBTN=no
43789 fi
43790
43791 if test "$wxUSE_TOGGLEBTN" = "yes"; then
43792 cat >>confdefs.h <<\_ACEOF
43793 #define wxUSE_TOGGLEBTN 1
43794 _ACEOF
43795
43796 USES_CONTROLS=1
43797 fi
43798 fi
43799
43800 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
43801 cat >>confdefs.h <<\_ACEOF
43802 #define wxUSE_TOOLBAR_SIMPLE 1
43803 _ACEOF
43804
43805 wxUSE_TOOLBAR="yes"
43806 USES_CONTROLS=1
43807 fi
43808
43809 if test "$wxUSE_TOOLBAR" = "yes"; then
43810 cat >>confdefs.h <<\_ACEOF
43811 #define wxUSE_TOOLBAR 1
43812 _ACEOF
43813
43814 USES_CONTROLS=1
43815
43816 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
43817 wxUSE_TOOLBAR_NATIVE="yes"
43818 fi
43819
43820 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
43821 cat >>confdefs.h <<\_ACEOF
43822 #define wxUSE_TOOLBAR_NATIVE 1
43823 _ACEOF
43824
43825 USES_CONTROLS=1
43826 fi
43827
43828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
43829 fi
43830
43831 if test "$wxUSE_TOOLTIPS" = "yes"; then
43832 if test "$wxUSE_MOTIF" = 1; then
43833 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
43834 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
43835 else
43836 if test "$wxUSE_UNIVERSAL" = "yes"; then
43837 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
43838 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
43839 else
43840 cat >>confdefs.h <<\_ACEOF
43841 #define wxUSE_TOOLTIPS 1
43842 _ACEOF
43843
43844 fi
43845 fi
43846 fi
43847
43848 if test "$wxUSE_TREEBOOK" = "yes"; then
43849 cat >>confdefs.h <<\_ACEOF
43850 #define wxUSE_TREEBOOK 1
43851 _ACEOF
43852
43853 USES_CONTROLS=1
43854 fi
43855
43856 if test "$wxUSE_TREECTRL" = "yes"; then
43857 if test "$wxUSE_IMAGLIST" = "yes"; then
43858 cat >>confdefs.h <<\_ACEOF
43859 #define wxUSE_TREECTRL 1
43860 _ACEOF
43861
43862 USES_CONTROLS=1
43863 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
43864 else
43865 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
43866 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
43867 fi
43868 fi
43869
43870 if test "$wxUSE_POPUPWIN" = "yes"; then
43871 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43872 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
43873 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
43874 else
43875 if test "$wxUSE_PM" = 1; then
43876 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
43877 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
43878 else
43879 cat >>confdefs.h <<\_ACEOF
43880 #define wxUSE_POPUPWIN 1
43881 _ACEOF
43882
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
43884
43885 USES_CONTROLS=1
43886 fi
43887 fi
43888 fi
43889
43890 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
43891 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
43892 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
43893 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
43894 else
43895 cat >>confdefs.h <<\_ACEOF
43896 #define wxUSE_DIALUP_MANAGER 1
43897 _ACEOF
43898
43899 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
43900 fi
43901 fi
43902
43903 if test "$wxUSE_TIPWINDOW" = "yes"; then
43904 if test "$wxUSE_PM" = 1; then
43905 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
43906 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
43907 else
43908 cat >>confdefs.h <<\_ACEOF
43909 #define wxUSE_TIPWINDOW 1
43910 _ACEOF
43911
43912 fi
43913 fi
43914
43915 if test "$USES_CONTROLS" = 1; then
43916 cat >>confdefs.h <<\_ACEOF
43917 #define wxUSE_CONTROLS 1
43918 _ACEOF
43919
43920 fi
43921
43922
43923 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
43924 cat >>confdefs.h <<\_ACEOF
43925 #define wxUSE_ACCESSIBILITY 1
43926 _ACEOF
43927
43928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
43929 fi
43930
43931 if test "$wxUSE_DC_CACHEING" = "yes"; then
43932 cat >>confdefs.h <<\_ACEOF
43933 #define wxUSE_DC_CACHEING 1
43934 _ACEOF
43935
43936 fi
43937
43938 if test "$wxUSE_DRAGIMAGE" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_DRAGIMAGE 1
43941 _ACEOF
43942
43943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
43944 fi
43945
43946 if test "$wxUSE_EXCEPTIONS" = "yes"; then
43947 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43948 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
43949 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
43950 else
43951 cat >>confdefs.h <<\_ACEOF
43952 #define wxUSE_EXCEPTIONS 1
43953 _ACEOF
43954
43955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
43956 fi
43957 fi
43958
43959 USE_HTML=0
43960 if test "$wxUSE_HTML" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_HTML 1
43963 _ACEOF
43964
43965 USE_HTML=1
43966 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
43967 if test "$wxUSE_MAC" = 1; then
43968 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
43969 fi
43970 fi
43971 if test "$wxUSE_WEBKIT" = "yes"; then
43972 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
43973 old_CPPFLAGS="$CPPFLAGS"
43974 CPPFLAGS="-x objective-c++ $CPPFLAGS"
43975 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
43976 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
43977 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
43978 echo $ECHO_N "(cached) $ECHO_C" >&6
43979 else
43980 cat >conftest.$ac_ext <<_ACEOF
43981 /* confdefs.h. */
43982 _ACEOF
43983 cat confdefs.h >>conftest.$ac_ext
43984 cat >>conftest.$ac_ext <<_ACEOF
43985 /* end confdefs.h. */
43986 #include <Carbon/Carbon.h>
43987
43988 #include <WebKit/HIWebView.h>
43989 _ACEOF
43990 rm -f conftest.$ac_objext
43991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43992 (eval $ac_compile) 2>conftest.er1
43993 ac_status=$?
43994 grep -v '^ *+' conftest.er1 >conftest.err
43995 rm -f conftest.er1
43996 cat conftest.err >&5
43997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43998 (exit $ac_status); } &&
43999 { ac_try='test -z "$ac_c_werror_flag"
44000 || test ! -s conftest.err'
44001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44002 (eval $ac_try) 2>&5
44003 ac_status=$?
44004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44005 (exit $ac_status); }; } &&
44006 { ac_try='test -s conftest.$ac_objext'
44007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44008 (eval $ac_try) 2>&5
44009 ac_status=$?
44010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44011 (exit $ac_status); }; }; then
44012 ac_cv_header_WebKit_HIWebView_h=yes
44013 else
44014 echo "$as_me: failed program was:" >&5
44015 sed 's/^/| /' conftest.$ac_ext >&5
44016
44017 ac_cv_header_WebKit_HIWebView_h=no
44018 fi
44019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44020 fi
44021 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44022 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44023 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44024
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_WEBKIT 1
44027 _ACEOF
44028
44029 WEBKIT_LINK="-framework WebKit"
44030
44031 else
44032
44033 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44034 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44035 wxUSE_WEBKIT=no
44036
44037 fi
44038
44039
44040 CPPFLAGS="$old_CPPFLAGS"
44041 elif test "$wxUSE_COCOA" = 1; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_WEBKIT 1
44044 _ACEOF
44045
44046 else
44047 wxUSE_WEBKIT=no
44048 fi
44049 fi
44050
44051 USE_XRC=0
44052 if test "$wxUSE_XRC" = "yes"; then
44053 if test "$wxUSE_XML" != "yes"; then
44054 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44055 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44056 wxUSE_XRC=no
44057 else
44058 cat >>confdefs.h <<\_ACEOF
44059 #define wxUSE_XRC 1
44060 _ACEOF
44061
44062 USE_XRC=1
44063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44064 fi
44065 fi
44066
44067 if test "$wxUSE_MENUS" = "yes"; then
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_MENUS 1
44070 _ACEOF
44071
44072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44073 fi
44074
44075 if test "$wxUSE_METAFILE" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_METAFILE 1
44078 _ACEOF
44079
44080 fi
44081
44082 if test "$wxUSE_MIMETYPE" = "yes"; then
44083 cat >>confdefs.h <<\_ACEOF
44084 #define wxUSE_MIMETYPE 1
44085 _ACEOF
44086
44087 fi
44088
44089 if test "$wxUSE_MINIFRAME" = "yes"; then
44090 cat >>confdefs.h <<\_ACEOF
44091 #define wxUSE_MINIFRAME 1
44092 _ACEOF
44093
44094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44095 fi
44096
44097 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44098 cat >>confdefs.h <<\_ACEOF
44099 #define wxUSE_SYSTEM_OPTIONS 1
44100 _ACEOF
44101
44102 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44103 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44105 fi
44106 fi
44107
44108
44109 if test "$wxUSE_VALIDATORS" = "yes"; then
44110 cat >>confdefs.h <<\_ACEOF
44111 #define wxUSE_VALIDATORS 1
44112 _ACEOF
44113
44114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44115 fi
44116
44117 if test "$wxUSE_PALETTE" = "yes" ; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_PALETTE 1
44120 _ACEOF
44121
44122 fi
44123
44124 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44125 LIBS=" -lunicows $LIBS"
44126 fi
44127
44128 USE_RICHTEXT=0
44129 if test "$wxUSE_RICHTEXT" = "yes"; then
44130 cat >>confdefs.h <<\_ACEOF
44131 #define wxUSE_RICHTEXT 1
44132 _ACEOF
44133
44134 USE_RICHTEXT=1
44135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44136 fi
44137
44138
44139 if test "$wxUSE_IMAGE" = "yes" ; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define wxUSE_IMAGE 1
44142 _ACEOF
44143
44144
44145 if test "$wxUSE_GIF" = "yes" ; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_GIF 1
44148 _ACEOF
44149
44150 fi
44151
44152 if test "$wxUSE_PCX" = "yes" ; then
44153 cat >>confdefs.h <<\_ACEOF
44154 #define wxUSE_PCX 1
44155 _ACEOF
44156
44157 fi
44158
44159 if test "$wxUSE_IFF" = "yes" ; then
44160 cat >>confdefs.h <<\_ACEOF
44161 #define wxUSE_IFF 1
44162 _ACEOF
44163
44164 fi
44165
44166 if test "$wxUSE_PNM" = "yes" ; then
44167 cat >>confdefs.h <<\_ACEOF
44168 #define wxUSE_PNM 1
44169 _ACEOF
44170
44171 fi
44172
44173 if test "$wxUSE_XPM" = "yes" ; then
44174 cat >>confdefs.h <<\_ACEOF
44175 #define wxUSE_XPM 1
44176 _ACEOF
44177
44178 fi
44179
44180 if test "$wxUSE_ICO_CUR" = "yes" ; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_ICO_CUR 1
44183 _ACEOF
44184
44185 fi
44186 fi
44187
44188
44189 if test "$wxUSE_CHOICEDLG" = "yes"; then
44190 cat >>confdefs.h <<\_ACEOF
44191 #define wxUSE_CHOICEDLG 1
44192 _ACEOF
44193
44194 fi
44195
44196 if test "$wxUSE_COLOURDLG" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_COLOURDLG 1
44199 _ACEOF
44200
44201 fi
44202
44203 if test "$wxUSE_FILEDLG" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_FILEDLG 1
44206 _ACEOF
44207
44208 fi
44209
44210 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_FINDREPLDLG 1
44213 _ACEOF
44214
44215 fi
44216
44217 if test "$wxUSE_FONTDLG" = "yes"; then
44218 cat >>confdefs.h <<\_ACEOF
44219 #define wxUSE_FONTDLG 1
44220 _ACEOF
44221
44222 fi
44223
44224 if test "$wxUSE_DIRDLG" = "yes"; then
44225 if test "$wxUSE_TREECTRL" != "yes"; then
44226 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44227 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44228 else
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_DIRDLG 1
44231 _ACEOF
44232
44233 fi
44234 fi
44235
44236 if test "$wxUSE_MSGDLG" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_MSGDLG 1
44239 _ACEOF
44240
44241 fi
44242
44243 if test "$wxUSE_NUMBERDLG" = "yes"; then
44244 cat >>confdefs.h <<\_ACEOF
44245 #define wxUSE_NUMBERDLG 1
44246 _ACEOF
44247
44248 fi
44249
44250 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44251 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44252 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44253 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44254 else
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_PROGRESSDLG 1
44257 _ACEOF
44258
44259 fi
44260 fi
44261
44262 if test "$wxUSE_SPLASH" = "yes"; then
44263 cat >>confdefs.h <<\_ACEOF
44264 #define wxUSE_SPLASH 1
44265 _ACEOF
44266
44267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44268 fi
44269
44270 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44271 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44272 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44273 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44274 else
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_STARTUP_TIPS 1
44277 _ACEOF
44278
44279 fi
44280 fi
44281
44282 if test "$wxUSE_TEXTDLG" = "yes"; then
44283 cat >>confdefs.h <<\_ACEOF
44284 #define wxUSE_TEXTDLG 1
44285 _ACEOF
44286
44287 fi
44288
44289 if test "$wxUSE_WIZARDDLG" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_WIZARDDLG 1
44292 _ACEOF
44293
44294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44295 fi
44296
44297
44298 if test "$wxUSE_MEDIACTRL" = "yes"; then
44299 if test "$wxUSE_GTK" = 1; then
44300 wxUSE_GSTREAMER="yes"
44301
44302
44303 succeeded=no
44304
44305 if test -z "$PKG_CONFIG"; then
44306 # Extract the first word of "pkg-config", so it can be a program name with args.
44307 set dummy pkg-config; ac_word=$2
44308 echo "$as_me:$LINENO: checking for $ac_word" >&5
44309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44310 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 else
44313 case $PKG_CONFIG in
44314 [\\/]* | ?:[\\/]*)
44315 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44316 ;;
44317 *)
44318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44319 for as_dir in $PATH
44320 do
44321 IFS=$as_save_IFS
44322 test -z "$as_dir" && as_dir=.
44323 for ac_exec_ext in '' $ac_executable_extensions; do
44324 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44325 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44327 break 2
44328 fi
44329 done
44330 done
44331
44332 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
44333 ;;
44334 esac
44335 fi
44336 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44337
44338 if test -n "$PKG_CONFIG"; then
44339 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44340 echo "${ECHO_T}$PKG_CONFIG" >&6
44341 else
44342 echo "$as_me:$LINENO: result: no" >&5
44343 echo "${ECHO_T}no" >&6
44344 fi
44345
44346 fi
44347
44348 if test "$PKG_CONFIG" = "no" ; then
44349 echo "*** The pkg-config script could not be found. Make sure it is"
44350 echo "*** in your path, or set the PKG_CONFIG environment variable"
44351 echo "*** to the full path to pkg-config."
44352 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
44353 else
44354 PKG_CONFIG_MIN_VERSION=0.9.0
44355 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
44356 echo "$as_me:$LINENO: checking for gstreamer-0.8" >&5
44357 echo $ECHO_N "checking for gstreamer-0.8... $ECHO_C" >&6
44358
44359 if $PKG_CONFIG --exists "gstreamer-0.8" ; then
44360 echo "$as_me:$LINENO: result: yes" >&5
44361 echo "${ECHO_T}yes" >&6
44362 succeeded=yes
44363
44364 echo "$as_me:$LINENO: checking GSTREAMER_CFLAGS" >&5
44365 echo $ECHO_N "checking GSTREAMER_CFLAGS... $ECHO_C" >&6
44366 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.8"`
44367 echo "$as_me:$LINENO: result: $GSTREAMER_CFLAGS" >&5
44368 echo "${ECHO_T}$GSTREAMER_CFLAGS" >&6
44369
44370 echo "$as_me:$LINENO: checking GSTREAMER_LIBS" >&5
44371 echo $ECHO_N "checking GSTREAMER_LIBS... $ECHO_C" >&6
44372 GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.8"`
44373 echo "$as_me:$LINENO: result: $GSTREAMER_LIBS" >&5
44374 echo "${ECHO_T}$GSTREAMER_LIBS" >&6
44375 else
44376 GSTREAMER_CFLAGS=""
44377 GSTREAMER_LIBS=""
44378 ## If we have a custom action on failure, don't print errors, but
44379 ## do set a variable so people can do so.
44380 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-0.8"`
44381
44382 fi
44383
44384
44385
44386 else
44387 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
44388 echo "*** See http://www.freedesktop.org/software/pkgconfig"
44389 fi
44390 fi
44391
44392 if test $succeeded = yes; then
44393
44394 CPPFLAGS="$GSTREAMER_CFLAGS $CPPFLAGS"
44395 LIBS="$LIBS $GSTREAMER_LIBS -lgstplay-0.8"
44396
44397 else
44398
44399 { echo "$as_me:$LINENO: WARNING: GStreamer installation not found" >&5
44400 echo "$as_me: WARNING: GStreamer installation not found" >&2;}
44401 wxUSE_GSTREAMER="no"
44402
44403 fi
44404
44405
44406
44407
44408
44409 if test "x$GST_INSPECT" == "x"; then
44410 # Extract the first word of "gst-inspect", so it can be a program name with args.
44411 set dummy gst-inspect; ac_word=$2
44412 echo "$as_me:$LINENO: checking for $ac_word" >&5
44413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44414 if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
44415 echo $ECHO_N "(cached) $ECHO_C" >&6
44416 else
44417 if test -n "$GST_INSPECT"; then
44418 ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
44419 else
44420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44421 for as_dir in $PATH
44422 do
44423 IFS=$as_save_IFS
44424 test -z "$as_dir" && as_dir=.
44425 for ac_exec_ext in '' $ac_executable_extensions; do
44426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44427 ac_cv_prog_GST_INSPECT="gst-inspect"
44428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44429 break 2
44430 fi
44431 done
44432 done
44433
44434 fi
44435 fi
44436 GST_INSPECT=$ac_cv_prog_GST_INSPECT
44437 if test -n "$GST_INSPECT"; then
44438 echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
44439 echo "${ECHO_T}$GST_INSPECT" >&6
44440 else
44441 echo "$as_me:$LINENO: result: no" >&5
44442 echo "${ECHO_T}no" >&6
44443 fi
44444
44445 fi
44446
44447 if test "x$GST_INSPECT" != "x"; then
44448 echo "$as_me:$LINENO: checking GStreamer element xvimagesink" >&5
44449 echo $ECHO_N "checking GStreamer element xvimagesink... $ECHO_C" >&6
44450 if $GST_INSPECT xvimagesink > /dev/null 2> /dev/null ; then
44451 echo "$as_me:$LINENO: result: found." >&5
44452 echo "${ECHO_T}found." >&6
44453
44454 else
44455 echo "$as_me:$LINENO: result: not found." >&5
44456 echo "${ECHO_T}not found." >&6
44457
44458 wxUSE_GSTREAMER="no"
44459 { echo "$as_me:$LINENO: WARNING: x video sink not found - cannot use GStreamer" >&5
44460 echo "$as_me: WARNING: x video sink not found - cannot use GStreamer" >&2;}
44461
44462 fi
44463 fi
44464
44465
44466 echo "$as_me:$LINENO: checking for gst/xoverlay/xoverlay.h" >&5
44467 echo $ECHO_N "checking for gst/xoverlay/xoverlay.h... $ECHO_C" >&6
44468 if test "${ac_cv_header_gst_xoverlay_xoverlay_h+set}" = set; then
44469 echo $ECHO_N "(cached) $ECHO_C" >&6
44470 else
44471 cat >conftest.$ac_ext <<_ACEOF
44472 /* confdefs.h. */
44473 _ACEOF
44474 cat confdefs.h >>conftest.$ac_ext
44475 cat >>conftest.$ac_ext <<_ACEOF
44476 /* end confdefs.h. */
44477 #include <gst/gst.h>
44478
44479 #include <gst/xoverlay/xoverlay.h>
44480 _ACEOF
44481 rm -f conftest.$ac_objext
44482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44483 (eval $ac_compile) 2>conftest.er1
44484 ac_status=$?
44485 grep -v '^ *+' conftest.er1 >conftest.err
44486 rm -f conftest.er1
44487 cat conftest.err >&5
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); } &&
44490 { ac_try='test -z "$ac_c_werror_flag"
44491 || test ! -s conftest.err'
44492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44493 (eval $ac_try) 2>&5
44494 ac_status=$?
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); }; } &&
44497 { ac_try='test -s conftest.$ac_objext'
44498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44499 (eval $ac_try) 2>&5
44500 ac_status=$?
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; }; then
44503 ac_cv_header_gst_xoverlay_xoverlay_h=yes
44504 else
44505 echo "$as_me: failed program was:" >&5
44506 sed 's/^/| /' conftest.$ac_ext >&5
44507
44508 ac_cv_header_gst_xoverlay_xoverlay_h=no
44509 fi
44510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44511 fi
44512 echo "$as_me:$LINENO: result: $ac_cv_header_gst_xoverlay_xoverlay_h" >&5
44513 echo "${ECHO_T}$ac_cv_header_gst_xoverlay_xoverlay_h" >&6
44514 if test $ac_cv_header_gst_xoverlay_xoverlay_h = yes; then
44515 :
44516 else
44517
44518 wxUSE_GSTREAMER="no"
44519 { echo "$as_me:$LINENO: WARNING: xoverlay header not found, cannot use GStreamer" >&5
44520 echo "$as_me: WARNING: xoverlay header not found, cannot use GStreamer" >&2;}
44521
44522 fi
44523
44524
44525
44526 echo "$as_me:$LINENO: checking for gstplay 0.8" >&5
44527 echo $ECHO_N "checking for gstplay 0.8... $ECHO_C" >&6
44528
44529 ac_find_libraries=
44530 for ac_dir in $SEARCH_LIB;
44531 do
44532 for ac_extension in a so sl dylib dll.a; do
44533 if test -f "$ac_dir/libgstplay-0.8.$ac_extension"; then
44534 ac_find_libraries=$ac_dir
44535 break 2
44536 fi
44537 done
44538 done
44539
44540
44541 if test "$ac_find_libraries" = "" ; then
44542 echo "$as_me:$LINENO: result: no" >&5
44543 echo "${ECHO_T}no" >&6
44544 wxUSE_GSTREAMER="no"
44545 else
44546 echo "$as_me:$LINENO: result: yes" >&5
44547 echo "${ECHO_T}yes" >&6
44548 fi
44549
44550 if test "$wxUSE_GSTREAMER" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_GSTREAMER 1
44553 _ACEOF
44554
44555 echo "$as_me:$LINENO: result: GStreamer detection successful" >&5
44556 echo "${ECHO_T}GStreamer detection successful" >&6
44557 fi
44558 fi
44559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
44560 cat >>confdefs.h <<\_ACEOF
44561 #define wxUSE_MEDIACTRL 1
44562 _ACEOF
44563
44564 fi
44565
44566
44567 if test "$cross_compiling" = "yes"; then
44568 OSINFO="\"$host\""
44569 else
44570 OSINFO=`uname -s -r -m`
44571 OSINFO="\"$OSINFO\""
44572 fi
44573
44574 cat >>confdefs.h <<_ACEOF
44575 #define WXWIN_OS_DESCRIPTION $OSINFO
44576 _ACEOF
44577
44578
44579
44580 if test "x$prefix" != "xNONE"; then
44581 wxPREFIX=$prefix
44582 else
44583 wxPREFIX=$ac_default_prefix
44584 fi
44585
44586 cat >>confdefs.h <<_ACEOF
44587 #define wxINSTALL_PREFIX "$wxPREFIX"
44588 _ACEOF
44589
44590
44591
44592
44593 CORE_BASE_LIBS="net base"
44594 CORE_GUI_LIBS="adv core"
44595
44596 if test "$wxUSE_XML" = "yes" ; then
44597 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
44598 fi
44599 if test "$wxUSE_ODBC" != "no" ; then
44600 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
44601 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
44602 fi
44603 if test "$wxUSE_HTML" = "yes" ; then
44604 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
44605 fi
44606 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
44607 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
44608 fi
44609 if test "$wxUSE_XRC" = "yes" ; then
44610 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
44611 fi
44612
44613 if test "$wxUSE_GUI" != "yes"; then
44614 CORE_GUI_LIBS=""
44615 fi
44616
44617
44618
44619
44620
44621
44622
44623 if test "$wxUSE_MAC" = 1 ; then
44624 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
44625 if test "$USE_DARWIN" = 1; then
44626 LDFLAGS="$LDFLAGS -framework QuickTime"
44627 else
44628 LDFLAGS="$LDFLAGS -lQuickTimeLib"
44629 fi
44630 fi
44631 if test "$USE_DARWIN" = 1; then
44632 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
44633 else
44634 LDFLAGS="$LDFLAGS -lCarbonLib"
44635 fi
44636 fi
44637 if test "$wxUSE_COCOA" = 1 ; then
44638 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
44639 if test "$wxUSE_MEDIACTRL" = "yes"; then
44640 LDFLAGS="$LDFLAGS -framework QuickTime"
44641 fi
44642 fi
44643 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
44644 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
44645 fi
44646
44647
44648 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
44649
44650 have_cos=0
44651 have_floor=0
44652
44653 for ac_func in cos
44654 do
44655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44656 echo "$as_me:$LINENO: checking for $ac_func" >&5
44657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44658 if eval "test \"\${$as_ac_var+set}\" = set"; then
44659 echo $ECHO_N "(cached) $ECHO_C" >&6
44660 else
44661 cat >conftest.$ac_ext <<_ACEOF
44662 /* confdefs.h. */
44663 _ACEOF
44664 cat confdefs.h >>conftest.$ac_ext
44665 cat >>conftest.$ac_ext <<_ACEOF
44666 /* end confdefs.h. */
44667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44669 #define $ac_func innocuous_$ac_func
44670
44671 /* System header to define __stub macros and hopefully few prototypes,
44672 which can conflict with char $ac_func (); below.
44673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44674 <limits.h> exists even on freestanding compilers. */
44675
44676 #ifdef __STDC__
44677 # include <limits.h>
44678 #else
44679 # include <assert.h>
44680 #endif
44681
44682 #undef $ac_func
44683
44684 /* Override any gcc2 internal prototype to avoid an error. */
44685 #ifdef __cplusplus
44686 extern "C"
44687 {
44688 #endif
44689 /* We use char because int might match the return type of a gcc2
44690 builtin and then its argument prototype would still apply. */
44691 char $ac_func ();
44692 /* The GNU C library defines this for functions which it implements
44693 to always fail with ENOSYS. Some functions are actually named
44694 something starting with __ and the normal name is an alias. */
44695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44696 choke me
44697 #else
44698 char (*f) () = $ac_func;
44699 #endif
44700 #ifdef __cplusplus
44701 }
44702 #endif
44703
44704 int
44705 main ()
44706 {
44707 return f != $ac_func;
44708 ;
44709 return 0;
44710 }
44711 _ACEOF
44712 rm -f conftest.$ac_objext conftest$ac_exeext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44714 (eval $ac_link) 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try='test -z "$ac_c_werror_flag"
44722 || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try='test -s conftest$ac_exeext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44731 ac_status=$?
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 eval "$as_ac_var=yes"
44735 else
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.$ac_ext >&5
44738
44739 eval "$as_ac_var=no"
44740 fi
44741 rm -f conftest.err conftest.$ac_objext \
44742 conftest$ac_exeext conftest.$ac_ext
44743 fi
44744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44746 if test `eval echo '${'$as_ac_var'}'` = yes; then
44747 cat >>confdefs.h <<_ACEOF
44748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44749 _ACEOF
44750 have_cos=1
44751 fi
44752 done
44753
44754
44755 for ac_func in floor
44756 do
44757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44758 echo "$as_me:$LINENO: checking for $ac_func" >&5
44759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44760 if eval "test \"\${$as_ac_var+set}\" = set"; then
44761 echo $ECHO_N "(cached) $ECHO_C" >&6
44762 else
44763 cat >conftest.$ac_ext <<_ACEOF
44764 /* confdefs.h. */
44765 _ACEOF
44766 cat confdefs.h >>conftest.$ac_ext
44767 cat >>conftest.$ac_ext <<_ACEOF
44768 /* end confdefs.h. */
44769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44771 #define $ac_func innocuous_$ac_func
44772
44773 /* System header to define __stub macros and hopefully few prototypes,
44774 which can conflict with char $ac_func (); below.
44775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44776 <limits.h> exists even on freestanding compilers. */
44777
44778 #ifdef __STDC__
44779 # include <limits.h>
44780 #else
44781 # include <assert.h>
44782 #endif
44783
44784 #undef $ac_func
44785
44786 /* Override any gcc2 internal prototype to avoid an error. */
44787 #ifdef __cplusplus
44788 extern "C"
44789 {
44790 #endif
44791 /* We use char because int might match the return type of a gcc2
44792 builtin and then its argument prototype would still apply. */
44793 char $ac_func ();
44794 /* The GNU C library defines this for functions which it implements
44795 to always fail with ENOSYS. Some functions are actually named
44796 something starting with __ and the normal name is an alias. */
44797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44798 choke me
44799 #else
44800 char (*f) () = $ac_func;
44801 #endif
44802 #ifdef __cplusplus
44803 }
44804 #endif
44805
44806 int
44807 main ()
44808 {
44809 return f != $ac_func;
44810 ;
44811 return 0;
44812 }
44813 _ACEOF
44814 rm -f conftest.$ac_objext conftest$ac_exeext
44815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44816 (eval $ac_link) 2>conftest.er1
44817 ac_status=$?
44818 grep -v '^ *+' conftest.er1 >conftest.err
44819 rm -f conftest.er1
44820 cat conftest.err >&5
44821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44822 (exit $ac_status); } &&
44823 { ac_try='test -z "$ac_c_werror_flag"
44824 || test ! -s conftest.err'
44825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44826 (eval $ac_try) 2>&5
44827 ac_status=$?
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); }; } &&
44830 { ac_try='test -s conftest$ac_exeext'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44833 ac_status=$?
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; }; then
44836 eval "$as_ac_var=yes"
44837 else
44838 echo "$as_me: failed program was:" >&5
44839 sed 's/^/| /' conftest.$ac_ext >&5
44840
44841 eval "$as_ac_var=no"
44842 fi
44843 rm -f conftest.err conftest.$ac_objext \
44844 conftest$ac_exeext conftest.$ac_ext
44845 fi
44846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44848 if test `eval echo '${'$as_ac_var'}'` = yes; then
44849 cat >>confdefs.h <<_ACEOF
44850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44851 _ACEOF
44852 have_floor=1
44853 fi
44854 done
44855
44856 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
44857 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
44858 if test "$have_cos" = 1 -a "$have_floor" = 1; then
44859 echo "$as_me:$LINENO: result: yes" >&5
44860 echo "${ECHO_T}yes" >&6
44861 else
44862 echo "$as_me:$LINENO: result: no" >&5
44863 echo "${ECHO_T}no" >&6
44864 LIBS="$LIBS -lm"
44865 # use different functions to avoid configure caching
44866 have_sin=0
44867 have_ceil=0
44868
44869 for ac_func in sin
44870 do
44871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44872 echo "$as_me:$LINENO: checking for $ac_func" >&5
44873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44874 if eval "test \"\${$as_ac_var+set}\" = set"; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44876 else
44877 cat >conftest.$ac_ext <<_ACEOF
44878 /* confdefs.h. */
44879 _ACEOF
44880 cat confdefs.h >>conftest.$ac_ext
44881 cat >>conftest.$ac_ext <<_ACEOF
44882 /* end confdefs.h. */
44883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44885 #define $ac_func innocuous_$ac_func
44886
44887 /* System header to define __stub macros and hopefully few prototypes,
44888 which can conflict with char $ac_func (); below.
44889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44890 <limits.h> exists even on freestanding compilers. */
44891
44892 #ifdef __STDC__
44893 # include <limits.h>
44894 #else
44895 # include <assert.h>
44896 #endif
44897
44898 #undef $ac_func
44899
44900 /* Override any gcc2 internal prototype to avoid an error. */
44901 #ifdef __cplusplus
44902 extern "C"
44903 {
44904 #endif
44905 /* We use char because int might match the return type of a gcc2
44906 builtin and then its argument prototype would still apply. */
44907 char $ac_func ();
44908 /* The GNU C library defines this for functions which it implements
44909 to always fail with ENOSYS. Some functions are actually named
44910 something starting with __ and the normal name is an alias. */
44911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44912 choke me
44913 #else
44914 char (*f) () = $ac_func;
44915 #endif
44916 #ifdef __cplusplus
44917 }
44918 #endif
44919
44920 int
44921 main ()
44922 {
44923 return f != $ac_func;
44924 ;
44925 return 0;
44926 }
44927 _ACEOF
44928 rm -f conftest.$ac_objext conftest$ac_exeext
44929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44930 (eval $ac_link) 2>conftest.er1
44931 ac_status=$?
44932 grep -v '^ *+' conftest.er1 >conftest.err
44933 rm -f conftest.er1
44934 cat conftest.err >&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } &&
44937 { ac_try='test -z "$ac_c_werror_flag"
44938 || test ! -s conftest.err'
44939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44940 (eval $ac_try) 2>&5
44941 ac_status=$?
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; } &&
44944 { ac_try='test -s conftest$ac_exeext'
44945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44946 (eval $ac_try) 2>&5
44947 ac_status=$?
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); }; }; then
44950 eval "$as_ac_var=yes"
44951 else
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.$ac_ext >&5
44954
44955 eval "$as_ac_var=no"
44956 fi
44957 rm -f conftest.err conftest.$ac_objext \
44958 conftest$ac_exeext conftest.$ac_ext
44959 fi
44960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44962 if test `eval echo '${'$as_ac_var'}'` = yes; then
44963 cat >>confdefs.h <<_ACEOF
44964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44965 _ACEOF
44966 have_sin=1
44967 fi
44968 done
44969
44970
44971 for ac_func in ceil
44972 do
44973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44974 echo "$as_me:$LINENO: checking for $ac_func" >&5
44975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44976 if eval "test \"\${$as_ac_var+set}\" = set"; then
44977 echo $ECHO_N "(cached) $ECHO_C" >&6
44978 else
44979 cat >conftest.$ac_ext <<_ACEOF
44980 /* confdefs.h. */
44981 _ACEOF
44982 cat confdefs.h >>conftest.$ac_ext
44983 cat >>conftest.$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44987 #define $ac_func innocuous_$ac_func
44988
44989 /* System header to define __stub macros and hopefully few prototypes,
44990 which can conflict with char $ac_func (); below.
44991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44992 <limits.h> exists even on freestanding compilers. */
44993
44994 #ifdef __STDC__
44995 # include <limits.h>
44996 #else
44997 # include <assert.h>
44998 #endif
44999
45000 #undef $ac_func
45001
45002 /* Override any gcc2 internal prototype to avoid an error. */
45003 #ifdef __cplusplus
45004 extern "C"
45005 {
45006 #endif
45007 /* We use char because int might match the return type of a gcc2
45008 builtin and then its argument prototype would still apply. */
45009 char $ac_func ();
45010 /* The GNU C library defines this for functions which it implements
45011 to always fail with ENOSYS. Some functions are actually named
45012 something starting with __ and the normal name is an alias. */
45013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45014 choke me
45015 #else
45016 char (*f) () = $ac_func;
45017 #endif
45018 #ifdef __cplusplus
45019 }
45020 #endif
45021
45022 int
45023 main ()
45024 {
45025 return f != $ac_func;
45026 ;
45027 return 0;
45028 }
45029 _ACEOF
45030 rm -f conftest.$ac_objext conftest$ac_exeext
45031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45032 (eval $ac_link) 2>conftest.er1
45033 ac_status=$?
45034 grep -v '^ *+' conftest.er1 >conftest.err
45035 rm -f conftest.er1
45036 cat conftest.err >&5
45037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45038 (exit $ac_status); } &&
45039 { ac_try='test -z "$ac_c_werror_flag"
45040 || test ! -s conftest.err'
45041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45042 (eval $ac_try) 2>&5
45043 ac_status=$?
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); }; } &&
45046 { ac_try='test -s conftest$ac_exeext'
45047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45048 (eval $ac_try) 2>&5
45049 ac_status=$?
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); }; }; then
45052 eval "$as_ac_var=yes"
45053 else
45054 echo "$as_me: failed program was:" >&5
45055 sed 's/^/| /' conftest.$ac_ext >&5
45056
45057 eval "$as_ac_var=no"
45058 fi
45059 rm -f conftest.err conftest.$ac_objext \
45060 conftest$ac_exeext conftest.$ac_ext
45061 fi
45062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45064 if test `eval echo '${'$as_ac_var'}'` = yes; then
45065 cat >>confdefs.h <<_ACEOF
45066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45067 _ACEOF
45068 have_ceil=1
45069 fi
45070 done
45071
45072 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
45073 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
45074 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
45075 echo "$as_me:$LINENO: result: yes" >&5
45076 echo "${ECHO_T}yes" >&6
45077 else
45078 echo "$as_me:$LINENO: result: no" >&5
45079 echo "${ECHO_T}no" >&6
45080 # not sure we should warn the user, crash, etc.
45081 fi
45082 fi
45083
45084 if test "$wxUSE_GUI" = "yes"; then
45085
45086
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45088 dynamic erase event exec font image minimal mobile \
45089 mobile/wxedit mobile/styles propsize render \
45090 richedit rotate shaped vscroll widgets"
45091
45092 if test "$wxUSE_MONOLITHIC" != "yes"; then
45093 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45094 fi
45095 if test "$TOOLKIT" = "MSW"; then
45096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45097 if test "$wxUSE_UNIVERSAL" != "yes"; then
45098 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45099 fi
45100 fi
45101 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45103 fi
45104 else
45105 SAMPLES_SUBDIRS="console"
45106 fi
45107
45108
45109 if test "x$INTELCC" = "xyes" ; then
45110 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45111 elif test "$GCC" = yes ; then
45112 CWARNINGS="-Wall -Wundef"
45113 fi
45114
45115 if test "x$INTELCXX" = "xyes" ; then
45116 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45117 elif test "$GXX" = yes ; then
45118 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45119 fi
45120
45121
45122 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45123 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45124
45125
45126 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45127 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45128 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45129 $CPPFLAGS `
45130
45131 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45132 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45133 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45134
45135 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45136
45137
45138 if test "x$MWCC" = "xyes"; then
45139
45140 CC="$CC -cwd source -I-"
45141 CXX="$CXX -cwd source -I-"
45142 fi
45143
45144
45145 LIBS=`echo $LIBS`
45146 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45147 EXTRALIBS_XML="$EXPAT_LINK"
45148 EXTRALIBS_HTML="$MSPACK_LINK"
45149 EXTRALIBS_ODBC="$ODBC_LINK"
45150 if test "$wxUSE_GUI" = "yes"; then
45151 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEPRINT`
45152 fi
45153 if test "$wxUSE_OPENGL" = "yes"; then
45154 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45155 fi
45156
45157 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45158
45159 WXCONFIG_LIBS="$LIBS"
45160
45161 if test "$wxUSE_REGEX" = "builtin" ; then
45162 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45163 fi
45164 if test "$wxUSE_EXPAT" = "builtin" ; then
45165 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45166 fi
45167 if test "$wxUSE_ODBC" = "builtin" ; then
45168 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45169 fi
45170 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45171 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45172 fi
45173 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45174 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45175 fi
45176 if test "$wxUSE_LIBPNG" = "builtin" ; then
45177 wxconfig_3rdparty="png $wxconfig_3rdparty"
45178 fi
45179 if test "$wxUSE_ZLIB" = "builtin" ; then
45180 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45181 fi
45182
45183 for i in $wxconfig_3rdparty ; do
45184 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45185 done
45186
45187
45188 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45189 WXUNIV=1
45190 else
45191 WXUNIV=0
45192 fi
45193
45194
45195
45196
45197
45198
45199
45200
45201
45202 if test $wxUSE_MONOLITHIC = "yes" ; then
45203 MONOLITHIC=1
45204 else
45205 MONOLITHIC=0
45206 fi
45207
45208 if test $wxUSE_PLUGINS = "yes" ; then
45209 USE_PLUGINS=1
45210 else
45211 USE_PLUGINS=0
45212 fi
45213
45214 if test $wxUSE_ODBC != "no" ; then
45215 USE_ODBC=1
45216 else
45217 USE_ODBC=0
45218 fi
45219
45220 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45221 USE_QA=1
45222 else
45223 USE_QA=0
45224 fi
45225
45226 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45227 OFFICIAL_BUILD=1
45228 else
45229 OFFICIAL_BUILD=0
45230 fi
45231
45232
45233
45234
45235
45236
45237
45238
45239
45240
45241
45242
45243
45244
45245
45246
45247
45248
45249
45250
45251
45252
45253
45254
45255 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45256
45257
45258
45259
45260
45261
45262
45263
45264 case "$TOOLKIT" in
45265 GTK)
45266 TOOLKIT_USER="GTK+"
45267 if test "$WXGTK20" = 1; then
45268 TOOLKIT_USER="$TOOLKIT_USER 2"
45269 fi
45270 ;;
45271
45272 *)
45273 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45274 ;;
45275 esac
45276
45277 if test "$wxUSE_WINE" = "yes"; then
45278 BAKEFILE_FORCE_PLATFORM=win32
45279 fi
45280
45281 if test "$wxUSE_MAC" = 1 ; then
45282 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45283 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45284 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45285 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45286 bk_use_pch=no
45287 fi
45288 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45289 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45290 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45291 fi
45292
45293
45294
45295
45296 if test "x$BAKEFILE_HOST" = "x"; then
45297 BAKEFILE_HOST="${host}"
45298 fi
45299
45300 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45301
45302 if test -n "$ac_tool_prefix"; then
45303 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45304 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45305 echo "$as_me:$LINENO: checking for $ac_word" >&5
45306 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45307 if test "${ac_cv_prog_RANLIB+set}" = set; then
45308 echo $ECHO_N "(cached) $ECHO_C" >&6
45309 else
45310 if test -n "$RANLIB"; then
45311 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45312 else
45313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45314 for as_dir in $PATH
45315 do
45316 IFS=$as_save_IFS
45317 test -z "$as_dir" && as_dir=.
45318 for ac_exec_ext in '' $ac_executable_extensions; do
45319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45320 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45322 break 2
45323 fi
45324 done
45325 done
45326
45327 fi
45328 fi
45329 RANLIB=$ac_cv_prog_RANLIB
45330 if test -n "$RANLIB"; then
45331 echo "$as_me:$LINENO: result: $RANLIB" >&5
45332 echo "${ECHO_T}$RANLIB" >&6
45333 else
45334 echo "$as_me:$LINENO: result: no" >&5
45335 echo "${ECHO_T}no" >&6
45336 fi
45337
45338 fi
45339 if test -z "$ac_cv_prog_RANLIB"; then
45340 ac_ct_RANLIB=$RANLIB
45341 # Extract the first word of "ranlib", so it can be a program name with args.
45342 set dummy ranlib; ac_word=$2
45343 echo "$as_me:$LINENO: checking for $ac_word" >&5
45344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45345 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45346 echo $ECHO_N "(cached) $ECHO_C" >&6
45347 else
45348 if test -n "$ac_ct_RANLIB"; then
45349 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45350 else
45351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45352 for as_dir in $PATH
45353 do
45354 IFS=$as_save_IFS
45355 test -z "$as_dir" && as_dir=.
45356 for ac_exec_ext in '' $ac_executable_extensions; do
45357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45358 ac_cv_prog_ac_ct_RANLIB="ranlib"
45359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45360 break 2
45361 fi
45362 done
45363 done
45364
45365 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45366 fi
45367 fi
45368 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45369 if test -n "$ac_ct_RANLIB"; then
45370 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45371 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45372 else
45373 echo "$as_me:$LINENO: result: no" >&5
45374 echo "${ECHO_T}no" >&6
45375 fi
45376
45377 RANLIB=$ac_ct_RANLIB
45378 else
45379 RANLIB="$ac_cv_prog_RANLIB"
45380 fi
45381
45382 # Find a good install program. We prefer a C program (faster),
45383 # so one script is as good as another. But avoid the broken or
45384 # incompatible versions:
45385 # SysV /etc/install, /usr/sbin/install
45386 # SunOS /usr/etc/install
45387 # IRIX /sbin/install
45388 # AIX /bin/install
45389 # AmigaOS /C/install, which installs bootblocks on floppy discs
45390 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45391 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45392 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45393 # OS/2's system install, which has a completely different semantic
45394 # ./install, which can be erroneously created by make from ./install.sh.
45395 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45396 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45397 if test -z "$INSTALL"; then
45398 if test "${ac_cv_path_install+set}" = set; then
45399 echo $ECHO_N "(cached) $ECHO_C" >&6
45400 else
45401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45402 for as_dir in $PATH
45403 do
45404 IFS=$as_save_IFS
45405 test -z "$as_dir" && as_dir=.
45406 # Account for people who put trailing slashes in PATH elements.
45407 case $as_dir/ in
45408 ./ | .// | /cC/* | \
45409 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45410 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45411 /usr/ucb/* ) ;;
45412 *)
45413 # OSF1 and SCO ODT 3.0 have their own names for install.
45414 # Don't use installbsd from OSF since it installs stuff as root
45415 # by default.
45416 for ac_prog in ginstall scoinst install; do
45417 for ac_exec_ext in '' $ac_executable_extensions; do
45418 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45419 if test $ac_prog = install &&
45420 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45421 # AIX install. It has an incompatible calling convention.
45422 :
45423 elif test $ac_prog = install &&
45424 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45425 # program-specific install script used by HP pwplus--don't use.
45426 :
45427 else
45428 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45429 break 3
45430 fi
45431 fi
45432 done
45433 done
45434 ;;
45435 esac
45436 done
45437
45438
45439 fi
45440 if test "${ac_cv_path_install+set}" = set; then
45441 INSTALL=$ac_cv_path_install
45442 else
45443 # As a last resort, use the slow shell script. We don't cache a
45444 # path for INSTALL within a source directory, because that will
45445 # break other packages using the cache if that directory is
45446 # removed, or if the path is relative.
45447 INSTALL=$ac_install_sh
45448 fi
45449 fi
45450 echo "$as_me:$LINENO: result: $INSTALL" >&5
45451 echo "${ECHO_T}$INSTALL" >&6
45452
45453 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45454 # It thinks the first close brace ends the variable substitution.
45455 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45456
45457 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45458
45459 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45460
45461 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45462 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45463 LN_S=$as_ln_s
45464 if test "$LN_S" = "ln -s"; then
45465 echo "$as_me:$LINENO: result: yes" >&5
45466 echo "${ECHO_T}yes" >&6
45467 else
45468 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45469 echo "${ECHO_T}no, using $LN_S" >&6
45470 fi
45471
45472
45473 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45474 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45475 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45476 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45478 else
45479 cat >conftest.make <<\_ACEOF
45480 all:
45481 @echo 'ac_maketemp="$(MAKE)"'
45482 _ACEOF
45483 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45484 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45485 if test -n "$ac_maketemp"; then
45486 eval ac_cv_prog_make_${ac_make}_set=yes
45487 else
45488 eval ac_cv_prog_make_${ac_make}_set=no
45489 fi
45490 rm -f conftest.make
45491 fi
45492 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45493 echo "$as_me:$LINENO: result: yes" >&5
45494 echo "${ECHO_T}yes" >&6
45495 SET_MAKE=
45496 else
45497 echo "$as_me:$LINENO: result: no" >&5
45498 echo "${ECHO_T}no" >&6
45499 SET_MAKE="MAKE=${MAKE-make}"
45500 fi
45501
45502
45503
45504 if test -n "$ac_tool_prefix"; then
45505 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45506 set dummy ${ac_tool_prefix}ar; ac_word=$2
45507 echo "$as_me:$LINENO: checking for $ac_word" >&5
45508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45509 if test "${ac_cv_prog_AR+set}" = set; then
45510 echo $ECHO_N "(cached) $ECHO_C" >&6
45511 else
45512 if test -n "$AR"; then
45513 ac_cv_prog_AR="$AR" # Let the user override the test.
45514 else
45515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45516 for as_dir in $PATH
45517 do
45518 IFS=$as_save_IFS
45519 test -z "$as_dir" && as_dir=.
45520 for ac_exec_ext in '' $ac_executable_extensions; do
45521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45522 ac_cv_prog_AR="${ac_tool_prefix}ar"
45523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45524 break 2
45525 fi
45526 done
45527 done
45528
45529 fi
45530 fi
45531 AR=$ac_cv_prog_AR
45532 if test -n "$AR"; then
45533 echo "$as_me:$LINENO: result: $AR" >&5
45534 echo "${ECHO_T}$AR" >&6
45535 else
45536 echo "$as_me:$LINENO: result: no" >&5
45537 echo "${ECHO_T}no" >&6
45538 fi
45539
45540 fi
45541 if test -z "$ac_cv_prog_AR"; then
45542 ac_ct_AR=$AR
45543 # Extract the first word of "ar", so it can be a program name with args.
45544 set dummy ar; ac_word=$2
45545 echo "$as_me:$LINENO: checking for $ac_word" >&5
45546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45548 echo $ECHO_N "(cached) $ECHO_C" >&6
45549 else
45550 if test -n "$ac_ct_AR"; then
45551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45552 else
45553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45554 for as_dir in $PATH
45555 do
45556 IFS=$as_save_IFS
45557 test -z "$as_dir" && as_dir=.
45558 for ac_exec_ext in '' $ac_executable_extensions; do
45559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45560 ac_cv_prog_ac_ct_AR="ar"
45561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45562 break 2
45563 fi
45564 done
45565 done
45566
45567 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45568 fi
45569 fi
45570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45571 if test -n "$ac_ct_AR"; then
45572 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45573 echo "${ECHO_T}$ac_ct_AR" >&6
45574 else
45575 echo "$as_me:$LINENO: result: no" >&5
45576 echo "${ECHO_T}no" >&6
45577 fi
45578
45579 AR=$ac_ct_AR
45580 else
45581 AR="$ac_cv_prog_AR"
45582 fi
45583
45584 if test -n "$ac_tool_prefix"; then
45585 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45586 set dummy ${ac_tool_prefix}strip; ac_word=$2
45587 echo "$as_me:$LINENO: checking for $ac_word" >&5
45588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45589 if test "${ac_cv_prog_STRIP+set}" = set; then
45590 echo $ECHO_N "(cached) $ECHO_C" >&6
45591 else
45592 if test -n "$STRIP"; then
45593 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45594 else
45595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45596 for as_dir in $PATH
45597 do
45598 IFS=$as_save_IFS
45599 test -z "$as_dir" && as_dir=.
45600 for ac_exec_ext in '' $ac_executable_extensions; do
45601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45602 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45604 break 2
45605 fi
45606 done
45607 done
45608
45609 fi
45610 fi
45611 STRIP=$ac_cv_prog_STRIP
45612 if test -n "$STRIP"; then
45613 echo "$as_me:$LINENO: result: $STRIP" >&5
45614 echo "${ECHO_T}$STRIP" >&6
45615 else
45616 echo "$as_me:$LINENO: result: no" >&5
45617 echo "${ECHO_T}no" >&6
45618 fi
45619
45620 fi
45621 if test -z "$ac_cv_prog_STRIP"; then
45622 ac_ct_STRIP=$STRIP
45623 # Extract the first word of "strip", so it can be a program name with args.
45624 set dummy strip; ac_word=$2
45625 echo "$as_me:$LINENO: checking for $ac_word" >&5
45626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45627 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45628 echo $ECHO_N "(cached) $ECHO_C" >&6
45629 else
45630 if test -n "$ac_ct_STRIP"; then
45631 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45632 else
45633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45634 for as_dir in $PATH
45635 do
45636 IFS=$as_save_IFS
45637 test -z "$as_dir" && as_dir=.
45638 for ac_exec_ext in '' $ac_executable_extensions; do
45639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45640 ac_cv_prog_ac_ct_STRIP="strip"
45641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45642 break 2
45643 fi
45644 done
45645 done
45646
45647 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
45648 fi
45649 fi
45650 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45651 if test -n "$ac_ct_STRIP"; then
45652 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45653 echo "${ECHO_T}$ac_ct_STRIP" >&6
45654 else
45655 echo "$as_me:$LINENO: result: no" >&5
45656 echo "${ECHO_T}no" >&6
45657 fi
45658
45659 STRIP=$ac_ct_STRIP
45660 else
45661 STRIP="$ac_cv_prog_STRIP"
45662 fi
45663
45664 if test -n "$ac_tool_prefix"; then
45665 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45666 set dummy ${ac_tool_prefix}nm; ac_word=$2
45667 echo "$as_me:$LINENO: checking for $ac_word" >&5
45668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45669 if test "${ac_cv_prog_NM+set}" = set; then
45670 echo $ECHO_N "(cached) $ECHO_C" >&6
45671 else
45672 if test -n "$NM"; then
45673 ac_cv_prog_NM="$NM" # Let the user override the test.
45674 else
45675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45676 for as_dir in $PATH
45677 do
45678 IFS=$as_save_IFS
45679 test -z "$as_dir" && as_dir=.
45680 for ac_exec_ext in '' $ac_executable_extensions; do
45681 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45682 ac_cv_prog_NM="${ac_tool_prefix}nm"
45683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45684 break 2
45685 fi
45686 done
45687 done
45688
45689 fi
45690 fi
45691 NM=$ac_cv_prog_NM
45692 if test -n "$NM"; then
45693 echo "$as_me:$LINENO: result: $NM" >&5
45694 echo "${ECHO_T}$NM" >&6
45695 else
45696 echo "$as_me:$LINENO: result: no" >&5
45697 echo "${ECHO_T}no" >&6
45698 fi
45699
45700 fi
45701 if test -z "$ac_cv_prog_NM"; then
45702 ac_ct_NM=$NM
45703 # Extract the first word of "nm", so it can be a program name with args.
45704 set dummy nm; ac_word=$2
45705 echo "$as_me:$LINENO: checking for $ac_word" >&5
45706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45707 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45708 echo $ECHO_N "(cached) $ECHO_C" >&6
45709 else
45710 if test -n "$ac_ct_NM"; then
45711 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45712 else
45713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45714 for as_dir in $PATH
45715 do
45716 IFS=$as_save_IFS
45717 test -z "$as_dir" && as_dir=.
45718 for ac_exec_ext in '' $ac_executable_extensions; do
45719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45720 ac_cv_prog_ac_ct_NM="nm"
45721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45722 break 2
45723 fi
45724 done
45725 done
45726
45727 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
45728 fi
45729 fi
45730 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45731 if test -n "$ac_ct_NM"; then
45732 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45733 echo "${ECHO_T}$ac_ct_NM" >&6
45734 else
45735 echo "$as_me:$LINENO: result: no" >&5
45736 echo "${ECHO_T}no" >&6
45737 fi
45738
45739 NM=$ac_ct_NM
45740 else
45741 NM="$ac_cv_prog_NM"
45742 fi
45743
45744
45745 case ${BAKEFILE_HOST} in
45746 *-hp-hpux* )
45747 INSTALL_DIR="mkdir -p"
45748 ;;
45749 *) INSTALL_DIR="$INSTALL -d"
45750 ;;
45751 esac
45752
45753
45754 LDFLAGS_GUI=
45755 case ${BAKEFILE_HOST} in
45756 *-*-cygwin* | *-*-mingw32* )
45757 LDFLAGS_GUI="-mwindows"
45758 esac
45759
45760
45761 fi
45762
45763 echo "$as_me:$LINENO: checking if make is GNU make" >&5
45764 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
45765 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
45766 echo $ECHO_N "(cached) $ECHO_C" >&6
45767 else
45768
45769 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
45770 egrep -s GNU > /dev/null); then
45771 bakefile_cv_prog_makeisgnu="yes"
45772 else
45773 bakefile_cv_prog_makeisgnu="no"
45774 fi
45775
45776 fi
45777 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
45778 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
45779
45780 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
45781 IF_GNU_MAKE=""
45782 else
45783 IF_GNU_MAKE="#"
45784 fi
45785
45786
45787
45788 PLATFORM_UNIX=0
45789 PLATFORM_WIN32=0
45790 PLATFORM_MSDOS=0
45791 PLATFORM_MAC=0
45792 PLATFORM_MACOS=0
45793 PLATFORM_MACOSX=0
45794 PLATFORM_OS2=0
45795 PLATFORM_BEOS=0
45796
45797 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
45798 case "${BAKEFILE_HOST}" in
45799 *-*-mingw32* )
45800 PLATFORM_WIN32=1
45801 ;;
45802 *-pc-msdosdjgpp )
45803 PLATFORM_MSDOS=1
45804 ;;
45805 *-pc-os2_emx | *-pc-os2-emx )
45806 PLATFORM_OS2=1
45807 ;;
45808 *-*-darwin* )
45809 PLATFORM_MAC=1
45810 PLATFORM_MACOSX=1
45811 ;;
45812 *-*-beos* )
45813 PLATFORM_BEOS=1
45814 ;;
45815 powerpc-apple-macos* )
45816 PLATFORM_MAC=1
45817 PLATFORM_MACOS=1
45818 ;;
45819 * )
45820 PLATFORM_UNIX=1
45821 ;;
45822 esac
45823 else
45824 case "$BAKEFILE_FORCE_PLATFORM" in
45825 win32 )
45826 PLATFORM_WIN32=1
45827 ;;
45828 msdos )
45829 PLATFORM_MSDOS=1
45830 ;;
45831 os2 )
45832 PLATFORM_OS2=1
45833 ;;
45834 darwin )
45835 PLATFORM_MAC=1
45836 PLATFORM_MACOSX=1
45837 ;;
45838 unix )
45839 PLATFORM_UNIX=1
45840 ;;
45841 beos )
45842 PLATFORM_BEOS=1
45843 ;;
45844 * )
45845 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
45846 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
45847 { (exit 1); exit 1; }; }
45848 ;;
45849 esac
45850 fi
45851
45852
45853
45854
45855
45856
45857
45858
45859
45860
45861
45862 # Check whether --enable-omf or --disable-omf was given.
45863 if test "${enable_omf+set}" = set; then
45864 enableval="$enable_omf"
45865 bk_os2_use_omf="$enableval"
45866 fi;
45867
45868 case "${BAKEFILE_HOST}" in
45869 *-*-darwin* )
45870 if test "x$GCC" = "xyes"; then
45871 CFLAGS="$CFLAGS -fno-common"
45872 CXXFLAGS="$CXXFLAGS -fno-common"
45873 fi
45874 if test "x$XLCC" = "xyes"; then
45875 CFLAGS="$CFLAGS -qnocommon"
45876 CXXFLAGS="$CXXFLAGS -qnocommon"
45877 fi
45878 ;;
45879
45880 *-pc-os2_emx | *-pc-os2-emx )
45881 if test "x$bk_os2_use_omf" = "xyes" ; then
45882 AR=emxomfar
45883 RANLIB=:
45884 LDFLAGS="-Zomf $LDFLAGS"
45885 CFLAGS="-Zomf $CFLAGS"
45886 CXXFLAGS="-Zomf $CXXFLAGS"
45887 OS2_LIBEXT="lib"
45888 else
45889 OS2_LIBEXT="a"
45890 fi
45891 ;;
45892
45893 i*86-*-beos* )
45894 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
45895 ;;
45896 esac
45897
45898
45899 SO_SUFFIX="so"
45900 SO_SUFFIX_MODULE="so"
45901 EXEEXT=""
45902 LIBPREFIX="lib"
45903 LIBEXT=".a"
45904 DLLPREFIX="lib"
45905 DLLPREFIX_MODULE=""
45906 DLLIMP_SUFFIX=""
45907 dlldir="$libdir"
45908
45909 case "${BAKEFILE_HOST}" in
45910 *-hp-hpux* )
45911 SO_SUFFIX="sl"
45912 SO_SUFFIX_MODULE="sl"
45913 ;;
45914 *-*-aix* )
45915 SO_SUFFIX="a"
45916 SO_SUFFIX_MODULE="a"
45917 ;;
45918 *-*-cygwin* )
45919 SO_SUFFIX="dll"
45920 SO_SUFFIX_MODULE="dll"
45921 DLLIMP_SUFFIX="dll.a"
45922 EXEEXT=".exe"
45923 DLLPREFIX="cyg"
45924 dlldir="$bindir"
45925 ;;
45926 *-*-mingw32* )
45927 SO_SUFFIX="dll"
45928 SO_SUFFIX_MODULE="dll"
45929 DLLIMP_SUFFIX="dll.a"
45930 EXEEXT=".exe"
45931 DLLPREFIX=""
45932 dlldir="$bindir"
45933 ;;
45934 *-pc-msdosdjgpp )
45935 EXEEXT=".exe"
45936 DLLPREFIX=""
45937 dlldir="$bindir"
45938 ;;
45939 *-pc-os2_emx | *-pc-os2-emx )
45940 SO_SUFFIX="dll"
45941 SO_SUFFIX_MODULE="dll"
45942 DLLIMP_SUFFIX=$OS2_LIBEXT
45943 EXEEXT=".exe"
45944 DLLPREFIX=""
45945 LIBPREFIX=""
45946 LIBEXT=".$OS2_LIBEXT"
45947 dlldir="$bindir"
45948 ;;
45949 *-*-darwin* )
45950 SO_SUFFIX="dylib"
45951 SO_SUFFIX_MODULE="bundle"
45952 ;;
45953 esac
45954
45955 if test "x$DLLIMP_SUFFIX" = "x" ; then
45956 DLLIMP_SUFFIX="$SO_SUFFIX"
45957 fi
45958
45959
45960
45961
45962
45963
45964
45965
45966
45967
45968
45969
45970 PIC_FLAG=""
45971 if test "x$GCC" = "xyes"; then
45972 PIC_FLAG="-fPIC"
45973 fi
45974
45975 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
45976 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
45977 WINDOWS_IMPLIB=0
45978
45979 case "${BAKEFILE_HOST}" in
45980 *-hp-hpux* )
45981 if test "x$GCC" != "xyes"; then
45982 LDFLAGS="$LDFLAGS -L/usr/lib"
45983
45984 SHARED_LD_CC="${CC} -b -o"
45985 SHARED_LD_CXX="${CXX} -b -o"
45986 PIC_FLAG="+Z"
45987 fi
45988 ;;
45989
45990 *-*-linux* )
45991 if test "x$GCC" != "xyes"; then
45992 echo "$as_me:$LINENO: checking for Intel compiler" >&5
45993 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
45994 if test "${bakefile_cv_prog_icc+set}" = set; then
45995 echo $ECHO_N "(cached) $ECHO_C" >&6
45996 else
45997
45998 cat >conftest.$ac_ext <<_ACEOF
45999 /* confdefs.h. */
46000 _ACEOF
46001 cat confdefs.h >>conftest.$ac_ext
46002 cat >>conftest.$ac_ext <<_ACEOF
46003 /* end confdefs.h. */
46004
46005 int
46006 main ()
46007 {
46008
46009 #ifndef __INTEL_COMPILER
46010 #error Not icc
46011 #endif
46012
46013 ;
46014 return 0;
46015 }
46016 _ACEOF
46017 rm -f conftest.$ac_objext
46018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46019 (eval $ac_compile) 2>conftest.er1
46020 ac_status=$?
46021 grep -v '^ *+' conftest.er1 >conftest.err
46022 rm -f conftest.er1
46023 cat conftest.err >&5
46024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025 (exit $ac_status); } &&
46026 { ac_try='test -z "$ac_c_werror_flag"
46027 || test ! -s conftest.err'
46028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46029 (eval $ac_try) 2>&5
46030 ac_status=$?
46031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46032 (exit $ac_status); }; } &&
46033 { ac_try='test -s conftest.$ac_objext'
46034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46035 (eval $ac_try) 2>&5
46036 ac_status=$?
46037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46038 (exit $ac_status); }; }; then
46039 bakefile_cv_prog_icc=yes
46040 else
46041 echo "$as_me: failed program was:" >&5
46042 sed 's/^/| /' conftest.$ac_ext >&5
46043
46044 bakefile_cv_prog_icc=no
46045
46046 fi
46047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46048
46049 fi
46050 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46051 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46052 if test "$bakefile_cv_prog_icc" = "yes"; then
46053 PIC_FLAG="-KPIC"
46054 fi
46055 fi
46056 ;;
46057
46058 *-*-solaris2* )
46059 if test "x$GCC" != xyes ; then
46060 SHARED_LD_CC="${CC} -G -o"
46061 SHARED_LD_CXX="${CXX} -G -o"
46062 PIC_FLAG="-KPIC"
46063 fi
46064 ;;
46065
46066 *-*-darwin* )
46067
46068 D='$'
46069 cat <<EOF >shared-ld-sh
46070 #!/bin/sh
46071 #-----------------------------------------------------------------------------
46072 #-- Name: distrib/mac/shared-ld-sh
46073 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46074 #-- Author: Gilles Depeyrot
46075 #-- Copyright: (c) 2002 Gilles Depeyrot
46076 #-- Licence: any use permitted
46077 #-----------------------------------------------------------------------------
46078
46079 verbose=0
46080 args=""
46081 objects=""
46082 linking_flag="-dynamiclib"
46083 ldargs="-r -keep_private_externs -nostdlib"
46084
46085 while test ${D}# -gt 0; do
46086 case ${D}1 in
46087
46088 -v)
46089 verbose=1
46090 ;;
46091
46092 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46093 # collect these options and values
46094 args="${D}{args} ${D}1 ${D}2"
46095 shift
46096 ;;
46097
46098 -s|-Wl,*)
46099 # collect these load args
46100 ldargs="${D}{ldargs} ${D}1"
46101 ;;
46102
46103 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46104 # collect these options
46105 args="${D}{args} ${D}1"
46106 ;;
46107
46108 -dynamiclib|-bundle)
46109 linking_flag="${D}1"
46110 ;;
46111
46112 -*)
46113 echo "shared-ld: unhandled option '${D}1'"
46114 exit 1
46115 ;;
46116
46117 *.o | *.a | *.dylib)
46118 # collect object files
46119 objects="${D}{objects} ${D}1"
46120 ;;
46121
46122 *)
46123 echo "shared-ld: unhandled argument '${D}1'"
46124 exit 1
46125 ;;
46126
46127 esac
46128 shift
46129 done
46130
46131 status=0
46132
46133 #
46134 # Link one module containing all the others
46135 #
46136 if test ${D}{verbose} = 1; then
46137 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46138 fi
46139 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46140 status=${D}?
46141
46142 #
46143 # Link the shared library from the single module created, but only if the
46144 # previous command didn't fail:
46145 #
46146 if test ${D}{status} = 0; then
46147 if test ${D}{verbose} = 1; then
46148 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46149 fi
46150 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46151 status=${D}?
46152 fi
46153
46154 #
46155 # Remove intermediate module
46156 #
46157 rm -f master.${D}${D}.o
46158
46159 exit ${D}status
46160 EOF
46161
46162 chmod +x shared-ld-sh
46163
46164 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46165 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46166
46167
46168 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46169 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46170 if test "${bakefile_cv_gcc31+set}" = set; then
46171 echo $ECHO_N "(cached) $ECHO_C" >&6
46172 else
46173
46174 cat >conftest.$ac_ext <<_ACEOF
46175 /* confdefs.h. */
46176 _ACEOF
46177 cat confdefs.h >>conftest.$ac_ext
46178 cat >>conftest.$ac_ext <<_ACEOF
46179 /* end confdefs.h. */
46180
46181 int
46182 main ()
46183 {
46184
46185 #if (__GNUC__ < 3) || \
46186 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46187 #error old gcc
46188 #endif
46189
46190 ;
46191 return 0;
46192 }
46193 _ACEOF
46194 rm -f conftest.$ac_objext
46195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46196 (eval $ac_compile) 2>conftest.er1
46197 ac_status=$?
46198 grep -v '^ *+' conftest.er1 >conftest.err
46199 rm -f conftest.er1
46200 cat conftest.err >&5
46201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46202 (exit $ac_status); } &&
46203 { ac_try='test -z "$ac_c_werror_flag"
46204 || test ! -s conftest.err'
46205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46206 (eval $ac_try) 2>&5
46207 ac_status=$?
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; } &&
46210 { ac_try='test -s conftest.$ac_objext'
46211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46212 (eval $ac_try) 2>&5
46213 ac_status=$?
46214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46215 (exit $ac_status); }; }; then
46216
46217 bakefile_cv_gcc31=yes
46218
46219 else
46220 echo "$as_me: failed program was:" >&5
46221 sed 's/^/| /' conftest.$ac_ext >&5
46222
46223
46224 bakefile_cv_gcc31=no
46225
46226
46227 fi
46228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46229
46230 fi
46231 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46232 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46233 if test "$bakefile_cv_gcc31" = "no"; then
46234 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46235 SHARED_LD_CXX="$SHARED_LD_CC"
46236 else
46237 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46238 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46239 fi
46240
46241 if test "x$GCC" == "xyes"; then
46242 PIC_FLAG="-dynamic -fPIC"
46243 fi
46244 if test "x$XLCC" = "xyes"; then
46245 PIC_FLAG="-dynamic -DPIC"
46246 fi
46247 ;;
46248
46249 *-*-aix* )
46250 if test "x$GCC" = "xyes"; then
46251 PIC_FLAG=""
46252
46253 case "${BAKEFILE_HOST}" in
46254 *-*-aix5* )
46255 LD_EXPFULL="-Wl,-bexpfull"
46256 ;;
46257 esac
46258
46259 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46260 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46261 else
46262 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46263 set dummy makeC++SharedLib; ac_word=$2
46264 echo "$as_me:$LINENO: checking for $ac_word" >&5
46265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46266 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46267 echo $ECHO_N "(cached) $ECHO_C" >&6
46268 else
46269 if test -n "$AIX_CXX_LD"; then
46270 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46271 else
46272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46273 for as_dir in $PATH
46274 do
46275 IFS=$as_save_IFS
46276 test -z "$as_dir" && as_dir=.
46277 for ac_exec_ext in '' $ac_executable_extensions; do
46278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46279 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46281 break 2
46282 fi
46283 done
46284 done
46285
46286 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46287 fi
46288 fi
46289 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46290 if test -n "$AIX_CXX_LD"; then
46291 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46292 echo "${ECHO_T}$AIX_CXX_LD" >&6
46293 else
46294 echo "$as_me:$LINENO: result: no" >&5
46295 echo "${ECHO_T}no" >&6
46296 fi
46297
46298 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46299 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46300 fi
46301 ;;
46302
46303 *-*-beos* )
46304 SHARED_LD_CC="${LD} -nostart -o"
46305 SHARED_LD_CXX="${LD} -nostart -o"
46306 ;;
46307
46308 *-*-irix* )
46309 if test "x$GCC" != "xyes"; then
46310 PIC_FLAG="-KPIC"
46311 fi
46312 ;;
46313
46314 *-*-cygwin* | *-*-mingw32* )
46315 PIC_FLAG=""
46316 SHARED_LD_CC="\$(CC) -shared -o"
46317 SHARED_LD_CXX="\$(CXX) -shared -o"
46318 WINDOWS_IMPLIB=1
46319 ;;
46320
46321 *-pc-os2_emx | *-pc-os2-emx )
46322 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46323 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46324 PIC_FLAG=""
46325
46326 D='$'
46327 cat <<EOF >dllar.sh
46328 #!/bin/sh
46329 #
46330 # dllar - a tool to build both a .dll and an .a file
46331 # from a set of object (.o) files for EMX/OS2.
46332 #
46333 # Written by Andrew Zabolotny, bit@freya.etu.ru
46334 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46335 #
46336 # This script will accept a set of files on the command line.
46337 # All the public symbols from the .o files will be exported into
46338 # a .DEF file, then linker will be run (through gcc) against them to
46339 # build a shared library consisting of all given .o files. All libraries
46340 # (.a) will be first decompressed into component .o files then act as
46341 # described above. You can optionally give a description (-d "description")
46342 # which will be put into .DLL. To see the list of accepted options (as well
46343 # as command-line format) simply run this program without options. The .DLL
46344 # is built to be imported by name (there is no guarantee that new versions
46345 # of the library you build will have same ordinals for same symbols).
46346 #
46347 # dllar is free software; you can redistribute it and/or modify
46348 # it under the terms of the GNU General Public License as published by
46349 # the Free Software Foundation; either version 2, or (at your option)
46350 # any later version.
46351 #
46352 # dllar is distributed in the hope that it will be useful,
46353 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46354 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46355 # GNU General Public License for more details.
46356 #
46357 # You should have received a copy of the GNU General Public License
46358 # along with dllar; see the file COPYING. If not, write to the Free
46359 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46360 # 02111-1307, USA.
46361
46362 # To successfuly run this program you will need:
46363 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46364 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46365 # - gcc
46366 # (used to build the .dll)
46367 # - emxexp
46368 # (used to create .def file from .o files)
46369 # - emximp
46370 # (used to create .a file from .def file)
46371 # - GNU text utilites (cat, sort, uniq)
46372 # used to process emxexp output
46373 # - GNU file utilities (mv, rm)
46374 # - GNU sed
46375 # - lxlite (optional, see flag below)
46376 # (used for general .dll cleanup)
46377 #
46378
46379 flag_USE_LXLITE=1;
46380
46381 #
46382 # helper functions
46383 # basnam, variant of basename, which does _not_ remove the path, _iff_
46384 # second argument (suffix to remove) is given
46385 basnam(){
46386 case ${D}# in
46387 1)
46388 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46389 ;;
46390 2)
46391 echo ${D}1 | sed 's/'${D}2'${D}//'
46392 ;;
46393 *)
46394 echo "error in basnam ${D}*"
46395 exit 8
46396 ;;
46397 esac
46398 }
46399
46400 # Cleanup temporary files and output
46401 CleanUp() {
46402 cd ${D}curDir
46403 for i in ${D}inputFiles ; do
46404 case ${D}i in
46405 *!)
46406 rm -rf \`basnam ${D}i !\`
46407 ;;
46408 *)
46409 ;;
46410 esac
46411 done
46412
46413 # Kill result in case of failure as there is just to many stupid make/nmake
46414 # things out there which doesn't do this.
46415 if [ ${D}# -eq 0 ]; then
46416 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46417 fi
46418 }
46419
46420 # Print usage and exit script with rc=1.
46421 PrintHelp() {
46422 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46423 echo ' [-name-mangler-script script.sh]'
46424 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46425 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46426 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46427 echo ' [*.o] [*.a]'
46428 echo '*> "output_file" should have no extension.'
46429 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46430 echo ' The import library name is derived from this and is set to "name".a,'
46431 echo ' unless overridden by -import'
46432 echo '*> "importlib_name" should have no extension.'
46433 echo ' If it has the .o, or .a extension, it is automatically removed.'
46434 echo ' This name is used as the import library name and may be longer and'
46435 echo ' more descriptive than the DLL name which has to follow the old '
46436 echo ' 8.3 convention of FAT.'
46437 echo '*> "script.sh may be given to override the output_file name by a'
46438 echo ' different name. It is mainly useful if the regular make process'
46439 echo ' of some package does not take into account OS/2 restriction of'
46440 echo ' DLL name lengths. It takes the importlib name as input and is'
46441 echo ' supposed to procude a shorter name as output. The script should'
46442 echo ' expect to get importlib_name without extension and should produce'
46443 echo ' a (max.) 8 letter name without extension.'
46444 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46445 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46446 echo ' These flags will be put at the start of GCC command line.'
46447 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46448 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46449 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46450 echo ' If the last character of a symbol is "*", all symbols beginning'
46451 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46452 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46453 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46454 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46455 echo ' C runtime DLLs.'
46456 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46457 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46458 echo ' unchanged to GCC at the end of command line.'
46459 echo '*> If you create a DLL from a library and you do not specify -o,'
46460 echo ' the basename for DLL and import library will be set to library name,'
46461 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46462 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46463 echo ' library will be renamed into gcc_s.a.'
46464 echo '--------'
46465 echo 'Example:'
46466 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46467 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46468 CleanUp
46469 exit 1
46470 }
46471
46472 # Execute a command.
46473 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46474 # @Uses Whatever CleanUp() uses.
46475 doCommand() {
46476 echo "${D}*"
46477 eval ${D}*
46478 rcCmd=${D}?
46479
46480 if [ ${D}rcCmd -ne 0 ]; then
46481 echo "command failed, exit code="${D}rcCmd
46482 CleanUp
46483 exit ${D}rcCmd
46484 fi
46485 }
46486
46487 # main routine
46488 # setup globals
46489 cmdLine=${D}*
46490 outFile=""
46491 outimpFile=""
46492 inputFiles=""
46493 renameScript=""
46494 description=""
46495 CC=gcc.exe
46496 CFLAGS="-s -Zcrtdll"
46497 EXTRA_CFLAGS=""
46498 EXPORT_BY_ORDINALS=0
46499 exclude_symbols=""
46500 library_flags=""
46501 curDir=\`pwd\`
46502 curDirS=curDir
46503 case ${D}curDirS in
46504 */)
46505 ;;
46506 *)
46507 curDirS=${D}{curDirS}"/"
46508 ;;
46509 esac
46510 # Parse commandline
46511 libsToLink=0
46512 omfLinking=0
46513 while [ ${D}1 ]; do
46514 case ${D}1 in
46515 -ord*)
46516 EXPORT_BY_ORDINALS=1;
46517 ;;
46518 -o*)
46519 shift
46520 outFile=${D}1
46521 ;;
46522 -i*)
46523 shift
46524 outimpFile=${D}1
46525 ;;
46526 -name-mangler-script)
46527 shift
46528 renameScript=${D}1
46529 ;;
46530 -d*)
46531 shift
46532 description=${D}1
46533 ;;
46534 -f*)
46535 shift
46536 CFLAGS=${D}1
46537 ;;
46538 -c*)
46539 shift
46540 CC=${D}1
46541 ;;
46542 -h*)
46543 PrintHelp
46544 ;;
46545 -ex*)
46546 shift
46547 exclude_symbols=${D}{exclude_symbols}${D}1" "
46548 ;;
46549 -libf*)
46550 shift
46551 library_flags=${D}{library_flags}${D}1" "
46552 ;;
46553 -nocrt*)
46554 CFLAGS="-s"
46555 ;;
46556 -nolxl*)
46557 flag_USE_LXLITE=0
46558 ;;
46559 -* | /*)
46560 case ${D}1 in
46561 -L* | -l*)
46562 libsToLink=1
46563 ;;
46564 -Zomf)
46565 omfLinking=1
46566 ;;
46567 *)
46568 ;;
46569 esac
46570 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46571 ;;
46572 *.dll)
46573 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46574 if [ ${D}omfLinking -eq 1 ]; then
46575 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46576 else
46577 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46578 fi
46579 ;;
46580 *)
46581 found=0;
46582 if [ ${D}libsToLink -ne 0 ]; then
46583 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46584 else
46585 for file in ${D}1 ; do
46586 if [ -f ${D}file ]; then
46587 inputFiles="${D}{inputFiles} ${D}file"
46588 found=1
46589 fi
46590 done
46591 if [ ${D}found -eq 0 ]; then
46592 echo "ERROR: No file(s) found: "${D}1
46593 exit 8
46594 fi
46595 fi
46596 ;;
46597 esac
46598 shift
46599 done # iterate cmdline words
46600
46601 #
46602 if [ -z "${D}inputFiles" ]; then
46603 echo "dllar: no input files"
46604 PrintHelp
46605 fi
46606
46607 # Now extract all .o files from .a files
46608 newInputFiles=""
46609 for file in ${D}inputFiles ; do
46610 case ${D}file in
46611 *.a | *.lib)
46612 case ${D}file in
46613 *.a)
46614 suffix=".a"
46615 AR="ar"
46616 ;;
46617 *.lib)
46618 suffix=".lib"
46619 AR="emxomfar"
46620 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46621 ;;
46622 *)
46623 ;;
46624 esac
46625 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46626 mkdir ${D}dirname
46627 if [ ${D}? -ne 0 ]; then
46628 echo "Failed to create subdirectory ./${D}dirname"
46629 CleanUp
46630 exit 8;
46631 fi
46632 # Append '!' to indicate archive
46633 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46634 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46635 cd ${D}curDir
46636 found=0;
46637 for subfile in ${D}dirname/*.o* ; do
46638 if [ -f ${D}subfile ]; then
46639 found=1
46640 if [ -s ${D}subfile ]; then
46641 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46642 newInputFiles="${D}newInputFiles ${D}subfile"
46643 fi
46644 fi
46645 done
46646 if [ ${D}found -eq 0 ]; then
46647 echo "WARNING: there are no files in archive \\'${D}file\\'"
46648 fi
46649 ;;
46650 *)
46651 newInputFiles="${D}{newInputFiles} ${D}file"
46652 ;;
46653 esac
46654 done
46655 inputFiles="${D}newInputFiles"
46656
46657 # Output filename(s).
46658 do_backup=0;
46659 if [ -z ${D}outFile ]; then
46660 do_backup=1;
46661 set outFile ${D}inputFiles; outFile=${D}2
46662 fi
46663
46664 # If it is an archive, remove the '!' and the '_%' suffixes
46665 case ${D}outFile in
46666 *_%!)
46667 outFile=\`basnam ${D}outFile _%!\`
46668 ;;
46669 *)
46670 ;;
46671 esac
46672 case ${D}outFile in
46673 *.dll)
46674 outFile=\`basnam ${D}outFile .dll\`
46675 ;;
46676 *.DLL)
46677 outFile=\`basnam ${D}outFile .DLL\`
46678 ;;
46679 *.o)
46680 outFile=\`basnam ${D}outFile .o\`
46681 ;;
46682 *.obj)
46683 outFile=\`basnam ${D}outFile .obj\`
46684 ;;
46685 *.a)
46686 outFile=\`basnam ${D}outFile .a\`
46687 ;;
46688 *.lib)
46689 outFile=\`basnam ${D}outFile .lib\`
46690 ;;
46691 *)
46692 ;;
46693 esac
46694 case ${D}outimpFile in
46695 *.a)
46696 outimpFile=\`basnam ${D}outimpFile .a\`
46697 ;;
46698 *.lib)
46699 outimpFile=\`basnam ${D}outimpFile .lib\`
46700 ;;
46701 *)
46702 ;;
46703 esac
46704 if [ -z ${D}outimpFile ]; then
46705 outimpFile=${D}outFile
46706 fi
46707 defFile="${D}{outFile}.def"
46708 arcFile="${D}{outimpFile}.a"
46709 arcFile2="${D}{outimpFile}.lib"
46710
46711 #create ${D}dllFile as something matching 8.3 restrictions,
46712 if [ -z ${D}renameScript ] ; then
46713 dllFile="${D}outFile"
46714 else
46715 dllFile=\`${D}renameScript ${D}outimpFile\`
46716 fi
46717
46718 if [ ${D}do_backup -ne 0 ] ; then
46719 if [ -f ${D}arcFile ] ; then
46720 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46721 fi
46722 if [ -f ${D}arcFile2 ] ; then
46723 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46724 fi
46725 fi
46726
46727 # Extract public symbols from all the object files.
46728 tmpdefFile=${D}{defFile}_%
46729 rm -f ${D}tmpdefFile
46730 for file in ${D}inputFiles ; do
46731 case ${D}file in
46732 *!)
46733 ;;
46734 *)
46735 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46736 ;;
46737 esac
46738 done
46739
46740 # Create the def file.
46741 rm -f ${D}defFile
46742 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
46743 dllFile="${D}{dllFile}.dll"
46744 if [ ! -z ${D}description ]; then
46745 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
46746 fi
46747 echo "EXPORTS" >> ${D}defFile
46748
46749 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
46750 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
46751
46752 # Checks if the export is ok or not.
46753 for word in ${D}exclude_symbols; do
46754 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
46755 mv ${D}{tmpdefFile}% ${D}tmpdefFile
46756 done
46757
46758
46759 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46760 sed "=" < ${D}tmpdefFile | \\
46761 sed '
46762 N
46763 : loop
46764 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
46765 t loop
46766 ' > ${D}{tmpdefFile}%
46767 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
46768 else
46769 rm -f ${D}{tmpdefFile}%
46770 fi
46771 cat ${D}tmpdefFile >> ${D}defFile
46772 rm -f ${D}tmpdefFile
46773
46774 # Do linking, create implib, and apply lxlite.
46775 gccCmdl="";
46776 for file in ${D}inputFiles ; do
46777 case ${D}file in
46778 *!)
46779 ;;
46780 *)
46781 gccCmdl="${D}gccCmdl ${D}file"
46782 ;;
46783 esac
46784 done
46785 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
46786 touch "${D}{outFile}.dll"
46787
46788 doCommand "emximp -o ${D}arcFile ${D}defFile"
46789 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
46790 add_flags="";
46791 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
46792 add_flags="-ynd"
46793 fi
46794 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
46795 fi
46796 doCommand "emxomf -s -l ${D}arcFile"
46797
46798 # Successful exit.
46799 CleanUp 1
46800 exit 0
46801 EOF
46802
46803 chmod +x dllar.sh
46804 ;;
46805
46806 powerpc-apple-macos* | \
46807 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
46808 *-*-sunos4* | \
46809 *-*-osf* | \
46810 *-*-dgux5* | \
46811 *-*-sysv5* | \
46812 *-pc-msdosdjgpp )
46813 ;;
46814
46815 *)
46816 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
46817 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
46818 { (exit 1); exit 1; }; }
46819 esac
46820
46821 if test "x$PIC_FLAG" != "x" ; then
46822 PIC_FLAG="$PIC_FLAG -DPIC"
46823 fi
46824
46825 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
46826 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
46827 fi
46828 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
46829 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
46830 fi
46831
46832
46833
46834
46835
46836
46837
46838
46839
46840 USE_SOVERSION=0
46841 USE_SOVERLINUX=0
46842 USE_SOVERSOLARIS=0
46843 USE_SOVERCYGWIN=0
46844 USE_SOSYMLINKS=0
46845 USE_MACVERSION=0
46846 SONAME_FLAG=
46847
46848 case "${BAKEFILE_HOST}" in
46849 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
46850 SONAME_FLAG="-Wl,-soname,"
46851 USE_SOVERSION=1
46852 USE_SOVERLINUX=1
46853 USE_SOSYMLINKS=1
46854 ;;
46855
46856 *-*-solaris2* )
46857 SONAME_FLAG="-h "
46858 USE_SOVERSION=1
46859 USE_SOVERSOLARIS=1
46860 USE_SOSYMLINKS=1
46861 ;;
46862
46863 *-*-darwin* )
46864 USE_MACVERSION=1
46865 USE_SOVERSION=1
46866 USE_SOSYMLINKS=1
46867 ;;
46868
46869 *-*-cygwin* )
46870 USE_SOVERSION=1
46871 USE_SOVERCYGWIN=1
46872 ;;
46873 esac
46874
46875
46876
46877
46878
46879
46880
46881
46882
46883
46884 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
46885 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
46886 DEPS_TRACKING=1
46887
46888 if test "x$GCC" = "xyes"; then
46889 DEPSMODE=gcc
46890 case "${BAKEFILE_HOST}" in
46891 *-*-darwin* )
46892 DEPSFLAG="-no-cpp-precomp -MMD"
46893 ;;
46894 * )
46895 DEPSFLAG="-MMD"
46896 ;;
46897 esac
46898 echo "$as_me:$LINENO: result: gcc" >&5
46899 echo "${ECHO_T}gcc" >&6
46900 elif test "x$MWCC" = "xyes"; then
46901 DEPSMODE=mwcc
46902 DEPSFLAG="-MM"
46903 echo "$as_me:$LINENO: result: mwcc" >&5
46904 echo "${ECHO_T}mwcc" >&6
46905 elif test "x$SUNCC" = "xyes"; then
46906 DEPSMODE=unixcc
46907 DEPSFLAG="-xM1"
46908 echo "$as_me:$LINENO: result: Sun cc" >&5
46909 echo "${ECHO_T}Sun cc" >&6
46910 elif test "x$SGICC" = "xyes"; then
46911 DEPSMODE=unixcc
46912 DEPSFLAG="-M"
46913 echo "$as_me:$LINENO: result: SGI cc" >&5
46914 echo "${ECHO_T}SGI cc" >&6
46915 elif test "x$HPCC" = "xyes"; then
46916 DEPSMODE=unixcc
46917 DEPSFLAG="+make"
46918 echo "$as_me:$LINENO: result: HP cc" >&5
46919 echo "${ECHO_T}HP cc" >&6
46920 elif test "x$COMPAQCC" = "xyes"; then
46921 DEPSMODE=gcc
46922 DEPSFLAG="-MD"
46923 echo "$as_me:$LINENO: result: Compaq cc" >&5
46924 echo "${ECHO_T}Compaq cc" >&6
46925 else
46926 DEPS_TRACKING=0
46927 echo "$as_me:$LINENO: result: none" >&5
46928 echo "${ECHO_T}none" >&6
46929 fi
46930
46931 if test $DEPS_TRACKING = 1 ; then
46932
46933 D='$'
46934 cat <<EOF >bk-deps
46935 #!/bin/sh
46936
46937 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
46938 # script. It is used to track C/C++ files dependencies in portable way.
46939 #
46940 # Permission is given to use this file in any way.
46941
46942 DEPSMODE=${DEPSMODE}
46943 DEPSDIR=.deps
46944 DEPSFLAG="${DEPSFLAG}"
46945
46946 mkdir -p ${D}DEPSDIR
46947
46948 if test ${D}DEPSMODE = gcc ; then
46949 ${D}* ${D}{DEPSFLAG}
46950 status=${D}?
46951 if test ${D}{status} != 0 ; then
46952 exit ${D}{status}
46953 fi
46954 # move created file to the location we want it in:
46955 while test ${D}# -gt 0; do
46956 case "${D}1" in
46957 -o )
46958 shift
46959 objfile=${D}1
46960 ;;
46961 -* )
46962 ;;
46963 * )
46964 srcfile=${D}1
46965 ;;
46966 esac
46967 shift
46968 done
46969 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
46970 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
46971 if test -f ${D}depfile ; then
46972 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46973 rm -f ${D}depfile
46974 else
46975 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
46976 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
46977 if test ! -f ${D}depfile ; then
46978 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
46979 depfile="${D}objfile.d"
46980 fi
46981 if test -f ${D}depfile ; then
46982 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
46983 rm -f ${D}depfile
46984 fi
46985 fi
46986 exit 0
46987 elif test ${D}DEPSMODE = mwcc ; then
46988 ${D}* || exit ${D}?
46989 # Run mwcc again with -MM and redirect into the dep file we want
46990 # NOTE: We can't use shift here because we need ${D}* to be valid
46991 prevarg=
46992 for arg in ${D}* ; do
46993 if test "${D}prevarg" = "-o"; then
46994 objfile=${D}arg
46995 else
46996 case "${D}arg" in
46997 -* )
46998 ;;
46999 * )
47000 srcfile=${D}arg
47001 ;;
47002 esac
47003 fi
47004 prevarg="${D}arg"
47005 done
47006 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47007 exit 0
47008 elif test ${D}DEPSMODE = unixcc; then
47009 ${D}* || exit ${D}?
47010 # Run compiler again with deps flag and redirect into the dep file.
47011 # It doesn't work if the '-o FILE' option is used, but without it the
47012 # dependency file will contain the wrong name for the object. So it is
47013 # removed from the command line, and the dep file is fixed with sed.
47014 cmd=""
47015 while test ${D}# -gt 0; do
47016 case "${D}1" in
47017 -o )
47018 shift
47019 objfile=${D}1
47020 ;;
47021 * )
47022 eval arg${D}#=\\${D}1
47023 cmd="${D}cmd \\${D}arg${D}#"
47024 ;;
47025 esac
47026 shift
47027 done
47028 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47029 exit 0
47030 else
47031 ${D}*
47032 exit ${D}?
47033 fi
47034 EOF
47035
47036 chmod +x bk-deps
47037 fi
47038
47039
47040
47041
47042 case ${BAKEFILE_HOST} in
47043 *-*-cygwin* | *-*-mingw32* )
47044 if test -n "$ac_tool_prefix"; then
47045 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47046 set dummy ${ac_tool_prefix}windres; ac_word=$2
47047 echo "$as_me:$LINENO: checking for $ac_word" >&5
47048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47049 if test "${ac_cv_prog_WINDRES+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47051 else
47052 if test -n "$WINDRES"; then
47053 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47054 else
47055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47056 for as_dir in $PATH
47057 do
47058 IFS=$as_save_IFS
47059 test -z "$as_dir" && as_dir=.
47060 for ac_exec_ext in '' $ac_executable_extensions; do
47061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47062 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47064 break 2
47065 fi
47066 done
47067 done
47068
47069 fi
47070 fi
47071 WINDRES=$ac_cv_prog_WINDRES
47072 if test -n "$WINDRES"; then
47073 echo "$as_me:$LINENO: result: $WINDRES" >&5
47074 echo "${ECHO_T}$WINDRES" >&6
47075 else
47076 echo "$as_me:$LINENO: result: no" >&5
47077 echo "${ECHO_T}no" >&6
47078 fi
47079
47080 fi
47081 if test -z "$ac_cv_prog_WINDRES"; then
47082 ac_ct_WINDRES=$WINDRES
47083 # Extract the first word of "windres", so it can be a program name with args.
47084 set dummy windres; ac_word=$2
47085 echo "$as_me:$LINENO: checking for $ac_word" >&5
47086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47087 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47088 echo $ECHO_N "(cached) $ECHO_C" >&6
47089 else
47090 if test -n "$ac_ct_WINDRES"; then
47091 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47092 else
47093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47094 for as_dir in $PATH
47095 do
47096 IFS=$as_save_IFS
47097 test -z "$as_dir" && as_dir=.
47098 for ac_exec_ext in '' $ac_executable_extensions; do
47099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47100 ac_cv_prog_ac_ct_WINDRES="windres"
47101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47102 break 2
47103 fi
47104 done
47105 done
47106
47107 fi
47108 fi
47109 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47110 if test -n "$ac_ct_WINDRES"; then
47111 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47112 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47113 else
47114 echo "$as_me:$LINENO: result: no" >&5
47115 echo "${ECHO_T}no" >&6
47116 fi
47117
47118 WINDRES=$ac_ct_WINDRES
47119 else
47120 WINDRES="$ac_cv_prog_WINDRES"
47121 fi
47122
47123 ;;
47124
47125 *-*-darwin* | powerpc-apple-macos* )
47126 # Extract the first word of "Rez", so it can be a program name with args.
47127 set dummy Rez; ac_word=$2
47128 echo "$as_me:$LINENO: checking for $ac_word" >&5
47129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47130 if test "${ac_cv_prog_REZ+set}" = set; then
47131 echo $ECHO_N "(cached) $ECHO_C" >&6
47132 else
47133 if test -n "$REZ"; then
47134 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47135 else
47136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47137 for as_dir in $PATH
47138 do
47139 IFS=$as_save_IFS
47140 test -z "$as_dir" && as_dir=.
47141 for ac_exec_ext in '' $ac_executable_extensions; do
47142 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47143 ac_cv_prog_REZ="Rez"
47144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47145 break 2
47146 fi
47147 done
47148 done
47149
47150 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47151 fi
47152 fi
47153 REZ=$ac_cv_prog_REZ
47154 if test -n "$REZ"; then
47155 echo "$as_me:$LINENO: result: $REZ" >&5
47156 echo "${ECHO_T}$REZ" >&6
47157 else
47158 echo "$as_me:$LINENO: result: no" >&5
47159 echo "${ECHO_T}no" >&6
47160 fi
47161
47162 # Extract the first word of "SetFile", so it can be a program name with args.
47163 set dummy SetFile; ac_word=$2
47164 echo "$as_me:$LINENO: checking for $ac_word" >&5
47165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47166 if test "${ac_cv_prog_SETFILE+set}" = set; then
47167 echo $ECHO_N "(cached) $ECHO_C" >&6
47168 else
47169 if test -n "$SETFILE"; then
47170 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47171 else
47172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47173 for as_dir in $PATH
47174 do
47175 IFS=$as_save_IFS
47176 test -z "$as_dir" && as_dir=.
47177 for ac_exec_ext in '' $ac_executable_extensions; do
47178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47179 ac_cv_prog_SETFILE="SetFile"
47180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47181 break 2
47182 fi
47183 done
47184 done
47185
47186 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47187 fi
47188 fi
47189 SETFILE=$ac_cv_prog_SETFILE
47190 if test -n "$SETFILE"; then
47191 echo "$as_me:$LINENO: result: $SETFILE" >&5
47192 echo "${ECHO_T}$SETFILE" >&6
47193 else
47194 echo "$as_me:$LINENO: result: no" >&5
47195 echo "${ECHO_T}no" >&6
47196 fi
47197
47198 ;;
47199 esac
47200
47201
47202
47203
47204
47205
47206 BAKEFILE_BAKEFILE_M4_VERSION="0.1.9"
47207
47208
47209 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.9"
47210
47211
47212
47213 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47214 if test "${enable_precomp_headers+set}" = set; then
47215 enableval="$enable_precomp_headers"
47216 bk_use_pch="$enableval"
47217 fi;
47218
47219 GCC_PCH=0
47220
47221 case ${BAKEFILE_HOST} in
47222 *-*-cygwin* )
47223 bk_use_pch="no"
47224 ;;
47225 esac
47226
47227 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47228 if test "x$GCC" = "xyes"; then
47229 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47230 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47231 cat >conftest.$ac_ext <<_ACEOF
47232 /* confdefs.h. */
47233 _ACEOF
47234 cat confdefs.h >>conftest.$ac_ext
47235 cat >>conftest.$ac_ext <<_ACEOF
47236 /* end confdefs.h. */
47237
47238 int
47239 main ()
47240 {
47241
47242 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47243 #error "no pch support"
47244 #endif
47245 #if (__GNUC__ < 3)
47246 #error "no pch support"
47247 #endif
47248 #if (__GNUC__ == 3) && \
47249 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47250 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3)))
47251 #error "no pch support"
47252 #endif
47253
47254 ;
47255 return 0;
47256 }
47257 _ACEOF
47258 rm -f conftest.$ac_objext
47259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47260 (eval $ac_compile) 2>conftest.er1
47261 ac_status=$?
47262 grep -v '^ *+' conftest.er1 >conftest.err
47263 rm -f conftest.er1
47264 cat conftest.err >&5
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); } &&
47267 { ac_try='test -z "$ac_c_werror_flag"
47268 || test ! -s conftest.err'
47269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47270 (eval $ac_try) 2>&5
47271 ac_status=$?
47272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47273 (exit $ac_status); }; } &&
47274 { ac_try='test -s conftest.$ac_objext'
47275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47276 (eval $ac_try) 2>&5
47277 ac_status=$?
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); }; }; then
47280
47281 echo "$as_me:$LINENO: result: yes" >&5
47282 echo "${ECHO_T}yes" >&6
47283 GCC_PCH=1
47284
47285 else
47286 echo "$as_me: failed program was:" >&5
47287 sed 's/^/| /' conftest.$ac_ext >&5
47288
47289
47290 echo "$as_me:$LINENO: result: no" >&5
47291 echo "${ECHO_T}no" >&6
47292
47293 fi
47294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47295 if test $GCC_PCH = 1 ; then
47296
47297 D='$'
47298 cat <<EOF >bk-make-pch
47299 #!/bin/sh
47300
47301 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47302 # script. It is used to generated precompiled headers.
47303 #
47304 # Permission is given to use this file in any way.
47305
47306 outfile="${D}{1}"
47307 header="${D}{2}"
47308 shift
47309 shift
47310
47311 compiler=
47312 headerfile=
47313 while test ${D}{#} -gt 0; do
47314 case "${D}{1}" in
47315 -I* )
47316 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47317 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47318 headerfile="${D}{incdir}/${D}{header}"
47319 fi
47320 ;;
47321 esac
47322 compiler="${D}{compiler} ${D}{1}"
47323 shift
47324 done
47325
47326 if test "x${D}{headerfile}" = "x" ; then
47327 echo "error: can't find header ${D}{header} in include paths" >2
47328 else
47329 if test -f ${D}{outfile} ; then
47330 rm -f ${D}{outfile}
47331 else
47332 mkdir -p \`dirname ${D}{outfile}\`
47333 fi
47334 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47335 mkdir -p .deps
47336 # can do this because gcc is >= 3.4:
47337 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47338 exit ${D}{?}
47339 fi
47340 EOF
47341
47342 chmod +x bk-make-pch
47343 fi
47344 fi
47345 fi
47346
47347
47348
47349 COND_BUILD_DEBUG="#"
47350 if test "x$BUILD" = "xdebug" ; then
47351 COND_BUILD_DEBUG=""
47352 fi
47353
47354 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47355 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47356 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47357 fi
47358
47359 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47360 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47361 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47362 fi
47363
47364 COND_BUILD_DEBUG_UNICODE_0="#"
47365 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47366 COND_BUILD_DEBUG_UNICODE_0=""
47367 fi
47368
47369 COND_BUILD_DEBUG_UNICODE_1="#"
47370 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47371 COND_BUILD_DEBUG_UNICODE_1=""
47372 fi
47373
47374 COND_BUILD_RELEASE="#"
47375 if test "x$BUILD" = "xrelease" ; then
47376 COND_BUILD_RELEASE=""
47377 fi
47378
47379 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47380 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47381 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47382 fi
47383
47384 COND_BUILD_RELEASE_UNICODE_0="#"
47385 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47386 COND_BUILD_RELEASE_UNICODE_0=""
47387 fi
47388
47389 COND_BUILD_RELEASE_UNICODE_1="#"
47390 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47391 COND_BUILD_RELEASE_UNICODE_1=""
47392 fi
47393
47394 COND_DEBUG_FLAG_1="#"
47395 if test "x$DEBUG_FLAG" = "x1" ; then
47396 COND_DEBUG_FLAG_1=""
47397 fi
47398
47399 COND_DEBUG_INFO_0="#"
47400 if test "x$DEBUG_INFO" = "x0" ; then
47401 COND_DEBUG_INFO_0=""
47402 fi
47403
47404 COND_DEBUG_INFO_1="#"
47405 if test "x$DEBUG_INFO" = "x1" ; then
47406 COND_DEBUG_INFO_1=""
47407 fi
47408
47409 COND_DEPS_TRACKING_0="#"
47410 if test "x$DEPS_TRACKING" = "x0" ; then
47411 COND_DEPS_TRACKING_0=""
47412 fi
47413
47414 COND_DEPS_TRACKING_1="#"
47415 if test "x$DEPS_TRACKING" = "x1" ; then
47416 COND_DEPS_TRACKING_1=""
47417 fi
47418
47419 COND_GCC_PCH_1="#"
47420 if test "x$GCC_PCH" = "x1" ; then
47421 COND_GCC_PCH_1=""
47422 fi
47423
47424 COND_MONOLITHIC_0="#"
47425 if test "x$MONOLITHIC" = "x0" ; then
47426 COND_MONOLITHIC_0=""
47427 fi
47428
47429 COND_MONOLITHIC_0_SHARED_0="#"
47430 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47431 COND_MONOLITHIC_0_SHARED_0=""
47432 fi
47433
47434 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47435 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47436 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47437 fi
47438
47439 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47440 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47441 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47442 fi
47443
47444 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47445 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47446 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47447 fi
47448
47449 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47450 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47451 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47452 fi
47453
47454 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47455 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47456 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47457 fi
47458
47459 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47460 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47461 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47462 fi
47463
47464 COND_MONOLITHIC_0_SHARED_1="#"
47465 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47466 COND_MONOLITHIC_0_SHARED_1=""
47467 fi
47468
47469 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47470 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47472 fi
47473
47474 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47475 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47477 fi
47478
47479 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47480 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47482 fi
47483
47484 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47485 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47487 fi
47488
47489 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47490 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47491 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47492 fi
47493
47494 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47495 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47496 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47497 fi
47498
47499 COND_MONOLITHIC_0_USE_ODBC_1="#"
47500 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47501 COND_MONOLITHIC_0_USE_ODBC_1=""
47502 fi
47503
47504 COND_MONOLITHIC_1="#"
47505 if test "x$MONOLITHIC" = "x1" ; then
47506 COND_MONOLITHIC_1=""
47507 fi
47508
47509 COND_MONOLITHIC_1_SHARED_0="#"
47510 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47511 COND_MONOLITHIC_1_SHARED_0=""
47512 fi
47513
47514 COND_MONOLITHIC_1_SHARED_1="#"
47515 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47516 COND_MONOLITHIC_1_SHARED_1=""
47517 fi
47518
47519 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47520 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47521 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47522 fi
47523
47524 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47525 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47526 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47527 fi
47528
47529 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47530 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47531 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
47532 fi
47533
47534 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
47535 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47536 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
47537 fi
47538
47539 COND_PLATFORM_MACOSX_1="#"
47540 if test "x$PLATFORM_MACOSX" = "x1" ; then
47541 COND_PLATFORM_MACOSX_1=""
47542 fi
47543
47544 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
47545 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
47546 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
47547 fi
47548
47549 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
47550 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
47551 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
47552 fi
47553
47554 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
47555 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
47556 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
47557 fi
47558
47559 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
47560 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
47561 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
47562 fi
47563
47564 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
47565 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47566 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
47567 fi
47568
47569 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47570 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47571 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47572 fi
47573
47574 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
47575 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
47576 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
47577 fi
47578
47579 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
47580 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
47581 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
47582 fi
47583
47584 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
47585 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
47586 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
47587 fi
47588
47589 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
47590 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47591 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
47592 fi
47593
47594 COND_PLATFORM_MACOS_1="#"
47595 if test "x$PLATFORM_MACOS" = "x1" ; then
47596 COND_PLATFORM_MACOS_1=""
47597 fi
47598
47599 COND_PLATFORM_MAC_1="#"
47600 if test "x$PLATFORM_MAC" = "x1" ; then
47601 COND_PLATFORM_MAC_1=""
47602 fi
47603
47604 COND_PLATFORM_MSDOS_1="#"
47605 if test "x$PLATFORM_MSDOS" = "x1" ; then
47606 COND_PLATFORM_MSDOS_1=""
47607 fi
47608
47609 COND_PLATFORM_OS2_1="#"
47610 if test "x$PLATFORM_OS2" = "x1" ; then
47611 COND_PLATFORM_OS2_1=""
47612 fi
47613
47614 COND_PLATFORM_UNIX_0="#"
47615 if test "x$PLATFORM_UNIX" = "x0" ; then
47616 COND_PLATFORM_UNIX_0=""
47617 fi
47618
47619 COND_PLATFORM_UNIX_1="#"
47620 if test "x$PLATFORM_UNIX" = "x1" ; then
47621 COND_PLATFORM_UNIX_1=""
47622 fi
47623
47624 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
47625 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
47626 COND_PLATFORM_UNIX_1_USE_GUI_1=""
47627 fi
47628
47629 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
47630 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
47631 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
47632 fi
47633
47634 COND_PLATFORM_WIN32_0="#"
47635 if test "x$PLATFORM_WIN32" = "x0" ; then
47636 COND_PLATFORM_WIN32_0=""
47637 fi
47638
47639 COND_PLATFORM_WIN32_1="#"
47640 if test "x$PLATFORM_WIN32" = "x1" ; then
47641 COND_PLATFORM_WIN32_1=""
47642 fi
47643
47644 COND_SHARED_0="#"
47645 if test "x$SHARED" = "x0" ; then
47646 COND_SHARED_0=""
47647 fi
47648
47649 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
47650 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
47651 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
47652 fi
47653
47654 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
47655 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47656 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
47657 fi
47658
47659 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
47660 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
47661 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
47662 fi
47663
47664 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
47665 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47666 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
47667 fi
47668
47669 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47670 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47671 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47672 fi
47673
47674 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47675 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47676 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47677 fi
47678
47679 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47680 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47681 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47682 fi
47683
47684 COND_SHARED_0_USE_XRC_1="#"
47685 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47686 COND_SHARED_0_USE_XRC_1=""
47687 fi
47688
47689 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
47690 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
47691 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
47692 fi
47693
47694 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
47695 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
47696 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
47697 fi
47698
47699 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
47700 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
47701 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
47702 fi
47703
47704 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
47705 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
47706 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
47707 fi
47708
47709 COND_SHARED_1="#"
47710 if test "x$SHARED" = "x1" ; then
47711 COND_SHARED_1=""
47712 fi
47713
47714 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
47715 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
47716 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
47717 fi
47718
47719 COND_SHARED_1_USE_XRC_1="#"
47720 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47721 COND_SHARED_1_USE_XRC_1=""
47722 fi
47723
47724 COND_TOOLKIT_="#"
47725 if test "x$TOOLKIT" = "x" ; then
47726 COND_TOOLKIT_=""
47727 fi
47728
47729 COND_TOOLKIT_COCOA="#"
47730 if test "x$TOOLKIT" = "xCOCOA" ; then
47731 COND_TOOLKIT_COCOA=""
47732 fi
47733
47734 COND_TOOLKIT_COCOA_USE_GUI_1="#"
47735 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
47736 COND_TOOLKIT_COCOA_USE_GUI_1=""
47737 fi
47738
47739 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
47740 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47741 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
47742 fi
47743
47744 COND_TOOLKIT_GTK="#"
47745 if test "x$TOOLKIT" = "xGTK" ; then
47746 COND_TOOLKIT_GTK=""
47747 fi
47748
47749 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
47750 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
47751 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
47752 fi
47753
47754 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
47755 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
47756 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
47757 fi
47758
47759 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
47760 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
47761 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
47762 fi
47763
47764 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
47765 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47766 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
47767 fi
47768
47769 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
47770 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
47771 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
47772 fi
47773
47774 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
47775 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47776 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
47777 fi
47778
47779 COND_TOOLKIT_GTK_USE_GUI_1="#"
47780 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
47781 COND_TOOLKIT_GTK_USE_GUI_1=""
47782 fi
47783
47784 COND_TOOLKIT_MAC="#"
47785 if test "x$TOOLKIT" = "xMAC" ; then
47786 COND_TOOLKIT_MAC=""
47787 fi
47788
47789 COND_TOOLKIT_MAC_USE_GUI_1="#"
47790 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
47791 COND_TOOLKIT_MAC_USE_GUI_1=""
47792 fi
47793
47794 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
47795 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47796 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
47797 fi
47798
47799 COND_TOOLKIT_MGL="#"
47800 if test "x$TOOLKIT" = "xMGL" ; then
47801 COND_TOOLKIT_MGL=""
47802 fi
47803
47804 COND_TOOLKIT_MGL_USE_GUI_1="#"
47805 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
47806 COND_TOOLKIT_MGL_USE_GUI_1=""
47807 fi
47808
47809 COND_TOOLKIT_MOTIF="#"
47810 if test "x$TOOLKIT" = "xMOTIF" ; then
47811 COND_TOOLKIT_MOTIF=""
47812 fi
47813
47814 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
47815 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
47816 COND_TOOLKIT_MOTIF_USE_GUI_1=""
47817 fi
47818
47819 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
47820 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47821 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
47822 fi
47823
47824 COND_TOOLKIT_MSW="#"
47825 if test "x$TOOLKIT" = "xMSW" ; then
47826 COND_TOOLKIT_MSW=""
47827 fi
47828
47829 COND_TOOLKIT_MSW_USE_GUI_1="#"
47830 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
47831 COND_TOOLKIT_MSW_USE_GUI_1=""
47832 fi
47833
47834 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
47835 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47836 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
47837 fi
47838
47839 COND_TOOLKIT_MSW_WXUNIV_0="#"
47840 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
47841 COND_TOOLKIT_MSW_WXUNIV_0=""
47842 fi
47843
47844 COND_TOOLKIT_PM="#"
47845 if test "x$TOOLKIT" = "xPM" ; then
47846 COND_TOOLKIT_PM=""
47847 fi
47848
47849 COND_TOOLKIT_PM_USE_GUI_1="#"
47850 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
47851 COND_TOOLKIT_PM_USE_GUI_1=""
47852 fi
47853
47854 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
47855 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47856 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
47857 fi
47858
47859 COND_TOOLKIT_WINCE="#"
47860 if test "x$TOOLKIT" = "xWINCE" ; then
47861 COND_TOOLKIT_WINCE=""
47862 fi
47863
47864 COND_TOOLKIT_WINCE_USE_GUI_1="#"
47865 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
47866 COND_TOOLKIT_WINCE_USE_GUI_1=""
47867 fi
47868
47869 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
47870 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47871 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
47872 fi
47873
47874 COND_TOOLKIT_WINCE_WXUNIV_0="#"
47875 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
47876 COND_TOOLKIT_WINCE_WXUNIV_0=""
47877 fi
47878
47879 COND_TOOLKIT_X11="#"
47880 if test "x$TOOLKIT" = "xX11" ; then
47881 COND_TOOLKIT_X11=""
47882 fi
47883
47884 COND_TOOLKIT_X11_USE_GUI_1="#"
47885 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
47886 COND_TOOLKIT_X11_USE_GUI_1=""
47887 fi
47888
47889 COND_UNICODE_1="#"
47890 if test "x$UNICODE" = "x1" ; then
47891 COND_UNICODE_1=""
47892 fi
47893
47894 COND_USE_EXCEPTIONS_0="#"
47895 if test "x$USE_EXCEPTIONS" = "x0" ; then
47896 COND_USE_EXCEPTIONS_0=""
47897 fi
47898
47899 COND_USE_EXCEPTIONS_1="#"
47900 if test "x$USE_EXCEPTIONS" = "x1" ; then
47901 COND_USE_EXCEPTIONS_1=""
47902 fi
47903
47904 COND_USE_GUI_0="#"
47905 if test "x$USE_GUI" = "x0" ; then
47906 COND_USE_GUI_0=""
47907 fi
47908
47909 COND_USE_GUI_1="#"
47910 if test "x$USE_GUI" = "x1" ; then
47911 COND_USE_GUI_1=""
47912 fi
47913
47914 COND_USE_GUI_1_WXUNIV_0="#"
47915 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
47916 COND_USE_GUI_1_WXUNIV_0=""
47917 fi
47918
47919 COND_USE_GUI_1_WXUNIV_1="#"
47920 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
47921 COND_USE_GUI_1_WXUNIV_1=""
47922 fi
47923
47924 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
47925 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
47926 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
47927 fi
47928
47929 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
47930 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
47931 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
47932 fi
47933
47934 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
47935 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
47936 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
47937 fi
47938
47939 COND_USE_ODBC_1="#"
47940 if test "x$USE_ODBC" = "x1" ; then
47941 COND_USE_ODBC_1=""
47942 fi
47943
47944 COND_USE_OPENGL_1="#"
47945 if test "x$USE_OPENGL" = "x1" ; then
47946 COND_USE_OPENGL_1=""
47947 fi
47948
47949 COND_USE_PLUGINS_0="#"
47950 if test "x$USE_PLUGINS" = "x0" ; then
47951 COND_USE_PLUGINS_0=""
47952 fi
47953
47954 COND_USE_RTTI_0="#"
47955 if test "x$USE_RTTI" = "x0" ; then
47956 COND_USE_RTTI_0=""
47957 fi
47958
47959 COND_USE_RTTI_1="#"
47960 if test "x$USE_RTTI" = "x1" ; then
47961 COND_USE_RTTI_1=""
47962 fi
47963
47964 COND_USE_SOSYMLINKS_1="#"
47965 if test "x$USE_SOSYMLINKS" = "x1" ; then
47966 COND_USE_SOSYMLINKS_1=""
47967 fi
47968
47969 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
47970 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
47971 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
47972 fi
47973
47974 COND_USE_SOVERLINUX_1="#"
47975 if test "x$USE_SOVERLINUX" = "x1" ; then
47976 COND_USE_SOVERLINUX_1=""
47977 fi
47978
47979 COND_USE_SOVERSION_0="#"
47980 if test "x$USE_SOVERSION" = "x0" ; then
47981 COND_USE_SOVERSION_0=""
47982 fi
47983
47984 COND_USE_SOVERSOLARIS_1="#"
47985 if test "x$USE_SOVERSOLARIS" = "x1" ; then
47986 COND_USE_SOVERSOLARIS_1=""
47987 fi
47988
47989 COND_USE_THREADS_0="#"
47990 if test "x$USE_THREADS" = "x0" ; then
47991 COND_USE_THREADS_0=""
47992 fi
47993
47994 COND_USE_THREADS_1="#"
47995 if test "x$USE_THREADS" = "x1" ; then
47996 COND_USE_THREADS_1=""
47997 fi
47998
47999 COND_USE_XRC_1="#"
48000 if test "x$USE_XRC" = "x1" ; then
48001 COND_USE_XRC_1=""
48002 fi
48003
48004 COND_WINDOWS_IMPLIB_1="#"
48005 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48006 COND_WINDOWS_IMPLIB_1=""
48007 fi
48008
48009 COND_WITH_PLUGIN_SDL_1="#"
48010 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48011 COND_WITH_PLUGIN_SDL_1=""
48012 fi
48013
48014 COND_WXUNIV_0="#"
48015 if test "x$WXUNIV" = "x0" ; then
48016 COND_WXUNIV_0=""
48017 fi
48018
48019 COND_WXUNIV_1="#"
48020 if test "x$WXUNIV" = "x1" ; then
48021 COND_WXUNIV_1=""
48022 fi
48023
48024 COND_WXUSE_EXPAT_BUILTIN="#"
48025 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48026 COND_WXUSE_EXPAT_BUILTIN=""
48027 fi
48028
48029 COND_WXUSE_LIBJPEG_BUILTIN="#"
48030 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48031 COND_WXUSE_LIBJPEG_BUILTIN=""
48032 fi
48033
48034 COND_WXUSE_LIBPNG_BUILTIN="#"
48035 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48036 COND_WXUSE_LIBPNG_BUILTIN=""
48037 fi
48038
48039 COND_WXUSE_LIBTIFF_BUILTIN="#"
48040 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48041 COND_WXUSE_LIBTIFF_BUILTIN=""
48042 fi
48043
48044 COND_WXUSE_ODBC_BUILTIN="#"
48045 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48046 COND_WXUSE_ODBC_BUILTIN=""
48047 fi
48048
48049 COND_WXUSE_REGEX_BUILTIN="#"
48050 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48051 COND_WXUSE_REGEX_BUILTIN=""
48052 fi
48053
48054 COND_WXUSE_ZLIB_BUILTIN="#"
48055 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48056 COND_WXUSE_ZLIB_BUILTIN=""
48057 fi
48058
48059
48060
48061 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48062 { { echo "$as_me:$LINENO: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&5
48063 echo "$as_me: error: No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" >&2;}
48064 { (exit 1); exit 1; }; }
48065 fi
48066
48067 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48068 { { echo "$as_me:$LINENO: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&5
48069 echo "$as_me: error: Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." >&2;}
48070 { (exit 1); exit 1; }; }
48071 fi
48072
48073
48074
48075 if test "$wxUSE_MAC" = 1 ; then
48076 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48077 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48078 mv temp bk-deps
48079 chmod +x bk-deps
48080 fi
48081 fi
48082
48083 if test "$wxUSE_SHARED" = "yes"; then
48084
48085 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48086 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48087
48088 case "${host}" in
48089 *-pc-os2_emx | *-pc-os2-emx )
48090 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48091 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48092 cp -p ${srcdir}/src/os2/dllnames.sh .
48093 cp -p ${srcdir}/src/os2/dllar.sh .
48094 ;;
48095 esac
48096 else
48097
48098 EXE_LINKER="$CXX -o"
48099
48100 fi
48101 if test "$wxUSE_OMF" = "yes"; then
48102 case "${host}" in
48103 *-pc-os2_emx | *-pc-os2-emx )
48104 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48105 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48106 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48107 ;;
48108 esac
48109 fi
48110
48111 if test $GCC_PCH = 1 ; then
48112 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48113 fi
48114
48115 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48116
48117 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48118
48119
48120
48121
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141
48142
48143
48144
48145
48146
48147
48148
48149
48150
48151
48152
48153
48154
48155
48156
48157
48158
48159
48160
48161
48162
48163
48164
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48180 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48181 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48182 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48183 echo $ECHO_N "(cached) $ECHO_C" >&6
48184 else
48185 cat >conftest.make <<\_ACEOF
48186 all:
48187 @echo 'ac_maketemp="$(MAKE)"'
48188 _ACEOF
48189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48190 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48191 if test -n "$ac_maketemp"; then
48192 eval ac_cv_prog_make_${ac_make}_set=yes
48193 else
48194 eval ac_cv_prog_make_${ac_make}_set=no
48195 fi
48196 rm -f conftest.make
48197 fi
48198 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48199 echo "$as_me:$LINENO: result: yes" >&5
48200 echo "${ECHO_T}yes" >&6
48201 SET_MAKE=
48202 else
48203 echo "$as_me:$LINENO: result: no" >&5
48204 echo "${ECHO_T}no" >&6
48205 SET_MAKE="MAKE=${MAKE-make}"
48206 fi
48207
48208
48209
48210 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48211
48212
48213 if test "$USE_WIN32" = 1; then
48214 ac_config_commands="$ac_config_commands
48215 rcdefs.h
48216 "
48217
48218 fi
48219
48220 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48221
48222
48223 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48224
48225
48226 ac_config_files="$ac_config_files version-script Makefile"
48227
48228
48229 ac_config_commands="$ac_config_commands wx-config"
48230
48231
48232
48233 if test "$wxWITH_SUBDIRS" != "no"; then
48234 if test "$wxUSE_GUI" = "yes"; then
48235 SUBDIRS="samples demos utils contrib"
48236 else SUBDIRS="samples utils"
48237 fi
48238
48239
48240
48241 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48242 if test "${with_cppunit_prefix+set}" = set; then
48243 withval="$with_cppunit_prefix"
48244 cppunit_config_prefix="$withval"
48245 else
48246 cppunit_config_prefix=""
48247 fi;
48248
48249 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48250 if test "${with_cppunit_exec_prefix+set}" = set; then
48251 withval="$with_cppunit_exec_prefix"
48252 cppunit_config_exec_prefix="$withval"
48253 else
48254 cppunit_config_exec_prefix=""
48255 fi;
48256
48257 if test x$cppunit_config_exec_prefix != x ; then
48258 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48259 if test x${CPPUNIT_CONFIG+set} != xset ; then
48260 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48261 fi
48262 fi
48263 if test x$cppunit_config_prefix != x ; then
48264 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48265 if test x${CPPUNIT_CONFIG+set} != xset ; then
48266 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48267 fi
48268 fi
48269
48270 # Extract the first word of "cppunit-config", so it can be a program name with args.
48271 set dummy cppunit-config; ac_word=$2
48272 echo "$as_me:$LINENO: checking for $ac_word" >&5
48273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48274 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48275 echo $ECHO_N "(cached) $ECHO_C" >&6
48276 else
48277 case $CPPUNIT_CONFIG in
48278 [\\/]* | ?:[\\/]*)
48279 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48280 ;;
48281 *)
48282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48283 for as_dir in $PATH
48284 do
48285 IFS=$as_save_IFS
48286 test -z "$as_dir" && as_dir=.
48287 for ac_exec_ext in '' $ac_executable_extensions; do
48288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48289 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48291 break 2
48292 fi
48293 done
48294 done
48295
48296 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48297 ;;
48298 esac
48299 fi
48300 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48301
48302 if test -n "$CPPUNIT_CONFIG"; then
48303 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48304 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48305 else
48306 echo "$as_me:$LINENO: result: no" >&5
48307 echo "${ECHO_T}no" >&6
48308 fi
48309
48310 cppunit_version_min=1.8.0
48311
48312 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48313 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48314 no_cppunit=""
48315 if test "$CPPUNIT_CONFIG" = "no" ; then
48316 no_cppunit=yes
48317 else
48318 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48319 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48320 cppunit_version=`$CPPUNIT_CONFIG --version`
48321
48322 cppunit_major_version=`echo $cppunit_version | \
48323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48324 cppunit_minor_version=`echo $cppunit_version | \
48325 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48326 cppunit_micro_version=`echo $cppunit_version | \
48327 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48328
48329 cppunit_major_min=`echo $cppunit_version_min | \
48330 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48331 cppunit_minor_min=`echo $cppunit_version_min | \
48332 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48333 cppunit_micro_min=`echo $cppunit_version_min | \
48334 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48335
48336 cppunit_version_proper=`expr \
48337 $cppunit_major_version \> $cppunit_major_min \| \
48338 $cppunit_major_version \= $cppunit_major_min \& \
48339 $cppunit_minor_version \> $cppunit_minor_min \| \
48340 $cppunit_major_version \= $cppunit_major_min \& \
48341 $cppunit_minor_version \= $cppunit_minor_min \& \
48342 $cppunit_micro_version \>= $cppunit_micro_min `
48343
48344 if test "$cppunit_version_proper" = "1" ; then
48345 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48346 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48347 else
48348 echo "$as_me:$LINENO: result: no" >&5
48349 echo "${ECHO_T}no" >&6
48350 no_cppunit=yes
48351 fi
48352 fi
48353
48354 if test "x$no_cppunit" = x ; then
48355 SUBDIRS="$SUBDIRS tests"
48356 else
48357 CPPUNIT_CFLAGS=""
48358 CPPUNIT_LIBS=""
48359 :
48360 fi
48361
48362
48363
48364
48365
48366 for subdir in `echo $SUBDIRS`; do
48367 if test -d ${srcdir}/${subdir} ; then
48368 if test "$wxUSE_GUI" = "yes"; then
48369 if test ${subdir} = "samples"; then
48370 makefiles="samples/Makefile.in $makefiles"
48371 for sample in `echo $SAMPLES_SUBDIRS`; do
48372 if test -d $srcdir/samples/$sample; then
48373 makefiles="samples/$sample/Makefile.in $makefiles"
48374 fi
48375 done
48376 else
48377 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48378 eval "disabled=\$$disabled_var"
48379 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48380 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48381 fi
48382 else if test ${subdir} = "samples"; then
48383 makefiles="samples/Makefile.in samples/console/Makefile.in"
48384 elif test ${subdir} = "utils"; then
48385 makefiles=""
48386 for util in HelpGen tex2rtf ; do
48387 if test -d $srcdir/utils/$util ; then
48388 makefiles="utils/$util/Makefile.in \
48389 utils/$util/src/Makefile.in \
48390 $makefiles"
48391 fi
48392 done
48393 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48394 fi
48395 fi
48396
48397 for mkin in $makefiles ; do
48398 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48399 ac_config_files="$ac_config_files $mk"
48400
48401 done
48402 fi
48403 done
48404 fi
48405 cat >confcache <<\_ACEOF
48406 # This file is a shell script that caches the results of configure
48407 # tests run on this system so they can be shared between configure
48408 # scripts and configure runs, see configure's option --config-cache.
48409 # It is not useful on other systems. If it contains results you don't
48410 # want to keep, you may remove or edit it.
48411 #
48412 # config.status only pays attention to the cache file if you give it
48413 # the --recheck option to rerun configure.
48414 #
48415 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48416 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48417 # following values.
48418
48419 _ACEOF
48420
48421 # The following way of writing the cache mishandles newlines in values,
48422 # but we know of no workaround that is simple, portable, and efficient.
48423 # So, don't put newlines in cache variables' values.
48424 # Ultrix sh set writes to stderr and can't be redirected directly,
48425 # and sets the high bit in the cache file unless we assign to the vars.
48426 {
48427 (set) 2>&1 |
48428 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48429 *ac_space=\ *)
48430 # `set' does not quote correctly, so add quotes (double-quote
48431 # substitution turns \\\\ into \\, and sed turns \\ into \).
48432 sed -n \
48433 "s/'/'\\\\''/g;
48434 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48435 ;;
48436 *)
48437 # `set' quotes correctly as required by POSIX, so do not add quotes.
48438 sed -n \
48439 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48440 ;;
48441 esac;
48442 } |
48443 sed '
48444 t clear
48445 : clear
48446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48447 t end
48448 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48449 : end' >>confcache
48450 if diff $cache_file confcache >/dev/null 2>&1; then :; else
48451 if test -w $cache_file; then
48452 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
48453 cat confcache >$cache_file
48454 else
48455 echo "not updating unwritable cache $cache_file"
48456 fi
48457 fi
48458 rm -f confcache
48459
48460 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48461 # Let make expand exec_prefix.
48462 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48463
48464 # VPATH may cause trouble with some makes, so we remove $(srcdir),
48465 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
48466 # trailing colons and then remove the whole line if VPATH becomes empty
48467 # (actually we leave an empty line to preserve line numbers).
48468 if test "x$srcdir" = x.; then
48469 ac_vpsub='/^[ ]*VPATH[ ]*=/{
48470 s/:*\$(srcdir):*/:/;
48471 s/:*\${srcdir}:*/:/;
48472 s/:*@srcdir@:*/:/;
48473 s/^\([^=]*=[ ]*\):*/\1/;
48474 s/:*$//;
48475 s/^[^=]*=[ ]*$//;
48476 }'
48477 fi
48478
48479 DEFS=-DHAVE_CONFIG_H
48480
48481 ac_libobjs=
48482 ac_ltlibobjs=
48483 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48484 # 1. Remove the extension, and $U if already installed.
48485 ac_i=`echo "$ac_i" |
48486 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
48487 # 2. Add them.
48488 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
48489 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
48490 done
48491 LIBOBJS=$ac_libobjs
48492
48493 LTLIBOBJS=$ac_ltlibobjs
48494
48495
48496
48497 : ${CONFIG_STATUS=./config.status}
48498 ac_clean_files_save=$ac_clean_files
48499 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
48500 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
48501 echo "$as_me: creating $CONFIG_STATUS" >&6;}
48502 cat >$CONFIG_STATUS <<_ACEOF
48503 #! $SHELL
48504 # Generated by $as_me.
48505 # Run this file to recreate the current configuration.
48506 # Compiler output produced by configure, useful for debugging
48507 # configure, is in config.log if it exists.
48508
48509 debug=false
48510 ac_cs_recheck=false
48511 ac_cs_silent=false
48512 SHELL=\${CONFIG_SHELL-$SHELL}
48513 _ACEOF
48514
48515 cat >>$CONFIG_STATUS <<\_ACEOF
48516 ## --------------------- ##
48517 ## M4sh Initialization. ##
48518 ## --------------------- ##
48519
48520 # Be Bourne compatible
48521 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
48522 emulate sh
48523 NULLCMD=:
48524 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
48525 # is contrary to our usage. Disable this feature.
48526 alias -g '${1+"$@"}'='"$@"'
48527 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
48528 set -o posix
48529 fi
48530 DUALCASE=1; export DUALCASE # for MKS sh
48531
48532 # Support unset when possible.
48533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
48534 as_unset=unset
48535 else
48536 as_unset=false
48537 fi
48538
48539
48540 # Work around bugs in pre-3.0 UWIN ksh.
48541 $as_unset ENV MAIL MAILPATH
48542 PS1='$ '
48543 PS2='> '
48544 PS4='+ '
48545
48546 # NLS nuisances.
48547 for as_var in \
48548 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
48549 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48550 LC_TELEPHONE LC_TIME
48551 do
48552 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48553 eval $as_var=C; export $as_var
48554 else
48555 $as_unset $as_var
48556 fi
48557 done
48558
48559 # Required to use basename.
48560 if expr a : '\(a\)' >/dev/null 2>&1; then
48561 as_expr=expr
48562 else
48563 as_expr=false
48564 fi
48565
48566 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
48567 as_basename=basename
48568 else
48569 as_basename=false
48570 fi
48571
48572
48573 # Name of the executable.
48574 as_me=`$as_basename "$0" ||
48575 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
48576 X"$0" : 'X\(//\)$' \| \
48577 X"$0" : 'X\(/\)$' \| \
48578 . : '\(.\)' 2>/dev/null ||
48579 echo X/"$0" |
48580 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
48581 /^X\/\(\/\/\)$/{ s//\1/; q; }
48582 /^X\/\(\/\).*/{ s//\1/; q; }
48583 s/.*/./; q'`
48584
48585
48586 # PATH needs CR, and LINENO needs CR and PATH.
48587 # Avoid depending upon Character Ranges.
48588 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
48589 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48590 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
48591 as_cr_digits='0123456789'
48592 as_cr_alnum=$as_cr_Letters$as_cr_digits
48593
48594 # The user is always right.
48595 if test "${PATH_SEPARATOR+set}" != set; then
48596 echo "#! /bin/sh" >conf$$.sh
48597 echo "exit 0" >>conf$$.sh
48598 chmod +x conf$$.sh
48599 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48600 PATH_SEPARATOR=';'
48601 else
48602 PATH_SEPARATOR=:
48603 fi
48604 rm -f conf$$.sh
48605 fi
48606
48607
48608 as_lineno_1=$LINENO
48609 as_lineno_2=$LINENO
48610 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48611 test "x$as_lineno_1" != "x$as_lineno_2" &&
48612 test "x$as_lineno_3" = "x$as_lineno_2" || {
48613 # Find who we are. Look in the path if we contain no path at all
48614 # relative or not.
48615 case $0 in
48616 *[\\/]* ) as_myself=$0 ;;
48617 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48618 for as_dir in $PATH
48619 do
48620 IFS=$as_save_IFS
48621 test -z "$as_dir" && as_dir=.
48622 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
48623 done
48624
48625 ;;
48626 esac
48627 # We did not find ourselves, most probably we were run as `sh COMMAND'
48628 # in which case we are not to be found in the path.
48629 if test "x$as_myself" = x; then
48630 as_myself=$0
48631 fi
48632 if test ! -f "$as_myself"; then
48633 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
48634 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
48635 { (exit 1); exit 1; }; }
48636 fi
48637 case $CONFIG_SHELL in
48638 '')
48639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48640 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
48641 do
48642 IFS=$as_save_IFS
48643 test -z "$as_dir" && as_dir=.
48644 for as_base in sh bash ksh sh5; do
48645 case $as_dir in
48646 /*)
48647 if ("$as_dir/$as_base" -c '
48648 as_lineno_1=$LINENO
48649 as_lineno_2=$LINENO
48650 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
48651 test "x$as_lineno_1" != "x$as_lineno_2" &&
48652 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
48653 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
48654 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
48655 CONFIG_SHELL=$as_dir/$as_base
48656 export CONFIG_SHELL
48657 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
48658 fi;;
48659 esac
48660 done
48661 done
48662 ;;
48663 esac
48664
48665 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
48666 # uniformly replaced by the line number. The first 'sed' inserts a
48667 # line-number line before each line; the second 'sed' does the real
48668 # work. The second script uses 'N' to pair each line-number line
48669 # with the numbered line, and appends trailing '-' during
48670 # substitution so that $LINENO is not a special case at line end.
48671 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
48672 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
48673 sed '=' <$as_myself |
48674 sed '
48675 N
48676 s,$,-,
48677 : loop
48678 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
48679 t loop
48680 s,-$,,
48681 s,^['$as_cr_digits']*\n,,
48682 ' >$as_me.lineno &&
48683 chmod +x $as_me.lineno ||
48684 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
48685 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
48686 { (exit 1); exit 1; }; }
48687
48688 # Don't try to exec as it changes $[0], causing all sort of problems
48689 # (the dirname of $[0] is not the place where we might find the
48690 # original and so on. Autoconf is especially sensible to this).
48691 . ./$as_me.lineno
48692 # Exit status is that of the last command.
48693 exit
48694 }
48695
48696
48697 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
48698 *c*,-n*) ECHO_N= ECHO_C='
48699 ' ECHO_T=' ' ;;
48700 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
48701 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
48702 esac
48703
48704 if expr a : '\(a\)' >/dev/null 2>&1; then
48705 as_expr=expr
48706 else
48707 as_expr=false
48708 fi
48709
48710 rm -f conf$$ conf$$.exe conf$$.file
48711 echo >conf$$.file
48712 if ln -s conf$$.file conf$$ 2>/dev/null; then
48713 # We could just check for DJGPP; but this test a) works b) is more generic
48714 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
48715 if test -f conf$$.exe; then
48716 # Don't use ln at all; we don't have any links
48717 as_ln_s='cp -p'
48718 else
48719 as_ln_s='ln -s'
48720 fi
48721 elif ln conf$$.file conf$$ 2>/dev/null; then
48722 as_ln_s=ln
48723 else
48724 as_ln_s='cp -p'
48725 fi
48726 rm -f conf$$ conf$$.exe conf$$.file
48727
48728 if mkdir -p . 2>/dev/null; then
48729 as_mkdir_p=:
48730 else
48731 test -d ./-p && rmdir ./-p
48732 as_mkdir_p=false
48733 fi
48734
48735 as_executable_p="test -f"
48736
48737 # Sed expression to map a string onto a valid CPP name.
48738 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
48739
48740 # Sed expression to map a string onto a valid variable name.
48741 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
48742
48743
48744 # IFS
48745 # We need space, tab and new line, in precisely that order.
48746 as_nl='
48747 '
48748 IFS=" $as_nl"
48749
48750 # CDPATH.
48751 $as_unset CDPATH
48752
48753 exec 6>&1
48754
48755 # Open the log real soon, to keep \$[0] and so on meaningful, and to
48756 # report actual input values of CONFIG_FILES etc. instead of their
48757 # values after options handling. Logging --version etc. is OK.
48758 exec 5>>config.log
48759 {
48760 echo
48761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
48762 ## Running $as_me. ##
48763 _ASBOX
48764 } >&5
48765 cat >&5 <<_CSEOF
48766
48767 This file was extended by wxWidgets $as_me 2.7.0, which was
48768 generated by GNU Autoconf 2.59. Invocation command line was
48769
48770 CONFIG_FILES = $CONFIG_FILES
48771 CONFIG_HEADERS = $CONFIG_HEADERS
48772 CONFIG_LINKS = $CONFIG_LINKS
48773 CONFIG_COMMANDS = $CONFIG_COMMANDS
48774 $ $0 $@
48775
48776 _CSEOF
48777 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
48778 echo >&5
48779 _ACEOF
48780
48781 # Files that config.status was made for.
48782 if test -n "$ac_config_files"; then
48783 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
48784 fi
48785
48786 if test -n "$ac_config_headers"; then
48787 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
48788 fi
48789
48790 if test -n "$ac_config_links"; then
48791 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
48792 fi
48793
48794 if test -n "$ac_config_commands"; then
48795 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
48796 fi
48797
48798 cat >>$CONFIG_STATUS <<\_ACEOF
48799
48800 ac_cs_usage="\
48801 \`$as_me' instantiates files from templates according to the
48802 current configuration.
48803
48804 Usage: $0 [OPTIONS] [FILE]...
48805
48806 -h, --help print this help, then exit
48807 -V, --version print version number, then exit
48808 -q, --quiet do not print progress messages
48809 -d, --debug don't remove temporary files
48810 --recheck update $as_me by reconfiguring in the same conditions
48811 --file=FILE[:TEMPLATE]
48812 instantiate the configuration file FILE
48813 --header=FILE[:TEMPLATE]
48814 instantiate the configuration header FILE
48815
48816 Configuration files:
48817 $config_files
48818
48819 Configuration headers:
48820 $config_headers
48821
48822 Configuration commands:
48823 $config_commands
48824
48825 Report bugs to <bug-autoconf@gnu.org>."
48826 _ACEOF
48827
48828 cat >>$CONFIG_STATUS <<_ACEOF
48829 ac_cs_version="\\
48830 wxWidgets config.status 2.7.0
48831 configured by $0, generated by GNU Autoconf 2.59,
48832 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
48833
48834 Copyright (C) 2003 Free Software Foundation, Inc.
48835 This config.status script is free software; the Free Software Foundation
48836 gives unlimited permission to copy, distribute and modify it."
48837 srcdir=$srcdir
48838 INSTALL="$INSTALL"
48839 _ACEOF
48840
48841 cat >>$CONFIG_STATUS <<\_ACEOF
48842 # If no file are specified by the user, then we need to provide default
48843 # value. By we need to know if files were specified by the user.
48844 ac_need_defaults=:
48845 while test $# != 0
48846 do
48847 case $1 in
48848 --*=*)
48849 ac_option=`expr "x$1" : 'x\([^=]*\)='`
48850 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
48851 ac_shift=:
48852 ;;
48853 -*)
48854 ac_option=$1
48855 ac_optarg=$2
48856 ac_shift=shift
48857 ;;
48858 *) # This is not an option, so the user has probably given explicit
48859 # arguments.
48860 ac_option=$1
48861 ac_need_defaults=false;;
48862 esac
48863
48864 case $ac_option in
48865 # Handling of the options.
48866 _ACEOF
48867 cat >>$CONFIG_STATUS <<\_ACEOF
48868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
48869 ac_cs_recheck=: ;;
48870 --version | --vers* | -V )
48871 echo "$ac_cs_version"; exit 0 ;;
48872 --he | --h)
48873 # Conflict between --help and --header
48874 { { echo "$as_me:$LINENO: error: ambiguous option: $1
48875 Try \`$0 --help' for more information." >&5
48876 echo "$as_me: error: ambiguous option: $1
48877 Try \`$0 --help' for more information." >&2;}
48878 { (exit 1); exit 1; }; };;
48879 --help | --hel | -h )
48880 echo "$ac_cs_usage"; exit 0 ;;
48881 --debug | --d* | -d )
48882 debug=: ;;
48883 --file | --fil | --fi | --f )
48884 $ac_shift
48885 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
48886 ac_need_defaults=false;;
48887 --header | --heade | --head | --hea )
48888 $ac_shift
48889 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
48890 ac_need_defaults=false;;
48891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
48892 | -silent | --silent | --silen | --sile | --sil | --si | --s)
48893 ac_cs_silent=: ;;
48894
48895 # This is an error.
48896 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
48897 Try \`$0 --help' for more information." >&5
48898 echo "$as_me: error: unrecognized option: $1
48899 Try \`$0 --help' for more information." >&2;}
48900 { (exit 1); exit 1; }; } ;;
48901
48902 *) ac_config_targets="$ac_config_targets $1" ;;
48903
48904 esac
48905 shift
48906 done
48907
48908 ac_configure_extra_args=
48909
48910 if $ac_cs_silent; then
48911 exec 6>/dev/null
48912 ac_configure_extra_args="$ac_configure_extra_args --silent"
48913 fi
48914
48915 _ACEOF
48916 cat >>$CONFIG_STATUS <<_ACEOF
48917 if \$ac_cs_recheck; then
48918 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
48919 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
48920 fi
48921
48922 _ACEOF
48923
48924 cat >>$CONFIG_STATUS <<_ACEOF
48925 #
48926 # INIT-COMMANDS section.
48927 #
48928
48929
48930 CPP="$CPP"
48931 infile="$srcdir/include/wx/msw/genrcdefs.h"
48932 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
48933
48934
48935 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48936 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48937 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
48938 LN_S="${LN_S}"
48939
48940
48941 _ACEOF
48942
48943
48944
48945 cat >>$CONFIG_STATUS <<\_ACEOF
48946 for ac_config_target in $ac_config_targets
48947 do
48948 case "$ac_config_target" in
48949 # Handling of arguments.
48950 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
48951 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
48952 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
48953 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48954 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
48955 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
48956 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
48957 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
48958 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
48959 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
48960 { (exit 1); exit 1; }; };;
48961 esac
48962 done
48963
48964 # If the user did not use the arguments to specify the items to instantiate,
48965 # then the envvar interface is used. Set only those that are not.
48966 # We use the long form for the default assignment because of an extremely
48967 # bizarre bug on SunOS 4.1.3.
48968 if $ac_need_defaults; then
48969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
48970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
48971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
48972 fi
48973
48974 # Have a temporary directory for convenience. Make it in the build tree
48975 # simply because there is no reason to put it here, and in addition,
48976 # creating and moving files from /tmp can sometimes cause problems.
48977 # Create a temporary directory, and hook for its removal unless debugging.
48978 $debug ||
48979 {
48980 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
48981 trap '{ (exit 1); exit 1; }' 1 2 13 15
48982 }
48983
48984 # Create a (secure) tmp directory for tmp files.
48985
48986 {
48987 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
48988 test -n "$tmp" && test -d "$tmp"
48989 } ||
48990 {
48991 tmp=./confstat$$-$RANDOM
48992 (umask 077 && mkdir $tmp)
48993 } ||
48994 {
48995 echo "$me: cannot create a temporary directory in ." >&2
48996 { (exit 1); exit 1; }
48997 }
48998
48999 _ACEOF
49000
49001 cat >>$CONFIG_STATUS <<_ACEOF
49002
49003 #
49004 # CONFIG_FILES section.
49005 #
49006
49007 # No need to generate the scripts if there are no CONFIG_FILES.
49008 # This happens for instance when ./config.status config.h
49009 if test -n "\$CONFIG_FILES"; then
49010 # Protect against being on the right side of a sed subst in config.status.
49011 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49012 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49013 s,@SHELL@,$SHELL,;t t
49014 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49015 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49016 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49017 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49018 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49019 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49020 s,@exec_prefix@,$exec_prefix,;t t
49021 s,@prefix@,$prefix,;t t
49022 s,@program_transform_name@,$program_transform_name,;t t
49023 s,@bindir@,$bindir,;t t
49024 s,@sbindir@,$sbindir,;t t
49025 s,@libexecdir@,$libexecdir,;t t
49026 s,@datadir@,$datadir,;t t
49027 s,@sysconfdir@,$sysconfdir,;t t
49028 s,@sharedstatedir@,$sharedstatedir,;t t
49029 s,@localstatedir@,$localstatedir,;t t
49030 s,@libdir@,$libdir,;t t
49031 s,@includedir@,$includedir,;t t
49032 s,@oldincludedir@,$oldincludedir,;t t
49033 s,@infodir@,$infodir,;t t
49034 s,@mandir@,$mandir,;t t
49035 s,@build_alias@,$build_alias,;t t
49036 s,@host_alias@,$host_alias,;t t
49037 s,@target_alias@,$target_alias,;t t
49038 s,@DEFS@,$DEFS,;t t
49039 s,@ECHO_C@,$ECHO_C,;t t
49040 s,@ECHO_N@,$ECHO_N,;t t
49041 s,@ECHO_T@,$ECHO_T,;t t
49042 s,@LIBS@,$LIBS,;t t
49043 s,@build@,$build,;t t
49044 s,@build_cpu@,$build_cpu,;t t
49045 s,@build_vendor@,$build_vendor,;t t
49046 s,@build_os@,$build_os,;t t
49047 s,@host@,$host,;t t
49048 s,@host_cpu@,$host_cpu,;t t
49049 s,@host_vendor@,$host_vendor,;t t
49050 s,@host_os@,$host_os,;t t
49051 s,@target@,$target,;t t
49052 s,@target_cpu@,$target_cpu,;t t
49053 s,@target_vendor@,$target_vendor,;t t
49054 s,@target_os@,$target_os,;t t
49055 s,@CC@,$CC,;t t
49056 s,@CFLAGS@,$CFLAGS,;t t
49057 s,@LDFLAGS@,$LDFLAGS,;t t
49058 s,@CPPFLAGS@,$CPPFLAGS,;t t
49059 s,@ac_ct_CC@,$ac_ct_CC,;t t
49060 s,@EXEEXT@,$EXEEXT,;t t
49061 s,@OBJEXT@,$OBJEXT,;t t
49062 s,@CPP@,$CPP,;t t
49063 s,@EGREP@,$EGREP,;t t
49064 s,@CXX@,$CXX,;t t
49065 s,@CXXFLAGS@,$CXXFLAGS,;t t
49066 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49067 s,@RANLIB@,$RANLIB,;t t
49068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49069 s,@AR@,$AR,;t t
49070 s,@ac_ct_AR@,$ac_ct_AR,;t t
49071 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49072 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49073 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49074 s,@STRIP@,$STRIP,;t t
49075 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49076 s,@WINDRES@,$WINDRES,;t t
49077 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49078 s,@DLLTOOL@,$DLLTOOL,;t t
49079 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49080 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49081 s,@LN_S@,$LN_S,;t t
49082 s,@CXXCPP@,$CXXCPP,;t t
49083 s,@subdirs@,$subdirs,;t t
49084 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49085 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49086 s,@GTK_LIBS@,$GTK_LIBS,;t t
49087 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49088 s,@X_CFLAGS@,$X_CFLAGS,;t t
49089 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49090 s,@X_LIBS@,$X_LIBS,;t t
49091 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49092 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49093 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49094 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49095 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49096 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49097 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49098 s,@REZ@,$REZ,;t t
49099 s,@DEREZ@,$DEREZ,;t t
49100 s,@SETFILE@,$SETFILE,;t t
49101 s,@LIBICONV@,$LIBICONV,;t t
49102 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49103 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49104 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49105 s,@SDL_LIBS@,$SDL_LIBS,;t t
49106 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49107 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49108 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49109 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49110 s,@GSTREAMER_CFLAGS@,$GSTREAMER_CFLAGS,;t t
49111 s,@GSTREAMER_LIBS@,$GSTREAMER_LIBS,;t t
49112 s,@GST_INSPECT@,$GST_INSPECT,;t t
49113 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49114 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49115 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49116 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49117 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49118 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49119 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49120 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49121 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49122 s,@VENDOR@,$VENDOR,;t t
49123 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49124 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49125 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49126 s,@WXUNIV@,$WXUNIV,;t t
49127 s,@MONOLITHIC@,$MONOLITHIC,;t t
49128 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49129 s,@EXTRALIBS@,$EXTRALIBS,;t t
49130 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49131 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49132 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49133 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49134 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49135 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49136 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49137 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49138 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49139 s,@UNICODE@,$UNICODE,;t t
49140 s,@BUILD@,$BUILD,;t t
49141 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49142 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49143 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49144 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49145 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49146 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49147 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49148 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49149 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49150 s,@SET_MAKE@,$SET_MAKE,;t t
49151 s,@MAKE_SET@,$MAKE_SET,;t t
49152 s,@NM@,$NM,;t t
49153 s,@ac_ct_NM@,$ac_ct_NM,;t t
49154 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49155 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49156 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49157 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49158 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49159 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49160 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49161 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49162 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49163 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49164 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49165 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49166 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49167 s,@LIBPREFIX@,$LIBPREFIX,;t t
49168 s,@LIBEXT@,$LIBEXT,;t t
49169 s,@DLLPREFIX@,$DLLPREFIX,;t t
49170 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49171 s,@dlldir@,$dlldir,;t t
49172 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49173 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49174 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49175 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49176 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49177 s,@PIC_FLAG@,$PIC_FLAG,;t t
49178 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49179 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49180 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49181 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49182 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49183 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49184 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49185 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49186 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49187 s,@GCC_PCH@,$GCC_PCH,;t t
49188 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49189 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49190 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49191 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49192 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49193 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49194 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49195 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49196 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49197 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49198 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49199 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49200 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49201 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49202 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49203 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49204 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49205 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49206 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1,;t t
49207 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
49208 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1,;t t
49209 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49210 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49211 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49212 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49213 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1,;t t
49214 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
49215 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1,;t t
49216 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49217 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49218 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49219 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49220 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49221 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49222 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49223 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49224 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49225 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49226 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49227 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49228 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49229 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49230 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49231 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49232 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49233 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49234 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49235 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49236 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49237 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49238 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49239 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49240 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49241 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49242 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49243 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49244 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49245 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49246 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49247 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49248 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49249 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49250 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49251 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49252 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49253 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49254 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49255 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49256 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49257 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49258 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49259 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49260 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49261 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49262 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49263 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49264 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49265 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49266 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49267 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49268 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49269 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49270 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49271 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0,;t t
49272 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49273 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49274 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49275 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49276 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49277 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49278 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49279 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49280 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49281 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49282 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49283 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49284 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49285 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49286 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49287 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49288 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49289 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49290 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49291 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49292 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49293 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49294 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49295 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49296 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49297 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49298 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49299 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49300 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49301 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49302 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49303 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49304 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49305 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49306 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49307 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49308 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49309 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49310 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49311 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49312 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49313 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49314 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49315 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49316 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49317 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49318 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49319 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49320 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49321 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49322 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49323 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49324 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49325 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49326 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49327 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49328 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49329 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49330 s,@SHARED@,$SHARED,;t t
49331 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49332 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49333 s,@USE_GUI@,$USE_GUI,;t t
49334 s,@AFMINSTALL@,$AFMINSTALL,;t t
49335 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49336 s,@TOOLKIT@,$TOOLKIT,;t t
49337 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49338 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49339 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49340 s,@cross_compiling@,$cross_compiling,;t t
49341 s,@WIDGET_SET@,$WIDGET_SET,;t t
49342 s,@WX_RELEASE@,$WX_RELEASE,;t t
49343 s,@WX_VERSION@,$WX_VERSION,;t t
49344 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49345 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49346 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49347 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49348 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49349 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49350 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49351 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49352 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49353 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49354 s,@EXE_LINKER@,$EXE_LINKER,;t t
49355 s,@GUIDIST@,$GUIDIST,;t t
49356 s,@DISTDIR@,$DISTDIR,;t t
49357 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49358 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49359 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49360 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49361 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49362 s,@RESCOMP@,$RESCOMP,;t t
49363 s,@RESFLAGS@,$RESFLAGS,;t t
49364 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49365 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49366 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49367 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49368 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49369 s,@MACSETFILE@,$MACSETFILE,;t t
49370 s,@GCC@,$GCC,;t t
49371 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49372 s,@LIBOBJS@,$LIBOBJS,;t t
49373 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49374 CEOF
49375
49376 _ACEOF
49377
49378 cat >>$CONFIG_STATUS <<\_ACEOF
49379 # Split the substitutions into bite-sized pieces for seds with
49380 # small command number limits, like on Digital OSF/1 and HP-UX.
49381 ac_max_sed_lines=48
49382 ac_sed_frag=1 # Number of current file.
49383 ac_beg=1 # First line for current file.
49384 ac_end=$ac_max_sed_lines # Line after last line for current file.
49385 ac_more_lines=:
49386 ac_sed_cmds=
49387 while $ac_more_lines; do
49388 if test $ac_beg -gt 1; then
49389 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49390 else
49391 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49392 fi
49393 if test ! -s $tmp/subs.frag; then
49394 ac_more_lines=false
49395 else
49396 # The purpose of the label and of the branching condition is to
49397 # speed up the sed processing (if there are no `@' at all, there
49398 # is no need to browse any of the substitutions).
49399 # These are the two extra sed commands mentioned above.
49400 (echo ':t
49401 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49402 if test -z "$ac_sed_cmds"; then
49403 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49404 else
49405 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49406 fi
49407 ac_sed_frag=`expr $ac_sed_frag + 1`
49408 ac_beg=$ac_end
49409 ac_end=`expr $ac_end + $ac_max_sed_lines`
49410 fi
49411 done
49412 if test -z "$ac_sed_cmds"; then
49413 ac_sed_cmds=cat
49414 fi
49415 fi # test -n "$CONFIG_FILES"
49416
49417 _ACEOF
49418 cat >>$CONFIG_STATUS <<\_ACEOF
49419 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49420 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49421 case $ac_file in
49422 - | *:- | *:-:* ) # input from stdin
49423 cat >$tmp/stdin
49424 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49425 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49426 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49427 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49428 * ) ac_file_in=$ac_file.in ;;
49429 esac
49430
49431 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49432 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49433 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49434 X"$ac_file" : 'X\(//\)[^/]' \| \
49435 X"$ac_file" : 'X\(//\)$' \| \
49436 X"$ac_file" : 'X\(/\)' \| \
49437 . : '\(.\)' 2>/dev/null ||
49438 echo X"$ac_file" |
49439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49441 /^X\(\/\/\)$/{ s//\1/; q; }
49442 /^X\(\/\).*/{ s//\1/; q; }
49443 s/.*/./; q'`
49444 { if $as_mkdir_p; then
49445 mkdir -p "$ac_dir"
49446 else
49447 as_dir="$ac_dir"
49448 as_dirs=
49449 while test ! -d "$as_dir"; do
49450 as_dirs="$as_dir $as_dirs"
49451 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49453 X"$as_dir" : 'X\(//\)[^/]' \| \
49454 X"$as_dir" : 'X\(//\)$' \| \
49455 X"$as_dir" : 'X\(/\)' \| \
49456 . : '\(.\)' 2>/dev/null ||
49457 echo X"$as_dir" |
49458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49460 /^X\(\/\/\)$/{ s//\1/; q; }
49461 /^X\(\/\).*/{ s//\1/; q; }
49462 s/.*/./; q'`
49463 done
49464 test ! -n "$as_dirs" || mkdir $as_dirs
49465 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49467 { (exit 1); exit 1; }; }; }
49468
49469 ac_builddir=.
49470
49471 if test "$ac_dir" != .; then
49472 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49473 # A "../" for each directory in $ac_dir_suffix.
49474 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49475 else
49476 ac_dir_suffix= ac_top_builddir=
49477 fi
49478
49479 case $srcdir in
49480 .) # No --srcdir option. We are building in place.
49481 ac_srcdir=.
49482 if test -z "$ac_top_builddir"; then
49483 ac_top_srcdir=.
49484 else
49485 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49486 fi ;;
49487 [\\/]* | ?:[\\/]* ) # Absolute path.
49488 ac_srcdir=$srcdir$ac_dir_suffix;
49489 ac_top_srcdir=$srcdir ;;
49490 *) # Relative path.
49491 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49492 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49493 esac
49494
49495 # Do not use `cd foo && pwd` to compute absolute paths, because
49496 # the directories may not exist.
49497 case `pwd` in
49498 .) ac_abs_builddir="$ac_dir";;
49499 *)
49500 case "$ac_dir" in
49501 .) ac_abs_builddir=`pwd`;;
49502 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49503 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49504 esac;;
49505 esac
49506 case $ac_abs_builddir in
49507 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49508 *)
49509 case ${ac_top_builddir}. in
49510 .) ac_abs_top_builddir=$ac_abs_builddir;;
49511 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49512 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49513 esac;;
49514 esac
49515 case $ac_abs_builddir in
49516 .) ac_abs_srcdir=$ac_srcdir;;
49517 *)
49518 case $ac_srcdir in
49519 .) ac_abs_srcdir=$ac_abs_builddir;;
49520 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49521 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49522 esac;;
49523 esac
49524 case $ac_abs_builddir in
49525 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49526 *)
49527 case $ac_top_srcdir in
49528 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49529 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49530 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49531 esac;;
49532 esac
49533
49534
49535 case $INSTALL in
49536 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
49537 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
49538 esac
49539
49540 if test x"$ac_file" != x-; then
49541 { echo "$as_me:$LINENO: creating $ac_file" >&5
49542 echo "$as_me: creating $ac_file" >&6;}
49543 rm -f "$ac_file"
49544 fi
49545 # Let's still pretend it is `configure' which instantiates (i.e., don't
49546 # use $as_me), people would be surprised to read:
49547 # /* config.h. Generated by config.status. */
49548 if test x"$ac_file" = x-; then
49549 configure_input=
49550 else
49551 configure_input="$ac_file. "
49552 fi
49553 configure_input=$configure_input"Generated from `echo $ac_file_in |
49554 sed 's,.*/,,'` by configure."
49555
49556 # First look for the input files in the build tree, otherwise in the
49557 # src tree.
49558 ac_file_inputs=`IFS=:
49559 for f in $ac_file_in; do
49560 case $f in
49561 -) echo $tmp/stdin ;;
49562 [\\/$]*)
49563 # Absolute (can't be DOS-style, as IFS=:)
49564 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49565 echo "$as_me: error: cannot find input file: $f" >&2;}
49566 { (exit 1); exit 1; }; }
49567 echo "$f";;
49568 *) # Relative
49569 if test -f "$f"; then
49570 # Build tree
49571 echo "$f"
49572 elif test -f "$srcdir/$f"; then
49573 # Source tree
49574 echo "$srcdir/$f"
49575 else
49576 # /dev/null tree
49577 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49578 echo "$as_me: error: cannot find input file: $f" >&2;}
49579 { (exit 1); exit 1; }; }
49580 fi;;
49581 esac
49582 done` || { (exit 1); exit 1; }
49583 _ACEOF
49584 cat >>$CONFIG_STATUS <<_ACEOF
49585 sed "$ac_vpsub
49586 $extrasub
49587 _ACEOF
49588 cat >>$CONFIG_STATUS <<\_ACEOF
49589 :t
49590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49591 s,@configure_input@,$configure_input,;t t
49592 s,@srcdir@,$ac_srcdir,;t t
49593 s,@abs_srcdir@,$ac_abs_srcdir,;t t
49594 s,@top_srcdir@,$ac_top_srcdir,;t t
49595 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
49596 s,@builddir@,$ac_builddir,;t t
49597 s,@abs_builddir@,$ac_abs_builddir,;t t
49598 s,@top_builddir@,$ac_top_builddir,;t t
49599 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
49600 s,@INSTALL@,$ac_INSTALL,;t t
49601 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
49602 rm -f $tmp/stdin
49603 if test x"$ac_file" != x-; then
49604 mv $tmp/out $ac_file
49605 else
49606 cat $tmp/out
49607 rm -f $tmp/out
49608 fi
49609
49610 # Run the commands associated with the file.
49611 case $ac_file in
49612 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
49613 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
49614 esac
49615 done
49616 _ACEOF
49617 cat >>$CONFIG_STATUS <<\_ACEOF
49618
49619 #
49620 # CONFIG_HEADER section.
49621 #
49622
49623 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
49624 # NAME is the cpp macro being defined and VALUE is the value it is being given.
49625 #
49626 # ac_d sets the value in "#define NAME VALUE" lines.
49627 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
49628 ac_dB='[ ].*$,\1#\2'
49629 ac_dC=' '
49630 ac_dD=',;t'
49631 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
49632 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
49633 ac_uB='$,\1#\2define\3'
49634 ac_uC=' '
49635 ac_uD=',;t'
49636
49637 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
49638 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49639 case $ac_file in
49640 - | *:- | *:-:* ) # input from stdin
49641 cat >$tmp/stdin
49642 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49643 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49644 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49645 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49646 * ) ac_file_in=$ac_file.in ;;
49647 esac
49648
49649 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
49650 echo "$as_me: creating $ac_file" >&6;}
49651
49652 # First look for the input files in the build tree, otherwise in the
49653 # src tree.
49654 ac_file_inputs=`IFS=:
49655 for f in $ac_file_in; do
49656 case $f in
49657 -) echo $tmp/stdin ;;
49658 [\\/$]*)
49659 # Absolute (can't be DOS-style, as IFS=:)
49660 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49661 echo "$as_me: error: cannot find input file: $f" >&2;}
49662 { (exit 1); exit 1; }; }
49663 # Do quote $f, to prevent DOS paths from being IFS'd.
49664 echo "$f";;
49665 *) # Relative
49666 if test -f "$f"; then
49667 # Build tree
49668 echo "$f"
49669 elif test -f "$srcdir/$f"; then
49670 # Source tree
49671 echo "$srcdir/$f"
49672 else
49673 # /dev/null tree
49674 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
49675 echo "$as_me: error: cannot find input file: $f" >&2;}
49676 { (exit 1); exit 1; }; }
49677 fi;;
49678 esac
49679 done` || { (exit 1); exit 1; }
49680 # Remove the trailing spaces.
49681 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
49682
49683 _ACEOF
49684
49685 # Transform confdefs.h into two sed scripts, `conftest.defines' and
49686 # `conftest.undefs', that substitutes the proper values into
49687 # config.h.in to produce config.h. The first handles `#define'
49688 # templates, and the second `#undef' templates.
49689 # And first: Protect against being on the right side of a sed subst in
49690 # config.status. Protect against being in an unquoted here document
49691 # in config.status.
49692 rm -f conftest.defines conftest.undefs
49693 # Using a here document instead of a string reduces the quoting nightmare.
49694 # Putting comments in sed scripts is not portable.
49695 #
49696 # `end' is used to avoid that the second main sed command (meant for
49697 # 0-ary CPP macros) applies to n-ary macro definitions.
49698 # See the Autoconf documentation for `clear'.
49699 cat >confdef2sed.sed <<\_ACEOF
49700 s/[\\&,]/\\&/g
49701 s,[\\$`],\\&,g
49702 t clear
49703 : clear
49704 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
49705 t end
49706 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
49707 : end
49708 _ACEOF
49709 # If some macros were called several times there might be several times
49710 # the same #defines, which is useless. Nevertheless, we may not want to
49711 # sort them, since we want the *last* AC-DEFINE to be honored.
49712 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
49713 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
49714 rm -f confdef2sed.sed
49715
49716 # This sed command replaces #undef with comments. This is necessary, for
49717 # example, in the case of _POSIX_SOURCE, which is predefined and required
49718 # on some systems where configure will not decide to define it.
49719 cat >>conftest.undefs <<\_ACEOF
49720 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
49721 _ACEOF
49722
49723 # Break up conftest.defines because some shells have a limit on the size
49724 # of here documents, and old seds have small limits too (100 cmds).
49725 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
49726 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
49727 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
49728 echo ' :' >>$CONFIG_STATUS
49729 rm -f conftest.tail
49730 while grep . conftest.defines >/dev/null
49731 do
49732 # Write a limited-size here document to $tmp/defines.sed.
49733 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
49734 # Speed up: don't consider the non `#define' lines.
49735 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
49736 # Work around the forget-to-reset-the-flag bug.
49737 echo 't clr' >>$CONFIG_STATUS
49738 echo ': clr' >>$CONFIG_STATUS
49739 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
49740 echo 'CEOF
49741 sed -f $tmp/defines.sed $tmp/in >$tmp/out
49742 rm -f $tmp/in
49743 mv $tmp/out $tmp/in
49744 ' >>$CONFIG_STATUS
49745 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
49746 rm -f conftest.defines
49747 mv conftest.tail conftest.defines
49748 done
49749 rm -f conftest.defines
49750 echo ' fi # grep' >>$CONFIG_STATUS
49751 echo >>$CONFIG_STATUS
49752
49753 # Break up conftest.undefs because some shells have a limit on the size
49754 # of here documents, and old seds have small limits too (100 cmds).
49755 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
49756 rm -f conftest.tail
49757 while grep . conftest.undefs >/dev/null
49758 do
49759 # Write a limited-size here document to $tmp/undefs.sed.
49760 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
49761 # Speed up: don't consider the non `#undef'
49762 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
49763 # Work around the forget-to-reset-the-flag bug.
49764 echo 't clr' >>$CONFIG_STATUS
49765 echo ': clr' >>$CONFIG_STATUS
49766 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
49767 echo 'CEOF
49768 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
49769 rm -f $tmp/in
49770 mv $tmp/out $tmp/in
49771 ' >>$CONFIG_STATUS
49772 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
49773 rm -f conftest.undefs
49774 mv conftest.tail conftest.undefs
49775 done
49776 rm -f conftest.undefs
49777
49778 cat >>$CONFIG_STATUS <<\_ACEOF
49779 # Let's still pretend it is `configure' which instantiates (i.e., don't
49780 # use $as_me), people would be surprised to read:
49781 # /* config.h. Generated by config.status. */
49782 if test x"$ac_file" = x-; then
49783 echo "/* Generated by configure. */" >$tmp/config.h
49784 else
49785 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
49786 fi
49787 cat $tmp/in >>$tmp/config.h
49788 rm -f $tmp/in
49789 if test x"$ac_file" != x-; then
49790 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
49791 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
49792 echo "$as_me: $ac_file is unchanged" >&6;}
49793 else
49794 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
49795 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49796 X"$ac_file" : 'X\(//\)[^/]' \| \
49797 X"$ac_file" : 'X\(//\)$' \| \
49798 X"$ac_file" : 'X\(/\)' \| \
49799 . : '\(.\)' 2>/dev/null ||
49800 echo X"$ac_file" |
49801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49803 /^X\(\/\/\)$/{ s//\1/; q; }
49804 /^X\(\/\).*/{ s//\1/; q; }
49805 s/.*/./; q'`
49806 { if $as_mkdir_p; then
49807 mkdir -p "$ac_dir"
49808 else
49809 as_dir="$ac_dir"
49810 as_dirs=
49811 while test ! -d "$as_dir"; do
49812 as_dirs="$as_dir $as_dirs"
49813 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49814 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49815 X"$as_dir" : 'X\(//\)[^/]' \| \
49816 X"$as_dir" : 'X\(//\)$' \| \
49817 X"$as_dir" : 'X\(/\)' \| \
49818 . : '\(.\)' 2>/dev/null ||
49819 echo X"$as_dir" |
49820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49821 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49822 /^X\(\/\/\)$/{ s//\1/; q; }
49823 /^X\(\/\).*/{ s//\1/; q; }
49824 s/.*/./; q'`
49825 done
49826 test ! -n "$as_dirs" || mkdir $as_dirs
49827 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49828 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49829 { (exit 1); exit 1; }; }; }
49830
49831 rm -f $ac_file
49832 mv $tmp/config.h $ac_file
49833 fi
49834 else
49835 cat $tmp/config.h
49836 rm -f $tmp/config.h
49837 fi
49838 done
49839 _ACEOF
49840 cat >>$CONFIG_STATUS <<\_ACEOF
49841
49842 #
49843 # CONFIG_COMMANDS section.
49844 #
49845 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
49846 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
49847 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
49848 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
49849 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49850 X"$ac_dest" : 'X\(//\)[^/]' \| \
49851 X"$ac_dest" : 'X\(//\)$' \| \
49852 X"$ac_dest" : 'X\(/\)' \| \
49853 . : '\(.\)' 2>/dev/null ||
49854 echo X"$ac_dest" |
49855 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49856 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49857 /^X\(\/\/\)$/{ s//\1/; q; }
49858 /^X\(\/\).*/{ s//\1/; q; }
49859 s/.*/./; q'`
49860 { if $as_mkdir_p; then
49861 mkdir -p "$ac_dir"
49862 else
49863 as_dir="$ac_dir"
49864 as_dirs=
49865 while test ! -d "$as_dir"; do
49866 as_dirs="$as_dir $as_dirs"
49867 as_dir=`(dirname "$as_dir") 2>/dev/null ||
49868 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49869 X"$as_dir" : 'X\(//\)[^/]' \| \
49870 X"$as_dir" : 'X\(//\)$' \| \
49871 X"$as_dir" : 'X\(/\)' \| \
49872 . : '\(.\)' 2>/dev/null ||
49873 echo X"$as_dir" |
49874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
49875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
49876 /^X\(\/\/\)$/{ s//\1/; q; }
49877 /^X\(\/\).*/{ s//\1/; q; }
49878 s/.*/./; q'`
49879 done
49880 test ! -n "$as_dirs" || mkdir $as_dirs
49881 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
49882 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
49883 { (exit 1); exit 1; }; }; }
49884
49885 ac_builddir=.
49886
49887 if test "$ac_dir" != .; then
49888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
49889 # A "../" for each directory in $ac_dir_suffix.
49890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
49891 else
49892 ac_dir_suffix= ac_top_builddir=
49893 fi
49894
49895 case $srcdir in
49896 .) # No --srcdir option. We are building in place.
49897 ac_srcdir=.
49898 if test -z "$ac_top_builddir"; then
49899 ac_top_srcdir=.
49900 else
49901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
49902 fi ;;
49903 [\\/]* | ?:[\\/]* ) # Absolute path.
49904 ac_srcdir=$srcdir$ac_dir_suffix;
49905 ac_top_srcdir=$srcdir ;;
49906 *) # Relative path.
49907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
49908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
49909 esac
49910
49911 # Do not use `cd foo && pwd` to compute absolute paths, because
49912 # the directories may not exist.
49913 case `pwd` in
49914 .) ac_abs_builddir="$ac_dir";;
49915 *)
49916 case "$ac_dir" in
49917 .) ac_abs_builddir=`pwd`;;
49918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
49919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
49920 esac;;
49921 esac
49922 case $ac_abs_builddir in
49923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
49924 *)
49925 case ${ac_top_builddir}. in
49926 .) ac_abs_top_builddir=$ac_abs_builddir;;
49927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
49928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
49929 esac;;
49930 esac
49931 case $ac_abs_builddir in
49932 .) ac_abs_srcdir=$ac_srcdir;;
49933 *)
49934 case $ac_srcdir in
49935 .) ac_abs_srcdir=$ac_abs_builddir;;
49936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
49937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
49938 esac;;
49939 esac
49940 case $ac_abs_builddir in
49941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
49942 *)
49943 case $ac_top_srcdir in
49944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
49945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
49946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
49947 esac;;
49948 esac
49949
49950
49951 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
49952 echo "$as_me: executing $ac_dest commands" >&6;}
49953 case $ac_dest in
49954 rcdefs.h )
49955 mkdir -p $outdir &&
49956 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
49957 ;;
49958 wx-config ) rm -f wx-config
49959 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
49960 ;;
49961 esac
49962 done
49963 _ACEOF
49964
49965 cat >>$CONFIG_STATUS <<\_ACEOF
49966
49967 { (exit 0); exit 0; }
49968 _ACEOF
49969 chmod +x $CONFIG_STATUS
49970 ac_clean_files=$ac_clean_files_save
49971
49972
49973 # configure is writing to config.log, and then calls config.status.
49974 # config.status does its own redirection, appending to config.log.
49975 # Unfortunately, on DOS this fails, as config.log is still kept open
49976 # by configure, so config.status won't be able to write to it; its
49977 # output is simply discarded. So we exec the FD to /dev/null,
49978 # effectively closing config.log, so it can be properly (re)opened and
49979 # appended to by config.status. When coming back to configure, we
49980 # need to make the FD available again.
49981 if test "$no_create" != yes; then
49982 ac_cs_success=:
49983 ac_config_status_args=
49984 test "$silent" = yes &&
49985 ac_config_status_args="$ac_config_status_args --quiet"
49986 exec 5>/dev/null
49987 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
49988 exec 5>>config.log
49989 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
49990 # would make configure fail if this is the last instruction.
49991 $ac_cs_success || { (exit 1); exit 1; }
49992 fi
49993
49994 #
49995 # CONFIG_SUBDIRS section.
49996 #
49997 if test "$no_recursion" != yes; then
49998
49999 # Remove --cache-file and --srcdir arguments so they do not pile up.
50000 ac_sub_configure_args=
50001 ac_prev=
50002 for ac_arg in $ac_configure_args; do
50003 if test -n "$ac_prev"; then
50004 ac_prev=
50005 continue
50006 fi
50007 case $ac_arg in
50008 -cache-file | --cache-file | --cache-fil | --cache-fi \
50009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50010 ac_prev=cache_file ;;
50011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50013 | --c=*)
50014 ;;
50015 --config-cache | -C)
50016 ;;
50017 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50018 ac_prev=srcdir ;;
50019 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50020 ;;
50021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50022 ac_prev=prefix ;;
50023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50024 ;;
50025 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50026 esac
50027 done
50028
50029 # Always prepend --prefix to ensure using the same prefix
50030 # in subdir configurations.
50031 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50032
50033 ac_popdir=`pwd`
50034 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50035
50036 # Do not complain, so a configure script can configure whichever
50037 # parts of a large source tree are present.
50038 test -d $srcdir/$ac_dir || continue
50039
50040 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50041 echo "$as_me: configuring in $ac_dir" >&6;}
50042 { if $as_mkdir_p; then
50043 mkdir -p "$ac_dir"
50044 else
50045 as_dir="$ac_dir"
50046 as_dirs=
50047 while test ! -d "$as_dir"; do
50048 as_dirs="$as_dir $as_dirs"
50049 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50050 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50051 X"$as_dir" : 'X\(//\)[^/]' \| \
50052 X"$as_dir" : 'X\(//\)$' \| \
50053 X"$as_dir" : 'X\(/\)' \| \
50054 . : '\(.\)' 2>/dev/null ||
50055 echo X"$as_dir" |
50056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50058 /^X\(\/\/\)$/{ s//\1/; q; }
50059 /^X\(\/\).*/{ s//\1/; q; }
50060 s/.*/./; q'`
50061 done
50062 test ! -n "$as_dirs" || mkdir $as_dirs
50063 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50064 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50065 { (exit 1); exit 1; }; }; }
50066
50067 ac_builddir=.
50068
50069 if test "$ac_dir" != .; then
50070 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50071 # A "../" for each directory in $ac_dir_suffix.
50072 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50073 else
50074 ac_dir_suffix= ac_top_builddir=
50075 fi
50076
50077 case $srcdir in
50078 .) # No --srcdir option. We are building in place.
50079 ac_srcdir=.
50080 if test -z "$ac_top_builddir"; then
50081 ac_top_srcdir=.
50082 else
50083 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50084 fi ;;
50085 [\\/]* | ?:[\\/]* ) # Absolute path.
50086 ac_srcdir=$srcdir$ac_dir_suffix;
50087 ac_top_srcdir=$srcdir ;;
50088 *) # Relative path.
50089 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50090 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50091 esac
50092
50093 # Do not use `cd foo && pwd` to compute absolute paths, because
50094 # the directories may not exist.
50095 case `pwd` in
50096 .) ac_abs_builddir="$ac_dir";;
50097 *)
50098 case "$ac_dir" in
50099 .) ac_abs_builddir=`pwd`;;
50100 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50101 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50102 esac;;
50103 esac
50104 case $ac_abs_builddir in
50105 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50106 *)
50107 case ${ac_top_builddir}. in
50108 .) ac_abs_top_builddir=$ac_abs_builddir;;
50109 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50110 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50111 esac;;
50112 esac
50113 case $ac_abs_builddir in
50114 .) ac_abs_srcdir=$ac_srcdir;;
50115 *)
50116 case $ac_srcdir in
50117 .) ac_abs_srcdir=$ac_abs_builddir;;
50118 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50119 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50120 esac;;
50121 esac
50122 case $ac_abs_builddir in
50123 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50124 *)
50125 case $ac_top_srcdir in
50126 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50127 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50128 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50129 esac;;
50130 esac
50131
50132
50133 cd $ac_dir
50134
50135 # Check for guested configure; otherwise get Cygnus style configure.
50136 if test -f $ac_srcdir/configure.gnu; then
50137 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50138 elif test -f $ac_srcdir/configure; then
50139 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50140 elif test -f $ac_srcdir/configure.in; then
50141 ac_sub_configure=$ac_configure
50142 else
50143 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50144 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50145 ac_sub_configure=
50146 fi
50147
50148 # The recursion is here.
50149 if test -n "$ac_sub_configure"; then
50150 # Make the cache file name correct relative to the subdirectory.
50151 case $cache_file in
50152 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50153 *) # Relative path.
50154 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50155 esac
50156
50157 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50158 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50159 # The eval makes quoting arguments work.
50160 eval $ac_sub_configure $ac_sub_configure_args \
50161 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50162 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50163 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50164 { (exit 1); exit 1; }; }
50165 fi
50166
50167 cd $ac_popdir
50168 done
50169 fi
50170
50171
50172 echo
50173 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50174 echo ""
50175 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50176 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50177
50178 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50179 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50180 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50181
50182 echo " What level of wxWidgets compatibility should be enabled?"
50183 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50184 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50185
50186 echo " Which libraries should wxWidgets use?"
50187 echo " jpeg ${wxUSE_LIBJPEG-none}"
50188 echo " png ${wxUSE_LIBPNG-none}"
50189 echo " regex ${wxUSE_REGEX}"
50190 echo " tiff ${wxUSE_LIBTIFF-none}"
50191 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50192 echo " xpm ${wxUSE_LIBXPM-none}"
50193 fi
50194 echo " zlib ${wxUSE_ZLIB}"
50195 echo " odbc ${wxUSE_ODBC}"
50196 echo " expat ${wxUSE_EXPAT}"
50197 echo " libmspack ${wxUSE_LIBMSPACK}"
50198 echo " sdl ${wxUSE_LIBSDL}"
50199 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50200 echo " hildon ${wxUSE_LIBHILDON-none}"
50201
50202 echo ""
50203